Nyall Dawson
0e08e329f4
[layout] Cache map item theme preset lookups
...
Since theme style override lookups are expensive, cache them
to avoid unnecessary duplicate calls
Fixes #17027
2018-01-19 09:25:30 +10:00
Nyall Dawson
f5876eab98
[layouts] Don't needlessly calculate layer sets for maps linked
...
to a map theme
This is very expensive to do, so avoid calculating it as much
as possible
Refs #17027
2018-01-19 09:25:30 +10:00
Denis Rouzaud
a09cb6f364
fix typo and missing disconnect
2018-01-18 10:09:52 -04:00
Denis Rouzaud
4733bc8210
cancel select by radius by pressing ESC
2018-01-18 10:09:52 -04:00
Denis Rouzaud
aca20788c8
switch select by radius map tool to click-click
...
fix #17868
this is seen as a bugfix and will be merged in 3.0 to have coherent map tools changes
also add a user input (also features keyboard modifiers)
2018-01-18 10:09:52 -04:00
Alessandro Pasotti
851cdb20a1
QgsDebugMsg -> QgsDebugMsgLevel in getcapabilities download
2018-01-18 14:28:52 +01:00
Blottiere Paul
172b21742e
Merge pull request #5899 from peppsac/fix_17668
...
[server] Fix layers group handling
2018-01-18 10:23:18 +00:00
Harrissou Sant-anna
dd039813f1
Update lpad and rpad functions description
2018-01-18 16:43:43 +10:00
Nyall Dawson
6c392124ca
Fix virtual layers fail if table field names have special characters
...
Fixes #16943
2018-01-18 16:23:49 +10:00
Nyall Dawson
a1618c7df6
Add test mask
2018-01-18 10:37:33 +10:00
Nyall Dawson
c8fe22c558
Add test for hiding partial labels with rotated canvas
2018-01-18 10:37:33 +10:00
Nyall Dawson
b59e1584d2
Fix doxygen warning
2018-01-18 10:37:33 +10:00
Nyall Dawson
2ab1e02eb8
Fix labeling hide partial labels setting when map is rotated
...
Previously partially hidden labels would be shown when a map is
rotated, even if the project was set to hide partial labels.
To achieve this pal has been refactored to allow an arbitrary
QgsGeometry specifying the map boundary (instead of the previous
rectangular only extents). The good news is that this paves the
way for a future release to have non-rectangular layout map items,
where the actual map item shape will be correctly handled by
the labeling engine...
2018-01-18 10:37:33 +10:00
Nyall Dawson
2d71309ef8
Add some more geometry relationship methods to LabelPosition
2018-01-18 10:37:33 +10:00
Nyall Dawson
dded4ab3df
Safer memory management for some pal routines
2018-01-18 10:37:33 +10:00
Nyall Dawson
623fd6fa46
Drop an unused messy pal function
2018-01-18 10:37:33 +10:00
Nyall Dawson
d8402acee8
Remove composer from more code, port georeferencer reports to layouts
2018-01-18 09:21:45 +10:00
Nyall Dawson
5804745326
Port more tests to layouts, drop more QgsCompositions use
2018-01-18 09:21:45 +10:00
Nyall Dawson
fe48aeca0c
Fix crash with undo/redo and layout multiframes, restore test
2018-01-18 09:21:45 +10:00
Alessandro Pasotti
479358ea77
Merge pull request #6089 from elpaso/server-exception-on-image-overflow
...
Server exception on image overflow
2018-01-17 17:34:29 +01:00
Martin Dobias
ccd98f5d6c
Added test
2018-01-17 15:38:27 +01:00
Martin Dobias
6a4b8b4762
Fix retrieval of 4D geometries (XYZM) from postgres ( fixes #17814 )
2018-01-17 15:38:27 +01:00
Alessandro Pasotti
bdb572781b
[server] Use std::numeric_limits instead of INT_MAX
2018-01-17 15:29:29 +01:00
Denis Rouzaud
0304708130
fix .gitignore to add missing sip files
2018-01-17 10:16:37 -04:00
Denis Rouzaud
0644f59cde
fix variable used for configuration
2018-01-17 10:16:37 -04:00
Denis Rouzaud
4a0eedde2e
version compare is not strict
...
also fix sipify test
2018-01-17 10:16:37 -04:00
Denis Rouzaud
458cab7b20
run sipify
2018-01-17 10:16:37 -04:00
Denis Rouzaud
fe5a001df1
[sipify] remove space before semi-column
2018-01-17 10:16:37 -04:00
Denis Rouzaud
7722010ca8
rename *.sip to *.sip.in for the auto generated sip files
2018-01-17 10:16:37 -04:00
Denis Rouzaud
1d4e6a820a
[sipify] use configuration file for SIP sources (*.sip.in)
...
to allow preprocessing the files to handle version specific features such as template based classes documentation in 4.19.7+
2018-01-17 10:16:37 -04:00
Denis Rouzaud
5327978ecf
SIP 4.19.7+ allows to document template based classes
2018-01-17 10:16:37 -04:00
Alessandro Pasotti
74d76d52a7
[server] Check image size for overflow and throw if null
...
Because we don't wont a broken image in the output
when a null image is created.
This introduces an additional check for null images
and a check for image size taken verbatim from QImage
internal checks.
This fixes an unreported bug that produced a broken image
instead of a proper exception in case of size overflow
due to QImage internal checks or to out of memory conditions.
2018-01-17 13:10:56 +01:00
Alessandro Pasotti
4fc2b3e808
[server][test] Add protocol and host:port to path in the test server
2018-01-17 13:09:28 +01:00
pierre-eric
ac27347a9e
[server] Fix layers group handling
...
Load layers groups from project file to be able to use them in queries.
Fixes #17668
2018-01-17 10:51:34 +01:00
nirvn
8c74c5b3d1
fix type in map layer's exportNamedStyle() for min scale value
2018-01-17 15:31:38 +07:00
nirvn
f274456fce
use native separators for message bar hyperlinks
2018-01-17 12:44:17 +07:00
nirvn
8bb6fde8b2
[ui] add hyperlink to saved vector/raster in the message bar
2018-01-17 12:44:17 +07:00
Nyall Dawson
163c278491
Avoid creating undo commands when converting compositions
2018-01-17 14:00:05 +10:00
Etienne Trimaille
4a2da5006b
fix missing QLabel python import
2018-01-17 04:59:06 +10:00
Nyall Dawson
64a8bda8cc
Rename QgsApplication::composerTemplatePaths to layoutTemplatePaths
2018-01-17 04:58:41 +10:00
Nyall Dawson
343c070adf
Fix layout designer does not respect layout settings
2018-01-17 04:58:41 +10:00
Denis Rouzaud
279785302d
fix QAction constr call
2018-01-16 10:22:20 -04:00
Denis Rouzaud
9bf943a777
[QgsFilterLineEdit] use QLineEdit::addAction instead of hacking paintEvent
...
this gets much more simple
2018-01-16 10:22:20 -04:00
Denis Rouzaud
d1a922b565
let's build python API for server....
...
is it just me or it was never built?
2018-01-16 08:35:51 -04:00
Nyall Dawson
5bdd6daf0b
Add tags to buffer algorithm
2018-01-16 21:21:38 +10:00
Nyall Dawson
17478ea51a
[processing][needs-docs] Hide variable distance buffer from toolbox
...
This algorithm has become a model-only algorithm, since it's
functionality is now present in the native c++ buffer algorithm
(which can now buffer by field or expression).
Ideally we'd remove this algorithm entirely, but data defined
parameters are not yet supported by the modeler gui, so we need
to keep it around for use in models for now.
2018-01-16 21:21:38 +10:00
Nyall Dawson
ecd113de24
Fix modeler dialog doesn't respect hide from modeler flag
2018-01-16 21:21:38 +10:00
Nyall Dawson
95db682acf
[processing][needs-docs] Drop Fixed Distance Buffer algorithm
...
Since it's functionality is a subset of the native c++ "buffer"
algorithm, it's no longer required.
2018-01-16 21:21:38 +10:00
nirvn
9db2d64d52
[processing] fix gdal's ogrinfo algorithm
2018-01-16 18:16:35 +07:00
Mathieu Pellerin
add40c1e22
[processing] use combined vector and raster filters for map layer file picker
2018-01-16 18:01:21 +07:00