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