Martin Dobias
1f5b6fd0f3
Use wait cursor when building indexes for snapping
2015-02-11 14:36:45 +07:00
Martin Dobias
bbc7cba53f
Fix a crash resulting from corrupted undo stack ( fixes #11940 )
...
In field calc opened from attribute table, when changing attributes
there is a series of signals: layer emits attributeValueChanged(),
cache forces update of attribute table data, which at one point calls
layer.isModified(), emitting beforeModifiedCheck() - in turn calling
save() of attribute form, which would change first feature's new attribute
to a bogus value. This recursive change of attribute values corrupts
the undo stack.
The fix pre-sets the feature's attribute so that no dummy entry is
added to the undo stack.
In the future we should probably try to improve the whole cascade
to avoid bugs like this one:
1. if possible, make emission of edit signals "safe", so a slot can
do more editing calls without corrupting undo stack
2. get rid of beforeModifiedCheck() signal as it adds quite surprising
behavior (and overhead) to what should be a simple check
2015-02-11 14:24:24 +07:00
Nyall Dawson
4e0431d88b
Coverity fixes (unchecked dynamic_cast)
2015-02-11 17:12:44 +11:00
Nyall Dawson
868720b7e0
Coverity null dereference fixes
2015-02-11 16:03:04 +11:00
Nathan Woodrow
a15aa74bb7
Fix #12167 - Handle nulls in show label property for labels
...
Funded by Digital Mapping Solutions
2015-02-11 13:01:30 +10:00
Juergen E. Fischer
edc1d5e588
fix windows build
2015-02-11 03:19:45 +01:00
Juergen E. Fischer
f046d3fca2
support datum transformation in composer ( fixes #11874 )
2015-02-11 03:19:45 +01:00
Juergen E. Fischer
f9ace43a0f
emit is not a function
2015-02-11 03:19:45 +01:00
Nyall Dawson
f601f9277a
Coverity fixes
2015-02-11 13:09:53 +11:00
Nyall Dawson
8e4368c7fc
Replace use of rand with qrand
2015-02-11 10:13:47 +11:00
Nyall Dawson
1c2c900967
Fix warning
2015-02-11 09:06:42 +11:00
Juergen E. Fischer
4938fe79e8
offline editing: add layer to map layer registry before
...
copying the symbology - otherwise edit widget settings
won't be copied (fixes #11827 )
2015-02-10 18:40:38 +01:00
Juergen E. Fischer
2073c03931
attribute table: fix update of sort column ( fixes #10976 )
2015-02-10 18:27:42 +01:00
Martin Dobias
d4668707b0
Fix jumping map in canvas
...
This would happen only with overview canvas visible. Found by Mathieu.
Replacing the forced repaint() call by more suitable update()
2015-02-10 19:44:11 +07:00
Juergen E. Fischer
fffd2fea0a
fix check-no-x
2015-02-10 13:34:42 +01:00
Nyall Dawson
c253a9f623
Uninitialized variable fixes
2015-02-10 22:23:01 +11:00
Nyall Dawson
ba7f0c7ee1
Default to faster render for heatmap renderer
2015-02-10 22:23:01 +11:00
Nathan Woodrow
04c37f960e
Right missing right click on QgsColorButtonV2
2015-02-10 21:02:53 +10:00
Marco Hugentobler
27bf440eac
Server: fix loading of dependent layers when using the getFeature() function (ticket #12090 )
2015-02-10 11:21:11 +01:00
Giovanni Manghi
e62a7fa7c3
ogr clip by polygon: clip polygon layer name must be declared to avoid issues with postgis and spatialite layers
2015-02-10 08:49:00 +00:00
Nyall Dawson
db17513287
Fix some warnings, incorrect use of abs for double values
2015-02-10 18:54:49 +11:00
Nyall Dawson
76927bb833
Use a newer cmake version for Travis builds to avoid Qt warnings
2015-02-10 18:51:40 +11:00
Martin Dobias
68f94647fd
Fix #12165 - table can't be joined multiple times
2015-02-10 14:48:22 +07:00
Nyall Dawson
a7f774037a
More coverity fixes
2015-02-10 17:37:17 +11:00
Martin Dobias
dc156c8d79
Fix #12154 - select by location not working when A covers B
...
The combination of touches+overlaps+contains is not enough if input layer
(where selection should be done) is completely within selection layer.
I have reintroduced "intersects" predicate and made it default.
The processing toolbox has an improved (fixed?) version but fTools
were not adapted at the same time
2015-02-10 13:06:53 +07:00
Martin Dobias
eaeff1976c
Fix intersection in SelectByLocation and ExtractByLocation
2015-02-10 13:06:53 +07:00
Juergen E. Fischer
b35a596af4
raster calculator: allow unquoted raster references ( fixes #11682 )
2015-02-10 00:38:24 +01:00
Juergen E. Fischer
d0159e2d92
postgres provider: restore default for cursor counter
2015-02-09 21:46:14 +01:00
Juergen E. Fischer
72015bf5e4
INSTALL: remove reference to Visual C++ 2008
2015-02-09 17:17:31 +01:00
Martin Dobias
0386ed01fc
Fix issue with intents to rebuild index of an empty layer
...
With one or more empty layers, this would lead to a weird blinking due to progress
dialog being opened when snapping to empty layers is active.
The fix adds a flag in the point locator, so the index is not rebuilt unless there
are some features in the layer
2015-02-09 23:14:14 +07:00
Juergen E. Fischer
ee50520a52
fix leak on loading layer definition (also fixes #12064 )
2015-02-09 11:46:00 +01:00
Nyall Dawson
e4253721c8
Coverity fixes
...
Including a notable bug causing "mean" to be missing from merge
attributes dialog options.
2015-02-09 16:05:14 +11:00
Nyall Dawson
a1b858b85f
[raster] Fix cubic resampler visual glitches (refs #6561 )
...
Resampler was not correctly bounding color components for premultiplied
image format. There's still errors in the resampled raster at the
source image edges and glitches with transparency channels, though.
Also fix a bunch of inefficiencies in the code.
2015-02-09 14:35:59 +11:00
Juergen E. Fischer
9fb00653b2
more coverity fixes
2015-02-09 01:15:07 +01:00
Juergen E. Fischer
0593ef6a26
rename new QgsSnapper::snapPoint method to snapMapPoint and restore python name
...
of deprecated old version (fixes #12153 )
2015-02-09 01:15:07 +01:00
Juergen E. Fischer
90cc725b3f
nine cell filter: restore defaults
2015-02-09 01:15:07 +01:00
Nathan Woodrow
47ffa70a75
Merge pull request #1890 from rutsky/patch-1
...
treat PostgreSQL's "xml" field type as string
2015-02-09 09:06:00 +10:00
Vladimir Rutsky
3bb448a077
add missing dot at the end of sentence
2015-02-09 01:39:23 +03:00
Nyall Dawson
d6bfe7c17f
Add missing overrides
2015-02-09 09:02:49 +11:00
Juergen E. Fischer
b67daf0336
new coverity fixes
2015-02-08 19:32:50 +01:00
Juergen E. Fischer
b2cfe0b330
postgres provider: show notices
2015-02-08 19:27:34 +01:00
Juergen E. Fischer
a264a27dfb
fix windows build (pow called with an integer) and comma cosmetics
2015-02-08 13:15:42 +01:00
Matthias Kuhn
2e9cc1a4ff
Reduce debug noise and fix Qt5 compatibility
...
Fix #12145 (Master does not compile with Qt5 libraries)
2015-02-08 12:49:08 +01:00
Matthias Kuhn
a7baf39652
Preserve formatting of expressions for datadefined symbology
...
Followup 6fb347d
2015-02-08 12:49:08 +01:00
Juergen E. Fischer
0ed6cfad34
followup 2f9dfd250
2015-02-08 10:13:42 +01:00
Juergen E. Fischer
2f9dfd250f
fix build error
2015-02-08 10:12:05 +01:00
volaya
c4a6adc788
Merge pull request #1753 from arnaud-morvan/processing_managefields
...
Create FieldMapper GeoAlgorithm
2015-02-08 09:03:40 +01:00
volaya
afd21cd79f
Merge pull request #1759 from arnaud-morvan/processing_bylocation_operators
...
Processing bylocation operators
2015-02-08 09:02:56 +01:00
alexbruy
b1a2ccdc90
Merge pull request #1892 from neteler/master
...
[processing] updates for GRASS GIS 7 support; file date updated in comment
2015-02-08 09:53:04 +02:00
Markus Neteler
a18286fa3d
GRASS GIS batch job needs sqlite directory to be created
2015-02-07 23:35:35 +01:00