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
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
Hugo Mercier
f8d593855f
Fix virtual layer creation GUI
2016-01-26 16:47:34 +01: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
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
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
Martin Dobias
fc086adb34
Remove too much debug output when loading attribute table (refs #14041 )
...
This makes debug version much faster, probably not much difference in release version
2016-01-23 20:40:59 +01:00
Martin Dobias
a618f85a96
Hide extra encoding option from the vector "save as" dialog
...
There is already another combo box for encoding selection.
2016-01-23 20:27:18 +01:00
Martin Dobias
5512d5443f
Fix regression in vector "save as" that saved shapefiles as .dbf only ( fixes #14158 )
2016-01-23 20:21:05 +01:00
Sebastian Dietrich
da43fb70e7
Fix warning when a QLayout is already present in QgsDualView.
2016-01-23 14:59:53 +01:00
Salvatore Larosa
09ce8004fd
avoid messages warning: this also avoids the warning like:
...
```
QObject::connect: Cannot connect (null)::repaintRequested() to LayerPreview::refresh()
QObject::connect: Cannot connect (null)::layerCrsChanged() to LayerPreview::layerCrsChange()
```
from dbmanager when changing layer preview.
2016-01-23 13:21:29 +01:00
Nyall Dawson
bfad753f37
Fix coverity issues
2016-01-23 10:31:00 +11:00
Marco Hugentobler
e83a7c869f
Follow up 200ce04b88c515d9880615d7254e45d1a50049a4
2016-01-22 20:01:22 +01:00
unknown
200ce04b88
Fix shapes not deleted on windows
2016-01-22 18:16:22 +01:00
nirvn
9c0aaa9dbe
[memorylayer] fix missing datetime field type
2016-01-22 17:32:36 +07:00
Nyall Dawson
69ce55998e
Fix some oddities in server access control and bindings (refs #13919 )
2016-01-22 18:48:57 +11:00
Nyall Dawson
752f6bd150
Fix classes which violate rule of three, by implementing required
...
copy/= operators or making them private
This revealed (and fixes) some issues, including a potential crash
using server access control (refs #13919 ), and a potential crash with
diagrams
2016-01-22 18:45:45 +11:00
Matthias Kuhn
a16535a926
Merge pull request #2711 from SebDieBln/HideWelcomeOnLoadProject
...
[Bugfix] Always hide the welcome screen when the first project is loaded
2016-01-22 07:37:44 +01:00
nirvn
36d2e7b1bb
[ui] add missing renderer icons
2016-01-22 11:51:24 +07:00
Sebastian Dietrich
a453f72c17
hide welcome screen when first project is loaded
2016-01-22 00:44:38 +01:00
Matthias Kuhn
28b541ab4b
Copy layer variables when duplicating layers
2016-01-21 22:37:52 +01:00