57584 Commits

Author SHA1 Message Date
Matthias Kuhn
61812648a3 Add API to hook into resolveReferences 2019-09-18 09:32:02 +02:00
Sandro Santilli
3225f4911a Make apidoc installation optional when building it on demand
Fixes #31842
2019-09-17 15:18:14 +02:00
Alexander Bruy
27b576c794
Merge pull request #31735 from alexbruy/fix-29663
[processing] add support for WFS as input (fix #29663)
2019-09-17 15:54:48 +03:00
Sandro Santilli
6942b4b93d
Fix endless loop on curve linearization with maxdistance tolerance higher than arc radius (#31838)
* Test curve linearization with higher than sagitta tolerance
* segmentizeArc: keep max distance tolerance below twice the radius

Fixes #31832
2019-09-17 13:58:17 +02:00
Denis Rouzaud
68a78059c0
fix adding/removing classes in graduated renderer widget (#31824) 2019-09-17 11:57:48 +02:00
Matthias Kuhn
b7693d1826
Merge pull request #31793 from Gustry/unittest
use a single comment checking unittest in DB Manager SQL window
2019-09-17 10:46:15 +02:00
nirvn
9f479162e2 [wmst] Fix bad allocation exception with high resolution tiled servers (fixes #30634) 2019-09-17 15:36:32 +07:00
nirvn
6fd7d4b6e6 [browser] Do not show the file properties menu action for non-file items 2019-09-17 13:47:15 +07:00
nirvn
0fcba4ed11 Be on the safe side, check for null message bar pointer 2019-09-17 12:35:52 +07:00
nirvn
74c4f8e3f3 Do not show QtSVG warnings for SVG spec implementation gaps 2019-09-17 12:35:52 +07:00
Alexander Bruy
c7c91de52e fix tests 2019-09-17 08:32:01 +03:00
Nyall Dawson
65ac68bb0b Avoid qt warning on project load when thumbnail doesn't exist 2019-09-17 15:12:25 +10:00
Nyall Dawson
676161762a Expand GNSS and CORS acroynms in proj scope text
(I'm sure I'm not the only one who continually reads CORS as
"Cross-origin resource sharing"!)
2019-09-17 14:34:52 +10:00
Even Rouault
bbaa62af0c test_qgsrasterfilewritertask.py: test failure 2019-09-17 08:58:25 +10:00
Even Rouault
5e70084d32 QgsRasterFileWriter: improve error reporting 2019-09-17 08:58:25 +10:00
Even Rouault
7e3c9d98e2 QgsRasterFileWriter: fix crash when exporting to GS7BG driver (fixes #31775), and detect more potential crashing situations 2019-09-17 08:58:25 +10:00
Matthias Kuhn
dbc80e9a53 Update src/providers/grass/CMakeLists.txt 2019-09-17 08:55:25 +10:00
Matthias Kuhn
e8a66a740a Add dependency on UI if providers are compiled with gui 2019-09-17 08:55:25 +10:00
Even Rouault
e9fdb9cfa3 [OGR provider] Disable OSM_USE_CUSTOM_INDEXING to fix loading of some .osm.pbf files (fixes #31062) 2019-09-17 08:54:05 +10:00
Even Rouault
ae013b0de3
Merge pull request #31811 from rouault/add_pgdump
QgsVectorFileWriter: add PGDUMP output format (fixes #31421)
2019-09-16 20:27:15 +02:00
Even Rouault
cbc86ffc1a
Processing: disable 'open output layer' for write-only formats such as PGDUMP (relates to #31421) 2019-09-16 18:25:16 +02:00
Even Rouault
ec993f2a96
GUI Save as vector layer: disable 'add output layer to canvas' for write-only formats such as PGDUMP (relates to #31421) 2019-09-16 18:24:56 +02:00
Even Rouault
c4c46ae099
QgsVectorFileWriter: add PGDUMP output format (fixes #31421) 2019-09-16 18:24:03 +02:00
Denis Rouzaud
f13e0ebc86
[locator] fix sorting of grouped results (#31797)
when they do not arrive in a sequence
2019-09-16 16:14:51 +02:00
Even Rouault
f9ca96ea85
Merge pull request #31772 from rouault/fix_29212
[GDAL provider] Be more robust to driver being disabled after provider creation (fixes #29212)
2019-09-16 15:10:38 +02:00
Harrissou Sant-anna
eedb3df427 Connect the bookmark editor dialog to the user manual (#31795) 2019-09-16 19:56:53 +07:00
Juergen E. Fischer
2797e46e8f api doc archive is 7z now
[ci skip]
2019-09-16 13:26:08 +02:00
Denis Rouzaud
12ad5fe870
remove duplicated code with single method for QgsVectorLayer::min and max values (#31790) 2019-09-16 13:18:00 +02:00
Matthias Kuhn
fe81e0776a
Merge pull request #31760 from m-kuhn/fixSymbolScopeMissing
Add symbol scope to legend item
2019-09-16 12:49:09 +02:00
Etienne Trimaille
4a8f489722
use a single unittest in DB Manager SQL window 2019-09-16 10:52:35 +02:00
Matthias Kuhn
1b69a99028
Merge pull request #31791 from daniviga/grass78-fedora31
[RPM] Fedora 31 will ship GRASS 7.8
2019-09-16 10:04:18 +02:00
Matthias Kuhn
f347ae709a Add scope 2019-09-16 10:03:39 +02:00
Matthias Kuhn
f4980e47f0 Properly add symbol_label 2019-09-16 09:48:35 +02:00
Borys Jurgiel
e3334b1e65
Merge pull request #31784 from borysiasty/plugininstaller_fix_31783
[Plugin Installer] Only force http icon protocol for http-based repositories
2019-09-16 09:24:04 +02:00
Daniele Viganò
644cc25214
[RPM] Fedora 31 will ship GRASS 7.8 2019-09-16 09:10:08 +02:00
Borys Jurgiel
1aa102815c [Plugin Installer] Only force http icon protocol for http-based repositories. Fixes #31783 2019-09-16 08:30:47 +02:00
nirvn
aa9c53a897 [categorized renderer] When color ramp is set to random, randomize color
of appended categories to pre-existing list when hitting the
classify button (fixes #31579)
2019-09-16 11:45:56 +07:00
Nyall Dawson
393e623ba7 Fix corrupted expressions in filter indicator tooltips 2019-09-16 13:24:23 +10:00
Alexander Bruy
993c6e7b5f [processing] export vector layers which use VSI mechanism (fix #29001) 2019-09-16 11:56:28 +10:00
Alexander Bruy
4861114f2e [processing] force onLayerChanged() call in the
QgsProcessingMapLayerCombobox constructor to setup signals and
feature selection handling with initially selected layer (fix #30636)
2019-09-16 11:55:35 +10:00
Alessandro Pasotti
04f0879ed5 Processing editing in place: handle constraints
Fixes #31634
2019-09-16 10:41:58 +10:00
Fran
3b5ee1ad20 Added myself as a translator 2019-09-16 10:33:38 +10:00
Aleix Pol
ad6465e21d Use CC-BY-3.0
It is unclear to AppStream whether MIT is acceptable for metadata, and it gets
rejected on flathub, use Creative Commons instead:
https://creativecommons.org/licenses/by/3.0/

See https://github.com/hughsie/appstream-glib/issues/320
2019-09-16 06:04:12 +10:00
Even Rouault
e6e829c244
Merge pull request #31768 from rouault/fix_31213
[Postgresql Provider] Fix crash in discoverRelations() on invalid layer (fixes #31213)
2019-09-15 19:02:37 +02:00
Even Rouault
2c71035d62
Merge pull request #31766 from rouault/rasterfilewriter_fixes
QgsRasterFileWriter: assorted set of fixes (might be related to refs #30937)
2019-09-15 15:11:54 +02:00
Even Rouault
7d90d62d2a
Merge pull request #31771 from rouault/fix_30644
Raster export: fix issues with multiband raster and GeoPackage (fixes #30644)
2019-09-15 15:11:33 +02:00
Even Rouault
65359bc7ea
Merge pull request #31764 from rouault/fix_invalid_free_with_ellipsoid_utils
Make sure ellipsoid parameter and definition caches are cleared before app exit (related to #31762)
2019-09-15 14:56:45 +02:00
Even Rouault
2fb45b08e3
[GDAL provider] Be more robust to driver being disabled after provider creation (fixes #29212)
This is still quite a dangerous practice, and this commit is more a band-aid
than a definitive fix.
In case a GDALDataset would hold and use a pointer to the GDALDriver that has
created it (which is not common in GDAL drivers though), crash would occur.
Safer but more involved fixes could be:
- to prevent disabling a driver that is in use
- to post-pone the effect of driver disabling to application restart, or when
  the last dataset using the driver has been closed
2019-09-15 01:11:36 +02:00
Even Rouault
9525deb962
Raster export: fix issues with multiband raster and GeoPackage (fixes #30644)
- Fix guess of appropriate nodata value when comparing stat minimum value and
  output data type minimum value (copy & paste issue)
- When exporting to GeoPackage, do not promote Byte to a larger type, as this
  is unsupported by GeoPackage
- When determining if the output extent is included in the source extent,
  use a tolerance to avoid being to sensitive to rounding issues.
- QgsRasterBlock::setIsNoData() and setIsNoDataExcept(): initialize mData to
  zero when there is no nodata value, to avoid uninitialized/old memory to
  be used when reading bits().
2019-09-15 00:40:03 +02:00
Even Rouault
c3fba1b84b
QgsRasterFileWriter: assorted set of fixes (might be related to refs #30937)
- Lack of error checking on destination provider creation (in saveAsImage mode)
- Wrong computation of number of blocks if dimension is exactly a multiple of
  the block size
- Lack of error checking when writing blocks
- Slow computation of non-premultiplied r,g,b values, and inappropriate use
  of memcpy()
2019-09-14 22:19:24 +02:00