summaryrefslogtreecommitdiff
path: root/src/clj
AgeCommit message (Collapse)Author
2011-05-23Created gen-class option :set-context-classloader.David Barksdale
When the class is loaded it will set the current thread's context ClassLoader to the ClassLoader which is currently loading the class. This turns out to be useful for classes which extend java.applet.Applet because the current thread's context ClassLoader is not the JNLPClassLoader when loaded in a browser.
2011-05-20Fixes dumb little debug messages. CLJ-794HEADmasterfogus
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-05-18fix record = when field named same as method - fixes clj-796Rich Hickey
2011-05-13inline n-ary min, maxStuart Halloway
2011-05-13inlining and n-ary bit functions and math ops - n-ary versions and inlines ↵Alan Dipert
of bit-and, bit-or, bit-xor, bit-and-not - n-ary inlines for +, +', *, *', /, -, -' Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-05-13inline min/max #784 - not contagious - do math inline for #{prim prim}, ↵Stuart Halloway
#{obj double} - delegate to gt/lt for #{obj long} #{obj obj} Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-05-13get rid of spurious tags on deftype/defrecord (again!)Stuart Halloway
2011-05-13Changes to support defrecord and deftype literals. See CLJ-374fogus
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-05-13Revert "get rid of spurious tags on deftype/defrecord"Stuart Halloway
This reverts commit 8ed6e82d4d85e682ecc49e6b63a135980a531bfb.
2011-05-12get rid of spurious tags on deftype/defrecordRich Hickey
2011-05-06cleanup #765Aaron Bedra and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-05-06clojure.java.shell/sh accepts as input anything that clojure.java.io/copy does.Alexander Taggart
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-05-06Remove bit-ops' support for boxed numbers.Alexander Taggart
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-29better formatting for #744Stuart Halloway
2011-04-29#CLJ-774 Assert can now accept an optional message stringAaron Bedra
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-29case changes: handles hash collisions, can emit return type, performance ↵Alexander Taggart
path for all-int test constants Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-29#CLJ-435: don't let mischievous :type metadata break printingStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-29#CLJ-236: more specific, private name for helper fnStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-29Added the check-options function to warn about wrong optional arguments and ↵Nicolas Buduroi
use it in defmulti macro. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-08Fix handling of the ~:(~) directive when the contents are the empty string. ↵Tom Faulhaber
Refs #751 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-03made promises lock-free, updates after first no-ops, not exceptionsRich Hickey
2011-03-20Add (vector a b c ...) like functionality to vector-of, plus testsDaniel Solano Gómez
Signed-off-by: Stuart Halloway <stu@Orolo-2.local>
2011-03-20Adds the every-pred and some-fn combinators and their tests. refs. CLJ-729fogus
Signed-off-by: Stuart Halloway <stu@Orolo-2.local>
2011-03-18fixed doc typo on derefRich Hickey
2011-03-18added deref with timeout, realized?Rich Hickey
2011-03-11fix regression from #737Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-03-02#748: fast, no alloc path for diffing equal objectsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-03-02#747: fix diffing large sequential/associative objectsAaron Bedra and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-02-28improve startup time via lazy defn loadingRich Hickey
2011-02-25Allow definterface/gen-interface to accept array type hintsDaniel Solano Gómez
Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
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-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-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>
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-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-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>