From 14826ca1e4aa617bbb2f99f8356852b661a14275 Mon Sep 17 00:00:00 2001 From: "Juergen E. Fischer" Date: Fri, 20 Dec 2024 13:00:49 +0100 Subject: [PATCH] Release of 3.40.2 --- CMakeLists.txt | 2 +- ChangeLog | 1259 ++++++++++++++++++++++++++++ debian/changelog | 10 +- linux/org.qgis.qgis.appdata.xml.in | 1 + 4 files changed, 1269 insertions(+), 3 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index dec1f1987055..2453c9fcf824 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -55,7 +55,7 @@ endif() # Project and version set(CPACK_PACKAGE_VERSION_MAJOR "3") set(CPACK_PACKAGE_VERSION_MINOR "40") -set(CPACK_PACKAGE_VERSION_PATCH "1") +set(CPACK_PACKAGE_VERSION_PATCH "2") set(COMPLETE_VERSION ${CPACK_PACKAGE_VERSION_MAJOR}.${CPACK_PACKAGE_VERSION_MINOR}.${CPACK_PACKAGE_VERSION_PATCH}) set(RELEASE_NAME "Bratislava") project(qgis VERSION ${COMPLETE_VERSION}) diff --git a/ChangeLog b/ChangeLog index 4b18e3a3cc1b..7a7be1a3fc9f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,1262 @@ +Jürgen E. Fischer 2024-12-20 + + translation update for 3.40.2 from transifex + +qgis-bot <58983587+qgis-bot@users.noreply.github.com> 2024-12-20 + + fix(QgsMapBoxGlStyleConverter): also handle visibility when it is defined in "layout" (#59974) + + Co-authored-by: bdm-oslandia + +Nyall Dawson 2024-12-20 + + Make test more robust across different geos/proj versions + +Merge: bda147cb767 4005034be07 +Even Rouault 2024-12-20 + + Merge pull request #59967 from qgis/backport-59963-to-release-3_40 + + [Backport release-3_40] Port oauth2 expiry message fix + +Nyall Dawson 2024-12-19 + + Port oauth2 expiry message fix from https://github.com/qgis/o2/commit/de3078c + +Merge: e97bff8078d c0072ae01bf +Alexander Bruy 2024-12-19 + + Merge pull request #59964 from qgis/backport-59950-to-release-3_40 + + [Backport release-3_40] Make test more stable across different platforms + +Nyall Dawson 2024-12-19 + + Make test more stable across different platforms + + And just skip for older GEOS patch version with known issue, instead of + adding complexity to the test + +Merge: 4428cb98eac 220dd5ffa5a +Alexander Bruy 2024-12-18 + + Merge pull request #59962 from qgis/backport-59949-to-release-3_40 + + [Backport release-3_40] Fix grass imagery tests on newer GRASS versions + +Nyall Dawson 2024-12-18 + + Fix regex + +Nyall Dawson 2024-12-18 + + Enable test which passes now + +Nyall Dawson 2024-12-18 + + Run test on qt 6 + +Nyall Dawson 2024-12-18 + + Only run i.smap , i.maxlik tests on older GRASS + + Newer ones have the raster paths hardcoded into + the signature file, and we can't handle that currently + in the test suite + +Nyall Dawson 2024-12-18 + + Allow skipping tests by grass version + +Nyall Dawson 2024-12-18 + + Resync grass plugin algorithm test base file + +Nyall Dawson 2024-12-18 + + Adapt some grass tests to account for formats used in newer GRASS versions + +Merge: 0b9bc7fe69f 294b61cfaa5 +Alexander Bruy 2024-12-18 + + Merge pull request #59956 from qgis/backport-59952-to-release-3_40 + + [Backport release-3_40] [ui][themes] Fix calendar view when constraints are not met + +Merge: 17d169c9467 28c88ca3ec5 +Alexander Bruy 2024-12-18 + + Merge pull request #59948 from qgis/backport-59910-to-release-3_40 + + [Backport release-3_40] Disable broken test for automatic transaction groups on GDAL >= 3.5 + +Nyall Dawson 2024-12-17 + + Rename variable for clarity + +Nyall Dawson 2024-12-18 + + Skip test on Geos >= 3.11 + + Broken due to https://github.com/libgeos/geos/issues/1037 + +Mathieu Pellerin 2024-12-18 + + [ui][themes] Fix calendar view when constraints are not met + +Nyall Dawson 2024-12-14 + + Test still fails on qt6 on ci (but passes locally!) + +Nyall Dawson 2024-12-13 + + Fix test which was never working, but just skipped on CI because too old GDAL + +Nyall Dawson 2024-12-13 + + Fix test on newer GEOS versions + +Nyall Dawson 2024-12-13 + + Fix crash in server VirtualErrorHandler on newer sip environments + + Fixes crash in tests, and adapts these VirtualErrorHandlers to the same + code used elsewhere in QGIS + +Nyall Dawson 2024-12-16 + + Run test on qt6 + +Nyall Dawson 2024-12-16 + + Disable broken test for automatic transaction groups on GDAL >= 3.5 + + This functionality is broken on newer GDAL versions, due + to incorrect assumptions at time of development. + + See https://github.com/qgis/QGIS/pull/59797#issuecomment-2544133498 + + Parties interested in seeing this test resurrected are welcome + to submit fixes. + +Harrissou Sant-anna 2024-12-16 + + Typo fix + +Harrissou Sant-anna 2024-12-16 + + Add help button to labeling rules dialogs + +Nyall Dawson 2024-12-17 + + Fix leak in point cloud exporter + +Nyall Dawson 2024-12-17 + + Fix leak + +Nyall Dawson 2024-12-17 + + Fix leak + +Nyall Dawson 2024-12-17 + + Fix coverity overflowed constant warning + +Nyall Dawson 2024-12-17 + + Fix coverity 'nesting level does not match indentation' warnings + + The QgsDebugMsgLevel macro is multiline, so we need to enclose it in braces + +Nyall Dawson 2024-12-17 + + Use unique_ptr + +Nyall Dawson 2024-12-16 + + Remove some useless calls + +Nyall Dawson 2024-12-16 + + Fix coverity nullptr dereference warning + +Nyall Dawson 2024-12-16 + + Fix some use of deprecated implicit capture of this + +Nyall Dawson 2024-12-16 + + Fix coverity nullptr dereference warning + +Nyall Dawson 2024-12-16 + + Fix some uninitialized members + +JuhoErvasti 2024-12-16 + + Fix split policy test + + - This change was made to match the change in b2d4fc8803280a090914026f74b29b150e8f28b5 + where the largest geometry is now inherited by the original feature when + splitting features. + - This caused the test to fail for the 'field_unset' and 'field_ratio' attributes + since the largest feature with the largest 'field_ratio' attribute + also had the original 'field_unset' value and the others had an unset + attribute + +JuhoErvasti 2024-12-16 + + Split features: always give largest geometry to original feature + +Andrea Giudiceandrea 2024-12-17 + + [Modeler] Fix algorithms help URL + +Merge: 918a0dc040c 658562d1435 +Alexander Bruy 2024-12-17 + + Merge pull request #59937 from qgis/backport-59931-to-release-3_40 + + [Backport release-3_40] Avoid unclosed file warning in test + +Nyall Dawson 2024-12-17 + + Avoid unclosed file warning in test + + Maybe will help with test fragility + +Nyall Dawson 2024-12-17 + + Rename test file with typo + +Harrissou Sant-anna 2024-12-16 + + Format alg helpUrl to match actually generated URL + + replacing "_" characters by "-" + +qgis-bot 2024-12-16 + + auto sipify 🍺 + +Nyall Dawson 2024-12-16 + + [api] Add QgsVectorDataProvider::geometryColumnName + + Allows easy retrieval of the geometry column name from the data + provider, if applicable. + + (This was NOT possible to retrieve in a consistent, provider + independant way before) + +qgis-bot 2024-12-16 + + auto sipify 🍺 + +Damiano Lombardi 2024-12-15 + + sipyfy + +Damiano Lombardi 2024-12-15 + + Remove layers from the edit buffer group + + Layers are removed togheter with removal from project + Fix #59828 + +Nyall Dawson 2024-12-13 + + Use correct test font in test + +Nyall Dawson 2024-12-13 + + Add test mask + +Merge: b068ecfb116 f65742cac1a +Alexander Bruy 2024-12-16 + + Merge pull request #59882 from qgis/backport-59874-to-release-3_40 + + [Backport release-3_40] Fix hang on server security test on Fedora + +Merge: e3ac9f6798d 25f08f268de +Alexander Bruy 2024-12-16 + + Merge pull request #59878 from qgis/backport-59868-to-release-3_40 + + [Backport release-3_40] Fix test on newer python + +Nyall Dawson 2024-12-15 + + Fix some copy instead of move warnings + + (cherry picked from commit 6bd1e2cb0d3fa47c459a331ca009174c2ee9dd6a) + +Nyall Dawson 2024-12-15 + + Fix some places we should be using const ref for arguments + + (cherry picked from commit 4fe4a9e0c3230cb472431af067c9a8ae52cabdc3) + +Nyall Dawson 2024-12-15 + + Fix coverity dereference after nullptr check warning + + (cherry picked from commit 8f1571eaef6ad000f580a62db93fe94b8f76672e) + +Nyall Dawson 2024-12-15 + + Fix coverity unchecked cast warning + + (cherry picked from commit 9f7806da17dd297b0da160ff991ee7d26a0c1f8f) + +Nyall Dawson 2024-12-14 + + Fix coverity copy instead of move warning + + (cherry picked from commit e527295ca8a241b167a635e6a558f28b57ae97b3) + +Nyall Dawson 2024-12-14 + + Initialize member + + (cherry picked from commit 0a0358737b76e84b068ea1cc40ce01e99da6ee48) + +Nyall Dawson 2024-12-14 + + Document intentional hack + + (cherry picked from commit 96ffb93a14aad1ae851d452532287f0204ba9f33) + +Nyall Dawson 2024-12-14 + + Fix coverity nullptr dereference error + + (cherry picked from commit 3eef3566e9084cb5896f85d0dfe637c9a7edce06) + +Nyall Dawson 2024-12-14 + + Fix coverity copy instead of move warning + + (cherry picked from commit 5b605584c3cb737754743511779661affa229885) + +Nyall Dawson 2024-12-14 + + Fix coverity nullptr dereference warning, leak, inefficiency + + (cherry picked from commit 878ccddb6698cfb1a411aeca2bc7a7851dcd3606) + +Nyall Dawson 2024-12-14 + + Fix coverity copy instead of move warning + + (cherry picked from commit 9059c8a05cdaad938d68bc6e54ac4af31b68a851) + +Nyall Dawson 2024-12-14 + + Avoid false-positive coverity warning + + (cherry picked from commit f7adbd1a967fee291d8fe011d0cae94535e397bc) + +Nyall Dawson 2024-12-14 + + Fix coverity copy instead of move warning + + (cherry picked from commit 395e5152f9bb0f738bb235736c2ec61516adf613) + +Nyall Dawson 2024-12-14 + + Fix dereference after null check error in concave hull algorithm + + (cherry picked from commit 4b9dc68c35fbfd340fdb678c1cc85f94199b8a2d) + +Merge: ec13f351580 a21f3928bbb +Even Rouault 2024-12-15 + + Merge pull request #59900 from qgis/backport-59897-to-release-3_40 + + [Backport release-3_40] Fix heatmap alg on Qt6 builds + +Merge: 14b6ef0e556 5d3d7817aed +Even Rouault 2024-12-15 + + Merge pull request #59899 from nyalldawson/backport_59873 + + Run oauth2 python test on qt6 builds (3.40 backport) + +Nyall Dawson 2024-12-14 + + Fix heatmap algorithm on qt6 + +Nyall Dawson 2024-12-13 + + Run oauth2 python test on qt6 builds + + (cherry picked from commit befc78e3f508b036c99ae9819530d8bcb1304e95) + +Denis Rouzaud 2024-12-13 + + clang-format SpacesInAngles: Leave + +Nyall Dawson 2024-12-14 + + Fix cppcheck error + +Nyall Dawson 2024-12-13 + + Fix hang on server security test on Fedora + + We were incorrectly creating two instances of QgsApplication + +Merge: d73525d0b42 0797e9c6e25 +Alexander Bruy 2024-12-13 + + Merge pull request #59877 from qgis/backport-59870-to-release-3_40 + + [Backport release-3_40] Fix fragileness in test if run after some other tests + +Merge: 621b3294eae 34c07a8d59b +Alexander Bruy 2024-12-13 + + Merge pull request #59876 from qgis/backport-59871-to-release-3_40 + + [Backport release-3_40] Fix test on newer python versions + +Nyall Dawson 2024-12-12 + + Ignore LC_ALL: cannot change locale when testing std output + +Nyall Dawson 2024-12-12 + + Run test on qt 6 builds + +Nyall Dawson 2024-12-12 + + Don't rely on specific ogrinfo outputs in test + + Makes tests robust to different gdal versions + +Nyall Dawson 2024-12-12 + + Run test on qt 6 builds + +Nyall Dawson 2024-12-12 + + Fix leak, crash on Qt 6 builds + +Nyall Dawson 2024-12-12 + + fixup + +Nyall Dawson 2024-12-12 + + Add missing transfer annotations + +Nyall Dawson 2024-12-12 + + Fix test on newer geos + + Add more tolerance to calculated part split lengths + +Nyall Dawson 2024-12-13 + + Fix test on newer python + +Nyall Dawson 2024-12-13 + + Fix fragileness in test if run after some other tests + +Nyall Dawson 2024-12-13 + + Fix test on newer python versions + +Jan Caha 2024-12-12 + + fix error where table comment was not updated on second open of "Table Properties" window + +Jan Caha 2024-12-12 + + edit QLineEdit to QTextEdit + +Yoann Quenach de Quivillic 2024-12-12 + + Add test + +Yoann Quenach de Quivillic 2024-12-03 + + Fix common angles guide line flickering + +qgis-bot 2024-12-12 + + auto sipify 🍺 + +Merge: 98970012b90 25bfca25ba5 +Alexander Bruy 2024-12-12 + + Merge pull request #59847 from qgis/backport-59839-to-release-3_40 + + [Backport release-3_40] Improve CRS searching by string + +qgis-bot 2024-12-12 + + auto sipify 🍺 + +qgis-bot <58983587+qgis-bot@users.noreply.github.com> 2024-12-12 + + [Backport release-3_40] WMS Ignore layer extent settings for default value (#59848) + + * WMS Ignore layer extent settings for default value + + * [pre-commit.ci] auto fixes from pre-commit.com hooks + + for more information, see https://pre-commit.ci + + --------- + + Co-authored-by: Damiano Lombardi + Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> + +Nyall Dawson 2024-12-12 + + Fix test on qt6 + +Nyall Dawson 2024-12-12 + + When a sufficiently long crs filter string is entered, auto expand all groups + + Makes it much less annoying to find a crs by string! + +Nyall Dawson 2024-12-12 + + Use word based search when filtering CRS + + So that typing eg "world winkel" will show the "World_Winkel_Tripel_NGS" + CRS + +Nyall Dawson 2024-12-12 + + Add CRS group name and projection name to CRS model data + +Nyall Dawson 2024-12-12 + + Add QgsStringUtils.containsByWord method + + Given a candidate string, returns true if the candidate contains + all the individual words from another string, regardless of their order. + +Merge: 68dfbb1808e 47f5f3c523b +Alexander Bruy 2024-12-12 + + Merge pull request #59835 from qgis/backport-59819-to-release-3_40 + + [Backport release-3_40] Fix CRS exception when fallback operation occurs, fix invalid CRS transform for status bar display + +Damiano Lombardi 2024-12-11 + + fix indentation + +Damiano Lombardi 2024-12-11 + + Move implementation to cpp file + +Denis Rouzaud 2024-12-11 + + switcht to class + +Damiano Lombardi 2024-12-06 + + Add CORE_EXPORT + +Damiano Lombardi 2024-12-05 + + Add class documentation + +Damiano Lombardi 2024-12-04 + + qgsauthorizationsettings.h SIP_NO_FILE + +Damiano Lombardi 2024-12-04 + + Move qgsauthorizationsettings.h to core/auth + +Damiano Lombardi 2024-11-28 + + Set additional HTTP headers for WCS provider + + Same way as done for WMS + Fixes partially #17823 (WFS still missing) + +pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> 2024-12-11 + + [pre-commit.ci] auto fixes from pre-commit.com hooks + + for more information, see https://pre-commit.ci + +Matthias Kuhn 2024-12-11 + + [relations] Show polymorphic relation name in config dialog + +qgis-bot 2024-12-11 + + auto sipify 🍺 + +Jean Felder 2024-12-11 + + qgslayertreemodel: Fix layerFlagsChanged docstring + +Jean Felder 2024-12-10 + + qgslayertreemodel: Ensure to refresh when elevation properties change + + If an elevation profile widget is already open, when a new raster + layer is added, it is not added to the elevation widget + treeview. Indeed, when a new raster is added, + `QgsRasterLayer::elevationProperties::hasElevation()` returns `False` + by default and the proxy model of the elevation filters out the layers + which do not have an elevation. + + Later on, `QgsAppLayerHandling::postProcessAddedLayer` is called on + this raster and it sets the elevation to `True` if it looks like a + DEM (See + `QgsRasterLayerElevationProperties::layerLooksLikeDem()`). However, + the layer tree of the elevation widget has already been populated and + it is not updated. + + This issue is fixed by emitting the the `dataChanged` signal every + time the elevation properties of a layer changes. Indeed, this forces + a full refresh of the model and displays the raster in that case. + +Nyall Dawson 2024-12-11 + + Fix an instance where the status bar coordinates are incorrectly transformed + + This can happen immediately after a project CRS change, as the last + mouse coordinates are incorrectly considered to be in the new + project CRS. + +Nyall Dawson 2024-12-11 + + When an error in a fallback operation occurs, ensure exception has correct input coordinates + + It was showing the inf/inf values from the failed transform, not the + input coordinate + +qgis-bot 2024-12-11 + + auto sipify 🍺 + +Denis Rouzaud 2024-12-11 + + sipify + +Denis Rouzaud 2024-12-11 + + run clang-format on 3d + server + +Denis Rouzaud 2024-12-10 + + add server and 3d to clang-format + +qgis-bot <58983587+qgis-bot@users.noreply.github.com> 2024-12-11 + + [Backport release-3_40] add an option to define locator tree height (#59827) + + * add an option to define locator tree height + + * add comment that it requires a restart + + --------- + + Co-authored-by: Denis Rouzaud + +Merge: 2be0ec70da8 8046900ca5c +Alexander Bruy 2024-12-11 + + Merge pull request #59820 from qgis/backport-59815-to-release-3_40 + + [Backport release-3_40] Don't allow "fixed time range per band" when raster has multi-band symbology + +Nyall Dawson 2024-12-11 + + Don't allow "fixed time range per band" when raster has multi-band symbology + + Fixes #59777 + + Just like the equivalent fixed-elevation-range per band mode for + elevation, this temporal setting ONLY makes sense when the renderer + is a single-band renderer. + +Merge: 63dc063ea87 47199b400b7 +Matthias Kuhn 2024-12-11 + + Merge pull request #59771 from sebastic/appstream-3.40 + + Fix AppStream metadata in QGIS 3.40. + +Nyall Dawson 2024-12-11 + + Test masks for Ubuntu 24.04 + +Etienne Trimaille 2024-12-10 + + Review the Processing script template : add annotations, remove self.tr + +qgis-bot 2024-12-09 + + auto sipify 🍺 + +Denis Rouzaud 2024-12-09 + + clang-format for analysis and gui on 3.40 (#59736) + + * add analysis to clang-format + + * handle sip macros + + * remove auto-generated files from spell check + + * [sipify] supports code in comment + + * comment methodcode + + * run pre-commit + + * [sipify] close type header code earlier + + * [sipify] better handling of type header includes + + * modify includes + + * [sipify] better handling of type header includes (multiple) + + * modify core includes + + * fix SIP_SKIP + + * Revert "[sipify] close type header code earlier" + + This reverts commit 0fe88cf945fd2da710453e2a55a4cdc4e2f82802. + + * [sipify] do not exit header code if commentting + + * fix SIP_SKIP + + * [sipify] exit type header code + + * fix typo + + * src code layout + + * sipify + + * comment sip directives + + * add gui to clang-format + + * place SIP_DEPRECATED before definition + + * run pre-commit + + * fix windows build + + * [pre-commit.ci] auto fixes from pre-commit.com hooks + + for more information, see https://pre-commit.ci + + * fix windows build take 2 + + * comment to fix win build + + * allow combination of SIP_SKIP and Q_DECLARE_FLAGS + + * fix SIP_SKIP and SIP_FORCE being left alone + + * remove multiline + + * [sipify] Fix staticmethod (#59517) + + * [sipify] Fix staticmethod + + When building bindings for Kadas, we get an AttributeError on startup and not a NameError. + + * [pre-commit.ci lite] apply automatic fixes + + --------- + + Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> + + * sipify + + --------- + + Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> + Co-authored-by: pre-commit-ci-lite[bot] <117423508+pre-commit-ci-lite[bot]@users.noreply.github.com> + +Bas Couwenberg 2024-12-06 + + Fix AppStream metadata. + +qgis-bot <58983587+qgis-bot@users.noreply.github.com> 2024-12-04 + + place SIP_SKIP before definition (#59735) + + Co-authored-by: Denis Rouzaud + +Even Rouault 2024-12-02 + + Fix OAuth2 configuration <--> JSON serialization/deserialization on QT6 + +Denis Rouzaud 2024-12-03 + + Link QGIS gui to Qt QML + + Otherwise it's only linked if you compile with QUICK enabled + +Merge: f3527e7ac8a d9d1b981709 +Alexander Bruy 2024-12-03 + + Merge pull request #59707 from qgis/backport-59654-to-release-3_40 + + [Backport release-3_40] [attribute form] Avoid showing a blank item in the drag and drop form layout for invalid/missing relations + +Merge: fa317c60a62 768c5af0ee0 +Alexander Bruy 2024-12-03 + + Merge pull request #59708 from qgis/backport-59619-to-release-3_40 + + [Backport release-3_40] Fix case-sensitivity of http header checks + +Merge: b45fd88087f 2e0cf2a32d4 +Alexander Bruy 2024-12-03 + + Merge pull request #59699 from qgis/backport-59682-to-release-3_40 + + [Backport release-3_40] Fix cached re-renders of mesh layers drop mesh labels + +qgis-bot <58983587+qgis-bot@users.noreply.github.com> 2024-12-03 + + [Backport release-3_40] fix prepare_commit.sh (#59714) + + * fix prepare_commit.sh + + * fix regex + + --------- + + Co-authored-by: Denis Rouzaud + +qgis-bot 2024-12-03 + + auto sipify 🍺 + +hxbb00 2024-11-20 + + feat: Enhance the ability to customize icons for QgsPluginLayer + +Mathieu Pellerin 2024-11-30 + + [snapping] Invalidate the filtered layer tree model when a parent group switches from empty/non-empty state + +Nyall Dawson 2024-11-28 + + Fix case-sensitivity of http header checks + + Since qt 6.8 header keys are forced to lowercase, so we need to + adapt all checks accordingly + +Mathieu Pellerin 2024-11-29 + + [attribute form] Identify drag n drop form layout relation items from a pasted configuration as invalid when not tied to the current layer + +Mathieu Pellerin 2024-11-29 + + [attribute form] Avoid showing a blank item in the drag and drop form layout for invalid/missing relations + +Even Rouault 2024-12-02 + + run precommit on test_qgsproviderconnection_ogr_gpkg + +hxbb00 2024-11-29 + + add table comment test + +hxbb00 2024-11-28 + + Fix: incorrect gpkg table comment + +Nyall Dawson 2024-12-02 + + Fix cached re-renders of mesh layers drop mesh labels + + Eg when switching off a vector layer with labels, the labels from + a mesh layer will not be rendered on the map redraw + +Merge: c47cea528a8 41cabf73ff4 +Alexander Bruy 2024-12-02 + + Merge pull request #59663 from qgis/backport-59647-to-release-3_40 + + [Backport release-3_40] When merging cells in layout tables, concatenate original cell text + +Denis Rouzaud 2024-12-01 + + run pre-commit on all files + +Denis Rouzaud 2024-11-29 + + discard non-sipified directories in prepare_commit and verify_indent + +Denis Rouzaud 2024-11-29 + + add clang-format for non-sipified directories + +Denis Rouzaud 2024-11-29 + + add clang format + +qgis-bot <58983587+qgis-bot@users.noreply.github.com> 2024-11-30 + + [Backport release-3_40] Add pre-commit workflow to autofix PRs (#59673) + + * Add pre-commit workflow to autofix PRs + + * skip tests/testdata/script_with_error.py + + * Update pr-run-pre-commit.yml + + --------- + + Co-authored-by: Denis Rouzaud + +Andrea Giudiceandrea 2024-11-29 + + [GUI][Annotations] Rename "Create Picture" to "Create Picture Annotation" + + Uniform the action name to the other ones + +Denis Rouzaud 2024-11-21 + + add .git-blame-ignore-revs + +Denis Rouzaud 2024-11-21 + + add prepare_commit to pre-commit hook + +Denis Rouzaud 2024-11-20 + + remove python files from verify indent + +Denis Rouzaud 2024-11-20 + + remove flake8 workflow + +Denis Rouzaud 2024-11-20 + + exclude python auto generated files by sipify + +Denis Rouzaud 2024-11-20 + + remove python files from prepare_commit + +Denis Rouzaud 2024-11-20 + + add pre-commit hook for python + +Nyall Dawson 2024-11-29 + + When merging cells in layout tables, concatenate original cell text + + Fixes #59611 + +Harrissou Sant-anna 2024-11-26 + + Add "GCP" to the Georeferencer buttons label, for harmonization + +Julien Cabieces 2024-11-21 + + fix(ValueRelation): fix documentation + +Julien Cabieces 2024-11-20 + + fix(ValueRelation): Restore correctly value on widget value changed + + When selecting several features on multiedit mode, widgets are + intialized in no known order (see + QgsAttributeForm::setMultiEditFeatureIds() ), and so we could + initialize a value relation widget before an other widget it is + related to (through its expression). That would cause the current + selected value to be lost. + + So we need to restore properly this value on widget value changed. + +Yoann Quenach de Quivillic 2024-11-10 + + Add unit test + +Yoann Quenach de Quivillic 2024-11-10 + + Fix layout picture rotation + +Nyall Dawson 2024-11-28 + + Apply suggestions from code review + + Co-authored-by: Even Rouault + +Nyall Dawson 2024-11-28 + + Fix test on newer proj + + Change wkt to a crs which won't be identified as EPSG:4326 on newer proj versions + +Nyall Dawson 2024-11-28 + + Adapt test for GDAL 3.9 results + +Matthias Kuhn 2024-11-28 + + Avoid freeze when opening feature form with many relation widgets + +Jacky Volpes 2024-11-28 + + fix(elevationprofilecanvas): avoid crash on segfault + + If no profile curve is set and regenerateResultsForLayer is run + (triggered by adding a feature in a layer for instance), then QGIS + crashes. + +Jacky Volpes 2024-10-29 + + Fix freeze on long indexation for snapping on intersections + + If snap on intersections is enabled, this specific edge search with the + locator was not in relaxed mode, whereas the standard snapping is + happening in relaxed mode. + + As a result, trying to use the snapping during the first indexation was + freezing QGIS while the indexation is happening, waiting for it to end. + + On a layer where the indexation is longer than the timeout (30sec, i.e. + a WFS layer as in issue #51179), the locator stops abruptly and resets + itself, crashing the indexation and QGIS. + +Nyall Dawson 2024-11-27 + + Fix build + +Nyall Dawson 2024-11-27 + + Ensure QgsO2 is compatible with expiry dates > January 19th 2038 + + (cherry picked from commit da1d5161d0099514807e10d67dc37d2f830c75ca) + +Nyall Dawson 2024-11-23 + + Avoid clang-tidy false positive memory leak warning + + (cherry picked from commit cef9898afedc5b9cd7ac53ab9caab109bed68609) + +Nyall Dawson 2024-11-23 + + Fix false positive clang tidy warning + + (cherry picked from commit 80878a8ddd54991bf29603daa98c851e909c0932) + +Nyall Dawson 2024-11-22 + + Fix warning + + (cherry picked from commit 1829124eb4813740952e1198f248fab15d6de644) + +Nyall Dawson 2024-11-22 + + Fix instance + + (cherry picked from commit 7a65b105975e7918c1515377f73aebb560b30cdf) + +Nyall Dawson 2024-11-22 + + Ensure that O2 linkage is done in a thread-safe way + + We need to ensure that the link method is ONLY ever called from + the QgsO2 object's thread, because it involves creation of + child items and that is explicitly prohibited from external + threads by Qt. + + (cherry picked from commit bb1c12eab0041654109a013bc6bb30253789854a) + +Nyall Dawson 2024-11-22 + + Fix deadlock in oath2 authentication + + We have to take care that we don't directly create QgsO2 objects + on the thread where the authentication request is occurring, + as QgsO2 objects are long running but the thread requesting + authentication may be short-lived. If we create QgsO2 objects + on a short-running thread, then when we later try to + authenticate using the same oauth2 authentication method we + will get a deadlock, as the O2 reply server will no longer + have an active thread or an event loop running. + + This was especially evident in browser items which use oauth2 + authentication. Since these are usually populated using very + short-life threads, we'd often hit this situation: + + 1. The connection would be expanded. Browser would create a thread + to populate the connection. The oauth2 objects would then be created + on this same thread, and everything would initially work OK. The + user could complete the authentication since the browser population + thread was blocked until this was done. + 2. The browser item got populated, and then the thread populating + it was destroyed + 3. Later, something else would request authentication using the + same oauth2 config. This may be eg the user expanding out a + different folder on the browser connection. + 4. If the oauth2 token had expired, then we'd try to refresh it. + But this relied on event-based logic, and the event loop for the + QgsO2 object was no longer around to handle this. The authentication + request would dead-lock. + + Fix this by ensuring that all QgsO2 objects are created and run on + an instance of a new QgsOAuth2Factory QThread. This thread is created + on demand, and will then exist for the life of the QGIS session. + + This ensures that all QgsO2 objects will run on a thread with an + application-long lifetime, so there's no issue if they later + require event-loop based logic (such as token refresh) + + (cherry picked from commit 73d6984b4b96a1c926db95bdf872f83eb2a32437) + +Nyall Dawson 2024-11-22 + + Avoid leak of QgsAuthOAuth2Config + + And make ownership clear by setting parent to the QgsO2 parent + + (cherry picked from commit 84a1775a8010d5345150eed4bfd310176483ff81) + +Nyall Dawson 2024-11-22 + + Simplify QgsAuthOAuth2Method::getOAuth2Bundle + + We do not need to use deleteLater here for QgsAuthOAuth2Config, + so we can considerably simplify the logic + + (cherry picked from commit ed4b2833f315e425c31ad3e938081dfbcd57f8f4) + +Nyall Dawson 2024-11-22 + + Remove unused member + + (cherry picked from commit 82d29dbc7a4bc7d44f5894a611aa49ad1a1f8f16) + +Nyall Dawson 2024-11-22 + + Protect config cache in QgsAuthOAuth2Method with read/write lock + + This is being accessed across multiple threads, so we need + to protect access accordingly + + (cherry picked from commit f4215ae55c8f1f4fc94ba53163b5e17555327b54) + +Nyall Dawson 2024-11-22 + + OAuth2 config cache should not be static + + We only ever create one instance of a QgsAuthMethod, so there's no need + for this member to be static + + (cherry picked from commit d740a31d3536defee4b66ea6c5b2b3e192b1967e) + +Nyall Dawson 2024-11-22 + + Fix some warnings + + (cherry picked from commit 01b6c2f59a6408e061be1a4548f196d4568c5123) + +Nyall Dawson 2024-11-22 + + Avoid false-positive clang-tidy warning + + (cherry picked from commit e55b879d5cedbeb4bbf81896e32b2ded69f4c241) + +Nyall Dawson 2024-11-22 + + Use QgsDebugMsgLevel/QgsDebugError + + (cherry picked from commit c8ba38c794aa3e94f8dc3a6085ba2de715839079) + +Nyall Dawson 2024-11-21 + + Use new style connect + + (cherry picked from commit 62535511882530b01f58f0489a27d08c276aeffd) + +Nyall Dawson 2024-11-21 + + Sync QgsO2::link override + + (cherry picked from commit ac2ca3b16ff5faa43dc5f598ddad8bc5640ec776) + +Nyall Dawson 2024-11-21 + + Fix build + + (cherry picked from commit b83064a945c3fb9655228c62c60428b67aaca333) + +Nyall Dawson 2024-11-25 + + Use custom logging function to suppress default o2 library debug messages + + (cherry picked from commit 3291e9ff48bd8b23358a7d171adc381ce0aa2a58) + +Nyall Dawson 2024-11-27 + + Resync O2 library embedded copy + +Merge: e3c245c6766 a1d0bf0f5dc +Julien Cabieces 2024-11-27 + + Merge pull request #59616 from qgis/backport-59337-to-release-3_40 + + [Backport release-3_40] fix(layertreeview): add checks on selectedModel to avoid segfault + +Jürgen E. Fischer 2024-11-27 + + save QGIS_AUTH_PASSWORD_FILE before FCGI_Accept() destroys it + +Jacky Volpes 2024-11-26 + + fix(layertreeview): add checks on nullptr to avoid segfaults + + check calls to layerTreeModel(), selectedModel(), and use of mProxyModel + +Merge: a17650dc45d 69d50ce490a +Alexander Bruy 2024-11-27 + + Merge pull request #59606 from qgis/backport-59589-to-release-3_40 + + [Backport release-3_40] Fix use of inline data for SVG content + +Nyall Dawson 2024-11-27 + + Accept - in mime types + +Nyall Dawson 2024-11-26 + + Fix use of inline data for SVG content + + Fixes #59575 + +Jacky Volpes 2024-08-09 + + fix(vertextool): topo edition when map CRS != layer CRS + +Jürgen E. Fischer 2024-11-22 + + Release of 3.40.1 + Jürgen E. Fischer 2024-11-22 translation update for 3.40.1 from transifex diff --git a/debian/changelog b/debian/changelog index 33eae6438a48..8dc4775fff6b 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,8 +1,14 @@ -qgis (3.40.1) UNRELEASED; urgency=medium +qgis (3.40.2) UNRELEASED; urgency=medium + + * Release of 3.40.2 + + -- Jürgen E. Fischer Fri, 20 Dec 2024 13:00:48 +0100 + +qgis (3.40.1) unstable; urgency=medium * Release of 3.40.1 - -- Jürgen E. Fischer Fri, 22 Nov 2024 13:07:29 +0100 + -- Jürgen E. Fischer Fri, 20 Dec 2024 13:00:48 +0100 qgis (3.40.0) unstable; urgency=medium diff --git a/linux/org.qgis.qgis.appdata.xml.in b/linux/org.qgis.qgis.appdata.xml.in index 380a81fc9078..d39612fe8929 100644 --- a/linux/org.qgis.qgis.appdata.xml.in +++ b/linux/org.qgis.qgis.appdata.xml.in @@ -25,6 +25,7 @@ QGIS +