X Tutup
Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
207 commits
Select commit Hold shift + click to select a range
be302bb
move trunk to 1.1
richhickey May 4, 2009
56dc8bc
first steps in improving modularity - moving classname resolution tow…
richhickey May 8, 2009
fed833d
steps in improving modularity - moving classname resolution towards c…
richhickey May 13, 2009
479b43a
made main a better interop example, using RT.var and Symbol.intern
richhickey May 14, 2009
9399767
use context classloader as parent for dynamic classloaders
richhickey May 15, 2009
dbb85aa
do unrolls at top-level
richhickey May 16, 2009
2cdd5ec
enhanced message for Can't call public method of non-public class
richhickey May 18, 2009
abc7dbf
propagate line numbers in top-level macroexpansion
richhickey May 22, 2009
1084d89
switched binding to use let instead of do
richhickey May 25, 2009
92ae58a
trap instance method calls to known nil targets at compile time
richhickey May 25, 2009
d0fe0d1
avoid reflecting on nil instance method target
richhickey May 26, 2009
b045a37
get rid of root classloader. Establish dynamic context classloader fo…
richhickey May 27, 2009
ff27522
first cut of chunked seqs
richhickey May 28, 2009
d702eba
perf tweaks to count, nth
richhickey May 28, 2009
0d0fd48
added ArrayChunk end bound and ChunkBuffer
richhickey May 28, 2009
91f8beb
added reduce to quotient and remainder
richhickey May 28, 2009
902a544
made vector seqs chunked by default
richhickey May 28, 2009
a9cb831
backed out count inlining
richhickey May 29, 2009
1a0e23d
added more future fns, fixed print of pending futures, added promise/…
richhickey Jun 12, 2009
6e9d29d
Add .gitignore file. Covers classes, jars, and pom.xml.
technomancy Jun 13, 2009
4ccc1e4
added clojure.ipr and clojure.iws to .gitignore
richhickey Jun 15, 2009
16420cd
Merge branches 'technomancy/ignore' and 'technomancy/ignore'
richhickey Jun 15, 2009
fcb4fc3
Added IChunk, chunk fns, made map chunk aware
richhickey Jun 18, 2009
fd69e97
Merge branch 'master' into chunks
richhickey Jun 18, 2009
f79e724
removed nth overload
richhickey Jun 19, 2009
f1d13b8
parse "1." and "1.e3" as legal floats. Refs #117
scgilardi May 4, 2009
d97dfc8
add an optional encoding argument to slurp. Fixes #125
cemerick Jun 20, 2009
31825fe
Bring documentation for 'require up to date
Jun 16, 2009
e0e8326
add optional pad argument to partition. Fixes #120
Jun 20, 2009
cf3b547
made filter chunk-aware
richhickey Jun 20, 2009
2a5fa05
made reduce chunk-aware
richhickey Jun 20, 2009
73059eb
made range chunked
richhickey Jun 20, 2009
145fea4
Merge branch 'master' into chunks
richhickey Jun 20, 2009
fa3d249
Add a call to Agent.shutdown() at the end of clojure.lang.Compile/mai…
cemerick Jun 1, 2009
b03e19a
core: make every? return false instead of nil
Jun 21, 2009
895b39d
Rev fa3d2497 causes compile to fail on some VMs -- back it out. Refs …
Chouser Jun 22, 2009
d5f4c4c
gtic work-in-progress:
stuarthalloway Jun 24, 2009
30ef397
gtic: break dependency on combinatorics via all-are
stuarthalloway Jun 24, 2009
62e0e4f
gtic: tests now passing (broke dep on java-utils)
stuarthalloway Jun 24, 2009
a12092c
gtic package renamings:
stuarthalloway Jun 24, 2009
6ee62ec
gtic: brought clojure.test's self-tests over from contrib
stuarthalloway Jun 24, 2009
72de405
perf tweaks in map/filter/reduce
richhickey Jun 24, 2009
9b6b549
perf tweaks in reduce
richhickey Jun 24, 2009
ff26acc
allow %s not in #(), yields as-is symbol
richhickey Jun 24, 2009
0ac4828
:pre and :post conditions as metadata on arglist, or map following ar…
richhickey Jun 24, 2009
61676af
Merge branch 'gtic' of git://github.com/stuarthalloway/clojure into gtic
richhickey Jun 25, 2009
24a3497
changed test target to "test"
richhickey Jun 25, 2009
169290b
made copyright notices uniform
richhickey Jun 25, 2009
5e34989
Test reading of numbers like "1." and "1.e3". Fixes #117
scgilardi May 4, 2009
6201f5e
added ref min/max history control - refs #138
richhickey Jun 30, 2009
88cb269
in defn, propagate pre/post conditions written as map trailing arglis…
richhickey Jul 1, 2009
c4a5cd2
fix compile-time NPE on set! of non-existent field, fixes #142
richhickey Jul 3, 2009
9617434
support overlapping ensures with no retry, refs #143
richhickey Jul 3, 2009
a139739
removed hop in RT.nth, caused head retention
richhickey Jul 4, 2009
ab7947e
Refs #137: make *math-context* settable, with test + tests of with-pr…
Jun 30, 2009
12888fa
move with-precision tests to that section of vars.clj Fixes #137
Jun 30, 2009
1ac552b
Merge branch 'master' into chunks
richhickey Jul 15, 2009
cfd61fa
updated tests for range given fractions
richhickey Jul 15, 2009
f2de9c7
first cut at mods for batch capability
richhickey Jul 16, 2009
1066534
added Var.getThreadBindings
richhickey Jul 16, 2009
53cc7a6
first cut at mutable vector
richhickey Jul 17, 2009
ecff934
Clojure interface to editable vectors - mutable,immutable,conj!,pop!,…
richhickey Jul 17, 2009
ed1eb3a
renamed immutable immutable!
richhickey Jul 18, 2009
6355377
changed to test only for IndexOutOfBoundsException, not ArrayIndexOut…
richhickey Jul 18, 2009
2363d00
got rid of LazilyPersistentVector instances, trim tail in immutable, …
richhickey Jul 18, 2009
936705a
redef into with batch support
richhickey Jul 18, 2009
fe6eddf
Merge commit 'cfd61fac760eda65bd0a8236f4f799c99e96681c' into addchunks
richhickey Jul 19, 2009
a3de8ac
prevent vec from creating arrays from Collections
richhickey Jul 20, 2009
3e60eff
fix deliver set/release order
richhickey Jul 24, 2009
dc5b4e6
Move metadata in vector-zip and seq-zip
kotarak Jun 23, 2009
6e29153
fixed test-clojure, refs #144
fsodomka Jul 6, 2009
994f118
Resolve classnames in modern-syntax static calls at syntaxQuote time.…
Chouser Jul 13, 2009
a1b4a33
fixed keyword ctor, added tests, fix #154
scgilardi Jul 13, 2009
deff641
enforce single-threaded use of mutable vector, prevent use after immu…
richhickey Aug 2, 2009
6e2ff87
refactor so mutable vectors support ordinary read functions: get/coun…
richhickey Aug 2, 2009
309161d
fixes commute after set
cgrand Aug 3, 2009
e456322
merge ensure
richhickey Aug 3, 2009
c87119b
fix commute after set
richhickey Aug 3, 2009
6bcc5e9
Merge branch 'chunks' into merge-chunks
richhickey Aug 3, 2009
ad85b0e
renamed mutable -> transient, immutable! -> persistent!
richhickey Aug 3, 2009
99f0929
define ITransientMap
cgrand Aug 5, 2009
11bbfdf
First cut at TransientHashMap
cgrand Aug 5, 2009
a9fe386
static factory methods now use transients
cgrand Aug 5, 2009
618c3c2
changed return type for persistent() in ITransientMap
cgrand Aug 5, 2009
df15b8b
extracted ATransientMap from TransientHashMap
cgrand Aug 5, 2009
b75cdb8
added TransientArrayMap
cgrand Aug 5, 2009
47b571f
moved ensureEditable() assertions to ATransientMap
cgrand Aug 5, 2009
96589c0
fix count update on dissoc
cgrand Aug 5, 2009
2098f5d
replace copyOf with arrayCopy
richhickey Aug 5, 2009
7ba336f
inline nth with not-found
richhickey Aug 20, 2009
16af3b1
updated remaining tests, closes #158
fsodomka Jul 20, 2009
abca86e
fix #168, ant targets should fail on error, also test print report co…
mikehinchey Jul 13, 2009
b6cf196
make clojure.lang.Keyword Serializable, fixes #174
cemerick Aug 14, 2009
1abb7a5
Add chunked seq support to doseq, v2. Refs #1
Chouser Aug 16, 2009
5cddaf8
fix interleave not fully lazy
richhickey Aug 20, 2009
f1f5ad4
Merge branch 'lazychain'
richhickey Aug 20, 2009
94c4a6a
switched wait/notify to countdown latch
richhickey Aug 23, 2009
dbe1710
delay seq on chunk-rest in doseq
Chouser Aug 22, 2009
4af9fcf
Add chunked seq support to concat
Chouser Aug 22, 2009
14316ae
Add support for chunked seqs to 'for'. Refs #1
Chouser Aug 24, 2009
cf35b13
first cut at a leafless, not always packed PersistentHashMap
cgrand Aug 8, 2009
e832eb2
fixed count update
cgrand Aug 9, 2009
b9a45a4
made ArrayNode not leafless
cgrand Aug 10, 2009
74f0241
replace instecof tests by null tests
cgrand Aug 10, 2009
afe4929
transient assoc
cgrand Aug 10, 2009
3eb3071
fix bug w/ dissoc on HashCollisionNode
cgrand Aug 10, 2009
ad708fc
implemented dissoc and fixed bugs in edit* helper methods
cgrand Aug 10, 2009
96ff860
implemented seq on array nodes
cgrand Aug 10, 2009
307821c
use transients in createNode
cgrand Aug 10, 2009
e8fc494
made ArrayNode to pack its children into a BitmapIndexedNode when cou…
cgrand Aug 10, 2009
d8ab4c4
made helper methods private
cgrand Aug 10, 2009
652d53e
refined HashCollisionNode
cgrand Aug 10, 2009
0a7e6ed
factory methods use transients
cgrand Aug 10, 2009
df40a82
Fixed count on transient assoc
cgrand Aug 10, 2009
7b5d493
shrink when children count <= 8
cgrand Aug 10, 2009
eedcf35
Replaced PersistentHashMap by PersistentHashMap2
cgrand Aug 10, 2009
6361bfb
fixed assoc on collision
cgrand Aug 10, 2009
47df605
in transient mode, when nesting a hash collision node in a bitmap nod…
cgrand Aug 11, 2009
56d70e4
Changed licensing of PersistentHashMap back to EPL
cgrand Aug 24, 2009
2cf6eb9
fixed bug in HashCollisionNode
cgrand Aug 24, 2009
c4a15a2
prealloc leaf box for transient map, grow by 4
richhickey Aug 24, 2009
b942b17
fix - handle completed write between snapshot and ensure
richhickey Aug 28, 2009
a2f8dcd
added arity overloads to comp
richhickey Aug 29, 2009
646aa12
added arity overloads to list*
richhickey Aug 29, 2009
5ca86e0
added arity overloads to apply
richhickey Aug 29, 2009
946e7af
added juxt, juxt[aposes] fns and retuns a fn that returns vector of t…
richhickey Aug 29, 2009
2352948
fix juxt
richhickey Aug 29, 2009
e45046d
added autohinting to Class in macroexpansion of (.instanceMethodOfCla…
richhickey Sep 1, 2009
5f1e6ed
Merge branch 'tweaks'
richhickey Sep 1, 2009
716ca67
moved LOADER init to prevent static init exceptions
richhickey Sep 4, 2009
2474dad
Add missing specialized implementation for Counted/count on StringSeq…
cgrand Aug 27, 2009
270185a
fixed NPE when creating an empty array of ints, longs, floats or doub…
fsodomka Aug 6, 2009
cc78418
add #^objects as a valid type hint Fixes #172
cgrand Aug 11, 2009
e73abec
proxy now caches generated classes per namespace and include a hash t…
cgrand Aug 27, 2009
64323d8
added ->>
richhickey Sep 23, 2009
868f865
fix count update on assoc/dissoc of nil values
cgrand Sep 16, 2009
ff116fb
core.clj: binding doc string now says it's parallel, fixes #152
Sep 3, 2009
51f4180
Enhancements to array seqs
cgrand Aug 4, 2009
f4294d8
fix #167, tests for sequences, control, and numbers
mikehinchey Aug 8, 2009
110b9c2
Added public thread-local bindings interface
kotarak Aug 8, 2009
040f083
fix #171: ns reflection warnings, and others that are easy
mikehinchey Aug 10, 2009
2f3d7d3
Fix namespace for (symbol "/")
Aug 24, 2009
a780e1d
implemented TransientHashSet Fixes #173
cgrand Aug 11, 2009
a2d9866
Fix compare doc defect - fixes #189
Sep 11, 2009
86d8a95
embedded constants, refs #164
timothypratley Aug 1, 2009
b044959
added tests, fixes #164
timothypratley Sep 29, 2009
b409530
fixes for count in HashCollisionNode
richhickey Sep 30, 2009
1ca9c8b
shorter, stronger embedded-constants tests. fixes #164
timothypratley Sep 29, 2009
0ba40a2
Implement take-last Fixes #151
Chouser Oct 16, 2009
d910b3d
improve error message on seqFrom to include full classname
richhickey Oct 17, 2009
9e810bf
added sorted-set-by, adapted from timothypratley's patch, fixes #79
cemerick Jun 17, 2009
6aab0f2
Fix incorrect exception message when first argument to def is not a s…
liwp Oct 1, 2009
f5f2943
Don't repeatedly compose on calls to use-fixtures. Fixes #194.
technomancy Oct 7, 2009
7779c99
Preserve test var metadata within deftest. Fixes #201.
technomancy Oct 19, 2009
9bde10d
Add test for metadata-carrying deftest. Refs #201
technomancy Oct 19, 2009
fbacc4a
Added bound-fn to define thread-local binding aware functions
kotarak Aug 8, 2009
4115b53
Preserve type hints set on inlined or interop forms, fixes #205
cgrand Oct 23, 2009
749a0ad
make -> and ->> metadata-aware Fixes #206
cgrand Oct 23, 2009
5f96d1c
changed the pom to match whats been pushed on public maven repos Fix…
dysinger Sep 12, 2009
841dc9c
fix some's doc string
richhickey Nov 13, 2009
284ee8a
*-seq should return nil if the LazySeq is empty.
drewr Aug 21, 2009
490e2f4
zip/children now checks whether the node is a branch
kotarak Jun 23, 2009
1b4852f
give meaningful names to inline expanders, fix #136
mikehinchey Aug 5, 2009
ebf6a66
Add char? fn to test for Character.
drewr Jul 24, 2009
81e19dd
Add clojure.test.junit; refs #160
Nov 2, 2009
146f361
fixed zip/down on leaves, refs #185
achim Aug 27, 2009
ebcbde9
add type-hint to defmethod to avoid spurious reflection warnings
cemerick Jun 1, 2009
fc5157d
added ignore for local netbeans project directory
cemerick Oct 20, 2009
f966d6e
#209 Unifying array support for primatives
Nov 11, 2009
b65501e
#209 Unifying array support for primatives
timothypratley Nov 11, 2009
5f9df70
Fixed broken test-embedded-constants. Fixes #164
timothypratley Oct 1, 2009
f6c12c1
fixed sorted-set-by with no items, and added test coverage
timothypratley Nov 13, 2009
17f5c88
removed more shadowing #210
timothypratley Nov 25, 2009
d7cc05c
Add branch name "master" to version.properties
Chouser Dec 2, 2009
20e4e45
Remove deprecated ^ reader macro from core sources; refs #215
Dec 3, 2009
b3b1fa5
Print deprecation warning for ^ reader macro; refs #215
Chouser Dec 4, 2009
f047dc4
Remove deprecated ^ reader macro from tests; fixes #215
Dec 3, 2009
c5abcf6
deprecate add-classpath in docstring, print warning; fixes #214
Dec 3, 2009
76e7c43
Add :doc and :author metadata to core namespaces; fixes #216, fixes #217
Dec 3, 2009
151ca19
Reinstated lost doc string for filter
tomfaulhaber Dec 8, 2009
6073890
clojure.test/run-tests: return summary, add successful?; refs #193
Dec 1, 2009
f244a1c
removed add/remove watcher, added alpha designation to watches, promi…
richhickey Dec 17, 2009
0f6e993
Add "dist" Ant target to build distribution ZIP; refs #224
Dec 16, 2009
3e81362
Add "dist" dir and "*.zip" to .gitignore for build; refs #224
Dec 16, 2009
2cc710e
main.clj: deprecation warning w/ usage for legacy repl/script; refs #218
Dec 17, 2009
383c0b9
exclude IntelliJ files from dist
richhickey Dec 17, 2009
3d8c97a
fix name conflict - bound-fn. fixes #225
richhickey Dec 17, 2009
6109d41
Slight clean-ups to a few doc strings
tomfaulhaber Dec 17, 2009
039784e
added changes.txt, setup version.properties
richhickey Dec 17, 2009
d7c0e9a
fix Run command in readme
richhickey Dec 17, 2009
6ff5242
fix Run command in readme
richhickey Dec 17, 2009
68aa96d
move to rc1
richhickey Dec 17, 2009
c774878
fixed typo
richhickey Dec 18, 2009
c5b5f10
fixed typo
richhickey Dec 18, 2009
fd01b27
Fix changes.txt & readme.txt; refs #227 refs #228 refs #229
Dec 18, 2009
2160745
fix transient arraymaps persistent! so once-only
richhickey Dec 23, 2009
89ad4ab
empty for sorted-map and sorted-set now maintain comparator. Fixes #128
Chouser Dec 19, 2009
a3a1b3a
Added sorted tests to test-empty in test_clojure/sequences.clj Refs #128
Dec 19, 2009
855f394
Added test-empty-sorted to test_clojure/sequences.clj Refs #128
Dec 19, 2009
fe6a143
Merge branch 'master' into 1.1.x
richhickey Dec 23, 2009
d548cf2
moved to rc2
richhickey Dec 23, 2009
afc3063
throw AssertionError from assert
richhickey Dec 29, 2009
3f37397
Merge branch 'master' into 1.1.x
richhickey Dec 29, 2009
a3f0c16
move to rc3
richhickey Dec 29, 2009
f4c58e3
only append non-blank qualifier to clojure-version
richhickey Dec 31, 2009
3568292
Merge branch 'master' into 1.1.x
richhickey Dec 31, 2009
5293929
remove qualifier for 1.1.0 release
richhickey Dec 31, 2009
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
classes/*
*jar
pom.xml
clojure.iws
clojure.ipr
nbproject/private/
*.zip
dist
53 changes: 51 additions & 2 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,11 @@
</description>

<property name="src" location="src"/>
<property name="test" location="test"/>
<property name="jsrc" location="${src}/jvm"/>
<property name="cljsrc" location="${src}/clj"/>
<property name="build" location="classes"/>
<property name="dist" location="dist"/>

<!-- version related properties -->
<property file="${cljsrc}/clojure/version.properties"/>
Expand Down Expand Up @@ -84,14 +86,22 @@
<target name="compile-clojure" depends="compile-java"
description="Compile Clojure sources.">
<java classname="clojure.lang.Compile"
classpath="${build}:${cljsrc}">
classpath="${build}:${cljsrc}"
failonerror="true">
<sysproperty key="clojure.compile.path" value="${build}"/>
<!-- <sysproperty key="clojure.compile.warn-on-reflection" value="true"/> -->
<arg value="clojure.core"/>
<arg value="clojure.main"/>
<arg value="clojure.set"/>
<arg value="clojure.xml"/>
<arg value="clojure.zip"/>
<arg value="clojure.inspector"/>
<arg value="clojure.walk"/>
<arg value="clojure.stacktrace"/>
<arg value="clojure.template"/>
<arg value="clojure.test"/>
<arg value="clojure.test.tap"/>
<arg value="clojure.test.junit"/>
</java>
</target>

Expand All @@ -110,6 +120,19 @@
<copy file="${clojure_jar}" tofile="${clojure_noversion_jar}" />
</target>

<target name="test"
description="Run clojure tests">
<!-- depends="clojure"> -->
<java classname="clojure.main" failonerror="true">
<classpath>
<path location="${test}"/>
<path location="${clojure_jar}"/>
</classpath>
<arg value="-e"/>
<arg value="(require '(clojure [test-clojure :as main])) (main/run-ant)"/>
</java>
</target>

<target name="clojure-slim" depends="compile-java"
description="Create clojure-slim jar file (omits compiled Clojure code)">
<jar jarfile="${slim_jar}">
Expand Down Expand Up @@ -144,9 +167,18 @@
<target name="clean"
description="Remove autogenerated files and directories.">
<delete dir="${build}"/>
<delete dir="${dist}"/>
<delete file="pom.xml"/>
</target>

<target name="distclean" depends="clean"
description="Remove all generated files, including JARs.">
<delete verbose="true">
<fileset dir="${basedir}" includes="*.jar"/>
<fileset dir="${basedir}" includes="*.zip"/>
</delete>
</target>

<target name="-setup-maven">
<typedef resource="org/apache/maven/artifact/ant/antlib.xml" uri="urn:maven-artifact-ant"/>
</target>
Expand Down Expand Up @@ -183,5 +215,22 @@
<deploy target-dir="${stable.repo.dir}"/>
</target>


<target name="dist" depends="distclean,jar"
description="Build distribution ZIP file">
<property name="distdir" value="${dist}/clojure-${clojure.version.label}"/>
<mkdir dir="${distdir}"/>
<copy todir="${distdir}" includeEmptyDirs="false">
<fileset dir="${basedir}">
<exclude name="pom.xml"/>
<exclude name="**/.git/**"/>
<exclude name="**/*.class"/>
<exclude name="**/*.iml"/>
<exclude name="**/*.ipr"/>
<exclude name="**/*.iws"/>
<exclude name="**/*.jar"/>
</fileset>
</copy>
<copy file="${clojure_noversion_jar}" todir="${distdir}"/>
<zip basedir="${dist}" destfile="clojure-${clojure.version.label}.zip"/>
</target>
</project>
253 changes: 253 additions & 0 deletions changes.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
Changes to Clojure in Version 1.1

= CONTENTS =

1 Deprecated and Removed Features
1.1 add-watcher, remove-watcher
1.2 add-classpath
1.3 ^ reader macro
1.4 clojure.parallel
1.5 clojure.lang.Repl, clojure.lang.Script
2 New Features in clojure.core
2.1 Primitive Array Generators
2.2 Casting to Primitive Arrays
2.3 Chunked Sequences
2.4 Futures
2.5 Promises
2.6 Futures vs. Promises
2.7 Transients
2.8 User-controlled Thread Bindings
2.9 Ref History
2.10 Function pre- and postconditions
2.11 Miscellaneous
3 New Namespaces
3.1 clojure.test
3.2 clojure.test.junit
3.3 clojure.stacktrace
3.4 clojure.walk
3.5 clojure.template
4 Closed Tickets



= 1 Deprecated and Removed Features =

== 1.1 add-watcher, remove-watcher ==

The functions add-watcher and remove-watcher are gone, but they can be
implemented in terms of add-watch and remove-watch.

The difference is that a "watcher" was only activated when the watched
reference changed to a *different* state, whereas a "watch" is
activated whenever the reference *might* have changed state.

Watches are still considered an experimental feature.


== 1.2 add-classpath ==

This function can not be made to work in many environments. Always
use Java's built-in mechanisms to control the classpath.


== 1.3 ^ reader macro ==

The ^ reader macro has been deprecated as a shortcut for meta in the
hopes that it can eventually replace the #^ reader macro.


== 1.4 clojure.parallel ==

The clojure.parallel namespace has been deprecated. Eventually it will
be replaced with a faster and more idiomatic alternative based on the
JDK7 ForkJoin library. A preview of this work is already available in
the 'par' branch of Clojure.


== 1.5 clojure.lang.Repl, clojure.lang.Script ==

The launch classes clojure.lang.Repl and clojure.lang.Script are both
deprecated in favor of clojure.main. Run clojure.main with the -h
argument for the new command-line syntax.



= 2 New Features in clojure.core =

== 2.1 Primitive Array Generators ==

(just like int-array, double-array)

* boolean-array : New
* byte-array : New
* char-array : New
* short-array : New


== 2.2 Casting To Primitive Arrays ==

(just like ints, doubles)

* booleans : New
* bytes : New
* chars : New
* shorts : New


== 2.3 Chunked Seqs ==

Some Clojure data structures now yield chunked seqs, which, in
addition to satisfying the normal item-at-a-time seq interface, also
support processing data sequentially by small blocks called
'chunks'. This can provide greater efficiency by leveraging the
structure of the data and amortizing the overhead of sequential
access. Some of the sequence processing functions (like map and
filter) are now chunk-aware and leverage this efficiency.

Consumption of chunked-seqs as normal seqs should be completely
transparent. However, note that some sequence processing will occur up
to 32 elements at a time. This could matter to you if you are relying
on full laziness to preclude the generation of any non-consumed
results. An interface to force single-item consumption of chunked seqs
is still being designed. Please share any use cases where chunked
processing has resulted in behavioral differences that matter to you
on the Clojure Google group.

The following fns should be considered implementation details subject
to change, but can be used for experimentation with building your own
chunked-seq functions from scratch. See map and filter as examples.

* chunk : New
* chunk-buffer : New
* chunk-append : New
* chunk-first : New
* chunk-rest : New
* chunk-next : New
* chunk-cons : New
* chunked-seq? : New


== 2.4 Futures ==

Futures represent asynchronous computations. They are a way to get
code to run in another thread, and obtain the result.

* future : New
* future? : New
* future-done? : New
* future-cancel : New
* future-cancelled? : New


== 2.5 Promises ==

A promise is a synchronization construct that can be used to deliver a
value from one thread to another. Until the value has been delivered,
any attempt to dereference the promise will block. It thus enables
dataflow-style programming.

* promise : New
* deliver : New


== 2.6 Futures vs. Promises ==

A future is associated with a computation, whereas a promise is just a
handoff reference.


== 2.7 Transients ==

See: http://clojure.org/transients

* transient : New
* persistent! : New
* conj! : New
* assoc! : New
* dissoc! : New
* pop! : New
* disj! : New


== 2.8 User-Controlled Thread Bindings ==

* push-thread-bindings : New
* pop-thread-bindings : New
* get-thread-bindings : New
* with-bindings* : New
* with-bindings : New
* bound-fn* : New
* bound-fn : New


== 2.9 Ref History ==

* ref : Updated
* ref-history-count : New
* ref-min-history : New
* ref-max-history : New


== 2.10 Function pre- and postconditions ==

Functions support specifying runtime pre- and postconditions.

See: http://clojure.org/special_forms


== 2.11 Miscellaneous ==

* juxt : New
* import : Now a macro form
* assert : Now with *assert* binding
* slurp : Now with encoding parameter
* with-loading-context : New



= 3 New Namespaces =

Complete documentation for all namespaces is in the source and API
docs: http://richhickey.github.com/clojure/


== 3.1 clojure.test ==

The test framework formerly known as clojure.contrib.test-is.


== 3.2 clojure.test.junit ==

An extension to clojure.test for JUnit-style XML output. This enables
using JUnit reporting tools with clojure.test.


== 3.3 clojure.stacktrace ==

A few utility functions for printing Java stacktraces in a format that
distinguishes between Clojure function calls and Java method calls.


== 3.4 clojure.walk ==

A simple tree walker for transforming data structures. Similar in
intent to clojure.zip, but less flexible. Useful when you want to
call a function on every value in a complex, nested data structure.

Includes some examples such as stringify-keys, which replaces all
keywords in a map with strings, and macroexpand-all, a quick-and-dirty
macroexpansion tester. Note: macroexpand-all is NOT 100% correct, it
just recursively tries to macroexpand a form; it does not correctly
interpret special forms such as let.


== 3.5 clojure.template ==

Macros that apply a "template expression" to a list of forms. Used to
implement the "are" macro in clojure.test.



= 4 Closed Tickets =

http://www.assembla.com/spaces/clojure/tickets?milestone_id=93750&tickets_report_id=5
5 changes: 5 additions & 0 deletions clojure.iml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@
<setting name="buildJar" value="true" />
<setting name="mainClass" value="clojure.lang.Compiler" />
</component>
<component name="FacetManager">
<facet type="Clojure" name="Clojure">
<configuration />
</facet>
</component>
<component name="NewModuleRootManager" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/classes" />
<exclude-output />
Expand Down
7 changes: 4 additions & 3 deletions pom-template.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http//www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.clojure</groupId>
<artifactId>clojure-lang</artifactId>
<name>clojure-lang</name>
<artifactId>clojure</artifactId>
<name>clojure</name>
<version>@clojure-version@</version>
<url>http://clojure.org/</url>

Expand Down
Loading
X Tutup