53056 Commits

Author SHA1 Message Date
Alex
f2290fcd0a adding QgsRenderContext class to the header 2019-01-10 19:54:26 +10:00
Alex
db699adde8 removed duplicate signatures 2019-01-10 19:54:26 +10:00
Alex
1fff24da11 adding missing include for qgsrendercontext 2019-01-10 19:54:26 +10:00
Alex
58dc153754 fixing whitespaces in newer functions 2019-01-10 19:54:26 +10:00
Alex
8b3744331a Adding QgsRenderContext support 2019-01-10 19:54:26 +10:00
Alex
99837cf725 adding QgsRenderContext support 2019-01-10 19:54:26 +10:00
Matthias Kuhn
dafb16654f
Add an additional test for cached mode of sqlite_fetch_and_increment 2019-01-10 10:48:05 +01:00
Matthias Kuhn
abb0f73f3f
Merge pull request #8825 from nirvn/osx
[themes] Force fusion style for non-default UI themes on OS X
2019-01-10 10:38:35 +01:00
Matthias Kuhn
d3b4c7d83a
Add cached mode to sqlite_fetch_and_increment for transactions 2019-01-10 10:35:24 +01:00
Mathieu Pellerin
c7abba03fb [themes] Force fusion style for non-default UI themes on OS X 2019-01-10 15:09:02 +07:00
Matthias Kuhn
c263750930
Merge pull request #8820 from m-kuhn/map_layer_template
QgsProject::mapLayer<Qgs[Type]Layer *>( layerId ); template
2019-01-10 08:06:52 +01:00
Nyall Dawson
43df43fb32 Fix build 2019-01-10 10:25:08 +10:00
Blottiere Paul
fcc3996ddf Remove unnecessary #include in server 2019-01-10 07:50:02 +10:00
Alessandro Pasotti
cf5982c309 Add tests for QgsFcgiServerRequest rewrites 2019-01-09 18:46:32 +01:00
Alessandro Pasotti
00ec08a8aa Rewritten function comment 2019-01-09 18:46:32 +01:00
Alessandro Pasotti
bb9ec39fa6 [server] Fix URL rewrite from fcgi servers
The URL exposed in the XML documents generated
by the server was wrong because instead of
using the original URL (from REQUEST_URI)
the rewritten query string (from QUERY_STRING)
was applied to the internal mUrl variable.

This patch also adds some tests for the
FCGI request, that handle most common
scenarios with bot rewritten and not
rewritten URLs.

QgsFcgiServerRequest is now exposed to
Python mainly for testability purposes.
2019-01-09 18:46:32 +01:00
Matthias Kuhn
918bfef51e
Add a test for transaction save local default value generation with gpkg 2019-01-09 18:13:13 +01:00
Matthias Kuhn
e32c739b47
Make use of QgsProject::mapLayer<QgsVectorLayer *> template 2019-01-09 16:25:45 +01:00
Matthias Kuhn
468f25c5b1
Add a template method to get a casted maplayer
This simplifies the casting of maplayers when accessing them from the layer registry.
2019-01-09 16:12:54 +01:00
arnaud.morvan@camptocamp.com
a222906fcf Apply featureFilterProvider in QgsVectorLayerDiagramProvider 2019-01-09 15:08:37 +01:00
arnaud.morvan@camptocamp.com
948048cd4d Do not overwrite renderContext in QgsMapRendererJob::drawLabeling
Dedicated QgsRenderContext is already created and configured in prepareLabelingJob.
2019-01-09 15:08:37 +01:00
Matthias Kuhn
2c8acf136e
Merge pull request #8818 from signedav/fix_featurecount_offlineediting
Offlineediting - showFeatureCount property
2019-01-09 14:26:14 +01:00
signedav
5e61afcfe7 tests for layernodeproperty "showFeatureCount"
fixes https://github.com/opengisch/Vogelwarte_QField_2019/issues/4
2019-01-09 12:52:06 +01:00
signedav
72bc1395f1 copy property back on synchronize back 2019-01-09 12:30:05 +01:00
signedav
419b65d26d copy showFeatureCount property to the new LayerTreeNode 2019-01-09 12:09:52 +01:00
Juergen E. Fischer
9e957af43c fix build 2019-01-09 10:20:03 +01:00
Matthias Kuhn
b847b49258
Merge pull request #8813 from signedav/vacuum-past-simple
Message after delete in proper english
2019-01-09 09:59:35 +01:00
Nyall Dawson
2213be5599
Update src/providers/ogr/qgsgeopackagedataitems.cpp
Co-Authored-By: signedav <david@opengis.ch>
2019-01-09 07:05:08 +01:00
Marco Hugentobler
f1be811665 Consider 'print as raster' setting for pdf print in server 2019-01-09 16:05:03 +10:00
Nyall Dawson
1320456c86
Update src/providers/ogr/qgsgeopackagedataitems.cpp
Co-Authored-By: signedav <david@opengis.ch>
2019-01-09 07:05:02 +01:00
Nyall Dawson
41757c6923 Fix build 2019-01-09 12:15:52 +10:00
signedav
22ddcb8cec proper english past form 2019-01-08 17:11:50 +01:00
Matthias Kuhn
15ddb27093
Merge pull request #8721 from signedav/json-for-valuerelations
Storing Value Releation multi-selection as JSON
2019-01-08 15:17:31 +01:00
Matthias Kuhn
3732cb7e40
Merge pull request #8810 from signedav/vacuum-after-delete
Request for VACUUM after deleting GPKG layer
2019-01-08 15:14:58 +01:00
Matthias Kuhn
dd0b33ed8d
Merge pull request #8809 from m-kuhn/expression_nullif
Add NULLIF expression function [FEATURE]
2019-01-08 14:12:49 +01:00
Etienne Trimaille
1585ab4178
Update src/providers/ogr/qgsgeopackagedataitems.cpp
Co-Authored-By: signedav <david@opengis.ch>
2019-01-08 14:07:58 +01:00
signedav
3bd2843b37 proper placing of message output 2019-01-08 13:15:06 +01:00
signedav
a16e5f2705 put original message into else 2019-01-08 12:57:56 +01:00
signedav
dba3b28296 request VACUUM after deleting geopackage 2019-01-08 12:28:21 +01:00
signedav
6e91349baa json gpkg tests 2019-01-08 11:50:35 +01:00
Matthias Kuhn
8754d55a09
Fix JSON 2019-01-08 11:36:16 +01:00
Matthias Kuhn
6855a1c731
Merge pull request #8639 from SrNetoChan/avoid_overlap
Renames Avoid intersection to Avoid overlap [needs-docs]
2019-01-08 11:07:09 +01:00
Matthias Kuhn
af027d9d10
Add NULLIF expression function [FEATURE] 2019-01-08 10:56:34 +01:00
Nyall Dawson
eaad71e0c9 Tweak API
Better to use QVector here, because the QgsLineString/QgsGeometry
methods all use QVector too, and we want to avoid unnecessary
list->vector conversions.
2019-01-08 19:48:15 +10:00
Matthias Kuhn
5df5c3763e
Merge pull request #8507 from signedav/basicfix
Delete selected tables as DataItem action
2019-01-08 10:42:03 +01:00
signedav
37eec198a8 put message in log instead of message box 2019-01-08 10:15:53 +01:00
Nyall Dawson
dada301b0b [georeferencer] Fix some HIG violations 2019-01-08 17:55:15 +10:00
Nyall Dawson
6ed0b4762f [FEATURE][georefencer] Make minimizing georeferencer when adding points
from canvas an option

Allows users to disable this option, which is annoying on multi-monitor
setups where it can be desirable to have both windows visible while
adding points.

The option is added as a checkbox in the "add map coordinates" dialog:
"Automatically hide georeferencer window". We show it directly in that
dialog for maximum discoverability, and to allow easier change of setting
for users who move between single/multi monitor setups.

Fixes #20449
2019-01-08 17:55:15 +10:00
Nyall Dawson
0de94dd1fe [layouts] Fix incorrectly rendered item background and frame when item is
non-opaque

Fixes #20909
2019-01-08 16:24:37 +10:00
Nyall Dawson
4da0796180 Avoid console noise when loading layouts 2019-01-08 16:01:47 +10:00