summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2011-05-23The DynamicClassLoader should not use the default ProtectionDomain.appletDavid Barksdale
I've decided that using the ProtectionDomain of the ClassLoader which loaded the Compiler class is probably a good bet. This is useful for signed Java applets because the default ProtectionDomain will not have all the privlages of the applet.
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-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-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-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 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-08Fix CLJ-752: Removes inferring ^:dynamic from earmuffed var; updates warning ↵Alexander Taggart
message. Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2011-04-03made promises lock-free, updates after first no-ops, not exceptionsRich Hickey
2011-03-21get rid of checked 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-17bind *unchecked-math* during init and loadRich Hickey
2011-03-11fix regression from #737Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
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-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-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-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-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>