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

Settings registry qep124 #42239

Closed
wants to merge 377 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
377 commits
Select commit Hold shift + click to select a range
15c00d7
[optimization][symbology] Rely on enum for ellipse marker symbol laye…
nirvn Mar 18, 2021
7f19211
Remove "stale" label when a comment is added
m-kuhn Mar 3, 2021
12354dc
No need to checkout
m-kuhn Mar 3, 2021
f5968d1
Move code for generating the annotation "balloon" style background
nyalldawson Mar 19, 2021
f2203ea
Add geometry util to calculate a point along a segment offset in a pe…
nyalldawson Mar 17, 2021
87ba773
Add method to determine closest side of rectangle to a point
nyalldawson Mar 18, 2021
7d68b21
[feature] New callout style for curved lines
nyalldawson Mar 17, 2021
8672f06
Spelling
nyalldawson Mar 19, 2021
84dc794
Spell again
nyalldawson Mar 19, 2021
79cd445
Minor cleanup of INSTALL.md
kannes Mar 19, 2021
2c26b24
Remove redundant qgis::as_const implementation, move to c++17 std::as…
nyalldawson Mar 20, 2021
d571df6
Fix build
nyalldawson Mar 20, 2021
352b073
Can't use std::as_const in headers which sip reads...
nyalldawson Mar 20, 2021
9b80f42
Fix build again
nyalldawson Mar 20, 2021
b1d1b36
Remove redundant qgsOverload, use qOverload instead
nyalldawson Mar 20, 2021
04d9c65
Remove accidental checkin
nyalldawson Mar 20, 2021
907d1da
Identation
nyalldawson Mar 20, 2021
04f1579
Indentation
nyalldawson Mar 20, 2021
1e29845
Indentation
nyalldawson Mar 20, 2021
c4cd940
More indentation
nyalldawson Mar 20, 2021
b308e59
More indentation
nyalldawson Mar 20, 2021
58f7f51
Fix building QGIS when WITH_GUI is false
nirvn Mar 20, 2021
514a6cd
Fix building QGIS when WITH_GEOREFERENCER is false
nirvn Mar 20, 2021
8b7cc02
Switch WITH_GUI and WITH_GEOREFERENCER to false on the OGC CI
nirvn Mar 20, 2021
ea78df3
Update tooltips for scale and rotate features tools
uclaros Mar 20, 2021
ecabbd3
Definitely no more Q_FOREACH
nyalldawson Mar 21, 2021
260e067
...and DEFINITELY no 'foreach'!!
nyalldawson Mar 21, 2021
b1d809e
Fixups
nyalldawson Mar 21, 2021
c1e26f9
Fix build
nyalldawson Mar 21, 2021
9e3b89b
Fix warning
nyalldawson Mar 21, 2021
995c68e
add temporal controller ui file to GUI_UI headers
vcloarec Mar 21, 2021
7aedf30
[feature] Add new "balloon" (speech bubble) callout style
nyalldawson Mar 19, 2021
3abe2b9
Expose control over balloon wedge width
nyalldawson Mar 20, 2021
a68befc
Unit tests
nyalldawson Mar 21, 2021
0adb7f0
Fix markup typo in INSTALL.md
agiudiceandrea Mar 21, 2021
7fc68e1
add build test for Qt 5.15
t0b3 Mar 20, 2021
a9eec0c
fix: notification(arg1) is deprecated: Use the 3-args version of noti…
t0b3 Mar 20, 2021
99616c3
fix: replace deprecated QString::SkipEmptyParts with Qt::SkipEmptyParts
t0b3 Mar 21, 2021
f57c343
fix: build w/o 3D for Qt 5.15 (many deprecation warnings)
t0b3 Mar 20, 2021
e9849ab
Use c++17 std::clamp instead of qBound
nyalldawson Mar 20, 2021
23ba780
Fix use of TAB to explore dialogs
DelazJ Mar 21, 2021
f77cc81
Fix some ArcGis VectorTileServer urls cannot be directly loaded
nyalldawson Mar 21, 2021
66ffbc3
[processing] When running "point on surface" with "create point for
nyalldawson Mar 21, 2021
988b9fa
Better error reporting in Point on Surface
nyalldawson Mar 21, 2021
9721739
Don't allow temporal dock to be shrunk shorter than its contents
nyalldawson Mar 22, 2021
c1f2d1d
Explicitly state in temporal controller dock that the visible
nyalldawson Mar 22, 2021
a979e5d
An experiment
nyalldawson Mar 22, 2021
745230c
Super minimal build
nyalldawson Mar 22, 2021
52c6e79
Super minimal
nyalldawson Mar 22, 2021
3580b67
Bash
nyalldawson Mar 22, 2021
eab992a
No qgis_process
nyalldawson Mar 22, 2021
687b1c7
Even less
nyalldawson Mar 22, 2021
8af180a
Gross hack
nyalldawson Mar 22, 2021
7bf3be8
Add svg
nyalldawson Mar 22, 2021
1993cd4
Another dumb hack
nyalldawson Mar 22, 2021
4945f81
hacks
nyalldawson Mar 22, 2021
7476422
Less hacky
nyalldawson Mar 22, 2021
7087e79
No more hacks
nyalldawson Mar 22, 2021
87fb181
Maybe
nyalldawson Mar 22, 2021
7fba4cb
Get the important stuff right
nyalldawson Mar 22, 2021
8879d93
Dbus component
nyalldawson Mar 22, 2021
855897a
Remove other workflows temporarily
nyalldawson Mar 22, 2021
e0df351
Fix capitalisation
nyalldawson Mar 22, 2021
aafa6f9
Cleanups
nyalldawson Mar 22, 2021
98f270e
Revert "Remove other workflows temporarily"
nyalldawson Mar 22, 2021
2b8f919
Disable qt6 workflow for now
nyalldawson Mar 22, 2021
538d04f
reuse existing constructor
3nids Mar 19, 2021
f4426dd
add filter line edit to UI
3nids Mar 19, 2021
ba787ca
create a sort filter proxy model
3nids Mar 19, 2021
17701be
use filter proxy in the widget
3nids Mar 19, 2021
5225212
move line edit to bottom
3nids Mar 19, 2021
147ff1a
avoid removing already set icon
3nids Mar 19, 2021
cfb5006
fix docs
3nids Mar 19, 2021
b651bb4
avoid extra calls to clearing the selection
3nids Mar 19, 2021
b2951e6
better layout
3nids Mar 22, 2021
a11985f
disable Docker build workflow (#42374)
3nids Mar 22, 2021
9991772
Free space to build docker images
m-kuhn Mar 22, 2021
3f667e5
enable workflow again
3nids Mar 22, 2021
4383ccc
Prevent collapse/expand in Dynamic SVG parameters table (#42185)
jgrocha Mar 22, 2021
0a0e1a8
remove leftover from PR (#42373)
3nids Mar 22, 2021
1f5ecb7
Fix QgsAbstractRelationEditorWidget redondancy mNmRelation/nNmRelationId
domi4484 Mar 17, 2021
d35eb67
Added two missing calls (afterSetRelations and updateUi)
domi4484 Mar 18, 2021
39d14d0
Allow specifying width and height for GetPrint images
m-kuhn Mar 15, 2021
aa063a6
Warning when image ratio prevents export
m-kuhn Mar 17, 2021
600a215
Everybody wears a mask but how long will it last
m-kuhn Mar 18, 2021
75e76c0
Fix cannot add qlr from browser (fixes #42366)
nyalldawson Mar 22, 2021
a78f846
[processing] Fix "Centroids" alg with multipart geometries
agiudiceandrea Mar 22, 2021
dec4f6e
[processing] Centroids: optimize for multipart and better error repor…
agiudiceandrea Mar 22, 2021
3b1f479
[pyqgis] move constructor docstring after the class docstring
3nids Mar 22, 2021
e2d5e35
run sipify
3nids Mar 22, 2021
c889015
fix sipify test
3nids Mar 22, 2021
71d8e00
Fix mesh layer properties dialog doesn't open at the temporal page
nyalldawson Mar 23, 2021
33f2ff5
Rename "Temporal" option to "Dynamic Temporal Control" in vector
nyalldawson Mar 23, 2021
599f720
add findAllGroups to recursively get all groups
jgrocha Mar 22, 2021
b7425fe
Add optional recursive = false to findGroups
jgrocha Mar 22, 2021
d950591
Typo s/is/if
jgrocha Mar 22, 2021
ed7011d
typo fix in sip
jgrocha Mar 22, 2021
f00781a
translation string fix
jef-n Mar 19, 2021
b7e32d0
fix update_news.pl and update NEWS.md
jef-n Mar 23, 2021
67fa60a
[Server] Speed up WMS GetCapabilities by removing featureCount
rldhont Mar 23, 2021
cd44b33
Set missing nm relation for QgsAbstractRelationEditorConfigWidget
domi4484 Mar 22, 2021
f045097
Fix doc and remove QOverload
domi4484 Mar 22, 2021
9f371eb
spelling fixes
jef-n Mar 23, 2021
88acb4b
fix build without gui
3nids Mar 23, 2021
501db3c
Fix auth basic non-ascii encoding
elpaso Mar 23, 2021
8d27e07
Change default search completion mode in the attribute table for stri…
jgrocha Mar 21, 2021
05331ef
[processing][saga] Fix misleading 'layer could not be generated' error
nyalldawson Mar 24, 2021
986f5f5
QT version base fix
3nids Mar 24, 2021
a1fe555
fix cmake for Qt6
3nids Mar 24, 2021
329c243
more Qt version base
3nids Mar 24, 2021
243178a
fix include dirs
3nids Mar 24, 2021
08eb1a5
fix XML
3nids Mar 24, 2021
73fab43
drop qMapLessThanKey in Qt6 builds
3nids Mar 24, 2021
9e98d61
improved Qt6 workflow
3nids Mar 24, 2021
cade8d3
Add QCA builds to deps
3nids Mar 24, 2021
11c53dc
Add a mechanism for data providers to supply QgsMapLayerConfigWidgetF…
nyalldawson Mar 22, 2021
65849a6
More constify
nyalldawson Mar 22, 2021
727e700
Add api to indicate that a QgsMapLayerConfigWidgetFactory factory
nyalldawson Mar 22, 2021
9289704
Add mechanism for QgsMapLayerConfigWidgetFactory to create sub widgets
nyalldawson Mar 22, 2021
e2d5efe
Move WMS-T specific temporal settings out of QgsRasterLayerProperties
nyalldawson Mar 22, 2021
77dabb8
Move postgres raster temporal settings out of QgsRasterLayerProperties
nyalldawson Mar 22, 2021
7f80955
Fix build
nyalldawson Mar 22, 2021
27bbbae
Fix build
nyalldawson Mar 22, 2021
975e283
Avoid cmake noise
nyalldawson Mar 22, 2021
72a8e32
Another attempt
nyalldawson Mar 22, 2021
a5a404d
More build fixes
nyalldawson Mar 22, 2021
6925743
Dox
nyalldawson Mar 22, 2021
70374a7
Fix build
nyalldawson Mar 22, 2021
d5b78f6
Move ui folders to standard place
nyalldawson Mar 23, 2021
4707be5
More build fixes
nyalldawson Mar 23, 2021
db4188a
Cleanup WMS-T settings widget (pt 1)
nyalldawson Mar 23, 2021
734550d
WMS-T settings cleanup part 2
nyalldawson Mar 23, 2021
6e6b555
Add better __repr__ methods for QgsDateTimeRange, QgsDateRange
nyalldawson Mar 23, 2021
925895a
Add "allAvailableTemporalRanges" getter/setter to QgsRasterDataProvid…
nyalldawson Mar 23, 2021
d124182
Declare metatype for QgsDate/DateTimeRange
nyalldawson Mar 23, 2021
eb72bf7
Register comparators for QgsDate/DateTimeRange
nyalldawson Mar 23, 2021
78ba3da
[FEATURE] For wms-t layers which expose a non-contiguous set of
nyalldawson Mar 23, 2021
40beae2
Move widget frames around for most logical ordering
nyalldawson Mar 23, 2021
35419e3
Tweak radio text when showing a combo of predefined dates
nyalldawson Mar 23, 2021
73438f1
Tweak label
nyalldawson Mar 23, 2021
128a38b
Fix spelling
nyalldawson Mar 23, 2021
efedb5c
Fix GDAL overwrite and some minor fixes (#42447)
nicogodet Mar 24, 2021
b2279b0
Initializing a QString with an enum is nonsense
m-kuhn Mar 24, 2021
15db38b
[qt6] QDesktopWidget is gone
m-kuhn Mar 24, 2021
1206bfa
[qt6] The return type of size() is long long
m-kuhn Mar 24, 2021
98149d2
Add dox
m-kuhn Mar 24, 2021
9ccf722
[memory] Add support for list field types
nyalldawson Mar 24, 2021
c613ad9
[memory] Always use QVariant::StringList for list fields with a strin…
nyalldawson Mar 24, 2021
ae1d32b
Fix invalid cast of QgsProperty as bool to store in strings
nyalldawson Mar 25, 2021
87d9579
[API] qgsDoubleToString new fix to avoid printing -0 (#42435)
lbartoletti Mar 25, 2021
50264f4
Use shift+middle mouse as a universal drag-zoom
uclaros Mar 23, 2021
8b8f4b6
Add method to merge a list of possibly non-contigous date/datetime ra…
nyalldawson Mar 24, 2021
cec7a90
Add method to collate all used time ranges for layers in project
nyalldawson Mar 24, 2021
0286ea6
Add a time unit for "irregular steps"
nyalldawson Mar 24, 2021
6e92430
Push all available temporal ranges to temporal controller when
nyalldawson Mar 24, 2021
7788c91
[feature] Add temporal navigation step for "source timestamps"
nyalldawson Mar 24, 2021
1caba7e
Don't force users to hit apply to setup static wms-t settings
nyalldawson Mar 25, 2021
c83b4df
[labeling] Fix handling of data-defined buffers (both UI/UX and rende…
nirvn Mar 25, 2021
616862b
Add some methods to parse ISO8601 duration strings
nyalldawson Mar 25, 2021
00a31e3
Correctly populate all available temporal ranges for WMS-T services
nyalldawson Mar 25, 2021
16b6903
De-duplicate code
nyalldawson Mar 25, 2021
0af5be8
Fix build
nyalldawson Mar 25, 2021
5e8d727
Don't try to generate all available dates for wmst servers with a hug…
nyalldawson Mar 25, 2021
2d12622
[wms] Use a combobox for selecting from available reference times
nyalldawson Mar 25, 2021
33c2020
If a wms-t layer is the first temporal layer loaded into a project,
nyalldawson Mar 25, 2021
fc5126f
Make QgsDxfExport Qt6 ready
m-kuhn Mar 24, 2021
1351f9a
Fix dox
m-kuhn Mar 24, 2021
d9b5bb9
Fix invalid cast of QgsProperty as bool to store in strings
m-kuhn Mar 25, 2021
328db80
Update src/core/vectortile/qgsmapboxglstyleconverter.cpp
m-kuhn Mar 25, 2021
8d12d7f
Add missing include
m-kuhn Mar 25, 2021
745b33f
Avoid taking reference to temporary
m-kuhn Mar 25, 2021
a2c8fdf
Prevent double expensive calls to loadFields in OGR
elpaso Mar 23, 2021
3ff896b
Apply suggestions from code review
elpaso Mar 25, 2021
06f3a6c
[qt6] CMake build adjustments for qt6
3nids Mar 23, 2021
58cafec
Fix auth basic encoding (no auth system)
elpaso Mar 25, 2021
c02ec6c
Fix wms autorization logic
elpaso Mar 25, 2021
2f88b8d
Revert: utf8->latin1
elpaso Mar 25, 2021
218bd1a
Fix TestQgsGeometry::splitGeometry() test with geos 3.9
lbartoletti Mar 25, 2021
f02a677
[qt6] Add comparison operators for QVariant
m-kuhn Mar 25, 2021
a8f5315
Fix compiling with legacy Qt (aka Qt5)
m-kuhn Mar 25, 2021
0210f5c
[qt6] goodbye QDesktopWidget
m-kuhn Mar 25, 2021
3b8f1d1
[labeling] Fix handling of data-defined callouts (both UI/UX and rend…
nirvn Mar 25, 2021
104a35f
Much faster QgsTemporalRange::mergeRanges
nyalldawson Mar 25, 2021
aa2c612
More tests
nyalldawson Mar 25, 2021
7bf3dfc
Fix crash when changing point cloud to Attribute by Ramp renderer
nyalldawson Mar 25, 2021
e189517
Don't always try to calculate temporal extents for all layer types --…
nyalldawson Mar 26, 2021
35aea72
[qt6] Switch from qrand to std::rand
m-kuhn Mar 24, 2021
6cf32d0
add oracle provider connection test
troopa81 Feb 24, 2021
a03367e
Comment Oracle failing test when proj < 7
troopa81 Mar 3, 2021
258970c
unblock oracle ci test
troopa81 Mar 17, 2021
5e90f39
Run providers tests in different CI jobs
troopa81 Mar 17, 2021
8fd5cb7
fix build 21.04
troopa81 Mar 22, 2021
877bd47
Extract postgres specific from vectorfilewriter test
troopa81 Mar 22, 2021
a04710c
Extract postgres specific from PyQgsVectorLayerUtils test
troopa81 Mar 22, 2021
4216384
integrate ctest command in build script
troopa81 Mar 22, 2021
5c007b7
add variable to upload artifact when tests are triggered
troopa81 Mar 22, 2021
015ddc0
add warning message for duplicated instructions
troopa81 Mar 22, 2021
4e40979
Move postgres related test for getfeatureinfo in appropriate file
troopa81 Mar 23, 2021
faf7d47
remove artifact after extracting
troopa81 Mar 25, 2021
fd3881b
add disk space log
troopa81 Mar 25, 2021
c5df3b0
reduce again docker deps for oracle
troopa81 Mar 25, 2021
4b476de
Fix GUI on layout attributetable widget enabling/disabling geometry f…
signedav Mar 26, 2021
b8ce396
QgsNumericFormatContext : use QString instead of QChar
m-kuhn Mar 24, 2021
6b25319
Tackle some QStringList double definitions
m-kuhn Mar 24, 2021
b1161f7
Switch QString ref functions to QStringView
m-kuhn Mar 24, 2021
dac0fa2
fix submission in nightlies
jef-n Mar 26, 2021
44435b3
Add an extremely horrible hack to allow the python bindings to build
nyalldawson Mar 26, 2021
5af4d71
Instead of double-iterating over features caused by calling
nyalldawson Mar 26, 2021
86d1195
Simplify API
nyalldawson Mar 26, 2021
c97d457
Fix a bunch of warnings emitted by gcc11
nyalldawson Mar 26, 2021
64c3a7b
Port GDAL's cpl::down_cast to qgis::down_cast
nyalldawson Mar 26, 2021
91c15e9
Revert "Fix a bunch of warnings emitted by gcc11"
nyalldawson Mar 26, 2021
a021950
Fix warning: loop variable ‘xyz’ of type ‘const string&’ {aka ‘const …
nyalldawson Mar 26, 2021
d6316df
Add missing include
nyalldawson Mar 27, 2021
4c0d484
Fix bind to temporary warnings
nyalldawson Mar 27, 2021
7564fce
Fix unused variable warning when building without server plugins
nyalldawson Mar 27, 2021
b537cad
Use qgis::down_cast to avoid nonnull warnings
nyalldawson Mar 27, 2021
3fd0cd3
Undefined classes for mocing
m-kuhn Mar 24, 2021
6072e46
double define
m-kuhn Mar 24, 2021
984f5d5
quuid
m-kuhn Mar 24, 2021
abf2e38
forward declaration issue
m-kuhn Mar 24, 2021
93aa42f
[qt6] Use RecursiveMutex instead of QMutex( QMutex::Recursive )
m-kuhn Mar 24, 2021
5b88d46
fix 79572de47614
jef-n Mar 27, 2021
b10ed86
osgeo4w: fix nightlies with nightlies of proj and gdal
jef-n Mar 27, 2021
94ba7a7
[qt6] Changed size of size(), length()
m-kuhn Mar 24, 2021
81165bf
containers
m-kuhn Mar 25, 2021
b6fec5e
[qt6] QVector and QList are unified
m-kuhn Mar 27, 2021
25a8949
[qt6] Use QTransform instead of QMatrix
m-kuhn Mar 24, 2021
e82cb3c
[qt6] QPrinter api changed
m-kuhn Mar 24, 2021
4fbf85c
[qt6] Qt6 uses utf-8 by default
m-kuhn Mar 24, 2021
943740d
[qt6] compatibility with [[deprecated]] attribute
m-kuhn Mar 27, 2021
e7fcc7b
Fix sipify
m-kuhn Mar 27, 2021
9cad955
Fix fid collisions when pasting features into a gpkg/spatialite dataset
nirvn Mar 27, 2021
2d5c10c
use cmake native FindPython (#42497)
3nids Mar 28, 2021
b6594f6
Fix AbstractRelationEditorWidget not updating/inserting referenced layer
domi4484 Mar 28, 2021
3dd6ef7
[dbmanager] Fix deprecation warning
agiudiceandrea Mar 28, 2021
25b6f06
CMake build fix for qt plugins.
640kb Mar 26, 2021
1ca1c68
Calculate all available temporal ranges for postgres raster temporal …
nyalldawson Mar 24, 2021
d7bc56c
If a postgres raster layer is set to take the date from a field,
nyalldawson Mar 25, 2021
3ad307b
Allow drawing QgsRubberBand polygons using a fill symbol
nyalldawson Mar 29, 2021
535c7a6
[api] Add a public method to clear the rubber band for the
nyalldawson Mar 29, 2021
c8d46b4
fix mesh 3D level of detail slide bar
vcloarec Mar 27, 2021
fb714b0
Update src/ui/3d/qgsmesh3dpropswidget.ui
vcloarec Mar 28, 2021
90494a5
Add QgsVectorFileWriter::writeAsVectorFormatV3
nyalldawson Mar 29, 2021
d93092f
Fix a bunch of clazy warnings in QgsVectorFileWriter
nyalldawson Mar 29, 2021
3f45337
[processing] Properly style the history dialog's python command string
nirvn Mar 29, 2021
2c569ce
[processing] Use algorithm icon and friendly display names in the his…
nirvn Mar 29, 2021
8e270e5
[processing] Add a help string to tell users what they can do in the …
nirvn Mar 29, 2021
6ef8a5b
static inline settings
domi4484 Mar 30, 2021
537cf4f
Sip part running
domi4484 Mar 31, 2021
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
  •  
  •  
  •  
44 changes: 0 additions & 44 deletions .ci/config.ctest
Original file line number Diff line number Diff line change
Expand Up @@ -46,54 +46,10 @@ IF(NOT WIN32)
SET(BoldWhite "${Esc}[1;37m")
ENDIF(NOT WIN32)

# Requires a track on the CDash server
#ctest_start(Experimental TRACK Travis)
ctest_start(Experimental)
ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE BUILDRES NUMBER_WARNINGS NUMWARN NUMBER_ERRORS NUMERR)

# Create link to test results
# CDash on OTB requires the date to be set for the search to work (used to be UTC-6, seems to be UTC now)
SET(ENV{TZ} "UTC")
EXECUTE_PROCESS(COMMAND date +%Y-%m-%d OUTPUT_VARIABLE CDASH_DATE)
SET(RESULT_LINK "http://cdash.orfeo-toolbox.org/index.php?project=QGIS&filtercount=1&showfilters=1&field1=buildname/string&compare1=63&value1=$ENV{CTEST_BUILD_NAME}&date=${CDASH_DATE}")
EXECUTE_PROCESS(COMMAND curl --data-urlencode "url=${RESULT_LINK}" -s http://tinyurl.com/api-create.php
OUTPUT_VARIABLE SHORTURL)

SET(IGNORE_BUILD_FAILURES $ENV{IGNORE_BUILD_FAILURES})
IF(NOT IGNORE_BUILD_FAILURES)
IF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0)
ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
MESSAGE("")
MESSAGE(" ${Yellow}Test results submitted to:${ColorReset} ${SHORTURL}")
MESSAGE("")
MESSAGE( FATAL_ERROR " ${Red}Build failed. Not running tests.${ColorReset}" )
MESSAGE("")
ENDIF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0)
ENDIF(NOT IGNORE_BUILD_FAILURES)
ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" PARALLEL_LEVEL ${PARALLEL_LEVEL} RETURN_VALUE TESTRES)
IF(NOT ${NUMWARN} EQUAL 0 OR NOT ${TESTRES} EQUAL 0)
ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
MESSAGE("")
MESSAGE(" ${Yellow}Test results submitted to:${ColorReset} ${SHORTURL}" )
MESSAGE("")
SET(LEVEL "")
IF(NOT ${TESTRES} EQUAL 0)
SET(TESTRES_MESSAGE " Tests failed.")
SET(LEVEL FATAL_ERROR)
ENDIF(NOT ${TESTRES} EQUAL 0)
IF(NOT ${NUMWARN} EQUAL 0)
SET(WARNING_MESSAGE " Build warnings found.")
IF(NOT IGNORE_BUILD_FAILURES)
SET(LEVEL FATAL_ERROR)
ENDIF(NOT IGNORE_BUILD_FAILURES)
ENDIF(NOT ${NUMWARN} EQUAL 0)
MESSAGE( ${LEVEL} " ${Red}${TESTRES_MESSAGE} ${WARNING_MESSAGE}${ColorReset}" )
ENDIF(NOT ${NUMWARN} EQUAL 0 OR NOT ${TESTRES} EQUAL 0)

IF(NOT ${TESTRES} EQUAL 0)
MESSAGE("")
MESSAGE(" ${BoldGreen}Success${ColorReset}")
MESSAGE(" ${Green}All tests passed successfully.${ColorReset}")
MESSAGE("")
MESSAGE("")
ENDIF(NOT ${TESTRES} EQUAL 0)
27 changes: 27 additions & 0 deletions .ci/config_build.ctest
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
include(${CMAKE_CURRENT_LIST_DIR}/config.ctest)

# Requires a track on the CDash server
ctest_start(Experimental)

ctest_build (BUILD "${CTEST_BINARY_DIRECTORY}" RETURN_VALUE BUILDRES NUMBER_WARNINGS NUMWARN NUMBER_ERRORS NUMERR)


SET(IGNORE_BUILD_FAILURES $ENV{IGNORE_BUILD_FAILURES})
IF(NOT IGNORE_BUILD_FAILURES)
IF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0)
ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
MESSAGE("")
MESSAGE(" ${Yellow}Test results submitted to:${ColorReset} ${SHORTURL}")
MESSAGE("")
MESSAGE( FATAL_ERROR " ${Red}Build failed. Not running tests.${ColorReset}" )
MESSAGE("")
ENDIF(NOT ${BUILDRES} EQUAL 0 OR NOT ${NUMERR} EQUAL 0)
ENDIF(NOT IGNORE_BUILD_FAILURES)

IF(${BUILDRES} EQUAL 0 OR ${NUMERR} EQUAL 0)
MESSAGE("")
MESSAGE(" ${BoldGreen}Success${ColorReset}")
MESSAGE(" ${Green}Build passed successfully.${ColorReset}")
MESSAGE("")
MESSAGE("")
ENDIF(${BUILDRES} EQUAL 0 OR ${NUMERR} EQUAL 0)
26 changes: 26 additions & 0 deletions .ci/config_test.ctest
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
include(${CMAKE_CURRENT_LIST_DIR}/config.ctest)

# Requires a track on the CDash server
ctest_start(Experimental)

ctest_test (BUILD "${CTEST_BINARY_DIRECTORY}" PARALLEL_LEVEL ${PARALLEL_LEVEL} RETURN_VALUE TESTRES)
IF(NOT ${TESTRES} EQUAL 0)
ctest_submit (RETRY_COUNT 3 RETRY_DELAY 30)
MESSAGE("")
MESSAGE(" ${Yellow}Test results submitted to:${ColorReset} ${SHORTURL}" )
MESSAGE("")
SET(LEVEL "")
IF(NOT ${TESTRES} EQUAL 0)
SET(TESTRES_MESSAGE " Tests failed.")
SET(LEVEL FATAL_ERROR)
ENDIF(NOT ${TESTRES} EQUAL 0)
MESSAGE( ${LEVEL} " ${Red}${TESTRES_MESSAGE} ${ColorReset}" )
ENDIF(NOT ${TESTRES} EQUAL 0)

IF(NOT ${TESTRES} EQUAL 0)
MESSAGE("")
MESSAGE(" ${BoldGreen}Success${ColorReset}")
MESSAGE(" ${Green}All tests passed successfully.${ColorReset}")
MESSAGE("")
MESSAGE("")
ENDIF(NOT ${TESTRES} EQUAL 0)
3 changes: 3 additions & 0 deletions .ci/ogc/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ cmake -GNinja \
-DWITH_QWTPOLAR=OFF \
-DWITH_APIDOC=OFF \
-DWITH_ASTYLE=OFF \
-DWITH_GEOREFERENCER=OFF \
-DWITH_ANALYSIS=ON \
-DWITH_DESKTOP=OFF \
-DWITH_GUI=OFF \
-DWITH_BINDINGS=ON \
-DWITH_SERVER=ON \
-DWITH_SERVER_PLUGINS=ON \
Expand Down
3 changes: 0 additions & 3 deletions .ci/test_blocklist.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ qgis_openclutilstest
# Relies on a broken/unreliable 3rd party service
qgis_layerdefinition

# Oracle requires the Oracle docker
PyQgsOracleProvider

# MSSQL requires the MSSQL docker
PyQgsProviderConnectionMssql

Expand Down
22 changes: 22 additions & 0 deletions .docker/docker-compose-testing-oracle.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: '3'
services:

oracle:
image: oslandia/oracle-slim-for-qgis:18.4.0-xe
environment:
- ORACLE_SID=XE
- ORACLE_PWD=adminpass
- ORACLE_PDB=ORCLPDBTEST
- ORACLE_CHARACTERSET=AL32UTF8
ports:
- 1521:1521

qgis-deps:
tty: true
image: qgis/qgis3-build-deps-bin-only:${DOCKER_TAG}
volumes:
- ${GH_WORKSPACE}:/root/QGIS
links:
- oracle
env_file:
- docker-variables.env
22 changes: 22 additions & 0 deletions .docker/docker-compose-testing-postgres.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
version: '3'
services:
postgres:
build:
dockerfile: Dockerfile-postgis
context: ../tests/testdata
environment:
- ALLOW_IP_RANGE="172.18.0.0/16"
# The following files are added in Dockerfile-postgis
- SSL_CERT_FILE=/etc/ssl/certs/postgres.crt
- SSL_KEY_FILE=/etc/ssl/private/postgres.key
- SSL_CA_FILE=/etc/ssl/certs/qgis_ca.crt

qgis-deps:
tty: true
image: qgis/qgis3-build-deps-bin-only:${DOCKER_TAG}
volumes:
- ${GH_WORKSPACE}:/root/QGIS
links:
- postgres
env_file:
- docker-variables.env
27 changes: 2 additions & 25 deletions .docker/docker-compose-testing.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,5 @@
version: '3'
services:
postgres:
build:
dockerfile: Dockerfile-postgis
context: ../tests/testdata
environment:
- ALLOW_IP_RANGE="172.18.0.0/16"
# The following files are added in Dockerfile-postgis
- SSL_CERT_FILE=/etc/ssl/certs/postgres.crt
- SSL_KEY_FILE=/etc/ssl/private/postgres.key
- SSL_CA_FILE=/etc/ssl/certs/qgis_ca.crt

# oracle:
# image: oslandia/oracle-for-qgis-tests-configured:18.4.0-xe
# environment:
# - ORACLE_SID=XE
# - ORACLE_PWD=adminpass
# - ORACLE_PDB=ORCLPDBTEST
# - ORACLE_CHARACTERSET=AL32UTF8
# ports:
# - 1521:1521


# Proving very fragile!
# mssql:
Expand All @@ -31,12 +10,10 @@ services:

qgis-deps:
tty: true
image: qgis_image
image: qgis/qgis3-build-deps-bin-only:${DOCKER_TAG}
volumes:
- ${GH_WORKSPACE}:/root/QGIS
links:
- postgres
# - oracle
# links:
# - mssql
env_file:
- docker-variables.env
44 changes: 44 additions & 0 deletions .docker/docker-qgis-build-qt6.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
#!/usr/bin/env bash

set -e

mkdir /usr/src/qgis/build
cd /usr/src/qgis/build || exit 1

CLANG_WARNINGS="-Wrange-loop-construct"

cmake -GNinja \
-DWITH_QT6=ON \
-DWITH_QUICK=OFF \
-DWITH_3D=OFF \
-DWITH_ANALYSIS=OFF \
-DWITH_DESKTOP=OFF \
-DWITH_GUI=OFF \
-DWITH_STAGED_PLUGINS=ON \
-DWITH_GRASS=OFF \
-DWITH_QGIS_PROCESS=OFF \
-DWITH_QTWEBKIT=OFF \
-DWITH_QT5SERIALPORT=OFF \
-DSUPPRESS_QT_WARNINGS=ON \
-DENABLE_MODELTEST=ON \
-DENABLE_PGTEST=OFF \
-DENABLE_SAGA_TESTS=OFF \
-DENABLE_MSSQLTEST=OFF \
-DWITH_QSPATIALITE=OFF \
-DWITH_QWTPOLAR=OFF \
-DWITH_APIDOC=OFF \
-DWITH_ASTYLE=OFF \
-DWITH_CUSTOM_WIDGETS=OFF \
-DWITH_DESKTOP=OFF \
-DWITH_BINDINGS=OFF \
-DWITH_SERVER=OFF \
-DWITH_ORACLE=OFF \
-DDISABLE_DEPRECATED=ON \
-DCXX_EXTRA_FLAGS="${CLANG_WARNINGS}" \
-DCMAKE_C_COMPILER=/bin/clang \
-DCMAKE_CXX_COMPILER=/bin/clang++ \
-DADD_CLAZY_CHECKS=ON \
-DWERROR=TRUE \
..

ninja
5 changes: 2 additions & 3 deletions .docker/docker-qgis-build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ cmake \
-GNinja \
-DUSE_CCACHE=OFF \
-DWITH_QUICK=OFF \
-DWITH_3D=ON \
-DWITH_3D=${WITH_3D} \
-DWITH_STAGED_PLUGINS=ON \
-DWITH_GRASS=OFF \
-DSUPPRESS_QT_WARNINGS=ON \
Expand Down Expand Up @@ -84,7 +84,7 @@ echo "::endgroup::"
#######
echo "${bold}Building QGIS...${endbold}"
echo "::group::build"
${CTEST_BUILD_COMMAND}
ctest -V -S /root/QGIS/.ci/config_build.ctest
echo "::endgroup::"

########################
Expand All @@ -97,4 +97,3 @@ popd > /dev/null # build
popd > /dev/null # /root/QGIS

[ -r /tmp/ctest-important.log ] && cat /tmp/ctest-important.log || true

Loading