Bump versions.
[platform/upstream/libtasn1.git] / NEWS
1 GNU Libtasn1 NEWS                                     -*- outline -*-
2
3 * Noteworthy changes in release 2.5 (????-??-??) [?]
4
5 * Noteworthy changes in release 2.4 (2010-01-18) [stable]
6 - Doc fixes.
7 - Updated gnulib files.
8 - Clean up copyright notices.
9
10 * Noteworthy changes in release 2.3 (2009-07-29) [stable]
11 - Libtasn1 is now an official GNU project.
12 - Solve build problem on Tru64 related to TRUE/FALSE.
13 - More careful decoding of OIDs.
14 - Fixed warning in ASN1.y.
15 - Use "Software libraries" info dircategory.
16 - Drop GPL/LGPL copies from the manual (not needed there).
17 - New configure parameters to set packaging specific information.
18   The parameters are --with-packager, --with-packager-version, and
19   --with-packager-bug-reports.  See
20   <http://article.gmane.org/gmane.comp.lib.gnulib.bugs/17791> for more
21   details.
22
23 * Noteworthy changes in release 2.2 (2009-05-20) [stable]
24 - Change how the ASN1_API decorator is used in libtasn1.h, for GTK-DOC.
25 - Changed license of libtasn1.pc from GPLv3+ to LGPLv2.1+.
26   Reported by Jeff Cai <Jeff.Cai@Sun.COM>.
27 - Building with many warning flags now requires --enable-gcc-warnings.
28 - Some warnings fixed.
29
30 * Noteworthy changes in release 2.1 (2009-04-17) [stable]
31 - Fix compilation failure on platforms that can't generate empty archives,
32   e.g., Mac OS X.  Reported by David Reiser <dbreiser@gmail.com>.
33
34 * Noteworthy changes in release 2.0 (2009-04-13) [stable]
35 - Optimized tree generation.
36 - ASN1 parser code re-generated using Bison 2.4.1.
37 - Build with more warning flags.  Many compiler warnings fixed.
38 - Compiled with -fvisibility=hidden by default if supported.
39   See http://gcc.gnu.org/wiki/Visibility
40 - The libtasn1-config tool has been removed.
41   For application developers, please stop using libtasn1-config for
42   finding libtasn1, use proper autoconf checks or pkg-config instead.
43   For users that need a libtasn1 that provides a libtasn1-config
44   script (for use with older applications), use libtasn1 v1.x instead.
45   Version 1.x is still supported.
46
47 * Noteworthy changes in release 1.8 (2009-01-16) [stable]
48 - Fix crlf self-test under Mingw+Wine.
49 - Fix build problems on platforms that lack stdint.h.
50   Reported by Dagobert Michelsen <dam@opencsw.org> in
51   <http://thread.gmane.org/gmane.comp.encryption.gpg.gnutls.devel/3377>.
52
53 * Noteworthy changes in release 1.7 (2008-11-17) [stable]
54 - Add libtasn1-config for compatibility.
55   Please stop use it as it will disappear in v2.0!
56   Use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
57 - Read PKCS#12 blob as binary file, fixes self-tests under Mingw.
58 - Fix use of __attribute__ ((deprecated)) to work on non-GCC (#106548).
59
60 * Noteworthy changes in release 1.6 (2008-11-10) [stable]
61 - Fixed namespace violation for MAX_NAME_SIZE and MAX_ERROR_DESCRIPTION_SIZE.
62   The new names are ASN1_MAX_NAME_SIZE and ASN1_MAX_ERROR_DESCRIPTION_SIZE.
63 - Fixed namespace violation for libtasn1_perror and libtasn1_strerror.
64   The new names are asn1_perror and asn1_strerror.
65 - Fix namespace violation for LIBASN1_VERSION.
66   The new name is ASN1_VERSION.
67 - Decoder can now decode BER encoded octet strings.
68 - doc: Change license on the manual to GFDLv1.3+.
69 - doc: Sync gdoc script with GnuTLS, changes license on man-pages to GAP.
70 - doc: Improve gtk-doc manual.
71 - Assumes system has strdup and string.h.
72 - Remove libtasn1-config and libtasn1.m4,
73   use standard AC_CHECK_FUNCS autoconf tests or pkg-config instead.
74 - Change detection of when to use a linker version script,
75   use --enable-ld-version-script or --disable-ld-version-script to
76   override auto-detection logic.
77 - API and ABI changes since last version:
78   asn1_get_length_ber: New function.
79   ASN1_VERSION: New symbol, replaces LIBTASN1_VERSION.
80   asn1_strerror: New function, replaces libtasn1_strerror.
81   asn1_perror: New function, replaces libtasn1_perror.
82   libtasn1_strerror: Marked as deprecated.
83   libtasn1_perror: Marked as deprecated.
84   LIBTASN1_VERSION: Deprecated.
85
86 * Noteworthy changes in release 1.5 (2008-07-29) [stable]
87 - Update gnulib files.
88 - Fix memory leaks, from Christian Grothoff <christian@grothoff.org>.
89
90 * Noteworthy changes in release 1.4 (2008-04-21) [stable]
91 - Update gnulib files.
92 - Replace uses of alloca with malloc.
93
94 * Noteworthy changes in release 1.3 (2008-02-01) [stable]
95 - Handle 'INTEGER { ... } (a..b)' regression.
96   Revert parts of earlier fix.  asn1Parser can now again parse src/pkix.asn1.
97   The ASN1.c file was generated using Bison 2.3.
98 - Move examples from src/ to new directory examples/.
99 - Duplicate copy of divergated pkix.asn removed.
100 - Merge unnecessary lib/defines.h into lib/int.h.
101 - Configure no longer tries to use gcc -pipe.
102 - Update gnulib files.
103 - Fix mem leak in self-test.
104
105 * Noteworthy changes in release 1.2 (2007-12-10) [stable]
106 - Update gnulib files.
107
108 * Noteworthy changes in release 1.1 (2007-08-31) [stable]
109 - Fix bug that made asn1_check_version believe that 1.0 is older than 0.3.10.
110
111 * Noteworthy changes in release 1.0 (2007-08-31) [stable]
112 - The self-tests, command line tools and build infrastructure have
113   been re-licensed from GPLv2 to GPLv3.
114 - Doc fixes.
115 - Update gnulib files.
116
117 * Noteworthy changes in release 0.3.10 (2007-05-25)
118 - Update gnulib files.
119
120 * Noteworthy changes in release 0.3.9 (2007-03-02)
121 - In generated code, config.h is pulled in if HAVE_CONFIG_H.
122 - Development changes: changed from CVS to GIT as an experiment.
123   I push my changes to <http://repo.or.cz/w/libtasn1.git>.
124 - Autoconf 2.61 and automake 1.10 is required.
125
126 * Noteworthy changes in release 0.3.8 (2006-11-16)
127 - Fix reading of binary files in asn1Decoding, for Windows.
128
129 * Noteworthy changes in release 0.3.7 (2006-10-19)
130 - When asn1_der_coding encoded a TYPE_NULL and the output buffer is
131   NULL, it would not increment the counter properly, so the size of
132   the required buffer would be off by one.  Fixed.  Reported by
133   Stephen Wrobleski <steve@localtoast.org>.
134 - Fix configure to respect user-definable flags.  Reported by "Diego
135   'Flameeyes' Pettenò" <flameeyes@gentoo.org>.
136 - The --help and --version outputs from the tools have been improved.
137
138 * Noteworthy changes in release 0.3.6 (2006-08-13)
139 - Fix man pages to use \- instead of - for negative signs (as in "-1").
140 - Add -I's when building in src/, so that unistd.h etc is found on
141   systems that doesn't have them.
142 - Valgrind isn't used for cross-compilation by default, and there is
143   also --disable-valgrind-tests to unconditionally disable it.
144 - Valgrind is invoked without parameters, put things you like into
145   ~/.valgrindrc instead.
146
147 * Noteworthy changes in release 0.3.5 (2006-06-27)
148 - Fix asn1_octet_der to handle writes of zero-length buffers, before
149   it did not write the ASN.1 length for a zero-length buffer.  This caused
150   ASN.1 encodings to be incorrect on 64-bit platforms.
151 - Add self test that attempt to trigger the above bug.
152 - Fix test of -Wno-pointer-sign.
153 - Improve cross-compilation to MinGW by using AC_LIBTOOL_WIN32_DLL.
154
155 * Noteworthy changes in release 0.3.4 (2006-05-10)
156 - Really fix encodings.
157 - Add new self test, tests/Test_encoding.c.
158 - Self tests are ran under valgrind, if it is available.
159 - We test for the -Wno-pointer-sign parameter before using it.
160
161 * Noteworthy changes in release 0.3.3 (2006-05-07)
162 - Add some 'const' to prototypes.
163 - Remove some 'unsigned' keywords.
164 - Corrected asn1_der_coding() bug introduced when it became reentrant.
165   Now it produces correct encodings.
166
167 * Noteworthy changes in release 0.3.2
168 - Corrected bug in asn1_der_coding() which overwrited some
169   data in the original structure.
170 - The asn1Parser, asn1Coding and asn1Decoding programs are now installed.
171
172 * Noteworthy changes in release 0.3.1
173 - Support constant size bit strings, as in 'BIT STRING (SIZE(42))'.
174   Reported by Cyril Holweck <cyril.holweck@q-free.com>.
175 - Add two more APIs required by GnuTLS.
176 - New public APIs:
177   asn1_find_node function
178   asn1_copy_node
179
180 * Noteworthy changes in release 0.3.0
181 - Export DER utility functions, mostly so that GnuTLS can avoid using
182   libtasn1 internals.
183 - The _asn1* symbols are not exported in the shared library file (when
184   using GNU ld).
185 - The library can now be built using Visual Studio, and the project
186   files are included in windows/.
187 - New public APIs:
188   asn1_get_tag_der
189   asn1_octet_der
190   asn1_get_octet_der
191   asn1_bit_der
192   asn1_get_bit_der
193   asn1_get_length_der
194   asn1_length_der
195
196 * Noteworthy changes in release 0.2.18
197 - Fix out-of-bounds access in DER decoding, reported by Evgeny Legerov.
198 - Add 'const' keyword to some prototypes, thanks to Frediano ZIGLIO.
199 - Fixed typo in src/Makefile.am to make it build with objdir != srcdir,
200   thanks to Bernard Leak.
201 - Update of gnulib files.
202 - Typo fixes in comments, e.g. finish libasn1 to libtasn1 renaming,
203   use LGPL boiler plate on some files in lib/.
204
205 * Noteworthy changes in release 0.2.17
206 - Fixed typo to make it build.
207
208 * Noteworthy changes in release 0.2.16
209 - * Noteworthy changes in release script added again.
210
211 * Noteworthy changes in release 0.2.15
212 - Gnulib is used to implement memmove if your system does not have it.
213 - Simplified assert/error handling slightly.
214
215 * Noteworthy changes in release 0.2.14
216 - Some build fixes.
217 - Pkg-config script 'libtasn1.pc' added.
218 - Postal address to FSF in license updated.
219
220 * Noteworthy changes in release 0.2.13
221 - * Noteworthy changes in release number in libtasn1.h updated properly.
222
223 * Noteworthy changes in release 0.2.12
224 - Manual converted to Texinfo format.
225 - Manual in GTK-DOC and DevHelp formats added.
226 - Man pages for all functions added.
227 - Various internal cleanups.
228
229 * Noteworthy changes in release 0.2.11
230 - Added the self test with "make check" target
231 - Added management of ANY type with null length
232 - Corrected some writes to invalid data.
233  
234 * Noteworthy changes in release 0.2.10
235 - Added scripts to assist in libtasn1 version detection
236   from configure scripts.
237 - Corrected a DER decoding bug which was reported
238   by Max Vozeler <max@hinterhof.net>.
239
240 * Noteworthy changes in release 0.2.9
241 - Accept negative numbers as range in INTEGER declarations
242
243 * Noteworthy changes in release 0.2.8
244 - Add asn1_delete_element function
245
246 * Noteworthy changes in release 0.2.7
247 - Added versioned symbols.
248
249 * Noteworthy changes in release 0.2.6
250 - ASN.1 parser accepts these kinds of integer definitions:
251   "INTEGER (5 | 10)" and
252   "INTEGER (5)"
253 - Comments start at "--" and finish at the "end of line" or
254   with another "--". 
255
256 * Noteworthy changes in release 0.2.5
257 - Bug fix in ordering procedure for SET OF and SEQUENCE OF
258   types coding.
259 - Manage structured format (BER encoding) in
260   asn1_der_decoding, asn1_decoding_element and 
261   asn1_der_decoding_startEnd for OCTET STRING type.
262 - Manage SEQUENCE and SET empty structure. 
263 - Manage "indefinite length method" in asn1_der_decoding,
264   asn1_decoding_element and asn1_der_decoding_startEnd 
265   for the following types:
266   SEQUENCE, SEQUENCE OF, SET, and SET OF.
267 - Bug fix in asn1_read_value with NULL parameter in case
268   of BIT STRING
269
270 * Noteworthy changes in release 0.2.4
271 - Bug fix in asn1_der_coding with NULL parameter
272 - Manage DEFAULT option with OBJECT IDENTIFIER
273
274 * Noteworthy changes in release 0.2.3
275 - Chenge asn1_find_structure_from_oid prototype
276 - Chenge asn1_find_structure_from_oid prototype
277 - Add ASN1_MEM_ALLOC_ERROR return value
278
279 * Noteworthy changes in release 0.2.2
280 - Add vector length check in asn1_der_coding function
281 - Add vector length check in asn1_der_coding function
282 - Add vector length check in asn1_read_value function
283 - Add asn1_check_version function
284
285 * Noteworthy changes in release 0.2.1
286 - Add asn1_find_structure_from_oid function
287 - Add asn1_read_tag function
288
289 * Noteworthy changes in release 0.2.0
290 - Support for other platforms
291 - Change asn1_create_element function interface (dest_name not needed any more)
292 - Change OBJECT IDENTIFIER syntax: numbers must be separated by dot in 
293   asn1_write_element and asn1_read_element functions (e.g. "1.2.3.4")
294
295 * Noteworthy changes in release 0.1.2
296 - Added GeneralString type
297 - Fixed a DER encoding bug when nested tags are used
298
299 * Noteworthy changes in release 0.1.1
300 - Renamed to libtasn1
301 - Functions which return a string for error description
302   now accept a NULL argument.
303 - License is now GNU Lesser GPL
304
305 * Noteworthy changes in release 0.1.0
306 - Initial release