1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-04-01 00:05:25 -04:00

1358 Commits

Author SHA1 Message Date
Nyall Dawson
e57c59b289 Add some test mask to get label tests to pass in vivid 2015-06-16 20:56:00 +10:00
Nyall Dawson
170d96b0bc Labeling test fixes
- Remove outdated osx reference images
- Update expected PAL server images
- Add some mask images for server
2015-06-16 20:55:34 +10:00
Nyall Dawson
d50798cc4c Server labeling test fixes 2015-06-16 20:55:03 +10:00
Matthias Kuhn
9a0abc210a Increase timeout for PyQgsAppStartup test 2015-06-16 00:30:45 +02:00
Matthias Kuhn
038f99b505 Reduce warning noise and fix some doxymentation issues
Some warnings are wrapped in Q_NOWARN_DEPRECATED_*, these are warnings for
issues which are not critical and therefore of limited importance.

The general idea is to leave the space for compiler warnings to the one that
really need to be addressed.

Also removes a no longer required header file of dxflib.

Exposes some ready-to use doxymentation by wrapping it in appropriate comment
structure.

And some more cleanup
2015-06-15 18:42:27 +02:00
Nyall Dawson
7a3a857d79 Add QgsFontUtils methods for saving/loading font from XML (fix )
Fixes loss of font styles when restoring projects. Credit to @nirvn
for the initial implementation.
2015-06-15 19:40:28 +10:00
Nyall Dawson
ac8d4df3bb Bump minimum Qt version to 4.8 2015-06-15 00:04:31 +02:00
Nyall Dawson
53218948b1 Add QgsGeometry::isEmpty to test if underlying geometry exists 2015-06-13 13:43:17 +10:00
Nyall Dawson
06229c288c Add some tests for QgsGeometry conversion to/from QVariant 2015-06-13 07:53:53 +10:00
Juergen E. Fischer
5b2b3a45a7 allow adding polygons to multipolygons. fixes split part tool (refs ) 2015-06-12 21:26:11 +02:00
Matthias Kuhn
b113d2a8f4 Followup acfdcd92 - more qgsDoubleToString test 2015-06-12 15:12:01 +02:00
Nyall Dawson
80cfbbf37e Add method to set QgsAbstractGeometry for QgsGeometry, add tests
for implicit sharing of QgsGeometry
2015-06-12 22:50:47 +10:00
Nyall Dawson
acfdcd92d3 Followup ac38b21, more tests 2015-06-12 22:19:47 +10:00
Matthias Kuhn
ac38b21380 qgsDoubleToString: Don't remove trailing zeros when integer
+ added testcase

Fix 
2015-06-12 14:02:43 +02:00
Nyall Dawson
604f7e5011 Add methods to test whether graduated ranges overlap or have gaps 2015-06-12 20:19:43 +10: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
Denis Rouzaud
2b7d3d3c73 sort includes 2015-06-10 13:59:08 +02: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 )

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 )
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
f42f640d30 [rastercalc] Switch all internal calculations to doubles
...for more accurate calculations (fix )

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
Matthias Kuhn
476ee1d4ad Change test description (Minor change) 2015-06-05 14:25:21 +02:00
Nyall Dawson
f39fbf4ef6 Some (very minor) coverity fixes 2015-06-04 21:48:46 +10:00
Matthias Kuhn
10c7d6aa06 Add test for NULL bounding box of empty line 2015-06-04 12:42:34 +02:00
Matthias Kuhn
ed47ef9637 Exclude PyQgsAppStartup.testPluginPath for now
Since it fails for no obvious reason since 738838acd
2015-06-02 16:37:03 +02:00
Nyall Dawson
93fb0331bf Always output full results of documentation test, even if test passes 2015-06-02 19:59:36 +10:00
Nyall Dawson
fab1a355d5 Output list of undocument classes during doc coverage test 2015-06-02 12:52:26 +10:00
Nyall Dawson
51bd0b2bc5 Followup 2dc5d95, add unit tests 2015-05-31 07:58:05 +10:00
Matthias Kuhn
d0bd9a2474 Cleanup after shapefile tests 2015-05-28 14:53:03 +02:00
Matthias Kuhn
df4716b007 Run atlas test in temporary folder 2015-05-28 14:16:42 +02:00
Nyall Dawson
b3323f3216 Partially fix broken server labeling test 2015-05-28 22:04:17 +10:00
Matthias Kuhn
7d7cdcd376 Repack shapefiles when saving after deleting features
* QgsVectorDataProvider::dataChanged() will be emitted
 * QgsVectorLayer::dataChanged() will be emitted
 * Clears QgsVectorLayerCache
 * Reloads the attribute table
 * Clears the selection

Looking forward to people complaining about their lost selection...

Fix 
Fix 
Refs 
Refs 
Refs 
Refs 
Refs 
Refs 
Refs 
2015-05-28 12:34:40 +02:00
Matthias Kuhn
bb9d41374a Add tests for QgsAttributeTableModel 2015-05-27 22:28:23 +02:00
Matthias Kuhn
fb74722e99 Unify spatialite provider tests
And enable pyspatialite on travis
2015-05-27 17:38:50 +02:00
Nathan Woodrow
26e6725af6 Fix failing expression test 2015-05-27 23:17:11 +10:00
Matthias Kuhn
9a5e8d9ab8 Fix warning 2015-05-26 19:21:33 +02:00
Matthias Kuhn
5f0d1b4bf1 Fix warnings 2015-05-26 19:20:54 +02:00
Matthias Kuhn
050aa8d0f4 Fix warning 2015-05-26 19:09:16 +02:00
Matthias Kuhn
3a86771f20 Followup cec5bdeb : Add tests for expression compiler 2015-05-26 18:49:00 +02:00
Marco Hugentobler
13d67c09cc Fix and wkt formating for delimited text provider test 2015-05-26 15:22:45 +02:00
Matthias Kuhn
7af658f8f8 Coverity fixes 2015-05-26 11:44:40 +02:00
arnaud.morvan@camptocamp.com
f31abe4dfe Update QgsFields nameToIndex hash on field removed 2015-05-26 09:12:15 +02:00
Juergen E. Fischer
98c601d1ba fix typos 2015-05-25 20:12:02 +02:00
Juergen E. Fischer
8050697335 make postgres provider tests optional 2015-05-25 12:55:37 +02:00
Marco Hugentobler
68fe5f5791 [FEATURE:] New geometry classes 2015-05-25 08:53:49 +02:00
Juergen E. Fischer
cec5bdeb0d fix some warnings 2015-05-24 18:48:22 +02:00
Matthias Kuhn
32463d0c15 Postgres provider: test default values are correctly returned 2015-05-23 18:28:30 +02:00
Matthias Kuhn
40e2845d49 Add some comments to provider test suite 2015-05-23 16:53:12 +02:00
Matthias Kuhn
c1b520fbd8 Hide shared library symbols by default on GCC and Clang
* Decreases lib size, loading time and compile time
 * Forces people on linux to use the {LIB}_EXPORT defines and therefore will
   make Windows nightlies more reliable
2015-05-23 16:53:12 +02:00