Commit Graph

42 Commits

Author SHA1 Message Date
Anthony Arnold 1b407c8a96 Bump version. 2021-12-08 23:50:42 +10:00
Anthony Arnold 8206a0dee4 Fix compatibility errors 2021-12-08 23:49:42 +10:00
Anthony Arnold e2c55d0479
Merge pull request #7 from mgrojo/master
Fix for building using FSF GNAT 9
2021-12-08 23:44:52 +10:00
mgr 995f85bc3e Fix for building using FSF GNAT 9
These changes are necessary to build under FSF GNAT 9 (Ubuntu 20.04).
2021-12-02 20:32:40 +01:00
Anthony Arnold e5ef5e6ca0 Merge pull request #5 from jrmarino/master
Update adaid.gpr.in similarly to adaid_debug.gpr
2016-08-04 07:26:34 +10:00
jrmarino 405bed0d8e Update adaid.gpr.in similarly to adaid_debug.gpr 2016-08-03 08:14:49 -05:00
Anthony Arnold 307fc2c6bc Merge pull request #2 from jrmarino/master
Fix GPR file / Fix numerous style flaws
2016-08-03 09:46:20 +10:00
jrmarino 55dfe3794a Enforce token spacing with style check
Now the code looks a lot more "Ada-like".
2016-08-02 08:53:33 -05:00
jrmarino 091ae71647 Add style checks to debug GPR and enforce them
While here, remove the C flags from the compiler package, including the
-I flag, and replace the latter with an additional entry in Source_Dirs
so that the project is buildable with GPRbuild.  The debug flag (-g) is
removed from compiler flags because it comes from Builder flags.

Styles corrected include:
* Enforce at least one space between comment marker ("--") and the
comment
*  Capitalize "True" and "False"
*  Enforce closing name at end of functions
*  Use "or else" instead of "or" when appropriate
* Use "and then" instead of "and" when appropriate
* Move "then" to new line if condition covers multiple lines
* Enforce 79-character line limit
2016-08-02 08:42:53 -05:00
Anthony Arnold a87323451d Merge pull request #1 from jrmarino/master
Fix Get_Version
2016-08-01 09:03:01 +10:00
jrmarino 3c01e14ef5 Change change of To_String
The RFC 4122 standard specifies that the hexidecimal representation of
the UUID is in lowercase characters, not uppercase.

"Each field is treated as an integer and has its value printed as a
zero-filled hexadecimal digit string with the most significant
digit first.  The hexadecimal values "a" through "f" are output as
lower case characters and are case insensitive on input."
2016-07-30 19:47:16 -05:00
jrmarino 6f14c1daef Fix Get_Version
The nibble mask for the version byte is incorrect.  It should be on bits
4-7 but its on bits 0-3.  Right now the result of the Get_Version
function is always "unknown".  This is fixed, along with two octet
comment corrections (value and spelling).
2016-07-30 19:38:46 -05:00
Anthony Arnold 413b6e35ea Switch to Simplified BSD License 2016-07-19 22:04:20 +10:00
Anthony Arnold 2a4733e33b Readme Update after 4 years 2015-07-14 21:59:04 +10:00
Anthony Arnold e0cf3fb74f Formatting 2015-07-14 21:56:30 +10:00
Anthony Arnold 99edfc6aa2 Updated to AUnit 3.7.1 2015-07-14 21:55:12 +10:00
Anthony Arnold 489774a686 Update adaid-generate.adb
Fixed whitespace formatting.
2014-03-26 12:08:39 +10:00
Anthony Arnold b7509cdabb Fix for compilation error. Changed SizeType to HashType. 2012-02-01 20:10:54 +10:00
Anthony Arnold a96c358fae Updated version number. Version 1.0.2 is a documentation fix. 2012-01-21 20:07:15 +10:00
Anthony Arnold 8b92cc5369 Added documentation generated with AdaBrowse. When changing an interface, must run 'make docs' before commiting. 2012-01-20 11:20:42 +10:00
Anthony Arnold c6e68bfcc7 Updated distribution file name definition 2012-01-17 23:08:01 +10:00
root a3aded1284 Updated version number 2012-01-17 22:49:44 +10:00
Anthony Arnold 33cbfb0ed3 Remove -gnat12 switched; not needed. Updated README.md to reflect changes. 2012-01-17 22:21:15 +10:00
Anthony Arnold ac388aaec9 Added make dist. Included controlling version in the make file, so adaid.gpr must be transformed at build time. 2012-01-17 21:51:56 +10:00
Anthony Arnold fbebe3d77e Getting random seed from /dev/urandom, and falling back to time-based seed 2012-01-17 20:44:27 +10:00
Anthony Arnold 5d28bc1365 Can now make install. 2012-01-17 17:10:23 +10:00
Anthony Arnold 2896506335 Split some unit tests up to test more distinct functionality. Added new unit test to check that Invalid_String is thrown in From_Name. Fixed up some ignore files. 2012-01-17 13:26:45 +10:00
Anthony Arnold 874b239271 Added debug project which builds a static library with debug symbols. Regular project build shared object with optimisations. Test links to debug library. Putting library ALIs in ali directory. 2012-01-17 12:36:30 +10:00
Anthony Arnold 96b9a94f20 Switched tests to AUnit test suite. Reorganised build to use project files. New directory structure for new build. TODO: Unit test exceptions, make install option 2012-01-17 12:23:27 +10:00
Anthony Arnold aae8d77ff7 Moved generator procedures into seperate subpackage. Fixed error in random generator where x was not being incremented. 2012-01-16 15:53:35 +10:00
Anthony Arnold 3c1665b46f Added From_String generator. Thinking about moving generators to subpackage. Removed To_Wide_String; decided that AdaID will only deal in Strings. It is up to the user to handle the case of stuffing them into Wide strings. Fixed bullet lists in README.md 2012-01-16 14:55:03 +10:00
Anthony Arnold 7868f1d648 Empty bin and lib directories required for building. 2012-01-16 00:55:48 +10:00
Anthony Arnold 899895a093 Adding README.md 2012-01-16 00:50:50 +10:00
Anthony Arnold 12487a78ca README is Markdown. 2012-01-16 00:49:03 +10:00
Anthony Arnold 9220e79ede Added README and LICENSE files. Getting ready to go to github 2012-01-16 00:19:51 +10:00
Anthony Arnold 8c3d4c2ebc Added To_String and To_Wide_String functions. Turned generator functions into procedures 2012-01-15 21:40:42 +10:00
Anthony Arnold f86b20b189 Fixed makefile for better cleaning. 2012-01-14 18:11:21 +10:00
Anthony Arnold df081af64e Added FromName function to generate from name via SHA1 Hash. Included GPL-licensed SHA implementation by John Halleck. 2012-01-14 17:59:13 +10:00
Anthony Arnold 712ef8405c Added Variant type and GetVariant function 2012-01-13 21:26:01 +10:00
Anthony Arnold 6805d9b3b9 Added GetHashFunction 2012-01-13 21:15:38 +10:00
Anthony Arnold 0d443617f7 New function GetVersion and build structure 2012-01-13 19:47:50 +10:00
Anthony Arnold 8faf232ddd Initial commit of naive code. 2012-01-13 16:53:54 +10:00