33898 Commits

Author SHA1 Message Date
rldhont
c1cdfe860d [DB Manager] Add the ability to update SQL Layer 2016-07-20 12:20:01 +02:00
Nyall Dawson
cd33ccf7f6 Revert "Fix label word and letter spacing cannot be decimals"
This reverts commit 48f090ca79f0d2d9ae341ae3617f20b2fe3fe14f.

Causes issues with font sizes/spacing
2016-07-20 19:44:20 +10:00
Nyall Dawson
92eec0e338 Revert "[labeling] Curved labels are now angled per character"
This reverts commit f6d07a33b71a9b19579d19dadbe777b1f14c6842.
2016-07-20 19:44:13 +10:00
Nyall Dawson
4bcae0693d Revert "Update labeling reference images"
This reverts commit 1aec78145f7553ca62584a9bb626b8a531a01a8e.
2016-07-20 19:44:04 +10:00
Nyall Dawson
fc88336a62 Revert "Add labeling tests for letter/word spacing"
This reverts commit 9dfdfc645f327b38ef90974751104c4b1523736e.
2016-07-20 19:43:57 +10:00
Nyall Dawson
9007d5c11b Fix features are not labeled when using merged connected lines and
lines are touching but not at endpoints
2016-07-20 14:13:08 +10:00
Nyall Dawson
9dfdfc645f Add labeling tests for letter/word spacing 2016-07-20 13:04:50 +10:00
Nyall Dawson
1aec78145f Update labeling reference images 2016-07-20 13:04:50 +10:00
Frits van Veen
f6d07a33b7 [labeling] Curved labels are now angled per character
...instead of shifted along base line (fix #15210)
2016-07-20 13:04:50 +10:00
Nyall Dawson
48f090ca79 Fix label word and letter spacing cannot be decimals 2016-07-20 13:04:50 +10:00
Nyall Dawson
5384e203fb [composer] Fix editing of map item variables
On behalf of Faunalia, sponsored by ENEL
2016-07-20 11:01:00 +10:00
Radim Blazek
b2f4582f00 [GRASS] 7.1 versions of t.rast.what.* 2016-07-19 20:19:51 +02:00
Radim Blazek
5917641849 fixed python scripts indentation 2016-07-19 18:03:01 +02:00
Radim Blazek
34ca98ff51 Merge pull request #3164 from NINAnor/add_grass_tools
New modules for the GRASS plugin
2016-07-19 17:11:47 +02:00
Juergen E. Fischer
3142c846e5 fix windows build and some warnings 2016-07-19 14:00:27 +02:00
Matthias Kuhn
c9d62696b7 Fix build 2016-07-19 11:23:22 +02:00
Matthias Kuhn
c8c623ecee Add methods to vectorlayercache and tests 2016-07-19 10:47:14 +02:00
Matthias Kuhn
d91a45ceaf Add shorthands to get features by fid, fids and expression
Adds new methods overloads to QgsVectorLayer

  getFeatures( expression )
  getFeatures( ids )
  getFeature( id )

These three methods to query features are by far the most used ones
and with this patch it is much easier to write and read code.
2016-07-19 10:37:09 +02:00
Nyall Dawson
7343b36e25 [composer] Load all composition properties from template/duplicate
Previously some settings where not being correctly restore, eg
page size, grid settings, expression variables

On behalf of Faunalia, sponsored by ENEL

Fix #8705
2016-07-19 14:07:23 +10:00
Nyall Dawson
656e56e447 [composer] Simplify and consolidate loading of templates
On behalf of Faunalia, sponsored by ENEL
2016-07-19 14:07:23 +10:00
Nyall Dawson
59dc4079a5 Add missing function help (fix #15264) 2016-07-19 12:12:32 +10:00
Nyall Dawson
c7ffdfa5e9 Make sure variable editor widgets always show current variables
On behalf of Faunalia, sponsored by ENEL
2016-07-19 12:00:35 +10:00
Nyall Dawson
9e5357c0fc Correctly sort identify results when url links are shown 2016-07-19 09:54:17 +10:00
Nyall Dawson
39b3e721bb Replace QgsNumericSortTreeWidgetItem with upgraded QgsTreeWidgetItem
QgsNumericSortTreeWidgetItem had a giant TODO saying "make it work".
This makes it work, and adds some other useful features like
being able to specify custom sort value and force items to always
sort on top.
2016-07-19 09:30:23 +10:00
Nyall Dawson
631b5e87c3 [composer] Avoid crash when atlas page name field has spaces
Fix #15297
2016-07-19 09:21:14 +10:00
Nyall Dawson
9f330fc9ff Merge pull request #3309 from nirvn/html_label_fix
[composer] fix html label stylesheet's margin (fixes #15290)
2016-07-19 09:20:36 +10:00
Nyall Dawson
cca4e32e70 Fix doxygen for QgsAttributeTableConfig 2016-07-19 08:32:14 +10:00
Nyall Dawson
b220d66dcc Use flat style for scale lock button 2016-07-19 08:31:09 +10:00
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