Nyall Dawson
fe9a098954
Minor Coverity fixups, clang warnings, 0->nullptr conversions
2016-01-03 20:56:40 +11:00
Nyall Dawson
2eb95f081f
Fix more warnings when building under clang with -wEverything
2016-01-02 11:08:03 +11:00
Sebastian Dietrich
62cc59c380
initialize a style group upon creation instead of upon renaming
...
(fixes #14050 )
2016-01-02 01:07:27 +01:00
Nyall Dawson
144ca8da2e
Fix test for QWT_POLAR
2016-01-02 09:40:54 +11:00
Nyall Dawson
0df4cbe3c4
Merge pull request #2625 from SebDieBln/FixAppendingNotSupported
...
Fix accumulating "Not supported" hints
2016-01-02 09:21:40 +11:00
Sebastian Dietrich
c136f9f550
added a test for vector joins in layer definition files
2016-01-01 23:06:06 +01:00
Sebastian Dietrich
b2b44ccca9
split generating XML and saving to QLR-file into separate functions
...
This increases flexibility and is consistent with the loading of a QLR-file.
2016-01-01 21:34:22 +01:00
Sebastian Dietrich
ff3200fd6c
make vector joins work within layer-definition-files
2016-01-01 21:12:41 +01:00
Nyall Dawson
5a42728f3e
Merge pull request #2624 from SebDieBln/SaveMemoryLayerFields
...
Read source from provider before saving memory layer (fixes #8997 )
2016-01-02 06:27:41 +11:00
Sebastian Dietrich
836ea81b77
added a test for memory layer fields being saved to XML
2016-01-01 15:28:58 +01:00
Nyall Dawson
368223ad0a
Show project path in server parsing error (revert before release)
...
(an attempt to debug test failures in debian)
2016-01-01 12:04:27 +11:00
Nyall Dawson
8042343970
Coverity fixes, including regression in label point obstacle code
2015-12-31 19:55:35 +11:00
Juergen E. Fischer
ba2b3de6b0
fix warnings
2015-12-31 02:08:24 +01:00
Sebastian Dietrich
9cd1edfda1
fix appending "Not supported" multiple times to label
...
The term "Not supported" is not appended to the label when it is already present.
The term is removed when no longer applicable.
2015-12-31 01:17:28 +01:00
Juergen E. Fischer
d641ff6fd6
debian packaging: add psycopg2 as build dependency
2015-12-31 00:15:56 +01:00
Sebastian Dietrich
dbc0f072c6
read source from provider before saving memory layer ( fixes #8997 )
2015-12-30 21:58:56 +01:00
Chris Mayo
6b42bad753
[pyqgis-console] Don't import pyqtconfig
...
pyqtconfig may not have been installed by PyQt4, leading to an error.
Was used to test for qt_version >= 0x40700 but CMakeLists.txt now checks
for QT_MIN_VERSION 4.8.0
2015-12-30 20:32:07 +00:00
Nyall Dawson
766bfa1a7f
Fix some more old style cast and float comparison warnings
2015-12-31 07:27:58 +11:00
Nyall Dawson
566dd4bd43
Always pass QgsFeatureId by value, not reference
...
Since it's just a int64, it's faster to pass by value
2015-12-30 22:51:32 +11:00
Nyall Dawson
34c9daab48
Fix slow icon rendering in field combo box (refs #14041 )
2015-12-30 21:35:57 +11:00
Jürgen Fischer
b73785023b
Merge pull request #2620 from SebDieBln/FixCsvSaveStyle
...
Fix saving style of CSV-layer to qml/sld file (fixes #8285 )
2015-12-29 00:45:42 +01:00
Marco Hugentobler
d01990058a
Unit tests
2015-12-28 19:29:16 +01:00
Marco Hugentobler
bf3fbec755
Remove the whole ring / linestring if number of vertices to small
2015-12-28 18:24:32 +01:00
Sebastian Dietrich
02e92727d9
fix saving style of CSV-layer to qml/sld file ( fixes #8285 )
2015-12-28 02:14:52 +01:00
Juergen E. Fischer
416c004a08
fix warnings on lupdate
2015-12-27 17:53:35 +01:00
Juergen E. Fischer
66d72f0686
fix lucid reference in INSTALL
2015-12-27 17:18:21 +01:00
Webmaster
70f6e15ab1
[symbology] increase maximum size of natural break classification
2015-12-27 14:18:35 +07:00
Juergen E. Fischer
46f283b683
fix warnings
2015-12-26 18:47:42 +01:00
Juergen E. Fischer
573a4b7061
debian packaging: upgrade python-qgis recommends to depends
2015-12-26 15:41:48 +01:00
Jürgen Fischer
a2a1c374de
Merge pull request #2614 from SebDieBln/UpdateCachedProjectEmbedLayers
...
Re-Read the cached project file when its contents have changed
2015-12-26 15:18:33 +01:00
Sebastian Dietrich
9be51c43b1
reread cached project file when its contents have changed
...
When embedding layers, reread the external project file if its lastModified timestamp changed.
2015-12-26 14:58:44 +01:00
Matthias Kuhn
917dd05519
Merge pull request #2604 from SebDieBln/NoNewFilesOnSaveProject
...
[App] Use the existing files when saving an existing project.
2015-12-26 11:40:38 +01:00
Nathan Woodrow
6fed1ae441
Merge pull request #2613 from nirvn/fix_graduated_values_v3
...
[graduated symbology] increase precision of float values when saving to dom
2015-12-26 14:38:15 +10:00
nirvn
8ff4c78e7a
[symbology] fix precision of values when saving settings ( #14036 )
2015-12-26 10:48:47 +07:00
Juergen E. Fischer
71dc339106
more stl to qt ports and size_t => int fixups
2015-12-26 00:59:09 +01:00
Jürgen Fischer
5605eafa40
Merge pull request #2612 from SebDieBln/FixWarningsOnWindows
...
Avoid some compiler warnings on Windows
2015-12-25 16:18:18 +01:00
Sebastian Dietrich
87d742d18d
prompt the user to load backup when load project fails
...
If an error occurs while loading the project file, prompt the user to load the backup file instead, if it exists.
2015-12-25 14:58:03 +01:00
Sebastian Dietrich
e1586422a9
change project/backup file only after preparing the data
...
This avoids corrupted project files when crashing during the preparation of the XML data to write to the project file, e.g. due to a faulty plugin.
2015-12-25 14:58:01 +01:00
Sebastian Dietrich
7c3cf646e8
use existing files when saving existing project
2015-12-25 14:38:57 +01:00
Matthias Kuhn
036eada990
Fix #14001
2015-12-25 09:18:55 +01:00
Matthias Kuhn
d746a94273
Expressions: test prepare() and fix segfault
2015-12-25 09:10:18 +01:00
Juergen E. Fischer
5f1959bc78
move more stl usage to qt
2015-12-25 05:46:00 +01:00
Juergen E. Fischer
4530c2abbe
improve project saving to network shares ( fixes #13299 )
2015-12-25 04:29:49 +01:00
Juergen E. Fischer
8949c4420e
indentation test: improve interpretation of commit ranges
2015-12-25 04:29:46 +01:00
Sebastian Dietrich
7ccbe1bfc3
avoid some compiler warnings on Windows
...
The ERROR macro is already defined by WinGDI.h and so the warning C4005 'macro redefinition' was thrown.
The constant 0xFE is out of range for (signed) 'char' and so the warning C4309 'truncation of constant value' was thrown.
2015-12-25 02:30:42 +01:00
Matthias Kuhn
4b72357875
Expressions, fix WhenThen crash and more tests
...
* Fix a crash with WhenThenList
* Check implicit sharing with all test expressions.
2015-12-24 17:53:37 +01:00
Marco Hugentobler
09e23ee93b
Fix file check
2015-12-24 17:12:27 +01:00
Salvatore Larosa
88a197b20f
[processing] fix missing import for Union and Clip algs
2015-12-24 16:26:58 +01:00
rldhont
cc2fb2efda
[Processing] Update gui
2015-12-24 15:14:02 +01:00
rldhont
9da4a76e6f
[Processing] update parameters test
2015-12-24 15:14:02 +01:00