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

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