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