Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] Annotation of /sml/trunk/src/smlnj-lib/CHANGES
ViewVC logotype

Annotation of /sml/trunk/src/smlnj-lib/CHANGES

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1718 - (view) (download)

1 : monnier 2 This is a list of changes to the SML/NJ Library; the version numbers
2 :     correspond to SML/NJ releases.
3 : jhr 1340 --------------------------------------------------------------------------------
4 : mblume 1718 [2004-11-29]
5 :     Added HashString.hashString' for substrings.
6 :     Hand-inlined CharVector.fold into HashString for efficiency.
7 :     Modified atom.sml so that Atom.atom' first tries to find an
8 :     existing atom before turning its argument into a string. [-blume]
9 :    
10 : mblume 1350 [2003-09-03]
11 :     Minor modifications to random.sml due to changes to some
12 :     Basis interfaces (slices).
13 :     Significant surgery on bit-array.sml to make it compile with
14 :     new signature MONO_ARRAY. This will require further cleanup
15 :     in the future.
16 : monnier 2
17 : mblume 1350 [2003-08-28]
18 :     Made compilation of int-inf* conditional. (The Basis now has
19 :     a spec-conforming implementation of IntInf, so the one here is
20 :     no longer needed.) [-blume]
21 :    
22 : jhr 1340 [2003-07-31]
23 :     Added getDevice function to PP_STREAM signature.
24 :    
25 : mblume 1335 [2003-05-27]
26 :     Avoid poly-eq in Util/parser-comb.sml.
27 :    
28 : mblume 1334 [2003-05-22]
29 :     More cleanup (all in the name of eliminating incomplete matches):
30 :     - in HTML/html-attrs-fn.sml: fill in missing patterns in two
31 :     case expressions
32 :     - in HTML/html-gram: rewrote function groupDefListContents
33 :     to avoid the (unnecessary) incomplete match
34 :     - in PP/devices/html-dev.sml: made the implementation of popStyle
35 :     agree with the comment above it (popStyle on an empty
36 :     stack is supposed to be a nop)
37 : jhr 1340 - in PP/src/pp-stream-fn.sml: function setSize: handle case of
38 :     an empty scanStk
39 : mblume 1334 - in Util/prime-sizes.sml: raise Fail exceptions instead of
40 :     Match exceptions when reaching the end of a list
41 :     (Perhaps this should eventually be rewritten using an on-demand
42 :     prime-number generator that kicks when needed.)
43 : jhr 751
44 : jhr 1333 [2003-05-22]
45 :     Cleanup logic in Scan.scanf function.
46 :    
47 : jhr 1268 [2002-10-03]
48 :     Fixed bug in formating reals with the %g format.
49 :    
50 : jhr 1248 [2002-06-18]
51 :     Fixed a bug in MatchTree.nth (regexp library). Thanks to
52 :     Sami Nopanen.
53 :    
54 : jhr 1206 [2002-05-20]
55 : jhr 1209 Fixed bug in IntInf module: scanning of hex literals was not
56 :     handling "0x" prefixes.
57 :    
58 :     [2002-05-20]
59 : jhr 1206 Added ControlUtil module and stringControls function.
60 :    
61 : jhr 1194 [2002-05-17]
62 : jhr 1199 Added tyName field to ValueSyntax exception in Controls module
63 :     and path field to registry tree in ControlRegistry module.
64 : jhr 1195
65 :     [2002-05-17]
66 : jhr 1194 Added == and != operators to INT_INF interface. These are a
67 :     placeholder until IntInf moves into the SML/NJ compiler.
68 :    
69 : jhr 1193 [2002-05-16]
70 :     Added mergeWith function to ORD_MAP interface.
71 :    
72 :     [2002-05-15]
73 :     Revised Controls library.
74 :    
75 :     [2002-04-17]
76 :     Added Matthias Blume's implementation of Danvey-style format
77 :     combinators to the Util library.
78 :    
79 :     [2002-03-14]
80 :     Merged in Matthias Blume's Controls library. Warning: the API
81 :     to this library is likely to change as we get some experience
82 :     with it.
83 :    
84 :     [2002-03-11]
85 :     Added consR1 .. consR5 functions to HashCons library. These
86 :     can be used to hash-cons record types.
87 :    
88 : jhr 1081 [2002-02-21]
89 :     Fixed infinite loop in LeftPriorityQFn.fromList when given a
90 :     singleton list as input (Chris Okasaki provided the fix).
91 : blume 1077
92 :     [2002-02-12]
93 : jhr 1061 Added implementation of priority queues to Util library (using
94 :     Okasaki's leftist-tree implementation).
95 :    
96 : jhr 967 [2001-10-19]
97 :     Added new HashCons library.
98 :    
99 :     [2001-10-19]
100 :     Added PrimeSizes module to Util library.
101 :    
102 :     [2001-09-27]
103 :     Fixed bug in UnixEnv module (reported by Leunga).
104 :    
105 :     [2001-05-05]
106 :     Added addrToString function to SockUtil module in INet library.
107 :    
108 : jhr 816 [2001-05-04]
109 :     Modified GraphSCC module to support a list of roots (Blume).
110 :     The old interface still works, but will be dropped when we move
111 :     to the new Util library.
112 :    
113 :     [2001-04-06]
114 :     Added partition function to ORD_SET interface.
115 :    
116 :     [2001-04-05]
117 :     Added hasProps function to PropList module.
118 :    
119 :     [2001-03-16]
120 :     Minor bug fix in GetOpt: don't pad the help string, since it causes
121 :     line wraps when one of the help lines is longer than the screen
122 :     width. It was also unneccesary.
123 :    
124 :     [2001-02-23]
125 :     Added inDomain function to the various kinds of hash tables.
126 :    
127 : jhr 785 [2001-02-22]
128 :     Fixed bug in {Int,Word}RedBlackMapFn.insert (bug 1591).
129 :    
130 : jhr 784 [2000-12-13]
131 : jhr 816 Added the bit operations to the IntInf module (Leung).
132 : jhr 784
133 : jhr 751 [2000-11-17]
134 :     Added where clause to GraphSCCFn result signature (Blume).
135 :    
136 :     [2000-10-20]
137 :     Made the result signature of the RegExpFn functor be opaque.
138 :    
139 :     [2000-09-28]
140 :     SML/NJ 110.0.7 release.
141 :    
142 : jhr 702 [2000-09-02]
143 :     Added Word versions of hash tables (WordHashTable), finite
144 :     maps (WordRedBlackMap), and sets (WordRedBlackSet).
145 :    
146 :     [2000-09-02]
147 :     fixed bug in Format module (infinity caused infinite loop).
148 :    
149 :     [2000-07-19]
150 :     added anchored paths in CM files for NEW_CM.
151 :    
152 : jhr 688 [2000-06-30]
153 :     added implementation of LWORD in Format module.
154 :    
155 :     [2000-05-16]
156 :     Fixed bug in dfa-engine.sml (bug number 1559).
157 :    
158 :     [2000-05-08]
159 :     Added setFn to PList.newProp return type.
160 :    
161 :     [2000-05-05]
162 :     Added sameHolder function to PropList module.
163 :    
164 : jhr 596 [2000-04-05]
165 :     Fixed a bug in the filter/filteri hash table functions: the number
166 :     of items in the table was not being recomputed.
167 :    
168 :     [2000-04-04]
169 :     Added modify and modifyi iterators to hash tables.
170 :    
171 :     [2000-03-28]
172 :     Added anchorLink style to HTMLDev structure in PP/devices.
173 :    
174 : monnier 498 [1999-12-03]
175 :     Added IntHashTable structure to Util library; this structure is
176 :     a specialization of hash tables to integer keys.
177 : monnier 2
178 : monnier 498 [1999-12-03]
179 :     Added default cases to avoid "match not exhaustive" warnings.
180 :    
181 :     [1999-12-03]
182 :     Added GraphSCCFn functor to Util library, which implements a
183 :     strongly-connected components algorithm on directed graphs (written
184 :     by Matthias Blume).
185 :    
186 :     [1999-11-10]
187 :     Fixed a benign type error in RegExp/BackEnd/fsm.sml that was exposed by
188 :     the previous change.
189 :    
190 :     [1999-11-7]
191 :     Made the result signatures of ListSetFn and ListMapFn opaque.
192 :    
193 :     [1999-11-1]
194 :     Fixed bug in PP/devices/sources.cm under new CM (missing smlnj-lib.cm).
195 :    
196 : monnier 475 [1999-10-20]
197 :     Fixed bug in RedBlack trees (the linear time construction of
198 :     trees from ordered sequences was producing backwards trees).
199 :    
200 :     [1999-10-18]
201 :     Changed UREF signature so that union, unify, and link operations
202 :     now return a boolean.
203 :    
204 :     [1999-10-18]
205 :     Added peekFn to PropList.newProp return result.
206 :    
207 :     [1999-10-14]
208 :     Added TextIOPP structure to pp-lib.cm (it was not being exported).
209 :    
210 : monnier 469 [1999-09-21]
211 :     Changed the getOpt API. Errors are now reported using a callback
212 :     and both usage and getOpt take records as arguments. Also changed
213 :     the NoArg descriptor to take a function so that imperative argument
214 :     processing can be supported.
215 :    
216 :     [1999-09-20]
217 :     Changed CM files to be compatible with both the old (110.0.x) and
218 :     new (110.20+) versions of CM.
219 :    
220 :     [1999-09-17]
221 :     Added PropList:PROP_LIST structure. This structure implements
222 :     property lists using Stephen Weeks's technique.
223 :    
224 :     [1999-09-17]
225 :     Improved the red-black tree implementations with linear-time union,
226 :     intersection, difference, and filter operations. Also reimplemented
227 :     the delete function in a way that does not require an extra constructor.
228 :    
229 :     [1999-09-09]
230 :     Added Red-Black-Tree implementation of sets and maps. Two new
231 :     functors (RedBlackMapFn and RedBlackSetFn) and four new structures
232 :     (IntRedBlackMap, IntRedBlackSet, AtomIntRedBlackMap, and IntRedBlackSet).
233 :     Also added aliases AtomMap and AtomSet that for the RB implementations.
234 :    
235 :     [1999-09-03]
236 :     Added missing support for WORD and WORD8 format items to Format structure.
237 :     Still need to handle LWORD items!!
238 :    
239 :     [1999-08-17]
240 :     Added DynamicArray:DYNAMIC_ARRAY structure.
241 :    
242 : monnier 411 [1999-07-06]
243 :     Added declarative representation of pretty-printing to PPStreamFn.
244 :     This replaces the PPDescFn and PP_DESC components (which were not
245 :     implemented anyway).
246 :    
247 :     [1999-07-02]
248 :     Moved SockUtil structure into a new INet library. Also split out the
249 :     Unix-specific socket operations into a UnixSockUtil module. (Sockets
250 :     are now supported on Win32).
251 :    
252 :     [1999-06-17]
253 :     Added listKeys function to ORD_MAP API.
254 :    
255 :     [1999-06-14]
256 :     Added Riccardo Pucella's GetOpt structure to Util library.
257 :    
258 :     [1999-06-14]
259 :     Added singleton and inDomain functions to ORD_MAP API.
260 :    
261 :     [1999-06-02]
262 :     Merged in some bug fixes from the compiler's version of the IntInf
263 :     structure.
264 :    
265 : monnier 289 [1999-05-05]
266 :     Fixed a couple of bugs in the PP library having to do with nesting
267 :     absolute and relative indentations.
268 :    
269 :     [1999-04-21]
270 :     Added a way to pass control information to a PP device via the PP
271 :     stream (function control in PP_STREAM).
272 :    
273 :     [1999-04-16]
274 :     Added better style support to the HTML PP device.
275 :    
276 :     [1998-09-04]
277 :     Added isEmpty predicate and first fucntion to ORD_MAP
278 :     signature (and to implementations).
279 :    
280 :     [1998-06-23]
281 :     Fixed a bug in ParserComb.bind (reported by Andrew Kennedy).
282 :    
283 :     --------------------------------------------------------------------------------
284 : monnier 106 [1998-04-15] 110 --> 110.5
285 :     --------------------------
286 :    
287 :     There is now a regular expression library (mostly implemented by Riccardo
288 :     Pucella). The implementation separates front-ends (which specify the
289 :     syntax of REs) from back-ends (which implement the matching algorithms).
290 :     Currently, we support AWK syntax as the only front-end and two different
291 :     back-ends.
292 :    
293 :     Added an implementation of the SML/NJ PP API to the pretty-printer examples.
294 :    
295 :     Fixed a bug in the IntInf structure with scanning strings of the form "1+2".
296 :     Also did some clean-up of the code.
297 :    
298 :    
299 :     --------------------------------------------------------------------------------
300 : monnier 8 [1997-12-07] 109.32 --> 110
301 :     ---------------------------
302 :    
303 : monnier 29 Added the function add' to the ORD_SET signature and the function insert'
304 :     to the ORD_MAP signature. These functions fit the pattern of the fold
305 :     functions. (110 patch 3)
306 :    
307 :     Added the IntInf:INT_INF structure to the Util library. This is a subset
308 :     of the optional IntInf structure defined by the SML'97 basis.
309 :    
310 :     Changed the Rand structure to use words as seeds and results. This also
311 :     fixes bug 1047. (110 patch 3)
312 :    
313 : monnier 8 Added a clear operation to the Queue and various hash table structures.
314 :    
315 :     Changed the ListFormat.formatList to ListFormat.fmt and ListFormat.scanList
316 :     to ListFormat.scan. Added the function ListFormat.listToString.
317 :    
318 :     Updated the HTML library to the final 3.2 specification. This involved adding
319 :     a new BODY element type (with attributes). Also, removed the header/footer
320 :     arguments to the pretty-printer (they were a gross hack).
321 :    
322 :     Added PathUtil structure to Util library. This is a more general version
323 :     of the old UnixPath module.
324 :    
325 :    
326 :     --------------------------------------------------------------------------------
327 :     [1997-10-01] 109.31 --> 109.32
328 :     ------------------------------
329 :    
330 :     Changed the type of the exec instruction in the Reactive library.
331 :    
332 :    
333 :     --------------------------------------------------------------------------------
334 : monnier 2 [1997-09-09] 109.30 --> 109.31
335 :     ------------------------------
336 :    
337 :     Added the Reactive library, which supports reactive scripting. This is a
338 :     first cut, and hasn't been extensively tested.
339 :    
340 :     Changed the names of SockUtil.sock{Recv,Send}* to SockUtil.{recv,send}*
341 :     (since the sock prefix was redundant).
342 :    
343 :     Added some bug fixes to IntListSet that had previously been added to
344 :     the ListSetFn implementation.
345 :    
346 :    
347 :     --------------------------------------------------------------------------------
348 :     [1997-07-17] 109.29 --> 109.30
349 :     ------------------------------
350 :    
351 :     Added a missing case to {ListSetFn,IntListSet}.isSubset.
352 :    
353 :     The bug fix for unionWith was broken. I think I've got it right this
354 :     time.
355 :    
356 :    
357 :     --------------------------------------------------------------------------------
358 :     [1997-07-17] 109.29 --> 109.30
359 :     ------------------------------
360 :    
361 :     Fixed a bug in the binary-tree and splay-tree implementations of the
362 :     unionWith[i] and intersectWith[i] functions. The bug caused the order
363 :     of arguments to the merging function to be wrong in some cases.
364 :    
365 :     Fixed uses of System.Unsafe.
366 :    
367 :     Removed Array2:ARRAY2 from Util library, since the basis now defines these.
368 :    
369 :     Added MonoArrayFn functor for easy creation of monomorphic array structures.
370 :    
371 :     Added Atom.atom' operation for turning substrings into atoms.
372 :    
373 :    
374 :     --------------------------------------------------------------------------------
375 :     [1997-06-13] 109.28 --> 109.29
376 :     ------------------------------
377 :    
378 :     Added collate operation to ORD_MAP signature.
379 :    
380 :     Added compare operation to ORD_SET signature.
381 :    
382 :     Changed the type of and intersectWith[i] in the ORD_MAP signature to be
383 :     more general.
384 :    
385 :     Changed the type of the map function in the ORD_SET signature to return
386 :     a new set (instead of a list).
387 :    
388 :    
389 :     --------------------------------------------------------------------------------
390 :     [1997-05-22] 109.27 --> 109.28
391 :     ------------------------------
392 :    
393 :     Changed various sharing constraints to "where type" definitions to
394 :     compile in SML'97.
395 :    
396 :     Added AtomBinaryMap and AtomBinarySet structures to Util library.
397 :    
398 :    
399 :     --------------------------------------------------------------------------------
400 :     [1997-03-03] 109.25.1 --> 109.25.2
401 :     ----------------------------------
402 :    
403 :     Changed Util/time-limit.sml to reflect new location of callcc/throw.
404 :    
405 :    
406 :     --------------------------------------------------------------------------------
407 :     [1997-02-25] 109.25 --> 109.25.1
408 :     --------------------------------
409 :    
410 :     Added a bunch of new operations to the ordered map modules (BinaryMapFn,
411 :     IntBinaryMap, ListMapFn, IntListFn, and SplayMapFn). The new operations
412 :     are:
413 :     val unionWith : ('a * 'a -> 'a) -> ('a map * 'a map) -> 'a map
414 :     val unionWithi : (Key.ord_key * 'a * 'a -> 'a) -> ('a map * 'a map) -> 'a map
415 :     val intersectWith : ('a * 'a -> 'a) -> ('a map * 'a map) -> 'a map
416 :     val intersectWithi : (Key.ord_key * 'a * 'a -> 'a) -> ('a map * 'a map) -> 'a map
417 :     val filter : ('a -> bool) -> 'a map -> 'a map
418 :     val filteri : (Key.ord_key * 'a -> bool) -> 'a map -> 'a map
419 :     val mapPartial : ('a -> 'b option) -> 'a map -> 'b map
420 :     val mapPartiali : (Key.ord_key * 'a -> 'b option) -> 'a map -> 'b map
421 :    
422 :     Added IOUtil : IO_UTIL structure to the Util library. This provides
423 :     support for dynamically rebinding stdIn and stdOut.
424 :    
425 :     Added KeywordFn functor to the Util library. This provides support for
426 :     implementing scanners, where keyword recognition is done outside the
427 :     basic lexical analysis.
428 :    
429 :     Fixed several bugs in the ListSetFn functor.
430 :    
431 :    
432 :     --------------------------------------------------------------------------------
433 :     [1997-01-10] 109.23 --> 109.24
434 :     ------------------------------
435 :    
436 :     Changed the HASH_TABLE, MONO_HASH_TABLE, MONO_HASH2_TABLE, and ORD_MAP
437 :     interfaces to provide two forms of the listItems function. listItemsi
438 :     returns a list of (key, value) pairs and listItems returns just the values.
439 :     The previous version of listItems was like listItemsi.
440 :    
441 :     Added a missing case for BASEFONT in CheckHTMLFn.check.
442 :    
443 :    
444 :     --------------------------------------------------------------------------------
445 :     [1996-12-07] 109.21.1 --> 109.22
446 :     --------------------------------
447 :    
448 :     Changed the MONO_DYNAMIC_ARRAY signature to make array an eqtype (also changed
449 :     the implementation of DynamicArrayFn).
450 :    
451 :     Fixed a bug in Array2.column
452 :    
453 :    
454 :     --------------------------------------------------------------------------------
455 :     [1996-10-18] 109.19 --> 109.20
456 :     ------------------------------
457 :    
458 :     Added functions for sending/receiving strings over TCP sockets to the
459 :     SockUtil structure.
460 :    
461 :     Fixed a bug with reading on a closed socket in SockUtil.sockRecvVec
462 :    
463 :     Fixed a bug in the implementation of the intersection operation
464 :     in binary sets (BinarySetFn and IntBinarySet).
465 :    
466 :    
467 :     --------------------------------------------------------------------------------
468 :     [1996-10-01] 109.18 --> 109.19
469 :     ------------------------------
470 :    
471 :     Updated the HTML library to the August 21 version of the 3.2 DTD.
472 :    
473 :     Added html-defaults.sml to the HTML Library.
474 :    
475 :     Added Parsing combinators to the Util library.
476 :    
477 :     Added Socket utilities to the Unix library.
478 :    

root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0