43914 Commits

Author SHA1 Message Date
Salvatore Larosa
ea7c2af74b [dbmanager] fixes #17476: QGIS master: update SQL layer error if name contains uppercase chars 2017-11-21 14:42:30 +01:00
Alessandro Pasotti
b2c6464e58
Merge pull request #5679 from elpaso/bugfix-16935-gpkg-split-features
[bugfix] Editing a GPKG layer added by d&d leads
2017-11-21 14:00:45 +01:00
Nyall Dawson
a29fad4408
Merge pull request #5684 from Gustry/provider_metadata
rename metadata() to htmlMetadata() in QgsRasterDataProvider
2017-11-21 23:01:26 +11:00
Mathieu Pellerin
4bc4494e12
[ui] split Z/M values checkbox in new memory layer dialog (#5685) 2017-11-21 17:52:16 +07:00
Etienne Trimaille
373471214f rename metadata() to htmlMetadata() in QgsRasterDataProvider 2017-11-21 11:38:50 +01:00
Mathieu Pellerin
0b3f86d059
[ui] improve new geopackage layer dialog (#5682)
- move a number of options under a collapsible group
- rework wording for Z dimension and M values
- disable z and m checkboxes when geometry type is non spatial
2017-11-21 17:17:15 +07: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
Alessandro Pasotti
a12939d380 [ogr] Implement skipConstraintsCheck for fid
With test.
2017-11-21 09:03:24 +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
Alessandro Pasotti
53dd5ef52a [ogr] Pass default value (-1) for fid columns 2017-11-20 20:56:38 +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
Alessandro Pasotti
f97b5a54d0 Fix test for primary key constraints 2017-11-20 18:30:49 +01:00
Alessandro Pasotti
73d6765e89 [bugfix] Editing a GPKG layer added by d&d leads
... to error and data corruption

Fixes #16935 for GPKG (OGR), still  needs to check spatialite

Thanks to Matthias Kuhn for pointing me into the right direction
2017-11-20 17:04:17 +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