summaryrefslogtreecommitdiff
path: root/src/clj
AgeCommit message (Collapse)Author
2010-09-23back to interim builds...Stuart Halloway
2010-09-23[Automated release] Clojure 1.3.0-alpha1Stuart Halloway
2010-09-11restore exception message to single line reportRich Hickey
2010-09-09add exception class simple name to pst outputRich Hickey
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-22move version base to 1.3Rich 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-13Fixing underive issues, adding testsRobert Lachlan
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-08-13preserve opts when creating socket reader, writerStuart Halloway
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-13make sure future clears closed-overs, fixes #423Rich Hickey
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-27fixed extend-protocol docDavid Powell
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-27read stdout and stderr in parallel (using futures)David Powell
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-27Fixes missing this arg on the reify and defprotocol docstrings #340Fogus
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-10fix reduce metadataStuart Halloway
2010-07-09Fix rename-keys to work with defrecordsAllen Rohner
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-09fixes to #392:Stuart Halloway
- correct order for branches for in - :out and :outenc are separate things - stderr always gets platform encoding Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-07-09read stdout and stderr simultanously from separate threads to prevent stderr ↵David Powell
filling the buffer and hanging the process removed stray println use clojure.java.io to copy streams, avoiding byte-at-a-time copying added :inenc option, specifying the input character set renamed :out input option to :outenc changed default encoding to 'platform default encoding'. This matches how we handle *out*. It is much more likely that command-line tools used by sh use platform default encoding. Windows CRT barely supports UTF-8 for example. write to stdin from a separate thread to prevent stdout blocking before we write anything Added support for passing a byte array to :in Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-30temporary workaround for #388Stuart Halloway
- note need for full package name (in some places, didn't track down) - note need for redundant hinting (interface hinting flows sometimes?) Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-30#377 test now reports file/line for failures in repl or Ant buildStuart 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-23automatically use pp and pprint at the default replStuart Halloway
2010-06-23Convert arg to a string before calling write (and document options arg)Tom Faulhaber
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-23Support logical-block macro working correctly in external namespaces.Tom Faulhaber
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-23equiv-based =, equiv overloading for UtilRich Hickey
2010-06-23disable direct binding (and internal reduce with it, for now)Rich Hickey
2010-06-19restore hard error on primitive local recur mismatchRich Hickey
2010-06-18Swap defaults, now non-promoting +, * etc is default. Use +', *' etc for ↵Rich Hickey
arbitrary precision.
2010-06-18Allow ' as constituent characterRich Hickey
Bigints auto-reduce in all cases Restore +, *, -, inc, dec as auto-promoting ops, will never return primitive integers, will auto-promote even when given primitives. Add +', *', -', inc', dec', that do exactly what their counterparts do except when given integers of long or smaller, in which case they will not auto-promote but instead throw on overflow, and can return primitives. Return primitive doubles on all ops involving primitive doubles Box on long ops only after checking for overflow
2010-06-17Change = to include type of boxed numbers (and collections thereof). Use == ↵Rich Hickey
for inter-type numeric equivalence.
2010-06-17tighten up numeric comparisonsRich Hickey
2010-06-16remove unchecked-inc from amap, areduceRich 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-12incomplete work in progressRich Hickey
2010-06-11re-enable protocol-based reduceprimRich Hickey
2010-06-10#377 test now reports file/line for failures in repl or Ant buildStuart Halloway
Signed-off-by: Rich Hickey <richhickey@gmail.com>
2010-06-10simplified keyword callsites, made compatible with static fnsRich Hickey
2010-06-10eliminate reflection in chunk* and other core callsRich Hickey
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-09moved statics to using arglist metadata, support recursion and variadics, ↵Rich Hickey
limit primitives to long and double
2010-06-08direct calls to statics, integrating into core fnsRich Hickey
2010-06-07Remove potential conflicts between field names and method argument names in ↵Konrad Hinsen
defrecord Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>