Skip to content

Shapelib 1.6.1

Latest
Compare
Choose a tag to compare
@rouault rouault released this 14 Aug 08:27
· 15 commits to master since this release
8e23c95

Changes since 1.6.0:

  • DBFIsValueNULL(): accept empty string as NULL Date (OSGeo/gdal#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 #106 / OSGeo/gdal#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