57425 Commits

Author SHA1 Message Date
rldhont
ae49f6336e Create UI to defined QGIS Server WMS Dimensions 2019-09-07 16:05:10 +02:00
Matthias Kuhn
e2f40d1fc7
Merge pull request #31424 from signedav/valrel-config
Set the layer on the key and value field
2019-09-07 09:41:18 +02:00
Matthias Kuhn
bf8263a40f
Merge pull request #31377 from seralra96/fix_30063
Prevent installation of ZIP plugins if they don't have the root folder
2019-09-07 08:47:34 +02:00
Matthias Kuhn
223cc06eaf
Merge pull request #31531 from m-kuhn/qgis_version
Add _QGIS_VERSION_INT and _QGIS_VERSION #defines to qgsconfig.h
2019-09-07 08:44:33 +02:00
Nyall Dawson
2212617f0c Reuse a single expression context when building icons in QgsStyleModel
Whilst usually this is bad practice (reusing an existing expression context),
and instead you should make a new context for every batch of expression evaluations,
we can't do this in the style model and we end up potentially creating
thousands of new contexts. So instead, we use a single one, which is
safe because the actual expression context used here is a very
basic one...
2019-09-07 15:56:40 +10:00
Nyall Dawson
6b1e96c180 Make a shared instance of QgsStyleModel for the default application style
This allows shared caching of symbol icons, greatly speeding up display
of views which use style models
2019-09-07 15:56:40 +10:00
Nyall Dawson
abf9ef09af Avoid needlessly recalculating symbol icons 2019-09-07 15:56:40 +10:00
Nyall Dawson
d94329a788 Make QgsProject responsible for project expression context creation,
and cache the project expression context as much as possible

This scope can be expensive to create upfront, but is cheap to copy
2019-09-07 15:56:40 +10:00
Nyall Dawson
b02350e74d Cache project home path value
This can be incredibly expensive to calculate in some circumstances,
e.g. when the QFileInfo::canonicalFilePath function is called on network
paths under windows.

And this function is called A LOT. Like, I mean A LOOOOOOOOOOOOOT. I've
seen this responsible for multi-second delays when toggling between
layers in a client's projects and just generally grinding QGIS to a halt
when the project was opened.
2019-09-07 15:56:40 +10:00
Geoff Kimbell
283c8b813a [processing] fix gdalwarp handling of custom projection for target extent
Fixes #31276
2019-09-07 08:24:14 +10:00
Harrissou Sant-anna
878aa37f80 Improve wording 2019-09-07 07:45:29 +10:00
Harrissou Sant-anna
1b5e7be115 [3D] Add details to error dialog 2019-09-07 07:45:29 +10:00
Harrissou Sant-anna
05516d10c4 Pluralize "millimeter" in the unit selection widget
like other units
2019-09-07 07:44:47 +10:00
Juergen E. Fischer
f33dd71adc fix a76f127ca9b 2019-09-06 20:45:05 +02:00
Sergio Ramírez
8b68121ac2 Use QgsHelp Class instead webbrowser lib to point to the documentation in The Install From ZIP tab 2019-09-06 12:16:47 -05:00
Sergio Ramírez
23dd0f0399 Change message wording and add a button for more information pointing to the documentation 2019-09-06 10:28:34 -05:00
Juergen E. Fischer
c5fbddc827 typo fix
[ci skip]
2019-09-06 15:44:24 +02:00
Mathieu Pellerin
5df309447e
[delimiter text] Add Point{Z,M,ZM} geometry support (fixes #25645) (#31595)
[FEATURE][delimiter text] Add Point{Z,M,ZM} geometry support (fixes #25645)
2019-09-06 19:35:27 +07:00
Matthias Kuhn
87b1aa9a5d
Merge pull request #31374 from troopa81/parallelize_snap_caching
[FEATURE] Parallelize snap index build
2019-09-06 13:29:06 +02:00
Julien Cabieces
57aec1f4af Fix documentation 2019-09-06 11:55:06 +02:00
Julien Cabieces
c699ab5eb9 Don't break QgsMapCanvasSnappingUtils API 2019-09-06 10:41:28 +02:00
Julien Cabieces
50f3a02eca don't beak API and remove QFuture includes 2019-09-06 10:28:27 +02:00
rldhont
1bf89c70a0
Merge pull request #31517 from rldhont/server-wms-filter-whitelist
[Server] Extend the WMS FILTER whitelist with IS, NOT, NULL
2019-09-06 10:27:03 +02:00
Sandro Santilli
412f50964d
Merge pull request #31588 from strk/topoviewer-layer-order
Have TopoViewer use custom layer ordering
2019-09-06 10:21:52 +02:00
nirvn
c0d7ab4bd7 [ui] Add decoration icon in the spatial bookmark manager list view 2019-09-06 14:47:09 +07:00
Julien Cabieces
0e98585fee fix spell errors 2019-09-06 09:42:23 +02:00
Julien Cabieces
42be18c40a Improve task management 2019-09-06 09:42:23 +02:00
Julien Cabieces
fbc88a257f Manage edition while indexing 2019-09-06 09:42:22 +02:00
Julien Cabieces
3128fa35d4 Add test for asynchronous mode 2019-09-06 09:42:22 +02:00
Julien Cabieces
17e6356f0c Fix tests 2019-09-06 09:42:22 +02:00
Julien Cabieces
0af6155565 Fix tests 2019-09-06 09:42:22 +02:00
Julien Cabieces
119106520e Fix doxygen 2019-09-06 09:42:22 +02:00
Julien Cabieces
fb7e2c8635 Forget qgspointlocatorinittask files 2019-09-06 09:42:22 +02:00
Julien Cabieces
1fee18479a add the deprecated doxygen tags 2019-09-06 09:42:22 +02:00
Julien Cabieces
4081bea801 Use TaskManager to build index 2019-09-06 09:42:22 +02:00
Julien Cabieces
ba867b46c6 Add asynchronous bool on QgsSnappingUtils/QgsPointLocator API 2019-09-06 09:42:22 +02:00
Julien Cabieces
f475c28753 s/an other/another 2019-09-06 09:42:22 +02:00
Julien Cabieces
521d7b71df Don't use object that could be deleted/modified outside the thread
while building the index
2019-09-06 09:42:22 +02:00
Julien Cabieces
ead7481e3f [FEATURE] Parallelize snap index build 2019-09-06 09:36:16 +02:00
Sandro Santilli
a01db6409c Have TopoViewer use custom layer ordering
This is used to make sure edges are rendered above faces and nodes
above edges, despite legend order.
2019-09-06 08:46:53 +02:00
Julien Cabieces
3abbc0f178 Digitize the geometry from the relation reference widget add button (#30905)
* [FEATURE] [needs-docs] Add the possibility to digitize the geometry
when creating a feature from the plus button on the relation reference widget
2019-09-06 08:28:59 +02:00
nirvn
c1cce181b4 [ui] Make the show bookmarks action focus on browser panel's bookmark node 2019-09-06 11:38:55 +07:00
Nyall Dawson
3af35b5844 [FEATURE] "Reselect Features" action in Edit -> Select menu
Allows restoration of a layer's selection following a selection
clear operation. Handy for anyone who has ever painstakingly
built a custom selection only to accidently click and clear
this selection...
2019-09-06 13:08:18 +10:00
Nyall Dawson
b533fbaeb2 Allow individual groups of bookmarks to be exported
Also avoids the unfortunate situation where the first item shown
in the right click menu for a bookmark group is the "delete" action
2019-09-06 13:02:04 +10:00
Nyall Dawson
a426fdaea2 [FEATURE] Bookmark groups can be renamed in browser 2019-09-06 13:02:04 +10:00
Nyall Dawson
c409025409 [FEATURE][processing] New algorithm "Split features by character"
This algorithm splits features into multiple output features by
splitting a field's value with a specified character.

For instance, if a layer contains features with multiple comma
separated values contained in a single field, this algorithm can
be used to split these values up across multiple output features.

Geometries and other attributes remain unchanged in the output.

Optionally, the separator string can be a regular expression for
added flexibility.

Designed for use in models which need to process input files
with multiple concatenated values in a single attribute, e.g.
geocoding a table with "address1,address2,address3" format strings
2019-09-06 11:09:37 +10:00
Harrissou Sant-anna
9756345412 Allow Italic and Bold style icons to be visible
in Text formats dialog
2019-09-06 10:28:58 +10:00
Stephen Knox
a39a413b92 Fixing db_manager so that it can run sql with inline comments
Fixes #29089
2019-09-06 10:26:34 +10:00
Harrissou Sant-anna
6d55c78ce8 Save/Restore Shape digitize active tool 2019-09-06 10:25:31 +10:00
Harrissou Sant-anna
fbccc00647 Enable Cancel and Help buttons in "Effect properties" dialog 2019-09-06 10:23:59 +10:00