1427 Commits

Author SHA1 Message Date
Juergen E. Fischer
5ee5e37a94 fix windows build including some warnings 2019-11-06 00:49:15 +01:00
Alessandro Pasotti
696c4075da
Merge pull request #32487 from elpaso/value-relation-restore
[feature] Value relation restore missing layers from DBs
2019-11-04 12:03:40 +01:00
Alessandro Pasotti
144f6a8d09
Merge pull request #32553 from elpaso/uniform-field-display-alias
field displayNameWithAlias
2019-11-04 09:05:53 +01:00
Matthias Kuhn
31e74e1342
Merge pull request #32602 from m-kuhn/automoc
Widespread use of AUTOMOC
2019-11-04 07:42:42 +01:00
Matthias Kuhn
1f3b039fe2
Merge pull request #32552 from m-kuhn/q_global_static
non POD static
2019-11-03 23:11:51 +01:00
Matthias Kuhn
260196f031 Fix building core and pycore 2019-11-03 22:22:58 +01:00
Matthias Kuhn
b08a7d711c Fix sip file for sip and automoc 2019-11-03 21:20:08 +01:00
Matthias Kuhn
4294dda083 Resipify 2019-11-03 21:05:34 +01:00
Matthias Kuhn
c154b2f31e invokable return types need to be fully-qualified
Idenfied by clazy
2019-11-03 21:26:54 +10:00
Alessandro Pasotti
3aa927cc63 sipify 2019-11-03 10:04:07 +01:00
Matthias Kuhn
c796b2d592 Workaround sip issues 2019-11-02 19:47:09 +01:00
Matthias Kuhn
5c439ab693 More efficient loops 2019-11-02 16:05:28 +01:00
Matthias Kuhn
d99d829ef2 Dox 2019-11-02 15:12:23 +01:00
Matthias Kuhn
f07bc52fa8 Many followup fixes 2019-11-02 15:02:00 +01:00
Matthias Kuhn
d26375abba Fix this and that 2019-11-02 15:01:59 +01:00
Matthias Kuhn
208ea9b033 More Q_GLOBAL_STATIC
Because it's pure fun
2019-11-02 15:01:59 +01:00
Matthias Kuhn
8797798ba6 Improve docs 2019-11-02 15:01:59 +01:00
Matthias Kuhn
a50287514b Q_GLOBAL_STATIC for QgsDataProvider 2019-11-02 15:01:59 +01:00
Matthias Kuhn
65fe231ee9 Q_GLOBAL_STATIC for expressions 2019-11-02 15:01:59 +01:00
Matthias Kuhn
e585a28782 Q_GLOBAL_STATIC for QgsEllipsoidUtils 2019-11-02 15:01:59 +01:00
Matthias Kuhn
179fcf3347 Use Q_GLOBAL_STATIC 2019-11-02 15:01:59 +01:00
Matthias Kuhn
213df8df23
Merge pull request #32315 from roya0045/optional_fids
[API/feature?] make fids caching optional
2019-11-01 16:00:17 +01:00
Alessandro Pasotti
0445c7088f
Update python/core/auto_generated/qgsfield.sip.in
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-11-01 08:59:24 +01:00
Alessandro Pasotti
cdf523e33d
Update python/core/auto_generated/qgsfield.sip.in
Co-Authored-By: Nyall Dawson <nyall.dawson@gmail.com>
2019-11-01 08:59:17 +01:00
Nyall Dawson
5e84033193 Sipify 2019-11-01 14:03:01 +10:00
Alessandro Pasotti
faeaab1a57 Sipify 2019-10-31 17:33:49 +01:00
Alessandro Pasotti
f20660c0dd field displayNameWithAlias
This adds another method to display field names with alias, this is to be used when
working close to the data structure (sql builder, expressions etc.) when the information
in the alias is sometimes fundamental to indentify what the field contains.

displayNameWithAlias is now used (insted of field name) in:

    expressions dialog
    query builder

The format is:

alias (field_name)
and, in case there is no alias:
field_name
2019-10-31 17:30:02 +01:00
Matthias Kuhn
9a9ab392f2
Merge pull request #32524 from m-kuhn/dxfEmptyExtentError
[dxf export] Bail out if extent could not be determined
2019-10-31 15:34:44 +01:00
Blottiere Paul
0a2b92ab22 Update sip 2019-10-31 14:15:14 +01:00
Blottiere Paul
e3371fd9be Update sip 2019-10-31 14:15:14 +01:00
Alex
54c175b55f optional fids counting 2019-10-31 08:36:34 -04:00
Hugo Mercier
e86c2afb4e
Merge pull request #31648 from troopa81/fix_snaptocurrentlayer
Parallelize snap caching
2019-10-31 09:31:20 +01:00
MUrban
3f33701da1 [feature] [mesh] fix #29326 Adding SIP_SKIP for datasetPlaybackInterval 2019-10-31 09:09:47 +01:00
MUrban
32cfedd074 [feature] [mesh] fix #29326 Adding playback function for mesh datasets 2019-10-31 09:09:47 +01:00
Nyall Dawson
994f45470a Dox++ 2019-10-31 14:59:39 +10:00
Nyall Dawson
f602ed3751 Add API to allow setting the default view extent for a new project
Allows a QgsProject created using QGIS api only (i.e., not via the desktop
application) to specify the default extent which should be visible when
that project is opened.

Straight from the dox:

Sets the default view extent, which should be used as the initial map extent
when this project is opened.

\warning When a project is opened in the QGIS desktop application and saved, individual
map canvases will store their own previous view extent as custom project properties. Reloading
this saved version of the project will trigger the canvases to restore their individual last view
extents. Accordingly, in the QGIS desktop application, this setting only forms a default, initial
view used when the project is opened for the very first time.
2019-10-31 14:59:39 +10:00
Nyall Dawson
65490ab13e Move QgsProject map scales settings to a new class, QgsProjectViewSettings
attached to QgsProject

And deprecate old getters/setters

The goal here is to create a place for project view related settings (e.g.
map scales, default extent, possibly future things like a fixed project
maximum area of interest, etc). Currently these are all handled in an
ad-hoc way, e.g. sometimes in project custom keys, sometimes inside
xml saved and restored by map canvases. But both these approaches break
important use case for plugins, e.g. creating a project from scratch
which will zoom to a desired extent on load. That's totally impossible
in the current API, unless you resort to extremely fragile manual
xml crafting...
2019-10-31 14:59:39 +10:00
Nyall Dawson
8c8d76387c Doxy 2019-10-31 12:19:59 +10:00
Nyall Dawson
13e9dd727f Deprecate old QgsRasterResampler interface, and add a new interface
which doesn't require pre-allocation of a temporary QImage

The existing interface is very inefficient for the bilinear resampler,
because it requires allocation of a temporary QImage just to pass
the desired height and width to the resampler...
2019-10-31 12:19:59 +10:00
Matthias Kuhn
312c869268 Use class enum 2019-10-30 16:23:36 +01:00
Matthias Kuhn
473473d8c3 [dxf export] Bail out if extent could not be determined
E.g. because no layers are given
2019-10-30 16:04:07 +01:00
Alessandro Pasotti
73beaca45a Address PR comments 2019-10-30 14:41:34 +01:00
Alessandro Pasotti
64949dc227 Check vector layer widget broken dependencies 2019-10-30 14:41:34 +01:00
Alessandro Pasotti
07bb6b77e1 Server OAPIF datetime filter support
with full test coverage for single values and ranges,
supports time, datetime and string fields.
2019-10-30 11:53:14 +01:00
Alessandro Pasotti
6112da45f6 Server OAPIF datetime support 2019-10-30 11:53:13 +01:00
Julien Cabieces
d246d9f593 Don't call processEvents and clear added/deleted list 2019-10-30 10:46:26 +01:00
Julien Cabieces
f03da03d33 fix doc 2019-10-30 09:32:28 +01:00
Julien Cabieces
0bf527f54d Replace snapToMapRelaxed with a boolean 2019-10-30 09:32:28 +01:00
Matthias Kuhn
f96e1922ca [FEATURE] Parallelize snap index build 2019-10-30 09:32:28 +01:00
nirvn
b2e7121493 [FEATURE][symbology] Add density-based point count for the random marker fill 2019-10-30 12:04:13 +07:00