summaryrefslogtreecommitdiff
path: root/src/jvm
AgeCommit message (Collapse)Author
2011-01-05Handle edge case in arbitrary-precision substraction. refs #690Colin Jones
Signed-off-by: Stuart Halloway <stu@Orolo.local>
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-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-17disallow recur across try, refs #31Kevin Downey (hiredman)
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
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-11-30push *warn-on-reflection* during compile/loadRich Hickey
2010-11-29Allows agent error-handler to send successfully. Refs #390Chouser
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-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-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-10-25reinstate Symbol.create for binary compatStuart Halloway
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-15make PersistentQueue count O(1)Justin Balthrop
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#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-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-02Add "starting at <line>" to readDelimitedList EOF errorsChouser
Refs #249 Signed-off-by: Chouser <chouser@n01se.net>
2010-09-28don't rely on softref queue, explicitly remove dead entry when found, fixes #444Rich Hickey
2010-09-28don't coerce pre-boxed Integers and Floats to Longs/Doubles, fixes #439Rich Hickey
2010-09-22stop early-loading ancillary libs, #425Alan Dipert and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-09-09improved reporting of compilation errors, added depth control to pst, got ↵Rich Hickey
rid of overlap in cause traces
2010-09-08don't box static method returns in statement contextRich Hickey
2010-08-22Merged branch 'master' into equivmergeRich Hickey
Conflicts were: src/clj/clojure/core.clj src/jvm/clojure/lang/Compiler.java src/jvm/clojure/lang/Util.java test/clojure/test_clojure/protocols.clj
2010-08-13Emit finally exception table entry for each try/catch clause. Refs #422Chouser
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-04fix record equality with other maps, = includes type, .equals doesn't. see #418Rich Hickey
2010-07-16use soft refs for keyword intern tableRich Hickey