summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-02-25Whitespace cleanup around clojure-versionStuart Sierra
Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-25CLJ-739 Ensure version.properties is closed when loading core.cljStuart Sierra
Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-25Fix to prevent top-level defs from hanging onto the head of an expression ↵David Powell
that uses a lazy seq Eg, run using java -Xmx4m : (def x (reduce + (range 1e7))) Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-02Revert "keys and vals check for instanceof Map"Rich Hickey
breaks subseq This reverts commit 13d9404b5227f3b9e8f86371d211be890e5302a9.
2011-01-28keys and vals check for instanceof MapStuart Sierra
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-28restore detection of cyclic load dependenciesStephen C. Gilardi
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-28CLJ-719: call correct diff function for arrays as first argumentStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-22update def docstring to match its behaviorStuart Halloway
2011-01-14#710 diff mutable setsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-05Handle edge case in arbitrary-precision substraction. refs #690Colin Jones
Signed-off-by: Stuart Halloway <stu@Orolo.local>
2011-01-05Build and deploy with Maven 2; CLJ-681Stuart Sierra
* Real pom.xml * Simpler build.xml for local development with Ant * No Clojure plugin; uses AntRun to build Clojure * POM inheritance from Sonatype OSS deployment * Build instructions in README * Automatically builds "slim" and "sources" JARs as before * 'distribution' profile generates a ZIP * version.properties generated by the version in pom.xml * slightly different format * minor changes to clojure.core to handle version.properties * Fix tests that assumed Ant as the test driver * Tweaked run_tests.clj to work against current master
2011-01-05Added sorted-by support for walk and testsTimothy Pratley
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-04fix munge handling of $, ', "Michał Marczyk
clojure.core/munge no longer changes $ to _DOLLARSIGN_. Also, ' is now munged to _SINGLEQUOTE_ and " to _DOUBLEQUOTE_. This brings munge in line with java.lang.Character/isJavaIdentifierPart. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-01-04#697 Added a system property and compiler binding for *unchecked-math*Alan Dipert
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-31Mark ~w as :pretty (meaning it requires a pretty-writer) #682Tom Faulhaber
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-31I added a new macro, print-length-loop, that augments loop to only iterate ↵Tom Faulhaber
*print-length* times and then emit the "...". This makes it easy to write correct hand-coded dispatch functions. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-19#687: modify doc string to match enhancement to str/joinStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-19fix "string.join doesn't work with sets and other collections"Alex Ott
parameters destructuring isn't working with collections that has no operation 'nth' Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17strip metadata from syms used in keywords, fixes #693Rich Hickey
2010-12-17Fixed into-array behavior #678Alan Dipert
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17cache newline system property in a private var #300Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17Convert the pretty printer to emit platform-specific newlines when it breaks ↵Tom Faulhaber
lines Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17use platform default for (newline)Alan Dipert and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17Make sure we write saved trailing white space ahead of a multiline string ↵Tom Faulhaber
output. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17do not count on stack traces being there at REPL reporting time #691Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-17disallow recur across try, refs #31Kevin Downey (hiredman)
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-12back to snapshotsStuart Halloway
2010-12-12[Automated release] Clojure 1.3.0-alpha4Stuart Halloway
2010-12-08Prevent promises from blocking on print. Fixes #680Aaron Bedra
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-08Don't rethrow RuntimeExceptions, refs #292Daniel Solano Gómez
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-12-07fix version metadataStuart Halloway
2010-12-04inline nil?Rich Hickey
2010-11-30push *warn-on-reflection* during compile/loadRich Hickey
2010-11-29Added tests and updated docs for init-proxy and update-proxy. Also updated ↵fogus
the docstrings. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29added proxy as return value for init-proxy and update-proxyfogus
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29CLJ-674: Modified clojure.string docstring to remove the quote in the ↵fogus
require directive Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29Updated the docstring on slurp to indicate it accepts an arbitrary ↵Alex Redington
clojure.java.io/reader Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29Move doc and find-doc to repl, support docstrings for special ops. CLJ-454Chouser
Also add special ops and namespaces to what find-doc searches through. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29properly munge namespaces -> java package names for protocols and deftype ↵Chas Emerick
and friends; fixes CLJ-432 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29Allows agent error-handler to send successfully. Refs #390Chouser
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29Fixes that aliasing an unknown namespace gave an unhelpful error; will now ↵David Rupp
throw the same Exception thrown by (the-ns) when the namespace is not found Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29#672: limit binding to just conveyor-fn, add regression test for "Pop ↵Stuart Halloway
without matching push" symptom Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-29Restore *agent* binding in agent action. CLJ-672Chouser
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-28Revert accidental slurp changes that snuck in with #441Aaron Bedra
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2010-11-27added *unchecked-math* support, temporarily disabled name propagation to fnsRich Hickey
2010-11-27Normalize uncheckeds, quotient, remainder. Inline quot and rem. ↵Rich Hickey
unchecked-foo-long are now just unchecked-foo.
2010-11-26Added unchecked casts; fixes bug #441. Code and original patches supplied by ↵Aaron Bedra
@stuarthalloway Signed-off-by: Rich Hickey <richhickey@gmail.com>
2010-11-17propagate name to fn in defnRich Hickey
2010-11-05back to interimStuart Halloway
2010-11-05[Automated release] Clojure 1.3.0-alpha3Stuart Halloway