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