Debian Codegraph @

libs/qCC_io/extern/shapelib/ChangeLog

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