36869 Commits

Author SHA1 Message Date
Nyall Dawson
45fc6dc2fe Remove duplicate QgsRasterLayer constructor
Avoids confusing overload behavior when constructing QgsRasterLayers
from c++ code. This extra constructor was causing character literals
to be converted to a boolean loadDefaultStyle flag instead
of being used as the provider key. Removing the extra constructor
avoids this, and removes some duplicate code.
2017-01-27 11:13:52 +10:00
Nyall Dawson
d259cdf5d6 Fix some coverity before/after null deference checks 2017-01-27 10:52:28 +10:00
Nyall Dawson
799b833cae Fix some memory leaks identified by Coverity 2017-01-27 10:13:46 +10:00
Jorge Gustavo Rocha
72c5cf0088 Sip coverage: first attempt 2017-01-27 00:09:30 +00:00
Nyall Dawson
7b14373a8e Fix some coverity uninitialized variable warnings 2017-01-27 09:55:12 +10:00
Jorge Gustavo Rocha
0eaf7bfd66 Fix astyle 2017-01-26 23:08:48 +00:00
Nyall Dawson
8f62f834f2 Ensure newly added composer maps show layers visible in canvas 2017-01-27 08:23:53 +10:00
PedroVenancio
bf2d9995f0 Add GRASS 7.x v.out.ascii algorithm 2017-01-26 22:04:06 +00:00
Jorge Gustavo Rocha
b7bacdd3df Fix astyle 2017-01-26 16:54:01 +00:00
Jorge Gustavo Rocha
2095b8e738 Delete styles from postgres provider 2017-01-26 16:31:49 +00:00
rldhont
c861682ded [BUGFIX][Processing] Script: get output file extension 2017-01-26 16:53:44 +01:00
Harrissou Sant-anna
e7ff727bb8 Fix "Configure container" dialog (#4060) 2017-01-26 17:01:50 +07:00
Alexandre Neto
daa8709cf2 Add title to size assistant dialog (#4056) 2017-01-26 16:57:55 +07:00
Martin Dobias
3a92b17418 Reading/saving labeling engine uses a particular QgsProject
... rather than using QgsProject::instance() internally

These are small cleanups to dig out some instance() uses and move them one level up...

At some point we should maybe make labeling engine configuration a part of QgsMapSettings
and have default project labeling engine config accessible from QgsProject
in a way similar to e.g. snapping configuration.
2017-01-26 10:56:50 +08:00
Denis Rouzaud
958dff9d82 spelling fixes 2017-01-25 17:38:01 +01:00
Juergen E. Fischer
a64f909474 spelling fixes 2017-01-25 16:53:34 +01:00
Alexander Bruy
49e7b94a63 [processing] make additional Fusion parameters optional 2017-01-25 15:44:16 +02:00
Alexander Bruy
66c7129d7b Merge pull request #4053 from alexbruy/lidartools-update
[processing] fixes and new tools for LiDAR processing
2017-01-25 14:28:12 +02:00
Alexander Bruy
514e55bdce fix indentation 2017-01-25 13:06:56 +02:00
Denis Rouzaud
0de00150d1 correctly exit spell check test to make Travis fail 2017-01-25 11:25:27 +01:00
Alexander Bruy
f40fb9c4d2 [processing] fixes and new tools for LiDAR processing
courtesy of Niccolò Marchi
2017-01-25 11:41:34 +02:00
Tudor Bărăscu
882a80a904 fix labelontop/editable when field list sorted 2017-01-25 09:29:59 +01:00
Tudor Bărăscu
21637fd6de fix working on constraints when field list sorted 2017-01-25 09:29:59 +01:00
matteo
a49fc8ab99 [processing] add test for color relief gdal 2017-01-25 09:29:23 +01:00
Mathieu Pellerin
ecf1f5a576 [FEATURE] expression engine's is_layer_visible() (#4045) 2017-01-25 11:47:26 +07:00
Juergen E. Fischer
a61b9222de Qt 5.2 has QComboBox::currentData 2017-01-25 03:28:53 +01:00
Juergen E. Fischer
43faf338f3 remove remaining QT_VERSION <=> 5 checks (also fixes b3e8d82) 2017-01-25 02:58:48 +01:00
Juergen E. Fischer
01004d9f83 identation fix 2017-01-25 02:43:25 +01:00
Juergen E. Fischer
89b58d7334 translation string fixes 2017-01-25 02:19:33 +01:00
Juergen E. Fischer
f389069b4e update i18n scripts 2017-01-25 01:32:39 +01:00
Juergen E. Fischer
7642ce9d77 debian packaging: include server modules 2017-01-25 01:32:39 +01:00
Juergen E. Fischer
099e7a77f2 [processing] find grass >=7.0 2017-01-25 01:32:39 +01:00
Juergen E. Fischer
d8ed8f4355 fix processing MessageBarProgress initialization 2017-01-25 01:32:39 +01:00
Nyall Dawson
be7d17eb95 Considerably lighten the burden on the overworked translation team 2017-01-25 10:00:06 +10:00
Nyall Dawson
deef5c95f2 Rename a ui file which I can never find 2017-01-25 09:59:34 +10:00
Nyall Dawson
2a9ddb78c0 Fix bad labeling strings 2017-01-25 09:42:01 +10:00
Denis Rouzaud
b3e8d82190 remove QT_VERSION test in custom widgets 2017-01-24 11:41:21 +01:00
Denis Rouzaud
f7dbc054db more python 2 removal 2017-01-24 08:30:36 +01:00
Nyall Dawson
ef3b665dd1 Remove some leftover Python 2 code 2017-01-24 08:30:36 +01:00
Nyall Dawson
5e17403f1a Merge pull request #4043 from nyalldawson/layer_composer_bridge
Bridge map canvas layers to composer map layers
2017-01-24 14:57:38 +10:00
Nyall Dawson
a188d14f48 Remove map settings parameter from QgsComposition
Breaks the hard link between canvas and compositions!

Fix #11077
2017-01-24 14:32:08 +10:00
Nyall Dawson
5e1339e863 Merge pull request #4038 from nyalldawson/shift_zoom
[FEATURE] Holding shift while using map zoom tools inverts the zoom
2017-01-24 14:00:03 +10:00
Nyall Dawson
b41f3a7860 [composer] Don't use canvas map settings to determine canvas layers
Instead make the layer tree canvas bridge advise on layer set
changes, and tie this into composer. So now composer acts
as a go-between to sync the composer map item's layer set to
the layer tree/canvas layers.

It's not an ideal solution, but avoids the hard link between
compositions and the map canvas.
2017-01-24 12:24:33 +10:00
Nyall Dawson
98169386d1 Add missing docs 2017-01-24 12:17:08 +10:00
Nyall Dawson
00b02715ea Remove calls to method added in Qt 5.6 2017-01-24 11:31:00 +10:00
Juergen E. Fischer
6a56cb0dd0 updates and fixes for windows qt5/py3 build 2017-01-24 01:25:59 +01:00
Nyall Dawson
ea116fd893 Merge pull request #2857 from nyalldawson/properties2
Properties framework
2017-01-24 05:01:31 +10:00
Alexander Bruy
57535763d7 use new QgsHelp where possible instead of builtin context help 2017-01-23 10:54:45 +02:00
Nyall Dawson
6c55e68845 [composer] Fix page border is too wide under qt5 2017-01-23 18:19:10 +10:00
Nyall Dawson
71abd4cf8f [composer] Holding shift while drawing polyline/polygon constrains
line angles
2017-01-23 18:19:10 +10:00