|
| 1 | +Libini V1.10 Release 2: |
| 2 | + |
| 3 | +Fixed: |
| 4 | + |
| 5 | +* Make all ini modifing calls fail for read only files. |
| 6 | + |
| 7 | +* Fix strtrim to put null character in correct place |
| 8 | + |
| 9 | +Karel Vanroye <kva@melexis.com>: |
| 10 | + |
| 11 | +Fixed: |
| 12 | + |
| 13 | +* ini_readInt, ini_readDouble and ini_readLong returns zero |
| 14 | + only if succesful conversion is done. |
| 15 | + |
| 16 | +* libini.spec.in: make it compactible with Red Hat 5.2 rpm 2.5.5 |
| 17 | + |
| 18 | +Changes: |
| 19 | + |
| 20 | +* ini_readBool true has now synonym yes, on; false has no, off |
| 21 | + |
| 22 | +Added: |
| 23 | + |
| 24 | +* Returning of currently selected heading and key name using |
| 25 | + ini_currentHeading and ini_currentKey. |
| 26 | + |
| 27 | + |
| 28 | +Libini V1.10 Release 1: |
| 29 | + |
| 30 | +Fixed: |
| 31 | + |
| 32 | +* Freeing of memory on heading creation errors. |
| 33 | + |
| 34 | +* A data of the following format nolonger returns the comment |
| 35 | + as part of the data: |
| 36 | + |
| 37 | + key=data ;comment |
| 38 | + |
| 39 | +* First key in an anonymous section starting right at the start |
| 40 | + of the file is nolonger ignored. |
| 41 | + |
| 42 | +* Fix ini_append and ini_store to nolonger crash if a heading |
| 43 | + was not previously located. |
| 44 | + |
| 45 | +* Providing ini_open a NULL for comment is now treated as no |
| 46 | + comment (instead of crashing). |
| 47 | + |
| 48 | +Changes: |
| 49 | + |
| 50 | +* POTENTIAL INCOMPATIBILITY |
| 51 | + By default key/heading searches are now performed without |
| 52 | + case sensitivity. Pass the additional character 'i' in |
| 53 | + mode to ini_open to obtain old behaviour. |
| 54 | + |
| 55 | +* By default backups are nolonger kept. Pass the additional |
| 56 | + character 'b' in mode to ini_open to obtain old behaviour. |
| 57 | + |
| 58 | +* Swig module naming to make it more consistent across |
| 59 | + languages. To use swig to generate support for another |
| 60 | + language use: |
| 61 | + |
| 62 | + swig -<lang> -module <lang>ini -o libini_<lang>.c libini.h |
| 63 | + |
| 64 | + e.g. |
| 65 | + |
| 66 | + swig -perl -module perlini -o libini_perl.c libini.h |
| 67 | + |
| 68 | + Then compile that file and create a library called |
| 69 | + lib<lang>ini that depends on the library libini. |
| 70 | + |
| 71 | + |
| 72 | +Libini V1.9 Release 1: |
| 73 | + |
| 74 | +Fixed: |
| 75 | + |
| 76 | +*ini_open nolonger wrongly keeps input file open. |
| 77 | + |
| 78 | +*Cleanup after new file creation check. This prevents |
| 79 | + operations on an already closed file. |
| 80 | + |
| 81 | +*The following is nolonger processed as two keys: |
| 82 | + |
| 83 | + key1=key2=data |
| 84 | + |
| 85 | +*Simultaneous ini_open calls from different threads nolonger |
| 86 | + gives corrupted results. Note that you cannot access the |
| 87 | + same INI file from multiple threads unless a mutex lock |
| 88 | + is placed around all the relevant libini calls. |
| 89 | + |
| 90 | +Modified: |
| 91 | + |
| 92 | +*INI parser to support multiple character comments. The |
| 93 | + passed in comment string to ini_open is now used when |
| 94 | + processing the file. Comments are only recognised if they |
| 95 | + are at the beginning of a newline, preceeded by one |
| 96 | + character of whitespace and match the entire string passed |
| 97 | + into ini_open. |
| 98 | + |
| 99 | +Added: |
| 100 | + |
| 101 | +*Bool data type. |
| 102 | + |
| 103 | + |
| 104 | +Libini V1.8 Release 2: |
| 105 | + |
| 106 | +Re-added ini_setBuffer for scripting languages which was |
| 107 | +accidently removed. |
| 108 | + |
| 109 | + |
| 110 | +Libini V1.8 Release 1: |
| 111 | + |
| 112 | +Fixed: |
| 113 | + |
| 114 | +*Different build options to reduce code size. |
| 115 | + |
| 116 | +*Temporary files being left sometimes. |
| 117 | + |
| 118 | +*ini_readDouble now reads double precision values from |
| 119 | + the INI file. |
| 120 | + |
| 121 | +Modified: |
| 122 | + |
| 123 | +*ini_open & ini_new functions have been combined into a |
| 124 | + single function called ini_open with extra parameters. |
| 125 | + The function now takes a filename, access mode and |
| 126 | + comment character(s). Access mode "w" is equivalent |
| 127 | + to the old ini_new and "a" is equivalent to the old |
| 128 | + ini_open. The comment character(s) should currently |
| 129 | + be passed in as either "#" or ";". Other comment |
| 130 | + strings are not supported at this time. Note that only |
| 131 | + one comment type is supported in the same file! |
| 132 | + |
| 133 | +*ini_deleteAll renamed to ini_delete. |
| 134 | + |
| 135 | +Added: |
| 136 | + |
| 137 | +*ini_append: Allows two INI files to be combined. Keys |
| 138 | + from the source INI file will overwrite keys in the |
| 139 | + destination. |
| 140 | + |
| 141 | + |
| 142 | +Libini1 V1.7 Release 1: |
| 143 | + |
| 144 | +Various Fixes: |
| 145 | + |
| 146 | +*Fixed ini_new so correctly creates a new file if one dosen't |
| 147 | + exist. |
| 148 | + |
| 149 | +*Doing an ini_flush no longer trashes the current heading/key |
| 150 | + you had previously located. |
| 151 | + |
| 152 | +*If all section and keys have been removed the INI file is |
| 153 | + now deleted. |
| 154 | + |
| 155 | +*ini_flush with no changes made to the file nolonger deletes |
| 156 | + the ini file descriptor thus causing the next ini_* call to |
| 157 | + perform a illegal operation/seg fault. |
| 158 | + |
| 159 | +*ini_deleteHeading now works. |
| 160 | + |
| 161 | +Added: |
| 162 | + |
| 163 | +*ini_deleteAll to remove all section and keys |
| 164 | + |
| 165 | + |
| 166 | +Libini1 V1.6 Release 3: |
| 167 | + |
| 168 | +*Tested with Visual Basic and added appropriate bas module. |
| 169 | + |
| 170 | +*Removed ini_listIndexLength. When ini_listDelims is used |
| 171 | + ini_dataLength now returns the value normally provided |
| 172 | + by ini_listIndexLength. |
| 173 | + |
| 174 | + |
| 175 | +libini1 Version 1.6 |
| 176 | + |
| 177 | +Initial Sourceforge Release. |
0 commit comments