Denis Rouzaud
6885da4043
[snapping widget] add advanced config widget in toolbar fix #16596
2018-01-19 21:25:12 -04:00
Denis Rouzaud
42ca70b948
initilize in header
2018-01-19 20:20:28 -04:00
Denis Rouzaud
510a228e80
switch freehand selection map tool to click-click
...
to be coherent with other map tools
add-ons: possible map move/zoom while selecting, and operation canceling (right-click or ESC)
2018-01-19 20:20:28 -04:00
Nyall Dawson
fe13c0e81b
Fix crash when deleting layout items
...
Fixes #17876 , #17770
2018-01-20 06:11:11 +10:00
Nyall Dawson
05161362d3
Keep label settings when changing between rulebased/simple labeling
...
Fixes #17734
2018-01-20 06:10:51 +10:00
Nyall Dawson
aa0d377164
Add separate bool for controlling whether vector layer labels
...
are enabled
Instead of clearing the labeling configuration in order to
disable labels, we need a way to disable them without
losing the configuration. Labels are oftern temporarily
switched on/off as an analysis tool, and we don't want the
settings to be lost as a result
Refs #17656
2018-01-20 06:10:51 +10:00
Denis Rouzaud
232d721304
move libdxfrw to external lib directory
2018-01-19 11:56:26 -04:00
Martin Dobias
3abf27f5ac
[cad] Fix precision issues with angle constraint ( fixes #17685 )
2018-01-19 16:14:06 +01:00
Nyall Dawson
dd739ac035
[needs-docs] Allow adding and remove nodes from node tool selection
...
Holding shift while clicking and dragging adds nodes to selection,
holding ctrl removes nodes from selection.
Additionally, this commit:
- fixes the current 'select node but don't start moving' shortcut,
but changes it from ctrl-click on a node to shift-click on a node
(since it's 'adding' to the selection)
- makes ctrl-click on a single node remove just that node from
the selection
Fixes #17259
2018-01-19 21:10:51 +10:00
Alexander Bruy
67ae36c430
Merge pull request #6097 from alexbruy/rule-editor-ui
...
make rule editor dialog resizeable (fix #17709 )
2018-01-19 08:33:21 +02:00
Nyall Dawson
c6608c086c
Fix memory leak
2018-01-19 11:35:41 +10:00
Denis Rouzaud
d424222493
fix prepare-commit for sipify
2018-01-18 20:24:29 -04:00
Mathieu Pellerin
5dc91b4b1f
[ui] prevent infinite canvas redraw due to ( #6098 )
...
progress bar changing status bar height when
shown/hidden.
Yes, it's as bad as it sounds.
2018-01-19 06:27:23 +07:00
Nyall Dawson
bc1bfd3406
Fully refresh map items when clicking 'update preview' button
2018-01-19 09:25:30 +10:00
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
Alexander Bruy
5162c46871
put rule editor widgest inside a QScrollArea to make dialog resizeable
...
(fix #17709 )
2018-01-18 11:39:46 +02: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