This is an automated email from the ASF dual-hosted git repository.

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


    from a93258c0ba Give more informative names to some parameters.
     new 3762fd80fe Redesign the way that readers and writers co-exist in 
`DataStore` implementations: - `isWritable(…)` needs to distinguish between 
opening an existing file or creating a new one. - `setStreamPosition(long)` 
removed. It was misused in most places, causing probable bugs. - Allow creation 
of `ChannelDataOutput` from a `ChannelDataInput`, sharing same internal. - Add 
`synchronize(…)` for making input `ChannelData` consistent with output, or 
conversely.
     new e91f576e12 Refactor `ChannelImageOutputStream` as an implementation of 
`ImageOutputStream`. It allows us to test `ChannelData.yield(ChannelData)`.
     new 4c94f8269e First draft of GeoTIFF writer accessible from public API. 
For now we do that with a `GeoTiffStore.appen(…)` method.

The 3 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:
 .../org/apache/sis/storage/geotiff/DataCube.java   |   2 +-
 .../org/apache/sis/storage/geotiff/DataSubset.java |   2 -
 .../org/apache/sis/storage/geotiff/GeoTIFF.java    |   4 +-
 .../apache/sis/storage/geotiff/GeoTiffStore.java   | 157 ++++++++--
 .../apache/sis/storage/geotiff/NativeMetadata.java |   6 +-
 .../org/apache/sis/storage/geotiff/Reader.java     |  76 +++--
 .../sis/storage/geotiff/ReformattedImage.java      |  13 +
 .../sis/storage/geotiff/ReversedBitsChannel.java   |  19 +-
 .../sis/storage/geotiff/TileMatrixWriter.java      |  16 +-
 .../org/apache/sis/storage/geotiff/Writer.java     | 118 +++++--
 .../sis/storage/geotiff/inflater/Inflater.java     |   3 +-
 .../org/apache/sis/storage/geotiff/WriterTest.java |   7 +-
 .../org/apache/sis/storage/gpx/StoreProvider.java  |   2 +-
 .../main/org/apache/sis/io/stream/ChannelData.java | 235 ++++++++++----
 .../org/apache/sis/io/stream/ChannelDataInput.java |  86 ++++--
 .../apache/sis/io/stream/ChannelDataOutput.java    | 191 ++++++++----
 .../sis/io/stream/ChannelImageInputStream.java     |  21 +-
 .../sis/io/stream/ChannelImageOutputStream.java    | 186 +++++++++--
 .../main/org/apache/sis/io/stream/IOUtilities.java |  75 ++---
 .../main/org/apache/sis/io/stream/Markable.java    |   2 +-
 .../apache/sis/io/stream/OutputStreamAdapter.java  |  11 +-
 .../org/apache/sis/io/stream/UpdatableWrite.java   |  39 ++-
 .../sis/storage/ReadOnlyStorageException.java      |   1 +
 .../org/apache/sis/storage/StorageConnector.java   |  25 +-
 ...ception.java => WriteOnlyStorageException.java} |  27 +-
 .../org/apache/sis/storage/base/URIDataStore.java  |  26 +-
 .../sis/storage/esri/AsciiGridStoreProvider.java   |   2 +-
 .../org/apache/sis/storage/image/FormatFinder.java |   2 +-
 .../storage/internal/WritableResourceSupport.java  |   1 -
 .../main/org/apache/sis/storage/package-info.java  |   2 +-
 .../sis/io/stream/ChannelDataOutputTest.java       | 340 ++++++++++-----------
 .../apache/sis/io/stream/ChannelDataTestCase.java  |  53 +++-
 .../sis/io/stream/ChannelImageInputStreamTest.java |  97 ++++--
 .../io/stream/ChannelImageOutputStreamTest.java    | 254 ++++++++-------
 .../main/org/apache/sis/util/resources/Errors.java |   5 +
 .../apache/sis/util/resources/Errors.properties    |   1 +
 .../apache/sis/util/resources/Errors_fr.properties |   1 +
 37 files changed, 1439 insertions(+), 669 deletions(-)
 copy 
endorsed/src/org.apache.sis.storage/main/org/apache/sis/storage/{UnsupportedQueryException.java
 => WriteOnlyStorageException.java} (66%)

Reply via email to