51788 Commits

Author SHA1 Message Date
rldhont
eae047e9dd [Server][Tests] Update WMS GetMap Selection
The selection color is read from the project and apply to the map.
2018-10-25 16:40:53 +02:00
Borys Jurgiel
39f97ecbb2 [bugfix] Disable overwriting GPKG layers with rasters in the Browser panel until it works properly. 2018-10-25 16:21:35 +02:00
Alessandro Pasotti
b0104a2807
Merge pull request #8324 from elpaso/bugfix-unreported-ensure-qml-extention-on-save-style-to-file
Bugfix unreported ensure qml extention on save style to file
2018-10-25 16:03:49 +02:00
Matthias Kuhn
4acb12d18e
Merge pull request #8281 from m-kuhn/copyValueMapToClipboard
Allow copying value map definitions to clipboard
2018-10-25 15:57:48 +02:00
signedav
9768fdd0f3 handle EnableChange event in QgsFilterLineEdit 2018-10-25 15:27:05 +02:00
Denis Rouzaud
6a9cff3fd2
reserve space in feature list for performance (#8322) 2018-10-25 05:19:13 -08:00
Denis Rouzaud
d1423decc8 add theme style.qss.auto to gitignore 2018-10-25 09:11:59 -04:00
signedav
a4bb9058b4 removed extra ; 2018-10-25 15:00:00 +02:00
signedav
5b4aed3aa2 Test if NULL is selected 2018-10-25 14:58:30 +02:00
Alessandro Pasotti
f73673060b Fix show other DB styles when there are no styles for current layer
Aka: cleaning my own mess :)
2018-10-25 14:36:04 +02:00
Denis Rouzaud
cd509de59c
fix typo 2018-10-25 08:35:46 -04:00
rldhont
a9e6950eee [Server] Use Project selection color in GetPrint for 3.4
Because selection was deactivated in layout, selection color was not transmitted from QgsProject to QgsLayoutRenderContext to QgsMapSettings.

forward porting of #7294
2018-10-25 14:31:07 +02:00
signedav
fa625ff022 use forward declaration for QgsFeature
and use as_const on featurelist
2018-10-25 14:26:27 +02:00
Alessandro Pasotti
6afb8def0a Add a test for saveNamedStyle to file path 2018-10-25 14:20:18 +02:00
Alessandro Pasotti
08f2a02adf Ensure save as style file appends qml extension
... or you'll save in the DB instead
2018-10-25 14:19:31 +02:00
signedav
cb19b34655 iterate through features with iterator 2018-10-25 14:16:37 +02:00
signedav
f0b0aea3b2 controll clear button by edit-state
because it has to appear on edit-mode, otherwise not
2018-10-25 13:56:57 +02:00
signedav
0a2689d94e rearanged imports 2018-10-25 13:29:13 +02:00
Denis Rouzaud
0959e9f453
force Night Mapping theme on Mac Mojave with Dark Theme (#8309)
* force Night Mapping theme on Mac Mojave with Dark Theme

otherwise QGIS is pretty unusable
see #20195

* [themes] add automatic mode to base theme on OS theme

only effective on Mac OS for now

* Revert "add auto theme based on OS to choose default / dark theme"

This reverts commit d012451cadb4653421eb49711ac99ed48e064622.

* apply auto theme only for Qt < 5.12

* Update src/app/qgisapp.cpp

* better doc
2018-10-25 03:16:46 -08:00
Peter Petrik
20a205d881 fix for different vector rendering types 2018-10-25 13:16:17 +02:00
Peter Petrik
b0bd629336 fix #19939: render mesh arrows also on the edge of the canvas 2018-10-25 13:16:17 +02:00
Ted Meyer
a1d6f29e87 Use time.process_time() instead of time.clock()
time.clock is set to be deprecated in python3.8,
and was replaced by time.process_time in python3.3
2018-10-25 20:48:48 +10:00
signedav
2e01811aa7 tests for switching between values
especially setting the NULL value and checking if it's selected
checking if the clear button is activ when it should and inactive when it should
2018-10-25 12:34:12 +02:00
signedav
37d0fb416f green icon 2018-10-25 11:56:35 +02:00
Matthias Kuhn
02888959a2
Merge pull request #8263 from signedav/gpkg_offline_editing
[Bugfix] offline editing with gpkg
2018-10-25 11:54:56 +02:00
Nyall Dawson
ce0f8e3600 Fix broken status bar font size logic
The logic which was put in place to drop the status bar font size
by a couple of points was being overridden by style sheet settings.

Fix this and ensure that all right-located status bar widgets
correctly use the smaller font size. Also tweak locator width a little.
2018-10-25 19:53:01 +10:00
Nyall Dawson
ac44bf2514 Avoid crash when setting application font/font size in options dialog
https://bugreports.qt.io/browse/QTBUG-69204 causes a segfault
in Qt >= 5.11 if we change the stylesheet on the fly.

Workaround this by only setting the stylesheet once at startup,
and require a restart if settings change which modify the
stylesheet.

Just a workaround -- the upstream bug is being looked at,
but better to require a restart than crash.
2018-10-25 19:53:01 +10:00
Nyall Dawson
4f432820db Don't set app stylesheet font/font size if it isn't changed from
the default

Potentially avoids some hidpi scaling issues
2018-10-25 19:53:01 +10:00
Nyall Dawson
728b9fcf9b Avoid heap allocations 2018-10-25 19:53:01 +10:00
Nyall Dawson
4fdec37c17 Remove some unused members 2018-10-25 19:53:01 +10:00
signedav
ba1fe9de0e remove username/password in db connection in test project 2018-10-25 11:40:44 +02:00
rldhont
74f2785532 [Server] Reactivate the capability to print selection with Server 3.4
The capability to print selection has been removed by the commit aaa7003 to
prevent accidental selections showing in exports from composer.

It is reactivated only for QGIS Server.

Fixes #13459 QGIS Server WMS GetPrint request don't respect SELECTION parameter

It's a forward porting of #7185
2018-10-25 11:33:43 +02:00
rldhont
3ff5c8299d
Merge pull request #8319 from rldhont/fix-dbmanager-sql-layer-set-unique-combo-3
[BUGFIX][DbManager] SQL Layer: fix unique combo setting in QGIS 3
2018-10-25 11:31:27 +02:00
Matthias Kuhn
8f4f7f11ac
Merge pull request #8230 from m-kuhn/gdalDoNotPersistEstimatedMetadata
Do not persist estimated GDAL metadata
2018-10-25 10:20:54 +02:00
Etienne Trimaille
d6a2cbf178 add missing optional flag in some qgs expression helps 2018-10-25 18:20:23 +10:00
signedav
7939cfb557 remove connection to lineeditcleared, because of already correct null value implementation there 2018-10-25 10:19:48 +02:00
rldhont
236edd2723
Merge pull request #8318 from rldhont/processing-convertformat-geopackage
[Processing] Add GeoPackage support in alg qgis:convertformat (forward)
2018-10-25 10:19:03 +02:00
Borys Jurgiel
221df8e65e Follow up 88b80394c09045c 2018-10-25 18:11:36 +10:00
Borys Jurgiel
d0813a8822 Introduce QgsGui::HigFlags and don't capitalize menu entries and dialog titles in languages other than English. Fixes #19724 2018-10-25 18:11:36 +10:00
rldhont
2eb22d93ff [BUGFIX][DbManager] SQL Layer: fix unique combo setting in QGIS 3
When opening Update SQL layer, the unique combobox is not well set specifically with oracle.

It's a forward porting of #7872

Funded by Ifremer
2018-10-25 09:30:59 +02:00
rldhont
1d246de545 [Processing] Add GeoPackage support in alg qgis:convertformat (forward)
This is the forward porting of #8143
2018-10-25 09:20:29 +02:00
signedav
e37f1d1127 pass nullRepresentation to QgsFilterLineEdit 2018-10-25 08:50:25 +02:00
Nyall Dawson
0bd1b7ab81 Fix failing dox test 2018-10-25 16:41:11 +10:00
Nyall Dawson
244ba5ca3a [afs] Handle invalid responses returned from FeatureServer multipoint
layers, where individual features may have point geometries

Not sure if this is a bug in ArcGIS server (probably, yeah, let's
go with definitely. I couldn't check the source to see.) But in
general QGIS approach is to be forgiving and do our best to
make up for badly behaved servers).

See https://community.esri.com/thread/14037
2018-10-25 10:52:02 +10:00
Nyall Dawson
b039cd12dc Unit test for QgsMessageBarItem::dismiss 2018-10-25 10:51:44 +10:00
Nyall Dawson
d67982415a [ux] Auto dismiss message bar items when a link is clicked in the item
At this stage the user has already read and acted upon the notification,
so requiring them to explicity dismiss the notification is an
annoying extra action.
2018-10-25 10:51:44 +10:00
Nyall Dawson
124f738188 Allow message bar items to be dismissed from QgsMessageBarItem 2018-10-25 10:51:44 +10:00
Nyall Dawson
0a02432b0c Clazy warnings 2018-10-25 10:51:44 +10:00
Nathan Woodrow
01d2fc58cb
UX - Add icon for field types in expression widget (#8195) 2018-10-25 09:59:03 +10:00
Borys Jurgiel
8bee898860 Move the scale lock button from QgsStatusBarScaleWidget to QgsStatusBarMagnifierWidget, so it's hidable together with the magnifier in the Customization 2018-10-24 21:30:50 +02:00