Blottiere Paul
4be1cc0067
Add tests for deleteCascade option
2017-08-28 14:09:56 +01:00
Blottiere Paul
293f0f41ba
Implements deleteCascade option
2017-08-28 14:09:56 +01:00
Blottiere Paul
f92c23fdfb
Small cleanup
2017-08-28 14:09:56 +01:00
Blottiere Paul
cf5ab4b0f1
Add tests for upsertOnEdit option
2017-08-28 14:09:55 +01:00
Blottiere Paul
c347055d82
Update sip binding
2017-08-28 14:09:55 +01:00
Blottiere Paul
1c402ef421
Implements upsertOnEdit option
2017-08-28 14:09:55 +01:00
Blottiere Paul
db11248b1d
Fix column name in join configuration
2017-08-28 14:09:55 +01:00
Blottiere Paul
b8a90ca458
Add tests
2017-08-28 14:09:55 +01:00
Blottiere Paul
477775a5d7
[FEATURE] Joined fields are editable if the option is activated
2017-08-28 14:09:55 +01:00
Blottiere Paul
e92f59ca06
Update sip binding
2017-08-28 14:09:55 +01:00
Blottiere Paul
1897bec2a8
[needs-doc] Add editable/upsert on edit/delete cascade options
2017-08-28 14:09:55 +01:00
Sandro Santilli
55a01dcb17
Simplify linearizeArc code dropping useless conditionals
2017-08-28 10:45:18 +02:00
Mathieu Pellerin
14388479e3
Merge pull request #5070 from nirvn/open_raster_imp
...
Open raster layer UI improvements
2017-08-28 10:01:03 +07:00
nirvn
095bcae01d
use a QgsFileWidget in open vector layer UI
2017-08-28 10:00:06 +07:00
nirvn
35765326aa
harmonize open raster and open vector UIs
2017-08-28 09:42:19 +07:00
nirvn
0dfdb6f3f4
fix open raster not focusing on raster data source manager tab
2017-08-28 09:42:19 +07:00
Nyall Dawson
d476abf5a7
Merge pull request #5054 from nyalldawson/canvas_select
...
Ensure canvas has focus if nothing else has
2017-08-27 15:23:01 +10:00
Clément MARCEL
37052db39a
Fix crash when closing a project with layers in edition ( fixes #16771 )
...
Delete layers from project & not through layers tree, avoiding
double deletion of layers.
2017-08-27 15:22:13 +10:00
Nyall Dawson
5e945461fe
Merge pull request #5074 from nyalldawson/cleanup
...
Remove some redundant and unused MathUtils methods
2017-08-26 14:03:01 +10:00
Sandro Santilli
650cf6a3fd
Remove line segmentation test checking for control point containement
...
There are more tests in dedicated file (testqgscurve.cpp)
2017-08-25 23:06:52 +02:00
Sandro Santilli
5186c385c4
Expect centroid obtained by not forcing inclusion of control point
2017-08-25 23:06:52 +02:00
Sandro Santilli
c51db212ee
Do not expect forced control point in output
2017-08-25 23:06:52 +02:00
Sandro Santilli
8c8426fc6a
Do not force inclusion of control point
...
This reverts commit dae9d025293c217628def8eb8d196238d2218ddc.
2017-08-25 23:06:52 +02:00
Sandro Santilli
8363d2f3d0
Update expected centroid, interpolated angle and located point for reference curves
...
These values change because they are computed on the *linearization*
of those curves, and refactoring linearization codes results in
slighly different values.
NOTE: adding or not adding the control point would also affect these
results
2017-08-25 23:06:52 +02:00
Sandro Santilli
cf5a439feb
Update expected results now that we're forcing control point in output
2017-08-25 23:06:52 +02:00
Sandro Santilli
d3558a19aa
Remove test off-variable
2017-08-25 23:06:52 +02:00
Sandro Santilli
320c305d92
Fix build and multi-arc duplicated points
2017-08-25 23:06:52 +02:00
Sandro Santilli
48c953991e
Refactor curveToLine to emit equidistant segments and fix some issues
...
Fixes #16717
Fixes #16722
Include tests
2017-08-25 23:06:52 +02:00
Nyall Dawson
43200ea8e9
Remove some redundant and unused MathUtils methods
2017-08-26 04:19:26 +10:00
Nyall Dawson
07a570fd05
Merge pull request #5069 from nyalldawson/std
...
Swap use of some q* macros to std calls
2017-08-26 03:58:40 +10:00
nirvn
c64bc974b5
[processing] one more z factor minimum value adjustment
2017-08-25 17:43:54 +07:00
nirvn
922ded8d76
[processing] fix z factor minimum value in various raster algorithms
2017-08-25 17:15:31 +07:00
nirvn
05071434e3
[analysis] fix derivative filter z factor handling
2017-08-25 17:15:26 +07:00
Nyall Dawson
2d192791c2
qMin/qMax -> std::min/max
2017-08-25 16:37:54 +10:00
Nyall Dawson
641d78bb4c
Add new raster hash for hillshade test (verified ok)
2017-08-25 16:21:42 +10:00
Nyall Dawson
d573c43e3e
Better test debugging
2017-08-25 15:58:57 +10:00
Nyall Dawson
233f25abd9
Merge pull request #5061 from nouanda/fix16887
...
Fix #16887 : creating a memory scratch layer with Z/M values does not add Z/M to the layer
2017-08-25 13:27:03 +10:00
Nyall Dawson
578045d1d5
Update sip bindings
2017-08-25 06:29:04 +10:00
Nyall Dawson
0fbca6fe0a
Fix build
2017-08-25 06:28:07 +10:00
Matthias Kuhn
65455c4b9e
Allow creation of Z/M gpkg layers ( #5060 )
...
Fix #16888 : create gpkg layer does not allow to add Z/M dimension
2017-08-24 21:51:48 +02:00
Nyall Dawson
eaf861c258
Replace some more c headers with c++ headers
2017-08-25 05:09:29 +10:00
Nyall Dawson
76a22726fd
Always use " for qgs header imports
2017-08-25 04:46:16 +10:00
Nyall Dawson
34003259b7
Replace use of math.h with cmath
2017-08-25 04:15:36 +10:00
Nyall Dawson
c19418c447
Add more missing std:: prefixes
2017-08-25 04:13:38 +10:00
Nyall Dawson
891d612e95
Remove unused qmath.h includes
2017-08-25 03:42:03 +10:00
Nyall Dawson
d3854e9e5a
Remove use of some other q* functions which are implemented in std
2017-08-25 03:33:50 +10:00
Nyall Dawson
ad89193b05
qFuzzyIsNull -> qgsDoubleNear
2017-08-25 03:24:11 +10:00
Nyall Dawson
b5ca4b4ea8
(q)sqrt -> std::sqrt
2017-08-25 03:22:15 +10:00
Nyall Dawson
fec03ca423
(q)sin -> std::sin
2017-08-25 03:18:05 +10:00
Nyall Dawson
8c64d80a07
(q)floor -> std::floor
2017-08-25 03:12:36 +10:00