Matthias Kuhn
8342739b37
Expressions: preserve brackets for right-associative operators
...
Fixes #11475
2015-06-16 19:46:26 +02:00
Denis Rouzaud
a518e9f639
[ fix #11475 ] expressions: add left and right associavity for dump of binary operators
...
complete test for left associativity
2015-06-16 19:07:45 +02:00
Nyall Dawson
cf2fa39691
[effects] Initially populate effects with a default list of effects
...
Default list shows a number of common effects like drop shadows,
but they are disabled. This allows users to easily enable them
just by checking them in the list. End result is a more user
friendly and familiar effects interface.
Advanced users can still reorder, add/remove effects as before.
2015-06-16 21:30:53 +10:00
Nyall Dawson
7a3a857d79
Add QgsFontUtils methods for saving/loading font from XML ( fix #12644 )
...
Fixes loss of font styles when restoring projects. Credit to @nirvn
for the initial implementation.
2015-06-15 19:40:28 +10:00
Matthias Kuhn
8fbee12106
Fix "return reference to temporary"
2015-06-15 10:26:05 +02:00
Nyall Dawson
53218948b1
Add QgsGeometry::isEmpty to test if underlying geometry exists
2015-06-13 13:43:17 +10:00
Nyall Dawson
80cfbbf37e
Add method to set QgsAbstractGeometry for QgsGeometry, add tests
...
for implicit sharing of QgsGeometry
2015-06-12 22:50:47 +10:00
Nyall Dawson
604f7e5011
Add methods to test whether graduated ranges overlap or have gaps
2015-06-12 20:19:43 +10:00
Juergen E. Fischer
ec0e971c30
add missing sip bindings
2015-06-11 19:19:00 +02:00
Nyall Dawson
559d7bb943
[rastercalc] Rework raster calculator to use QGIS raster classes
...
...rather than reading input layers directly through GDAL.
Benefits include more robust handling of nodata/data type conversions,
less code duplication, also being able to take advantage of features
in QGIS raster code like handling gain/offset in rasters. (fix #12450 )
Also, add a choice of output projection to the raster calculator.
Previously the output CRS would be taken from the first raster, with
no guarantees that the output extent matched the output CRS. This
resulted in empty/misplaced rasters. (fix #3649 )
2015-06-10 21:45:37 +10:00
Nyall Dawson
920f2ebe56
Fix bug causing raster blocks to be cleared when reprojecting
...
If a QgsRasterBlock had no nodata value set, then reprojecting
the raster using QgsRasterProjector would result in the entire
block being set to nodata.
2015-06-09 21:57:08 +10:00
Marco Hugentobler
624d142ec4
Fix bugs related to adding and removing geometry parts
2015-06-07 11:07:50 +02:00
Juergen E. Fischer
3387d6f632
expression: let concat handle NULL like empty string (like in postgres)
2015-06-06 11:29:44 +02:00
Matthias Kuhn
385529ef7b
PalLabelling: Reproject geometries before evaluating mininum size
...
Followup 2b096e09
2015-06-03 23:59:42 +02:00
Matthias Kuhn
2b096e09e2
Fix suppress labelling of short lines
...
And deduplicate code
Followup cfe397e
2015-06-03 18:53:36 +02:00
Matthias Kuhn
5d38bd158c
Python ConvertToSubclass and Doxymentation for drag and drop designer API
2015-06-01 20:33:02 +02:00
Matthias Kuhn
55db2abc5c
Fix sip bindings for QgsTransaction
2015-06-01 16:06:15 +02:00
Juergen E. Fischer
df0b842fdb
geometry sip sync
2015-06-01 15:17:56 +02:00
Nyall Dawson
41ad9abb40
Fix geometry errors:
...
- Add some missing docs
- Add some missing detach calls
- Hide unimplemented clip method to avoid confusion for 2.10 api
- Fix broken distance method
- Fix broken split method
2015-06-01 21:44:57 +10:00
Juergen E. Fischer
2ab8a0bed9
include user.py in translations
2015-05-31 00:42:51 +02:00
Nyall Dawson
51bd0b2bc5
Followup 2dc5d95, add unit tests
2015-05-31 07:58:05 +10:00
Juergen E. Fischer
aeb0e71e32
fix sip bindings
2015-05-29 20:35:42 +02:00
Marco Hugentobler
0e55b3bf0f
Fix loading of curved multitypes
2015-05-29 18:00:24 +02:00
Marco Hugentobler
82d18e7e61
Update python binding for QgsGeometry
2015-05-29 11:40:20 +02:00
Juergen E. Fischer
dd53fda846
indentation update
2015-05-29 08:57:54 +02:00
Nyall Dawson
e7219050a1
Avoid unnecessary detach of QgsFeature when renderering non-curved
...
geometries
2015-05-29 06:46:42 +10:00
Matthias Kuhn
8eca38ca5f
Attribute table performance when deleting features
...
This fixes performance issues with the attribute table visible when deleting a
large number of features.
The attribute table tries to behave smart in the following way:
* It tries to remove only the deleted rows as long as they are in one or a few
single blocks
* If there are more than 100 rows to delete and it starts to delete blocks
of a size smaller than 10 it assumes that the selection to delete is widely
distributed and that a reload of the whole model is less expensive than a
differential update.
Fix #10167
2015-05-27 22:28:23 +02:00
Nyall Dawson
ec01d7698e
More Coverity memory leak fixes
2015-05-27 23:03:00 +10:00
Nathan Woodrow
f2144918d2
Less verbose template function message.
...
args='auto' and group='custom' as default
2015-05-27 22:39:12 +10:00
Nathan Woodrow
e6403da7b2
Remove adding $ to front of custom functions
...
Fixes calling no argument functions
2015-05-27 21:27:24 +10:00
Martin Dobias
205daae008
Support overriden layer styles also in the composer legend
2015-05-26 18:59:30 +07:00
Marco Hugentobler
b5801afe29
Update python bindings for QgsGeometry
2015-05-26 11:42:52 +02:00
Radim Blazek
0c4ea1f6e5
new class QgsAnimatedIcon
2015-05-26 10:59:55 +02:00
Juergen E. Fischer
d40d481bd3
avoid warning about not created test difference image
2015-05-25 21:43:55 +02:00
Juergen E. Fischer
98c601d1ba
fix typos
2015-05-25 20:12:02 +02:00
Marco Hugentobler
68fe5f5791
[FEATURE:] New geometry classes
2015-05-25 08:53:49 +02:00
Juergen E. Fischer
cec5bdeb0d
fix some warnings
2015-05-24 18:48:22 +02:00
Nyall Dawson
e7b7549c29
[FEATURE] New statistical summary dock widget
...
Can display summary statistics (eg mean, standard deviation, ...)
for a field or expression from a vector layer.
2015-05-23 04:35:11 +10:00
Nyall Dawson
1078daf712
Add option to get null count from QgsVectorLayer::getDoubleValues
2015-05-23 04:35:11 +10:00
Nyall Dawson
ef0d413819
Data defined font marker character
2015-05-22 20:00:19 +10:00
Matthias Kuhn
a2ae8b4e38
Add unit tests for postgres provider
...
basically to get a framework to test the expression compiler
2015-05-22 11:57:16 +02:00
Matthias Kuhn
9b6e23d3af
Add convenience method QgsVectorLayer::getFeatures( expression )
2015-05-22 11:57:16 +02:00
Nyall Dawson
b1ffff826d
Fix build
2015-05-21 05:49:04 +10:00
Nyall Dawson
267d9528d5
Implicit sharing for QgsFeature
2015-05-21 00:55:57 +10:00
Nyall Dawson
d393d268e1
Fix up non-const getters for attributes and geometry in QgsFeature
...
(preparation for implicit sharing)
2015-05-20 21:46:15 +10:00
Nyall Dawson
c38ff519e2
Followup b8bc181, don't create unnecessary temporary image
2015-05-20 19:17:01 +10:00
Martin Dobias
3487471d24
Merge pull request #2035 from vmora/multivariate_legend
...
Avoid symbol cropping in legend
2015-05-20 10:58:06 +02:00
Nyall Dawson
c5b04efadb
Fix attributes from some symbols were not available for data defined
...
symbology (line marker, line pattern)
2015-05-19 17:01:40 +10:00
Mathieu Pellerin
f314522b73
[symbology] improve marker rotation along line to fix data-defined
...
angle support
2015-05-19 16:29:24 +10:00
Nyall Dawson
4b4075b5b9
[labeling] Fix setting a wrap character conflicts with newlines
...
in label text (fix #12750 )
2015-05-19 06:18:07 +10:00