31328 Commits

Author SHA1 Message Date
Hugo Mercier
baaeedfe35 Fix crash when selecting a null layer
Happens for instance when a embedded layer is added but
dependent layers cannot be resolved
2016-02-17 09:08:35 +01:00
Matthias Kuhn
a44c89027f Merge pull request #2798 from SebDieBln/Fix_cboRenderingOrder
[Bugfix] correctly check/uncheck 'Control feature rendering order' (fixes #14274)
2016-02-17 08:56:19 +01:00
Radim Blazek
8353698633 [GRASS] disable new mapset action if init failed 2016-02-17 08:45:06 +01:00
Nyall Dawson
392a88ae1d Merge pull request #2801 from nirvn/virtual_layer_icon
[ui] improve new memory layer icon
2016-02-17 15:50:49 +11:00
nirvn
24a07de336 [ui] improve new memory layer icon 2016-02-17 11:25:28 +07:00
Nyall Dawson
d40d8875e5 Merge pull request #2800 from nirvn/virtual_layer_icon
[ui] improve virtual layer icon
2016-02-17 15:03:16 +11:00
nirvn
dcc1511ecd [ui] improve virtual layer icon 2016-02-17 10:46:00 +07:00
Nyall Dawson
91413609cb Merge pull request #2799 from nirvn/additional_selection_icons
[ui] update a few more selection-related icons
2016-02-17 13:13:45 +11:00
nirvn
5ae21054d8 [ui] update a few more selection-related icons 2016-02-17 08:58:07 +07:00
Nyall Dawson
f468f65d47 Merge pull request #2791 from nirvn/labeling_icons_v2
[ui] add rule-based labeling and obstacle icons
2016-02-17 12:28:10 +11:00
Sebastian Dietrich
40c65059b4 correctly check/uncheck 'Control feature rendering order' (fixes #14274) 2016-02-16 23:06:47 +01:00
Juergen E. Fischer
d2679d6dbd another fix for gml wkb assembly (fixes #14315) 2016-02-16 22:12:40 +01:00
Alexander Bruy
1ffccf05c9 [processing] fix Modeler Calculator (ref #14305) 2016-02-16 20:59:50 +02:00
Sandro Santilli
2bd7f446b4 Fix signed 32bit integer overflow in PostgreSQL provider
Fixes #13958
Includes test for signed integer attributes
2016-02-16 17:40:34 +01:00
Alexander Bruy
a15f51e71b Merge pull request #2788 from medspx/processing_fix_vdbselect
[processing] аix GRASS7 v.db.select (fix #11212)
2016-02-16 18:26:23 +02:00
Hugo Mercier
103856c976 Add TODO QGIS 3 comments 2016-02-16 16:18:58 +01:00
Sandro Santilli
6365eb7ee6 Do not hard-code database connection parameters
Rely on libpq defaults instead (overridable via environment)

Fixes #14308
2016-02-16 15:28:19 +01:00
Matthias Kuhn
427e5e9ffd Fix android build 2016-02-16 14:56:33 +01:00
Matthias Kuhn
4a27e3037e Fix android build CMake 3.2 and don't force Python 3 with Qt5 2016-02-16 14:56:33 +01:00
Juergen E. Fischer
55727c3fcf add sip bindings to QgsCredentialsNone (followup 42bc9387) 2016-02-16 13:29:36 +01:00
Matthias Kuhn
54fa23c453 Merge pull request #2783 from SebDieBln/FixVectorDialogTitle
[UI] Make title of QgsNewVectorLayerDialog consistent
2016-02-16 13:19:01 +01:00
Juergen E. Fischer
42bc938700 add QgsCredentialsNone to not return any credentials and make it default instead of QgsCredentialsConsole (fixes #14269; reverts f8d2091) 2016-02-16 10:45:58 +01:00
Nyall Dawson
14f9a88811 Follow up c6c8277, fix bad behaviour of QgsBrowserModel introduced
by 44d9b35 (fix #14296)
2016-02-16 14:12:54 +11:00
Nyall Dawson
13c5848e5e Fix deselecting null category when categorising using expression
hides all features (fix #14273)
2016-02-16 13:19:36 +11:00
Nyall Dawson
4094bae960 Respect project ellipsoid and unit settings in virtual fields
Fix #12622, #4252
2016-02-16 12:12:40 +11:00
Nyall Dawson
2265eb90ec "Fix" QgsDistanceArea test on OSX
Test has revealed that the current algorithm used for ellipsoidal
calculations is unstable when measuring small very areas (eg < 1m2)

For now, modify the test to use larger areas
2016-02-16 12:11:27 +11:00
Juergen E. Fischer
f8d2091255 avoid credentials requests in PyQgsPostgresProvider 2016-02-16 00:34:14 +01:00
Juergen E. Fischer
e7e8d58aa8 oracle provider: don't acquire provider connection from pool 2016-02-15 23:21:08 +01:00
Nyall Dawson
54b998ff5d Disable PyQgsDistanceArea test on Travis OSX builds for now
Newly added tests have revealed a deep underlying issue with area
measurement on OSX
2016-02-16 06:19:44 +11:00
Sandro Santilli
ab580fbd0e Do not hard-code database connection parameters
Rely on libpq defaults instead (overridable via environment)
2016-02-15 18:17:34 +01:00
Hugo Mercier
942c5e5f73 Fix virtual layer file name handling (in Windows) 2016-02-15 16:44:17 +01:00
Matthias Kuhn
30910df388 Partially revert fa40e78
It failed to load functional plugins also
2016-02-15 12:51:53 +01:00
Matthias Kuhn
8a3e94365d Followup fa40e78, make strings translatable 2016-02-15 10:45:03 +01:00
Matthias Kuhn
fa40e78f60 [Plugins] disable plugins which crash on load 2016-02-15 10:23:39 +01:00
Radim Blazek
8af571ae06 [GRASS] use plain text for r/.proj, fixes partially #2575 2016-02-15 10:05:48 +01:00
Nyall Dawson
6f2d11b567 Fix setting a layer to act as a label obstacle does not stick 2016-02-15 20:06:18 +11:00
Nyall Dawson
59b216be74 Add missing sip bindings 2016-02-15 19:02:34 +11:00
Radim Blazek
5dd86aabfa [GRASS] removed absolute path from t.list, fixes #14241 2016-02-15 08:54:53 +01:00
volaya
961c35aeb5 [processing] fixed exporting multiple vector layers in SAGA and GRASS algs 2016-02-15 08:25:50 +01:00
Nyall Dawson
479d90a5ce Make measure tool respect project area unit setting
Also add unit tests for measure tool length and area measurement
to ensure they return the same results as field calculator
and identify tool

Refs #13209, #4252
2016-02-15 17:26:16 +11:00
nirvn
b4ee36d86d [labeling] add rule-based, obstacle icons 2016-02-15 12:41:38 +07:00
Nyall Dawson
6dc0b6910f Move handling of angular units to QgsUnitTypes, swap angle and distance
radio buttons to combo boxes in options dialog for consistency with
project properties
2016-02-15 15:22:30 +11:00
Nyall Dawson
dfdcec8922 Fix project unit confusion (pt 3): add area unit settings with a
ton of available area units (eg m2, km2, mi2, ft2, yd2, ha, ac,
etc)

Adds a new option in both the QGIS setting and project properties to
set the units used for area measurements. Just like the distance
setting, this defaults to the units set in QGIS options, but can
then be overridden for specific projects.

The setting is respected for area calculations in:
- Attribute table field update bar
- Field calculator calculations
- Identify tool derived length and perimeter values

Also adds unit tests to ensure that area calculated by attribute table
update bar, field calculator and identify tool are consistent wrt
ellipsoidal calculations and area units.

TODO: make measure tool respect area setting

(refs #13209, #4252 and fixes #12939, #2402, #4857)
2016-02-15 12:47:36 +11:00
Nyall Dawson
35c2d185fb Add square nautical miles as a supported areal unit, add API
method for converting a distance unit to corresponding area unit
2016-02-15 12:47:36 +11:00
Jürgen Fischer
bd3bbc4707 Merge pull request #2790 from SebDieBln/ImproveVersionCheck
[Bugfix] Improve version check (refs #14022)
2016-02-15 02:18:23 +01:00
Juergen E. Fischer
36000463ff alternate fix for #13938 (folloup 5d989ab) 2016-02-15 02:16:43 +01:00
Juergen E. Fischer
6a3753e2e8 processing: fix translation context for AlgorithmDialogBase 2016-02-15 00:16:51 +01:00
Sebastian Dietrich
8359bfe40c add command line option to skip the version check at startup
--noversioncheck or -V are recognized
2016-02-15 00:12:31 +01:00
Sebastian Dietrich
25a727a05a show correct host name when version check fails to find host 2016-02-15 00:12:30 +01:00
Sebastian Dietrich
af88924ad9 new setting to allow disabling the version check at startup (refs #14022) 2016-02-15 00:12:30 +01:00