From 761a483e28935f0bdee4658c37dfaa4606c2660a Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 11 May 2025 15:01:09 -0400 Subject: Add new system for tracking versions. --- lib/base64/CHANGES.md | 5 +++++ lib/commands/CHANGES.md | 5 +++++ lib/core/CHANGES.md | 5 +++++ lib/core/core.tm | 12 ++++++------ lib/patterns/CHANGES.md | 5 +++++ lib/patterns/_test.tm | 2 +- lib/patterns/patterns.c | 1 - lib/pthreads/CHANGES.md | 5 +++++ lib/random/CHANGES.md | 5 +++++ lib/shell/CHANGES.md | 5 +++++ lib/shell/README.md | 2 +- lib/shell/shell.tm | 2 +- lib/time/CHANGES.md | 5 +++++ lib/uuid/CHANGES.md | 5 +++++ lib/uuid/uuid.tm | 4 ++-- 15 files changed, 56 insertions(+), 12 deletions(-) create mode 100644 lib/base64/CHANGES.md create mode 100644 lib/commands/CHANGES.md create mode 100644 lib/core/CHANGES.md create mode 100644 lib/patterns/CHANGES.md create mode 100644 lib/pthreads/CHANGES.md create mode 100644 lib/random/CHANGES.md create mode 100644 lib/shell/CHANGES.md create mode 100644 lib/time/CHANGES.md create mode 100644 lib/uuid/CHANGES.md (limited to 'lib') diff --git a/lib/base64/CHANGES.md b/lib/base64/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/lib/base64/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/lib/commands/CHANGES.md b/lib/commands/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/lib/commands/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/lib/core/CHANGES.md b/lib/core/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/lib/core/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/lib/core/core.tm b/lib/core/core.tm index 6aa4c267..0b8aba53 100644 --- a/lib/core/core.tm +++ b/lib/core/core.tm @@ -1,9 +1,9 @@ # This file just uses all the most commonly used standard # library modules so you don't have to import them one-by-one -use patterns -use commands -use shell -use pthreads -use random -use time +use patterns_v1.0 +use commands_v1.0 +use shell_v1.0 +use pthreads_v1.0 +use random_v1.0 +use time_v1.0 diff --git a/lib/patterns/CHANGES.md b/lib/patterns/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/lib/patterns/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/lib/patterns/_test.tm b/lib/patterns/_test.tm index 1a06570f..26c23628 100644 --- a/lib/patterns/_test.tm +++ b/lib/patterns/_test.tm @@ -1,4 +1,4 @@ -use patterns +use patterns_v1.0 func main() amelie := "Am\{UE9}lie" diff --git a/lib/patterns/patterns.c b/lib/patterns/patterns.c index 04cc9c0e..74d542b8 100644 --- a/lib/patterns/patterns.c +++ b/lib/patterns/patterns.c @@ -4,7 +4,6 @@ #include #include #include -#include #include #include #include diff --git a/lib/pthreads/CHANGES.md b/lib/pthreads/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/lib/pthreads/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/lib/random/CHANGES.md b/lib/random/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/lib/random/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/lib/shell/CHANGES.md b/lib/shell/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/lib/shell/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/lib/shell/README.md b/lib/shell/README.md index 4adb8cff..d4bcd42e 100644 --- a/lib/shell/README.md +++ b/lib/shell/README.md @@ -3,7 +3,7 @@ This module defines a `lang` for running shell scripts: ```tomo -use shell +use shell_v1.0 >> $Shell" seq 5 diff --git a/lib/shell/shell.tm b/lib/shell/shell.tm index da03f843..f9476161 100644 --- a/lib/shell/shell.tm +++ b/lib/shell/shell.tm @@ -1,4 +1,4 @@ -use commands +use commands_v1.0 lang Shell convert(text:Text -> Shell) diff --git a/lib/time/CHANGES.md b/lib/time/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/lib/time/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/lib/uuid/CHANGES.md b/lib/uuid/CHANGES.md new file mode 100644 index 00000000..42ae752c --- /dev/null +++ b/lib/uuid/CHANGES.md @@ -0,0 +1,5 @@ +# Version History + +## v1.0 + +Initial version diff --git a/lib/uuid/uuid.tm b/lib/uuid/uuid.tm index 06d48390..f2be618e 100644 --- a/lib/uuid/uuid.tm +++ b/lib/uuid/uuid.tm @@ -1,5 +1,5 @@ -use random -use time +use random_v1.0 +use time_v1.0 lang UUID func v4(-> UUID) # Random UUID -- cgit v1.2.3