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

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