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