26275 Commits

Author SHA1 Message Date
Nyall Dawson
c1fe68c821 Fix big parameter passed by value warnings 2015-02-16 16:11:57 +11:00
Juergen E. Fischer
bca1560e9f remove unused message log viewer flag (follows up followup followup 957f1ac) 2015-02-16 01:16:12 +01:00
Juergen E. Fischer
ca86be7855 dxf export: doxyment more methods 2015-02-15 22:49:18 +01:00
Juergen E. Fischer
d9a1654501 dxf export: make encoding configurable (fixes #11578) 2015-02-15 22:10:17 +01:00
Matthias Kuhn
957f1ac191 Followup followup ff788db
The code was moved. This was just a leftover.
2015-02-15 16:58:03 +01:00
Matthias Kuhn
707e2bda9c Followup ff788db
Commit ff788db unintentionally inverted the meaning of the ifdef check
2015-02-15 16:48:33 +01:00
Juergen E. Fischer
e2e23f0c8e snapping dialog: block signals when reloading snapping options
QgsProject: also apply default when property is not available and not only if
an existing one is invalid

fixes #12192
2015-02-15 13:55:43 +01:00
Nyall Dawson
ccdf452ef4 [raster] Fix unintentional int overflow 2015-02-15 13:40:38 +11:00
Juergen E. Fischer
4a4a70057a fix QgsProject::clearProperties() doxymentation 2015-02-14 21:56:22 +01:00
Juergen E. Fischer
86d08b6c39 restore option to open the attribute table with only currently visible features
to improve performance (actually to make it usable with large tables again).

When used as initial setting in options the open attribute table will have a
fixed spatial filter to the canvas extent when it was opened.  That extent is
also highlighted to indicate the filter.

fixes #10619
2015-02-14 21:45:39 +01:00
Jürgen Fischer
553abbdc01 Merge pull request #1900 from mhugo/fix_spatialite2
[spatialite] Bug fixes
2015-02-14 20:58:41 +01:00
Nyall Dawson
f69e0bbf54 Minor Coverity fixes (null dereference, uninitialised members) 2015-02-14 21:59:00 +11:00
Nyall Dawson
0080f9ef3a Coverity fixes - unchecked return value 2015-02-14 21:35:14 +11:00
Nyall Dawson
8c16daf294 Fix memory leak in PAL labelling engine 2015-02-14 12:47:49 +11:00
Juergen E. Fischer
4a44956222 fix processing plugin main translation and add translations
for toplevel toolbox entries (fixes #12168)
2015-02-13 20:32:18 +01:00
Juergen E. Fischer
0a5126052a attribute table filter: consider LongLong numeric too 2015-02-13 17:27:15 +01:00
Juergen E. Fischer
1e9774fdcf qgis server fixes:
* support edit types based on edit widgets (adds qgis_gui dependency; fixes #12091)
* show null values (fixes #12114)
* only quote non-numeric non-null values in feature info
* fix crash on exit
* remove obsolete parser method and debug output
2015-02-13 17:26:29 +01:00
Hugo Mercier
221ba9c336 [spatialite] Fix geometry column name case sensitivity 2015-02-13 15:14:04 +01:00
Juergen E. Fischer
3294505861 fix field calculator when update are allowed and add attribute is not (fixes #11932) 2015-02-13 01:14:14 +01:00
Juergen E. Fischer
065d190d85 improve field conversions (fixes #12004) 2015-02-13 00:07:40 +01:00
Juergen E. Fischer
749e2a5bdb fix runtime warning 2015-02-12 21:34:28 +01:00
Juergen E. Fischer
24c95afd31 fix doxymentation warnings 2015-02-12 21:34:27 +01:00
Juergen E. Fischer
f540cd16a2 processing: verify postgresql access and request credentials if necessary (fixes #12137) 2015-02-12 21:34:08 +01:00
Nyall Dawson
e96b204b09 Fix failing pal labeling canvas test
Make sure image dpi respects mapsettings dpi in
QgsMapRendererSequentialJob.

Also apply a workaround to avoid segfault on end of test. This
workaround probably should be moved to QgsApplication::exitQgis()
but I'll do that after release in case of regressions.
2015-02-13 06:32:37 +11:00
Larry Shaffer
5273889d45 Enable C++11 only for newer clang versions; match AppleClang for Cmake 3
- Switch STREQUAL conditionals to MATCHES for Clang to handle CMake 3
  introduction of AppleClang compiler ID for Mac-specific Xcode clang,
  which has different reported versions than upstream clang
2015-02-12 09:06:29 -07:00
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