51003 Commits

Author SHA1 Message Date
rldhont
bc7cea2e3e [Server][Cache] Extending and enhancing cache manager tests 2018-10-06 10:25:20 +02:00
rldhont
8c67e45f09 [Server][Cache] Add WMS GetLegendGraphic to store in cache 2018-10-06 10:25:20 +02:00
rldhont
f79be97e90 [Server][Cache] Add documents to store in cache: WMS Context, WFS DescribeFeatureType, WCS DescribeCoverage 2018-10-06 10:25:20 +02:00
Nyall Dawson
81db0052ff [mssql] Fix single geometry types are added to multi geometry type layers
Fixes #10793
2018-10-06 06:06:05 +10:00
Denis Rouzaud
a86c683913
Merge pull request #8031 from DelazJ/patch-4
Fix save style dialog expansion and UI cleanup
2018-10-05 11:43:57 -08:00
Denis Rouzaud
9fa8c356dd
make QgsWkbTypes a Q_GADGET and declare GeometryType as Q_ENUM (#8024)
* make QgsWkbTypes a Q_GADGET and declare GeometryType as Q_ENUM

* include QObject

* remove extra include

* move QgsWkbTypes to moc headers

* run sip_include
2018-10-05 10:25:35 -08:00
Denis Rouzaud
8f4d3ba38e
Merge pull request #8041 from 3nids/user_doc_auto_screenshots
Automatic creation of screenshots for user documentation
2018-10-05 05:02:06 -08:00
Denis Rouzaud
77bfec68c3 fix typo 2018-10-05 09:01:32 -04:00
Peter Petrik
618ed2e733 add recognision of ECMWF_ERA to MDAL 2018-10-05 14:22:21 +02:00
Peter Petrik
9acc5c1010 [mesh] update to MDAL 0.0.9 (NetCDF Support) 2018-10-05 14:22:21 +02:00
Denis Rouzaud
2ff3f762d6 set device pixel ratio on pixmap 2018-10-05 07:20:34 -04:00
Matthias Kuhn
e25d6347c6
Merge pull request #8034 from m-kuhn/canCommitChanges
Add QgsVectorLayer::allowCommit property
2018-10-05 13:11:28 +02:00
Alessandro Pasotti
e86693a5c2
Merge pull request #8111 from elpaso/in-place-select-all
[processing][need-docs] In place editing triggers editing and select all
2018-10-05 12:36:51 +02:00
Alessandro Pasotti
cdf5bb630f Fix test 2018-10-05 11:03:49 +02:00
Alessandro Pasotti
29c4970f8a [processing] In-place add layer name to dlg title and store active layer 2018-10-05 10:10:20 +02:00
Alessandro Pasotti
0782b9d869 Dynamically change button text for in-place editing
The button title changes if there are selected features
2018-10-05 09:21:28 +02:00
Alessandro Pasotti
ca1c65d07a [processing] In place editing triggers editing and select all
If the active layer is not editable, the executor will
try to switch editing on.

If there are no selected features, the executor will
select all features before running.
2018-10-05 08:53:30 +02:00
Alessandro Pasotti
223a87fbc5
Merge pull request #8121 from nyalldawson/no_boundary
Boundary alg cannot run in-place mode
2018-10-05 08:51:05 +02:00
Matthias Kuhn
3522518bec
Do not add allowCommit to Python bindings 2018-10-05 08:43:13 +02:00
Nyall Dawson
2f89139ce3 Fix up test 2018-10-05 16:00:36 +10:00
Nyall Dawson
3fc0e69fb3 [mssql] Add unit test for #15305 2018-10-05 16:00:36 +10:00
Nyall Dawson
17b80c1492 [mssql] Implement native uniqueStringsMatching method, should speed up provider queries 2018-10-05 16:00:36 +10:00
Nyall Dawson
4986d43247 [mssql] Fix crash when requesting min/max/unique values from invalid field index 2018-10-05 16:00:36 +10:00
Nyall Dawson
a6ae6c1702 Add a provider test for a crash experienced in SQL Server provider 2018-10-05 16:00:36 +10:00
Nyall Dawson
b7f5a3c1ea [mssql] Fix shifted attributes after importing layers via browser
drag and drop

Fixes #15305
2018-10-05 16:00:36 +10:00
Nyall Dawson
57fcf439ba Boundary alg cannot run in-place mode 2018-10-05 15:44:51 +10:00
Nyall Dawson
10095ce0ef [mssql] Compile some simple expression functions
Should speed up lots of querying operations on sql server layers
2018-10-05 11:34:49 +10:00
Nyall Dawson
1d9086c75d [mssql] Allow compilation of int div expressions 2018-10-05 11:34:49 +10:00
Nyall Dawson
4a687a07f7 [mssql] Fix integer division compilation
Makes sql server provider pass conformance tests again!
2018-10-05 11:34:49 +10:00
Nyall Dawson
3df8c75db8 [mssql] Update list of uncompilable expressions 2018-10-05 11:34:49 +10:00
Nyall Dawson
8cad2a6e16 [processing] Fix random selection count parameter
Remove a bunch of manual "max" values for numeric parameters
where the maximum just represents a 'large number' and not a real
constraint, and let the default parameter max value handling kick in instead.

In the case of random selection the max value exceeded the possible
range for integers in spin boxes and broke the widget.

Fixes #20015
2018-10-05 10:48:17 +10:00
Juergen E. Fischer
e3e9297633 sip fix for xenial 2018-10-05 01:37:32 +02:00
Nyall Dawson
234985b59d [needs-docs][labeling] Fix substitutions don't play well with wrapped labels
Fixes an issue identified in the upcoming QGIS Map Design 2nd ed
(spoiler alert!) where it's impossible to utilise label text
substitutions if you also want to use word wrapping.

This isn't possible to directly fix, because we need to evaluate
the full label expression (including the word wrapping component)
in order to actually HAVE text to substitute into.

So, a new setting has been added to the label formatting tab
allowing users to directly set an auto-wrapping line ideal
line size. This is applied AFTER label text evaluation, substitutions,
and the 'wrap text on' character, so it can play correctly well with
all these other settings. This also has the nice side-effect
of making auto label text wrapping more accessible to new
users/those unfamiliar with the wordwrap expression function.

Fixes #20007, and cleans up a chapter of QMD 2ed ;)
2018-10-05 06:58:56 +10:00
Nyall Dawson
dce8673d21 Move guts of wordwrap expression function to QgsStringUtils::wordWrap
To allow use outside of expressions
2018-10-05 06:58:56 +10:00
Denis Rouzaud
9363aeb8c6 remove useless script 2018-10-04 16:20:20 -04:00
Denis Rouzaud
e1f611bae5 also do raster layer properties 2018-10-04 15:46:34 -04:00
Denis Rouzaud
3ffd72a89c create joined layer to feed the join tab in vector layer properties 2018-10-04 15:22:53 -04:00
Nyall Dawson
706b13a47b [processing] Make 'canvas extent' its own menu item in the extent
selection parameter button, instead of requiring opening the
'select layer/canvas extent' and choosing 'canvas extent'

It's only one extra click, but I don't think there's any reason
against saving this click!
2018-10-05 05:17:19 +10:00
Denis Rouzaud
c842e544c3 fix flag and group vector layer properties 2018-10-04 15:01:58 -04:00
Denis Rouzaud
2240e1fcfa add screenshots of global options 2018-10-04 14:54:57 -04:00
Denis Rouzaud
18f6562898 save screenshots to sub-folders 2018-10-04 14:01:31 -04:00
Denis Rouzaud
b0e1cf5fe3 use absolute positioning for cropping 2018-10-04 14:01:31 -04:00
Denis Rouzaud
a4ccc95412 cropping and gradient capabilities 2018-10-04 14:01:31 -04:00
Denis Rouzaud
2f93ef1458 add 2.5D screenshot 2018-10-04 14:01:31 -04:00
Denis Rouzaud
046f915c24 more doc 2018-10-04 14:01:31 -04:00
Denis Rouzaud
2b4de28293 rename takeScreenshots to takePicturesOf 2018-10-04 14:01:31 -04:00
Denis Rouzaud
6af8ea8d1f fix QScreen::grabWindow bbehaving weirdly
maybe it's just on mac
2018-10-04 14:01:31 -04:00
Denis Rouzaud
0fec1645a6 give root name + restore all screenshots 2018-10-04 14:01:31 -04:00
Denis Rouzaud
3fc3206591 add licence headers 2018-10-04 14:01:31 -04:00
Denis Rouzaud
46a58c9971 parent to QgisApp for proper style + move dialogs to corner so menu are opened within dialogs 2018-10-04 14:01:31 -04:00