Harrissou Sant-anna
fd8a1e7ac1
Add editor widgets to grass provider
2020-10-04 07:12:52 +10:00
Harrissou Sant-anna
75fc0b5cb7
cleanup
2020-10-04 07:12:52 +10:00
Harrissou Sant-anna
602a775b61
Move widgets from QSpinBox to QgsSpinBox
2020-10-04 07:12:52 +10:00
Harrissou Sant-anna
19acc15de9
Move widgets from QDoubleSpinBox to QgsDoubleSpinBox
2020-10-04 07:12:52 +10:00
Alessandro Pasotti
8cd40aeebf
Merge pull request #39135 from elpaso/bugfix-gh39086-empty-report-crash
...
Fix crash when exporting empty report
2020-10-03 23:06:55 +02:00
Alessandro Pasotti
beaf4307ec
Merge pull request #39141 from elpaso/bugfix-gh39025-fix-layer-dependency-loading
...
Fix broken layer dependencies for old projects
2020-10-03 23:06:12 +02:00
Nyall Dawson
5ed37da0b8
Don't hardcode font family for python editor line numbers
2020-10-04 05:02:57 +10:00
Nyall Dawson
ad946d45c8
Ensure colors in Python console match colors for Python editors
...
used elsewhere in the application
2020-10-04 05:02:57 +10:00
Nyall Dawson
89ace9aeca
QgsPythonConsoleBase should use the standard QgsCodeEditorPython
...
class as a base class
Actually it should be completely folded into QgsCodeEditorPython
so that we have a single definitive Python code editor widget, but
this is a first step toward that...
2020-10-04 05:02:57 +10:00
Alessandro Pasotti
0580e9eb76
Merge pull request #39154 from elpaso/bugfix-gh37666-no-geometry-in-fields
...
Fix DB manager does not show geography in query results
2020-10-03 11:59:54 +02:00
Nyall Dawson
6078fe4842
Cleanup color handling in QgsCodeEditor classes
...
Remove a bunch of duplicate default color definitions, and ensure
that all subclasses correctly respect any user defined color overrides,
yet that we still default to following the application theme's matching
color schemes.
2020-10-03 19:58:50 +10:00
nirvn
b7c28df02a
[processing] Add missing layers overwrite parameter to two layout exports algorithms
2020-10-03 19:07:35 +10:00
Alessandro Pasotti
b0189b4149
Return a proper QgsProviderConnectionException from python table()
...
Fixes #39151
2020-10-03 19:06:05 +10:00
Salvatore Larosa
096aa95ac7
Merge pull request #39153 from slarosa/fix_attribute_error
...
[pyqgis-console] fix instance attribute name
2020-10-03 10:54:05 +02:00
Alessandro Pasotti
ad96c991fc
Fix DB manager does not show geography in query results
...
Fixes #37666
2020-10-03 09:33:59 +02:00
Salvatore Larosa
7c476d176a
[pyqgis-console] fix instance attibute name
2020-10-03 08:46:35 +02:00
Salvatore Larosa
f32725658f
[pyqgis-console] fix missing import, amd minor fixws to UI
2020-10-03 09:11:32 +10:00
Salvatore Larosa
4fea3ed822
[pyqgis-console] move console options to main app options
2020-10-03 09:11:32 +10:00
Alessandro Pasotti
61a71a417d
Merge pull request #39033 from uclaros/fix-report-bug
...
Avoid accessing QgsLayoutItemsListView's model before it is defined
2020-10-02 23:29:07 +02:00
Alessandro Pasotti
375a258eda
Merge pull request #39144 from elpaso/bugfix-gh39142-pgraster-float-nodata
...
PG raster fix #39142 nodata float
2020-10-02 22:32:21 +02:00
vcloarec
6de82d62b7
change return type of QgsGrassRasterProvider::clone()
2020-10-03 05:57:18 +10:00
vcloarec
299709994d
change return type of QgsRasterDataProvider::clone()
2020-10-03 05:57:18 +10:00
Alessandro Pasotti
65e8776a9f
PG raster fix #39142 nodata float
2020-10-02 20:45:04 +02:00
Alessandro Pasotti
377e5e23ec
Fix broken layer dependencies for old projects
...
Fixes #39025 by skipping the broken relations detection
for widget configuations that were created before weak
relations were introduced and add an extra check for
projects that were created before recent fixes in 3.15
with commit 7e8c7b3d0e09
2020-10-02 17:52:02 +02:00
Even Rouault
ad6254a7b2
Merge pull request #39122 from rouault/cppcheck_20201001
...
Some cppcheck linting with cppcheck master
2020-10-02 17:51:31 +02:00
Alessandro Pasotti
c45d7a4a4f
Fix crash when exporting empty report
...
Fixes #39086
2020-10-02 13:15:04 +02:00
Even Rouault
88c4ee8764
qgsdelimitedtextprovider.cpp: make code more readable to avoid false positive from cppcheck
2020-10-02 12:08:58 +02:00
Even Rouault
97e2e5e87e
QgsMapLayer: make it obvious to cppcheck that nullptr deref cannot occur, and make code slightly more efficient
2020-10-02 12:08:58 +02:00
Even Rouault
b993fbda79
QgsProject: make it obvious to cppcheck that class is non-copyable/non-affectable
2020-10-02 12:08:57 +02:00
Even Rouault
863c9e3b29
qgsproxyprogresstask_followup
2020-10-02 12:08:57 +02:00
Even Rouault
7ee62d4386
QgsScopedProxyProgressTask: make class non-copyable/non-affectable as it has pointers (but cannot be enabled because of SIP issue)
2020-10-02 12:08:39 +02:00
Nyall Dawson
7a38388a87
Fix some QProcess deprecation warnings
2020-10-02 19:02:52 +10:00
Nyall Dawson
fa28c42ab4
Remove use of deprecated QDateTime constructor
2020-10-02 19:02:52 +10:00
Alessandro Pasotti
7ef302d66b
Merge pull request #39126 from gacarrillor/pr_test_write_weak_relations
...
Test for writing weak relation attributes to XML (followup #39090 )
2020-10-02 07:47:36 +02:00
Nyall Dawson
ab6bbfda1d
Fix all remaining Qt QFlags deprecated constructor warnings
2020-10-02 13:04:49 +10:00
Even Rouault
bbc1deb075
QgsAppScreenShots: make class non-copyable/non-affectable as it has pointers
2020-10-01 23:18:11 +02:00
Even Rouault
d7da95e8fe
3d/qgsshadowrenderingframegraph.cpp: make class non-copyable/non-affectable as it has pointers
2020-10-01 23:18:11 +02:00
Even Rouault
2024a96e3d
qgs3dsceneexporter.cpp: avoid cppcheck 'The address of local variable 'v' might be accessed at non-zero index' false-positive by making code clearer
2020-10-01 23:18:11 +02:00
Germán Carrillo
7407e0f129
Test for writing weak relation attributes to XML (followup #39090 )
2020-10-01 16:12:01 -05:00
Peter Petrik
09f84eb84b
fix #35026 fix MSSQL connection on MacOS
2020-10-02 07:11:30 +10:00
Peter Petrik
9c9b070d47
update to MDAL 0.7.1, fixes bug in FLO2D reader
2020-10-02 07:09:53 +10:00
Peter Petrik
b23288bc08
fix #29702 , setup /Volumes connections
2020-10-02 07:09:07 +10:00
Even Rouault
9d9d0c0f5c
[GUI] OGR Database connection dialog: relax checks to enable 'OK' button
...
Currently when defining a new OGR Database connection, one must fill
the database, host and port numbers. Some/most of them are optional on the
OGR side (for example the MYSQL driver only requires the database name,
but the PG driver could for example work without any depending on the PG
config), so do not require them at all. The 'Test connection' button is
already there for users to check they've properly filled the form.
2020-10-02 07:07:13 +10:00
Even Rouault
75512b4f2d
[OGR provider] Code cleanup: mark a workaround for GDAL < 2.3 clearly as such. No functional change
2020-10-02 07:06:19 +10:00
nirvn
7af60f6eb1
[ogr] Fix decodeUri unable to handle newline characters in the subset string
2020-10-02 07:05:10 +10:00
Even Rouault
80f00f84c0
GML streaming parser / WFS: correctly deal with gml:id attributes before passing geometry to OGR ( fixes #39081 )
2020-10-02 07:03:58 +10:00
Alessandro Pasotti
ebeb016c69
Merge pull request #39043 from elpaso/bugfix-gh39036-39025-relations-quoting
...
PG fix relation discovery with table/schema that require quotes
2020-10-01 22:55:51 +02:00
Denis Rouzaud
398131d5be
remove warning when trying to pan to non spatial layer features ( #39110 )
2020-10-01 10:58:23 +02:00
Even Rouault
55ee2935a2
Merge pull request #39100 from rouault/ogrprovider_decodeuri
...
OGR provider: make decodeUri() set a 'databaseName' component
2020-09-30 20:24:24 +02:00
Even Rouault
30e5fe5011
OGR provider: make decodeUri() set a 'databaseName' component
...
Instead of hijacking 'layerName' which has a different semantics.
This modifies commit 84eed010f, which returns the database name in
the layerName URI component, which is not the right semantic, since
layerName should be a OGR layer name.
With this fix encodeUri() can roundtrip with decodeUri()
2020-09-30 15:05:58 +02:00