55019 Commits

Author SHA1 Message Date
Alessandro Pasotti
da49f79045 Suggestions from JEF 2019-04-26 12:32:42 +02:00
Alessandro Pasotti
a3368d416c Layout and SQL 2019-04-26 10:26:04 +02:00
Alessandro Pasotti
163082a061 More tests for checkPrimaryKeyUnicity 2019-04-26 09:19:51 +02:00
Alessandro Pasotti
38c91e4e97 [postgres] Fix checkPrimaryKeyUnicity option
This provider option was linked to the project level option
"Trust layer metadata..." which was implemented
to speed up loading of large dataset by trusting extent
read from metadata to avoid costly operations to determine
the layer extent.

Check PK unicity on the other hand has only effect on views
and query layers and it is useful as an independent
option to prevent loading of layers that have no PK (or the
wrong one).

But the operation of determine unicity of a values in a column
can also be costly, so better to get control back to the user.

Legacy default is preserved (the project-level "Trust..." option).

Fixes #21839

Funded by RAAB.nl
2019-04-24 17:14:42 +02:00
Alessandro Pasotti
51d8286ec9 Tooltips for PG options in source select dialog 2019-04-18 10:33:58 +02:00
Alessandro Pasotti
ad544a29ba Initial check pk unicity 2019-04-18 09:33:47 +02:00
Alessandro Pasotti
c0c19f0cc9 Fix wrong cotrol image for ITEMFONTCOLOR test 2019-04-18 08:32:33 +02:00
Juergen E. Fischer
40c790f5d9 fix 3d7c711db (refs #21872) 2019-04-17 23:56:31 +02:00
Juergen E. Fischer
3d7c711db0 fix #21872 (refs #21774; partly reverts e57d1e06f0 and 507e327c0c)
src/python/qgspythonutilsimpl.cpp:596 produces "lost sys.stdout" when
qgis.utils.updateAvailablePlugins() returns.
2019-04-17 22:30:01 +02:00
Alex
21280c39c0 More verbose sip failure 2019-04-18 06:23:09 +10:00
Alessandro Pasotti
dca0fb9026
Merge pull request #9805 from elpaso/bugfix-21871-21870-LAYERFONTCOLOR-ITEMFONTCOLOR
[server] Implement LAYERFONTCOLOR and ITEMFONTCOLOR
2019-04-17 16:04:02 +02:00
Alessandro Pasotti
1f862cadc6 Waste my time with Travis 2019-04-17 14:12:30 +02:00
vsklencar
15af15ea3d [QgsQuick] Added styling properties to feature form tabs 2019-04-17 13:55:23 +02:00
vsklencar
6f20b5c3cd [QgsQuick] Styling of tab buttons in feature form
Added properties for color background setting
2019-04-17 13:55:23 +02:00
Alessandro Pasotti
5cf2596545 Layout 2019-04-17 13:44:43 +02:00
rldhont
1055a8aff6
Merge pull request #9773 from dmarteau/set-configpath-at-early-time
[server] Allow server plugin filters to access config path
2019-04-17 13:42:26 +02:00
Alessandro Pasotti
7032db27fa [server] Implement LAYERFONTCOLOR and ITEMFONTCOLOR
Fixes #21871
Fixes #21870

Funded by: Gis3w
2019-04-17 12:01:06 +02:00
David Marteau
7ce5fb2d02 Set config path before calling plugin method 2019-04-17 11:41:27 +02:00
Blottiere Paul
3c6299a199
Merge pull request #9775 from signedav/default_symbol_scale
[server] Default scale/mupmm on GetLegendGraphics
2019-04-17 10:47:27 +02:00
Matthias Kuhn
8416e7588c
Merge pull request #9781 from m-kuhn/processing_parameter_as_boolean
Add QgsProcessingAlgorithm::parameterAsBoolean
2019-04-17 09:20:07 +02:00
Alessandro Pasotti
7ae29e1f31
Merge pull request #9790 from elpaso/bugfix-21856-vectorfilewriter-crash
Guard vector file writer against invalid layers
2019-04-17 08:21:14 +02:00
nirvn
51606dbfa8 [processing] Add 'distance' tag to join attributes by nearest alg. 2019-04-17 11:49:30 +07:00
nirvn
9fa8d5687f [themes] Improve night mapping hyperlink color 2019-04-17 11:34:49 +07:00
nirvn
5ea0091583 [themes] Avoid hardcoded black for default console timestamp colors
(fixes #21860)
2019-04-17 11:34:49 +07:00
nirvn
6befbae7bf [ui] Fix layout designer panel icon (re)sizing 2019-04-17 10:46:26 +07:00
nirvn
94e4de59aa [ui] Fix data source selection dialog icon size 2019-04-17 08:54:07 +07:00
nirvn
c0dd9fef68 Add QgsGuiUtils::iconSize to get user-prefered toolbar icon size 2019-04-17 08:54:07 +07:00
Alessandro Pasotti
e5491ee610 Get transformContext from layer instead of provider 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
6372295df1 Don't use deprecated fileWriter.writeRaster 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
56a6df4d71 Fix doxy deprecated 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
be374104ea Unit tests for transform context project<->layer sync 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
3d687e5558 Add transform context to raster file writer task 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
6e0bd822f3 Get transform context from project instance in app 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
9afa5bbba6 Set transform context from layer options 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
27696e8629 Update layer transform context when adding them to a project 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
87998f7f7d Pass transformContext to raster writer 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
400e1c76ee doxy 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
cd9fe8cdec Use new QgsRasterCalculator ctor with transform context 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
8bdfc7cd80 Drop comment 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
86b7345ce5 Use transform context from rw context 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
ac04339434 Pass transform context to raster calculator 2019-04-17 10:06:41 +10:00
Nyall Dawson
4e747d2c52 Update src/core/qgsmaplayer.h
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-04-17 10:06:41 +10:00
Nyall Dawson
a5d3b93a45 Update src/core/mesh/qgsmeshlayer.h
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-04-17 10:06:41 +10:00
Nyall Dawson
4e244521b3 Update src/core/layout/qgslayoutitemmapoverview.cpp
Co-Authored-By: elpaso <elpaso@itopen.it>
2019-04-17 10:06:41 +10:00
Alessandro Pasotti
23d6ef6246 Remove test case (API is not public anymore) 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
0d7841a0d8 Fix grass alg combineLayerExtents 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
bdd7a1cc77 Remove build warnings 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
6d55e72648 More doxy 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
39bb361dea Missing doc in an unrelated class :( 2019-04-17 10:06:41 +10:00
Alessandro Pasotti
394a189682 Fix class documentation 2019-04-17 10:06:41 +10:00