[Shapelib] Shapelib 1.6.1 is released

Even Rouault even.rouault at spatialys.com
Wed Aug 14 01:29:13 PDT 2024


Hi,

I've promoted shapelib v1.6.1rc2 + minor changes in test suite as final 
v1.6.1

- http://download.osgeo.org/shapelib/shapelib-1.6.1.tar.gz
- http://download.osgeo.org/shapelib/shapelib-1.6.1.zip

Changes since 1.6.0:
- DBFIsValueNULL(): accept empty string as NULL Date 
(https://github.com/OSGeo/gdal/issues/10405)
- DBFIsValueNULL(): Accept string containing of width times "0" as NULL Date
- Only test for _WIN32 for Windows detection
- Windows: Fix UTF8 hook functions
- Various compiler warning fixes
- contrib/csv2shp.c: fix resource leaks (#86)
- Detect byte order at compile time
- shapefil.h: various const-correctness improvements
- shapefil.h: Remove SHPTreeRemoveShapeId not being implemented
- shapefil.h: Fix API call of SHPSearchDiskTreeEx
- Add API functions for read/write of date attributes: 
DBFReadDateAttribute/DBFWriteDateAttribute
- DBFWriteAttribute/DBFWriteLogicalAttribute: no longer silently accpets 
invalid input, but returns false
- DBFCloneEmpty: consider the SAHooks
- Move endian defines to shapefil_private.h (#99)
- Fix test execution by complete refactoring.
- Add C++ unit testing (#113)
- SBNOpenDiskTree(): make it work with node descriptors with 
non-increasing nBinStart
   Fixes https://github.com/OSGeo/shapelib/issues/106 / 
https://github.com/OSGeo/gdal/issues/9430
- sbnsearch.c: avoid potential integer overflows on corrupted files
- dbfdump: dump date and logical fields
- dbfinfo: print date and logical fields
- dbfcat: various fixes
- Fix -Werror=calloc-transposed-args with gcc 14
- SHPOpenLL(): avoid GDAL specific error message when .shx is missing (#129)
- CMake: generate pkg-config file (#135)
- CMake: Fix install interface include dir (#134)
- CMake: Make building executables optional with CMake (set BUILD_APPS 
to OFF) (#78)
- CMake: Remove duplicated shapefil.h installation in 
include_dir/shapelib (#80)
- CMake: Remove INSTALL_NAME_DIR from target (#49)
- CMake: Fix contrib.cmake
- CMake: (>= 3.21) Fix ctest paths for shared libs (MSVC and CygWin)
- CMake: Add GoogleTestAdapter (GTA) Run Settings

Even

-- 
http://www.spatialys.com
My software is free, but my time generally not.



More information about the Shapelib mailing list