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