32130 Commits

Author SHA1 Message Date
Nyall Dawson
0adae36f08 Fix effects not working for ellipse symbol layers (fix #14661) 2016-04-12 15:52:15 +10:00
Matthias Kuhn
82c7bbe0e2 [travis] Qt4: Don't run tests in parallel 2016-04-12 06:57:03 +02:00
Nyall Dawson
4bbe318c20 [symbology] Remove distorted star symbol 2016-04-12 12:12:57 +10:00
Nyall Dawson
6df1f6866c [raster] Add note and docs for psuedocolor 'clip' option 2016-04-12 11:08:37 +10:00
Nyall Dawson
ce2891b10e Fix missing map settings expression variables in composer maps
Missing map extent related variables were causing stacking order
issues with the 25d renderer (fix #14604)
2016-04-12 09:14:03 +10:00
Matthias Kuhn
1ed39c4877 Fix indentation 2016-04-11 20:32:32 +02:00
Matthias Kuhn
c7ddc4b229 [processing] Allow calling GdalUtils.runGdal w/o progress 2016-04-11 17:55:46 +02:00
Alexander Bruy
e873540d14 [processing] fix path handling (fix #14432) 2016-04-11 18:52:27 +03:00
Juergen E. Fischer
4815ebd5c2 doxygen: fix extra stylesheet path 2016-04-11 17:37:17 +02:00
Alexander Bruy
abda90fe0d [processing] filter items in toolbox using translated and original names (fix #13764) 2016-04-11 15:57:22 +03:00
Nyall Dawson
16d8da3886 Fix some providers did not respect layer's subset when calculating
min/max/uniqueValues

Providers included delimited text, memory, virtual layer, and WFS

Add unit test to provider test
2016-04-11 22:01:29 +10:00
Sandro Santilli
483eb86f18 Fix the request for 2-spaces indent 2016-04-11 10:33:59 +02:00
Sandro Santilli
54b6a65c45 Request 2-spaces indent 2016-04-11 10:21:36 +02:00
Sandro Santilli
ebbae38c95 Add generic editor configuration
See http://editorconfig.org
2016-04-11 09:58:57 +02:00
Alexander Bruy
f04de1ba97 Merge pull request #2982 from alexbruy/cancel-style-loading
don't apply loaded style when layer properties dialog is cancelled
2016-04-11 09:16:51 +03:00
Nyall Dawson
0c5fa81126 Fix huge legend item size when symbol uses map unit sizes (fix #13979)
Add unit test
2016-04-11 15:34:49 +10:00
Nyall Dawson
e21de0394d Add methods for retrieving and setting size units for QgsMarkerSymbolV2 2016-04-11 15:34:43 +10:00
Nyall Dawson
25ad0af86c [symbology] Add explanatory text for 0 line widths (fix #9937) 2016-04-11 08:42:54 +10:00
Alexander Bruy
8eb79dbb91 [processing] fix missed quotes in OTB provider (fix #14557) 2016-04-10 11:39:29 +03:00
Alexander Bruy
badea8ceb2 [processing] fix GRASS icon 2016-04-10 11:32:16 +03:00
Alexander Bruy
525194dc0b [processing] don't ask for MSYS folder for GRASS7 (fix #14431) 2016-04-10 11:31:46 +03:00
Alexander Bruy
391e14ac96 Merge pull request #2988 from nyalldawson/dissolve
[processing] Use unary union in dissolve
2016-04-10 09:23:08 +03:00
Nyall Dawson
ae59b733c3 [processing] Use unary union in dissolve (much faster for many
complex geometry inputs)
2016-04-10 12:58:01 +10:00
Jürgen Fischer
7d235d2b0c Merge pull request #2987 from rouault/wfs_uppercase_attribute
[WFS] Fix support of attribute names in upper-case
2016-04-10 01:14:21 +02:00
Nyall Dawson
f90f999eb4 Fix typo 2016-04-10 08:49:30 +10:00
Even Rouault
a72fcb8fe1 [WFS] Fix support of attribute names in upper-case
Bugfix of issue introduced in commit 9040ec1baf33e55a9ba5abcc4fa2ee18d54a4212

When doing the spatialite cache initialization with OGR, the attribute
names get 'laundered' in lower case, which makes their matching afterwards
fail. Fix this. And also handle the situation where an attribute would
be named 'geometry'
2016-04-10 00:30:35 +02:00
Juergen E. Fischer
fa3aba348c fix 1050174 2016-04-09 23:21:23 +02:00
Juergen E. Fischer
1050174532 spatialite provider: prefer rowid as primary key where available (and some cleanups)
fixes #14575, fixes #14626
2016-04-09 22:32:17 +02:00
Matthias Kuhn
289776417d [travis] No need to wait for slow jobs to finish on failure 2016-04-09 15:32:29 +02:00
Matthias Kuhn
e7c7f85b30 [travis] Clang 3.8 for Qt5 buildss 2016-04-09 15:14:56 +02:00
Matthias Kuhn
79e3e0e9f1 [travis] Clang 3.8 for Qt4 builds 2016-04-09 15:14:04 +02:00
Alexander Bruy
25a162c05a don't apply loaded style when layer properties dialog is cancelled 2016-04-09 11:59:30 +03:00
Nyall Dawson
156721b380 Use average mode for align raster downsample tests
GDAL 2.0 changed (fixed) the bilinear downsampling algorithm, so
switch to the average algorithm so that test results are the same
for GDAL versions >= 2.0 and < 2.0.
2016-04-09 09:48:47 +02:00
Matthias Kuhn
2ee6200eb0 @cond 2016-04-09 09:48:47 +02:00
QGEP
6ea74d6234 Workaround a instable system call 2016-04-09 09:48:46 +02:00
Matthias Kuhn
fa90a7bb7c ogrinfo reports null geometry features differently 2016-04-09 09:48:46 +02:00
Matthias Kuhn
f88cf7de8a Drop processing algorithm comparison precision 2016-04-09 09:48:46 +02:00
Matthias Kuhn
c825f46534 Writing shapefiles with Z dimensions is gdal version dependent 2016-04-09 09:48:46 +02:00
Matthias Kuhn
21702baeab Container based Qt4 builds 2016-04-09 09:48:46 +02:00
Nyall Dawson
965cef2b2e Indentation fix 2016-04-09 10:55:27 +10:00
Nyall Dawson
1b4bd47076 [composer] New QSortFilterProxyModel for filtering items by type
and new widget QgsComposerItemComboBox for showing matching composer
items.

Swap existing comboboxes to use the new widget, which removes a lot
of fragile code designed to allow selection of items. Additionally
the combobox now show the correct item id rather than always showing
"Map 0/1/..."
2016-04-09 09:38:09 +10:00
Nyall Dawson
4764b53518 [composer] Fix world file map is not restored from project 2016-04-09 09:38:09 +10:00
Nyall Dawson
8722acea57 [browser] Set focus to filter edit when filter activated
Also clean up some code
2016-04-09 09:38:09 +10:00
Nyall Dawson
edee876874 Merge pull request #2985 from manisandro/geom_checker_fixes
Geom checker fixes
2016-04-09 09:14:15 +10:00
Juergen E. Fischer
d07bc18353 oracle provider: handle empty geometries (fixes #14631) 2016-04-08 21:46:19 +02:00
Juergen E. Fischer
96148e36ff fix python future installation (followup 5895780) 2016-04-08 21:02:29 +02:00
Jürgen Fischer
644eec66a5 Merge pull request #2984 from rouault/fix_thread_unsafe_init_of_QgsExpression_functions
Fix thread-unsafe initialization of QgsExpression::Functions()
2016-04-08 19:47:46 +02:00
Matthias Kuhn
9b9377fa87 Fixup b6aee93 2016-04-08 19:23:57 +02:00
Even Rouault
d30836ea1a Fix thread-unsafe initialization of QgsExpression::Functions()
The method initializes the gmFunctions static member, without any mutex protection.
This turned out to cause random crashes in the tests of the WFS provider since the downloader
thread may evaluate an expression, in parallel of the main thread, which does the same.
This was mainly seen on Mac Travis (2 crashes + 1 failures, over 50 iterations), when
parallelizing tests so as to get particular scheduling :
https://travis-ci.org/rouault/Quantum-GIS/builds/121720556.
But I could finally reproduce it systematically on my Linux box when inserting the following sleep.

diff --git a/src/providers/wfs/qgswfsshareddata.cpp b/src/providers/wfs/qgswfsshareddata.cpp
index adc7042..e9e4577 100644
--- a/src/providers/wfs/qgswfsshareddata.cpp
+++ b/src/providers/wfs/qgswfsshareddata.cpp
@@ -426,6 +426,7 @@ int QgsWFSSharedData::registerToCache( QgsWFSFeatureIterator* iterator, QgsRecta
     connect( mDownloader, SIGNAL( ready() ), &loop, SLOT( quit() ) );
     mDownloader->start();
     loop.exec( QEventLoop::ExcludeUserInputEvents );
+    usleep( 100 * 1000 );
   }
   if ( mDownloadFinished )
     return -1;

After applying this commit, the Mac builder is fine:
https://travis-ci.org/rouault/Quantum-GIS/builds/121756158
2016-04-08 19:19:49 +02:00
Matthias Kuhn
b6aee93563 Align raster code improvements
* Fix x/y mismatch
 * Improve strings for translation
 * Remove unrequired cast
2016-04-08 18:48:59 +02:00