43041 Commits

Author SHA1 Message Date
Blottiere Paul
861e05b406 Merge pull request #5376 from pblottiere/dirty
[FEATURE] Add a flag to dirty edit buffer when using executeSql in transactions
2017-10-26 07:07:14 +01:00
David
69f069a353 spelling stuff 2017-10-26 07:10:30 +02:00
Nyall Dawson
611dca4a30 Merge pull request #5100 from Gustry/crs_description
add CRS description in the layer_property expression
2017-10-26 14:11:23 +11:00
Nyall Dawson
4021c30005 Merge pull request #5286 from DelazJ/toolswitch
Enable display of selection tools in Attribute toolbar
2017-10-26 13:36:40 +11:00
Nyall Dawson
089fa36169 Merge pull request #5285 from DelazJ/patch-1
Add source files location
2017-10-26 13:31:02 +11:00
Nyall Dawson
d8775fca55 Merge pull request #5398 from DelazJ/DelazJ-patch-1
[DB Manager] Set correct dialog alignment
2017-10-26 12:59:31 +11:00
Nyall Dawson
55203a0fc2 Merge pull request #5359 from nyalldawson/primitive
Rename (and make safe) QgsGeometry::geometry()
2017-10-26 11:04:34 +11:00
Nyall Dawson
93f8abecaa Merge pull request #5423 from nyalldawson/gdal_ptr
Implement scoped pointers for gdal handled objects
2017-10-26 11:02:22 +11:00
Nyall Dawson
a2f380b2bd Add missing override 2017-10-26 09:13:08 +10:00
Nyall Dawson
5300f69c24 Fix doxygen warning 2017-10-26 09:11:42 +10:00
Nyall Dawson
3888192e43 Fix geometry checker relying on corrupting geometries to fix them
Geometry checker was editing geometries in place, which potentially
was corrupting other implicitly shared copies of these geometries.
2017-10-26 09:09:41 +10:00
Nyall Dawson
837c1c56eb Fix tests 2017-10-26 08:44:38 +10:00
Nyall Dawson
332215c85f Safer GDAL delete and close of datasets, which doesn't leak
and works on Windows

See
d024910490 (commitcomment-25194282)
2017-10-26 08:37:06 +10:00
Nyall Dawson
8eb919e5cd Explicitly close gdal dataset handles as early as possible 2017-10-26 08:23:04 +10:00
Matthias Kuhn
bb8bad06c0 Merge pull request #5437 from m-kuhn/pgquick
[postgres] respect empty FilterFids list
2017-10-26 00:18:27 +02:00
Nyall Dawson
052688cb86 Fix crash when creating new rasters 2017-10-26 08:12:12 +10:00
Nyall Dawson
63e6cda6f3 Fix build, tests 2017-10-26 08:12:11 +10:00
Nyall Dawson
7455c2f912 More gdal scoped pointer types 2017-10-26 08:12:11 +10:00
Nyall Dawson
317228a006 Fix build 2017-10-26 08:12:11 +10:00
Nyall Dawson
4f4681aeb6 Implement scoped pointers for gdal handled objects 2017-10-26 08:12:11 +10:00
Nyall Dawson
a9f8e60064 Merge pull request #5428 from lbartoletti/triangleGML
ADD GML export to QgsTriangle
2017-10-26 08:38:10 +11:00
Nyall Dawson
72321c97ac Fix build warning 2017-10-26 07:36:51 +10:00
Nyall Dawson
c70a47e249 Update API break docs 2017-10-26 07:06:34 +10:00
Nyall Dawson
c50ee6d42f Update python code to new API 2017-10-26 07:06:34 +10:00
Nyall Dawson
00e869039b Replace use of qt methods with std equivalents 2017-10-26 07:06:34 +10:00
Nyall Dawson
1d01d4bc5d Remove use of QSharedPointer/QScopedPointer 2017-10-26 07:06:34 +10:00
Nyall Dawson
70361063d8 Rename QgsGeometry::geometry as QgsGeometry::get()
Because feature.geometry().geometry() is confusing, and impossible
to search for in python code (e.g. is input.geometry() a QgsGeometry
or a QgsAbstractGeometry?)

But more importantantly: also add a const version
QgsGeometry::constGet(). The non-const
version is slow, since it now forces a detach to avoid corrupting
geometries (since QgsGeometry is shared, it's not safe to directly
access its primitive QgsAbstractGeometry and start messing with
it without first detaching). This is a big risk in the 2.x API
which could potentially corrupt feature geometries with unexpected
outcomes.

Update all uses to constGet where possible.
2017-10-26 07:06:34 +10:00
lbartoletti
650a1227b6 Avoid crash when export as GML an empty geometry 2017-10-25 22:22:07 +02:00
Nyall Dawson
a89dfde91b Remember whether project file exists and don't continually recheck
Because that's slow for network paths. Instead only check once,
and add a menu option to refresh and force re-check
2017-10-26 07:13:55 +11:00
Nyall Dawson
05e97b38bd [FEATURE] Add right click menu option to "open directory" to welcome page entries
Allows easy opening of the folder containing a project from the welcome page,
e.g. to check if a newer version of the project is in the same folder.
2017-10-26 07:13:55 +11:00
Borys Jurgiel
1c8803c5e1 [Plugin manager][needs-docs] follow up 87d087bbfdb0 2017-10-25 20:38:13 +02:00
David
82d94aad9d Add some api documentations for new functions 2017-10-25 19:32:33 +02:00
Matthias Kuhn
62f2091383
[postgres] Early exit iterator if there's nothing to fetch anyway 2017-10-25 17:48:33 +02:00
David
f7073d0587 [FEATURE] Duplicate features including children (one level deep) when relation strength is competition - configuration for the relationsstrength in the relation GUI [needs-docs] 2017-10-25 17:04:48 +02:00
Blottiere Paul
8a4382a473 Private attributes 2017-10-25 15:29:13 +01:00
Blottiere Paul
82ba8ad062 Replace dynamic_cast by qobject_cast 2017-10-25 15:29:13 +01:00
Blottiere Paul
4923a3f3e8 Rename signal in dirtied 2017-10-25 15:29:13 +01:00
Blottiere Paul
2bfb366e45 Remove duplicated protected 2017-10-25 15:29:13 +01:00
Blottiere Paul
385655fc45 Add some tests 2017-10-25 15:29:13 +01:00
Blottiere Paul
32ff78b377 [FEATURE] Add a flag to dirty edit buffer when using executeSql in transactions 2017-10-25 15:29:13 +01:00
Matthias Kuhn
6297d19b70 Merge pull request #5452 from mach0/master
[ts] adding kyrgyz translators
2017-10-25 16:19:15 +02:00
Werner Macho
1eac450d54 [ts] adding kyrgyz translators 2017-10-25 15:51:59 +02:00
lbartoletti
7922608ef3 Change the approach: returns an empty element 2017-10-25 15:01:28 +02:00
Etienne Trimaille
387057a1b8 add CRS description in the layer_property expression 2017-10-25 14:18:40 +02:00
Matthias Kuhn
7dbae64cc7
Remove unrequired call to repaint map
The addFeature() call before returns immeditely, so there isn't even
something around to justify a repaint.
2017-10-25 13:46:40 +02:00
Matthias Kuhn
dbd2cc95f2 Merge pull request #5441 from m-kuhn/spinner
[feature] Spinner icon on QgsFilterLineEdit
2017-10-25 13:35:42 +02:00
Nyall Dawson
c728a35c4b Fix progress bar for file downloader alg 2017-10-25 20:23:16 +10:00
Nyall Dawson
e24333ae19 Don't report the same download progress twice, report progress for unknown download sizes 2017-10-25 20:23:16 +10:00
Nyall Dawson
016a8a2974 Don't throw exception when file downloader alg is canceled 2017-10-25 20:23:16 +10:00
Nyall Dawson
c24436865c Add some more tags to file downloader alg 2017-10-25 20:23:16 +10:00