55976 Commits

Author SHA1 Message Date
Denis Rouzaud
6dfe113d67 do not hold a pointer to an QGraphicsItem within a QGraphicsItem
since map canvas is deleting them all, this is causing a crash when trying to delete the already deleted item in the parent item
2019-06-19 16:20:32 +02:00
Denis Rouzaud
9c76524da7 do not use unique_ptr for QGraphicsItem
since the ownership of the item is transferred to the scene
this leads to a crash when deleting the object holding the pointer

since the ownership is transferred back when removing the item, one should
take care of resetting the pointer no canvas deletion

this should fix #28962
2019-06-19 16:20:12 +02:00
Alessandro Pasotti
9868d86f0d Reference file for regression 30264 2019-06-19 15:49:59 +02:00
Alessandro Pasotti
6cfc7b09bd Server WMS getcapabilities wrong bbox in case of empty layers
... and different CRS

Fixes #30264
2019-06-19 15:46:51 +02:00
Denis Rouzaud
6051c7b4b6 put back QT_SELECT 2019-06-18 22:32:32 +02:00
Denis Rouzaud
bf10738d2f remove ENV CC et CXX variables from base docker images
since they prevent to be used as a build arg in final image
2019-06-18 22:12:21 +02:00
lbartoletti
c3f5f71752 more tests 2019-06-19 05:19:10 +10:00
lbartoletti
a022cbb21b Fix reshape for snapped point with Z and add test 2019-06-19 05:19:10 +10:00
Denis Rouzaud
60415a8eb9 also push build deps images when building final images
for Disco images, otherwise never pushed
2019-06-18 17:33:17 +02:00
Denis Rouzaud
8474a54927 build Disco Docker image with GCC
freeze happens with clang when building the bindings
2019-06-18 16:58:11 +02:00
Martin Dobias
f319235b28 Fix handling of relative paths for XYZ tiles using file:/// URLs
XYZ tiles raster layer supports usage of file-based URLs, so it should also support saving of URLs as relative paths in project files.
2019-06-18 14:59:18 +02:00
Matthias Kuhn
884dff6eeb
Merge pull request #30253 from m-kuhn/set_status_tip
Synchronize status bar messages
2019-06-18 13:36:56 +02:00
Matthias Kuhn
242c9fcfba Fix setStatusTip
Fixes #30249
2019-06-18 07:20:27 +02:00
Juergen E. Fischer
bff757a518 update crash reports for github 2019-06-17 23:57:49 +02:00
Martin Dobias
127fe3cf37 Tweak vertex markers so that they are not filled
The rationale is that vertices are more difficult to see when they
are behind the markers and people liked that in 2.x they were
without internal fill.
2019-06-18 06:20:38 +10:00
Jorge Gustavo Rocha
cd8f2f1e00 Fix attribute table shortcuts when docked [needs-docs]
Closes #29633, fix #29945
2019-06-18 06:19:27 +10:00
Matthias Kuhn
24e56a810c
Merge pull request #30176 from jgrocha/redmine2github
References to issues.qgis.org updated
2019-06-17 11:34:12 +02:00
Nyall Dawson
c3f98ebfce [processing] Prevent dropping layers of known incompatible types from browser to
map layer parameters
2019-06-17 18:17:10 +10:00
Nyall Dawson
de672e3127 Allow storing layer WKB type in QgsMimeDataUtils::Uri 2019-06-17 18:17:10 +10:00
Nyall Dawson
83759f1631 Correctly ignore unwanted drag events in QgsMapLayerComboBox 2019-06-17 18:17:10 +10:00
Juergen E. Fischer
72af468228 translation string fixes 2019-06-17 09:40:29 +02:00
Nyall Dawson
260dc91829 Use mouse press to trigger label map tools instead of release
Eases the transition from the click-and-drag behaviour, because
clicking and holding will still start the movement.
2019-06-17 17:11:57 +10:00
Matthias Kuhn
ebfce9b3ec
Merge pull request #30198 from jgrocha/add--version-cli-option
[needs-docs] Add --version|-v cli option to qgis executable
2019-06-17 07:46:41 +02:00
Juergen E. Fischer
62b24064a2 wfs provider: fix invalid feature id assignment (fixes #29146) 2019-06-17 01:15:08 +02:00
Juergen E. Fischer
56ad4a69b4 dxf/dwg import: revert some formatting changes from 2f3646a14 2019-06-17 01:14:58 +02:00
Harrissou Sant-anna
954e77ea5a Add tooltip to file selector widget
to avoid people trying to directly save files in installation folder
2019-06-17 08:49:52 +10:00
Nyall Dawson
0389ebeab5 Fix collecting geometries when one of the added geometries is already multi-part
Fixes #30208
2019-06-17 06:27:36 +10:00
Nyall Dawson
b8dcafbf10 [processing] Fix missing default value for Select by Expression
Fixes #30218
2019-06-17 06:27:17 +10:00
Nyall Dawson
52d22b8050 QgsDataSourceURI doxygen improvements 2019-06-16 10:00:59 +10:00
Alex
a02a4ede6e Allow calculating aggregates using a subset of fids only 2019-06-16 07:00:26 +10:00
Tamas Szekeres
6c6c145590 Fix writing geometries with M values, adding tests for Z/M/ZM geometries 2019-06-15 15:16:42 +10:00
Tamas Szekeres
01112bdd43 fix indentation 2019-06-15 15:16:42 +10:00
Tamas Szekeres
3196b0268f Fix indentation 2019-06-15 15:16:42 +10:00
Tamas Szekeres
7d1b0cb70b Adding test for curve geometries 2019-06-15 15:16:42 +10:00
Tamas Szekeres
2dc40ae039 Fix compoundcurve parser 2019-06-15 15:16:42 +10:00
Tamas Szekeres
68a5d1a994 Fix creating layers with curve geometries 2019-06-15 15:16:42 +10:00
Tamas Szekeres
31162ad128 Fix indentation 2019-06-15 15:16:42 +10:00
Tamas Szekeres
2e398f432d Improve the performance of reading linestrings 2019-06-15 15:16:42 +10:00
Tamas Szekeres
861ab7a9fd Drop function headers from the parser code 2019-06-15 15:16:42 +10:00
Tamas Szekeres
abc392213e Apply 'm' prefix for class member variables instead of the hungarian notations. 2019-06-15 15:16:42 +10:00
Tamas Szekeres
d62bc00528 Remove const qualifiers from public declarations 2019-06-15 15:16:42 +10:00
Tamas Szekeres
58f8e7658c Strip nullptr inequality check 2019-06-15 15:16:42 +10:00
Tamas Szekeres
70ae6362de Rename 'foo' to something meaningful 2019-06-15 15:16:42 +10:00
Tamas Szekeres
95ab580178 Apply lower case to member functions for the mssql driver 2019-06-15 15:16:42 +10:00
Tamas Szekeres
941e3ffd1a Fix indentation issues 2019-06-15 15:16:42 +10:00
Tamas Szekeres
7b69172ede strip extra qualification 2019-06-15 15:16:42 +10:00
Tamas Szekeres
4869499a0a Limit the mssql geography spatial filter to valid coordinates 2019-06-15 15:16:42 +10:00
Tamas Szekeres
38659fbbc2 Rework MSSQL parser to support v2 geometries (fixes #22041) 2019-06-15 15:16:42 +10:00
Nyall Dawson
b25fa7a2e3 Try to fix crash on travis 2019-06-15 15:05:48 +10:00
Nyall Dawson
fbd243be65 [processing] Port map layer selection combobox widget to c++
And:

- fix enable state of selected features only after changing between
map layers with/without selections
- fix state of selected features only when running an algorithm
from the history list, e.g. respect original setting for
selected features only (or not)
- ensure no duplicate changed signals are sent, and correctly
emit changed signals in all applicable circumstances
- handle drag and dropped layers from browser panel (UX fix)
- soak with unit tests
2019-06-15 15:05:48 +10:00