48597 Commits

Author SHA1 Message Date
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
Matthias Kuhn
4ddfd134fd
Merge pull request #7286 from anitagraser/patch-2
fixed link to PyQGIS docs
2018-06-21 09:30:39 +02:00
Anita Graser
ce0964402f
fixed link to PyQGIS docs 2018-06-21 08:58:49 +02:00
Juergen E. Fischer
c27b445130 fix tar (followup 4790747a) 2018-06-21 08:51:41 +02:00
Nyall Dawson
e9bb1616a5 Another shellcheck fix 2018-06-21 15:33:29 +10:00
Nyall Dawson
b0aaa9d11a Fix test 2018-06-21 15:33:29 +10:00
Nyall Dawson
2104b563d6 Fix some SC2086 warnings 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
Aleix Pol
db398ab1b5 Install appdata information for QGIS 2018-06-21 03:55:28 +02:00
Nyall Dawson
481461dea0 Align widgets in raster layer save as dialog 2018-06-21 08:56:37 +10:00
Harrissou Sant-anna
c61794cc89 Use a proper label in the "Save raster as" dialog
and mimic the vector dialog
2018-06-21 08:46:19 +10:00
Denis Rouzaud
408979ceb5 fix prepare-commit for python additions 2018-06-20 11:21:25 -08:00
Denis Rouzaud
f749c521a9 use Q_ENUM for QgsLocator::Priority 2018-06-20 11:21:25 -08:00
Juergen E. Fischer
4790747aea Tune osgeo4w scripts (followup cab6a4b6) 2018-06-20 10:01:34 +02: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
Matthias Kuhn
2778266be9
Merge pull request #7274 from m-kuhn/raii
Code cleanup
2018-06-20 07:41:25 +02: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
Nyall Dawson
4132dbc1c8 Typo 2018-06-20 15:06:36 +10:00
Nyall Dawson
e489761cc2 Good typography 2018-06-20 15:04:08 +10:00
Matthias Kuhn
bf4604f0fe
Typo 2018-06-20 06:30:50 +02:00
Matthias Kuhn
4dfbb6b7dd
Stick to C++11 for now 2018-06-20 06:30:17 +02:00
Nyall Dawson
8d6ce61a70 [processing] Silence warnings thrown from within plotly on import 2018-06-20 08:07:23 +10:00
Nyall Dawson
16ac437780 [processing] Fix bar and box plot exception when category field has NULL values 2018-06-20 08:07:23 +10:00
Lancelot SIX
31a8f3f1ad Ensure qgis.db is writable when copied from RO source
In some package managers (such as NIX[1], used in NixOS[2]), all the data is
installed into a read-only file system.

When QGis is first launched on those systems, it copies the template
`qgis.db` from the share directory into the user private .local
directory, but keeps its permissions unchanged: readonly. Any attempt
from QGIS to update this file fails.

This commit makes sure that the `qgis.db` file is user writable when it
is copied from the installation directory.

[1] https://nixos.org/nix/
[2] https://nixos.org/
2018-06-20 08:06:35 +10:00
Harrissou Sant-anna
81330ec7c6 Replace Style tab by symbology
to be coherent with vector layer properties dialog and cleanup the 'style' misuse/confusion
2018-06-20 07:33:08 +10:00
Sandro Mani
16673ae944 Fix potential buffer truncation
Forward ported from kadas-albireo
2018-06-20 07:09:24 +10:00
Matthias Kuhn
693455b30b
Use const cache 2018-06-19 22:32:13 +02: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
Alessandro Pasotti
543c7a79c5
Merge pull request #7272 from tudorbarascu/tests
remove redundant test
2018-06-19 17:37:25 +02:00
Matthias Kuhn
353eb65117
Double quote to prevent globbing and word splitting. 2018-06-19 16:22:38 +02:00
Matthias Kuhn
6993380838
$/${} is unnecessary on arithmetic variables. 2018-06-19 16:15:38 +02:00
Matthias Kuhn
4d8cdd8933
Double quote to prevent globbing and word splitting. 2018-06-19 16:15:28 +02:00