summaryrefslogtreecommitdiff
path: root/src/jvm
AgeCommit message (Collapse)Author
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-13Changes to support defrecord and deftype literals. See CLJ-374fogus
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-05-06Add missing primitive castsAlexander Taggart
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-05-06Fix false-negative test for (long Float/MAX_VALUE) and (long ↵Alexander Taggart
Double/MAX_VALUE). Fix unintentionally unchecked conversion of decimal objects to long. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-29floats box as FloatsRich Hickey
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-27workaround for Map.Entry behavior pre-Java 6Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-19added support for ^:const defsRich Hickey
2011-04-19temporarily disable lazy fn loadingRich Hickey
2011-04-08Fix CLJ-752: Removes inferring ^:dynamic from earmuffed var; updates warning ↵Alexander Taggart
message. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-03-21get rid of checked exceptionsRich Hickey
2011-03-18added deref with timeout, realized?Rich Hickey
2011-03-17bind *unchecked-math* during init and loadRich Hickey
2011-03-11Do not hold onto head of arguments in RestFn.Paul Stadig
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-03-11Do not hold onto head when invoking multi-methodsPaul Stadig
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-03-11clj-734: fixed the local variables table to have the correct code index for ↵George Jahad
let bindings; this allows jdi based debuggers to have access to the locals while still in the let bindings Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-03-11Remove Sequential from ISeq's implements list CLJ-741Chouser
Also add Sequential to the implements lists of: ASeq, IChunkedSeq, IndexedSeq, and LazySeq Signed-off-by: Stuart Halloway <stu@Orolo-2.local> Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-03-03switch keyword map to weak refsRich Hickey
2011-03-01default impl of with-meta in AFunction generates forwarding wrapperRich Hickey
2011-03-01fns only get metadata support code when metadata explicitly supplied when ↵Rich Hickey
defined
2011-03-01avoid reading in metadata restorationRich Hickey
2011-02-28improve startup time via lazy defn loadingRich Hickey
2011-02-25#380: back out perf-killing andNot overloads. Not needed, since andNot is ↵Aaron Bedra and Stuart Halloway
static, not inline. Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-25add missing overloads for numerics to prevent major performance regression ↵David Powell
due to clojure.core functions making slow reflective calls Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-25use clojure.lang.Util.classOf() instead of getClass() to avoid NPE in (case ↵Aaron Bedra
nil ... ) inside of constantType. Don't do the work and just return java.lang.Object if class is NULL. Signed-off-by: Stuart Halloway <stu@Stuart-Halloways-MacBook-Air.local>
2011-02-25Added error message for invalid map literalsLuke VanderHart
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-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