4555 Commits

Author SHA1 Message Date
Alessandro Pasotti
32dee4480c Merge pull request #5156 from boundlessgeo/gpkg_tab
[feature][needs-docs] Gpkg tab in source select dialog
2017-09-11 08:15:55 +02:00
Nyall Dawson
a650681061 Merge pull request #5131 from nyalldawson/location_algs
Rework Select by Location algorithm
2017-09-11 15:50:43 +10:00
Nyall Dawson
7f5bd00cbf Merge pull request #5154 from nyalldawson/stats
[processing] Improve Stats by Categories algorithm, remove duplicate algs
2017-09-11 15:50:16 +10:00
Nyall Dawson
02e8f1e6fa Fix tests 2017-09-10 14:07:52 +10:00
Nyall Dawson
cea7eb8be5 Merge pull request #5119 from nyalldawson/layout_next3
[layouts] Undo/redo framework
2017-09-10 11:38:59 +10:00
Martin Dobias
31b6b5885f Node tool: give priority to the current layer when selecting vertex 2017-09-08 15:12:50 +02:00
Alessandro Pasotti
8abf6dc43e Update tests for OGR getLayers now returning also the geometry column name 2017-09-08 12:36:42 +02:00
Nyall Dawson
f799d3afc8 Move allFeatureIds from QgsVectorLayer to QgsFeatureSource 2017-09-08 20:09:29 +10:00
Alessandro Pasotti
f0e021c2fd Merge pull request #5000 from jgrocha/add-default-layers
[FEATURE][needs-docs] Add XYZ connection to provide default OpenStreetMap tiles
2017-09-08 10:40:45 +02:00
lbartoletti
629f46d308 add overload methods 2017-09-08 08:06:21 +02:00
lbartoletti
6ae929e9cb initial commit 2017-09-08 08:06:21 +02:00
Nyall Dawson
2612c39578 [processing] A non optional, multiple field input must have at least
one selected field to be considered valid
2017-09-08 09:10:17 +10:00
lbartoletti
e57c3b3974 Merge branch 'master' into regularShape_gui 2017-09-06 21:55:33 +02:00
Blottiere Paul
76b2b8eed3 Add some tests 2017-09-06 15:22:39 +01:00
Blottiere Paul
7ef2e7046e Some cleanup and renaming 2017-09-06 14:46:37 +01:00
Blottiere Paul
4a084bf961 Add tests 2017-09-06 14:46:37 +01:00
Blottiere Paul
3b839ceb43 Merge pull request #5084 from pblottiere/server_bugfix_ogc_mode
[server][bugfix] Fixes OGC test on getmap:each-format mode for 1bit/8bit/16bit
2017-09-06 08:14:34 +01:00
Blottiere Paul
eb9e2ace75 Add some tests 2017-09-06 07:28:39 +01:00
Nyall Dawson
f1313af914 Add some more unit tests 2017-09-06 11:25:17 +10:00
Nyall Dawson
1e1ed8a462 Add unit tests for referenced geometries 2017-09-06 11:25:16 +10:00
Alessandro Pasotti
5f5be25357 Merge pull request #5124 from boundlessgeo/providers_gui_config
Providers gui config
2017-09-05 19:27:47 +02:00
Alessandro Pasotti
08588a54da Add tooltips and tests for the provider class 2017-09-05 17:03:20 +02:00
Matthias Kuhn
8efa9fa815 [FEATURE] Add "starts with" and "ends with" to multi attribute search 2017-09-05 14:15:38 +02:00
Nyall Dawson
64718766fc Add some layout undo/redo tests 2017-09-05 11:17:33 +10:00
Nyall Dawson
0062513bba Identation 2017-09-05 10:23:28 +10:00
Nyall Dawson
1589b4e648 Implement some saving/restoring layout items to XML 2017-09-05 09:39:22 +10:00
Nyall Dawson
66e1cf04e6 Port methods to retrieve layout items 2017-09-05 09:39:22 +10:00
Sandro Mani
c43cd995a2 Merge pull request #5122 from manisandro/ogr_subset_fid
[OGR] Attempt to use actual ogr_fid also if subset string is set
2017-09-04 17:01:28 +02:00
Sandro Mani
217e70067f [OGR] Attempt to use actual ogr_fid also if subset string is set
If a subset string is set on an OGR layer, the feature iterator returns features with ids taken from a sequence starting from 0, regardless of the original feature id.

This causes a mismatch in the data shown by the identify results table and the attribute widget.
2017-09-04 16:28:47 +02:00
Alessandro Pasotti
fd7bcb368d Updates tests for source select registry 2017-09-04 15:16:20 +02:00
Jorge Gustavo Rocha
858413e5c1 Improve test: assert → assertTrue 2017-09-04 10:51:05 +01:00
Nyall Dawson
b629fbca49 Skip another test which is fragile on Travis 2017-09-04 16:55:35 +10:00
Alessandro Pasotti
90f873086c Attach QgsSourceSelectProviderRegistry to QgsGui
And make it a singleton
2017-09-04 08:00:14 +02:00
Nyall Dawson
700f9b2ef8 Condense qgstestutils.h and qgstest.h into a single file 2017-09-04 10:38:18 +10:00
Nyall Dawson
2286710606 Skip some task manager tests on Travis only
Instead of #ifdefing them out, only prevent them running
on Travis so that they still run locally.

Also skip another task manager test which randomly
fails only on Travis
2017-09-04 10:32:08 +10:00
Nyall Dawson
26830949d9 Add a QgsLocatorModel subclass which automatically sets up
required connections to a QgsLocator

Use this QgsLocatorModel subclass when you want the connections
between a QgsLocator and the model to be automatically created
for you. If more flexibility in model behavior is required,
use the base QgsLocatorModel class instead and setup the
connections manually.
2017-09-03 16:35:51 +10:00
Nyall Dawson
a8e1d335bb Move locator non-gui classes to core
Allows reuse in projects which don't build QGIS gui, e.g.
QField
2017-09-03 16:15:20 +10:00
Jorge Gustavo Rocha
e681547c1f remove unnecessary test 2017-09-03 00:44:25 +01:00
Jorge Gustavo Rocha
aa4213f715 remove unwanted files 2017-09-03 00:15:09 +01:00
Jorge Gustavo Rocha
a82dd5bbf3 Merge remote-tracking branch 'origin/add-default-layers' into add-default-layers 2017-09-02 23:43:39 +01:00
Jorge Gustavo Rocha
dc50a3e644 settings.globalChildGroups() test moved to test_qgssettings.py 2017-09-02 23:43:17 +01:00
Jorge Gustavo Rocha
390a34f5ec settings.globalChildGroups() test moved to test_qgssettings.py 2017-09-02 23:24:38 +01:00
lbartoletti
e30f7044c9 [FEATURE][Processing] Minimal enclosing circle 2017-09-03 07:37:53 +10:00
Alessandro Pasotti
4c46f64647 Add QgsSourceSelectProviderRegistry with tests 2017-09-01 17:47:55 +02:00
Alessandro Pasotti
cd1c9b1e28 Add class QgsSourceSelectProvider and tests
This is the first step for QEP 101
2017-09-01 14:30:34 +02:00
Jorge Gustavo Rocha
7af72f78d0 Improve test: assert → assertTrue 2017-09-01 09:34:27 +01:00
Jorge Gustavo Rocha
ce01bc0b36 Include settings.globalChildGroups in test
Fix container iteration
2017-09-01 09:20:49 +01:00
Nyall Dawson
e68835f12e Fix some possible leaks in tests 2017-09-01 08:00:59 +10:00
Nyall Dawson
0a9e9944b4 [FEATURE] Expression function for hausdorff distance
Allows calculation of the Hausdorff distance between two
geometries
2017-08-31 08:02:44 +10:00
Nyall Dawson
d8607222e0 Expose GEOS Hausdorff distance calculations to QgsGeometry 2017-08-31 08:02:44 +10:00