OSSP CVS Repository

ossp - History for /ossp-pkg/uuid/uuid.c
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Directory]  [Show Milestones

DateVersion Description
2008-Jul-05 14:58    1.68    Check-in [6010]: remove OSSP uuid from CVS -- it is now versioned controlled in a Monotone repository By rse. (diff)
2008-Mar-06 13:14    1.67    Check-in [5993]: 1. Remove unused "struct timezone" from time_gettimeofday() in order to simplify portability. 2. Add support for POSIX clock_gettime(3) in case the Unix/POSIX gettimeofday(3) is not available. By rse. (diff)
2008-Feb-21 09:58    1.66    Check-in [5988]: Port to Win32 API By rse. (diff)
2008-Jan-10 15:18    1.65    Check-in [5985]: adjust copyright messages for 2008 and bump version in advance By rse. (diff)
2007-Jan-01 19:14    1.64    Check-in [5676]: Adjust copyright messages for new year 2007. By rse. (diff)
2006-Oct-06 10:32    1.63    Check-in [5659]: Change type of "data_ptr" argument in uuid_export() API signature from "void **" to "void " as there is unfortunately no "generic pointer to pointer type" in ISO C (see also ¤http://c-faq.com/ptrs/genericpp.html) and "void **" is just a "pointer to a 'void *'".

The "void **" especially had the nasty side-effect that it breaks strict pointer aliasing rules of ISO C and hence would require fiddling with temporary variables on all uuid_export() calls if one would be 100% correct and avoid aliasing related compiler warnings. Instead, as uuid_export() internally has to cast the "data_ptr" to the particular expected type anyway, it is better to have "data_ptr" just be a really generic "void *" in the API signature.

Keep in mind that although this is an API change, it doesn't cause any incompatibilities as the function still expects the same "pointer to a pointer of a particular type". This expected pointer is just now passed the more correct although less intuitive way.

Submitted by: Hrvoje Niksic <hniksic@xemacs.org> By rse. (diff)

2006-Aug-02 15:11    1.62    Check-in [5630]: Optional DMALLOC based memory debugging support. By rse. (diff)
2006-Jul-28 21:04    1.61    Check-in [5530]: Even more pendantic code cleanups according to complains by SPLINT By rse.
2006-Jul-28 20:22    1.60    Check-in [5529]: Fixed potential memory leak in uuid_create() as spotted by SPLINT. By rse. (diff)
2006-May-11 11:37    1.59    Check-in [5396]: Add full support for Single Integer Value (SIV) UUID representation for both importing and exporting in C/C++/Perl/PHP APIs. By rse. (diff)
2006-Feb-07 09:19    1.58    Check-in [5371]: Apply workaround to uuid.h to avoid conflicts with vendor UUID implementations where uuid_t (Darwin / MacOS X) or uuid_create/uuid_compare (POSIX) might exist.

Supported by: SpaceNet (MacOS X platform) By rse. (diff)

2006-Jan-13 07:44    1.57    Check-in [5356]: Adjust copyright messages for new year 2006. By rse. (diff)
2005-Sep-24 12:28    1.56    Check-in [5179]: Fix two incorrect casts, detected by compiling the C code under C++ constraints. By rse. (diff)
2005-Sep-01 22:50    1.55    Check-in [5149]: fix uuid_clone() function By rse. (diff)
2005-Aug-31 21:21    1.54    Check-in [5143]: constifiy uuid_clone() By rse. (diff)
2005-Aug-31 16:28    1.53    Check-in [5139]: Cleanup the internals of the uuid_create() function and add a new corresponding uuid_clone() API function. By rse. (diff)
2005-Aug-30 22:34    1.52    Check-in [5125]: Reference the new officially published RFC 4122 By rse. (diff)
2005-Mar-29 21:01    1.51    Check-in [5039]: Cleanup the source code even more by following a large set of FlexeLint's suggestions. By rse.
2005-Jan-23 12:28    1.50    Check-in [4968]: Added support for new version 5 UUIDs (name-based, SHA-1) according to latest draft-mealling-uuid-urn-05.txt. By rse. (diff)
2004-Dec-31 20:20    1.49    Check-in [4943]: Adjust copyright messages for new year 2005. By rse. (diff)
2004-Jun-09 21:17    1.48    Check-in [4596]: Remove some warnings occurring under GCC 3.5 By rse. (diff)
2004-Feb-17 10:23    1.47    Check-in [4438]: correct spelling: privileges, convenient; By thl. (diff)
2004-Feb-16 10:13    1.46    Check-in [4426]: - Resolve namespace conflicts with GCC 3.4 internal pow10() and round() functions within uuid_str.c. - Fix buffer handling in "uuid_export(..., UUID_FMT_TXT, vp, ...)" in case "vp" is not NULL.

Partly submitted by: Fuyuki <fuyuki@nigredo.org> By rse. (diff)

2004-Feb-13 22:01    1.45    Check-in [4420]: remove --with-rfc2518 option and functionality because even the IETF/IESG has finally approved our report about the broken random multicast MAC address generation in the standard (and will fix it in new versions of the draft-mealling-uuid-urn). So, finally get rid of this broken-by-design backward compatibility By rse. (diff)
2004-Jan-19 15:56    1.44    Check-in [4386]: nanosecond calculations are correct. Nevertheless start counting from 0 because it looks better ;-) By rse. (diff)
2004-Jan-19 15:11    1.43    Check-in [4384]: flush more pending cleanups By rse. (diff)
2004-Jan-19 14:55    1.42    Check-in [4383]: remove doubled 'is' and reformat with par(1) By rse. (diff)
2004-Jan-19 13:15    1.41    Check-in [4378]: o Include <string.h> in uuid.h because of size_t usage.

o INCOMPATIBILITY: Refactor the API and rename uuid_generate() to uuid_make() and use a "uuid_t" pointer for the namespace on UUID_VERSION3 generation. To allow access to the internal pre-defined namespace UUIDs, provide a new uuid_load() function. Because uuid_load() now also allows the loading of the "nil" UUID, remove uuid_nil() from the API. After this second refactoring the API is now the one we originally wished for the forthcoming version 1.0 of OSSP uuid. By rse.

2004-Jan-19 13:08    1.40    Check-in [5556]: edited comments for grammar and usage corrections, and formatted text as well By ms. (diff)
2004-Jan-19 10:26    1.39    Check-in [4377]: use meta-API also internally to be consistent By rse. (diff)
2004-Jan-19 10:17    1.38    Check-in [4376]: fix typos By rse. (diff)
2004-Jan-18 21:19    1.37    Check-in [4373]: Add version support to API via UUID_VERSION (compile-time) and uuid_version() (link-time). By rse. (diff)
2004-Jan-18 20:59    1.36    Check-in [4371]: - Refactor the API by merging uuid_{unpack,pack,parse,format,dump}() functions into unified uuid_{import,export}() functions. This allows us to easily add support for other formats (e.g. XML) in the future without having the change the API in principle. - Document what DCE 1.1 UUID versions exist and what they are intended for. By rse. (diff)
2004-Jan-18 20:22    1.35    Check-in [4368]: - Cleanup the C code to also pass warning-free a C++ compiler. - Support C++ by enclosing the C API declarations in 'extern "C" {...}' within uuid.h.

Submitted by: Guerry Semones <guerry@tsunamiresearch.com> By rse. (diff)

2004-Jan-18 12:31    1.34    Check-in [4364]: Improvide decoding in uuid_dump() by at least hex-dumping the binary representation in case of v3, v4 and Nil UUIDs. Also, annotate with better hints. By rse. (diff)
2004-Jan-17 15:21    1.33    Check-in [4363]: Recognize special "Nil UUID" on decoding in uuid_dump(). By rse. (diff)
2004-Jan-16 13:20    1.32    Check-in [4353]: be correct and pass signed long By rse. (diff)
2004-Jan-15 20:19    1.31    Check-in [4346]: after solving the conflicts with Michael's fixes, this is my cleaned up version. Feel free to fix the grammar again if I introduced new problems. But I wanted to refactor the text a little bit now. By rse.
2004-Jan-15 18:39    1.30    Check-in [5554]: Correct grammar and improve clarity. By ms. (diff)
2004-Jan-15 18:24    1.29    Check-in [4345]: Fix grammar and improve usage. By ms. (diff)
2004-Jan-15 17:22    1.28    Check-in [4344]: Provide both incorrect RFC2518-based and correct IEEE 802 multicast address generation. The default now is the correct IEEE 802 multicast address generation but compile-time option --with-rfc2518 selects the broken variant. By rse. (diff)
2004-Jan-15 16:29    1.27    Check-in [4338]: fix clock calculation By rse. (diff)
2004-Jan-15 14:45    1.26    Check-in [4337]: Use BM_XXX() and str_xxx() APIs throughout internal implementation. By rse. (diff)
2004-Jan-15 13:38    1.25    Check-in [4330]: Moved uuid_[u]int{8,16,32}_t auto-configuration into own internal header uuid_ac.h. By rse. (diff)
2004-Jan-15 13:32    1.24    Check-in [4329]: Fixed portability by replacing accidentally introduced uint{8,16,32}_t with the portable uuid_uint{8,16,32}_t. Prefix all variable symbols in uuid.h with underscores to avoid namespace conflicts.

Submitted by: Guerry Semones <guerry@tsunamiresearch.com> By rse. (diff)

2004-Jan-13 20:43    1.23    Check-in [4318]: Implement uuid_dump() and corresponding uuid CLI "-d" option for dumping a given UUID into clear text. For convinience reasons add uuid_bm.h (bit mask API) and uuid_str (string formatting API) sub-modules. By rse. (diff)
2004-Jan-11 13:14    1.22    Check-in [3748]: more documentation By rse. (diff)
2004-Jan-10 23:43    1.21    Check-in [3739]: fix building By rse. (diff)
2004-Jan-10 23:18    1.20    Check-in [3734]: implement last component of v1 UUID generation: clock sequence By rse. (diff)
2004-Jan-10 22:54    1.19    Check-in [3733]: better wording By rse. (diff)
2004-Jan-10 22:47    1.18    Check-in [3732]: add system clock resolution compensation according to the UUID standard(s) By rse. (diff)
2004-Jan-10 20:17    1.17    Check-in [3727]: apply fixed after run-time testing under Linux and Solaris By rse. (diff)
2004-Jan-10 18:01    1.16    Check-in [3725]: add MAC address framework part of UUID v1 generation and implement the MAC address resolving for BSD style platforms with getifaddrs(3) By rse. (diff)
2004-Jan-10 16:19    1.15    Check-in [3724]: add time part of UUID v1 generation By rse. (diff)
2004-Jan-10 13:16    1.14    Check-in [3723]: move out PRNG into own object and attach a PRNG and MD5 object for reuse into the UUID object By rse. (diff)
2004-Jan-10 12:54    1.13    Check-in [3722]: move internal binary representation into sub-object of API abstract data type in order to have room for adding internal PRNG and MD5 states to the abstract data type By rse. (diff)
2004-Jan-10 12:14    1.12    Check-in [3721]: cleanups and more code documentation By rse. (diff)
2004-Jan-10 12:07    1.11    Check-in [3720]: be more flexible and allow custom namespace UUIDs By rse. (diff)
2004-Jan-10 11:49    1.10    Check-in [3719]: add UUID version 3 (name based) generation support (verified to be correct against Data::UUID, the only name supporting UUID implementation available for comparison) By rse. (diff)
2004-Jan-09 22:59    1.9    Check-in [3718]: add generator framework and implement version 4 UUIDs (random number only) By rse. (diff)
2004-Jan-09 22:01    1.8    Check-in [3717]: fix framework and print ASCII output by default By rse. (diff)
2004-Jan-09 17:11    1.7    Check-in [3716]: use format instead of unparse and fix pack/unpack usage By rse. (diff)
2004-Jan-09 12:32    1.6    Check-in [3713]: add copy of OSSP ui64 for 64-bit arithmetics By rse. (diff)
2004-Jan-09 12:28    1.5    Check-in [3712]: flush work of this forenoon By rse. (diff)
2004-Jan-09 10:06    1.4    Check-in [3705]: use 'nil' instead of 'null' because the standards name the special zeroed UUID 'nil' By rse. (diff)
2004-Jan-08 22:31    1.3    Check-in [3703]: introduce UUID versioning into API By rse. (diff)
2004-Jan-06 21:43    1.2    Check-in [3702]: implement uuid_compare function By rse. (diff)
2004-Jan-06 21:14    1.1    Check-in [3698]: import the first cut for our forthcoming OSSP uuid library By rse.

CVSTrac 2.0.1