33970 Commits

Author SHA1 Message Date
Nyall Dawson
8943ed7c9f Remove "restart required" from "open table as dock" option
Since it seems that a restart *isn't* required!
2016-07-19 08:31:09 +10:00
Nyall Dawson
18e4d5279f Fix build 2016-07-19 08:31:09 +10:00
Martin Dobias
1444398208 Improve QgsCoordinateReferenceSystem API documentation (#3311) 2016-07-19 01:05:16 +08:00
Juergen E. Fischer
cad83d488f update after QgsMapLayer layerNameChanged => nameChanged signal rename 2016-07-18 17:31:35 +02:00
Alexander Bruy
2addf31ce7 Merge pull request #3316 from akbargumbira/master
[processing] fix add script from file
2016-07-18 15:47:32 +03:00
Akbar Gumbira
20a2a20025 [processing] Fix add script from file. 2016-07-18 13:11:54 +02:00
Nyall Dawson
c628c0f434 Rework includes to forward declare as much as possible
Should speed up recompilation when headers change
2016-07-18 19:10:19 +10:00
Stéphane Brunner
7b883e2edd Merge pull request #3140 from sbrunner/fix-cache-host
Have a capabilities cache per hostname
2016-07-18 10:40:30 +02:00
volaya
a0bfc4c99e [processing] do not remove menus when exiting config dialog 2016-07-18 09:07:05 +02:00
Nyall Dawson
19438caed9 Merge pull request #3312 from nyalldawson/transfer
Make QgsCoordinateTransform implicitly shared, no longer a QObject
2016-07-17 18:53:35 +10:00
Nyall Dawson
e6df492fdb Add missing docs, refine docs for QgsCoordinateTransform 2016-07-17 16:38:28 +10:00
Nyall Dawson
adafeda82a Avoid all use of QgsCoordinateTransform pointers, replace with
copies or references

Makes the code more robust, fixes leaks and avoids potential
null pointer dereferencing
2016-07-16 20:36:45 +10:00
Nyall Dawson
ffa9b9b676 API breaks and cleanups for QgsCoordinateTransform
- isInitialised() has been renamed to isValid()
- theCRS parameter in setSourceCrs has been renamed to 'crs'
- setDestCRS() has been renamed to setDestinationCrs() for consistency
- destCRS() has been renamed to destinationCrs() for consistency
- theSource, theDest, theSourceSrsId, theDestSrsId, theSourceWkt,
theDestWkt, theSourceCRSType parameters in the QgsCoordinateTransform
constructors have been renamed to source, destination, sourceSrsId,
destinationSrsId, sourceWkt, destinationWkt, sourceCrsType respectively
- 'p' argument in transform() has been renamed to 'point', 'theRect' to
'rectangle', 'poly' to 'polygon'
- setDestCRSID has been removed, use setDestinationCrs() instead
- 'theNode', 'theDoc' parameters in readXML and writeXML have been
renamed to 'node' and 'document' respectively
- readXML() and writeXML() have been renamed to readXml() and writeXml()
for consistency
2016-07-16 16:33:04 +10:00
Nyall Dawson
353ed54f1f Fix build 2016-07-16 14:16:09 +10:00
Nyall Dawson
b18fcc0ddf Remove QgsCoordinateTransform::clone()
Just use direct copies instead
2016-07-16 14:16:00 +10:00
nirvn
7352df6935 [composer] fix html label stylesheet's margin (fixes #15290) 2016-07-16 09:23:10 +07:00
Nyall Dawson
736aab195f Make QgsCoordinateTransform implicitly shared, no longer a QObject
There was no code in core using the signals/slots associated with
QgsCoordinateTransform, and little reason to keep the class a
QObject. Making it not a QObject simplifies code and allows
QgsCoordinateTransform objects to be easily copied and passed
around without complication.
2016-07-16 10:07:10 +10:00
Juergen E. Fischer
cd3f54057d creatensis.pl: use version number instead of release name for installation path
(cherry picked from commit 87843120c52777cd15d8af0e7eee99f682e6049e)
2016-07-15 20:45:48 +02:00
Juergen E. Fischer
9b5b774112 oracle provider: update for 1bafa80 and e683101 2016-07-15 15:11:30 +02:00
Nyall Dawson
6fefbea05a Fix test under Python 3 2016-07-15 17:56:48 +10:00
mhugent
da74b184f2 Merge pull request #3308 from mhugent/pan_to_feature
[FEATURE]: pan to current feature in attribute table
2016-07-15 09:36:48 +02:00
Marco Hugentobler
93db165ae9 Api doc for parameter 2016-07-15 07:58:50 +02:00
Nyall Dawson
21eab8c2ea Add missing docs 2016-07-15 08:08:24 +10:00
Nyall Dawson
0736bf726d Rename edit buffer methods to is..., add tests 2016-07-15 07:58:21 +10:00
Nyall Dawson
dc10c8fac2 Fix build 2016-07-15 06:28:07 +10:00
Nyall Dawson
2d50895d04 Const correctness for QgsVectorLayer methods 2016-07-15 06:07:52 +10:00
Nyall Dawson
0d84ca74c5 Make QgsMapLayer::metadata() const 2016-07-15 06:07:08 +10:00
Nyall Dawson
0935b58fef Cleanup QgsMapLayer for 3.0
- implement QGIS 3.0 TODOs
- mark methods as const correct
- rename 'the...' parameters to remove 'the'
- mark QgsVectorLayer::getFeatures as const
2016-07-15 06:07:00 +10:00
Nyall Dawson
fe4fa419f8 Make QgsVectorLayerEditBuffer methods const correct
Also add some optimisations to avoid iterations over all
contents of the buffers
2016-07-15 06:06:14 +10:00
Nyall Dawson
6c6f3c1e34 Remove deprecated members from QgsMapLayer 2016-07-15 06:02:45 +10:00
Nyall Dawson
7d2027faa9 Fix most remaining methods which return a reference to
QgsCoordinateReferenceSystem or which take a pointer to a
CRS
2016-07-15 06:01:39 +10:00
Nyall Dawson
726569c6bc QgsMapLayer::crs() now returns a copy, not a reference
(desirable because QgsCoordinateReferenceSystem is implicitly shared)
2016-07-15 06:00:51 +10:00
Nyall Dawson
a2efab0485 Make QgsVectorLayerImport use QgsCoordinateReferenceSystem
references, not pointers
2016-07-15 06:00:11 +10:00
Nyall Dawson
e683101b10 Make QgsVectorDataProvider::fields() return a copy
Implements a QGIS 3.0 TODO
2016-07-15 05:59:02 +10:00
Nyall Dawson
1bafa80089 Const correctness for numerous data provider methods 2016-07-15 05:57:57 +10:00
Nyall Dawson
fd42ed3145 Use reference rather than pointer for crs in QgsVectorFileWriter
Since QgsCoordinateReferenceSystem is implicitly shared, it's a
safer approach
2016-07-15 05:57:03 +10:00
Sandro Mani
ce87fda860 [Geometry checker] Re-add explicit refresh when changing extent in QgsGeometryCheckerResultTab::highlightErrors 2016-07-14 20:17:48 +02:00
Sandro Mani
3e28b9ae39 [Geometry checker] Fix result table corruption when adding newly found errors 2016-07-14 19:55:37 +02:00
Sandro Mani
a8c35a9e50 [Geometry checker] Fix incorrect QgsGeometryCheckerUtils::filter1DTypes 2016-07-14 19:55:17 +02:00
Sandro Mani
f2f93d610d [Geometry checker] Trigger repaint instead of explicit refresh 2016-07-14 19:22:09 +02:00
Sandro Mani
332e1d40b7 [Geometry snapper] Trigger repaint instead of explicit refresh 2016-07-14 19:22:00 +02:00
Sandro Mani
087ec08b9c [Geometry checker] Fix possible data provider errors due to referring to deleted features 2016-07-14 17:39:06 +02:00
Sandro Mani
ee310f134c [Geometry checker] Remove redundant include 2016-07-14 17:38:29 +02:00
Sandro Mani
046386e1dc [Geometry checker] Ignore zero-length edges when searching for shared edges 2016-07-14 17:37:10 +02:00
Sandro Mani
13da9f52ff [Geometry checker] Don't make minimal angle fix produce duplicate nodes 2016-07-14 17:10:55 +02:00
Sandro Mani
0e30ed8130 [Geometry checker] Clear rubberbands when disabling result tab 2016-07-14 17:10:36 +02:00
Marco Hugentobler
4d1fbee7f0 Update sip binding 2016-07-14 17:06:22 +02:00
Sandro Mani
2f6be7a504 [Geometry checker] If fixing an error produced changes, treat newly detected errors which are the same as the error fixed as actual new errors 2016-07-14 16:41:35 +02:00
Sandro Mani
41ce5279dd [Geometry checker] Fix possible crash when checking for removed layer 2016-07-14 16:41:35 +02:00
Sandro Mani
120bdb7b4b [Geometry checker] Guard against producing degenerate geometries 2016-07-14 16:41:35 +02:00