uuid
6 years agoremove unused variable from makefile master
Nathan Wagner [Sun, 24 Jan 2016 11:41:51 +0000 (11:41 +0000)]
remove unused variable from makefile

6 years agofix sprintf format
Nathan Wagner [Sun, 24 Jan 2016 11:41:21 +0000 (11:41 +0000)]
fix sprintf format

7 years agodie if no namespace provided for v3 or v5 uuid
Nathan Wagner [Wed, 24 Sep 2014 01:07:18 +0000 (01:07 +0000)]
die if no namespace provided for v3 or v5 uuid

use warn and die implementations in uuidgen

7 years agoadded warn and die implementations
Nathan Wagner [Wed, 24 Sep 2014 01:06:19 +0000 (01:06 +0000)]
added warn and die implementations

7 years agoadded command line uuidgen program
Nathan Wagner [Tue, 23 Sep 2014 10:12:53 +0000 (10:12 +0000)]
added command line uuidgen program

7 years agoimprove test case names for t/uuidgen.t
Nathan Wagner [Wed, 24 Sep 2014 00:32:54 +0000 (00:32 +0000)]
improve test case names for t/uuidgen.t

7 years agoAdded defines for uuid sizes.
Nathan Wagner [Tue, 23 Sep 2014 10:11:05 +0000 (10:11 +0000)]
Added defines for uuid sizes.

Cleaned up the internals of the uuid library, refactored code
and fixed a bug in the state initialization for version 1 uuids.

7 years agoadd leading prototype for pd_uuid_rng_get_bytes
Nathan Wagner [Tue, 23 Sep 2014 04:41:54 +0000 (04:41 +0000)]
add leading prototype for pd_uuid_rng_get_bytes

gcc was giving a warning for a missing prototype.  A prototype isn't
actually needed since there's one in pduuid.h and the function is
only used after it is defined in rng.c, but providing one will suppress
a warning without having to change the compile flags.

7 years agoAdd support for gin indexes on uuid arrays.
Nathan Wagner [Tue, 23 Sep 2014 04:07:51 +0000 (04:07 +0000)]
Add support for gin indexes on uuid arrays.

Added a default operator class for gin indexes on uuid[].
Since we want to support arrays containing nulls, the operator
class uses existing array support methods.

7 years agomark functions as immutable
Nathan Wagner [Tue, 23 Sep 2014 03:44:28 +0000 (03:44 +0000)]
mark functions as immutable

Indexing on the result of a function doesn't work for volatile
functions.  This was preventing effective use of GIN indexes
on uuid types in some circumstances.

9 years agoSet hash tests to auto calculate number of tests
Nathan Wagner [Tue, 2 Oct 2012 17:19:08 +0000 (17:19 +0000)]
Set hash tests to auto calculate number of tests

9 years agoExpanded the install directions slightly.
Nathan Wagner [Sun, 30 Sep 2012 20:16:52 +0000 (20:16 +0000)]
Expanded the install directions slightly.

9 years agoRemoved unused node variable.
Nathan Wagner [Sun, 30 Sep 2012 19:48:29 +0000 (19:48 +0000)]
Removed unused node variable.

The node is now calculated by read_state and in the state
structure.  The node could be reset by re-initializing
the state or calling the read state function.  Given that
the mac address is just used to provide additional uniqueness
its actual value doesn't really matter, so assuming it
wasn't just a bunch of zeroes or similar, there shouldn't
be any reason to re-determine it.

9 years agoAdded tap tests for postgres extension.
Nathan Wagner [Tue, 18 Sep 2012 16:50:33 +0000 (16:50 +0000)]
Added tap tests for postgres extension.

9 years agoAdded test cases for name based uuids.
Nathan Wagner [Fri, 14 Sep 2012 08:38:54 +0000 (08:38 +0000)]
Added test cases for name based uuids.

9 years agoAdded test program for sha1.
Nathan Wagner [Fri, 14 Sep 2012 08:05:58 +0000 (08:05 +0000)]
Added test program for sha1.

9 years agoAdded test program for md5 hashes.
Nathan Wagner [Fri, 14 Sep 2012 07:26:33 +0000 (07:26 +0000)]
Added test program for md5 hashes.

9 years agoClean up of random number generator.
Nathan Wagner [Fri, 14 Sep 2012 06:52:55 +0000 (06:52 +0000)]
Clean up of random number generator.

9 years agoFixed file descriptor leak getting linux mac addr.
Nathan Wagner [Fri, 14 Sep 2012 06:47:32 +0000 (06:47 +0000)]
Fixed file descriptor leak getting linux mac addr.

9 years agoFixed segfault in v1mc() and added test cases.
Nathan Wagner [Thu, 13 Sep 2012 23:41:11 +0000 (23:41 +0000)]
Fixed segfault in v1mc() and added test cases.

9 years agoFixed cut and paste typo.
Nathan Wagner [Thu, 13 Sep 2012 08:53:44 +0000 (08:53 +0000)]
Fixed cut and paste typo.

9 years agoAdd mention of extension based install
Nathan Wagner [Wed, 12 Sep 2012 19:06:51 +0000 (19:06 +0000)]
Add mention of extension based install

10 years agoFixed argument order for compile
Nathan Wagner [Tue, 12 Jun 2012 11:01:36 +0000 (11:01 +0000)]
Fixed argument order for compile

10 years agoAdded test framework
Nathan Wagner [Tue, 12 Jun 2012 10:56:45 +0000 (05:56 -0500)]
Added test framework

10 years agoRemoved unused variable
Nathan Wagner [Tue, 12 Jun 2012 10:24:10 +0000 (10:24 +0000)]
Removed unused variable

10 years agoAdded namespace uuids and test program
Nathan Wagner [Thu, 5 Apr 2012 13:54:35 +0000 (06:54 -0700)]
Added namespace uuids and test program

10 years agoFixed incorrect object file name
Nathan Wagner [Sat, 24 Mar 2012 09:00:19 +0000 (02:00 -0700)]
Fixed incorrect object file name

10 years agoInitial commit
Nathan Wagner [Wed, 21 Mar 2012 10:17:39 +0000 (03:17 -0700)]
Initial commit