51561 Commits

Author SHA1 Message Date
Alessandro Pasotti
653a668531
Merge pull request #8325 from elpaso/bugfix-other-db-styles
Fix show other DB styles when there are no styles for current layer
2018-10-25 16:56:35 +02:00
Matthias Kuhn
dc334ac028
Merge pull request #8223 from signedav/json_tests
QgsServer Tests for JSON fields
2018-10-25 16:41:40 +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
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
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
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
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
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
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
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
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
302529a10c
Merge pull request #8289 from borysiasty/csv_string_quoting
[needs-docs] Save layer as CSV: add STRING_QUOTING option to the predefined drop-down widgets
2018-10-24 18:37:32 +02:00
Denis Rouzaud
745526dff0 rename params of virtual methods to match parent class, add missing private cond 2018-10-24 07:54:06 -08:00
Denis Rouzaud
fa92f41eb5 add missing doxymentation to gui/layout 2018-10-24 07:54:06 -08:00
Denis Rouzaud
3663de9103 [API docs] add missing gui/layout 2018-10-24 07:54:06 -08:00
Denis Rouzaud
0b22508fe6 give a few references in QgisInterface API docs 2018-10-24 07:54:06 -08:00
Denis Rouzaud
1bcd306197 add missing SIP_DEPRECATED annotation 2018-10-24 07:54:06 -08:00
Blottiere Paul
c41a5d07d5
Merge pull request #8220 from pblottiere/server_invalid_bbox
[server] Fixes #5520 - Invalid BBOX in WMS GetCapabilities
2018-10-24 15:35:19 +01:00
rldhont
b8469dc3b1
Merge pull request #8285 from uprel/master
[Bugfix][Server][WFS] Fixing bug in WFS update transaction for version 1.0.0
2018-10-24 15:07:30 +02:00
Alessandro Pasotti
4f0a8003f1
Merge pull request #8302 from elpaso/bugfix-20200-pg-sequence-in-forms
Check if we have a numeric value before stripping the group separator
2018-10-24 14:50:58 +02:00
Daniele Viganò
9cb4d57244 [RPM] Patch for F29 is not needed anymore (#8304) 2018-10-24 03:54:48 -08:00
Juergen E. Fischer
4464089487 auto-detect name of sip module used by PyQt5 2018-10-24 13:38:03 +02:00
Alessandro Pasotti
797911e1fe Check if we have a numeric value before stripping the group separator
Fix #20200 - wrong sequence detection under postgres

This is to avoid stripping out the dot from nextval
when schema is not public and locale has a dot
decimal separator.
2018-10-24 12:45:36 +02:00
Alessandro Pasotti
0e5627cefe
Merge pull request #8301 from elpaso/bugfix-fix-sip-python-3-5
Fix import sip on python 3.5
2018-10-24 12:15:43 +02:00