sis-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From desruisse...@apache.org
Subject [sis] branch geoapi-3.1 updated (d281917 -> 11d4e97)
Date Mon, 06 Aug 2018 12:10:09 GMT
This is an automated email from the ASF dual-hosted git repository.

desruisseaux pushed a change to branch geoapi-3.1
in repository https://gitbox.apache.org/repos/asf/sis.git.


    from d281917  Merge branch 'geoapi-4.0' into geoapi-3.1.
     add 430dfd6  Allow to specify the MathTransformFactory to use when computing the transfer
function (i.e. the conversion from "pixel values" to "geophysics values") of a raster.
     add 30889f0  Try to preserve better the unit symbol used in expressions like "J/kg" (i.e.
do not replace "J/kg" by "m²∕s²"). https://issues.apache.org/jira/browse/SIS-378
     add 18fb1d0  Group methods that are specific to SI in a Prefixes class. All those SI-specific
methods are related to the management of prefixes. For now only SI prefixes are supported,
but we may evolve the Prefixes class in a future version for supporting other sets of prefixes.
     add 91ea384  More effort to prepend a SI prefix when possible at formatting time.
     add cb95be3  Preserve better the unit symbol after some parsings.
     add c028527  Partial fix of exponent parsing in expression like (m.s)-1.
     new 11d4e97  Merge branch 'geoapi-4.0' into geoapi-3.1.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 .../operation/transform/TransferFunction.java      |  68 +++-
 .../operation/transform/TransferFunctionTest.java  |  39 +-
 .../main/java/org/apache/sis/math/Fraction.java    |  66 +++-
 .../org/apache/sis/measure/AbstractConverter.java  |  22 +-
 .../java/org/apache/sis/measure/AbstractUnit.java  |  54 +--
 .../org/apache/sis/measure/ConventionalUnit.java   | 105 ++----
 .../org/apache/sis/measure/LinearConverter.java    |  58 +--
 .../main/java/org/apache/sis/measure/Prefixes.java | 216 +++++++++++
 .../java/org/apache/sis/measure/SystemUnit.java    | 165 ++++++--
 .../java/org/apache/sis/measure/UnitDimension.java |  44 ++-
 .../java/org/apache/sis/measure/UnitFormat.java    | 420 +++++++++++++--------
 .../main/java/org/apache/sis/measure/Units.java    |  24 +-
 .../java/org/apache/sis/math/FractionTest.java     |  27 ++
 .../apache/sis/measure/ConventionalUnitTest.java   |  90 ++---
 .../apache/sis/measure/LinearConverterTest.java    |  39 +-
 .../java/org/apache/sis/measure/PrefixesTest.java  | 143 +++++++
 .../org/apache/sis/measure/UnitFormatTest.java     | 139 ++++++-
 .../java/org/apache/sis/measure/UnitsTest.java     |   4 +-
 .../apache/sis/test/suite/UtilityTestSuite.java    |   1 +
 19 files changed, 1250 insertions(+), 474 deletions(-)
 create mode 100644 core/sis-utility/src/main/java/org/apache/sis/measure/Prefixes.java
 create mode 100644 core/sis-utility/src/test/java/org/apache/sis/measure/PrefixesTest.java


Mime
View raw message