-
Notifications
You must be signed in to change notification settings - Fork 66
/
ChangeLog
568 lines (343 loc) · 18 KB
/
ChangeLog
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
2019-02-28 Even Rouault <even.rouault at spatialys.com>
* Fix 'make distcheck' broken by nth-2 commit
* Shapelib 1.5.0 released
2019-02-28 Even Rouault <even.rouault at spatialys.com>
* shpopen.c: resync with GDAL internal shapelib to avoid being dependent
on correctness of file size field in .shp. Fixes
https://lists.osgeo.org/pipermail/gdal-dev/2018-October/049218.html
2019-02-28 Even Rouault <even.rouault at spatialys.com>
* contrib/shpgeo.h/.c: Remove PROJ.4 dependency and functionality,
causing removal of SHPProject(), SHPSetProjection() and SHPFreeProjection()
* contrib/shpproj.c: removed
2018-08-16 Even Rouault <even.rouault at spatialys.com>
* shpopen.c, dbfopen.c, shptree.c, sbnsearch.c: resyc with GDAL
internal shapelib. Mostly to allow building those files as C++
without warning. Also add FTDate entry in DBFFieldType
(see https://github.com/OSGeo/gdal/pull/308). And some other
code cleanups
2018-08-16 Even Rouault <even.rouault at spatialys.com>
* dbfopen.c: fix a bug where the end of file character was
written on top of the first character of the first field name
when deleting a field on a .dbf without records.
Fixes https://github.com/OSGeo/gdal/issues/863
2018-06-15 Even Rouault <even.rouault at spatialys.com>
* safileio.c: remove duplicate test. Patch by Jaroslav Fojtik.
Fixes http://bugzilla.maptools.org/show_bug.cgi?id=2744
2017-09-14 Even Rouault <even.rouault at spatialys.com>
* Shapelib 1.4.1 released
2017-09-10 Even Rouault <even.rouault at spatialys.com>
* shpopen.c: resync with GDAL copy. Make sure to zero terminate all
error messages. And fix regression regarding re-writing the last shape
of a file (https://trac.osgeo.org/gdal/ticket/7031)
2017-07-10 Even Rouault <even.rouault at spatialys.com>
* contrib/shpgeo.c: fix compilation on _MSC_VER < 1800 regarding lack
of NAN macro.
2016-12-09 Even Rouault <even.rouault at spatialys.com>
* Makefile.am: add web/maptools.css to EXTRA_DIST
* Shapelib 1.4.0 released
2016-12-06 Even Rouault <even.rouault at spatialys.com>
* configure.ac: change soname to 2:1:0 to be in sync with Debian soname.
http://bugzilla.maptools.org/show_bug.cgi?id=2628
Patch by Bas Couwenberg
* contrib/doc/Shape_PointInPoly_README.txt, contrib/shpgeo.c: typo fixes.
http://bugzilla.maptools.org/show_bug.cgi?id=2629
Patch by Bas Couwenberg
* web/*: use a local .css file to avoid a privacy breach issue reported
by the lintian QA tool.
http://bugzilla.maptools.org/show_bug.cgi?id=2630
Patch by Bas Couwenberg
2016-12-06 Even Rouault <even.rouault at spatialys.com>
* web/release.html, HOWTO-RELEASE, configure.ac, CMakeLists.txt: prepare
for 1.4.0 release.
2016-12-05 Even Rouault <even.rouault at spatialys.com>
* dbfopen.c, shapefil.h: write DBF end-of-file character 0x1A by default.
This behaviour can be controlled with the DBFSetWriteEndOfFileChar()
function.
2016-12-05 Even Rouault <even.rouault at spatialys.com>
* Major overhaul of Makefile build system to use autoconf/automake.
Contributed by Sandro Mani: https://github.com/manisandro/shapelib/tree/autotools
* Warning fixes in contrib/
2016-12-04 Even Rouault <even.rouault at spatialys.com>
* shpopen.c, dbfopen.c, shptree.c, shapefil.h: resync with
GDAL Shapefile driver. Mostly cleanups. SHPObject and DBFInfo
structures extended with new members. New functions:
DBFSetLastModifiedDate, SHPOpenLLEx, SHPRestoreSHX,
SHPSetFastModeReadObject
* sbnsearch.c: new file to implement original ESRI .sbn spatial
index reading. (no write support). New functions:
SBNOpenDiskTree, SBNCloseDiskTree, SBNSearchDiskTree,
SBNSearchDiskTreeInteger, SBNSearchFreeIds
* Makefile, makefile.vc, CMakeLists.txt, shapelib.def: updates
with new file and symbols.
* commit: helper script to cvs commit
2013-11-26 Frank Warmerdam <[email protected]>
* CMakeLists.txt: CMake support from Alan W. Irwin.
* dbfdump.c: untested reporting for deleted records.
2012-04-10 Frank Warmerdam <[email protected]>
* Shapelib 1.3.0 released.
2012-01-27 Frank Warmerdam <[email protected]>
* shptree.c: optimize quadtree generation (gdal #4472)
2012-01-24 Frank Warmerdam <[email protected]>
* shpopen.c: fix memory leaks on failure to open .shp file.
2011-12-11 Frank Warmerdam <[email protected]>
* shptree.c,h: Use SAHooks for .qix access (gdal #3365)
2011-09-14 Frank Warmerdam <[email protected]>
* shpopen.c: fix missing cast (#2344)
2011-07-24 <[email protected]>
* shpopen.c, dbfopen.c, shptree.c, shapefil.h: Minimize use of
CPL services in favor of SAHooks.Error().
* Makefile: Remove all the shared library building stuff, it is just
too half assed, and results in all sorts of bug reports and complaints.
Instead just install a static libshp.a.
2011-07-23 <[email protected]>
* Makefile: build shpdumptree as part of all target (#1648).
* shpopen.c: fix memory leaks in error cases (#2061)
* contrib/*.c: Include stdlib.h and strings.h (#2146)
* shpdump.c: change to use %.15g for coordinate reporting. (#2277)
2011-05-13 Frank Warmerdam <[email protected]>
* dbfopen.c, shapelib.h: Add functions to reorder and alter
field definitions. DBFReorderFields() and DBFAlterFields().
2011-05-07 Frank Warmerdam <[email protected]>
* dbfopen.c: Ensure pending record is flushed when adding a native
field (gdal #4073).
2011-04-16 Frank Warmerdam <[email protected]>
* shapefil.h: avoid warnings with SHP_CVSID on gcc.
2010-12-06 Frank Warmerdam <[email protected]>
* dbfopen.c: fix read past end of init data fetching code page
http://bugzilla.maptools.org/show_bug.cgi?id=2276
2010-07-01 Frank Warmerdam <[email protected]>
* shpopen.c: do not error out on a shape with zero vertices.
* shpdump.c: do not crash if null shape returned by read object.
2010-06-29 Frank Warmerdam <[email protected]>
* shptree.c: fix sign of Z and M comparisons in SHPCheckObjectContained.
(http://bugzilla.maptools.org/show_bug.cgi?id=2223)
2010-01-28 Frank Warmerdam <[email protected]>
* shpopen.c/shapefil.h: Handle the .shp file length limits more
gracefully. (http://trac.osgeo.org/gdal/ticket/3236)
* shpopen.c: Improve the numerical accuracy of algorithms in
SHPRewind() (http://trac.osgeo.org/gdal/ticket/3363).
2010-01-16 Frank Warmerdam <[email protected]>
* shpopen.c: support passing in zero/nulls to create an empty
SHPObject: http://bugzilla.maptools.org/show_bug.cgi?id=2148
2009-10-29 Frank Warmerdam <[email protected]>
* dbfopen.c: avoid crash risk for truncated files.
http://trac.osgeo.org/gdal/ticket/3093
2009-09-17 Bram de Greve <[email protected]>
* shpopen.c: on Win32, define snprintf as alias to _snprintf
2008-11-12 Frank Warmerdam <[email protected]>
* shptree.c: improve safety in face of buggy .shp file.
http://trac.osgeo.org/gdal/ticket/2610
* dbfopen.c: DBFCreateField() can now also operate on files with
records, c/o Martin Dobias.
https://trac.osgeo.org/gdal/ticket/2672
2008-11-11 Frank Warmerdam <[email protected]>
* dbfopen.c: Introduce DBFDeleteField() function from Martin Dobias.
http://trac.osgeo.org/gdal/ticket/2671
2008-03-14 Frank Warmerdam <[email protected]>
* Correct crash on buggy geometries (Even Rouault).
http://trac.osgeo.org/gdal/ticket/2218
2008-01-16 Bram de Greve <[email protected]>
* shapefil.h, safileio.c: add file hooks that accept UTF-8
encoded filenames on some platforms. Use SASetupUtf8Hooks
to setup the hooks and check SHPAPI_UTF8_HOOKS for its
availability. Currently, this is only available on the Windows
platform that decodes the UTF-8 filenames to wide character
strings and feed them to _wfopen and _wremove.
2008-01-10 Frank Warmerdam <[email protected]>
* shapefil.h: Avoid _ prefix on #defines.
http://bugzilla.maptools.org/show_bug.cgi?id=1840
2008-01-03 Bram de Greve <[email protected]>
* dbfopen.c: in DBFCreate, use default code page
LDID/87 (= 0x57, ANSI) instead of LDID/3. This seems
to be the same as what ESRI would be doing by default.
2007-12-30 Frank Warmerdam <[email protected]>
* shpadd.c/shpcreate.c: Add support for z and m files.
* Massive overhaul to use hooks for file io, etc.
2007-12-18 Bram de Greve <[email protected]>
* dbfopen.c/shapefil.h/safileio.c: create hook for client
specific atof http://bugzilla.maptools.org/show_bug.cgi?id=1615
* dbfopen.c: check for NULL handle before closing cpCPG file,
and close after reading.
2007-12-15 Bram de Greve <[email protected]>
* dbfopen.c/shapefil.h/safileio.c: read the Code Page information
from the DBF file, and exports this information as a string through
the DBFGetCodePage function. This is either the number from the LDID
header field ("LDID/<number>") or as the content of an accompanying
.CPG file. When creating a DBF file, the code can be set using
DBFCreateEx.
2007-12-12 Bram de Greve <[email protected]>
* dbfopen.c: check for NULL handle in DBFClose.
2007-11-21 Frank Warmerdam <[email protected]>
* shpopen.c/shapefil.h: Don't keep .shx file open in read-only mode.
http://trac.osgeo.org/gdal/ticket/1956
2007-11-14 Frank Warmerdam <[email protected]>
* shpopen.c: checks after mallocs to detect for corrupted/voluntary
broken shapefiles. http://trac.osgeo.org/gdal/ticket/1991
2007-09-03 Frank Warmerdam <[email protected]>
* shpgeo.c: Fixed SHPDimension() (missing breaks) in shpgeo.c.
Fix contributed by Andrea Peri.
* dbfopen.c: Move the static dDoubleField return buffer into DBFInfo
structure to avoid multithreaded risks.
* dbfopen.c: Simplify DBFReadTuple() to avoid use of static tuple.
Note that this means DBFReadTuple() results are only valid till the
next record is read for any reason.
2007-06-21 Frank Warmerdam <[email protected]>
* shpopen.c: Fix for SHPRewind() for "contact at one vertex"
cases in rings. http://trac.osgeo.org/gdal/ticket/976
2006-11-06 Frank Warmerdam <[email protected]>
* contrib/shpgeo.c: Modified SHPProject to use pj_transform() so
it works for datums and stuff. Submitted by Steffen Macke.
2006-09-04 Frank Warmerdam <[email protected]>
* shpeopen.c: (MLoskot) Added stronger test of Shapefile reading
failures, e.g. truncated files. The problem was discovered by Tim
Sutton and reported here:
https://svn.qgis.org/trac/ticket/200
2006-06-17 Frank Warmerdam <[email protected]>
* dbfopen.c: use calloc() for DBFInfo in DBFCreate() to ensure
all fields initialized to zero if not otherwise mentioned.
* dbfopen.c: Don't allow creation of string fields with width larger
than 255 per http://bugzilla.maptools.org/show_bug.cgi?id=1434
2006-06-16 Frank Warmerdam <[email protected]>
* dbfopen.c: Don't treat decimals value as high order field length
for strings, as it causes serious bugs in some cases such as
http://bugzilla.remotesensing.org/show_bug.cgi?id=1202
* dbfopen.c: Made static field buffer in DBFReadAttribute() into a
field in the DBFInfo structure to avoid multi-threading problems.
2006-03-29 Frank Warmerdam <[email protected]>
* dbfopen.c: Fixed bug in DBFCloneEmpty() (treating pachFieldType as
an array of int).
2006-02-08 Frank Warmerdam <[email protected]>
* dbfopen.c: Changed to put spaces into string fields that are NULL
as per http://bugzilla.maptools.org/show_bug.cgi?id=316.
2006-01-26 Frank Warmerdam <[email protected]>
* shpopen.c, shapefil.h, shpdump.c: Added bMeasureIsUsed support as
per http://bugzilla.maptools.org/show_bug.cgi?id=1249
2006-01-04 Frank Warmerdam <[email protected]>
* dbfopen.c/shapefil.h: Added functions to check if dbf record is
deleted, and to mark it as deleted.
2005-02-11 Frank Warmerdam <[email protected]>
* shpopen.c: Check panPartStart[0] is 0 in SHPCreateObject().
* Fixed bug 305 in DBFCloneEmpty() - header length problem.
* Make the pszStringField buffer for DBFReadAttribute() static char
[256] as per bug 306.
2004-09-15 Frank Warmerdam <[email protected]>
* dbfopen.c: treat all blanks as NULL in DBFIsAttributeNULL().
2004-06-23 Frank Warmerdam <[email protected]>
* contrib/shpsort.c: added new contribute program from Eric Miller.
2003-04-07 Frank Warmerdam <[email protected]>
* Issue 1.2.10 Release.
2003-03-10 Frank Warmerdam <[email protected]>
* dbfopen.c: modified DBFWriteAttribute call so that it returns FALSE
if it has to truncate the input value.
2003-01-28 Frank Warmerdam <[email protected]>
* shptree.c: avoid build warnings.
2002-05-07 Frank Warmerdam <[email protected]>
* dbfopen.c: Added DBFWriteAttributeDirectly() from the AVCE00
distribution to simplify AVC integration in GDAL.
* shptree.c: added use of qsort() in place of bubble sort as
submitted by Bernhard Herzog.
2002-04-10 Frank Warmerdam <[email protected]>
* shpopen.c: Added SHPRewindObject() to correct ring winding.
* shprewind.c: New utility program.
2002-03-12 Frank Warmerdam <[email protected]>
* shapelib.def: added DBFWriteNULLAttribute.
2002-01-17 Frank Warmerdam <[email protected]>
* contrib/ShapeFileII.pas: Contributed Delphi Pascal interface
to Shapelib.
2002-01-15 Frank Warmerdam <[email protected]>
* shapelib.h: Added support for SHAPELIB_DLLEXPORT macro, and write
up material attempting to explain the use of SHPAPI_CALL macros.
* dbfopen.c: Compute nHeaderLength in DBFCloneEmpty() instead of
copying it from the source file so we don't have quirks when copying
from files with extra bytes of spacers in the header that don't
themselves get copied properly.
2001-12-07 Frank Warmerdam <[email protected]>
* shpopen.c: Fix fclose() of SHX file if SHX file fails to open.
Should be closing SHP file. Reported by Ben Discoe.
2001-11-28 Frank Warmerdam <[email protected]>
* dbfopen.c: two fixes for compiler warnings as suggested by
Richard Hash.
2001-11-01 Frank Warmerdam <[email protected]>
* shpopen.c/shapefil.h: Move record buffer into SHPInfo so that
different threads can safely access separate files. Other threading
issues may remain.
2001-08-28 Frank Warmerdam <[email protected]>
* Issue Shapelib 1.2.9
* shputils.c: DBFAddField() call should check for -1 return value
for failure.
2001-07-03 Frank Warmerdam <[email protected]>
* shpopen.c: cleanup better if SHX missing, provided by
Riccardo Cohen.
2001-06-21 Frank Warmerdam <[email protected]>
* dbfopen.c: Fixed NULL support with patches from Jim Matthews.
* shpopen.c: Be more careful of establishing initial file bounds in
face of possible NULL shapes.
2001-06-01 Frank Warmerdam <[email protected]>
* dbfopen.c: ensure binary mode open.
2001-05-31 Frank Warmerdam <[email protected]>
* shpopen.c: Add support for writing null shapes.
* dbfopen.c: added DBFGetFieldIndex(), contributed by Jim Matthews.
* dbfopen.c/shapefil.h/dbf_api.h: added support for NULL fields
in .dbf files.
2001-05-28 Frank Warmerdam <[email protected]>
* shpopen.c: add some checking on the record count to ensure it
is reasonable.
2001-05-23 Frank Warmerdam <[email protected]>
* shapefile.h, shpopen.c, dbfopen.c, shptree.c: added the SHPAPI_CALL
macro to allow compilation with _stdcall conventions.
2001-02-06 Frank Warmerdam <[email protected]>
* Fixed a few memory leaks when SHPOpen() fails.
2000-12-05 Frank Warmerdam <[email protected]>
* Fix from Craig Bruce (Cubewerx) for DBFReadAttribute() for
the white space trimming code to avoid reading outside allocated
memory.
2000-11-02 Frank Warmerdam <warmerda@cs46980-c>
* Checked in upgraded shputils.c from Bill Miller.
2000-10-05 Frank Warmerdam <warmerda@cs46980-c>
* Fixed DBFWriteAttribute() to ensure we can't overwrite the
end of the szSField buffer even if the width is set large.
Bug report by Kirk Benell <[email protected]>.
2000-09-25 Frank Warmerdam <warmerda@cs46980-c>
* Added DBFGetNativeFieldType() (contributed by Daniel) to dbfopen.c.
2000-07-18 Frank Warmerdam <warmerda@cs46980-c>
* added better enforcement of -1 for append in SHPWriteObject().
2000-07-07 Frank Warmerdam <warmerda@cs46980-c>
* Added stdlib.h and string.h where needed, and removed lots of
unused variables, mainly from example mainlines at the suggestion
of Bill Hughes.
2000-05-24 Frank Warmerdam <warmerda@cs46980-c>
* Added logic to shpadd to grow vertex lists at the suggestion of
Santiago Nullo <[email protected]>.
2000-05-23 Frank Warmerdam <warmerda@cs46980-c>
* Added checks in dbfopen.c on return result of fseek() and fread().
* Avoid crashing in DBReadIntegerAttribute() or DBFReadDoubleAttribte()
if the field or record are out of range.
2000-03-28 Frank Warmerdam <warmerda@cs46980-c>
* Release as 1.2.8.
* Incorporated a -version-info fix and added mkinstalldirs from Jan.
2000-03-17 Frank Warmerdam <warmerda@cs46980-c>
* Added shared library hack to Makefile.
* Fixed up test scripts to look in ./ for executables.
Wed Feb 16 11:20:29 2000 Frank Warmerdam <[email protected]>
* Release 1.2.7.
* Modified SHPReadObject() so that will return NULL (type 0) shapes
in a sort of sensible way.
Wed Dec 15 08:49:53 1999 Frank Warmerdam <[email protected]>
* Fixed record size written at beginning of records in .shp
file. It was 4 bytes to long (thanks to Mikko Syrja of 3D-system Oy)
* Use atof() instead of sscanf() in dbfopen.c, and add stdlib.h.
Mon Dec 13 12:29:01 1999 Frank Warmerdam <[email protected]>
* Added support for uppercase .DBF extension c/o
Dennis Christopher <[email protected]>
Fri Nov 5 09:12:31 1999 Frank Warmerdam <[email protected]>
* Updated license headers to include the option of use of the code
under the LGPL.
1999-09-15 <warmerda@CS46980-B>
* Added shapelib.dll target to makefile.vc.
Mon May 10 23:19:42 1999 Frank Warmerdam <[email protected]>
* Added candrsn's improvements to extension handling in dbfopen.c
* Added ``raw tuple'' api to dbfopen.c, still not in dbf_api.html.
From candrsn.
Tue May 4 11:04:31 1999 Frank Warmerdam <[email protected]>
* Prepare 1.2.5 release.
* Added support for 'F' fields.