5815 Commits

Author SHA1 Message Date
Even Rouault
14a913e25b
Merge pull request #7170 from rouault/wfs_pagesize
[WFS provider] [FEATURE] Allow user to enable/disable paging and specify page size (fixes #18935)
2018-06-22 14:57:37 +02:00
Matthias Kuhn
2718317e85
Merge pull request #7298 from nyalldawson/layout
[layouts] Save last used export folder in project
2018-06-22 14:35:37 +02:00
Matthias Kuhn
c780d607cc
Merge pull request #7105 from PeterPetrik/quick-3-identity
[qgsquick] [feature] Identify and highlight
2018-06-22 14:34:08 +02:00
Matthias Kuhn
638fc0ceff
Merge pull request #7245 from rouault/gpkg_transactions
[OGR provider] [FEATURE] Add support for transactions on GPKG databases
2018-06-22 14:33:01 +02:00
Martin Dobias
3f16335c66
Merge pull request #7296 from wonder-sk/processing-python-escape-quotes
Fix escaping of quotes of map layer source in processing
2018-06-22 10:49:37 +02:00
Martin Dobias
bc737cefcd Switch more valueAsPythonString() implementations to use stringToPythonLiteral() 2018-06-22 09:20:17 +02:00
Nyall Dawson
cd495fbb80 Don't crash when findLayer is called with a nullptr 2018-06-22 14:29:40 +10:00
Nyall Dawson
52fa989cd6 More tests 2018-06-22 12:50:23 +10:00
Nyall Dawson
635f8ad7ca Add QgsFileUtils::findClosestExistingPath to find the closest
existing folder match for a path

E.g. if \a path is "/home/user/projects/2018/P4343"
and "/home/user/projects" exists but no "2018" subfolder
exists, then the function will return "/home/user/projects".

(Suprisingly no existing Qt method for this!)
2018-06-22 10:45:00 +10:00
Etienne Trimaille
6eeaca5570 return the default style first in the list 2018-06-22 09:23:47 +10:00
Denis Rouzaud
3c74991286 add test for QgsSettings.setEnumValue 2018-06-21 05:29:16 -08:00
Nyall Dawson
5cfa18ee9f Fix more sorting issues in vector format lists 2018-06-21 18:22:55 +10:00
Nyall Dawson
2ed547219a Add globs to information returned by QgsVectorFileWriter.supportedFiltersAndFormats 2018-06-21 18:22:55 +10:00
Nyall Dawson
352f3f34ce Explicitly list [xlsx] extension for 'MS Office Open XML spreadsheet' format
...because most humans don't associate "MS Office Open XML" with XLS
2018-06-21 18:22:55 +10:00
Nyall Dawson
f332971084 Fix confusing sort order of vector formats in save as dialog
We were sorting on the driver name, not the display name, so
MS OpenOffice ("XLSX") was appearing after Sqlite.
2018-06-21 18:22:55 +10:00
Nyall Dawson
b0aaa9d11a Fix test 2018-06-21 15:33:29 +10:00
Nyall Dawson
78b07cdf31 Fix SC2196 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
4778498c94 Fix SC2034 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
5b375a2edf Fix SC2188 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
0e9a381534 Fix SC2103 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
040f1d1879 Fix SC2006 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
cab83c51a8 Fix SC2222 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
7ad85a451f Fix SC2004 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
00477ff910 Fix SC2068 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
11bb5afa0b Fix SC2035 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
fc20fc81f7 Fix SC2062 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
6c9484b923 Fix SC2181 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
36e38210db Fix SC2116 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
80d655598a Fix SC2219 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
4118bafc96 Fix all SC2164 warnings 2018-06-21 15:33:29 +10:00
Nyall Dawson
0d41925535 Disable all failing shellcheck checks 2018-06-21 15:33:29 +10:00
Nyall Dawson
7d938e8b94 [ci] Run shellcheck as part of code_layout build 2018-06-21 15:33:29 +10:00
Nyall Dawson
fb3ff6d226 [layouts] Fix a crash when using multiframe items when no pages exist 2018-06-20 17:12:13 +10:00
Nyall Dawson
afde31b94f [layouts] Avoid a crash when no pages exist in layout 2018-06-20 17:12:13 +10:00
Nyall Dawson
77d22849d9 Fix calculation of relation aggregate in virtual field with same name as related field 2018-06-20 15:23:55 +10:00
Denis Rouzaud
d36015070c
Merge pull request #7171 from 3nids/sip_python_repr
create Python __repr__ methods for QgsPoint and QgsPointXY
2018-06-19 09:56:28 -08:00
Denis Rouzaud
ff1988f11d Python __repr__ test output 2018-06-19 13:55:53 -04:00
Nyall Dawson
2aa2ef48f0 [layouts] Fix data defined page sizes sometimes lead to incorrect
created atlas image sizes

Because the exporter prefers to use the image size when it's
specified (as is done in QGIS app), we need to ignore this
when the aspect ratio of that size doesn't match the aspect
ratio of the page to render.

Fixes #18534
2018-06-20 02:43:51 +10:00
Tudor Bărăscu
0b9df82268 remove redundant test 2018-06-19 14:16:01 +03:00
Denis Rouzaud
a719605ef1 clean auto folders in sip test 2018-06-19 07:14:22 -04:00
Denis Rouzaud
cc3e29bcc2 add __repr__ for more geometry classes and add test 2018-06-19 07:02:17 -04:00
Alessandro Pasotti
97726d6fbc
Merge pull request #7270 from tudorbarascu/enable_tests
enable test for getfeatureinfo value relation widget values
2018-06-19 12:26:20 +02:00
Alessandro Pasotti
5797c49312
Merge pull request #7261 from elpaso/bugfix-19195-wms-drag
[bugfix] Fix double escaping of colon in QgsMimeDataUtils
2018-06-19 11:40:08 +02:00
Tudor Bărăscu
05fad59b26 enable test for getfeatureinfo value relation widget values 2018-06-19 12:08:02 +03:00
Nyall Dawson
a2ef677912 Add method to toggle user visibility of QgsDockWidgets 2018-06-19 17:22:12 +10:00
Alessandro Pasotti
db55088f1d
Merge pull request #7265 from ablakey/fix-py-provider-index
Addressed two issues that caused createSpatialIndex() to fail.
2018-06-19 08:22:04 +02:00
Nyall Dawson
3ea8a41834 [layouts] Tweak format of multiple metadata keyword argument exports 2018-06-19 12:08:11 +10:00
Andrew Blakey
d84471b149 Addressed two issues that caused createSpatialIndex() to fail. Fixes #19220 2018-06-18 20:04:43 -04:00
Nyall Dawson
5b47f94f75 Fix silliness in test 2018-06-19 06:23:58 +10:00
Nyall Dawson
063b169bd7 Spelling 2018-06-19 06:23:58 +10:00