27443 Commits

Author SHA1 Message Date
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
Juergen E. Fischer
8289891b78 Move information about strict provider geometry type check on point shapefiles
to OGR provider and make use of it when pasting & merging features
(fixes #12488, refs #10672, refs #10747)

TODO: check if other OGR drivers have similar restrictions.
2015-06-09 17:01:26 +02:00
Nyall Dawson
920f2ebe56 Fix bug causing raster blocks to be cleared when reprojecting
If a QgsRasterBlock had no nodata value set, then reprojecting
the raster using QgsRasterProjector would result in the entire
block being set to nodata.
2015-06-09 21:57:08 +10:00
Marco Hugentobler
3b5df98332 Implement segmentize method in QgsGeometryCollection2 instead of subclasses 2015-06-09 13:27:15 +02:00
Marco Hugentobler
06b472550d Rename QgsGeometryData to QgsGeometryPrivate. Update class comment 2015-06-09 11:52:29 +02:00
Nyall Dawson
73ae0f7970 Bump number of decimal places for offset tool spinbox, otherwise
offset tool only allows coarse adjustments in certain CRSs.
2015-06-09 18:17:07 +10:00
Nyall Dawson
31232d16b5 Merge pull request #2126 from nirvn/lock_icon_refresh
[GUI] refresh the symbology and composer lock icons
2015-06-09 18:14:23 +10:00
nirvn
cf6de0f336 [gui] refresh the symbology and composer lock icons 2015-06-09 15:05:13 +07:00
Nathan Woodrow
03ad6aca8a Merge pull request #2125 from nirvn/symbology_arrows_refresh-v3
[GUI] refresh the symbology add/remove/arrow icons
2015-06-09 13:31:29 +10:00
nirvn
3e17d5631c [gui] refresh the symbology add/remove/arrow icons 2015-06-09 10:25:44 +07:00