Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release/2.4 #1

Open
wants to merge 532 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
532 commits
Select commit Hold shift + click to select a range
32f9525
Fix emitted pgdump SQL when UNLOGGED=ON
eliask Mar 15, 2019
930c031
typo fixes
rouault Mar 15, 2019
f23365c
Update gdal-bash-completion.sh for gdal_rasterize and gdal_edit
rouault Mar 15, 2019
e8cfc11
Prepare for GDAL 2.4.1
rouault Mar 15, 2019
973bec9
GeoJSONSeq: be more robust to invalid objects, and fixes performance …
rouault Mar 17, 2019
57154f1
FileGDB/OpenFileGDB: be robust when winding order of outer ring is in…
rouault Mar 18, 2019
6785439
Merge pull request #1374 from OSGeo/backport-1373-on-release/2.4
rouault Mar 18, 2019
d42d7dd
ogrmerge.py: add shared='1' to speed-up -single mode with many layers
rouault Mar 19, 2019
318629f
GML/WFS: add minimum support for 'hexBinary' type (as string) (fixes …
rouault Mar 19, 2019
bdab2ff
GPKG: set sqlite3_busy_timeout, handle SQLITE_BUSY during tile read (…
christapley Mar 19, 2019
67b28fb
Merge pull request #1379 from OSGeo/backport-1378-on-release/2.4
rouault Mar 20, 2019
e259722
Elasticsearch: Fix _mapping url
nickpeihl Mar 20, 2019
5a45db5
Fix build --with-curl --without-threads (fixes #1386)
rouault Mar 22, 2019
deef145
CI: avoid CI to run on backport branches
rouault Mar 20, 2019
22fa16e
Fix build on netBSD 8
rouault Mar 22, 2019
4c91a9d
Merge pull request #1387 from OSGeo/backport-1384-on-release/2.4
rouault Mar 22, 2019
8c1b90d
Fix -Wdeprecated-copy GCC 9 warnings
rouault Mar 23, 2019
87755d3
degrib: rewrite code in a more obvious way to fix GCC 9 warning
rouault Mar 23, 2019
0a18376
Suppress warning -Wzero-as-null-pointer-constant
rouault Mar 23, 2019
18e9a1c
Fix warnings in GCC 9 optimized builds about potential string truncat…
rouault Mar 23, 2019
783addc
Add support for Poppler 0.75.0 (fixes #1388)
rouault Mar 26, 2019
efc6cf7
BAG: fix potential nullptr deref on corrupted file
rouault Mar 26, 2019
0ac3eca
HDF5: fix handling of attributes of type SCHAR, UCHAR, USHORT and UINT
rouault Mar 26, 2019
844f6a3
rasterize: fix crash when working buffer is larger than 2GB (fix also…
ajolma Mar 27, 2019
8b3db49
HDF5: fix MSVC2015 warning introduced by 9640098fc79b6ba6bb135f8715fa…
rouault Mar 27, 2019
117d938
Backport #1391 on release/2.4: Fix potential buffer overflow in CPLOD…
backporting[bot] Mar 27, 2019
177fbad
/vsitar/: handle .tar file header with space padding instead of 0 for…
rouault Mar 27, 2019
6c3b2d0
Merge pull request #1392 from ajolma/fix-gvBurnPoint
rouault Mar 28, 2019
4b7a9ef
OGRShapeDataSource::DeleteLayer(): make it delete .cpg, .sbn, .sbx an…
rouault Mar 30, 2019
598427b
OGRShapeDataSource::DeleteLayer(): delete QGIS .qpj sidecar file (re…
rouault Mar 30, 2019
4739304
MRF: prevent integer overflow
rouault Mar 30, 2019
d42d738
MRF: avoid division by zero from previous commit
rouault Mar 31, 2019
157f14e
CI: change pattern for skipped branches of backports
rouault Apr 1, 2019
fb6f0af
OGRSimpleCurve::segmentize(): fix 2.4.1 regression when 2 points are …
rouault Apr 3, 2019
7cb6ca6
WMS: use proper JSon parsing for ESRI MapServer document (fixes #1416)
rouault Apr 4, 2019
98fc146
Merge pull request #1420 from OSGeo/backport-1419-to-release/2.4
rouault Apr 5, 2019
5b9501f
AIGRID / AVCBin: fix filename case adjustment that failed on /vsi fil…
rouault Apr 6, 2019
b711807
PAM: preserve existing metadata when setting new one (fixes #1430)
rouault Apr 9, 2019
4c45e76
Internal libtiff: TIFFWriteEncodedStrip/TIFFWriteEncodedTile: fix rew…
rouault Apr 11, 2019
1078d24
netCDF: avoid inappropriate shift by -360 when attribute axis=X is se…
rouault Apr 12, 2019
4632051
GMLAS: avoid null pointer dereference on some schemas
rouault Apr 14, 2019
997f6a1
WFS3: handle paging wth missing type for rel:next, and better deal wi…
rouault Mar 28, 2019
f1789fc
WFS3: use 'id' attribute of collection items, if 'name' not available
rouault Mar 28, 2019
9273064
RawDataset: use generic RasterIO() implementation when non-nearest re…
rouault Apr 17, 2019
35e18b0
HDF5: detect nodata from netCDF _FillValue; add more strict checks fo…
rouault Apr 17, 2019
fb7b64f
GMLAS: do not use space as separator for schema filename in XSD open …
rouault Apr 17, 2019
ae28342
PDF: avoid possible assertion in PDFium backend on corrupted files
rouault Apr 18, 2019
88fc521
autotest/gdrivers/pdf.py: adjust for pdfium
rouault Apr 10, 2019
4fa6baa
PDS3: add support for ENCODING_TYPE=DCT_DECOMPRESSED (fixes #1457)
rouault Apr 18, 2019
66806cb
/vsicurl/: automatically detect signed URLs where host ends with a po…
rouault Apr 18, 2019
f30026e
OGR_GMT: use file extension based detection to accept files without h…
rouault Apr 19, 2019
fc4fcaf
Python bindings: rename README.txt as README.rst, fix a link and mark…
rouault Apr 20, 2019
02213ab
PDF: add support for Poppler 0.76.0
rouault Apr 21, 2019
1428b1a
ci/travis/trusty_clang/before_install.sh: disable msodbcsql17 install…
rouault Apr 19, 2019
7efbce7
MrSID: fix potential crash when a zoom level cannot be opened
rouault Apr 23, 2019
1000325
plscenesconf.json: add missing fields for PSOrthoTile
rouault Apr 23, 2019
7fefb7e
XYZ: fix regression regarding header lines that are not X,Y,Z (fixes …
rouault Apr 24, 2019
e3337a0
Fix previous commit (refs #1472)
rouault Apr 24, 2019
3895dc3
gdal_contour: remove explicit width/precision=12/3 of the elev field …
rouault Apr 30, 2019
c3d60a7
GTiff: do not generate a TIFFTAG_GDAL_METADATA with color interpretat…
rouault Apr 30, 2019
fb91c16
OGR_PDS: fix heap-buffer-overflow in error code path. Fixes https://b…
rouault Apr 30, 2019
25c839a
EEDA: Bump to v1alpha.
saicheems Apr 24, 2019
d30dd0c
PostgreSQL: do not attempt to create VARCHAR(n) columns with n >= 104…
rouault May 6, 2019
c22948b
ISIS3: fix parsing of lists in JSon metadata, and quote string items …
rouault May 6, 2019
3e8c177
GPKG: change default value of OGR_GPKG_FOREIGN_KEY_CHECK to NO, so as…
rouault May 6, 2019
fa35eb8
Update gdal_calc.py
jw-rs May 7, 2019
cc20682
NITF: fix parsing of SENSRB TRE (fixes #1520)
rouault May 8, 2019
d93d125
Shape: better deal with empty .shp+.shx and SHAPE_RESTORE_SHX (fixes …
rouault May 9, 2019
acbe322
SHPRestoreSHX(): fix crash when .shx file cannot be created (and a me…
rouault May 9, 2019
58a4a80
GXF: avoid closing the file pointer before being sure this is a GXF d…
rouault May 9, 2019
544b7fb
GPKG: fix memory leak in case of corrupted database. Fixes https://bu…
rouault May 11, 2019
c797979
EEDA: fix startTime / endTime comparisons that were incomplete in ref…
rouault May 11, 2019
75e9532
Fix previous commit (refs #1506)
rouault May 11, 2019
00b2492
WaSP: on creation, make sure the layer geometry type set on the featu…
rouault May 15, 2019
dfe7b7f
GeoJSON: fix recognizing some documents with members sorted alphabeti…
rouault May 18, 2019
60d52d3
Travis: use ubuntugis-stable PPA for Trusty since they are no longer …
rouault May 15, 2019
5b7c357
gdal_polygonize.py: fix outputing to geojson without explicit -f swit…
rouault May 20, 2019
a3b9071
GPKG: insert more accurate spatial extent in gpkg_contents
rouault May 21, 2019
98ae646
ENVI: add read support for reading GCPs (#1528), and fix off-by-one o…
rouault May 10, 2019
ba46395
GTiff: make WEBP_LEVEL to be honored in Create() mode (fixes #1594)
rouault May 28, 2019
bd45943
Disable randomly failing test (refs #1594)
rouault May 28, 2019
66bebac
GTiff: fix yesterday regression in which compression parameters are i…
rouault May 29, 2019
f18efef
GDALInvGeoTransform(): make it work with scale and rotation/skew coef…
rouault Jun 5, 2019
6f18213
ES: Set 'application/json' in RunRequest() with POST (fixes #1628)
jbo-ads Jun 10, 2019
decf4b1
Merge pull request #1630 from OSGeo/backport-1629-to-release/2.4
rouault Jun 10, 2019
d1fbcf9
Elasticsearch: GeoJSON type field should be mapped as text in ES>=5
nickpeihl Jun 10, 2019
a2ed4ac
GDALCreateReprojectionTransformerEx(): do not emit error if reverse t…
rouault Jun 17, 2019
32371de
GTiffDataset::PushMetadataToPam(): early exit when PAM is disabled, t…
rouault Jun 18, 2019
33038ab
Warper: fix GDAL 2.3 regression in a situation wih source nodata valu…
rouault Jun 18, 2019
deac7f4
Fix pyflakes issue of previous commit
rouault Jun 18, 2019
10f825e
/vsis3/: for a long living file handle, refresh credentials coming fr…
rouault Jun 7, 2019
b2155cc
VRT Python: also probe libpython3.Xm.so.1.0 (fixes #1660)
rouault Jun 20, 2019
3c35342
/vsicurl/: allow 'Connection timed out' CURL errors as candidate for …
rouault Jun 20, 2019
77de76f
GDALCopyWholeRasterGetSwathSize(): fix potential int overflows for bi…
rouault Jun 21, 2019
af7aeb0
RS2: add half-pixel shift to reported GCP line and column numbers (#1…
an-ivanov Jun 24, 2019
41203f9
/vsicurl/: GetFileSize(): when HEAD request does not return Content-L…
rouault Jun 25, 2019
9334523
Contour generator: fix SegmentMerger list iterator skipping and out o…
dbrookes96 Jun 25, 2019
30fefc6
KEA: return error when deleting metadata item rather than crashing (#…
gillins Jun 26, 2019
66a3ed6
GeoJSON: avoid SetFeature() to repeat first feature when looping over…
rouault Jun 27, 2019
d911149
Fix pyflakes issue (refs #1687)
rouault Jun 27, 2019
93496dd
Shapefile: launder layer name to get Windows compatible filename
rouault Jun 27, 2019
825662d
Prepare for GDAL 2.4.2
rouault Jun 28, 2019
94a32bb
autotest: remove use of deprecate message argument of pytest.raises()…
rouault Jun 29, 2019
ba3c8e5
autotest/requirements.txt: avoid too recent versions of pytest and mo…
rouault Jun 29, 2019
dbc35a6
autotest/requirements.txt: fix previous commit
rouault Jun 30, 2019
963618e
PG: add support for PostgreSQL 12 (fixes #1692)
rouault Jul 2, 2019
458ab9d
XLSX driver: add support for .xlsm extension
rouault Jul 4, 2019
7f3d00d
GetOutputDriverFor(): fixes error #1719 when multiple drivers found
ajnisbet Jul 12, 2019
96f606f
s57objectclasses.csv: add missing TXTDSC attribute for DRYDOC class (…
rouault Jul 16, 2019
b329312
gdalwarp: adjust nodata values, passed with -srcnodata/-dstnodata, an…
rouault Jul 16, 2019
96e5b10
HDF5 and netCDF: fix crash when reading attributes of type string of …
rouault Jul 17, 2019
62c0d21
Avoid crash on test_netcdf_dimension_labels_with_null with too old ne…
rouault Jul 18, 2019
63766b9
appveyor.yml: force installation of SWIG 3.0.12 since the C# bindings…
rouault Jul 16, 2019
ade6de9
USGSDEM: avoid int overflow. Fixes https://bugs.chromium.org/p/oss-fu…
rouault Jul 19, 2019
e9bc15d
PG: be more restrictive when deducing non-nullability of columns in S…
rouault Jul 22, 2019
d96349b
BAG: calculate the northeast pixel corner rather than scaling the res…
Jul 23, 2019
8cd2d2e
OGRExpatRealloc(): fix double-free when size to allocate is above the…
rouault Aug 4, 2019
322a110
osr_metacrs.py: force cleanup of objects to please ASAN
rouault Aug 1, 2019
c5803d2
/vsicrypt/: fix memleak in error code path
rouault Aug 1, 2019
ae33e34
vsicrypt.py: fix memleak
rouault Aug 1, 2019
c21eb72
Travis CI: port gcc52_stdcpp14_sanitize job to Xenial since Precise i…
rouault Jul 31, 2019
2202d1e
Fix failure on test_tiff_read_online_2
rouault Aug 2, 2019
48e7405
Fix sanitize/install.sh
rouault Aug 5, 2019
eeed391
Fix sanitize/install.sh: take 2
rouault Aug 5, 2019
0fa6cd3
Replace a few catch of bad_alloc by exception to handle the case of 3…
rouault Aug 11, 2019
e1874ac
libopencad: CADBuffer: replace m_guard by m_nSize to avoid pointer wr…
rouault Aug 12, 2019
94bd7a0
DGN: avoid size_t overflow / illegal memory access. Fixes https://bug…
rouault Aug 12, 2019
c0655c3
PDF: fix nullptr dereference on corrupted file. Credit to OSS Fuzz
rouault Aug 12, 2019
95f8ab8
SAFE: avoid potential use-after-free. CID 1404037 and 1404140
rouault Aug 14, 2019
b1219eb
Terragen: avoid potential use-after-free on error code path in write_…
rouault Aug 14, 2019
c600601
CTable2Dataset::SetGeoTransform(): fix read buffer overflow from stack
rouault Aug 14, 2019
d4b9fc3
PDF: avoid nullptr dereference on corrupted file. Fixes https://bugs.…
rouault Aug 15, 2019
86af9ba
LIBKML: fix potential memory leak. CID 1404148
rouault Aug 15, 2019
30a944f
MITAB: fix potential double-free. CID 1404224
rouault Aug 15, 2019
0e5b363
MITAB: avoid potential nullptr deref. CID 1404174
rouault Aug 15, 2019
b2f6652
Internal libtiff: backport security related fixes
rouault Aug 17, 2019
818ed17
PDF: fix potential heap buffer overflow. Fixes https://bugs.chromium.…
rouault Aug 19, 2019
3b66efc
PDF: fix potential nullptr deref on corrupted file. Fixes https://bug…
rouault Aug 20, 2019
de66f00
/vsitar/: support >100 character file names (fixes #1559)
rouault May 23, 2019
d96ba1b
/vsitar/: accept space as end of field terminator
rouault Aug 21, 2019
6e574b5
PDF: fix nullptr dereference on corrupted file. Fixes https://bugs.ch…
rouault Aug 25, 2019
5b2ea12
Fix issues with thread_local and C++ objects that don't work well wit…
rouault Sep 4, 2019
85ed3f8
GPX: fix memory leak when streaming to /vsistdout/
rouault Sep 6, 2019
327f913
GTiff: make sure that GetMetadataDomainList() doesn't return EXIF whe…
rouault Sep 10, 2019
75907bd
PDF: avoid potential integer division by zero. Fixes https://bugs.chr…
rouault Sep 11, 2019
e4c6c10
ENVI: preserve 'byte order' on update (fixes #1796)
rouault Sep 14, 2019
240b50b
Memory corruption due to wrong condition logic
an-ivanov Sep 18, 2019
bbcc03c
Add VSIOverwriteFile()
rouault Sep 17, 2019
be5e592
Shapefile driver: use VSIOverwriteFile()
rouault Sep 18, 2019
cbd05da
GeoJSON driver: use VSIOverwriteFile() to fix update of file on Windo…
rouault Sep 17, 2019
bb9bc59
JP2OpenJPEG: fix reading overviews, when tiled API is used, and the d…
rouault Sep 19, 2019
adf7f15
WFS3: correctly handle user query string parameters in connection URL…
rouault Sep 19, 2019
08399af
Add autotest/gdrivers/data/513x513.jp2 that should have gone with ed5…
rouault Sep 19, 2019
e7f351e
OGR SQLite: do not propagate 'IS / IS NOT value' constructs to OGR SQL
rouault Sep 26, 2019
ffc0ed8
JP2OpenJPEG: correctly set coordinates to opj_set_decode_area() on ov…
rouault Sep 26, 2019
44bf617
USGSDEM: fix reading FEMA generated Lidar datasets whose header is 91…
rouault Sep 30, 2019
bad858f
OpenJPEG: fix to return the proper number of bytes read when we read …
rouault Oct 3, 2019
3f69261
VRT: avoid erroneous pixel request do be done with KernelFilteredSource
rouault Oct 4, 2019
8d2a370
gcore: fix non-neareset resampling over nodata blocks (fixes #1941) (…
battisti-engineer Oct 18, 2019
5fd97be
PDF: fix reading polygon with holes and Bezier curves (fixes #1932)
rouault Oct 16, 2019
3250771
PDF vector: fix reading strings with escape sequences
rouault Oct 19, 2019
e29375d
OGRSimpleCurve::getPoints() with XYZM: fix wrong stride used for M array
rouault Oct 21, 2019
68eba53
OGRSimpleCurve: fix reversePoints() and addSubLineString() to take in…
rouault Oct 21, 2019
3c9a2dc
JPEG: fix further calls to RasterIO after reading full image at full …
rouault Oct 23, 2019
5005679
JP2KAK: fix issue with multi-threaded reads
tbonfort Oct 23, 2019
753f0e2
Prepare for GDAL 2.4.3
rouault Oct 28, 2019
91f07b5
PDS: fix opening of datasets with BSQ organization (or single band), …
rouault Oct 28, 2019
e1e63ba
IRIS: make identification more restrictive to avoid false-positive id…
rouault Oct 28, 2019
33bdc43
OGRLinearRing::isPointOnRingBoundary(): fix incomplete test that coul…
rouault Oct 31, 2019
fc29798
nasakeywordhandler: fixes to be able to read some labels with metadat…
rouault Nov 2, 2019
d8c9b28
Contour algorithm: fix (over) precision issue when comparing pixel va…
rouault Nov 11, 2019
c085030
tif_ojpeg.c: fix regression of https://gitlab.com/libtiff/libtiff/iss…
rouault Nov 12, 2019
9af4aa1
/vsicurl (and derived filesystems): fix concurrency issue with multit…
rouault Nov 12, 2019
4ee512d
Multithreaded warper: make sure a transformer object is used by the t…
rouault Nov 12, 2019
fec6c93
VRT warp: do not fail if a block has no corresponding source pixels (…
rouault Nov 12, 2019
6e83a20
gdalwarpkernel.cpp: fix build broken by previous backport
rouault Nov 13, 2019
abe7fd5
Block cache: fix corruption on multithreaded write on datasets (fixes…
rouault Nov 13, 2019
fa6668f
VRT: fix requesting a downsampling version of the mask band of a sour…
rouault Nov 14, 2019
71ce9ef
VRT: refactor previous commit to avoid code duplication. No functiona…
rouault Nov 14, 2019
f80e9b8
VRT: complementary fix for refs #2018
rouault Nov 15, 2019
eec2ce0
Update cache calculation in gdal2tiles.py
EvertEt Nov 15, 2019
92e0a99
GRIB2: do not do erroneous K->C unit conversion for derived forecasts…
rouault Nov 16, 2019
6c47d6a
GRIB: update GRIB tables to degrib 2.24
rouault Nov 20, 2019
fe53a77
metaname.cpp: fix typo
rouault Nov 20, 2019
2fa4d39
degrib: add missing entries in MeteoAtmoChem table
rouault Nov 20, 2019
7f57f48
GRIB: add more values from Table 4.5 in Surface type table
rouault Nov 20, 2019
7c57de9
GRIB: add support for template 4.48 Optical Properties of Aerosol
rouault Nov 20, 2019
b3ad2df
ElasticSearch: translate constructs like CAST(field_name AS CHARACTER…
rouault Nov 21, 2019
042ee2f
ElasticSearch: tranlate as well filters like CAST(field_name AS CHARA…
rouault Nov 21, 2019
58be2f1
GRIB: degrib: avoid erroneous K->C conversion for Dew point depression
rouault Nov 22, 2019
b25599b
GRIB: fix out-of-buffer read on corrupted files added recently in 3ef…
rouault Nov 23, 2019
b5456b3
PDF: fix crash on corrupted file. Fixes https://bugs.chromium.org/p/o…
rouault Nov 26, 2019
3b33e5b
SQLite dialect: fix issue when using JOIN on a layer without fast fil…
rouault Dec 1, 2019
d2e555e
GTF: remove tests and docs (refs #2050)
rouault Dec 5, 2019
ca9a77b
RPC transformer: test success code of GDALRPCTransform() in GDALCreat…
rouault Dec 30, 2018
081bf71
PDF: fix use-after-free on some corrupted PDF files. Fixes https://bu…
rouault Dec 12, 2019
be32e42
XLSX: avoid Invalid-enum-value error. Fixes https://bugs.chromium.org…
rouault Dec 12, 2019
8ac7e54
VRT: avoid Invalid-enum-value behaviour. Fixes https://bugs.chromium.…
rouault Dec 13, 2019
0dca675
Fix compilation
rouault Dec 13, 2019
b233548
DXF: fix handling of SPLINE whose first knot is at a very very close …
rouault Dec 15, 2019
8ae9e1e
Commit forgotten file
rouault Dec 15, 2019
ed3ac13
OGRGeometryFactory::ForceTo(): fix crash when forcing a MultiPolygon …
rouault Dec 18, 2019
888775c
GDALUnrolledCopy<GByte,2,1>: fix SSE2-only implementation
rouault Dec 30, 2019
a271dab
COASP: fix crash on invalid filename. Fixes https://bugs.chromium.org…
rouault Dec 30, 2019
9a7fc8e
GeoJSONSeq & TopoJSON: avoid false positive detection and errors on u…
rouault Jan 4, 2020
a73afe3
CAD: Fix read ellipse and arc (fix #1886).
BishopGIS Jan 5, 2020
2bd7c6a
CAD && SQLite: Removed unnecessary header include and changed strnlen…
BishopGIS Jan 5, 2020
df645e2
WFS: skip silently GeoServer EPSG:404000 dummy CRS
rouault Jan 5, 2020
5204c9e
HFA: fix writing of compressed file when a RLE run count is in the [0…
rouault Jan 6, 2020
cc27493
gdal_fillnodata.py/GDALFillNodata: fix crash when smooth_iterations i…
rouault Jan 7, 2020
9b3d44b
Fix gdal2tiles max cache setting
EvertEt Dec 16, 2019
b9cab5b
Internal libtiff: tif_ojpeg.c: complementary fix for libtiff 4.1.0 re…
rouault Jan 7, 2020
b513e30
PDF: fix build against Poppler 0.82.0dev
rouault Sep 29, 2019
9df7a1c
PDF: fix build against Poppler 0.82.0dev
rouault Oct 22, 2019
a8eb15f
PDF: fix build against Poppler 0.83.0dev
rouault Nov 13, 2019
fbb9a62
PDF: fix to build against latest Poppler master (0.83dev)
rouault Nov 26, 2019
9fe5e1e
Prepare for GDAL 2.4.4
rouault Jan 8, 2020
8504799
PDF: fix null pointer dereference or infinite recursion/stack overflo…
rouault Jan 11, 2020
9a6b35c
RasterLite2: fix build against latest librasterlite2
rouault Jan 11, 2020
b9c3b5a
MITAB: cleanup management of update flag (fixes #2170)
BishopGIS Jan 16, 2020
6bb8ced
GDALDataset::CopyLayer(): fix crash when using DST_SRSWKT option. And…
rouault Feb 11, 2020
c136425
GNMGenericNetwork::CopyLayer(): fix memory leak related to previous c…
rouault Feb 11, 2020
b926d21
GDALRasterizeGeometries(): fix potential integer overflow / memory al…
rouault Feb 20, 2020
951ef33
Degrib: avoid potential int overflow / out-of-bounds access on large/…
rouault Feb 27, 2020
36ebc5b
BMP: fix reading on big-endian hosts
rouault Feb 27, 2020
2c55daf
NITF: avoid potential stack read buffer overflow. Fixes https://bugs.…
rouault Mar 3, 2020
d25cf84
/vsigz/: fix seeking within .gz/.tgz files larger than 2 GB (fixes #2…
rouault Mar 13, 2020
f4fc68b
cpl_vsil_hdfs.cpp: fix build with clang, and fix other warnings (fixe…
rouault Mar 16, 2020
748f7fd
Travis: fix link to kealib
rouault Mar 16, 2020
107a899
VRT pansharpening: fix crash when NoData is set and input multispectr…
rouault Mar 20, 2020
66d0423
GRIB2: add support for rotated lat-lon grids
rouault Mar 22, 2020
16363d9
JP2KAK and JP2OPENJPEG: fix to read images whose origin is not (0,0)
rouault Mar 25, 2020
c9637d0
gdaldem: avoid potential integer overflow in color-relief mode (fixes…
rouault Mar 27, 2020
68b206c
GML: fix axis order issue when decoding AIXM ElevationPoint (fixes #2…
rouault Mar 27, 2020
cab3d46
DXF writer: Re-add some header and trailer elements (fixes #1213)
atlight Mar 28, 2020
ba636c5
GML: fix axis order issue with gml:CircleByCenterPoint and gml:ArcByC…
rouault Mar 28, 2020
16b18b6
GML: fix handling of angles with ArcByCenterPoint and urn:ogc:def:crs…
rouault Mar 29, 2020
1079c7f
GWKAverageOrModeThread(): reject invalid source pixels for average/q1…
rouault Apr 1, 2020
6d2fe5a
VRT: fix IGetDataCoverageStatus() that can cause issue for the use ca…
rouault Apr 2, 2020
0a9d75f
Fix previous commit by adding required include
rouault Apr 2, 2020
b8c95fb
OGRGeometryFactory::forceToMultiLineString(): fix for a GeometryColle…
rouault Apr 5, 2020
bc3b3c3
ESRIJSon: do not require a 'geometry' member to be present in a feature
rouault Apr 7, 2020
c7af868
GML geometry parsing: improve handling of closed Ring starting with a…
rouault Apr 7, 2020
b291f0e
Python bindings: fix invalid check for Dataset.ReadAsArray(buf_obj=so…
rouault Apr 10, 2020
ffdc786
GDALContourGenerate(): propagate raster acquisition error (fixes #2410)
rouault Apr 15, 2020
f9021d5
netCDF: fix issue when opening /vsicurl/http[s]://example.com/foo.nc …
rouault Apr 16, 2020
8f131a3
GTiff: avoid crash on single-component file with Whitepoint and Prima…
rouault Apr 19, 2020
e5fdd26
BAG: Backward compatibility for metadata reading for BAG < 1.5 (#2428)
txantxangorriak Apr 21, 2020
72641bd
.travis.yml: disable notifications as they are probably more spam tha…
rouault May 6, 2020
c421ccc
PDF: add support for poppler 0.85.0dev
rouault Jan 8, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@
.cproject
.idea
.vscode
.vs

# Python
__pycache__/
.env*/
.venv*/
28 changes: 16 additions & 12 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
# This is the config file for building GDAL and running its autotest suite
# with Travis-ci.org

branches:
except:
- /^(cherry-pick-)?backport-\d+-to-/

matrix:
fast_finish: true
include:
Expand Down Expand Up @@ -88,13 +92,13 @@ matrix:
compiler: gcc
language: cpp
sudo: required
dist: precise
dist: xenial
cache:
apt: true
directories:
- $HOME/.ccache
env:
- BUILD_NAME=gcc52_stdcpp14_sanitize
- BUILD_NAME=sanitize
- DETAILS=""
- os: linux
compiler: gcc
Expand Down Expand Up @@ -162,13 +166,13 @@ install:
script:
- ./gdal/ci/travis/${BUILD_NAME}/script.sh

notifications:
email:
recipients:
- [email protected]

irc:
channels:
- "irc.freenode.org#gdal"
use_notice: true
on_success: change
# notifications:
# email:
# recipients:
# - [email protected]
#
# irc:
# channels:
# - "irc.freenode.org#gdal"
# use_notice: true
# on_success: change
16 changes: 14 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ gdalinfo --version
Run autotest suite:
```
cd ../autotest
python run_all.py
pip install -r requirements.txt
pytest
```

Git workflows with GDAL
Expand Down Expand Up @@ -83,7 +84,15 @@ git rebase origin/master

# At end of your work, make sure history is reasonable by folding non
# significant commits into a consistent set
git rebase -i master (use fixup for example to merge several commits together)
git rebase -i master (use 'fixup' for example to merge several commits together,
and 'reword' to modify commit messages)

# or alternatively, in case there is a big number of commits and marking
# all them as 'fixup' is tedious
git fetch origin
git rebase origin/master
git reset --soft origin/master
git commit -a -m "Put here the synthetic commit message"

# push your branch
git push my_user_name my_new_feature_branch
Expand All @@ -103,7 +112,10 @@ Backporting bugfixes from master to a stable branch
git checkout master
With git log, identify the sha1sum of the commit you want to backport
git checkout 2.2 (if you want to backport to 2.2)
git pull origin 2.2
(git checkout -b branh_name: if you intend to submit the backport as a pull request)
git cherry-pick the_sha1_sum
git push ...
```
If changes are needed, do them and ```git commit -a --amend```

Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ GDAL - Geospatial Data Abstraction Library
[![Build Status](https://travis-ci.com/OSGeo/gdal.svg?branch=master)](https://travis-ci.com/OSGeo/gdal)
[![Build status](https://ci.appveyor.com/api/projects/status/jtwx0pcr0y01i17p/branch/master?svg=true)](https://ci.appveyor.com/project/OSGeo/gdal)
[![Build Status](https://scan.coverity.com/projects/749/badge.svg?flat=1)](https://scan.coverity.com/projects/gdal)
[gdalautotest coverage](https://gdalautotest-coverage-results.github.io/coverage_html/index.html)

| Tested configurations |
| ------------------------ |
Expand Down
2 changes: 1 addition & 1 deletion Vagrantfile
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
"mingw-w64-tools",
"gdb-mingw-w64-target",
"libgeos-mingw-w64-dev",
"libproj-mingw-w64-dev",
#"libproj-mingw-w64-dev",
"cmake3-curses-gui",
"gdb",
"gdbserver",
Expand Down
16 changes: 10 additions & 6 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@

branches:
except:
- /(cherry-pick-)?backport-\d+-to-/

environment:
matrix:
- APPVEYOR_BUILD_WORKER_IMAGE: Visual Studio 2017
Expand Down Expand Up @@ -63,7 +67,8 @@ install:
Install-Module Pscx -AllowClobber
Install-Module VSSetup -Scope CurrentUser
# Install SWIG and VC for Python2.7 by Choco
cinst -y --no-progress swig vcpython27
cinst -y --no-progress --version 3.0.12 --force swig
cinst -y --no-progress vcpython27
Import-VisualStudioVars -VisualStudioVersion $env:VS_VER -Architecture $env:ARCHITECTURE
exec { pip install numpy }
$env:SDK_ZIP="$env:SDK"+"-dev.zip"
Expand Down Expand Up @@ -105,10 +110,8 @@ install:
$env:NMAKE_LOCAL+="LIBKML_LIBS=`$(SDK_LIB)\libkmlbase.lib `$(SDK_LIB)\libkmlconvenience.lib `$(SDK_LIB)\libkmldom.lib `$(SDK_LIB)\libkmlengine.lib `$(SDK_LIB)\libkmlregionator.lib `$(SDK_LIB)\libkmlxsd.lib `$(SDK_LIB)\expat.lib `$(SDK_LIB)\zdll.lib`n"
$env:NMAKE_LOCAL+="POPPLER_ENABLED = YES`n"
$env:NMAKE_LOCAL+="POPPLER_CFLAGS = -I`$(SDK_INC) -I`$(SDK_INC)\poppler`n"
$env:NMAKE_LOCAL+="POPPLER_HAS_OPTCONTENT = YES`n"
$env:NMAKE_LOCAL+="POPPLER_0_20_OR_LATER = YES`n"
$env:NMAKE_LOCAL+="POPPLER_0_23_OR_LATER = YES`n"
$env:NMAKE_LOCAL+="POPPLER_BASE_STREAM_HAS_TWO_ARGS = YES`n"
$env:NMAKE_LOCAL+="POPPLER_MAJOR_VERSION = 0`n"
$env:NMAKE_LOCAL+="POPPLER_MINOR_VERSION = 30`n"
$env:NMAKE_LOCAL+="POPPLER_LIBS = `$(SDK_LIB)\poppler.lib `$(SDK_LIB)\freetype.lib `$(SDK_LIB)\harfbuzz.lib advapi32.lib gdi32.lib`n"
$env:NMAKE_LOCAL+="OPENJPEG_ENABLED = YES`n"
$env:NMAKE_LOCAL+="OPENJPEG_CFLAGS = -I`$(SDK_INC)\openjpeg-2.1`n"
Expand Down Expand Up @@ -155,7 +158,8 @@ test_script:
cd $env:APPVEYOR_BUILD_FOLDER\autotest\cpp
exec { nmake /f makefile.vc check MSVC_VER=$env:MSVC_VER $env:WIN64_ARG }
cd $env:APPVEYOR_BUILD_FOLDER\autotest
exec { python run_all.py }
exec { pip install -Ur requirements.txt }
exec { pytest -vv }
cd $env:APPVEYOR_BUILD_FOLDER\gdal\swig\csharp
exec { nmake /f makefile.vc test}

Expand Down
14 changes: 7 additions & 7 deletions autotest/GNUmakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,25 +2,25 @@ all:
@echo "Run 'make -j test'"

gcore-test:
python run_all.py gcore
pytest gcore

gdrivers-test:
python run_all.py gdrivers
pytest gdrivers

alg-test:
python run_all.py alg
pytest alg

osr-test:
python run_all.py osr
pytest osr

ogr-test:
python run_all.py ogr
pytest ogr

utilities-test:
python run_all.py utilities
pytest utilities

pyscripts-test:
python run_all.py pyscripts
pytest pyscripts

test check:
@$(MAKE) $(MFLAGS) gcore-test gdrivers-test alg-test ogr-test osr-test utilities-test pyscripts-test
15 changes: 0 additions & 15 deletions autotest/README

This file was deleted.

56 changes: 56 additions & 0 deletions autotest/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
# GDAL test suite


## How to run tests

1. You need to install `pytest` to run the test suite. This should do it:

```bash
cd autotest
pip install -r ./requirements.txt
```

2. Then, run tests with:

```bash
pytest
```

3. Some quick usage tips:

```bash
# get more verbose output; don't capture stdout/stdin
pytest -vvs

# run all the gcore tests
pytest gcore/

# run a particular module only
pytest gcore/basic_test.py
```


## GDAL's tests are not independent

GDAL's test functions are not currently independent of each other. In particular, running individual test functions from a given module may not work. Most tests were originally written with the assumption that entire modules will be run at once.

Practically, this means that you should avoid using:


* pytest's `--last-failed` / `--lf` option (since it runs only failed tests, not the whole module)
* test specifiers that run individual tests (e.g. `pytest gcore/basic_test.py::test_basic_test_1` )
* the xunit plugin to run tests in parallel, unless you also use `--dist=loadfile`. (This may have other issues; untested)

This will hopefully be addressed in the future. When writing new tests, please try to make them independent of each other.


## Notes about availability of GDAL sample and test data

The GDAL Team makes every effort to assure that all sample data files
available from GDAL download server (http://download.osgeo.org/gdal/data/) and
test data files used in GDAL Autotest package (https://github.com/OSGeo/gdal/tree/master/autotest)
are available as public and freely redistributable geodata.

--

http://gdal.org/
Empty file added autotest/alg/__init__.py
Empty file.
Loading