57921 Commits

Author SHA1 Message Date
Nyall Dawson
2f22aeaf27 [layouts][needs-docs] Add a page number selection combo box at the top
of the guide manager dock

This allows users to easily select the page they want to manage guides
for

Fixes #25700
2019-09-24 03:42:14 +10:00
Nyall Dawson
b4982127d8 [needs-docs] Add "Manager Guides for Page" action to layout designer
right click page menu

Makes it easier for users to explicitly choose which page they
want to manage the guides for

Refs #25700
2019-09-24 03:42:14 +10:00
Nyall Dawson
39cfd0f935 [needs-docs] Show color button style "Pick color" and "Chooe Color" actions
in symbol button menu

Synchronizes the behavior of the color and symbol buttons

Fixes #25696
2019-09-24 03:41:51 +10:00
Nyall Dawson
2ff91d24a9 Move methods to sample screen pixels to QgsGui 2019-09-24 03:41:51 +10:00
Nyall Dawson
d498eed0a5 [layouts] Fix out of sync layout bounds after page removal
Fixes #26665
2019-09-24 03:41:25 +10:00
Nyall Dawson
37b5af54d9 [layouts] Fix odd selection behavior when keyboard modifiers are pressed
when rectangular selection ends
2019-09-24 03:40:53 +10:00
Nyall Dawson
bd5743d267 Fix group members themselves are sometimes incorrectly selected when clicking in layouts 2019-09-24 03:40:53 +10:00
Nyall Dawson
5154240fa9 [layouts] Fix interaction with group members in items panel
When an item belonging to a group is selected in the panel, we actually
need to set the selection as the top-most group containing that item.

Fixes #26674
2019-09-24 03:40:53 +10:00
Nyall Dawson
fae87f4cbb [layouts] Only draw item boundary rectangles for direct descendants
of item groups

Refs #26674
2019-09-24 03:40:53 +10:00
Alexander Bruy
17632960de
Merge pull request #31960 from alexbruy/fix-26054
replace old extension when changing output format (fix #26054)
2019-09-23 20:28:57 +03:00
Denis Rouzaud
be4bd42a2c fix spelling 2019-09-23 17:32:46 +02:00
Denis Rouzaud
e31e9a32b8 fix false boolean not shown as so in attribute table 2019-09-23 17:08:08 +02:00
Denis Rouzaud
0e994fda02 [ASTYLE] increase max-instatement-indent to get nicer alignments on multilines 2019-09-23 17:02:02 +02:00
Alexander Bruy
3095aeeede replace old extension when changing output format (fix #26054) 2019-09-23 16:34:12 +03:00
Alexander Bruy
20583a8004 use GDAL connection string to support not only file-based layer but also
database and WFS
2019-09-23 11:53:19 +03:00
Alexander Bruy
dceabb0e29 use another approach for test 2019-09-23 11:53:19 +03:00
Alexander Bruy
3c13fbfeb5 [processing] correctly handle case when layer source is not a plain path
in the virtual vector algorithm (fix #29336)
2019-09-23 11:53:19 +03:00
Alessandro Pasotti
30e2fbfe88 Server fix openapi HTML template and improve styling
Mostly cosmetic fixes plus re-add links to openapi
json in case content-type is NOT OPENAPI3, because
it would break validation in that cae.
2019-09-23 09:50:21 +02:00
Alexander Bruy
cebdc8dded [dbmanager] don't ignore field modifiers (e.g. length or geometry
definition) when updating it (fix #27613)
2019-09-23 06:01:56 +10:00
Alexander Bruy
2a29c152a9 [georeferencer] clear canvas cache and layers when resetting (fix #26700) 2019-09-23 06:00:31 +10:00
Matthias Kuhn
0c3d9c5dc4 Maximum 4 recursive iterators
Prevent connection pool drainage freeze
2019-09-22 18:40:48 +02:00
Matthias Kuhn
0bbebbc83a
Merge pull request #31905 from KDAB/fix_26948
Block the events while showing a dialog
2019-09-22 16:27:16 +02:00
BogDan Vatra
f96c4a2308 Block the events while showing a dialog
When showing a file dialog, Qt can choose to use the "system" file
dialog, which will make QgsExternalResourceWidget to loose the focus.
This patch blocks all the events that are sent to
QgsExternalResourceWidget while a dialog is shown, this way it will keep
the focus until the dialog is closed.

Sponsored by the QGIS project (qgis.org)

Fixes: #26948
2019-09-22 12:28:52 +03:00
Alessandro Pasotti
02a28cf94e
Merge pull request #31920 from elpaso/bugfix-unreported-server-openapi
Fix Server OPENAPI validation and unreported QStringList to JSON conversion error
2019-09-22 09:47:15 +02:00
Juergen E. Fischer
766db97855 show sqlite version in about (closes #31911) 2019-09-22 00:58:42 +02:00
Alessandro Pasotti
f568e6f06c Server OGC API OPENAPI validation
Fix some OPENAPI validation issues.

Swagger is happy now, except for the MAP=/...
in the query string: no query string parameters
are allowed in the endpoint, but we can
fix this in the web server configuration.
2019-09-21 15:43:12 +02:00
Alessandro Pasotti
9a13e9be89 Fix JSON utils QStringList to json conversion
unreported
2019-09-21 15:42:35 +02:00
Juergen E. Fischer
fc77b9e962 fix 757017c2c2 2019-09-21 12:24:56 +02:00
Juergen E. Fischer
58d59e463c update_ts.sh: don't update ts files on pull w/o build directory 2019-09-21 01:33:50 +02:00
Alexander Bruy
b837e65662 use PostgreSQL quote_ident() function to quote schema and table names
when querying list of tables. This fixes syntax error when table name
itself contains quotes.
2019-09-21 07:21:22 +10:00
Alexander Bruy
54c23d137f [dbmanager] handle attempts to edit raster tables (fix #30214) 2019-09-21 06:05:42 +10:00
Nyall Dawson
cc94aebc6f [layout] Fix invalid svg exports when including metadata
The generated svgs with cc:Work elements were failing xml validation,
causing illustrator to reject them. Add the required ns for cc:Work
and also adapt the svg metadata to be compatible both with the svg
spec AND the metadata format Inkscape uses.

Fixes #28130
2019-09-21 06:04:44 +10:00
Nyall Dawson
ebdda229d2 [layouts] Auto select first result in validity check results 2019-09-21 06:04:20 +10:00
Nyall Dawson
abc9f47ca4 [legends] Fix missing symbols for inverted polygon layers when using
filter by map content

Fixes #22718
2019-09-21 06:03:47 +10:00
Matthias Kuhn
ff4f32db0d
Merge pull request #31863 from m-kuhn/gapCheckIgnoreMissingLayer
Gap check ignore missing layer
2019-09-20 18:49:38 +02:00
Matthias Kuhn
54dda46e85
Merge pull request #31899 from paulwittle/master
Update general.py
2019-09-20 18:48:10 +02:00
Alexander Bruy
04cbf44668
Merge pull request #31902 from alexbruy/processing-import
[processing] add missed import
2019-09-20 19:27:13 +03:00
Matthias Kuhn
387bffe20e
Merge pull request #31908 from m-kuhn/fromLatin1
Do not use QString::fromAscii
2019-09-20 18:02:43 +02:00
Matthias Kuhn
e53c6a14d8 Do not use QString::fromAscii
it is deprecated
2019-09-20 16:46:27 +02:00
Alexander Bruy
e3a7982c47
Merge pull request #31898 from alexbruy/fix-31353
[georeferencer] set target CRS when generating GDAL script (fix #31353)
2019-09-20 17:29:17 +03:00
Alexander Bruy
0c4f826039 [processing] add missed import 2019-09-20 12:59:33 +03:00
Alexander Bruy
21a73ae75e [georeferencer] set target CRS when generating GDAL script (fix #31353) 2019-09-20 11:29:18 +03:00
Paul Wittle
be25b2e392 Update general.py
Correction of error return type from bool to None (as per comments). This is to resolve unexpected exception messages when algorithm is not found.
2019-09-20 09:27:30 +01:00
Alessandro Pasotti
240bfb2a3f
Merge pull request #31871 from elpaso/bugfix-gh31635-spinbox-double-changed-event
Fix double event fired by QSpinBox in slow graduated
2019-09-20 09:04:34 +02:00
Nyall Dawson
757017c2c2 Use a slightly larger font size in CRS details on Windows
Fixes #31297
2019-09-20 11:13:41 +07:00
Harrissou Sant-anna
a4fd2978e9 Allow to collapse the GeoPdf options when exporting to pdf 2019-09-20 13:44:24 +10:00
Nyall Dawson
7ef014e282 Capitalization, ellipsis 2019-09-20 13:42:15 +10:00
Nyall Dawson
f11e660395 [processing] Add warning when packaging a geopackage with no layers
Fixes #31888
2019-09-20 13:39:35 +10:00
Julien Cabieces
cb481d4cfd make the layer editable to the default value constraint could be updated 2019-09-20 09:49:12 +10:00
Julien Cabieces
a3caf512c1 Select feature to fix the multiedit mode test 2019-09-20 09:49:12 +10:00