summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2010-11-05Document mutual exclusion of fixtures and test-ns-hook; refs #235Stuart Sierra
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05don't wrap the macro version of the arity exception: tools that print the ↵Stuart Halloway
root cause will provide bad info Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05397 better error message when calling macros with arityMike Hinchey
Error message for macro arity was +2 for the internal params. Introduce specific class ArityException to correct it. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05Wrap JUnit XML headers in with-test-out; refs #431Stuart Sierra
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05add conversion from BigInt to BigIntegerAlexander Taggart
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05Avoid NullPointerException in clojure.stacktrace when StackTraceElement has ↵Stuart Sierra
null class; refs #449 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05#458 print-tableStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05Add set-break-handler! and thread-stopper, refs CLJ-460Chouser
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-11-05Add with-redefs macro and with-redefs-fn, CLJ-665Chouser
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-29move type hints on chunk stuffRich Hickey
2010-10-25back to interimStuart Halloway
2010-10-25[Automated release] Clojure 1.3.0-alpha2Stuart Halloway
2010-10-25reinstate Symbol.create for binary compatStuart Halloway
2010-10-25#465 make with-local-vars dynamicCosmin Stejerean
2010-10-25Use Unbound for unbound var roots. Get rid of per-fn var value caches.Rich Hickey
2010-10-20Support primitives args/return without :static (:static currently nop). IFns ↵Rich Hickey
taking/returning primitives derive from IFn + new IFn$LOD... interfaces. Arities up to 4 supported. No more conveyance of metadata to fn in defn - put metadata on fns explicitly.
2010-10-19use statics for var cacheRich Hickey
2010-10-19consolidate reload preamblesRich Hickey
2010-10-18Stable var caching. The values of non-dynamic ns-resolved (def'ed) vars ↵Rich Hickey
appearing by name in code are fixed at fn entry point, and will be cached for subsequent calls until the vars change (e.g. via a new def). Access to unbound vars will not always throw an exception, and may instead return Unbound objects. These Unbound objects throw exceptions when invoked. Note that modifications of var roots in a fn body will not be seen by the code compiled against those names in the same fn body. If you want to treat top-level vars as boxes, use #' This change allows the overhead of placing things in vars and small wrapper fns to be substantially eliminated.
2010-10-18neuter :staticRich Hickey
2010-10-18Merge branch 'master' into directRich Hickey
2010-10-18tweak int coercion perfRich Hickey
2010-10-18support primitive = for longs and doublesRich Hickey
2010-10-18don't recache matched target class in protocall call siteRich Hickey
2010-10-15require dynamically rebindable vars be explicitly declared dynamic, via ↵Rich Hickey
^:dynamic metadata support in def, or setDynamic builder method in Var. Also auto-enable :dynamic for *var*s as a bridge - prints warning, and will be removed before release.
2010-10-15Merge branch 'direct'Rich Hickey
2010-10-15binding conveyance to future calls and agent sendsRich Hickey
2010-10-15make method impl cache most recent entry non-volatileRich Hickey
2010-10-15#453 reflectionStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-15make PersistentQueue count O(1)Justin Balthrop
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-15315: minor tweaks to documentation over phil's patchStephen C. Gilardi
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-15Add support for running -main namespaces from clojure.main.Phil Hagelberg
Signed-off-by: Stephen C. Gilardi <scgilardi@gmail.com> Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-15Update docstring for *out*Daniel Solano Gómez
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-15Add an optional environment argument to #'resolve and ns-resolve. See #263Christophe Grand
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-14#286: repl/pstStuart Halloway
- fixed: use Writer instead of PrintWriter - improved: pass either exception or depth to arity-1 version Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-14fix clojure.main to not assume that *err* is a PrintWriterDavid Powell
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-14remove Symbol.create, all callers use Symbol.intern #182Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-14get rid of @OverrideRich Hickey
2010-10-12:added metadata for diffStuart Halloway
2010-10-12#448 structural diffStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12Fix clojure.set/subset? and superset? bugs with false/nil elementsJason Wolfe
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12#378 set thread names on agent thread poolsAlex Miller
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12DRY up refs to DOC_KEY #280Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12add docstring support to defBenjamin Teuber
code is a bit ugly, but touches as few lines as possible to not introduce anything nasty Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12fixes and tests for #276 find-keywordStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-12#276 find-keywordBrian Hurt
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-11correct exception for invalid url->file conversion, #430Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-11Added zero-arity body to comp function returning identity fnfogus
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-11Print SOURCE_PATH rather than SOURCE on exception, so it's easier to ↵Allen Rohner
discover the file with an error when two files have the same name in different directories. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-11Deprecating replicate. Original patch supplied by bsteuber.Aaron Bedra
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>