Added value deletion in its own thread (disabled by now).
[mpdm.git] / RELEASE_NOTES
blobce82665cc0210f1456eaebb426044e1864fa164b
1 MPDM Release Notes
2 ==================
4 2.0.0
5 -----
7  * The system has been refactored to be a pure reference counting
8    system, so sweeping / garbage collection no longer exists.
9  * Executable values and functions now include a new argument to
10    hold a context (used to implement local symbol tables and such).
11  * mpdm_adel() and mpdm_hdel() no longer return the deleted element.
12  * mpdm_aset() and mpdm_hset() no longer return the old element.
13  * mpdm_sort() sorts the array instead of returning a new one.
14  * New functions mpdm_strcat_sn(), mpdm_pokewsn(),
15    mpdm_join_s(), mpdm_split_s(), mpdm_cmp_s(), mpdm_strcat_s().
16  * Some refactoring to diminish memory usage (no more `prev'
17    pointers in the value list, less residual values).
18  * mpdm_regex() always return an array in global searches (maybe
19    an empty one) and if searching for an array of regexes (maybe
20    be a partial one).
22 1.0.9
23 -----
25  * mpdm_ival() now accepts numbers prefixed by `0b' as binary
26    numbers.
27  * Similarly, mpdm_sprintf() now accepts the `%b' code to
28    print a value as a binary number.
29  * Fixed mpdm_sset() when the previous-to-last value to be
30    assigned is executable (this is bug 1114).
31  * New function mpdm_iterator().
33 1.0.8
34 -----
36  * New function mpdm_sscanf().
37  * Fixed mpdm_encoding() to allow again empty strings as its
38    argument to fall back to default encoding.
39  * Improved file encoding autodetection by looking at the
40    UTF BOM marks. The detected encoding is stored in the
41    `DETECTED_ENCODING' root key.
43 1.0.7
44 -----
46  * Fixed a bug when processing backslashes in the substitution
47    string in sregex(), that made them dissappear if they were
48    not escaping an ampersand.
49  * Fixed a bug in win32 globbing.
50  * The dump_1() function is now pluggable.
51  * New function mpdm_chdir().
53 1.0.6
54 -----
56  * The environment is stored in a hash called ENV in mpdm_root().
57  * Under win32, the LANG environment variable is hand-built if
58    none is set.
59  * If the third argument to sregex() is a hash, the values can
60    now also be executable ones.
61  * New internal flag for values to mark them as deleted.
63 1.0.5
64 -----
66  * The mpdm_regex() function now accepts a new flag, `g', to match
67    globally; in this case, an array of matches are returned instead
68    of a string scalar.
69  * The mpdm_stat() function now returns a 14 element array, with a
70    newly #13 argument containing the canonicalized file name, if
71    the underlying system supports it.
72  * A bunch of embedded charset encoders have been implemented for
73    iso8859-1, utf-16 and utf-32 with or without BOM autodetection.
75 1.0.4
76 -----
78  * API Changes; const has been added wherever possible.
80 1.0.3
81 -----
83  * The hashing function has changed to a less accurate but faster one.
84  * There is a new, adaptive way of sweeping: if default_sweep if set
85    to a negative value (different from -1), it's used as a divisor
86    of the total count of values; this will be the number of values
87    that will be swept on each call to mpdm_sweep(0). This way, the
88    number of swept values depend on the total count.
89  * New functions mpdm_set_ival() and mpdm_set_rval().
90  * New function mpdm_get_filehandle().
92 1.0.2
93 -----
95  * Components of a compact symbol can be executable, apart from
96    hashes and arrays.
97  * mpdm_cmp() is optimized to return 0 when comparing the same value.
99 1.0.1
100 -----
102  * mpdm_cmp() now correctly compares NULL and NULL as equal.
103  * %c in mpdm_sprintf() now works with Unicode (wchar_t) characters.
104  * The substitution string in mpdm_sregex() now can include the
105    special character & to select the matched string. To include a
106    literal &, escape it with \.