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