1329 Commits

Author SHA1 Message Date
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 #10560
Fix #11989
Refs #8317
Refs #8822
Refs #10483
Refs #11007
Refs #7540
Refs #11398
Refs #11296
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
Alexander Bruy
803a0b9375 show correct coordinates in status bar when projected CRS used and
canvas units set to degrees (fix #12395)

Tests for latitude wrapping included
2015-05-23 05:07:51 +10:00
Matthias Kuhn
afc3996f6c Add shapefile provider tests
+ Fix OGR provider so it does not return features without geometry when
filtering with a FilterRect
2015-05-22 21:03:47 +02:00
Nyall Dawson
1078daf712 Add option to get null count from QgsVectorLayer::getDoubleValues 2015-05-23 04:35:11 +10:00
Matthias Kuhn
e2ff8edc79 Make python NULL hashable 2015-05-22 19:53:03 +02:00
Matthias Kuhn
2fe3f55775 Provider testing
* Test more operations
 * Include spatialite tests
2015-05-22 19:39:24 +02:00
Matthias Kuhn
97de55d117 Add new postgres provider test 2015-05-22 11:57:16 +02:00
Matthias Kuhn
8571ae7eab Convert tests/README to markdown and add more information 2015-05-22 11:57:16 +02:00
Matthias Kuhn
ec9e1464c1 Provider test 2015-05-22 11:57:16 +02:00
Matthias Kuhn
a2ae8b4e38 Add unit tests for postgres provider
basically to get a framework to test the expression compiler
2015-05-22 11:57:16 +02:00
Hugo Mercier
d9f54c42fc Merge pull request #1970 from mhugo/fix_spatialite
[spatialite] Allows to use a query as a table without primary key. It will auto increments an internal counter as feature id in this case.
2015-05-21 15:19:10 +02:00
Tobias Reber
fca8c5e082 Hej fra Noedebo 2015-05-21 10:30:00 +02:00
Nyall Dawson
7f3180926d Followup c6f9b07, add unit test 2015-05-21 18:27:39 +10:00
Nyall Dawson
9076ff8d71 Fix some deprecated warnings 2015-05-21 00:56:03 +10:00
Nyall Dawson
d393d268e1 Fix up non-const getters for attributes and geometry in QgsFeature
(preparation for implicit sharing)
2015-05-20 21:46:15 +10:00
Matthias Kuhn
a58a2f28d7 Add unit test for edit widget "TextEdit"
QGIS Dev conference Denmark
2015-05-20 11:53:34 +02:00
Nyall Dawson
a495c8c2ab Test suite for QgsFeature (preparation for implicit sharing of
QgsFeature)
2015-05-20 16:59:55 +10:00
Nyall Dawson
4b4075b5b9 [labeling] Fix setting a wrap character conflicts with newlines
in label text (fix #12750)
2015-05-19 06:18:07 +10:00
Nyall Dawson
0b326069bd Bump acceptable doc coverage 2015-05-19 04:11:05 +10:00
Nyall Dawson
17962ef47b Add QgsHistogram class for calculating numeric histograms from a
list of values or a vector layer's attribute.
2015-05-19 02:21:15 +10:00
Radim Blazek
7091d3bef8 [GRASS][FEATURE] vector import via browser drag and drop 2015-05-18 16:53:11 +02:00
Nyall Dawson
02774210eb Add selected features only mode to QgsVectorLayer::getValues
and getDoubleValues
2015-05-17 23:28:59 +10:00
Juergen E. Fischer
173ee45405 fix windows build 2015-05-16 21:35:00 +02:00
Radim Blazek
06167d4f78 [GRASS][FEATURE] raster import via browser drag and drop 2015-05-16 13:48:43 +02:00
Nyall Dawson
5194ce5288 More QgsFields tests 2015-05-14 20:02:48 +10:00
Nyall Dawson
d955b03924 Boost test coverage of QgsField / QgsFields 2015-05-13 22:03:08 +10:00
Nyall Dawson
2863f20d67 Add a const geometry getter to QgsFeature 2015-05-11 19:46:32 +10:00
Nyall Dawson
e371219d87 Fix incorrect calculation of max in QgsStatisticalSummary 2015-05-10 18:26:59 +10:00
Nyall Dawson
14fd976f06 Implicit sharing for QgsDataDefined 2015-05-08 16:25:39 +10:00
Nyall Dawson
ad7fad513d Fix referenced columns from QgsDataDefined so that columns are
returned even if expression was not sucessfully parsed (column
names are still inferred during the expression preparation).
2015-05-06 18:35:59 +10:00