56735 Commits

Author SHA1 Message Date
Daniele Viganò
8d44f84cd0 [RPM] Update the lib64 PyQtMacros.cmake patch 2019-08-06 16:15:10 +02:00
Juergen E. Fischer
cf6faa410d fix crash with invalid layers (fixes #31110) 2019-08-06 13:42:13 +02:00
Denis Rouzaud
0698eedc94
add test for detecting composite key relations (#31092) 2019-08-06 13:39:00 +02:00
Denis Rouzaud
e4faaf4988
add __repr__ for QgsMapLayer (#31108) 2019-08-06 13:36:14 +02:00
Nyall Dawson
e3fbe28148 Fix incorrect /Factory/ annotation 2019-08-06 21:31:59 +10:00
nirvn
ec75aa0300 [FEATURE][text renderer] Support vertical text orientation 2019-08-06 13:24:15 +07:00
Stephen Knox
9b4dbbd317 Fixes #28966 - disallow save project in postgres when < 9.5 (#30977) 2019-08-06 13:56:54 +10:00
Nyall Dawson
126ccb9736 Apply same logic regarding joined fields as is used in field calculator
to QgsFieldProxyModel set to hiding read only fields

I.e. show editable joined fields, but only if they are set to a non-hidden
editor widget
2019-08-06 13:47:41 +10:00
Juernjakob Dugge
4a1115096b Added test 2019-08-06 13:38:44 +10:00
Jürnjakob Dugge
18d7286b13 Remove unnecessary variables 2019-08-06 13:38:44 +10:00
Jürnjakob Dugge
85c8e6825a Removed unnecessary import 2019-08-06 13:38:44 +10:00
Juernjakob Dugge
75bfb28a1e Respect choice of relative or absolute paths for virtual layers when saving project.
Fixes #29481
2019-08-06 13:38:44 +10:00
Nyall Dawson
078ab8b04e
Merge pull request #30462 from DelazJ/patch-11
Add precision to travel cost parameter in service area algorithms
2019-08-06 07:17:46 +10:00
Alessandro Pasotti
648cb8c540
Merge pull request #31096 from elpaso/bugfix-gh-31095-bbox-precision
Fix JSON exported bbox and precision
2019-08-05 20:09:41 +02:00
Alessandro Pasotti
c25aeab214 Fix JSON exported bbox and precision
Fixes #31095
2019-08-05 18:50:53 +02:00
Denis Rouzaud
086fc20152
remove expected failure (#31091) 2019-08-05 15:18:05 +02:00
Matthias Kuhn
b21b2573be
Merge pull request #31085 from signedav/qml-widget-window
Fix layout of QML widget config
2019-08-05 09:48:02 +02:00
Alessandro Pasotti
f98b364da6
Merge pull request #31076 from elpaso/pg_raster_authcfg
Accept authcfg with or without quotes
2019-08-05 09:21:27 +02:00
Matthias Kuhn
549abbfb86
Merge pull request #31047 from m-kuhn/support_loading_curved_pg_types
[db_manager] support loading mixed curved and straight type tables
2019-08-05 08:39:44 +02:00
David Signer
dd2952ffad fix layout of qml widget 2019-08-05 08:28:31 +02:00
Nyall Dawson
23164df129 Correctly emit attributeValueChanged when changing an editable joined field
Fixes edits to a joined field value aren't immediately shown in attribute tables,
and instead appear as though they were discarded (until the attribute table is
reloaded)
2019-08-05 16:20:47 +10:00
Matthias Kuhn
2968d67529
Merge pull request #31049 from m-kuhn/qgis_desktop
Add a new qgis_desktop build target
2019-08-05 07:41:52 +02:00
Alessandro Pasotti
3335419658 Accept authcfg with or without quotes
Fix #31045
2019-08-04 20:39:45 +02:00
Juergen E. Fischer
85a048a01c update_ts.sh: macos' find doesn't have -printf 2019-08-04 19:24:47 +02:00
Matthias Kuhn
94b037cafb Add plugins and plugin installer to qgis_desktop 2019-08-04 10:39:01 +02:00
Juergen E. Fischer
06b24d164a update INSTALL.html 2019-08-04 10:35:37 +02:00
Māris Nartišs
7e0181bcb7 Build: Bump minimum Proj version to 4.9.3 (Fixes #30675) 2019-08-04 09:01:39 +10:00
Nyall Dawson
53de10ff4e Show auxiliary fields in field calculator dialog
BUT only if they have a non-hidden editor widget.

Rationale: it's very handy to be able to bulk-update these in certain
circumstances (e.g. select a bunch of features, set their label alignment
to "right"). But on the other hand, using the label tools creates a LOT
of auxiliary fields which clutter this dialog (which is why they were
hidden in the first place).

SO instead, default to hiding them all, but if a user HAS specifically
changed the field to show it, then allow them to edit it through
field calculator....
2019-08-04 08:26:02 +10:00
Nyall Dawson
96c75c85b3 Fix multi edits are discarded when edited field is an editable join 2019-08-04 06:16:31 +10:00
Harrissou Sant-anna
5f6e0b2808 Fix widgets name 2019-08-04 06:15:51 +10:00
Juergen E. Fischer
cfa2d2d2a9 postgres provider: don't quote queries when retrieving the layer type (followup 25da979f40656) 2019-08-03 21:11:57 +02:00
Nyall Dawson
8498600f29 Show icons in field calculator existing field combo box 2019-08-03 16:58:24 +10:00
Nyall Dawson
a2dbf72cb0 Show field type icons in new auxiliary field dialog, simplify code 2019-08-03 16:58:24 +10:00
Matthias Kuhn
e7af670ff9 Promote curve 25D types to their Z equivalents 2019-08-03 07:52:40 +02:00
Matthias Kuhn
011f81239d
Merge pull request #30952 from m-kuhn/allow_override_ellipsoid
Allow changing the default ellipsoid to planimetric
2019-08-03 07:36:18 +02:00
Matthias Kuhn
65e0836d39
Merge pull request #31055 from DelazJ/mapItemGuiCRS
Fix misalignment of CRS label in Map Item properties
2019-08-02 18:46:24 +02:00
Matthias Kuhn
2963ca7e90
Merge pull request #31054 from dimitrisal/patch-2
Fix r.grow.distance
2019-08-02 16:56:44 +02:00
Harrissou Sant-anna
a0c94dda54 Fix misalignment in Map Item properties 2019-08-02 16:19:22 +02:00
Dimitris Salmas
0a27b7b131
bug fix
Bug fix for ERROR: Output distance in meters for lat/lon is only possible with 'metric=geodesic'
2019-08-02 17:08:53 +03:00
sklencar
f5fe4cb010 [QgsQuick] Custom filepaths for external resource widget (#30929)
* Enabled using default path for external resources.
Value (filepath) can be relative to either project path or default root according field setup/config

* [QgsQuick] Added signal of event when a captured photo is confirmed. That enables custom handling of the action by externalResourceHandler.
Renamed Ok Button of PhotoPanel.

* [QgsQuick] Cleaning source of preview image after closing it
It was causing unpleasant effect when last taken photo has been shown for a short while before previewing another.

* [QgsQuick]
Evaluate and use defaultRootPath in a config of the external resource widget.
Added a function to evaluate expressions for QgsQuick

* [QgsQuick] Use Loader to load photo panel only when its going to be used.
Also prevents for asking camera permissions on form open, when photo panel was initialized as well.

* [QgsQuick] Better wrapping of a long filenames text in the external source widget if an image is not available.

* [QgsQuick] Use canonical path in function
Symlinks are used a lot on Android, therefore its better to use canonical paths.

* [QgsQuick] formatted code.

* [QgsQuick] External source widget - changes requested in review
Fixed test and added one test case for getting relative path.

* [QgsQuick] External widget update
Added function that returns absolute path of image according widget's config - takes into account relative/absolute setting for value and default path.
Added docs about how a path can be configured and used.

* [QgsQuick] External widget update
* removed lefover property
* corrected getAbsolutePath function

* [QgsQuick] Corrected function and fixed test
Do not use canonical path for non-existing file while getting relative path.
2019-08-02 13:30:11 +02:00
Matthias Kuhn
bd61fa55e7 Do not specify srid in dbmanager. It goes crazy
If srid is specified in an uri, it disables type detection.

Fix #30787
2019-08-02 13:12:18 +02:00
Matthias Kuhn
619562ec3d More dox 2019-08-02 13:12:18 +02:00
Matthias Kuhn
9be7784f1d Add a new qgis_desktop build target
this is meant for development, to quickly get a test build
including python bindings and the most important core providers
2019-08-02 12:57:56 +02:00
Matthias Kuhn
81f1001857 [postgres] Allow detecting mixed curved and straight geometries 2019-08-02 09:38:46 +02:00
Matthias Kuhn
60f4bc56e8 Add QgsWkbTypes::curveType method 2019-08-02 09:33:47 +02:00
Matthias Kuhn
770f7e8d44 Add planimetric measurement default to settings template 2019-08-02 09:17:14 +02:00
Matthias Kuhn
8996dc8c0c Move measurement/planimetric settings to QgsSettings::Core 2019-08-02 09:17:14 +02:00
Nyall Dawson
37b7b84d8b Fix data defined legend size when using seperated symbols
Fixes #26929
2019-08-02 10:13:10 +10:00
Alessandro Pasotti
e998757961
Merge pull request #31039 from elpaso/pg_raster_support
Expose PostGIS rasters to the browser and the source select dialog
2019-08-01 20:57:33 +02:00
Julien Cabieces
4f7975d2dc Fix WMS GetMap 8bit mode with transparency (#31014)
* Fix WMS GetMap 8bit mode with transparency

* Correct indentation

* Remove french text in qgs test project

* Correct render checker for 8bit image

* Remove empty line
2019-08-01 17:14:43 +02:00