Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adding more check geometry processings #46

Open
wants to merge 335 commits into
base: processing_checkalgorithm_dangle
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
335 commits
Select commit Hold shift + click to select a range
b5c5029
qgis.h: proposes a generic templated method from qgsDoubleNear and qg…
lbartoletti Dec 14, 2023
491d133
QgsGeometryUtilsBase: Add a fuzzy compare method for comparing pairs
lbartoletti Dec 14, 2023
a7d2269
QgsPointXY: replace compare code by a fuzzyCompare call
lbartoletti Dec 14, 2023
6b1c38a
Add fuzzyDistanceEqual method for alternative comparison in QGIS
lbartoletti Dec 14, 2023
41ff06f
QgsPointXY: add a method distanceCompare using fuzzyDistancEqual
lbartoletti Dec 14, 2023
cef1363
Merge pull request #55440 from nirvn/qgis_project_save
lbartoletti Dec 15, 2023
c7ef9cf
QgsGeometryCheckerUtils: remove pointsFuzzyEqual and use from QgsPoin…
lbartoletti Dec 14, 2023
e15d6dd
rewrites methods with static_assert and add a noexcept
lbartoletti Dec 15, 2023
6d20a95
remove comments no more required
lbartoletti Dec 15, 2023
8d83b8d
QgsGeometryUtils: add test for fuzzyEqual and fuzzyDistanceEqual
lbartoletti Dec 15, 2023
e5a8aa3
Allow data defined color control for simple 3d line rendering
nyalldawson May 31, 2022
db47e93
Merge branch 'master' into qgs3dwindow
wonder-sk Dec 17, 2023
7c679b6
Remove outdated comment
nyalldawson Dec 17, 2023
47b0fac
qgs3dutils: Fix a narrowing conversion in screenSpaceError
ptitjano Dec 12, 2023
9de7e13
Fix(3D): rename Qgs3DMapSceneEntity::SceneState to SceneContext to av…
benoitdm-oslandia Dec 8, 2023
fa49d14
sip fixes
wonder-sk Dec 18, 2023
8952595
Increase point cloud 3d rendering tolerance test a bit
wonder-sk Dec 18, 2023
89d3377
Fix 3d billboard symbol height is ignored
nyalldawson Dec 18, 2023
d871e87
Update src/app/3d/qgspoint3dsymbolwidget.cpp
nyalldawson Dec 18, 2023
0e457b8
[PyQt6] Rename pyqt mock files
troopa81 Dec 13, 2023
a6bd9d9
[PyQt6] Make PyQtcompat compatible with any Qt version
troopa81 Dec 13, 2023
52420c3
Replace QVariant.Int with QMetaType.Type.Int
troopa81 Dec 14, 2023
6d044df
Fix NULL QVariant
troopa81 Dec 18, 2023
0825029
Don't treat AABB with any non-zero extents as empty
nyalldawson Dec 18, 2023
5ce4c3e
Update src/3d/chunks/qgschunknode_p.cpp
nyalldawson Dec 18, 2023
a6db9ad
Update style.qss
AlisterH Dec 19, 2023
c0fed0f
Update style.qss
AlisterH Dec 19, 2023
1d1c556
Merge pull request #53255 from jbp35/qgs3dwindow
wonder-sk Dec 19, 2023
6b38cb5
Add fuzzy equal methods
lbartoletti Dec 19, 2023
ed93538
[PyQt6] Fix QAction & QShortcut which live in a different module
troopa81 Dec 19, 2023
7ff0fd6
Merge pull request #55652 from AlisterH/patch-11
m-kuhn Dec 19, 2023
acbf096
[processing] Fix "Extract vertices" (native:extractvertices) alg
agiudiceandrea Dec 19, 2023
4d2446c
[processing] Fix "Extract specific vertices" (native:extractspecificv…
agiudiceandrea Dec 19, 2023
0da80e4
Update grass7.txt
AlisterH Dec 20, 2023
b64b203
Merge pull request #55672 from AlisterH/patch-12
lbartoletti Dec 20, 2023
55d0b1c
fix mesh calculator time steps
vcloarec Dec 9, 2023
50b8842
Update installer_data.py
thbaumann Dec 20, 2023
4ceceea
Add WITH_QTWEBENGINE cmake flag
nyalldawson Dec 14, 2023
705f863
Mke webkit and qt6 combination raise an explicit error instead
nyalldawson Dec 14, 2023
0bc932e
If webengine support enabled, link core to webengine
nyalldawson Dec 14, 2023
9a7bcf5
WebEngine widgets are also required
nyalldawson Dec 15, 2023
78c4c12
Webengine and 3d are no longer mutually exclusive
nyalldawson Dec 20, 2023
1e3a5a1
We don't need WebEngineWidgets on qt6 builds
nyalldawson Dec 20, 2023
c16d94c
Don't link to WebEngineWidgets on qt6 builds
nyalldawson Dec 20, 2023
b2b1d75
Remove unnecessary definition
nyalldawson Dec 20, 2023
d04355c
Build with webengine support on Qt6 CI builds
nyalldawson Dec 20, 2023
ae797f4
Update untwine to 1.1.0
uclaros Dec 15, 2023
2153d32
drop ept generation support for pdal provider
uclaros Dec 18, 2023
f009536
QgisInterface: add meshMenu to iface.
lbartoletti Dec 13, 2023
bc6fdf7
Add \since QGIS 3.34
lbartoletti Dec 13, 2023
841487c
Merge pull request #1 from thbaumann/thbaumann-handle-empty-repositories
thbaumann Dec 21, 2023
9ddad6e
Add maptip for raster layer GetFeatureInfo
pathmapper Dec 21, 2023
5d0493e
Don't show detailed color tooltips for disabled color buttons
nyalldawson Dec 20, 2023
56ec321
Disable specular color widget when material has no shininess
nyalldawson Dec 20, 2023
2d56e1f
Fix shininess parameter ignored when data defined colors
nyalldawson Dec 19, 2023
1dacfbc
Update tests
nyalldawson Dec 19, 2023
4c00af5
Allow source widgets to specify the group name for layer source
nyalldawson Dec 13, 2023
7b41268
Ensure that default shape properties for 3d symbols are only
nyalldawson Dec 20, 2023
6ee0bf4
Use pyogctest 1.1.1
pblottiere Dec 23, 2023
1a8f661
NoData harmonization
baswein Dec 24, 2023
e7c43d0
Keep const (address code review)
pathmapper Dec 24, 2023
5ad02eb
Merge pull request #55680 from pathmapper/gfi_maptip
m-kuhn Dec 24, 2023
8c63798
Merge pull request #55679 from thbaumann/master
m-kuhn Dec 24, 2023
6793765
Add tag and adjust message level
pathmapper Dec 24, 2023
7a15d9b
Fix deprecation warning
pathmapper Dec 24, 2023
02cf773
improved styling for featurinfo html output #49851, todo update test
astroidex Aug 29, 2022
557b5e0
Merge pull request #55706 from pathmapper/logging
m-kuhn Dec 25, 2023
f6addcd
Promote 3d point symbol shape to enum class
nyalldawson Dec 23, 2023
017bed7
fix test
baswein Dec 26, 2023
cef5c6d
Apply suggestions from code review
baswein Dec 27, 2023
8203b89
Merge pull request #55704 from baswein/NoData-Harmonization
m-kuhn Dec 27, 2023
0a3dda3
Some adjustments
pathmapper Dec 28, 2023
357ea81
Update tests
pathmapper Dec 28, 2023
74ed77e
Add HAVE_CRASH_HANDLER check before setting exception handler to avoi…
nstrahl Dec 28, 2023
83d4bd2
Update mask
nyalldawson Dec 27, 2023
709c6a3
Don't rebuild lights in 3d scenes if they are unchanged
nyalldawson Dec 27, 2023
4406ef4
Update links from http to https in README.md
gregorywaynepower Dec 29, 2023
3ba62a8
Merge pull request #55722 from gregorywaynepower/master
m-kuhn Dec 29, 2023
b8b2a84
Fix handling of phong shader ambient color
nyalldawson Dec 19, 2023
63b3c2c
Update test image
nyalldawson Dec 29, 2023
e79ad06
add failing test reproducing #52288
CodeBardian Dec 30, 2023
7c45558
Add `editorWidgetSetup` to the copy constructor of `QgsFieldPrivate`
CodeBardian Dec 30, 2023
a579191
Better wording for metadata dialog
gioman Dec 30, 2023
925c99a
Fix case
gioman Dec 31, 2023
6a6b1e1
Bump actions/stale from 8 to 9
dependabot[bot] Jan 1, 2024
e87e19d
Bump actions/upload-artifact from 3 to 4
dependabot[bot] Jan 1, 2024
c885aba
Bump actions/setup-python from 4 to 5
dependabot[bot] Jan 1, 2024
5eaff93
Bump actions/labeler from 4 to 5
dependabot[bot] Jan 1, 2024
3d0706d
Bump tj-actions/changed-files from 40 to 41
dependabot[bot] Jan 1, 2024
ad4898d
Revert "Bump actions/upload-artifact from 3 to 4"
nyalldawson Jan 2, 2024
3728a24
Fix labeler workflow
nyalldawson Jan 2, 2024
abf6753
Use same phong shader function for non data defined colors
nyalldawson Jan 2, 2024
c644bb7
Fix handling of opacity with custom phong material
nyalldawson Jan 2, 2024
8d03902
Update test masks
nyalldawson Jan 2, 2024
6880909
[OAPIF] Fix bad performance on servers with large /api response docum…
rouault Jan 2, 2024
fe09179
Update src/server/services/wms/qgswmsrenderer.cpp
pathmapper Jan 3, 2024
d4a76a4
Update test mask
nyalldawson Jan 3, 2024
673f0b1
[core] Rely on QgsColorUtils encoding/decoding to handle CMYK
nirvn Dec 29, 2023
f0b4c06
Fix typo in QgsColorUtils::colorToString
nirvn Dec 30, 2023
0bf5f90
Fix creation of QgsGradientColorRamp stops from properties
nirvn Dec 30, 2023
2fcf6a4
Fix QgsLayoutMapOverview test
nirvn Dec 30, 2023
58ff964
Fix QgsMapBoxGlConverter and QgsSymbolLayerReadSld tests
nirvn Dec 30, 2023
b9f2825
Address code review, improve HTML formatting, fix remaining test
pathmapper Jan 4, 2024
e3c5359
Insure that QgsColorUtils::colorFromString handle hex color strings
nirvn Jan 4, 2024
5b50eab
Merge pull request #55547 from gacarrillor/patch-3
elpaso Jan 4, 2024
976ffd5
Merge pull request #55718 from nirvn/cmyk_encode_decode
nirvn Jan 4, 2024
fddb236
Produce valid content for strings with HTML tag chars
pathmapper Jan 4, 2024
cbc01f0
Update Postgres tests
pathmapper Jan 4, 2024
dfd2686
Disable msys2 workflow for now
nyalldawson Jan 4, 2024
4591da0
Test for regression #55753 sparse pgrasters
Joonalai Jan 4, 2024
37c890e
Prevent cache from being invalidated with sparse rasters
Joonalai Jan 4, 2024
e06c8ee
[tiledscene] Catch type error exception when parsing tilesetVersion
nirvn Jan 5, 2024
73e9d7e
Allow building grass support under qt6 builds
nyalldawson Jan 5, 2024
d77765f
Fix mac build
nyalldawson Jan 5, 2024
9a0cbc0
Build grass plugin on qt6 ci
nyalldawson Jan 5, 2024
1ba6f2c
Update more tests
pathmapper Jan 6, 2024
4763dd0
Test also layer server Abstract
pathmapper Jan 6, 2024
8d70d4b
Merge pull request #55751 from pathmapper/gfi_formatting
elpaso Jan 7, 2024
9a86bf5
Merge pull request #55759 from Joonalai/sparse-pgrasters
elpaso Jan 7, 2024
5ac1774
Lazy initialize authentication framework
nyalldawson Dec 6, 2023
50a3106
Add framework to temporarily halt flushing of QgsSettings to ini
nyalldawson Jan 8, 2024
34a6f50
RAT: fix save to DBF
elpaso Jan 8, 2024
452c344
Merge pull request #55782 from elpaso/bugfix-gh55711-rat-dbf-save
elpaso Jan 8, 2024
9ded559
initial support for mesh labeling
alexbruy Nov 14, 2023
f0ec3a0
finalize mesh label rendering
uclaros Dec 22, 2023
b2d7a9f
ok sip
uclaros Dec 28, 2023
103e6dd
ok sip
uclaros Dec 28, 2023
02ab913
address review
uclaros Jan 4, 2024
bd04f31
add comment
uclaros Jan 4, 2024
c8468d4
cmon sip...
uclaros Jan 4, 2024
35ea603
add labeling tests
uclaros Jan 5, 2024
b55bea8
tune tests
uclaros Jan 8, 2024
3e7d376
Add method to push formatted text to Processing feedback
nyalldawson Jan 9, 2024
b674a7c
Add method to format processing output values as strings
nyalldawson Jan 9, 2024
3e10cf9
Add method to get HTML formatted versions of output values for
nyalldawson Jan 9, 2024
3c17921
Use nicely formatted results in processing logs
nyalldawson Jan 9, 2024
b066605
Allow clicking processing output file/folder/html names in the
nyalldawson Jan 9, 2024
48b5b5f
Add raster/vector layer dialog: offer Microsoft Azure Data Lake Stora…
rouault Jan 9, 2024
4be4653
qgs3dmapscene: Refactorize duplicated code into updateScene
benoitdm-oslandia Dec 8, 2023
c39ef93
qgs3dmapscene: Avoid recomputing scene context on scene update
ptitjano Jan 8, 2024
976c86d
Implement lazy initialization of default style library
nyalldawson Jan 9, 2024
2f490ec
Add test to ensure style has not been initialized when running
nyalldawson Jan 9, 2024
833cd73
Rename method for clarity
nyalldawson Jan 9, 2024
bdfb14d
Modernize test
nyalldawson Jan 9, 2024
6d6f036
Correctly start application before running test
nyalldawson Jan 9, 2024
1323535
Perform backward compatibility of settings only for changed settings
nyalldawson Dec 7, 2023
d0d7465
Avoid multiple QgsSettings construction during backward migration
nyalldawson Jan 8, 2024
84f334b
[PyQt6] Add new file to migrate from 3 to 4
troopa81 Dec 14, 2023
e4c03a7
[PyQt6] Better deal with newline in import
troopa81 Dec 14, 2023
7ba07fa
[PyQt6] unscoppe enums
troopa81 Dec 19, 2023
9d12ae8
[PyQt6] Add scope for enums and get rid of PyQt5.XXX import
troopa81 Dec 20, 2023
c9437a5
fix flake8
troopa81 Dec 20, 2023
99f3cfb
Fix spell check
troopa81 Jan 3, 2024
8e19402
s/3to4/pyqt5_to_pyqt6
troopa81 Jan 10, 2024
062ce03
[PyQt6] remove QTextCodec and rename pyqt5_from_qvariant_by_type
troopa81 Dec 20, 2023
fa6ab5c
[PyQt6] Fix conversions.sip
troopa81 Dec 20, 2023
54fd608
[PyQt6] s/SIP_PYQT5_ONLY/SIP_PYQT5_RUN
troopa81 Dec 21, 2023
0e644d1
[PyQt6] remove QTextCodec arg instead of removing the method
troopa81 Jan 10, 2024
193842d
Change vector layer data sources ONLY after applying all other
nyalldawson Dec 13, 2023
aa8a29b
Add test
nyalldawson Jan 10, 2024
51e6383
If source is changed in vector layer properties, resync dialog
nyalldawson Jan 10, 2024
aa50c0c
Add file source widget for OGR provider
nyalldawson Jan 10, 2024
2fdcc3c
QgsGeometryUtilsBase: add sqrDistance3D and distance3D
lbartoletti Dec 14, 2023
a590b0e
QgsGeometryUtils: add sqrDistance3D and distance3d for QgsPoint using…
lbartoletti Dec 14, 2023
4a2f871
QgsPoint: Uses the (sqr)distance3D method from QgsGeometryUtilsBase
lbartoletti Dec 14, 2023
c9d4a02
dox: Adds a \warning tag. Adds a mention about caller's responsibilit…
lbartoletti Jan 10, 2024
60dbd16
Add vertical scrollbar to raster calculator dialog
DelazJ Nov 5, 2023
441a46f
Bump follow-redirects in /resources/server/src/landingpage
dependabot[bot] Jan 10, 2024
9099fa4
Add a physically based metal rough material
nyalldawson Dec 30, 2023
8260b7b
A different shader graph is required for qt 6
nyalldawson Jan 5, 2024
53e3a45
Mark class as private
nyalldawson Jan 5, 2024
839d623
Remove outdated tooltips
nyalldawson Jan 10, 2024
dbf0b5e
Use flags instead of booleans
nyalldawson Jan 9, 2024
f134fe1
Add --skip-loading-plugins flag for qgis_process
nyalldawson Jan 9, 2024
eef5b79
Fix some issues with categorized renderer exports to SLD
nyalldawson Jan 10, 2024
db7efca
Move test to categorized renderer tests, simplify
nyalldawson Jan 10, 2024
7b75785
Modernise test
nyalldawson Jan 10, 2024
aa47316
Modernize test
nyalldawson Jan 10, 2024
c6eca93
QgsAbstrcatGeometry and childs: Add fuzzyEqual and fuzzyDistanceEqual…
lbartoletti Dec 15, 2023
11bb69b
CMake: add fuzzyComparisons tests for QgsCircularString, QgsGeometryC…
lbartoletti Dec 20, 2023
ea4b713
QgsLineString.py: add tests for fuzzyComparisons
lbartoletti Dec 20, 2023
c3e15ec
QgsPolygon.py: add tests for fuzzyComparisons
lbartoletti Dec 20, 2023
085c5ab
QgsMultiPolygon.py: add tests for fuzzyComparisons
lbartoletti Dec 20, 2023
606ca59
QgsMultiPoint.py: add tests for fuzzyComparisons
lbartoletti Dec 20, 2023
07cc443
QgsPoint.py: add tests for fuzzyComparisons
lbartoletti Dec 20, 2023
77ab4f6
QgsMultiLineString.py: add tests for fuzzyComparisons
lbartoletti Dec 20, 2023
17d3357
QgsCircularString.py: add tests for fuzzyComparisons
lbartoletti Dec 20, 2023
752d11c
QgsGeometryCollection.py: add tests for fuzzyComparisons
lbartoletti Dec 20, 2023
e7f4b12
QgsCompoundCurve.py: add tests for fuzzyComparisons
lbartoletti Dec 20, 2023
52fb991
tests python: Uses self.assertNotEqual( geom1, geom2 ) instead of ass…
lbartoletti Jan 10, 2024
c16938c
DOX: add a more descriptive information on fuzzyDistanceEqual. What i…
lbartoletti Jan 10, 2024
7bdf16d
QgsAbstractGeometry: Update dox for fuzzyEqual and fix \see tags
lbartoletti Jan 11, 2024
47d377e
Optimization: uses constData for coordinates
lbartoletti Jan 11, 2024
b55b411
tests python: Uses self.assert{True|False} insert of assert (not)
lbartoletti Jan 11, 2024
a3413a9
Drop the unused Transient flag (#55592)
YoannQDQ Jan 12, 2024
bc08518
Fix some antipatterns in tests
nyalldawson Jan 12, 2024
1b857d4
Fix 'implicit capture of this is deprecated' warnings
nyalldawson Jan 11, 2024
3f940bc
Fix raster provider capabilities retrieved from wrong call
nyalldawson Jan 12, 2024
5318d3f
Add test masks
nyalldawson Jan 12, 2024
c7b36cb
Update masks
nyalldawson Jan 12, 2024
4dca98c
Improve more tests
nyalldawson Jan 12, 2024
cc618ec
Don't use hardcoded list of providers which support disk based files,
nyalldawson Jan 10, 2024
f37dabf
Use better name extraction logic by using parsed uri parts
nyalldawson Jan 10, 2024
66d2fc7
If we know the data provider, then refine the possible layer types
nyalldawson Jan 10, 2024
8934bb8
Rely more on provider metadata
nyalldawson Jan 10, 2024
8f300e5
Loosen check for uris by not checking whether they actually exist as …
nyalldawson Jan 10, 2024
3a03569
Add missing linebreak in qgis_process help
DelazJ Jan 13, 2024
05be576
Add tabulation for better alignment of options' description
DelazJ Jan 13, 2024
0f8f9c9
Add embedded external copy of PDF4QT
nyalldawson Jan 14, 2024
294de85
Skip formatting check on PDF4QT lib
nyalldawson Dec 20, 2023
e3e1156
Revert "Disable msys2 workflow for now"
nyalldawson Jan 14, 2024
cac1150
[wfs] Use a more tolerant approach to matching the desired WFS
nyalldawson Nov 14, 2023
3aed1e2
about: also show compile-time vs. runtime python version (refs #54491)
jef-n Jan 15, 2024
ad60cb3
[api] Add iface.blockActiveLayerChanges
nyalldawson Jan 15, 2024
f55812b
Remove deprecated smartmatch from sipify
nyalldawson Jan 15, 2024
ca292a4
Fix warnings when running spell check
nyalldawson Jan 15, 2024
07bd7e5
QString fixup
nyalldawson Jan 15, 2024
a81b217
block failing tests
troopa81 Apr 17, 2023
f10f3d2
[PyQt6] Build binding on CI
troopa81 Dec 7, 2023
3e27ac5
[PyQt6] Build PyQt6
troopa81 Dec 7, 2023
d6ac456
[PyQt6] fix qputenv call
troopa81 Dec 19, 2023
1343d4e
[PyQt6] Remove failing null_from_qvariant_converter
troopa81 Jan 15, 2024
9267de3
[PyQt6] add failing tests
troopa81 Jan 15, 2024
2010167
Fix lengthy hang when restoring projects with temporal layers
nyalldawson Dec 13, 2023
13aacd9
Check that plugins can be loaded before enabling them in qgis_process
nyalldawson Jan 10, 2024
d1f85ff
Allow constructing wmts layers without prior knowledge of
nyalldawson Dec 7, 2023
87fa33f
Use phong function in instanced renderer
nyalldawson Jan 3, 2024
f969a91
Consistently use ambientColor/diffuseColor/specularColor as parameter…
nyalldawson Jan 3, 2024
a98d405
Remove redundant identical fragment shader
nyalldawson Jan 3, 2024
0215bf0
Add API to control coefficients (strength) of ambient/diffuse/specular
nyalldawson Jan 3, 2024
2262aee
Add a simple widget for setting percentage values via spin and slider
nyalldawson Jan 3, 2024
0aaf9ad
Add UI for controlling phong ambient/diffuse/specular strengths
nyalldawson Jan 3, 2024
37e4b8a
Add test mask
nyalldawson Jan 4, 2024
da06bde
Use double instead of float in high level class to avoid
nyalldawson Jan 4, 2024
91d633f
Fix clang warning
nyalldawson Jan 4, 2024
301fa16
Fix clang tidy warning
nyalldawson Jan 5, 2024
4338233
Handle attribute strength outside of shader
nyalldawson Jan 15, 2024
cbc17ea
Don't use floats when we don't have to
nyalldawson Jan 15, 2024
e238820
Processing: Add Check Geometry algorithm: Dangle
lbartoletti Nov 29, 2023
6892921
Processing: Add Check Geometry algorithm: Multipart
lbartoletti Dec 1, 2023
1ad8509
Processing: Add Check Geometry algorithm: Area (polygon)
lbartoletti Dec 5, 2023
bc365f9
Processing: Add test for Check Area algorithm
Djedouas Dec 19, 2023
5b7f4f8
Processing: Add test for Check Dangle algorithm
Djedouas Dec 20, 2023
d9f19f0
Processing: Add test for Check Multipart algorithm
Djedouas Dec 20, 2023
9f93167
Processing: Add Check Geometry algorithm and test: Angle
Djedouas Dec 20, 2023
3715515
Processing: Add Check Geometry algorithm and test: Segment length
Djedouas Dec 21, 2023
746a6af
Processing: Add Check Geometry algorithm and test: Self intersection
Djedouas Jan 11, 2024
2f772af
Processing: Add Check Geometry algorithm and test: Line layer interse…
Djedouas Jan 12, 2024
bd5fefc
Processing: Add Check Geometry algorithm and test: Degenerate polygon
Djedouas Jan 12, 2024
7b262e7
Processing: Add Check Geometry algorithm and test: Contained
Djedouas Jan 12, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
301 changes: 301 additions & 0 deletions .ci/test_blocklist_qt6.txt
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,304 @@ test_core_layerdefinition
# MSSQL requires the MSSQL docker
PyQgsProviderConnectionMssql
PyQgsStyleStorageMssql

# To be fixed
PyQgsAFSProvider
PyQgsAggregateMappingWidget
PyQgsAnimatedMarkerSymbolLayer
PyQgsArcGisRestUtils
PyQgsPythonProvider
PyQgsAggregateCalculator
PyQgsAnnotation
PyQgsAnnotationLayer
PyQgsAnnotationLineItem
PyQgsAnnotationLineTextItem
PyQgsAnnotationMarkerItem
PyQgsAnnotationPointTextItem
PyQgsAnnotationPolygonItem
PyQgsAttributeForm
PyQgsAttributeTableModel
PyQgsAuthenticationSystem
PyQgsBatchGeocodeAlgorithm
PyQgsBlendModes
PyQgsBlockingProcess
PyQgsBlockingNetworkRequest
PyQgsBookmarkManager
PyQgsBookmarkModel
PyQgsCategorizedSymbolRenderer
PyQgsCodeEditorPython
PyQgsCodeEditor
PyQgsColorRamp
PyQgsColorRampLegendNode
PyQgsColorUtils
PyQgsCombinedStyleModel
PyQgsCoordinateFormatter
PyQgsConditionalStyle
PyQgsConnectionRegistry
PyQgsXmlUtils
PyQgsDateTimeEdit
PyQgsDateTimeStatisticalSummary
PyQgsDelimitedTextProvider
PyQgsEditWidgets
PyQgsElevationProfileCanvas
PyQgsEmbeddedSymbolRenderer
PyQgsExifTools
PyQgsExpression
PyQgsExpressionBuilderWidget
PyQgsFeature
PyQgsFeatureSink
PyQgsFieldComboBoxTest
PyQgsFieldFormattersTest
PyQgsProject
PyQgsProjectBadLayers
PyQgsProjectStyleSettings
PyQgsFeatureIterator
PyQgsFeatureRequest
PyQgsFieldDomain
PyQgsFieldDomainWidget
PyQgsField
PyQgsFields
PyQgsFieldModel
PyQgsFieldMappingWidget
PyQgsFloatingWidget
PyQgsGdalProvider
PyQgsGeometryGeneratorSymbolLayer
PyQgsGeometryTest
PyQgsGpsLogger
PyQgsGraduatedSymbolRenderer
PyQgsGroupLayer
PyQgsHashLineSymbolLayer
PyQgsHighlight
PyQgsJsonUtils
PyQgsLabelObstacleSettings
PyQgsLabelSettingsWidget
PyQgsLabelThinningSettings
PyQgsLayerMetadata
PyQgsLayerMetadataProviderPython
PyQgsLayerMetadataProviderOgr
PyQgsLayerMetadataResultsModel
PyQgsLayerTree
PyQgsLayerTreeView
PyQgsLayoutAtlas
PyQgsLayoutElevationProfile
PyQgsLayoutExporter
PyQgsLayoutFrame
PyQgsLayoutManagerModel
PyQgsLayoutPageCollection
PyQgsLayoutView
PyQgsLayoutGuide
PyQgsLayoutHtml
PyQgsLayoutItem
PyQgsLayoutItemComboBox
PyQgsLayoutLabel
PyQgsLayoutLegend
PyQgsLayoutMap
PyQgsLayoutItemMapItemClipPathSettings
PyQgsLayoutMapGrid
PyQgsLayoutMapOverview
PyQgsLayoutMarker
PyQgsLayoutPage
PyQgsLayoutPicture
PyQgsLayoutPolygon
PyQgsLayoutPolyline
PyQgsLayoutScaleBar
PyQgsLayoutShape
PyQgsLineSymbolLayers
PyQgsLineburstSymbolLayer
PyQgsLocator
PyQgsMapBoxGlStyleConverter
PyQgsMapLayer
PyQgsMapLayerComboBox
PyQgsMapLayerModel
PyQgsMapLayerUtils
PyQgsMapRenderer
PyQgsMarkerLineSymbolLayer
PyQgsMetadataBase
PyQgsMemoryProvider
PyQgsMeshLayerProfileGenerator
PyQgsNetworkAccessManager
PyQgsNullSymbolRenderer
PyQgsNewGeoPackageLayerDialog
PyQgsNewVectorTableDialog
PyQgsOgcUtils
PyQgsOGRProviderGpkg
PyQgsOGRProviderSqlite
PyQgsPalLabelingBase
PyQgsPalLabelingCanvas
PyQgsPalLabelingLayout
PyQgsPalLabelingPlacement
PyQgsPlot
PyQgsPointCloudAttributeComboBox
PyQgsPointCloudAttributeModel
PyQgsPointCloudClassifiedRenderer
PyQgsPointCloudLayerProfileGenerator
PyQgsPointCloudRgbRenderer
PyQgsPointDisplacementRenderer
PyQgsProcessExecutablePt1
PyQgsProcessExecutablePt2
PyQgsProcessingInPlace
PyQgsProcessingAlgRunner
PyQgsProcessingParameters
PyQgsProcessingPackageLayersAlgorithm
PyQgsProjectMetadata
PyQgsProjectUtils
PyQgsProviderConnectionModel
PyQgsProviderConnectionGpkg
PyQgsProviderConnectionSpatialite
PyQgsSensorManager
PyQgsSensorModel
PyQgsStyleStorageSpatialite
PyQgsStyleStorageGpkg
PyQgsProviderSublayerDetails
PyQgsProviderSublayerModel
PyQgsRangeSlider
PyQgsRangeWidgets
PyQgsRasterAttributeTable
PyQgsRasterAttributeTableModel
PyQgsRasterFileWriter
PyQgsRasterLayer
PyQgsRasterLayerProfileGenerator
PyQgsRasterLayerRenderer
PyQgsRasterLineSymbolLayer
PyQgsRasterPipe
PyQgsRasterTransparencyWidget
PyQgsProviderUtils
PyQgsRenderContext
PyQgsRubberBand
PyQgsSingleSymbolRenderer
PyQgsShapefileProvider
PyQgsSvgCache
PyQgsTabfileProvider
PyQgsTextRenderer
PyQgsOGRProvider
PyQgsShortcutsManager
PyQgsSimpleLineSymbolLayer
PyQgsSingleItemModel
PyQgsSpatialiteProvider
PyQgsSymbolLayer
PyQgsRasterRendererCreateSld
PyQgsSymbolLayerCreateSld
PyQgsSymbolLayerReadSld
PyQgsArrowSymbolLayer
PyQgsSymbolExpressionVariables
PyQgsStringUtils
PyQgsStyleModel
PyQgsSubsetStringEditorProviderRegistry
PyQgsSymbolLayerUtils
PyQgsTemporalUtils
PyQgsTextDocument
PyQgsTextFormatWidget
PyQgsTreeWidgetItem
PyQgsUnitTypes
PyQgsValidityChecks
PyQgsValidityResultsWidget
PyQgsVectorFieldMarkerSymbolLayer
PyQgsVectorFileWriter
PyQgsVectorLayer
PyQgsVectorLayerElevationProperties
PyQgsVectorLayerFeatureCounter
PyQgsVectorLayerCache
PyQgsVectorLayerEditBuffer
PyQgsVectorLayerEditUtils
PyQgsVectorLayerProfileGenerator
PyQgsVectorLayerSelectedFeatureSource
PyQgsVectorLayerShapefile
PyQgsVectorLayerTemporalProperties
PyQgsVectorLayerUtils
PyQgsZonalStatistics
PyQgsVirtualLayerProvider
PyQgsVirtualLayerDefinition
PyQgsLayerDefinition
PyQgsWFSProvider
PyQgsOapifProvider
PyQgsConsole
PyQgsDBManagerGpkg
PyQgsDBManagerSpatialite
PyQgsFileDownloader
PyQgsSettings
PyQgsSettingsEntry
PyQgsSettingsTreeNode
PyQgsAuxiliaryStorage
PyQgsFieldValidator
PyQgsDBManagerSQLWindow
PyQgsSelectiveMasking
PyQgsRasterAttributeTableWidget
PyQgsServerWMS
PyQgsServerApi
PyQgsServerWMSGetFeatureInfo
PyQgsServerWMSGetMap
PyQgsServerWMSGetLegendGraphic
PyQgsServerWMSGetPrint
PyQgsServerWMSGetPrintExtra
PyQgsServerWMSGetPrintOutputs
PyQgsServerWMSGetPrintAtlas
PyQgsServerWMSDimension
PyQgsServerSettings
PyQgsServerAccessControlWMSGetlegendgraphic
PyQgsServerAccessControlWFSTransactional
PyQgsServerCacheManager
PyQgsServerWFS
PyQgsServerWFST
PyQgsServerLocaleOverride
PyQgsAuthManagerPasswordOWSTest
PyQgsServerServices
PyQgsArcGisPortalUtils
PyQgsBinaryWidget
PyQgsClassificationMethod
PyQgsGeocoderLocatorFilter
PyQgsNominatimGeocoder
PyQgsGoogleMapsGeocoder
PyQgsGpxProvider
PyQgsHistoryProviderRegistry
PyQgsLegendPatchShape
PyQgsMapCanvas
PyQgsMapCanvasAnnotationItem
PyQgsMergedFeatureRenderer
PyQgsMeshLayerElevationProperties
PyQgsNumericFormat
PyQgsPointCloudDataProvider
PyQgsPointCloudExtentRenderer
PyQgsPointClusterRenderer
PyQgsTableCell
PyQgsSearchWidgetWrapper
PyQgsSimpleFillSymbolLayer
PyQgsSymbol
PyQgsTiles
PyQgsRelationEditorWidgetRegistry
PyQgsVectorTile
PyQgsVtpk
ProcessingGeneralTest
ProcessingGuiTest
ProcessingModelerTest
ProcessingProjectProviderTest
ProcessingParametersTest
ProcessingGenericAlgorithmsTest
ProcessingQgisAlgorithmsTestPt1
ProcessingQgisAlgorithmsTestPt2
ProcessingQgisAlgorithmsTestPt3
ProcessingQgisAlgorithmsTestPt4
ProcessingQgisAlgorithmsTestPt5
ProcessingGdalAlgorithmsGeneralTest
ProcessingGdalAlgorithmsRasterTest
ProcessingGdalAlgorithmsVectorTest
ProcessingCheckValidityAlgorithmTest
ProcessingGrass7AlgorithmsImageryTest
ProcessingGrass7AlgorithmsRasterTestPt1
ProcessingGrass7AlgorithmsRasterTestPt2
ProcessingGrass7AlgorithmsVectorTest
ProcessingOtbAlgorithmsTest
PyCoreAdditions
PyPythonRepr
TestQgsRandomMarkerSymbolLayer
ProcessingToolsTest
test_app_qgisapppython
PyQgsCesium3dTilesLayer
PyQgsCoordinateReferenceSystemModel
PyQgsFilledLineSymbolLayer
PyQgsPainting
PyQgsProviderRegistry
PyQgsTiledSceneLayer
PyQgsTiledSceneTile
ProcessingScriptUtilsTest
PyQgsColorScheme
PyQgsSearchWidgetToolButton
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Checks: 'bugprone-*,-bugprone-easily-swappable-parameters,-bugprone-virtual-near-miss'
5 changes: 3 additions & 2 deletions .docker/docker-qgis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ cmake \
-DWITH_STAGED_PLUGINS=ON \
-DWITH_GRASS7=${WITH_GRASS7} \
-DWITH_GRASS8=${WITH_GRASS8} \
-DWITH_GRASS_PLUGIN=${WITH_QT5} \
-DWITH_GRASS_PLUGIN=${WITH_GRASS8} \
-DSUPPRESS_QT_WARNINGS=ON \
-DENABLE_TESTS=ON \
-DENABLE_MODELTEST=${WITH_QT5} \
Expand All @@ -101,13 +101,14 @@ cmake \
-DWITH_QWTPOLAR=OFF \
-DWITH_APIDOC=OFF \
-DWITH_ASTYLE=OFF \
-DWITH_BINDINGS=${WITH_QT5} \
-DWITH_BINDINGS=ON \
-DWITH_SERVER=ON \
-DWITH_SERVER_LANDINGPAGE_WEBAPP=${WITH_QT5} \
-DWITH_ORACLE=ON \
-DWITH_PDAL=ON \
-DWITH_QTSERIALPORT=ON \
-DWITH_QTWEBKIT=${WITH_QT5} \
-DWITH_QTWEBENGINE=${WITH_QTWEBENGINE} \
-DWITH_OAUTH2_PLUGIN=${WITH_QT5} \
-DORACLE_INCLUDEDIR=/instantclient_19_9/sdk/include/ \
-DORACLE_LIBDIR=/instantclient_19_9/ \
Expand Down
3 changes: 1 addition & 2 deletions .docker/docker-qgis-clangtidy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,12 +35,11 @@ curl -XGET https://raw.githubusercontent.com/llvm/llvm-project/llvmorg-14.0.6/cl
echo "::endgroup::"

echo "${bold}Run clang-tidy on modifications...${endbold}"
CLANG_TIDY_CHECKS=$(cat tests/code_layout/clangtidy_checks.txt | grep -ve "^#" | grep -ve "^$" | tr -d '\n')

# We need to add build/src/test dir as extra include directories because when clang-tidy tries to process qgstest.h
# it has no compile_commands.json instructions to know what are include directories
# It manages to figure out for other headers though, I don't get how...
git diff -U0 HEAD^ | python3 clang-tidy-diff.py -p1 -path=${CTEST_BUILD_DIR} -use-color -checks="$CLANG_TIDY_CHECKS" -extra-arg=-I${CTEST_BUILD_DIR}/src/test/ | tee clang-tidy.log
git diff -U0 HEAD^ | python3 clang-tidy-diff.py -p1 -path=${CTEST_BUILD_DIR} -use-color -extra-arg=-I${CTEST_BUILD_DIR}/src/test/ | tee clang-tidy.log

echo -e "\e[1;34mTo reproduce locally:"
echo -e "\e[1;34m - launch cmake with option -DCMAKE_EXPORT_COMPILE_COMMANDS=ON"
Expand Down
21 changes: 20 additions & 1 deletion .docker/qgis3-qt6-build-deps.dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
ARG DISTRO_VERSION=38

FROM fedora:${DISTRO_VERSION} as single
FROM fedora:${DISTRO_VERSION} as binary-for-oracle
MAINTAINER Matthias Kuhn <[email protected]>

RUN dnf -y --refresh install \
Expand Down Expand Up @@ -32,11 +32,17 @@ RUN dnf -y --refresh install \
PDAL \
PDAL-libs \
PDAL-devel \
perl-YAML-Tiny \
proj-devel \
protobuf-devel \
protobuf-lite-devel \
python3-devel \
python3-pyqt6 \
python3-pyqt6-devel \
python3-qscintilla-qt6 \
python3-qscintilla-qt6-devel \
python3-termcolor \
PyQt-builder \
qca-qt6-devel \
qt6-qt3d-devel \
qt6-qtbase-devel \
Expand All @@ -49,9 +55,11 @@ RUN dnf -y --refresh install \
qt6-qtdeclarative-devel \
qt6-qt5compat-devel \
qt6-qtmultimedia-devel \
qt6-qtwebengine-devel \
qtkeychain-qt6-devel \
qwt-qt6-devel \
qscintilla-qt6-devel \
sip6 \
spatialindex-devel \
sqlite-devel \
unzip \
Expand Down Expand Up @@ -82,3 +90,14 @@ RUN unzip instantclient-sqlplus-linux.x64-19.9.0.0.0dbru.zip

ENV PATH="/instantclient_19_9:${PATH}"
ENV LD_LIBRARY_PATH="/instantclient_19_9:${LD_LIBRARY_PATH}"
ENV LANG=C.UTF-8

FROM binary-for-oracle as binary-only

RUN dnf -y --refresh install \
python3-gdal \
python3-nose2 \
python3-psycopg2 \
python3-pyyaml

FROM binary-only
Loading