4979 Commits

Author SHA1 Message Date
Nyall Dawson
42d5b9b2aa Python exceptions for invalid keys in QgsFields methods (fix #13221) 2015-08-16 16:08:04 +10:00
Denis Rouzaud
480a0f17c3 Don't send expressions with special fields to provider 2015-08-14 11:39:27 +02:00
Juergen E. Fischer
fee5da9071 fix typos 2015-08-13 22:52:01 +02:00
Juergen E. Fischer
ac89dc0e73 * update QgsSymbolV2 sip bindings
* fix a crash when setRotationField (now deprecated) is used on a fresh
  QgsCategorizedSymbolRendererV2
2015-08-13 17:48:56 +02:00
Nyall Dawson
19a833c23d Clean atlas interface - avoid storage of pointer to atlas feature 2015-08-13 08:35:43 +10:00
Matthias Kuhn
d32f3340ae Fix typo 2015-08-12 21:38:14 +02:00
Matthias Kuhn
8ab69e9386 with edit(layer) raises an error if the commit fails 2015-08-12 14:55:36 +02:00
Matthias Kuhn
f64783493e PyQgis: Move NULL and edit to qgis.core 2015-08-12 13:50:06 +02:00
Matthias Kuhn
35fc2902f3 [FEATURE] Add with edit(layer): to python
Example:

    with edit(layer):
        f=layer.getFeatures().next()
        f[0]=5
        layer.updateFeature(f)

This will automatically call commitChanges() in the end.
If any exception occurs, it will rollBack() all the changes.
2015-08-12 13:41:23 +02:00
Nyall Dawson
3898d840bd Custom properties for QgsComposition and QgsComposerObject 2015-08-11 20:32:14 +10:00
Nathan Woodrow
9acc475197 Move python console toolbar to top. More uniform with rest of UI 2015-08-08 23:09:20 +10:00
elpaso
e48b6e8910 Moved QMultiMap<int, TYPE2*> to conversion.sip 2015-08-07 09:26:14 +02:00
Matthias Kuhn
9c3d65ef7b QgsDataDefined: Implicit management for useExpression 2015-08-07 09:06:41 +10:00
Nyall Dawson
728ead8a53 Avoid use of deprecated rotation field methods 2015-08-07 09:06:31 +10:00
Nyall Dawson
013e1da783 Tests and doxygen for QgsDataDefined 2015-08-07 09:05:47 +10:00
Matthias Kuhn
1e6483c6d1 Fix marker rotation
The rotation is no longer saved in the Qgs*SymbolRendererV2 but in the
QgsMarkerSymbolV2 in a QgsDataDefined. This commit fixes the legacy API and
redirects calls to the new API.
2015-08-07 08:47:52 +10:00
Alessandro Pasotti
c4ea8de5ed Merge pull request #2236 from elpaso/sip-server-filters-bindings
[server] Sip server filters new bindings
2015-08-06 21:05:31 +02:00
elpaso
1b06c0c3b8 [server] Added comment 2015-08-06 18:03:49 +02:00
elpaso
d1b7bbee09 [server] Added comment to header 2015-08-06 18:00:24 +02:00
elpaso
e930d696fa [server] setFilters implementation, bindings and test
* moved type conversion to conversions.sip (template)
* added setFilters() to QgsServerInterface
* added tests
2015-08-06 17:51:26 +02:00
volaya
2a14ffd281 [processing]fixes for grass7
processAlgorithm method was actually not being called when running a grass7 algorithm
2015-08-06 14:47:58 +02:00
Nyall Dawson
df4c1311ad Fix crash when opening attribute table on non-spatial layer 2015-08-05 15:00:40 +10:00
Nyall Dawson
56a48ed0d2 Add missing color ramp methods and conversions to sip 2015-08-05 14:46:46 +10:00
elpaso
230196071a Added TypeHeaderCode for QgsServerFiltersMap 2015-08-04 20:55:42 +02:00
Matthias Kuhn
cf2f6b17fa Alias without pending prefix for QgsVectorLayer methods
* pendingAllAttributesList -> attributeList
 * pendingPkAttributesList -> pkAttributeList
 * pendingFeatureCount -> featureCount

featureCount will now always return the features on the layer and NOT the
committed features count as before.
This changes its behavior but this way it is coherent with the other methods
which work on the layer.
2015-08-04 15:13:31 +02:00
Matthias Kuhn
e832b2a28a Add QgsVectorLayer::fields() as alias to pendingFields()
pendingFields() is not very intuitive and leads to confusion for new developers.
2015-08-04 15:13:31 +02:00
Nyall Dawson
745f91d249 Add 'edit' buttons to remaining gradient combo boxes
Also consolidate code for easier maintenance.
2015-08-04 16:23:06 +10:00
Juergen E. Fischer
c31810af8b typo fixes 2015-08-03 20:36:17 +02:00
Nyall Dawson
69ac6771e8 [FEATURE][composer] Add page name option for atlas
Page name can be set to either a field or expression derived from
the coverage layer, and is shown in the new atlas page combobox.
2015-08-03 16:46:59 +10:00
Martin Dobias
febadfe21b Fix crashes when rendering with SVG symbols that are missing
The crashes would happen after some time when browsing the map,
especially when size of SVGs is in map units. This was due to wrong
removal of deleted cache entries where cache entry key would be
different from SVG file's path, thus not removing the entry that
got deleted. Now explicitly keeping the lookup key in the entry
to make sure this does not happen.

Related issues: #9959, #8883
2015-07-31 20:35:15 +02:00
Giovanni Manghi
1dfec33e5a fix Processing QGIS vector grid as lines 2015-07-31 18:50:11 +02:00
Hugo Mercier
95ff0922e4 Handle QgsDataItem class hierarchy in SIP bindings 2015-07-30 15:04:56 +02:00
Juergen E. Fischer
fe50327b28 fix oracle provider (followup 5be0ee7) 2015-07-30 09:31:28 +02:00
Juergen E. Fischer
384c0a703b processing: fix saga translation (followup 66a3d02) 2015-07-29 18:55:11 +02:00
Matthias Kuhn
e984fb00fd Remove QgsRenderOptions, return filter in separate method 2015-07-29 12:09:44 +02:00
Matthias Kuhn
5be0ee734f Remove QgsFeatureRequest::FilterRect from providers/iterators 2015-07-29 12:09:44 +02:00
Matthias Kuhn
1d7a6a4909 Rule based renderer exposes filter where clause
This filter can then be sent to the server to reduce the amount of fetched
features
2015-07-29 12:08:55 +02:00
Matthias Kuhn
b47b9a54b7 Add return type QgsRenderOptions to QgsRendererV2::startRender
This allows to specify additional filter constraints for the feature request to
be specified.
2015-07-29 12:08:54 +02:00
Juergen E. Fischer
9752c468c1 indentation update 2015-07-29 11:52:14 +02:00
Juergen E. Fischer
93e2c5a01d processing: translation fix (open fusion las viewer; followup 66a3d02) 2015-07-28 14:12:53 +02:00
Juergen E. Fischer
25a50bf73f Revert "add missed translations.py file" (followup 66a3d02)
This reverts commit 6dd615719922ff3cd136ba800e5dc033e5ff9b34.
2015-07-28 09:20:44 +02:00
Alexander Bruy
6dd6157199 add missed translations.py file 2015-07-28 09:21:17 +03:00
Matthias Kuhn
343d3a6854 fix processing startup error, followup 25e9f86 2015-07-27 17:13:04 +02:00
Juergen E. Fischer
25e9f864a2 processing: simple interface translation fix 2015-07-27 13:26:59 +02:00
Matthias Kuhn
70fe622661 Add iface.layerTreeCanvasBridge() 2015-07-26 23:01:46 +02:00
Juergen E. Fischer
4984cae78d db_manager: enable oracle plugin only when oracle support is available 2015-07-26 18:58:57 +02:00
Juergen E. Fischer
9d5a942b9f translation fixes 2015-07-26 18:25:07 +02:00
Juergen E. Fischer
b165875fa6 spelling fixes 2015-07-26 14:39:30 +02:00
Jürgen Fischer
644bdf046f Merge pull request #2222 from medspx/dbmanager-oracle
DBManager Oracle Spatial support (fixes #9163)
2015-07-26 04:39:04 +02:00
Juergen E. Fischer
66a3d02240 integrate processing into update_ts.sh (also includes all translations
in the repository and none outside of it).
2015-07-26 04:28:37 +02:00