summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2010-07-09test for #393Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
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-07-09Tests are now passing on windows refs #376Aaron Bedra & Stuart Sierra
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-30#391 ok for namespaces to replace their own varsStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-30clean out dead entries in dynamic class cacheRich 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-23disable direct binding (and internal reduce with it, for now)Rich Hickey
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-07Remove potential conflicts between field names and method argument names in ↵Konrad Hinsen
defrecord 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-07make get-in faster #256Stuart Halloway
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-06prevent dynamic classes from being flushed before useRich Hickey
2010-06-03test for #361: merge-with for defrecordStuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03Improve merge-with to work with map-like types that don't implement ↵Konrad Hinsen
clojure.lang.IFn for lookup 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-03code review of #359: pass in CharSequence, but return StringStuart Halloway
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-03chouser gets involvedDavid 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-03modern metadata syntaxDavid 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>
2010-06-03Make disj nil-awareMeikel Brandmeyer
Refers #360 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03Fix reductions on empty input sequenceMeikel Brandmeyer
Refers #362 Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03test for #327Stuart Halloway
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-03make RT/print print Pattern literalsChristophe Grand
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-02Merge branch 'master' of git@github.com:richhickey/clojureRich Hickey
2010-06-02flow primitives through if and letRich Hickey
2010-06-02update references to contrib to point to new names in clojureStuart Halloway
2010-06-02doto doc typo fixTimothy Pratley
Signed-off-by: Stuart Halloway <stu@thinkrelevance.com>
2010-06-01disable don't-recompile-if-same-source in DynamicClassLoader, fixes #353Rich Hickey