Nyall Dawson
4da2b80a42
Fix build
2018-10-08 12:01:23 +10:00
Nyall Dawson
1f02b42e04
Fix race condition causing crash on startup
...
Also flick more static list initializations across to nicer
std::call_once implimentations
2018-10-08 11:20:40 +10:00
Nathan Woodrow
ee7ca0a526
Fix build follow up
2018-10-08 10:40:02 +10:00
Nathan Woodrow
4bcaba8404
Fix build on fedora 26
2018-10-08 09:16:00 +10:00
Blottiere Paul
9ccb1b579b
Update doc
2018-10-08 07:24:53 +10:00
Blottiere Paul
6e95586a1c
Update python binding
2018-10-08 07:24:53 +10:00
Blottiere Paul
9ed3ee0d4b
Add doc
2018-10-08 07:24:53 +10:00
Blottiere Paul
1ecc57d2a2
Adds more explicit error message when auxiliary storage is saved
2018-10-08 07:24:53 +10:00
Even Rouault
119cd8ace9
QgisApp::addVectorLayer(): add |layername= to OGR datasets ( fixes #20031 )
...
Do it also in case of datasets that have a single layer, in case they might
later be edited to have more layers
(except for a few drivers known to be always single layer)
2018-10-08 07:23:27 +10:00
Even Rouault
bd6c1115bb
[OGR provider] Make createEmptyLayer() work properly on GeoPackage when creating/overwrite a new database ( fixes #20040 )
2018-10-08 07:23:12 +10:00
Even Rouault
1aa9485f6d
[OGR provider] Fix deletion of layers from QGIS browser when filename has non-ASCII characters (fixes https://issues.qgis.org/issues/19861 )
2018-10-08 07:22:54 +10:00
Alessandro Pasotti
7c6cb910cc
Fixes #20038 null island in canvas.saveAsImage
2018-10-08 07:22:39 +10:00
Nyall Dawson
7c21bfd199
Silence "libpng warning: iCCP: known incorrect sRGB profile" warnings
...
These are thrown by 3rd party components (e.g. webkit) which we have no
control over, and have low value anyway
Better to keep the debug log cleaner so that real errors are noticed
2018-10-08 05:04:31 +10:00
Blottiere Paul
80e19b6328
Add core unit test
2018-10-08 05:03:49 +10:00
Blottiere Paul
7681d308e2
Removes TODO comment
2018-10-08 05:03:49 +10:00
Blottiere Paul
6dfae7238c
Activates unit test
2018-10-08 05:03:49 +10:00
Blottiere Paul
5a9067e722
Fixes #19826 - Use subset layer to manage fid
2018-10-08 05:03:49 +10:00
Alessandro Pasotti
12fd51e27e
Deprecate refreshLegend
2018-10-07 17:26:31 +02:00
rldhont
2b71c9cc97
Merge pull request #7915 from rldhont/server-cache-manager-extension
...
[Server][Cache] Finalizing the cache manager
2018-10-07 15:50:00 +02:00
Nyall Dawson
b247c7ce5d
More hacking around crs db
2018-10-07 17:36:40 +10:00
Nyall Dawson
086b6a80d0
Fix dox test
2018-10-07 17:36:40 +10:00
Nyall Dawson
195a2fb8c7
Workaround ellipsoid_acronym not null constraint
2018-10-07 17:36:40 +10:00
Nyall Dawson
af7957707b
Fix various qt warnings related to user profile databases
...
Switch to using QGIS sqlite helper classes instead of Qt database
classes
2018-10-07 17:36:40 +10:00
Nyall Dawson
e91e342e6a
Fix some chatty debug messages
2018-10-07 17:36:40 +10:00
Nyall Dawson
ed35ad9ca7
Unify sqlite string quoting functions to a single QgsSqliteUtils::quoteString
...
function, with tests
2018-10-07 17:36:40 +10:00
Even Rouault
7e81226b51
Replace toUtf8().data() by toUtf8().constData()
...
All your uses of toUtf8().data() actually just need a const char*
So use constData() that is semantically more correct, and documented
to be faster.
From http://doc.qt.io/qt-5/qbytearray.html#data
"For read-only access, constData() is faster because it never
causes a deep copy to occur."
2018-10-07 07:23:42 +10:00
rldhont
3bb64a7f1a
[Server][Cache] Adding HAVE_SERVER_PYTHON_PLUGINS around accessControls and cacheManager methods
2018-10-06 15:08:39 +02:00
Even Rouault
f5d2d85860
QgsXmlUtils::readFlagAttribute(): fix use-after-free
...
Found with Valgrind
```const char* c_str = qstr.toUtf8().data()``` is invalid
since the QByteArray returned by toUtf8() is destroyed at the
end of the expression, letting c_str point to freed memory
On the contrary ```foo(qstr.toUtf8().data())``` is valid since
the temporary object is destroyed only after foo invokation.
2018-10-06 15:00:39 +02:00
Alessandro Pasotti
56149ff39a
Force legend update when raster properties changes
...
Fixes #18608 - Layer tree embedded widgets do not show up unless you move layer
2018-10-06 12:46:31 +02:00
Alessandro Pasotti
dbfbcca667
Simplify paste by using QgsVectorLayerUtils::makeFeaturesCompatible
2018-10-06 12:22:13 +02:00
Alessandro Pasotti
a3bf98d9a6
Do not show the invalid geom warning if not necessary
...
If the geoms where originally invalid, do not show the
warning.
2018-10-06 11:38:24 +02:00
Alessandro Pasotti
08b6b6065a
Show a warning when pasted feature geometry collapsed
...
... due to due to intersection avoidance
Features are still pasted but the user is warned.
Fixes #20020
2018-10-06 10:53:12 +02:00
rldhont
bc7cea2e3e
[Server][Cache] Extending and enhancing cache manager tests
2018-10-06 10:25:20 +02:00
rldhont
8c67e45f09
[Server][Cache] Add WMS GetLegendGraphic to store in cache
2018-10-06 10:25:20 +02:00
rldhont
f79be97e90
[Server][Cache] Add documents to store in cache: WMS Context, WFS DescribeFeatureType, WCS DescribeCoverage
2018-10-06 10:25:20 +02:00
Nyall Dawson
81db0052ff
[mssql] Fix single geometry types are added to multi geometry type layers
...
Fixes #10793
2018-10-06 06:06:05 +10:00
Denis Rouzaud
a86c683913
Merge pull request #8031 from DelazJ/patch-4
...
Fix save style dialog expansion and UI cleanup
2018-10-05 11:43:57 -08:00
Denis Rouzaud
9fa8c356dd
make QgsWkbTypes a Q_GADGET and declare GeometryType as Q_ENUM ( #8024 )
...
* make QgsWkbTypes a Q_GADGET and declare GeometryType as Q_ENUM
* include QObject
* remove extra include
* move QgsWkbTypes to moc headers
* run sip_include
2018-10-05 10:25:35 -08:00
Denis Rouzaud
8f4d3ba38e
Merge pull request #8041 from 3nids/user_doc_auto_screenshots
...
Automatic creation of screenshots for user documentation
2018-10-05 05:02:06 -08:00
Denis Rouzaud
77bfec68c3
fix typo
2018-10-05 09:01:32 -04:00
Peter Petrik
618ed2e733
add recognision of ECMWF_ERA to MDAL
2018-10-05 14:22:21 +02:00
Peter Petrik
9acc5c1010
[mesh] update to MDAL 0.0.9 (NetCDF Support)
2018-10-05 14:22:21 +02:00
Denis Rouzaud
2ff3f762d6
set device pixel ratio on pixmap
2018-10-05 07:20:34 -04:00
Matthias Kuhn
e25d6347c6
Merge pull request #8034 from m-kuhn/canCommitChanges
...
Add QgsVectorLayer::allowCommit property
2018-10-05 13:11:28 +02:00
Alessandro Pasotti
e86693a5c2
Merge pull request #8111 from elpaso/in-place-select-all
...
[processing][need-docs] In place editing triggers editing and select all
2018-10-05 12:36:51 +02:00
Alessandro Pasotti
cdf5bb630f
Fix test
2018-10-05 11:03:49 +02:00
Alessandro Pasotti
29c4970f8a
[processing] In-place add layer name to dlg title and store active layer
2018-10-05 10:10:20 +02:00
Alessandro Pasotti
0782b9d869
Dynamically change button text for in-place editing
...
The button title changes if there are selected features
2018-10-05 09:21:28 +02:00
Alessandro Pasotti
ca1c65d07a
[processing] In place editing triggers editing and select all
...
If the active layer is not editable, the executor will
try to switch editing on.
If there are no selected features, the executor will
select all features before running.
2018-10-05 08:53:30 +02:00
Alessandro Pasotti
223a87fbc5
Merge pull request #8121 from nyalldawson/no_boundary
...
Boundary alg cannot run in-place mode
2018-10-05 08:51:05 +02:00