Nyall Dawson
fc20fc81f7
Fix SC2062 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
6c9484b923
Fix SC2181 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
36e38210db
Fix SC2116 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
80d655598a
Fix SC2219 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
4118bafc96
Fix all SC2164 warnings
2018-06-21 15:33:29 +10:00
Nyall Dawson
0d41925535
Disable all failing shellcheck checks
2018-06-21 15:33:29 +10:00
Nyall Dawson
7d938e8b94
[ci] Run shellcheck as part of code_layout build
2018-06-21 15:33:29 +10:00
Nyall Dawson
fb3ff6d226
[layouts] Fix a crash when using multiframe items when no pages exist
2018-06-20 17:12:13 +10:00
Nyall Dawson
afde31b94f
[layouts] Avoid a crash when no pages exist in layout
2018-06-20 17:12:13 +10:00
Nyall Dawson
77d22849d9
Fix calculation of relation aggregate in virtual field with same name as related field
2018-06-20 15:23:55 +10:00
Denis Rouzaud
d36015070c
Merge pull request #7171 from 3nids/sip_python_repr
...
create Python __repr__ methods for QgsPoint and QgsPointXY
2018-06-19 09:56:28 -08:00
Denis Rouzaud
ff1988f11d
Python __repr__ test output
2018-06-19 13:55:53 -04:00
Nyall Dawson
2aa2ef48f0
[layouts] Fix data defined page sizes sometimes lead to incorrect
...
created atlas image sizes
Because the exporter prefers to use the image size when it's
specified (as is done in QGIS app), we need to ignore this
when the aspect ratio of that size doesn't match the aspect
ratio of the page to render.
Fixes #18534
2018-06-20 02:43:51 +10:00
Tudor Bărăscu
0b9df82268
remove redundant test
2018-06-19 14:16:01 +03:00
Denis Rouzaud
a719605ef1
clean auto folders in sip test
2018-06-19 07:14:22 -04:00
Denis Rouzaud
cc3e29bcc2
add __repr__ for more geometry classes and add test
2018-06-19 07:02:17 -04:00
Alessandro Pasotti
97726d6fbc
Merge pull request #7270 from tudorbarascu/enable_tests
...
enable test for getfeatureinfo value relation widget values
2018-06-19 12:26:20 +02:00
Alessandro Pasotti
5797c49312
Merge pull request #7261 from elpaso/bugfix-19195-wms-drag
...
[bugfix] Fix double escaping of colon in QgsMimeDataUtils
2018-06-19 11:40:08 +02:00
Tudor Bărăscu
05fad59b26
enable test for getfeatureinfo value relation widget values
2018-06-19 12:08:02 +03:00
Nyall Dawson
a2ef677912
Add method to toggle user visibility of QgsDockWidgets
2018-06-19 17:22:12 +10:00
Alessandro Pasotti
db55088f1d
Merge pull request #7265 from ablakey/fix-py-provider-index
...
Addressed two issues that caused createSpatialIndex() to fail.
2018-06-19 08:22:04 +02:00
Nyall Dawson
3ea8a41834
[layouts] Tweak format of multiple metadata keyword argument exports
2018-06-19 12:08:11 +10:00
Andrew Blakey
d84471b149
Addressed two issues that caused createSpatialIndex() to fail. Fixes #19220
2018-06-18 20:04:43 -04:00
Nyall Dawson
5b47f94f75
Fix silliness in test
2018-06-19 06:23:58 +10:00
Nyall Dawson
063b169bd7
Spelling
2018-06-19 06:23:58 +10:00
Nyall Dawson
077ecedfc5
Unit tests for QgsMessageLog
2018-06-19 06:23:58 +10:00
Nyall Dawson
68b38b2daf
Add a signal when a project is cleared
2018-06-18 23:14:45 +10:00
Alessandro Pasotti
24ed8d414a
Remove wrong comment
2018-06-18 13:35:45 +02:00
Alessandro Pasotti
7c4a204e8c
Fix test
2018-06-18 11:45:44 +02:00
Alessandro Pasotti
cb91176edd
[bugfix] Fix double escping of colon in QgsMimeDataUtils
...
Fixes #19195 - WMS layer loaded in incorrect CRS when using drag and drop from Browser panel
2018-06-18 10:35:33 +02:00
Alessandro Pasotti
c20e441872
Merge pull request #7244 from elpaso/bugfix-18518-server-gfi-relations
...
[bugfix][server] respect relations in getfeatureinfo
2018-06-18 08:06:55 +02:00
Alessandro Pasotti
e39abc5c83
Merge pull request #7240 from elpaso/bugfix-19155-layout-legend-undo-crash
...
[bugfix] Crash on undo layout legend item on deleted item
2018-06-18 08:05:54 +02:00
Nyall Dawson
4fb9091e6e
QgsRectangle::intersect should use a reference, not a pointer
...
We never call this method using nullptrs, so there's no need
for this to be a pointer argument in the first place. And
having it a pointer encourages leaky code, such as the
leak this commit fixes in server.
2018-06-18 07:55:17 +10:00
Alessandro Pasotti
c727d449e8
[bugfix] Crash on undo layout legend item on deleted item
...
Added test
2018-06-17 17:10:27 +02:00
Alessandro Pasotti
59fa2ce452
[bugfix] Revert 2f2221a and update the tests
...
Fixes #19199 - regression: vector layer legend symbol / children (i.e. rules) aren't shown when in group
2018-06-17 16:26:01 +02:00
Alessandro Pasotti
9c8545722d
Make setInstance private and QgsConfigCache a friend
2018-06-17 15:05:19 +02:00
Nyall Dawson
6470aacb33
Ban QScopedPointer/QSharedPointer
2018-06-17 15:09:07 +10:00
Nyall Dawson
e1ace09f76
Ban more obselete qt methods
2018-06-17 15:09:07 +10:00
Marco Hugentobler
1749e5d9c9
Add unit test for geometry generator dxf export
2018-06-17 11:11:39 +10:00
Nyall Dawson
1d111ce741
Ban @ doxygen style annotations
2018-06-17 09:24:37 +10:00
Nyall Dawson
da487e2e34
Ban deprecated qMin/qMax/etc methods
2018-06-17 09:24:37 +10:00
Nyall Dawson
c705670947
Upgrade INT_ methods to numeric_limits
2018-06-17 09:24:37 +10:00
Nyall Dawson
17cd2fd5f3
More DBL_MIN/MAX_EPSILON upgrades
2018-06-17 09:24:37 +10:00
Nyall Dawson
ce6fc8fe96
[ci] Add unit test for banned keywords
...
Flags use of keywords representing deprecated or other
"to be avoided" methods, e.g. use of DBL_MAX instead of
the type-safe std::numeric_limits<double>::max() method.
2018-06-17 09:24:37 +10:00
Nyall Dawson
47e7a100d9
DBL_EPSILON -> numeric_limits
2018-06-17 09:24:37 +10:00
Nyall Dawson
ac17d300ca
DBL_MAX -> std::numeric_limits
2018-06-17 09:24:37 +10:00
Alessandro Pasotti
65c1ed2a17
Typo and SIP_SKIP
2018-06-15 09:02:47 +02:00
Nyall Dawson
76eb29daf3
Unit tests and dox for QgsRasterIterator
2018-06-15 06:39:48 +10:00
Nyall Dawson
a80f7ab980
[afs] Fix 'Limit to extent' option was ignored
2018-06-15 06:39:36 +10:00
Alessandro Pasotti
a2718daff7
Add test data for gfi server relations
2018-06-14 19:01:03 +02:00