summaryrefslogtreecommitdiff
path: root/test
AgeCommit message (Collapse)Author
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-12fixes and tests for #276 find-keywordStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-11Added tests for zero-arity comp implementation.fogus
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-10-11regression test for dynamic class reload #368Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-09-22Fixed a race in the pprint agent testTom Faulhaber
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-09improved repl error reporting, new repl utility: pst, prints stack traceRich 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-13organize common helpersStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-13more expressive tests for derive/underiveStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-13Fixing underive issues, adding testsRobert Lachlan
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-13Fix and tests for issue #404Rasmus Svensson
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-30#407 use munge as cheap validity test for Java method namesStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-27♯413 parse-args defaults in-enc and out-enc to UTF-8, as required by shBen Smith-Mannschott
Previously parse-args was defaulting in-enc and out-enc to the platform default charset. This contradicted the intent of sh, which is to default to UTF-8 on all platforms. This appears not to have been noticed because the unit tests were still testing for the previous behavior of defaulting to platform encoding. (As it turns out the old behavior of using Charset/defaultCharset would have been wrong on Mac OS X since it claims "Mac Roman" here despite the fact that Mac OS X uses UTF-8 throughout, including in Terminal.app, shell and file system.) Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-27fix degenerate defrecords, #402Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-09test for #393Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-09#392 de-uglify option names for shStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-09#392 fix reflection warnings and tests + minor cleanupStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-09Tests are now passing on windows refs #376Aaron Bedra & Stuart Sierra
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-30#391 ok for namespaces to replace their own varsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-25incorporate BigIntequivRich Hickey
2010-06-23box longs-and-smaller as longsRich Hickey
2010-06-23Support logical-block macro working correctly in external namespaces.Tom Faulhaber
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-17tighten up numeric comparisonsRich Hickey
2010-06-15Unify numeric semantics around longs, with throw on overflow. Allow numeric ↵Rich Hickey
literals to be primitive initializers. Canonicalize boxing of integers, if it fits in int, is Integer, else Long, thus primitive coercions can't be used to get particular boxed types, use Long/valueOf etc. Ask for BigIntegers if you want arbitrary precision, new literal number format - append 'N' for BigInteger. BigIntegers do not reduce automatically, are contagious. New particular names for unchecked ops - unchecked-xxx-int or unchecked-xxx-long. You should need far fewer hints for primitive perf, and avoid int casts and any casting of numeric literals, see: http://gist.github.com/440102
2010-06-09detect constant maps, emit as constantsRich Hickey
break down constant inits into separate methods, call from init move core.clj to statics
2010-06-08direct calls to statics, integrating into core fnsRich Hickey
2010-06-08first cut at primitives in fn sigsRich Hickey
2010-06-08read ^:foo bar as ^{:foo true} bar and merge existing metatada. See #375.Christophe Grand
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2010-06-07Added testcase for defrecord with field names that used to clash with method ↵Konrad Hinsen
argument names Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-07tidy up and test #257, remove spurious .rej fileStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-07added fnil to supply default values #257Timothy Pratley
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-07get-in support for default #256Timothy Pratley
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-07fix pop! when the tree depth decreasesChristophe Grand
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03test for #361: merge-with for defrecordStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03#359 request from Stuart Sierra: split-lines, blank?, escapeStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03minor fixes to #359:Stuart Halloway
- add clojure.string to build, - make replace,replace-first use CharSequence in same way Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03#359 driven to abstraction: CharSequence, not stringStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03string fns take an object, you can't pass nil #359Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03abstraction fix to split: preserve vector nature of host return value #359Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03metadata review #359Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03string perf tweaks, tests #359David Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03arg order fix, rename chomp-> trim-nl, drop chop, perfDavid Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03collapse the replace-first-* fns, align arg order with clojure conventionDavid Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03collapse the "all" replace-* fns, align arg order with clojure conventionDavid Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03trim variants differ by suffix, for sortabilityDavid Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03make join faster #359David Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03WIP: literal promotion of contrib code #359David Liebke and Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>