blob: fca6088cc60584c773ebb32fee21c3b4127db96f [file] [log] [blame]
Theodore Ts'oedab2942003-04-03 08:25:15 -050012003-04-03 Theodore Ts'o <tytso@mit.edu>
2
3 * gen_uuid.c (get_random_bytes): Always xor in a stream of bytes
4 from the system PRNG (i.e., random/srandom, seeded from
5 the time, pid, and uid) in case /dev/random isn't doing
6 the right thing on a particular system. It doesn't hurt,
7 and it can help, in the case of a buggy /dev/random.
8
Theodore Ts'oe71d8732003-03-14 02:13:48 -050092003-03-14 Theodore Ts'o <tytso@mit.edu>
10
11 * Makefile.in: Add support for Apple Darwin
12
Theodore Ts'oed78c022003-03-06 11:09:18 -0500132003-03-06 Theodore Tso <tytso@mit.edu>
14
15 * uuid_types.h.in: Don't redefine types if other e2fsprogs
16 *_types.h files have been included already.
17
18 * Makefile.in (tst_uuid): Link against the static library instead
19 of all of the object files, so that we automatically pick
20 up -lsocket under Solaris.
21
Theodore Ts'o94ba8c72003-03-02 02:07:14 -0500222003-03-02 Theodore Ts'o <tytso@mit.edu>
23
24 * Makefile.in, uuidP.h, uuid_types.h.in: Use uuid_types.h instead
25 of ext2_types.h
26
Theodore Ts'o38513012002-11-09 15:00:56 -0500272002-11-09 Theodore Ts'o <tytso@mit.edu>
28
29 * Release of E2fsprogs 1.32
30
Theodore Ts'oae65b292002-11-08 20:08:48 -0500312002-11-08 Theodore Ts'o <tytso@mit.edu>
32
33 * Release of E2fsprogs 1.31
34
Theodore Ts'o61bee882002-10-31 15:17:16 -0500352002-10-31 Theodore Ts'o <tytso@mit.edu>
36
Theodore Ts'o5d823a42002-11-01 02:13:53 -050037 * Release of E2fsprogs 1.30
38
392002-10-31 Theodore Ts'o <tytso@mit.edu>
40
Theodore Ts'o61bee882002-10-31 15:17:16 -050041 * gen_uuid.c (get_random_bytes): Don't spin forever if read()
42 returns EINTR or EAGAIN, so that when /dev/random is
43 opened O_NONBLOCK, we don't end up spinning forever.
44
Theodore Ts'oc6633052002-09-24 01:26:50 -0400452001-09-24 Theodore Tso <tytso@mit.edu>
46
47 * Release of E2fsprogs 1.29
48
Theodore Ts'o87ee8dc2002-08-31 03:02:57 -0400492001-08-31 Theodore Tso <tytso@thunk.org>
50
51 * Release of E2fsprogs 1.28
52
Theodore Ts'o8d7f4582002-07-15 23:49:57 -0400532002-07-15 Theodore Ts'o <tytso@mit.edu>
54
55 * parse.c (uuid_parse): Fix uuid parsing bug which didn't complain
56 for certain types of invalid input text. (Addresses
57 Debian bug #152891).
58
59 * tst_uuid.c: Add test cases for invalid text strings passed to
60 uuid_parse.
61
Theodore Ts'oa8e77242002-03-08 03:12:14 -0500622002-03-08 Theodore Tso <tytso@mit.edu>
63
64 * Release of E2fsprogs 1.27
65
Theodore Ts'o57173d02002-02-26 14:59:39 -0500662002-02-24 Theodore Tso <tytso@mit.edu>
Theodore Ts'ob9f40922002-02-24 03:08:57 -050067
68 * Makefile.in (install): Install hard links to man pages for
69 uuid_generate_random and uuid_generate_time. Remove
70 any compressed man pages before installing the man pages.
71
Theodore Ts'oa5f3f5c2002-02-03 01:00:22 -0500722002-02-03 Theodore Tso <tytso@thunk.org>
73
74 * Release of E2fsprogs 1.26
75
Theodore Ts'ofbf91112001-09-20 10:47:47 -0400762001-09-20 Theodore Tso <tytso@thunk.org>
77
78 * Release of E2fsprogs 1.25
79
Theodore Ts'o57173d02002-02-26 14:59:39 -0500802001-09-10 Theodore Tso <tytso@mit.edu>
Theodore Ts'oce2722f2001-09-10 20:30:09 -040081
82 * compare.c (uuid_compare), copy.c (uuid_copy),
83 isnull.c (uuid_is_null), pack.c (uuid_pack),
84 parse.c (uuid_parse), unpack.c (uuid_unpack),
85 unparse.c (uuid_unparse), uuid.h, uuidP.h,
86 uuid_time.c (uuid_time, uuid_type, uuid_variant):
87 Use const for pointer variables that we don't modify. Add
88 the appropriate ifdef's in uuid.h to make it be C++ friendly.
89
Theodore Ts'ofb707752001-09-04 15:00:37 -0400902001-09-02 Theodore Tso <tytso@thunk.org>
91
92 * Release of E2fsprogs 1.24a
93
Theodore Ts'o109624a2001-08-31 00:59:55 -0400942001-08-30 Theodore Tso <tytso@thunk.org>
95
96 * Release of E2fsprogs 1.24
97
Theodore Ts'o943ed872001-08-27 12:29:22 -0400982001-08-15 Theodore Tso <tytso@valinux.com>
99
100 * Release of E2fsprogs 1.23
101
Theodore Ts'o67960132001-06-23 00:16:37 -04001022001-06-23 Theodore Tso <tytso@valinux.com>
103
104 * Release of E2fsprogs 1.22
105
Theodore Ts'o163337b2001-06-22 20:51:42 -04001062001-06-21 Theodore Tso <tytso@valinux.com>
107
108 * uuid.h: Add protection against multiple inclusion
109
Theodore Ts'of4f75ba2001-06-16 01:14:28 +00001102001-06-15 Theodore Tso <tytso@valinux.com>
111
112 * Release of E2fsprogs 1.21
113
Theodore Ts'o0923fc62001-06-01 15:03:25 +00001142001-06-01 Theodore Tso <tytso@valinux.com>
115
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000116 * Makefile.in, uuidP.h: Move include/asm/types.h.in to
Theodore Ts'o36a23e12001-06-02 00:54:10 +0000117 lib/ext2fs/ext2_types.h.in.
Theodore Ts'o797f5ef2001-06-01 23:49:46 +0000118
1192001-06-01 Theodore Tso <tytso@valinux.com>
120
Theodore Ts'o0923fc62001-06-01 15:03:25 +0000121 * unpack.c, unparse.c, uuid_time.c: Update files to be under the
122 LGPL (that somehow were missed when libuuid was converted
123 to use the LGPL). Whoops.
124
Theodore Ts'obb185862001-05-25 17:35:00 +00001252001-05-25 Theodore Tso <tytso@valinux.com>
126
127 * Release of E2fsprogs 1.20
128
Theodore Ts'o54c637d2001-05-14 11:45:38 +00001292001-05-14 Theodore Tso <tytso@valinux.com>
130
131 * tst_uuid.c, uuid_time.c: Remove unneeded #include of ext2_fs.h
132
Theodore Ts'o14fc5a32001-05-12 15:32:46 +00001332001-05-12 Theodore Tso <tytso@valinux.com>
134
135 * libuuid.3.in, uuid_clear.3.in, uuid_compare.3.in, uuid_copy.3.in,
136 uuid_generate.3.in, uuid_is_null.3.in, uuid_parse.3.in,
137 uuid_time.3.in, uuid_unparse.3.in: Update URL location of
138 e2fsprogs package.
139
Theodore Ts'ob1416db2001-05-01 15:32:44 +00001402001-05-01 Theodore Tso <tytso@valinux.com>
141
142 * parse.c, compare.c: Include string.h to fix gcc -Wall
143 complaints.
144
145 * gen_uuid.c: Define _SVID_SOURCE to avoid gcc -Wall errors
146 because some required structures wouldn't be otherwise
147 defined. Fix a minor gcc -Wall nit in the declaration of
148 get_random_fd().
149
Theodore Ts'o96394d12001-01-12 18:30:54 +00001502001-01-12 Theodore Ts'o <tytso@valinux.com>
151
152 * uuid_time.c (main), tst_uuid.c (main): Fix gcc -Wall complaints.
153
Theodore Ts'o4055ef72001-01-14 16:11:14 +0000154 * uuid.h, copy.c (uuid_copy): Change arguments to make it
155 clear which argument is the source and which is the
156 destination.
Theodore Ts'o96394d12001-01-12 18:30:54 +0000157
158 * gen_uuid.c (get_random_fd): Use gettimeofday to seed the PRNG,
159 so we can take advantage of tv_usec to do (slightly)
160 better at seeding it.
161
Theodore Ts'of9e67062000-07-13 23:25:54 +00001622000-07-13 <tytso@valinux.com>
163
164 * Release of E2fsprogs 1.19
165
Theodore Ts'oec478572000-07-07 04:31:55 +00001662000-07-07 Theodore Ts'o <tytso@valinux.com>
167
168 * Makefile.in (uuid_time): Fix compilation rule so that
169 uuid_time.o doesn't get bashed in order to build the
170 command-line version of uuid_time.
171
Theodore Ts'ob2420d42000-07-04 18:51:20 +00001722000-07-04 Theodore Ts'o <tytso@valinux.com>
173
174 * Makefile.in: Remove explicit link of -lc in the shared library.
175 (It shouldn't be necessary, and is harmful in some cases).
176
Theodore Ts'o5dd7ff02000-06-12 17:35:13 +00001772000-06-12 Theodore Ts'o <tytso@valinux.com>
178
179 * gen_uuid.c (get_random_bytes): Use O_NONBLOCK when trying to
180 open /dev/random. Break out the /dev/random
181 initialization code into a get_random_fd() function, and
182 use that function in uuid_generate() to determine whether
183 to use uuid_generate_random() or uuid_generate_time().
184
Theodore Ts'of0f4acb2000-05-25 23:22:11 +00001852000-05-25 <tytso@snap.thunk.org>
186
187 * Makefile: Add hack dependency rule so that parallel makes work
188 correctly.
189
Theodore Ts'o3030daa2000-04-07 20:06:04 +00001902000-04-07 Theodore Ts'o <tytso@valinux.com>
191
192 * clear.c, compare.c, copy.c, gen_uuid.c, isnull.c, pack.c,
193 parse.c, uuid.h, uuidP.h: Changed copyright to be the
194 LGPL.
195
Theodore Ts'oe2207ce2000-04-06 21:51:18 +0000196Thu Apr 6 17:38:58 2000 Theodore Y. Ts'o <tytso@signal.thunk.org>
197
198 * Makefile.in (uuid_time): Compile uuid_time in two steps (first
199 create .o, then link it against the libraries) to work
200 around bug in a.out linker.
201
202 * dll/jump.funcs, dll/jump.import, dll/jump.params: Update a.out
203 shared library control files to reflect new added files.
204
Theodore Ts'ofa7cc282000-04-03 16:51:06 +00002052000-04-03 Theodore Ts'o <tytso@valinux.com>
206
207 * gen_uuid.c (get_clock): Fix bug where the last timeval wasn't
208 getting set, causing potentially duplicate UUID's to be
209 generated.
210
Theodore Ts'oe589f672000-04-03 13:45:40 +00002112000-03-12 Theodore Ts'o <tytso@valinux.com>
212
213 * gen_uuid.c (get_random_bytes): Make more paranoid about
214 misbehaving /dev/urandom. If we get a return of zero
215 without an error more than 8 times in a row, we break out
216 and return an error. Also, if /dev/urandom doesn't exist,
217 try /dev/random.
218
Theodore Ts'o77200f42000-01-18 17:53:27 +00002192000-01-18 Theodore Ts'o <tytso@valinux.com>
220
221 * Makefile.in: Since LIBUUID can sometimes include
222 "-lsocket" we need a separate DEPLIBUUID that can be used
223 in Makefile's dependency rules.
224
Theodore Ts'o5c36a2f1999-11-19 18:42:30 +00002251999-11-19 <tytso@valinux.com>
226
227 * Makefile.in (distclean): Remove TAGS and Makefile.in.old from
228 the source directory.
229
Theodore Ts'ocd086361999-11-10 16:00:39 +00002301999-11-10 <tytso@valinux.com>
231
232 * Release of E2fsprogs 1.18
233
Theodore Ts'o36caf251999-10-26 14:29:22 +00002341999-10-26 <tytso@valinux.com>
235
Theodore Ts'o28e11941999-10-26 18:17:20 +0000236 * Release of E2fsprogs 1.17
237
2381999-10-26 <tytso@valinux.com>
239
Theodore Ts'o36caf251999-10-26 14:29:22 +0000240 * uuid_time.c (variant_string): Declare to be static to avoid gcc
241 warnings.
242
243 * uuid.h: Add function prototypes for uuid_generate_random() and
244 uuid_generate_time().
245
Theodore Ts'o6c979d51999-10-26 02:50:36 +00002461999-10-25 <tytso@valinux.com>
247
248 * gen_uuid_nt.c (uuid_generate): W2K strikes again! An
249 incompatible interface change means we need to detect
250 whether the code is running on an NT4 or NT5 system.
251
Theodore Ts'o614fdfd1999-10-23 03:19:51 +00002521999-10-22 <tytso@valinux.com>
253
254 * Release of E2fsprogs 1.16
255
Theodore Ts'ocaf8ce41999-10-21 19:56:34 +00002561999-10-21 <tytso@valinux.com>
257
258 * uuid_generate.8.in: Update man page to use a more standard
259 format (bold option flags and italicized variables), as
260 suggested by Andreas Dilger (adilger@enel.ucalgary.ca)
261
Theodore Ts'oaa4115a1999-10-21 19:33:18 +00002621999-09-24 <tytso@valinux.com>
263
264 * gen_uuid_nt.c: New file which creates a UUID under Windows NT.
265
Theodore Ts'o657cb971999-07-30 23:19:10 +00002661999-07-18 Theodore Ts'o <tytso@rsts-11.mit.edu>
267
268 * Release of E2fsprogs 1.15
269
Theodore Ts'ob19d1a91999-06-18 00:32:03 +00002701999-05-17 <tytso@rsts-11.mit.edu>
271
272 * gen_uuid.c (get_random_bytes): Use a while loop when reading
273 from /dev/urandom so that if we get interrupted while
274 reading the right thing happens.
275 (uuid_generate_random): Add new function which uses the
276 new UUID format which uses 122 random bits to form the
277 128-bit UUID.
278 (uuid_generate): Rename the old uuid_generate to be
279 uuid_generate_time, and create a new uuid_generate
280 function which calls either uuid_generate_random or
281 uuid_genereate_time depending on whether /dev/urandom is
282 present.
283
284 * uuid_generate.3.in: Update to reflect changesin uuid_generate
285 and its two new variants.
286
287 * tst_uuid.c: Updated to test new uuid_generate functions, and to
288 reflect new semantics of uuid_compare. Added tests to
289 make sure the UUID type and variant created by UUID
290 generate is correct.
291
292 * uuid_time.c (uuid_variant, uuid_type): Added new functions to
293 return the UUID variant and type information. The
294 debugging program now prints the UUID variant and type,
295 and warns if the unparsed time information is likely to be
296 incorrect.
297
298 * uuid_parse.3.in, libuuid.3.in: Miscellaneous text cleanups.
299
Theodore Ts'offd3af51999-06-17 22:49:23 +00003001999-05-03 <tytso@rsts-11.mit.edu>
301
302 * compare.c (uuid_compare): Change sense of uuid_compare so that
303 its return values match that of memcpy and the
304 uuid_compare() found in Paul Leach's internet-draft.
305
Theodore Ts'o4eca93b1999-03-16 20:31:56 +00003061999-03-11 Andreas Dilger <adilger@enel.ucalgary.ca>
307
308 * Created man pages for libuuid functions.
309
Theodore Ts'o9e51eca1999-01-09 16:32:31 +00003101999-01-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
311
312 * Release of E2fsprogs 1.14
313
Theodore Ts'o556ad131998-12-19 08:10:58 +00003141998-12-15 Theodore Ts'o <tytso@rsts-11.mit.edu>
315
316 * Release of E2fsprogs 1.13
317
Theodore Ts'o1e0a2211998-12-04 08:13:52 +00003181998-12-04 Theodore Ts'o <tytso@rsts-11.mit.edu>
319
320 * Makefile.in: Update version numbers of the UUID shared library,
321 since we've added a new function (uuid_time()).
322
323 * uuid_time.c: New file which returns the time field of a UUID.
324 (Good for debugging purposes)
325
Theodore Ts'o4a5fa191998-07-09 05:42:45 +00003261998-07-09 Theodore Ts'o <tytso@rsts-11.mit.edu>
327
328 * Release of E2fsprogs 1.12
329
Theodore Ts'o818180c1998-06-27 05:11:14 +00003301998-06-25 Theodore Ts'o <tytso@rsts-11.mit.edu>
331
332 * tst_uuid.c (main): Fixed bogus declaration of the main's argv
333 parameter.
334
Theodore Ts'o91b2c421998-04-27 01:28:13 +00003351998-04-26 Theodore Ts'o <tytso@rsts-11.mit.edu>
336
337 * uuidP.h: Use asm/types.h instead of linux/types.h to avoid a
338 problem caused by glibc hack to prevent linux/types.h from
339 being included.
340
Theodore Ts'oe5fa0e31998-04-01 02:18:45 +00003411998-03-30 Theodore Ts'o <tytso@rsts-11.mit.edu>
342
343 * Makefile.in: Change to use new installation directory variables
344 convention. Fix uninstall rules to take $(DESTDIR) into
345 account.
346
Theodore Ts'odc3710e1998-03-09 03:34:48 +0000347Sun Mar 8 22:17:59 1998 Theodore Ts'o <tytso@rsts-11.mit.edu>
348
349 * gen_uuid.c (get_node_id): Use char * instead of caddr_t, which
350 doesn't always exist for glibc.
351
Theodore Ts'od5464471997-10-15 01:52:44 +0000352Tue Oct 14 21:48:16 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
353
354 * gen_uuid.c: Use clock_reg instead of clock, since clock
355 conflicts with a header file declaration.
356
Theodore Ts'o024996c1997-06-17 05:38:35 +0000357Tue Jun 17 01:33:20 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
358
359 * Release of E2fsprogs 1.11
360
Theodore Ts'oa29f4d31997-04-29 21:26:48 +0000361Thu Apr 24 12:16:42 1997 Theodre Ts'o <tytso@localhost.mit.edu>
362
363 * Release of E2fsprogs version 1.10
364
365Thu Apr 17 12:23:38 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
366
367 * Release of E2fsprogs version 1.09
368
Theodore Ts'o2ecc6fe1997-04-29 17:57:00 +0000369Fri Apr 11 18:56:26 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
370
371 * Release of E2fsprogs version 1.08
372
Theodore Ts'o19c78dc1997-04-29 16:17:09 +0000373Wed Mar 12 13:32:05 1997 Theodore Y. Ts'o <tytso@mit.edu>
374
375 * Release of E2fsprogs version 1.07
376
377Sun Mar 2 16:45:36 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
378
379 * Makefile.in (ELF_VERSION): Change version to be 1.1
380
381Thu Feb 6 23:08:07 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
382
383 * gen_uuid.c (uuid_generate): Set Multicast bit when picking a
384 random node_id, to prevent conflicts with IEEE 802
385 addresses obtained from network cards.
386
387Wed Jan 1 23:51:09 1997 Theodore Ts'o <tytso@rsts-11.mit.edu>
388
389 * unpack.c, pack.c: Include string.h, since we use memcpy().
390
391Tue Dec 3 13:05:11 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
392
393 * parse.c: Add #include of ctype.h and stdlib.h, to pull in the
394 required prototypes.
395
396Fri Oct 11 17:15:10 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
397
398 * Makefile.in (DLL_ADDRESS): Updated DLL address for libuuid.
399
400Tue Oct 8 02:02:03 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
401
402 * Release of E2fsprogs version 1.06
403
Theodore Ts'o5c576471997-04-29 15:29:49 +0000404Thu Sep 12 15:23:07 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
405
406 * Release of E2fsprogs version 1.05
407
Theodore Ts'o1e3472c1997-04-29 14:53:37 +0000408Tue Aug 27 16:50:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
409
410 * uuid/gen_uuid.c [HAVE_NET_IF_H] <net/if.h>: Include guarded.
411 [HAVE_NETINET_IN_H] <netinet/in.h>: Include guarded.
412 (get_node_id): Surround bulk of function with #ifdef HAVE_NET_IF_H.
413
414Tue Aug 27 16:50:16 1996 Theodore Ts'o <tytso@rsts-11.mit.edu>
415
416 * gen_uuid.c (get_node_id): Add a specific ifdef for the HURD,
417 since it is broken w.r.t getting hardware addresses.