Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RFC9562 #54

Merged
merged 34 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
a0db860
bump version
dco-lentz Jul 10, 2024
b0fc196
Add uuids v6, v7, and v8 draft
mitch-kyle Jul 10, 2024
43df42b
Clean up
mitch-kyle Jul 10, 2024
5483227
Fix resolution of v7 counter
mitch-kyle Jul 11, 2024
a9c0fcc
Update documentation from Rfc4122 to Rfc9562
mitch-kyle Jul 12, 2024
28fd247
Fix v6 get-timestamp
mitch-kyle Jul 12, 2024
855ec30
Add get-unix-time for accessing v7 timestamp
mitch-kyle Jul 12, 2024
62b962e
clarify some docstrings
mitch-kyle Jul 13, 2024
4b973e5
Update v6 docstring
mitch-kyle Jul 16, 2024
8e57ecc
Merge pull request #55 from mitch-kyle/53-v7-support
dco-lentz Jul 16, 2024
f8971a7
whitespace
dco-lentz Jul 16, 2024
c472785
new standards documentation
dco-lentz Jul 16, 2024
60c6ef2
Merge remote-tracking branch 'origin/53-v7-support' into 53-v7-support
dco-lentz Jul 16, 2024
1ceb05c
minor doc updates
dco-lentz Jul 25, 2024
d100e74
update project description
dco-lentz Sep 16, 2024
7ec06ee
improved handling of out-of-order system-times
dco-lentz Sep 23, 2024
9f518e7
improved testing
dco-lentz Sep 23, 2024
ab425dc
SNAPSHOT - in progress
dco-lentz Sep 23, 2024
8a08e9e
improved testing
dco-lentz Sep 23, 2024
4755da5
reduce randomized bits
dco-lentz Sep 23, 2024
c9b2f76
reduce test iterations / heap
dco-lentz Sep 23, 2024
025a0d0
cryptographically secure v6 node-id
dco-lentz Sep 23, 2024
2829519
improved documentation
dco-lentz Sep 24, 2024
5cb9414
cleanup
dco-lentz Sep 24, 2024
4b13029
separate v4, v8 testing
dco-lentz Sep 24, 2024
0c847b1
v7 timestamp accessibility
dco-lentz Sep 24, 2024
37c65fb
updated API docs
dco-lentz Sep 24, 2024
a816db4
documentation updates
dco-lentz Sep 25, 2024
2882352
clojure 1.12.0, description updates
dco-lentz Sep 25, 2024
1ef403d
regenerate API documentation
dco-lentz Sep 25, 2024
c4850ba
update clojars badge
dco-lentz Sep 25, 2024
b1504c9
remove travis badge
dco-lentz Sep 25, 2024
0b259f5
version 0.2.0
dco-lentz Sep 25, 2024
8ea3611
gah, fix clojars badge again…
dco-lentz Sep 25, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
383 changes: 287 additions & 96 deletions README.md

Large diffs are not rendered by default.

9 changes: 5 additions & 4 deletions doc/api/clj-uuid.bitmop.html

Large diffs are not rendered by default.

11 changes: 8 additions & 3 deletions doc/api/clj-uuid.clock.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!DOCTYPE html>
<html><head><meta charset="UTF-8"><link href="css/default.css" rel="stylesheet" type="text/css"><script src="js/jquery.min.js" type="text/javascript"></script><script src="js/page_effects.js" type="text/javascript"></script><title>clj-uuid.clock documentation</title></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html">clj-uuid 0.1.6 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><a href="index.html"><span class="inner">Namespaces</span></a></h3><ul><li class="depth-1"><a href="clj-uuid.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>clj-uuid</span></div></a></li><li class="depth-2 branch"><a href="clj-uuid.bitmop.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>bitmop</span></div></a></li><li class="depth-2 branch current"><a href="clj-uuid.clock.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>clock</span></div></a></li><li class="depth-2 branch"><a href="clj-uuid.constants.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>constants</span></div></a></li><li class="depth-2 branch"><a href="clj-uuid.node.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>node</span></div></a></li><li class="depth-2"><a href="clj-uuid.util.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>util</span></div></a></li></ul></div><div class="sidebar" id="vars"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="clj-uuid.clock.html#var-.2Bsubcounter-resolution.2B"><div class="inner"><span>+subcounter-resolution+</span></div></a></li><li class="depth-1"><a href="clj-uuid.clock.html#var--.3EState"><div class="inner"><span>-&gt;State</span></div></a></li><li class="depth-1"><a href="clj-uuid.clock.html#var-monotonic-time"><div class="inner"><span>monotonic-time</span></div></a></li><li class="depth-1"><a href="clj-uuid.clock.html#var-posix-time"><div class="inner"><span>posix-time</span></div></a></li><li class="depth-1"><a href="clj-uuid.clock.html#var-universal-time"><div class="inner"><span>universal-time</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h2 class="anchor" id="top">clj-uuid.clock</h2><div class="doc"><pre class="plaintext"></pre></div><div class="public anchor" id="var-.2Bsubcounter-resolution.2B"><h3>+subcounter-resolution+</h3><div class="usage"></div><div class="doc"><pre class="plaintext"></pre></div><div class="src-link"><a href="https://github.com/danlentz/clj-uuid/blob/master/src/clj_uuid/clock.clj#L59">view source</a></div></div><div class="public anchor" id="var--.3EState"><h3>-&gt;State</h3><div class="usage"><code>(-&gt;State seqid millis)</code></div><div class="doc"><pre class="plaintext">Positional factory function for class clj_uuid.clock.State.
</pre></div><div class="src-link"><a href="https://github.com/danlentz/clj-uuid/blob/master/src/clj_uuid/clock.clj#L61">view source</a></div></div><div class="public anchor" id="var-monotonic-time"><h3>monotonic-time</h3><div class="usage"><code>(monotonic-time)</code></div><div class="doc"><pre class="plaintext"></pre></div><div class="src-link"><a href="https://github.com/danlentz/clj-uuid/blob/master/src/clj_uuid/clock.clj#L65">view source</a></div></div><div class="public anchor" id="var-posix-time"><h3>posix-time</h3><div class="usage"><code>(posix-time)</code><code>(posix-time gregorian)</code></div><div class="doc"><pre class="plaintext"></pre></div><div class="src-link"><a href="https://github.com/danlentz/clj-uuid/blob/master/src/clj_uuid/clock.clj#L80">view source</a></div></div><div class="public anchor" id="var-universal-time"><h3>universal-time</h3><div class="usage"><code>(universal-time)</code><code>(universal-time gregorian)</code></div><div class="doc"><pre class="plaintext"></pre></div><div class="src-link"><a href="https://github.com/danlentz/clj-uuid/blob/master/src/clj_uuid/clock.clj#L86">view source</a></div></div></div></body></html>
<!DOCTYPE html PUBLIC ""
"">
<html><head><meta charset="UTF-8" /><title>clj-uuid.clock documentation</title><link rel="stylesheet" type="text/css" href="css/default.css" /><link rel="stylesheet" type="text/css" href="css/highlight.css" /><script type="text/javascript" src="js/highlight.min.js"></script><script type="text/javascript" src="js/jquery.min.js"></script><script type="text/javascript" src="js/page_effects.js"></script><script>hljs.initHighlightingOnLoad();</script></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">clj-uuid</span> <span class="project-version">0.2.0-SNAPSHOT</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><a href="clj-uuid.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>clj-uuid</span></div></a></li><li class="depth-2 branch"><a href="clj-uuid.bitmop.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>bitmop</span></div></a></li><li class="depth-2 branch current"><a href="clj-uuid.clock.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>clock</span></div></a></li><li class="depth-2 branch"><a href="clj-uuid.constants.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>constants</span></div></a></li><li class="depth-2 branch"><a href="clj-uuid.node.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>node</span></div></a></li><li class="depth-2 branch"><a href="clj-uuid.random.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>random</span></div></a></li><li class="depth-2"><a href="clj-uuid.util.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>util</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="clj-uuid.clock.html#var-.2Brandom-counter-resolution.2B"><div class="inner"><span>+random-counter-resolution+</span></div></a></li><li class="depth-1"><a href="clj-uuid.clock.html#var-.2Bsubcounter-resolution.2B"><div class="inner"><span>+subcounter-resolution+</span></div></a></li><li class="depth-1"><a href="clj-uuid.clock.html#var-monotonic-time"><div class="inner"><span>monotonic-time</span></div></a></li><li class="depth-1"><a href="clj-uuid.clock.html#var-monotonic-unix-time-and-random-counter"><div class="inner"><span>monotonic-unix-time-and-random-counter</span></div></a></li><li class="depth-1"><a href="clj-uuid.clock.html#var-posix-time"><div class="inner"><span>posix-time</span></div></a></li><li class="depth-1"><a href="clj-uuid.clock.html#var-universal-time"><div class="inner"><span>universal-time</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">clj-uuid.clock</h1><div class="doc"><pre class="plaintext">Lock-Free, Thread-safe Monotonic Clocks
</pre></div><div class="public anchor" id="var-.2Brandom-counter-resolution.2B"><h3>+random-counter-resolution+</h3><div class="usage"></div><div class="doc"><pre class="plaintext"></pre></div></div><div class="public anchor" id="var-.2Bsubcounter-resolution.2B"><h3>+subcounter-resolution+</h3><div class="usage"></div><div class="doc"><pre class="plaintext"></pre></div></div><div class="public anchor" id="var-monotonic-time"><h3>monotonic-time</h3><div class="usage"><code>(monotonic-time)</code></div><div class="doc"><pre class="plaintext">Generate a guaranteed monotonically increasing timestamp based on
Gregorian time and a stateful subcounter</pre></div></div><div class="public anchor" id="var-monotonic-unix-time-and-random-counter"><h3>monotonic-unix-time-and-random-counter</h3><div class="usage"><code>(monotonic-unix-time-and-random-counter)</code></div><div class="doc"><pre class="plaintext">Generate guaranteed monotonically increasing number pairs based on
POSIX time and a randomly seeded subcounter</pre></div></div><div class="public anchor" id="var-posix-time"><h3>posix-time</h3><div class="usage"><code>(posix-time)</code><code>(posix-time gregorian)</code></div><div class="doc"><pre class="plaintext">Generate the (Unix compatible) POSIX time -- the number of seconds
that have elaspsed since 00:00 January 1, 1970 UTC</pre></div></div><div class="public anchor" id="var-universal-time"><h3>universal-time</h3><div class="usage"><code>(universal-time)</code><code>(universal-time gregorian)</code></div><div class="doc"><pre class="plaintext">Generate the (Common-Lisp compatible) universal-time -- the number of
seconds that have elapsed since 00:00 January 1, 1900 GMT</pre></div></div></div></body></html>
5 changes: 3 additions & 2 deletions doc/api/clj-uuid.constants.html

Large diffs are not rendered by default.

Loading
Loading