26457 Commits

Author SHA1 Message Date
Juergen E. Fischer
1b252d4a93 fix crash on snapping locator removal 2015-02-12 16:55:59 +01:00
Martin Dobias
3803979b2b Fix #12190 - splitGeometry crashes on linear geometry with a split point 2015-02-12 22:07:23 +07:00
Marco Hugentobler
90bd24a33b Remove obsolete useCache parameters 2015-02-12 13:31:55 +01:00
Nyall Dawson
5e1b5a43f2 Coverity fixes 2015-02-12 20:53:13 +11:00
volaya
7a0d04103b Merge pull request #1897 from arnaud-morvan/fix_fieldsmapper
[processing] Fix fieldsmapper
2015-02-12 08:12:15 +01:00
Martin Dobias
b26556e551 Fix #11825 - handle centroid calculation also for invalid geometries
The on the fly simplification can corrupt geometries so let's try to deal
with it best we can
2015-02-12 13:14:11 +07:00
Nathan Woodrow
b48e7fd367 Fix #11993 - Fix crash with node tool and sql server
Funded By Digital Mapping Solutions
2015-02-12 14:37:22 +10:00
Martin Dobias
53f5349fc4 Fix typo 2015-02-12 10:47:03 +07:00
Martin Dobias
059fd2c461 Fix #11724 - do to not add extra geometries in union (ftools + processing) 2015-02-12 10:39:08 +07:00
Nathan Woodrow
1eaec17369 MSSQL - Don't use spatial index if there is null values, calc extent instead.
Funded by Digital Mapping Solutions
2015-02-12 11:04:35 +10:00
Nyall Dawson
1a606358c0 "Fix" failing atlas composition tests
These failing tests are actually revealing an issue with the atlas
map API, which can't be fixed without a break.

This API will be replaced for QGIS3.0 or the layout refactor work.
2015-02-12 09:19:12 +11:00
Nyall Dawson
25652e4228 More Coverity fixes 2015-02-12 07:35:40 +11:00
Sandro Santilli
5397d6b41d Add map rotation to symbol rotation
Only affects point marker symbols with data-defined rotation.
Fix #12152
2015-02-11 21:03:58 +01:00
Werner Macho
335a16750e Adding new polish translator
Signed-off-by: Werner Macho <werner.macho@gmail.com>
2015-02-11 20:00:31 +01:00
Hugo Mercier
12a4e7dc8e Allow to load a query-based SQLite layer without geometry 2015-02-11 17:07:36 +01:00
arnaud.morvan@camptocamp.com
3c938275eb Fix #12182 - In FieldsMapper, emit commitData on expression editor change 2015-02-11 15:46:51 +01:00
arnaud.morvan@camptocamp.com
ed94aff17d Fix #12183 - avoid error message in fieldsmapper when no field type selected 2015-02-11 14:34:12 +01:00
Juergen E. Fischer
f76d7301a3 indentation update/fix (followup 9ab22bd) 2015-02-11 13:49:07 +01:00
Juergen E. Fischer
10e09bc76b add override support to qgisstyle
include pep8 call in indentation run for python code
2015-02-11 13:49:07 +01:00
Nyall Dawson
47488f280d Add unit test for API documentation coverage
This test checks that the coverage of the API docs does not drop
below a preset threshold (initially set at the current doc coverage)

If new members are added without documentation, then the coverage
will drop and this test will fail. Hopefully over time we can slowly
increase this threshold until documentation coverage reaches an
acceptable level.
2015-02-11 22:22:06 +11:00
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