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