Added tag 1.1-b1 for changeset 3782adc3000c
3782adc3000c — Norman Gray 1.1-b1 2 years ago
Prepare release 1.1-b1.

This deals with the various outstanding issues, but doesn't include
the separate work to use QUDT2, which will happen next.

This revision includes some reworking of the way that the version
numbers are wrangled, in a slight simplification.
3d45e3cd113b — Norman Gray 2 years ago
Include references to FITS spec v4.0.

Thanks to Mark Taylor for notes on the relevant difference between
versions 3 an 4 (https://github.com/ivoa-std/VOUnits/issues/7).

Closes issue #6.
f3588b3e4ee5 — Norman Gray 2 years ago
Build/doc/dist tweaks
bf7b99aa1614 — Norman Gray 2 years ago
Improve (slightly) C documentation of unit dimensions.

This addresses issue ~nxg/unity#8, in the rather limited sense that,
since I realise that there is no support for breaking down units in
the C library, there is little to fix.
0c9d2fb86d26 — Norman Gray 2 years ago
Add a note about (not) parsing the empty string, and add helper methods.

Document that rejecting the empty string is deliberate, and not an
oversight.  Make the `UnitExpr.getDimensionlessExpression()` public,
not private, and add C function `unity_get_dimensionless`.
c106abbe031d — Norman Gray 2 years ago
Adjust version info in unity-grammars/README
ce6f35640f15 — Norman Gray 2 years ago
Add missing ln flag when building the distribution
467bbbc44a82 — Norman Gray 2 years ago
Adjust the list of terminals, mentioning LIT10
1e99a25621d9 — Norman Gray 2 years ago
Mention known units, and include table, in package-info.txt
8c192b6d458d — Norman Gray 2 years ago
Migrate from org.mulgara MRG RDF parsers to RDF4j.

Closes issue unity#9
3e5917e04819 — Norman Gray 2 years ago
Add LIT1 testcases to Java and C libraries
4e3bbb6f66a2 — Norman Gray 2 years ago
Refactor lexing
d01c83ddcd62 — Norman Gray 2 years ago
Added `"1"` as an indicator of the ‘dimensionless expression’.

This is in the VOUnits syntax only.  This is slightly provisional,
anticipating this change in the VOUnits spec.  There is still no
indicator of a dimensionless expression in the other units (ie, `""`
is still unparseable in all syntaxes).
c3e79fd1e90b — Norman Gray 2 years ago
Invert the sense of the second argument to UnitExpr.allUnitsRecognised(Syntax,boolean)
b880b86402cf — Norman Gray 2 years ago
Added `OneUnit.getOriginalString()`.

This retrieves the string representation originally found
in the parsed string, whether or not it is valid, preferred, or guessed.
Thanks to Mark Taylor for persuading me that this was legitimately
useful.
eeefbd500374 — Norman Gray 2 years ago
Change method signatures of `OneUnit.toString and .unitString.

The methods `OneUnit.toString(Syntax)` and `OneUnit.unitString(Syntax)` have
changed their signature: both now throw a (new)
`UnwritableExpression` exception.  Method `OneUnit.toString()`
does not throw an exception.  Various other minor documentation and API
clarifications around writing.
bf676f672c11 — Norman Gray 2 years ago
Add further unit tests.

This adds the test that provoked the change in revision 2b0e171f (in
SimpleUnit.java).  I should of course have added it then but I was in
a hurry.

Adding the test as usual prompted other tests, and some added
functionality.
25e4ebe0133c — Norman Gray 2 years ago
Adjust Makefile.in -- remove inadvertent new default target
2b0e171f36b6 — Norman Gray 2 years ago
Update the README with new functionality; fix uncovered bug.

It turns out that the guessing process would guess `ergs` but not
`erg`; added a new catch-all guesser.  Also, with the right
combination of input units and syntax (parse `mergs` in the CDS
syntax), it was possible to prompt a NullPointerException, because a
previously-impossible case had become possible due to the guessing
process.
Next