Whamcloud - gitweb
Update for release of e2fsprogs 1.36.
[tools/e2fsprogs.git] / lib / uuid / ChangeLog
1 2006-02-05  Theodore Ts'o  <tytso@mit.edu>
2
3         * Release of E2fsprogs 1.36
4
5 2005-02-05  Theodore Ts'o  <tytso@mit.edu>
6
7         * Makefile.in: Remove uuid.pc on a "make distclean"
8
9 2005-01-26  Theodore Ts'o  <tytso@mit.edu>
10
11         * uuid.pc.in: Add pkg-config files.
12
13 2005-01-18  Theodore Ts'o  <tytso@mit.edu>
14
15         * Makefile.in: Fix the kernel compile-time echo commands to be
16                 consistent and portable
17
18 2005-01-17  Theodore Ts'o  <tytso@mit.edu>
19
20         * uuidP.h: Use inttypes.h in preference to stdint.h for
21                 compatibility with older FreeBSD and Solaris systems.
22
23 2004-12-14  Theodore Ts'o  <tytso@mit.edu>
24
25         * Makefile.in: Use Linux-kernel-style makefile output for "make
26                 install"
27
28         * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro.
29                 Update dependencies.
30
31 2004-11-30  Theodore Ts'o  <tytso@mit.edu>
32
33         * Makefile.in: Use Linux-kernel-style makefile output to make it
34                 easier to see errors/warnings.
35
36 2004-09-17  Theodore Ts'o  <tytso@mit.edu>
37
38         * gen_uuid.c (get_node_id): glibc always defines AF_LINK, so only
39                 try to use struct sockaddr_dl if HAVE_NET_IF_DL_H is
40                 defined.  (Addresses Debian Bug #256669)
41
42 2004-05-27  Theodore Ts'o  <tytso@mit.edu>
43
44         * uuid.h (UUID_DEFINE): Make the UUID defined as a static
45                 variable, with __attribute__ ((unused)) if we are using GCC.
46
47 2004-05-04  Theodore Ts'o  <tytso@mit.edu>
48
49         * Update and clean up uuid man pages
50
51         * gen_uuid.c (uuid_generate_time): Mask off the timestamp to avoid
52                 a Y8.8888K problem.
53
54 2004-04-03  Theodore Ts'o  <tytso@mit.edu>
55
56         * Makefile.in: Update the modtime even if subst doesn't need to
57                 update the libuuid man pages, to avoid always re-running
58                 subst, especially since there are no dependencies on the
59                 man page.
60
61 2004-04-03  Theodore Ts'o  <tytso@mit.edu>
62
63         * libuuid.3.in, uuid_clear.3.in, uuid_compare.3.in, uuid_copy.3.in,
64                 uuid_generate.3.in, uuid_is_null.3.in, uuid_parse.3.in,
65                 uuid_time.3.in, uuid_unparse.3.in: Change licensing of man
66                 pages from GPL to 3-clause BSD-style.
67
68         * uuid_parse.3.in, uuid_unparse.3.in: Change the use of the term
69                 "internal format" to "binary representation".
70
71         * gen_uuid.c, pack.c, unpack.c, uuid_time.c, uuidP.h,
72                 uuid_types.h.in: Use ANSI C99 types if stdint.h exists.
73
74 2004-03-30  Theodore Ts'o  <tytso@mit.edu>
75
76         * gen_uuid.c (get_node_id): Clean up AF_LINK #ifdef's for Darwin.
77
78 2004-03-22  Theodore Ts'o  <tytso@mit.edu>
79
80         * unparse.c (uuid_unparse_lower, uuid_unparse_upper),
81                 uuid_unparse.3.in, uuid.h: Add new functions.
82
83 2004-03-19  Theodore Ts'o  <tytso@mit.edu>
84
85         * Change the license to be the 3-clause BSD-style license
86
87         * uuid.h (UUID_DEFINE): Add UUID type #define's, and add an CPP
88                 macro to define UUID constants.
89
90         * gen_uuid.c (get_clock): Use 14 bits for the clock sequence,
91                 instead of just 13 bits.
92
93         * gen_uuid.c (get_node_id): Fix so that Darwin will actually get
94                 the ethernet address correctly.
95
96 2004-02-29  Brian Bergstrand  <brian@bergstrand.org>
97
98         * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use
99                 -fpic or -fPIC
100
101 2004-02-28  Theodore Ts'o  <tytso@mit.edu>
102
103         * Release of E2fsprogs 1.35
104
105 2004-01-30  Theodore Ts'o  <tytso@mit.edu>
106
107         * gen_uuid.c (uuid_generate_time): Fix bug pointed out by Ralf
108                 S. Engelshall; when generating a random ethernet address
109                 because one is not available, set the least significant
110                 bit of the first byte of the MAC address, since it is the
111                 first bit to be transmitted, and is therefore the
112                 multicast bit.
113
114 2003-07-25  Theodore Ts'o  <tytso@mit.edu>
115
116         * Release of E2fsprogs 1.34
117
118 2003-04-21  Theodore Ts'o  <tytso@mit.edu>
119
120         * Release of E2fsprogs 1.33
121
122 2003-04-21  Theodore Ts'o  <tytso@mit.edu>
123
124         * Makefile.in: Use DYLD_LIBRAY_PATH so that "make check" works on
125                 Darwin systems when building with shared libraries.
126
127 2003-04-12  Theodore Ts'o  <tytso@mit.edu>
128
129         * gen_uuid.c: Add #ifdef checks around #include <sys/ioctl.h> and
130                 <sys/socket.h>.
131
132 2003-04-03  Theodore Ts'o  <tytso@mit.edu>
133
134         * gen_uuid.c (get_random_bytes): Always xor in a stream of bytes
135                 from the system PRNG (i.e., random/srandom, seeded from
136                 the time, pid, and uid) in case /dev/random isn't doing
137                 the right thing on a particular system.  It doesn't hurt,
138                 and it can help, in the case of a buggy /dev/random.
139
140 2003-03-14  Theodore Ts'o  <tytso@mit.edu>
141
142         * Makefile.in: Add support for Apple Darwin
143
144 2003-03-06  Theodore Tso  <tytso@mit.edu>
145
146         * uuid_types.h.in: Don't redefine types if other e2fsprogs
147                 *_types.h files have been included already.
148
149         * Makefile.in (tst_uuid): Link against the static library instead
150                 of all of the object files, so that we automatically pick
151                 up -lsocket under Solaris.
152
153 2003-03-02  Theodore Ts'o  <tytso@mit.edu>
154
155         * Makefile.in, uuidP.h, uuid_types.h.in: Use uuid_types.h instead
156                 of ext2_types.h
157
158 2002-11-09  Theodore Ts'o  <tytso@mit.edu>
159
160         * Release of E2fsprogs 1.32
161
162 2002-11-08  Theodore Ts'o  <tytso@mit.edu>
163
164         * Release of E2fsprogs 1.31
165
166 2002-10-31  Theodore Ts'o  <tytso@mit.edu>
167
168         * Release of E2fsprogs 1.30
169
170 2002-10-31  Theodore Ts'o  <tytso@mit.edu>
171
172         * gen_uuid.c (get_random_bytes): Don't spin forever if read()
173                 returns EINTR or EAGAIN, so that when /dev/random is
174                 opened O_NONBLOCK, we don't end up spinning forever.
175
176 2001-09-24  Theodore Tso  <tytso@mit.edu>
177
178         * Release of E2fsprogs 1.29
179
180 2001-08-31  Theodore Tso  <tytso@thunk.org>
181
182         * Release of E2fsprogs 1.28
183
184 2002-07-15  Theodore Ts'o  <tytso@mit.edu>
185
186         * parse.c (uuid_parse): Fix uuid parsing bug which didn't complain
187                 for certain types of invalid input text.  (Addresses
188                 Debian bug #152891).
189
190         * tst_uuid.c: Add test cases for invalid text strings passed to
191                 uuid_parse.
192
193 2002-03-08  Theodore Tso  <tytso@mit.edu>
194
195         * Release of E2fsprogs 1.27
196
197 2002-02-24  Theodore Tso  <tytso@mit.edu>
198
199         * Makefile.in (install): Install hard links to man pages for
200                 uuid_generate_random and uuid_generate_time.  Remove
201                 any compressed man pages before installing the man pages.
202
203 2002-02-03  Theodore Tso  <tytso@thunk.org>
204
205         * Release of E2fsprogs 1.26
206
207 2001-09-20  Theodore Tso  <tytso@thunk.org>
208
209         * Release of E2fsprogs 1.25
210
211 2001-09-10  Theodore Tso  <tytso@mit.edu>
212
213         * compare.c (uuid_compare), copy.c (uuid_copy), 
214                 isnull.c (uuid_is_null), pack.c (uuid_pack), 
215                 parse.c (uuid_parse), unpack.c (uuid_unpack),
216                 unparse.c (uuid_unparse), uuid.h, uuidP.h, 
217                 uuid_time.c (uuid_time, uuid_type, uuid_variant):
218                 Use const for pointer variables that we don't modify.  Add
219                 the appropriate ifdef's in uuid.h to make it be C++ friendly.
220
221 2001-09-02  Theodore Tso  <tytso@thunk.org>
222
223         * Release of E2fsprogs 1.24a
224
225 2001-08-30  Theodore Tso  <tytso@thunk.org>
226
227         * Release of E2fsprogs 1.24
228
229 2001-08-15  Theodore Tso  <tytso@valinux.com>
230
231         * Release of E2fsprogs 1.23
232
233 2001-06-23  Theodore Tso  <tytso@valinux.com>
234
235         * Release of E2fsprogs 1.22
236
237 2001-06-21  Theodore Tso  <tytso@valinux.com>
238
239         * uuid.h: Add protection against multiple inclusion
240
241 2001-06-15  Theodore Tso  <tytso@valinux.com>
242
243         * Release of E2fsprogs 1.21
244
245 2001-06-01  Theodore Tso  <tytso@valinux.com>
246
247         * Makefile.in, uuidP.h: Move include/asm/types.h.in to
248                 lib/ext2fs/ext2_types.h.in.
249
250 2001-06-01  Theodore Tso  <tytso@valinux.com>
251
252         * unpack.c, unparse.c, uuid_time.c: Update files to be under the
253                 LGPL (that somehow were missed when libuuid was converted
254                 to use the LGPL).  Whoops.
255
256 2001-05-25  Theodore Tso  <tytso@valinux.com>
257
258         * Release of E2fsprogs 1.20
259
260 2001-05-14  Theodore Tso  <tytso@valinux.com>
261
262         * tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
263
264 2001-05-12  Theodore Tso  <tytso@valinux.com>
265
266         * libuuid.3.in, uuid_clear.3.in, uuid_compare.3.in, uuid_copy.3.in,
267                 uuid_generate.3.in, uuid_is_null.3.in, uuid_parse.3.in,
268                 uuid_time.3.in, uuid_unparse.3.in: Update URL location of
269                 e2fsprogs package.
270
271 2001-05-01  Theodore Tso  <tytso@valinux.com>
272
273         * parse.c, compare.c: Include string.h to fix gcc -Wall
274                 complaints.
275
276         * gen_uuid.c: Define _SVID_SOURCE to avoid gcc -Wall errors
277                 because some required structures wouldn't be otherwise
278                 defined.  Fix a minor gcc -Wall nit in the declaration of
279                 get_random_fd().
280
281 2001-01-12  Theodore Ts'o  <tytso@valinux.com>
282
283         * uuid_time.c (main), tst_uuid.c (main): Fix gcc -Wall complaints.
284
285         * uuid.h, copy.c (uuid_copy): Change arguments to make it
286                 clear which argument is the source and which is the
287                 destination.
288
289         * gen_uuid.c (get_random_fd): Use gettimeofday to seed the PRNG,
290                 so we can take advantage of tv_usec to do (slightly)
291                 better at seeding it.
292
293 2000-07-13    <tytso@valinux.com>
294
295         * Release of E2fsprogs 1.19
296
297 2000-07-07  Theodore Ts'o  <tytso@valinux.com>
298
299         * Makefile.in (uuid_time): Fix compilation rule so that
300                 uuid_time.o doesn't get bashed in order to build the
301                 command-line version of uuid_time.
302
303 2000-07-04  Theodore Ts'o  <tytso@valinux.com>
304
305         * Makefile.in: Remove explicit link of -lc in the shared library.
306                 (It shouldn't be necessary, and is harmful in some cases).
307
308 2000-06-12  Theodore Ts'o  <tytso@valinux.com>
309
310         * gen_uuid.c (get_random_bytes): Use O_NONBLOCK when trying to
311                 open /dev/random.  Break out the /dev/random
312                 initialization code into a get_random_fd() function, and
313                 use that function in uuid_generate() to determine whether
314                 to use uuid_generate_random()  or uuid_generate_time().
315
316 2000-05-25    <tytso@snap.thunk.org>
317
318         * Makefile: Add hack dependency rule so that parallel makes work
319                 correctly. 
320
321 2000-04-07  Theodore Ts'o  <tytso@valinux.com>
322
323         * clear.c, compare.c, copy.c, gen_uuid.c, isnull.c, pack.c,
324                 parse.c, uuid.h, uuidP.h: Changed copyright to be the
325                 LGPL. 
326
327 Thu Apr  6 17:38:58 2000  Theodore Y. Ts'o  <tytso@signal.thunk.org>
328
329         * Makefile.in (uuid_time): Compile uuid_time in two steps (first
330                 create .o, then link it against the libraries) to work
331                 around bug in a.out linker.
332
333         * dll/jump.funcs, dll/jump.import, dll/jump.params: Update a.out
334                 shared library control files to reflect new added files.
335
336 2000-04-03  Theodore Ts'o  <tytso@valinux.com>
337
338         * gen_uuid.c (get_clock): Fix bug where the last timeval wasn't
339                 getting set, causing potentially duplicate UUID's to be
340                 generated.
341
342 2000-03-12  Theodore Ts'o  <tytso@valinux.com>
343
344         * gen_uuid.c (get_random_bytes): Make more paranoid about
345                 misbehaving /dev/urandom.  If we get a return of zero
346                 without an error more than 8 times in a row, we break out
347                 and return an error.  Also, if /dev/urandom doesn't exist,
348                 try /dev/random.
349
350 2000-01-18  Theodore Ts'o  <tytso@valinux.com>
351
352         * Makefile.in: Since LIBUUID can sometimes include
353                 "-lsocket" we need a separate DEPLIBUUID that can be used
354                 in Makefile's dependency rules.
355
356 1999-11-19    <tytso@valinux.com>
357
358         * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
359                 the source directory.
360
361 1999-11-10    <tytso@valinux.com>
362
363         * Release of E2fsprogs 1.18
364
365 1999-10-26    <tytso@valinux.com>
366
367         * Release of E2fsprogs 1.17
368
369 1999-10-26    <tytso@valinux.com>
370
371         * uuid_time.c (variant_string): Declare to be static to avoid gcc
372                 warnings.
373
374         * uuid.h: Add function prototypes for uuid_generate_random() and
375                 uuid_generate_time().
376
377 1999-10-25    <tytso@valinux.com>
378
379         * gen_uuid_nt.c (uuid_generate): W2K strikes again!  An
380                 incompatible interface change means we need to detect
381                 whether the code is running on an NT4 or NT5 system.
382
383 1999-10-22    <tytso@valinux.com>
384
385         * Release of E2fsprogs 1.16
386
387 1999-10-21    <tytso@valinux.com>
388
389         * uuid_generate.8.in: Update man page to use a more standard
390                 format (bold option flags and italicized variables), as
391                 suggested by Andreas Dilger (adilger@enel.ucalgary.ca)
392
393 1999-09-24    <tytso@valinux.com>
394
395         * gen_uuid_nt.c: New file which creates a UUID under Windows NT.
396
397 1999-07-18  Theodore Ts'o  <tytso@rsts-11.mit.edu>
398
399         * Release of E2fsprogs 1.15
400
401 1999-05-17    <tytso@rsts-11.mit.edu>
402
403         * gen_uuid.c (get_random_bytes): Use a while loop when reading
404                 from /dev/urandom so that if we get interrupted while
405                 reading the right thing happens.
406                 (uuid_generate_random): Add new function which uses the
407                 new UUID format which uses 122 random bits to form the
408                 128-bit UUID. 
409                 (uuid_generate): Rename the old uuid_generate to be
410                 uuid_generate_time, and create a new uuid_generate
411                 function which calls either uuid_generate_random or
412                 uuid_genereate_time depending on whether /dev/urandom is
413                 present. 
414
415         * uuid_generate.3.in: Update to reflect changesin uuid_generate
416                 and its two new variants.
417
418         * tst_uuid.c: Updated to test new uuid_generate functions, and to
419                 reflect new semantics of uuid_compare.  Added tests to
420                 make sure the UUID type and variant created by UUID
421                 generate is correct.
422
423         * uuid_time.c (uuid_variant, uuid_type): Added new functions to 
424                 return the UUID variant and type information.  The
425                 debugging program now prints the UUID variant and type, 
426                 and warns if the unparsed time information is likely to be
427                 incorrect.
428
429         * uuid_parse.3.in, libuuid.3.in: Miscellaneous text cleanups.
430
431 1999-05-03    <tytso@rsts-11.mit.edu>
432
433         * compare.c (uuid_compare): Change sense of uuid_compare so that
434                 its return values match that of memcpy and the
435                 uuid_compare() found in Paul Leach's internet-draft.
436
437 1999-03-11  Andreas Dilger <adilger@enel.ucalgary.ca>
438
439         * Created man pages for libuuid functions.
440
441 1999-01-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
442
443         * Release of E2fsprogs 1.14
444
445 1998-12-15  Theodore Ts'o  <tytso@rsts-11.mit.edu>
446
447         * Release of E2fsprogs 1.13
448
449 1998-12-04  Theodore Ts'o  <tytso@rsts-11.mit.edu>
450
451         * Makefile.in: Update version numbers of the UUID shared library,
452                 since we've added a new function (uuid_time()).
453
454         * uuid_time.c: New file which returns the time field of a UUID.
455                 (Good for debugging purposes)
456
457 1998-07-09  Theodore Ts'o  <tytso@rsts-11.mit.edu>
458
459         * Release of E2fsprogs 1.12
460
461 1998-06-25  Theodore Ts'o  <tytso@rsts-11.mit.edu>
462
463         * tst_uuid.c (main): Fixed bogus declaration of the main's argv
464                 parameter.
465
466 1998-04-26  Theodore Ts'o  <tytso@rsts-11.mit.edu>
467
468         * uuidP.h: Use asm/types.h instead of linux/types.h to avoid a
469                 problem caused by glibc hack to prevent linux/types.h from
470                 being included.
471
472 1998-03-30  Theodore Ts'o  <tytso@rsts-11.mit.edu>
473
474         * Makefile.in: Change to use new installation directory variables
475                 convention.  Fix uninstall rules to take $(DESTDIR) into
476                 account.
477
478 Sun Mar  8 22:17:59 1998  Theodore Ts'o  <tytso@rsts-11.mit.edu>
479
480         * gen_uuid.c (get_node_id): Use char * instead of caddr_t, which
481                 doesn't always exist for glibc.
482
483 Tue Oct 14 21:48:16 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
484
485         * gen_uuid.c: Use clock_reg instead of clock, since clock
486                 conflicts with a header file declaration.
487
488 Tue Jun 17 01:33:20 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
489
490         * Release of E2fsprogs 1.11
491
492 Thu Apr 24 12:16:42 1997  Theodre Ts'o  <tytso@localhost.mit.edu>
493
494         * Release of E2fsprogs version 1.10
495
496 Thu Apr 17 12:23:38 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
497
498         * Release of E2fsprogs version 1.09
499
500 Fri Apr 11 18:56:26 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
501
502         * Release of E2fsprogs version 1.08
503
504 Wed Mar 12 13:32:05 1997  Theodore Y. Ts'o  <tytso@mit.edu>
505
506         * Release of E2fsprogs version 1.07
507
508 Sun Mar  2 16:45:36 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
509
510         * Makefile.in (ELF_VERSION): Change version to be 1.1
511
512 Thu Feb  6 23:08:07 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
513
514         * gen_uuid.c (uuid_generate): Set Multicast bit when picking a
515                 random node_id, to prevent conflicts with IEEE 802
516                 addresses obtained from network cards.
517
518 Wed Jan  1 23:51:09 1997  Theodore Ts'o  <tytso@rsts-11.mit.edu>
519
520         * unpack.c, pack.c: Include string.h, since we use memcpy().
521
522 Tue Dec  3 13:05:11 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
523
524         * parse.c: Add #include of ctype.h and stdlib.h, to pull in the
525                 required prototypes.
526
527 Fri Oct 11 17:15:10 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
528
529         * Makefile.in (DLL_ADDRESS): Updated DLL address for libuuid.
530
531 Tue Oct  8 02:02:03 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
532
533         * Release of E2fsprogs version 1.06
534
535 Thu Sep 12 15:23:07 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
536
537         * Release of E2fsprogs version 1.05
538
539 Tue Aug 27 16:50:43 1996  Miles Bader  <miles@gnu.ai.mit.edu>
540
541         * uuid/gen_uuid.c [HAVE_NET_IF_H] <net/if.h>: Include guarded.
542         [HAVE_NETINET_IN_H] <netinet/in.h>: Include guarded.
543         (get_node_id): Surround bulk of function with #ifdef HAVE_NET_IF_H.
544
545 Tue Aug 27 16:50:16 1996  Theodore Ts'o  <tytso@rsts-11.mit.edu>
546
547         * gen_uuid.c (get_node_id): Add a specific ifdef for the HURD,
548                 since it is broken w.r.t getting hardware addresses.