387 Commits

Author SHA1 Message Date
Alessandro Pasotti
a8dbb5395c Some minor changes
- QgsVectorLayer *
- make a const copy of a const container
- typo and comments
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
8d82ce86cc makeFeatureCompatible on a single input feature 2018-09-25 08:17:14 +02:00
Alessandro Pasotti
7e8592bca2 Const correctness (because it's not an API break) 2018-09-25 08:17:14 +02:00
Alessandro Pasotti
3157af2eaa Revert const on createFeature
just because it would be an API break
2018-09-25 08:17:14 +02:00
Alessandro Pasotti
930c3f8e45 Port makeFeaturesCompatible to C++
as: QgsVectorLayerUtils::makeFeaturesCompatible

With tests.
2018-09-25 08:17:14 +02:00
Nyall Dawson
af4a1df90d [browser] Correctly show drives inserted (or removed!) after QGIS launch
Fixes #14481, #9843
2018-09-25 13:22:01 +10:00
Nyall Dawson
eacf4adb30 Dox++ 2018-09-25 08:49:21 +10:00
Nyall Dawson
a8794001e0 Add method to match feature attributes to the given fields
Refs #18784
2018-09-25 08:49:21 +10:00
Nyall Dawson
81487f9f18 Proxy filterNeedsGeometry for inverted/displacement renderers 2018-09-25 05:21:35 +10:00
Nyall Dawson
b5867bff58 Fix legend count is 0 if graduated/categorized expression uses geometry
Likely fixes many other bugs too with graduated/categorized renderers

Fixes #15544
2018-09-25 05:21:35 +10:00
Peter Petrik
11645ac744 implement simple cache for rendering of mesh layer 2018-09-24 11:04:50 +02:00
Even Rouault
bb40385d33
Merge pull request #7977 from rouault/fix_ogrdataitems_layername
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885)
2018-09-22 00:43:27 +02:00
Nyall Dawson
8e1c437e02 Allow expression contexts to specify a list of highlighted functions
as well as just variable names

In some cases contexts may provide specific functions of use
to that context, or more generally there may be functions we want
to highlight for a particular expression builder (e.g. highlighting
to_dms in the grid annotation builder)
2018-09-22 05:26:29 +10:00
Even Rouault
ea2cc365db
[OGR provider] Make sure to use layername= syntax in URI of multilayer datasources (fixes #19885) 2018-09-21 15:32:19 +02:00
Nyall Dawson
4b24552097 Change QgsProcessingAlgorithm::supportInPlaceEdit to use QgsMapLayer, not QgsVectorLayer
Because at some stage in the future we may allow in-place edits to raster layers,
and we don't want to have to break API for this.
2018-09-21 18:15:46 +10:00
Matthias Kuhn
68dc6984da Fix build with sip pre 4.19 2018-09-21 01:22:19 +02:00
Matthias Kuhn
fde813ca82
Merge pull request #7948 from m-kuhn/final
It's the `final` countdown
2018-09-19 16:34:54 +02:00
Matthias Kuhn
1c359f8acd
Add a new QML category "Geometry Options"
And rename QgsGeometryFixes to QgsGeometryOptions
2018-09-19 13:51:00 +02:00
Matthias Kuhn
b65f725cfa
Rename SIP_FINAL to FINAL 2018-09-19 08:42:44 +02:00
Matthias Kuhn
8d9c96c911
Add final for sip >= 4.19 2018-09-19 07:47:02 +02:00
Nyall Dawson
17326541cd [processing] Add method to attempt to reattach model children to linked algorithms
Refs #19857
2018-09-19 05:04:09 +10:00
Matthias Kuhn
ddaa8ea4af
inline and virtual are no good friends 2018-09-18 18:53:48 +02:00
Matthias Kuhn
9f407d0b41
Make methods in QgsVectorLayer finally final 2018-09-18 18:04:50 +02:00
Nyall Dawson
335a696d87 Dox 2018-09-18 14:54:36 +10:00
Juergen E. Fischer
144dd158c5 fix d67958183 2018-09-17 09:32:18 +02:00
Juergen E. Fischer
d67958183e Initialize translations before application members (fixes #19853) 2018-09-17 02:34:36 +02:00
Denis Rouzaud
3724f9e9e2
use a model for select map layer style categories (#7907)
this avoids cluttering QgsMapLayer and reduces a bit code redundancy
2018-09-14 09:38:52 -08:00
Matthias Kuhn
b75f9f3b5b
Merge pull request #7801 from signedav/qml-widget
[FEATURE] QML chart and drawings widget
2018-09-14 11:35:26 +02:00
Blottiere Paul
2e91c29dff
Merge pull request #7814 from elemoine/ele_logging
Support QGIS Server logs to stderr
2018-09-14 11:14:08 +02:00
Alessandro Pasotti
0380c06003 Add prepareSource method 2018-09-14 18:23:03 +10:00
Alessandro Pasotti
4549ee5fff In-place moved check logic into QgsAlgorithm
+ new tests
+ fixed fixer function
+ drop z/m
2018-09-14 18:23:03 +10:00
Alessandro Pasotti
f35e37613b Expose processFeature to public API 2018-09-14 18:23:03 +10:00
Nyall Dawson
681d44f11f Messy mockup of feature 2018-09-14 18:23:03 +10:00
Éric Lemoine
9eaee8f1be Make QgsMessageLogConsole::logMessage virtual 2018-09-14 09:08:21 +02:00
Nyall Dawson
8f90791bef Mark some API as non-stable, hide from Python bindings 2018-09-14 16:36:11 +10:00
pierreloicq
e73f74063e sip, doc, bad keywords 2018-09-14 16:36:11 +10:00
pierreloicq
cb382ededd sipification problem and unit test attempt 2018-09-14 16:36:11 +10:00
pierreloicq
6443df6558 Nyall's comments 2018-09-14 16:36:11 +10:00
pierreloicq
40ae95315f sipification 2018-09-14 16:36:11 +10:00
pierreloicq
6fb41785c9 delete .sip 2018-09-14 16:36:11 +10:00
pierreloicq
4aabb09f28 generation of sip files in auto_generated/ 2018-09-14 16:36:11 +10:00
pierreloicq
fe049d372c classify symmetric squashed (17 commits) to rebase easily on master; 13 may 2018 2018-09-14 16:36:11 +10:00
Denis Rouzaud
05f35f2e19 [sipify] fix annotations in multiline virtual methods 2018-09-14 16:35:30 +10:00
Denis Rouzaud
4cdf0a2851 fixes: HIG guidelines, sipify, initialize, doxygen warnings
fix doxygen warning + docs

sipify

fix doxygen warning

initialize
2018-09-14 16:35:30 +10:00
Denis Rouzaud
97376b8217 single dialog to load style (QML, SLD, DB) 2018-09-14 16:35:30 +10:00
Denis Rouzaud
0cfa77db7f fix documentation 2018-09-14 16:35:30 +10:00
Denis Rouzaud
5e6c382328 single dialog to save all types (QML, SLD, DataBase) 2018-09-14 16:35:30 +10:00
Denis Rouzaud
cb9774022f create dialog for saving different styles 2018-09-14 16:35:30 +10:00
Denis Rouzaud
0df5b9e593 better API doc, own category for 3D, fix leak 2018-09-14 16:35:30 +10:00
Denis Rouzaud
e91a42def6 categories in paste style 2018-09-14 16:35:30 +10:00