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
Matthias Kuhn
8f1021c5b8
Disable WMS server test
2017-11-19 21:15:59 +01:00
Nyall Dawson
6c4a8a246e
Update WFS tests
2017-11-19 17:19:04 +10:00
Nyall Dawson
6508a5d36a
Modernise code
2017-11-19 16:42:04 +10:00
Nyall Dawson
7cd8e38c47
Fix unnecessarily fussy close() for QgsMsSqlFeatureIterator
2017-11-19 16:28:49 +10:00
Nyall Dawson
6f3ebdee3c
Safer iterator closing, by always calling ::close() instead of
...
directly manipulating mClosed
Fixes a crash in the memory data provider (also likely fixes
issues in other providers)
2017-11-19 16:27:46 +10:00
Nyall Dawson
d6eb8eccdd
Add a bit of tolerance to WFS provider test
...
Was failing on Fedora 27
2017-11-19 16:20:02 +10:00
Nyall Dawson
705416c489
More consistent exception throwing in QgsCoordinateTransform::transformBoundingBox
...
Depending on the os and proj versions, we weren't always getting an
exception when a bad bounding box transform was made. So now we
explicitly check the result, and if everything was invalid
then we also throw an exception.
This makes the behavior consistent across different platforms,
and fixes running the provider tests on non Travis platforms
(highly likely also fixes various issues encountered while running
QGIS)
2017-11-19 16:17:30 +10:00
Nyall Dawson
957cf652aa
Add some more provider tests for feature count when subset string is added/removed
2017-11-19 08:59:12 +10:00
Nyall Dawson
e9e7efc6d3
Fix incorrect extents returned by memory provider when subset string set
2017-11-19 08:58:46 +10:00
Nyall Dawson
1cfd6ee829
Add provider test to ensure that extent is correctly calculated
...
for layers with 1 point and also no features
The first scenario should return an 'empty' rectangle with x/y
min/max matching just the single point's coordinate, the
second scenario must return a null rectangle (not an empty 0,0
rectangle!)
2017-11-19 08:56:48 +10:00
Harrissou Sant-anna
dd378a58c2
Tweak some dialog titles
2017-11-18 18:52:45 +01:00