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 /smlnj-lib/trunk/CHANGES
ViewVC logotype

Annotation of /smlnj-lib/trunk/CHANGES

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1810 - (view) (download)
Original Path: sml/trunk/src/smlnj-lib/CHANGES

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

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