27502 Commits

Author SHA1 Message Date
Nyall Dawson
bcab4aeb14 Also update histogram when linked boundaries are toggled 2015-06-12 20:19:43 +10:00
Nyall Dawson
787e925b58 If graduated ranges are inconsistent or overlapping then don't allow
changes via the histogram. Prevents ranges from getting even more
mucked up.
2015-06-12 20:19:43 +10:00
Nyall Dawson
604f7e5011 Add methods to test whether graduated ranges overlap or have gaps 2015-06-12 20:19:43 +10:00
Matthias Kuhn
fccd8e58cd Disable view updates while reloading attribute table
Fix #12930
2015-06-12 09:41:27 +02:00
Juergen E. Fischer
275194dbd5 attribute editor: remove bunch of unused includes 2015-06-12 00:22:07 +02:00
Juergen E. Fischer
5bf316fec6 fix renaming of db/http connections (fixes #10632) 2015-06-11 23:03:05 +02:00
Juergen E. Fischer
d3c4da0b66 attribute: also put selected item on top if sorting descending (fixes #12434) 2015-06-11 19:34:45 +02:00
Juergen E. Fischer
ec0e971c30 add missing sip bindings 2015-06-11 19:19:00 +02:00
Juergen E. Fischer
78c60a297c handle bad layers when custom layer order is set (fixes #12733) 2015-06-11 18:52:42 +02:00
Juergen E. Fischer
8d0c281176 vector file writer: support QVariant::UInt, ::ULongLong and ::Time (fixes #12841) 2015-06-11 17:21:17 +02:00
Marco Hugentobler
ed39970d44 Store wkb pointer in QgsGeometry and move wkb, geos to GeosGeometryPrivate 2015-06-11 16:54:02 +02:00
Juergen E. Fischer
1749733702 fix crash when digitizing a part and adding it to a (cached) single part geometry 2015-06-11 15:37:18 +02:00
Denis Rouzaud
95cc4ba51a missing meta-object declaration for Behaviour enum 2015-06-11 15:25:23 +02:00
mhugent
0559567ed2 Merge pull request #2079 from manisandro/mutex
Add missing mutex lock
2015-06-11 13:29:07 +02:00
Sandro Mani
100de728e2 Add missing mutex lock 2015-06-11 10:01:51 +02:00
volaya
61698fc63c [processing] updated packaging tests 2015-06-11 09:28:49 +02:00
volaya
3f7b1824cd [processing] correctly handle multiple vector layers 2015-06-11 09:28:48 +02:00
Juergen E. Fischer
ffd2f26dd0 fix build on precise 2015-06-11 08:39:45 +02:00
Juergen E. Fischer
91e44eafea edit widgets: don't truncate double ranges and also support them in sliders and
dials (fixes #12421)
2015-06-11 00:39:41 +02:00
Juergen E. Fischer
765d1a98b5 reenable tips for new minor releases 2015-06-10 16:34:43 +02:00
Juergen E. Fischer
ed581aee78 indentation update II 2015-06-10 15:50:41 +02:00
Denis Rouzaud
9e3183c63f Revert "sort includes"
This reverts commit 2b7d3d3c73b50ba6dc74abec6dd652ff1b87c0ec.
2015-06-10 14:54:47 +02:00
Juergen E. Fischer
4e86109398 indentation update 2015-06-10 14:51:53 +02:00
Juergen E. Fischer
49286b304d unify_includes.pl:
* renamed from sort_includes.pl
* don't destroy order just remove duplicate includes
* run after astyle
2015-06-10 14:44:03 +02:00
Denis Rouzaud
d077a1681c Merge pull request #2131 from 3nids/test_sort_include_2
sort and remove duplicates in includes
2015-06-10 14:42:15 +02:00
Juergen E. Fischer
86a4820f48 fix 4bb90e3 2015-06-10 14:04:31 +02:00
Denis Rouzaud
2b7d3d3c73 sort includes 2015-06-10 13:59:08 +02:00
Juergen E. Fischer
4bb90e33c4 scan_includes.pl: fix permissions and catch trailing includes 2015-06-10 13:52:54 +02:00
Nyall Dawson
5d50af0407 [rastercalc] Fix handling of unquoted bands > 9 (fix #7589) 2015-06-10 21:45:38 +10:00
Nyall Dawson
efde7ad475 [rastercalc] Remove some redundant private methods 2015-06-10 21:45:37 +10:00
Nyall Dawson
f28755f9af [rastercalc] Save/restore window geometry for raster calculator 2015-06-10 21:45:37 +10:00
Nyall Dawson
559d7bb943 [rastercalc] Rework raster calculator to use QGIS raster classes
...rather than reading input layers directly through GDAL.
Benefits include more robust handling of nodata/data type conversions,
less code duplication, also being able to take advantage of features
in QGIS raster code like handling gain/offset in rasters. (fix #12450)

Also, add a choice of output projection to the raster calculator.
Previously the output CRS would be taken from the first raster, with
no guarantees that the output extent matched the output CRS. This
resulted in empty/misplaced rasters. (fix #3649)
2015-06-10 21:45:37 +10:00
Nyall Dawson
e1f7d330c2 [rastercalc] More robust handling of nodata in calculations
Also allow creation of QgsRasterCalcNodes which directly reference
a QgsRasterMatrix for testing.
2015-06-10 21:45:37 +10:00
Nyall Dawson
1219a0fbd2 [rastercalc] Consolidate duplicate code 2015-06-10 21:45:37 +10:00
Nyall Dawson
f42f640d30 [rastercalc] Switch all internal calculations to doubles
...for more accurate calculations (fix #9081)

Also:
- Add test suite for raster calculator
- Fix errors with log/log10 calculation and inputs <= 0
- Fix loss of nodata values in certain circumstances
2015-06-10 21:45:37 +10:00
Juergen E. Fischer
facfe6ec2c integrate sorting of includes into astyle.sh/astyle-all.sh/prepare-commit.sh 2015-06-10 13:12:24 +02:00
Denis Rouzaud
a6eb0f5bf3 fix directories in sort script (followup 684b2bd110c0da0fd65912ab82b47cf2e1e3d94f) 2015-06-10 11:43:23 +02:00
Denis Rouzaud
684b2bd110 bash cript to sort includes and remove duplicates
* this sorts and remove duplicates in #include in src and tests folders
* sorts includes in <...> before "..."
* keep #include "ui_..." on top of list
* can skip includes if an order should be kept
* can exlcude directories (hard-copies of external libraries)
2015-06-10 10:48:35 +02:00
Denis Rouzaud
95570ebf0e add missing newline at end of file 2015-06-10 10:48:35 +02:00
Denis Rouzaud
b45e68f1b7 add missing includes 2015-06-10 10:48:35 +02:00
Nyall Dawson
8f9c73b938 Don't calculate unwanted stats for stats dock 2015-06-10 16:04:30 +10:00
Nyall Dawson
7fb4bea279 Fix map layer combo box sometimes showing a selected layer which
is not applied

This could also have been fixed by changing from the activated
signal to currentIndexChanged for the indexChanged connection,
but it looks like activated was intentionally used here.
2015-06-10 16:03:38 +10:00
Nyall Dawson
bf25186a76 Fix potential crash in stats dock widget, avoid unnecessary recalc 2015-06-10 16:03:10 +10:00
Juergen E. Fischer
3d193e3026 layer context menu: disable CRS related menu entries from table layers (fixes #12654) 2015-06-09 23:37:41 +02:00
Juergen E. Fischer
b736317005 spatialite provider: load 64bit integers (fixes #12785) 2015-06-09 23:12:27 +02:00
Juergen E. Fischer
014f0703fe gps information widget:
* fix crash when satellite markers are remove (fixes #12393)
* also fixes serial port detection on unix
2015-06-09 22:04:14 +02:00
Juergen E. Fischer
fa89e292ce feature iterator: include attributes required by virtual fields first so that
they trigger joins if necessary (fixes #11545)
2015-06-09 20:27:42 +02:00
Juergen E. Fischer
3646e35827 fix primary key search (fixes #11997) 2015-06-09 18:37:56 +02:00
Juergen E. Fischer
1959f751f6 renderer: also consider support ogc wkb types for 3d (fixes crash after merging
3d polygons)
2015-06-09 17:01:37 +02:00
Juergen E. Fischer
b14d3ebb99 fix warnings 2015-06-09 17:01:26 +02:00