77656 Commits

Author SHA1 Message Date
vcloarec
f898dcd0eb SIP, typo, cleaning and more tests 2022-06-09 01:55:48 -04:00
vcloarec
6afefda8dc implement mesh dataset processing for model 2022-06-09 01:55:48 -04:00
Nyall Dawson
65934ce62d Fix capitalization 2022-06-09 13:32:47 +10:00
uclaros
ee16d17088 Allow actions to be triggered when menuBar is hidden 2022-06-09 10:42:01 +10:00
Alessandro Pasotti
b57b28103c Test for https://github.com/qgis/QGIS/issues/48171#issuecomment-1132709901 2022-06-09 10:09:07 +10:00
Alessandro Pasotti
7080179b61 Rename isrollingback 2022-06-09 10:09:07 +10:00
Alessandro Pasotti
0e729e0f9d Remove rows when rolling back in transaction mode
Fixes #48171

Or, more precisely, fixes the behavior described in the
comment:
https://github.com/qgis/QGIS/issues/48171#issuecomment-1132709901
2022-06-09 10:09:07 +10:00
bdm-oslandia
9b0bb2ffb5 add tests and fix spellcheck (compatiblity by compatibility) 2022-06-09 10:05:15 +10:00
bdm-oslandia
60db820f19 Replace all use of 'referer' http header as single var by QgsHttpHeader class
* add wrappers in QgsHttpHeader to read from/write to QMap, QUrlQuery, DomElement
* add QgsHttpHeader in QgsDataSoureUri, QgsXyzConnection, QgsVectorTileProviderConnection::Data, QgsWmsAuthorization
* fix tests
2022-06-09 10:05:15 +10:00
bdm-oslandia
cb436fe3d6 Fixes for bad key names
* fix QgsHttpHeaders:
  * when key contains double //
  * clean old sub group before adding new key to avoid duplicate

* fix QgsHttpHeaderWidget:
  * QTableWidgetItem flags for value was not set
  * call to QTableWidget edit function fail
  * table was not cleaned properly when adding entries

* fix QgsHttpHeaders test
2022-06-09 10:05:15 +10:00
bdm-oslandia
ed0236782d Fix issue #48532
* add constructor without QgsSettings, using default
* add new const QgsHttpHeaders::KEY_REFERER
* add test for QgsOwsConnection
* QgsOwsConnection:
  * fix usage of "referer" by using QgsHttpHeaders
  * replace "qgis/" prefix by QgsSettings::Prefix::QGIS
2022-06-09 10:05:15 +10:00
Nyall Dawson
1a9ac19b26 Add some extra packages to the Fedora install guide 2022-06-09 09:23:23 +10:00
Sandro Santilli
ecdf73621b Fix modification of source file during gdal provider test
Disables stats creation during the run of the test
Closes GH-48846
References GH-25830
2022-06-08 20:59:28 +02:00
Loïc Bartoletti
58dc7de1a6
Merge pull request #48571 from ptitjano/3d/add-debug-overlay
qgsshadowrenderingframegraph: Add a debug overlay
2022-06-08 20:50:05 +02:00
Jean Felder
022b311d7d
qgs3dmapscene: Display the debug overlay when requested
This listens to the corresponding Qgs3DMapSettings
change (debugOverlayEnabledChanged).
2022-06-08 17:29:29 +02:00
Jean Felder
bab7d54b6a
qgs3dmapconfigwidget: Add an option to display debug overlay
This checkbox is only visible if the debug overlay is available (Qt
version 5.15 or above).
2022-06-08 17:29:28 +02:00
Jean Felder
a72dcb33fd
qgs3dmapsettings: Store debug overlay enabled flag
This stores the debug overlay visibility flag (mIsDebugOverlayEnabled)
even if it cannot be used (it needs at least Qt version 5.15). Its
default value is set to false to prevent any issue if the debug
overlay cannot be enabled.
This parameter is transient: it is not saved in the project
parameters.

The next commit will allow to this change this setting with
Qgs3DMapConfigWidget.
2022-06-08 17:29:27 +02:00
Jean Felder
5209013897
qgsshadowrenderingframegraph: Add a debug overlay
QdebugOverlay is a visual overlay which displays some useful debugging
and profiling information. This allows in particular to quickly see the frame
graph and the scene graph.
It needs at least Qt version 5.15.

For more information, see:
https://www.kdab.com/debugging-profiling-qt-3d-apps/

This commits adds to the frame graph but it is not enabled. The
next commits will introduce the logic to enable it in Qgs3DMapSettings
and Qgs3DMapConfigWidget.
2022-06-08 17:24:54 +02:00
Sandro Santilli
a2001fdd69 Fetch QgsProviderMetadata only once for the whole test 2022-06-08 14:43:39 +02:00
Sandro Santilli
7ea8f173b4 Skip ONLY NetCDF tests when netcdf driver is not available
Commit 695b5bbe resulted in more tests being skipped
2022-06-08 14:43:39 +02:00
Sandro Santilli
695b5bbe37 testqgsgdalprovider.cpp: skip netcdf tests if corresponding driver is not available
Closes #48906
Closes #48906
2022-06-08 11:12:08 +02:00
Even Rouault
277daa2800 [UI] Measure dialog: display friendly name for ellipsoid.
Currently for a project using WGS 84, the measure dialog displays
the EPSG:7030 acronym as the ellipsoid name. Use the ellipsoid
description ("WGS 84 (EPSG:7030)") instead to be more user friendly.
2022-06-08 16:17:59 +10:00
Nyall Dawson
e895677b47 Fix geometry based expression attributes for diagrams
Fixes #47800
2022-06-08 12:13:32 +10:00
Nyall Dawson
1cdd40ddf5 Fix loss of precision when an extent is manually entered
Fixes #48887
2022-06-08 12:08:37 +10:00
uclaros
bb767336e7 fix docstrings 2022-06-08 09:41:57 +10:00
Juergen E. Fischer
e58cb1f02d tsstat.pl: Add new hungarian translator (closes #48809) 2022-06-07 13:38:29 +02:00
NEDJIMAbelgacem
06b0da2a8e fix test 2022-06-07 10:13:10 +02:00
NEDJIMAbelgacem
c2af7bdc1e Fix 2022-06-07 10:13:10 +02:00
NEDJIMAbelgacem
0647ce220c Adjust point cloud URI parsing 2022-06-07 10:13:10 +02:00
Nyall Dawson
10e170ebde Fix some undersized icons on hidpi displays 2022-06-07 10:27:34 +10:00
Nyall Dawson
d9a0b31f45 Make atlas coverage layer available to expression builder for custom grid format
Fixes #48833
2022-06-07 10:27:19 +10:00
Mathieu Pellerin
cb900ca922 [ui] Fix grid decoration widget spacing issues in dialog 2022-06-07 09:11:01 +10:00
NEDJIMAbelgacem
4fa92a77a8 Use extent renderer while statistics are calculating 2022-06-07 09:10:32 +10:00
Sebastian Gutwein
4044c882c4
Dissolve Disjoint help plain langauge (#48861) 2022-06-07 06:20:45 +10:00
Sandro Santilli
78ba5421d3 SOURCETREE fixture using QGIS_TEST_ACCEPT_GITSTATUS_CHECK_FAILURE
When the env variable is set to value of 1 the fixture cleanup
failure is not considered a failure but a skip.

This is because currently the testsuite is still unable to leave
the source tree in an untouched state.
2022-06-06 22:00:18 +02:00
Sandro Santilli
a0704f7ea8 docker-qgis-test.sh: add some CI-oriented grouping labels 2022-06-06 22:00:18 +02:00
Sandro Santilli
4e194084d2 docker-qgis-test.sh: mark QGIS source tree as a git safe.directory 2022-06-06 22:00:18 +02:00
Sandro Santilli
26e392d6a6 ctest2ci: use "Run test" instead of "build" for running test 2022-06-06 22:00:18 +02:00
Sandro Santilli
492b57d651 Have code layout tests guard after source tree immutability 2022-06-06 22:00:18 +02:00
Sandro Santilli
c4d3b81016 Have tests added with add_grass_test guard after source tree immutability 2022-06-06 22:00:18 +02:00
Sandro Santilli
7722e4961f Have tests added with add_python_test guard after source tree immutability 2022-06-06 22:00:18 +02:00
Sandro Santilli
170b2d2e9b Have all tests added with add_qgis_test guard after source tree immutability 2022-06-06 22:00:18 +02:00
Sandro Santilli
a6e401e584 Make git available in all build Docker targets (of qt5) 2022-06-06 22:00:18 +02:00
Sandro Santilli
026dbb3b85 Define SOURCETREE fixture for checking if source tree is changed
Use SKIP_RETURN_CODE=2 on them, so it is still possible to run
without a working git
2022-06-06 22:00:18 +02:00
Sandro Santilli
290b374982 chkgitstatus: fail if git status does not work 2022-06-06 22:00:18 +02:00
Sandro Santilli
2ecdb0cc1e Add script to check for source tree being unchanged
Prints error and exit with code 2 if git is not found in PATH,
which can be used to report SKIP in CI
2022-06-06 22:00:18 +02:00
Mathieu Pellerin
ac7b711dea Fix setting min/max through histogram doesn't activate contrast
enhancement algorithm

The commit also makes the histogram work for the single band pseudo color
raster renderer.
2022-06-06 17:12:54 +10:00
Mathieu Pellerin
8427ae04e0 Fix multiband color raster renderer min/max settings broken when using histogram and contrast set to none 2022-06-06 17:12:54 +10:00
Alessandro Pasotti
bacde25e5f
Merge pull request #48728 from elpaso/bugfix-gh46143-server-mapid-order
Server: expose composer map item name to project settings
2022-06-06 09:00:42 +02:00
Nyall Dawson
814a146df6 Ensure that user create layer default styles take precedence
over provider default styles

Fixes #48667
2022-06-06 16:18:01 +10:00