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