1601 Commits

Author SHA1 Message Date
Nyall Dawson
baf38199e0 [FEATURE][diagrams] Add option to control pie diagram angular direction
I.e. control whether the sections are rendered in a clockwise or
anticlockwise direction

Sponsored by SLYR
2019-11-22 09:01:49 +10:00
Nyall Dawson
701ea057b1 Fix broken QMap<QVariantList,...> finding, which causes case-insensitive
comparisons to be made when resolving primary keys in the Oracle and
Postgres providers

qt's built in qMapLessThanKey for QVariantList is broken and does a
case-insensitive operation, so we replace it with a working version instead...
2019-11-22 04:09:50 +10:00
Matthias Kuhn
63956785dc
Merge pull request #30297 from roya0045/handler_v2
Bad Layer Handler Improvements
2019-11-21 11:51:53 +01:00
Nyall Dawson
49dcc2c253 [FEATURE] Add spacing option for vector layer bar chart diagrams
Allows for user-controlled spacing between each bar in the chart.

Sponsored by SLYR
2019-11-21 15:21:44 +10:00
Alex
91563b8b88 auto layer finder 2019-11-20 08:12:39 -05:00
Nyall Dawson
1ca926d72a [FEATURE][layouts] Add search box to layout manager
Allows filtering the list of layouts in a project by name, handy
when a project has many layouts
2019-11-20 17:38:28 +10:00
Nyall Dawson
214bbe9e36 Fix clazy fully-qualified-moc-types warnings 2019-11-20 10:08:13 +10:00
Nyall Dawson
fe32fdfe40 Add API to QgsFeatureSource to determine whether a spatial index
exists on the source (or not, or unknown presence)
2019-11-17 04:54:41 +10:00
Nyall Dawson
41fa4b19fd Fix rendering artifacts on the edges of resampled raster tiles
We now buffer the request for the input to a resample filter by
a variable number of pixels (depending on the resampling type)
in order to fetch the neighbouring pixels to the edges of individual
raster blocks. This allows the resampling to utilise these
neighbouring pixels when resampling the edges of tiles, avoiding
discrepancies and rendering artifacts over the borders of
raster tiles.

Fixes #30152
2019-11-15 13:48:38 +10:00
Matthias Kuhn
cbe6150348
Merge pull request #32770 from m-kuhn/dxf-symbol-fixes
Make the DXF renderer ready for background threading and fix symbology
2019-11-14 09:47:22 +01:00
Matthias Kuhn
ce50f11048 Dox and fixes 2019-11-11 09:30:38 +01:00
Nyall Dawson
06f36ddbe6 Cleanup duplicate code and add tests for graduated range resolving 2019-11-11 17:51:49 +10:00
Matthias Kuhn
6374f02e93 Decouple DXF rendering from the layers
This makes it possible to run dxf exports in a thread.
2019-11-11 08:44:41 +01:00
Matthias Kuhn
00efcbf91f QgsDxfExport should not be copied 2019-11-11 08:44:41 +01:00
Nyall Dawson
5eeba90341 Update sip, fix use of old style enum 2019-11-11 17:17:22 +10:00
Nyall Dawson
6b82917715 [processing] Refine behavior of "Use filename as layer name" option to
always avoid using temporary file names, and then set this option as
enabled by default.

Also change the setting key so that existing users will also get the new
default value.

Fixes #32591
2019-11-09 20:07:55 +10:00
Nyall Dawson
377848e2ad Add QgsMapLayer::isTemporary to test whether a map layer is temporary
These include memory layer provider layers, or layers physically
stored inside a user's temporary folder (e.g. /tmp)
2019-11-09 13:43:03 +10:00
Matthias Kuhn
e5df863302
Merge pull request #32629 from m-kuhn/dxf_hali_vali
[dxf] HAlign/VAlign support for TEXT
2019-11-07 16:37:06 +01:00
Hugo Mercier
845894b313
[FEATURE] Selective masking (#30747)
* [FEATURE] Selective masking

Advanced rendering feature that allows the definition of 'masks' areas around labels or with a new typ of symbol layer. These masks will "un-draw" symbol layers of other layers underneath.
It modifies the rendering process by adding an optional second pass.
2019-11-07 08:17:25 +01:00
signedav
c1f2d439cf
Merge pull request #32665 from m-kuhn/fix_qgsfield_private_header
Fix various private header
2019-11-06 15:40:48 +00:00
Juergen E. Fischer
5ee5e37a94 fix windows build including some warnings 2019-11-06 00:49:15 +01:00
Matthias Kuhn
cb804b23d5 More forward declare fixes 2019-11-05 22:40:14 +01:00
Matthias Kuhn
db838a3203 Fix qgsfield private header 2019-11-05 21:30:56 +01:00
Matthias Kuhn
924b4eda58 Fully qualify enum default parameters 2019-11-04 21:56:41 +01:00
Matthias Kuhn
0f5a4f7d2f [dxf] HAli/VAli support for TEXT 2019-11-04 16:47:48 +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