43907 Commits

Author SHA1 Message Date
Nyall Dawson
b97c6a8d88 Use native file picker for spatialite export option also 2017-11-22 05:26:34 +10:00
Nyall Dawson
31086d3ac5 [processing] Move destination encoding option to separate menu action
...instead of embedding in output destination file selector. Otherwise
Qt downgrades the file picker to the Qt basic file picker, instead of
the native OS file picker. Which is a huge downgrade and barely
functional for users.

Also remember last selected file format
2017-11-21 21:24:18 +10:00
Nyall Dawson
f660d78017 Add a new dialog for selecting file encoding, QgsEncodingSelectionDialog
Can be used to prompt users for a file encoding choice
2017-11-21 20:38:07 +10:00
Alessandro Pasotti
e05cca2bed [bugfix][auth] 2to3 settings migrate authcfg for WMS/WFS
Fixes #17402 Authentication settings for WMS/WFS etc. are not migrated from 2 to 3
2017-11-21 09:24:02 +01:00
Matthias Kuhn
62713a5029
Merge pull request #5510 from m-kuhn/relationsearch
[FEATURE] Search widget for relations using aggregates
2017-11-21 09:11:26 +01:00
nirvn
153c83a3d4 Add @nirvn to AUTHORS, fix missing tab for Paul B. 2017-11-21 14:35:47 +07:00
Matthias Kuhn
81b475d21c Adjust version number 2017-11-21 08:32:53 +01:00
Matthias Kuhn
37b0d4c5b5 Add missing api documentation 2017-11-21 08:29:02 +01:00
nirvn
05d22bf1e7 @nirvn is a committer 2017-11-21 14:11:17 +07:00
Nyall Dawson
95cf299099 Followup c9b8ddc, add unit test 2017-11-21 08:58:54 +10:00
Matthias Kuhn
776ca7aafd Allow min/max aggregate search for double fields 2017-11-20 21:28:03 +01:00
Matthias Kuhn
c72739b037 Show group box for aggregate search 2017-11-20 21:22:15 +01:00
Matthias Kuhn
f0a84667b8 Hide search widget tool button for aggregate search 2017-11-20 21:20:50 +01:00
Matthias Kuhn
04101c3f43 Add dummy canvas to test 2017-11-20 20:31:39 +01:00
Matthias Kuhn
7b45e9df33 Add missing param to docstring 2017-11-20 20:31:39 +01:00
Matthias Kuhn
f8a8cb96b8 Fix failing tests 2017-11-20 20:31:39 +01:00
Matthias Kuhn
456cebae96 Remove unnneeded method 2017-11-20 20:31:39 +01:00
Matthias Kuhn
ddca8b6550 SipConvertToSubClass code for QgsSearchWidgetToolButton 2017-11-20 20:31:39 +01:00
Matthias Kuhn
bdc47a48d9 Add missing doxymentation 2017-11-20 20:31:39 +01:00
Matthias Kuhn
7fb3a4eb66 Avoid crash with invalid relation 2017-11-20 20:31:39 +01:00
Matthias Kuhn
f084fc0ac0 API documentation all over 2017-11-20 20:31:38 +01:00
Matthias Kuhn
3d2b69ebfa Qt 5.5 compatibility 2017-11-20 20:31:38 +01:00
Matthias Kuhn
fdd00870ee [FEATURE] Search widget for relations using aggregates
For each child relations, the subform is visible.

Each attribute of the children has a tool button option to define to which
aggregate the specified value should be compared. This allows for searching
things like

 * Each city where the highest building is more than 300 m
 * Each sensor where the median value is lower than 50 ppm
 * Each feature with a child with a missing value
 * ...
2017-11-20 20:31:38 +01:00
Matthias Kuhn
f5559b5143 Add QgsAttributeFormWidget 2017-11-20 20:31:38 +01:00
Matthias Kuhn
6d0f2afe4f Fix memory leaks by using sqlite3_close_v2 2017-11-20 19:57:27 +01:00
luzpaz
3eced50c6d Trivial typo fix
Your spellcheck missed it.
+ updated spelling.dat to catch it next time
2017-11-20 11:37:00 -04:00
Matthias Kuhn
283220351b
Merge pull request #5661 from DelazJ/patch-3
Ask confirmation before removing a map theme
2017-11-20 15:57:47 +01:00
Matthias Kuhn
06bae21d51
Merge pull request #5579 from DelazJ/logmessages
Clarify where and what Log Messages is
2017-11-20 15:54:29 +01:00
Harrissou Sant-anna
9481067f4d
Fix indentation 2017-11-20 12:07:12 +01:00
Nyall Dawson
c9b8ddce7f Fix crash in ogr provider when loading layers with subset strings 2017-11-20 21:06:16 +10:00
Nyall Dawson
89f6ca9f18 Fix memory leak 2017-11-20 21:06:16 +10:00
Harrissou Sant-anna
06017b9242
Fix message box logic 2017-11-20 10:24:23 +01:00
Alessandro Pasotti
4e16665b0e
Merge pull request #5674 from elpaso/bugfix-17489-virtual-layer-test-crash
[bugfix] virtual layer test crash
2017-11-20 09:43:01 +01:00
Alessandro Pasotti
b3e3bcd176 Modernize code (remove "on" from slots) 2017-11-20 09:02:11 +01:00
Alessandro Pasotti
4272f5d825 [bugfix] Do not crash when testing empty virtual layers
Fixes #17489

Require backporting
2017-11-20 08:55:08 +01:00
Matthias Kuhn
e9ce901adc
Merge pull request #5617 from signedav/longrelationids
Autogenerated relation names in dialog instead of ids
2017-11-20 07:34:42 +01:00
Matthias Kuhn
67b68a841d
Merge pull request #5578 from gacarrillor/iface_copy_paste_features
Expose through iface methods to copy/paste features between given layers
2017-11-20 07:24:41 +01:00
Matthias Kuhn
970a723655
Merge pull request #5666 from signedav/tooltiprelation
Tooltip of relationstrength in project properties
2017-11-20 07:22:19 +01:00
Matthias Kuhn
30ed315392
Merge pull request #5614 from signedav/constraintindicators
Constraint result not displayed in non editable mode
2017-11-20 07:13:39 +01:00
Nyall Dawson
eb2ef6a681
Merge pull request #5672 from nyalldawson/provider_fixes2
Add tests/fixes for some provider issues
2017-11-20 11:51:49 +11:00
Nyall Dawson
8243598ff0 Even more memory safety for ogr layers 2017-11-20 10:24:55 +10:00
Nyall Dawson
6db46f7325 [ogr] Safer layer memory management
Use unique_ptr with custom deleter to ensure that
QgsOgrProviderUtils::release is called
2017-11-20 10:13:47 +10:00
Nyall Dawson
163b2e20a8 [ogr] Fix incorrect feature counts after removing subset string, fix leak 2017-11-20 09:25:01 +10:00
Nyall Dawson
af5b2a750a Add some debugging asserts to ensure that layer renderers
are used in a thread safe way
2017-11-20 09:42:03 +11:00
Nyall Dawson
a0c6e05261 Spelling 2017-11-20 09:42:03 +11:00
Nyall Dawson
fe535c5f77 Play it safe and work with clones of symbol renderers
This fixes some definite crashes, e.g. saving a vector layer
with symbology, which is caused by accessing the same
layer renderer across different threads.

But I've also swapped a lot of non-threaded code to use
clones of the renderers for extra safety.
2017-11-20 09:42:03 +11:00
Nyall Dawson
d13eaa6a3b Improve documentation 2017-11-20 09:42:03 +11:00
Nyall Dawson
3405bc1598 Fix broken export of DXF labels 2017-11-20 08:29:17 +11:00
Nyall Dawson
4143ab6e64 Fix DXF export issue when an empty layer is selected 2017-11-20 08:29:17 +11:00
Nyall Dawson
8cf9f8fb6f Fix combining extent of valid rectangle with invalid rectangle results
in invalid rectangle
2017-11-20 08:29:17 +11:00