Matthias Kuhn
ab18dd3c18
constexpr instead of static
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
3e10767f63
Move private header to standard naming scheme
2019-11-02 15:01:59 +01:00
Matthias Kuhn
5e73b9a56b
Remove obsolete file
2019-11-02 15:01:59 +01:00
Matthias Kuhn
8797798ba6
Improve docs
2019-11-02 15:01:59 +01:00
Matthias Kuhn
b6282440a4
Improve code
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
2b20c61eaf
Less global statics in expressions
2019-11-02 15:01:59 +01:00
Matthias Kuhn
ad22e6386a
Less global statics in expressions
2019-11-02 15:01:59 +01:00
Matthias Kuhn
ce8f25a806
Q_GLOBAL_STATIC for QgsCustomization
2019-11-02 15:01:59 +01:00
Matthias Kuhn
5c9416b2f5
Q_GLOBAL_STATIC for QgsPathResolver
2019-11-02 15:01:59 +01:00
Matthias Kuhn
e693c43544
Q_GLOBAL_STATIC for QgsCoordinateReferenceSystem
2019-11-02 15:01:59 +01:00
Matthias Kuhn
327cea99e8
More Q_GLOBAL_STATIC for QgsExpression
2019-11-02 15:01:59 +01:00
Matthias Kuhn
ebf56e95f3
Fix QgsApplication
2019-11-02 15:01:59 +01:00
Matthias Kuhn
5fe67a075d
And even more Q_GLOBAL_STATIC for the friends over at pal
2019-11-02 15:01:59 +01:00
Matthias Kuhn
fadfdfc55a
A bit of Q_GLOBAL_STATIC for the ogr provider too
2019-11-02 15:01:59 +01:00
Matthias Kuhn
9847c3c0bc
Q_GLOBAL_STATIC for QgsLayoutDesignerDialog
2019-11-02 15:01:59 +01:00
Matthias Kuhn
179ef42bc4
Q_GLOBAL_STATIC for statistical summary dock widget
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
bf32f3264a
Remove unused global static
2019-11-02 15:01:59 +01:00
Matthias Kuhn
f8f9de8f32
QgsSettings Q_GLOBAL_STATIC
2019-11-02 15:01:59 +01:00
Matthias Kuhn
4ea4b67b2c
Remove unused variable
2019-11-02 15:01:59 +01:00
Matthias Kuhn
179fcf3347
Use Q_GLOBAL_STATIC
2019-11-02 15:01:59 +01:00
Juergen E. Fischer
c86ed789bf
osgeo4w: detect grass78
2019-11-02 10:04:20 +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
Matthias Kuhn
8cf5209a52
Merge pull request #32574 from m-kuhn/fix_orfeo_link
...
[travis] Fix link to OTB binaries
2019-11-01 12:33:23 +01:00
Matthias Kuhn
562b5186ce
Fix link to OTB binaries
2019-11-01 11:27:08 +01:00
Matthias Kuhn
392532ee62
Merge pull request #32517 from m-kuhn/tracerFixCrashOnExit
...
Fix crash on exit
2019-11-01 11:12:10 +01:00
Matthias Kuhn
7dcb26db40
Merge pull request #32527 from m-kuhn/valueMapCopyPasteFix
...
Fix copy items from value map configuration
2019-11-01 11:07:16 +01:00
Sandro Santilli
4b8d3e7800
Iterate over a const, to supposedly save some CPU cycles and memory
...
... as suggested by @m-khun via
https://github.com/qgis/QGIS/pull/31858#discussion_r339471008
2019-11-01 10:36:35 +01:00
Sandro Santilli
199b7da5fd
Use for instead of foreach
2019-11-01 10:36:35 +01:00
Sandro Santilli
d7ffb84372
Reduce number of queries to qgis_editor_widget_styles table
...
Closes #26186
2019-11-01 10:36:35 +01:00
Sandro Santilli
1a9682598e
Use EXISTS to tell if a table exists, rather than count(*)
...
Avoids a full sequencial scan (see #26186 )
Also query pg_class directly
2019-11-01 10:36:35 +01:00
Sandro Santilli
a4aea8ad43
Use CREATE IF NOT EXISTS for layer_styles
...
The syntax is supported since PostgreSQL 9.1 and we already use
9.1-only syntax (regclass).
2019-11-01 10:36:35 +01:00
Alessandro Pasotti
7b38ca8b79
Merge pull request #32546 from elpaso/pg-broken-credentials-cache
...
[feature] Ignored credentials temporary cache
2019-11-01 09:02:34 +01:00
Nyall Dawson
17a4a34fc5
Remove unused define
2019-11-01 14:03:01 +10:00
Nyall Dawson
5e84033193
Sipify
2019-11-01 14:03:01 +10:00
Nyall Dawson
b371013929
Minor fixes
2019-11-01 14:03:01 +10:00
Nyall Dawson
4684a743f9
Dox++
2019-11-01 14:03:01 +10:00
Nyall Dawson
fc993f6fc7
Heavily optimise GDAL based image resampling
2019-11-01 14:03:01 +10:00
Nyall Dawson
04111f64fb
Add method to resample a QImage using gdal library resampling, and
...
use this instead of the inbuilt QGIS resampling
The QGIS methods are slooooow, unoptimized, and buggy. And gdal exposes MANY
more resampling methods we could potentially expose now!
Also fixes rendering issues with cubic resampler and nodata pixels
2019-11-01 14:03:01 +10:00
Nyall Dawson
b41b4164fe
Add method to resample QImage using gdal resample to a gdal memory dataset
2019-11-01 14:03:01 +10:00
Nyall Dawson
27e5eb1f21
Add method to convert a QImage to a gdal memory dataset
2019-11-01 14:03:01 +10:00
Nyall Dawson
a90d1b3d83
Add method to create multi-band gdal memory dataset
2019-11-01 14:03:01 +10:00
Etienne Trimaille
3739ac2739
add QGIS version in model exported as Python
2019-11-01 08:57:30 +10:00
Alessandro Pasotti
730c875241
Capitalize actions
2019-10-31 21:37:41 +01:00
Hugo Mercier
77725c90b8
Merge pull request #32252 from mhugo/fix_27087
...
[oracle] fixes insertion of dates
2019-10-31 17:41:09 +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
292008f637
Merge pull request #32386 from pblottiere/fix_crs_json
...
Use CRS in WMS GetFeatureInfo when info_format is in json Fixes #32326
2019-10-31 15:30:43 +01:00