Nathan Woodrow
80e3f8fc74
Merge pull request #2704 from SebDieBln/FixFieldCalcDialogParent
...
[Bugfix] Construct the QgsFieldCalculator dialog with the correct parent
2016-01-27 21:10:46 +10:00
Nyall Dawson
0d433b092e
Fix warnings
2016-01-27 20:56:32 +11:00
Nyall Dawson
4ec0912001
Fix inconsistent behaviour when deleting nodes with node tool
...
(fix #14168 )
2016-01-27 20:12:20 +11:00
Salvatore Larosa
47013f7bef
[dbmanager] Fixes #13679 - QGIS master crashes when closing DB Manager in preview mode
2016-01-27 09:54:43 +01:00
Alexander Bruy
602437aa06
[processing] also make Modeler non-blocking when opened from context menus (follow up 51ec2bfba6)
2016-01-27 09:52:32 +02:00
Alexander Bruy
554ca8da87
[processing] unregister actions when unloading (follow up f7e6fa67b0)
2016-01-27 09:49:25 +02:00
Nyall Dawson
c7204cc722
Fix editing composer legend titles while filtering enabled ( fix #11459 )
2016-01-27 15:51:47 +11:00
Nyall Dawson
6893f4941d
Properly fix doxygen warning
2016-01-27 14:40:51 +11:00
Nyall Dawson
59f418b763
Revert "Fix doxygen warning"
...
This reverts commit 9e1a2359ba7aab9094544f85ba04efceceedf5f6.
2016-01-27 14:40:01 +11:00
Nyall Dawson
9e1a2359ba
Fix doxygen warning
2016-01-27 14:38:05 +11:00
Nyall Dawson
fe95e4eeea
Show variables from symbol scope in symbol layer widget expression
...
builders. (This lets users know they are available).
Also swap some variable names to static strings for speed.
2016-01-27 13:58:32 +11:00
Nyall Dawson
9b6fa0d5c4
Fix @value is overwritten for some symbol properties ( fix #14148 )
2016-01-27 12:41:10 +11:00
Nyall Dawson
39f0035246
Improve preview of current variable value in expression builder
2016-01-27 11:36:56 +11:00
Nyall Dawson
0356752c64
DateTime is also a native type for postgres provider
2016-01-27 11:36:16 +11:00
Nyall Dawson
a665b7d72e
Don't crash when using raster calculator with huge raster (refs #13336 )
...
Now we abort and advise the user if insufficient memory is available
to perform the calculation.
At some future stage it would be nice to perform the calculations
in blocks to allow this scenario, but for now it's better not to
crash.
2016-01-27 10:48:12 +11:00
Sebastian Dietrich
560007846a
[DbManager] allow to delete materialized views
...
(refs #13829 )
2016-01-27 00:28:22 +01:00
Sebastian Dietrich
990261331d
[DbManager] give materialized views their own icon
2016-01-27 00:28:22 +01:00
Sebastian Dietrich
50878114a7
[DbManager] fetch type of view (materialized or not) and show in info
...
(refs #13829 )
2016-01-27 00:28:22 +01:00
Nyall Dawson
e42819d442
Merge pull request #2713 from nirvn/fix_memory_layer_datetime
...
[memorylayer] fix missing datetime field type
2016-01-27 10:27:54 +11:00
Nyall Dawson
7b01b414fd
Mark some inbuilt expression variables with missing read-only flag
2016-01-27 10:22:30 +11:00
Nyall Dawson
3744ac2fc4
Fix categorised renderer does not store changes to the source symbol
...
Avoids the frustrating situation where changes to a symbol in the
categorised renderer are lost when the layer properties window
is reopened
Also improve docs and fix a leak in the Python bindings
2016-01-27 09:58:47 +11:00
Nyall Dawson
1eedb06d35
Fix crash when opening new virtual layer dialog
2016-01-27 09:13:30 +11:00
Nyall Dawson
36b6a16603
Merge pull request #2723 from mhugo/fix_vlayer_ui
...
Fix virtual layer creation GUI
2016-01-27 09:13:00 +11:00
volaya
99b9a495b8
[processing] fixed autodetection of grass folder
...
Fix provided by Stefan Blumentrath
2016-01-26 19:43:06 +01:00
Hugo Mercier
f8d593855f
Fix virtual layer creation GUI
2016-01-26 16:47:34 +01:00
Alexander Bruy
beaa45e557
Merge pull request #2705 from SebDieBln/FixVectorGridLock
...
[fTools] restore 1:1 ratio when checking 'Lock 1:1 ratio' checkbox
2016-01-26 13:10:58 +02:00
Hugo Mercier
21b095d7a3
Merge pull request #2719 from mhugo/fix_wkbtype
...
Fix QgsGeometry wkbType()
2016-01-26 10:13:12 +01:00
Nyall Dawson
24d9c65494
Fix more classes which violate the rule-of-three
...
Also remove some empty destructors
2016-01-26 14:24:45 +11:00
Martin Dobias
492c1a9ff0
Improve documentation for renderer registry metadata (refs #13973 )
2016-01-25 18:16:32 +01:00
Martin Dobias
83eed1109c
Improve renderer class documentation (refs #14025 )
2016-01-25 18:16:32 +01:00
Matthias Kuhn
b5ee06dc28
Merge pull request #2702 from alexbruy/styles-bindings
...
fix SIP bindings for listStylesInDatabase() method (fix #11210 )
2016-01-25 17:39:20 +01:00
Martin Dobias
82eabb1976
Fix crash in vector layer properties when changing renderer type ( fixes #14164 )
2016-01-25 13:16:05 +01:00
Hugo Mercier
3418dd003d
Fix QgsGeometry wkbType()
2016-01-25 10:35:02 +01:00
volaya
73bef58470
[processing] correctly initialize lastools settings before loading algs
2016-01-25 10:12:04 +01:00
Nyall Dawson
7fcc7ab195
Add specific test for QgsMultiBandColorRenderer
...
The raster blend mode test, which uses QgsMultiBandColorRenderer
fails occasionally for no obvious reason. This additional test
is an attempt to narrow down whether the issue lies in
rendering multi band images or elsewhere.
2016-01-25 19:05:13 +11:00
Nyall Dawson
a20d50340d
Swap QString::replace using trivial QRegExp expressions with simple
...
QString variants
Rationale:
1. It's *much* faster
2. I managed to get a valgrind report from the intermittently crashing
PyQgsRulebasedRenderer test, which indicated the crash related to
the use of QRegExp in qgsexpressionlexer.ll. Let's see if this has
any impact on that crash....
2016-01-25 18:50:17 +11:00
Nyall Dawson
7400ca9c87
Fix issues with conversion of renderers to rule based renderer
...
- expressions were not correctly translated and always treated
as a single field
- string values were not correctly escaped, resulting in a broken
renderer
2016-01-25 15:17:03 +11:00
Nyall Dawson
39e1f68ccc
Fix filtering legend content by map when renderer contains
...
duplicate symbols (fix #14131 )
Now, we don't test for map content using the symbols but instead
use the legend key during the hit test
2016-01-25 14:43:54 +11:00
Nyall Dawson
cf3c55bdfc
[travis] Warn on unintentional switch fallthrough
...
Intentional fallthrough should be annotated with
"FALLTHROUGH;"
2016-01-25 14:41:07 +11:00
Nyall Dawson
f6c0d8dd63
Use QVector instead of QList in some private contexts
2016-01-25 12:36:27 +11:00
Juergen E. Fischer
5574d40022
fix warnings
2016-01-25 01:35:35 +01:00
Juergen E. Fischer
ae52aabd70
more spelling fixes
2016-01-24 20:16:28 +01:00
Matthias Kuhn
265f53ceea
Fix wording and add warning
2016-01-24 17:35:56 +01:00
Nyall Dawson
ac033cfc9d
Refactor and optimise certain QgsWKBTypes functions
...
Given how frequently these functions are called throughout QGIS,
it makes sense for them to be written in a way that makes it easy
for the compiler to optimise them/inline them.
2016-01-24 20:26:56 +11:00
Matthias Kuhn
ba530a0f1c
Merge pull request #2715 from SebDieBln/FixWarnDualViewLayout
...
Fix warning when a QLayout is already present in QgsDualView.
2016-01-24 10:25:33 +01:00
Juergen E. Fischer
bbfcbcae10
snapping:
...
* skip index build if snapping is off
* use feature request limit when creating the snapping index
2016-01-24 07:21:23 +01:00
Nyall Dawson
8ad6ca08fe
Fix some memory leaks identified by Coverity
...
Also improve the API for QgsExpressionContextUtils::updateSymbolScope
Previously it was hard to predict if the method would create storage,
which caused issues for the python bindings (eg, they had a choice of
either leaking or being crashy).
2016-01-24 15:17:17 +11:00
Jürgen Fischer
1dc8fc3c4e
Merge pull request #2716 from SebDieBln/LoadShowPlusSign
...
[Bugfix] Correctly load the labeling-setting to show a plus-sign next to numbers (fixes #13474 )
2016-01-24 02:50:56 +01:00
Sebastian Dietrich
df4c0c1247
fix loading the labeling-setting to show a plus-sign next to numbers
...
(fixes #13474 )
2016-01-24 01:13:05 +01:00
Juergen E. Fischer
764c649842
potential fix for PyQgsAppStartup by avoiding cloudflare
2016-01-23 22:40:31 +01:00