38541 Commits

Author SHA1 Message Date
Even Rouault
cd521d6f76 Adjust expected results for GDAL 2.2 2017-04-24 17:03:23 +02:00
Denis Rouzaud
085803de8a [sifpiy] handle multiline body 2017-04-24 16:37:23 +02:00
Alessandro Pasotti
46310d4ab4 Merge pull request #4404 from elpaso/server-tests-improvements
[server] Tests housekeeping and improved robustness
2017-04-24 16:00:49 +02:00
Denis Rouzaud
fbe10d461c followup 8f35ee464f0a32284263b684abbdf2a42c0e9131 2017-04-24 14:54:07 +02:00
Denis Rouzaud
8f35ee464f sipify improvements
* one liner enum (without assignements)
 * remove function bodies of skipped methods
2017-04-24 14:52:10 +02:00
Alessandro Pasotti
d3453063ea [server] Tests housekeeping and improved robustness
* There is now a new common base class for QGIS Server testing
* WMS tests have been moved into their own class
* Added tests for onlineResource URL in query string
2017-04-24 14:28:52 +02:00
Denis Rouzaud
5a19463cbc sipify batch
* QgsCredentials
 * QgsCrsCache
 * QgsDataSourceUri
 * QgsDateTimeStatisticalSummary
 * QgsDatumTransformStore
2017-04-24 13:06:03 +02:00
Denis Rouzaud
419185bc21 [sipify] remove EXPORT macro from struct definition 2017-04-24 13:06:03 +02:00
Alessandro Pasotti
2a7d5d4b5b Merge pull request #4393 from elpaso/server-api-mods
[server] Server api mods
2017-04-24 10:05:49 +02:00
Denis Rouzaud
c540ab33bd sipify QgsApplication 2017-04-24 09:35:09 +02:00
Denis Rouzaud
9b523cb19b [sipify] do not remove function body within SIP_RUN blocks 2017-04-24 09:34:31 +02:00
Denis Rouzaud
10d34ece02 sipify batch
* QgsBearingUtils
    * QgsBrowserModel
    * QgsColorScheme, QgsColorSchemeRegistry
    * QgsContextHelp
    * QgsCoordinateReferenceSystem
    * QgsCoordinateTransform
    * QgsFeedback
2017-04-24 09:32:39 +02:00
Denis Rouzaud
6e7b753ceb sipify improvements
* reset comment while changing section
 * fix comment at the end of a comment block
 * use SIP_FORCE to show private members
2017-04-24 09:32:39 +02:00
Denis Rouzaud
68e0a62716 revert 82c66f8aa38e4e0e2d213b2040360410cafef30d 2017-04-24 08:12:00 +02:00
Denis Rouzaud
3652fa7e2b Revert "Revert "Revert "Remove virtual method from class which shouldn't be subclassed"""
This reverts commit 2a8555e13eb9a0e6bc0a24502ddb034f1aa1a3ac.

sorry for the noise
2017-04-24 08:09:13 +02:00
Denis Rouzaud
2a8555e13e Revert "Revert "Remove virtual method from class which shouldn't be subclassed""
This reverts commit cb68c982b829ecf94b19f9b9a030a269e1c2239f.
2017-04-24 08:07:56 +02:00
Denis Rouzaud
6d26bb3bff [spelling] fix bad inword detection for activeXXX 2017-04-24 08:04:40 +02:00
Alexander Bruy
8c80a60c33 Merge pull request #4385 from volaya/remove_processing_commander
[FEATURE][processing] remove processing commander
2017-04-24 09:00:13 +03:00
Denis Rouzaud
347934f4de follow up 1bfa539 2017-04-24 07:43:52 +02:00
Denis Rouzaud
1bfa539df1 [sipify] remove extra blank line 2017-04-24 07:39:30 +02:00
Nyall Dawson
cb68c982b8 Revert "Remove virtual method from class which shouldn't be subclassed"
This reverts commit 858129ddd3072d633e0abd97e1a45fe880f4cfb2.

I remember now... that was added to avoid a totally nonsense and
otherwise unfixable crash in the sip bindings...
2017-04-24 12:32:28 +10:00
nirvn
7b3859bdea Save as image cleanup:
* message bar go away after 5sec
* make a couple of strings translatable in settings dialog
* nicer initialization of members
2017-04-24 09:31:26 +07:00
Nyall Dawson
858129ddd3 Remove virtual method from class which shouldn't be subclassed 2017-04-24 11:02:03 +10:00
Nyall Dawson
98e25d178c Block use of the Adwaita themes if we can avoid them
The Qt variants of these GTK themes are VERY broken
for apps like QGIS. E.g. oversized controls like
spinbox widgets prevent actually showing any actual CONTENT
in these widgets, leaving a very bad impression of QGIS

Keeping a consistent DE theme is nice and all, but if
it leaves QGIS in an unusable state then it's misguided.

*Blame resides with gnome's obsession with "touch friendly"
tablet style widgets
2017-04-24 10:02:45 +10:00
Nathan Woodrow
c86264e221 UI cleanup for crash dialog 2017-04-24 09:58:57 +10:00
Nyall Dawson
716ff6c081 Merge pull request #4394 from nyalldawson/bad_iterator_go_and_sit_in_a_corner
Fix crash when OGR layer is removed when source is stored
2017-04-24 09:41:54 +10:00
Nyall Dawson
94c56aaf8c Remove unused variable 2017-04-24 09:23:03 +10:00
Nyall Dawson
3584a5f914 Nicer initialization of members in iterators/sources 2017-04-24 08:59:32 +10:00
Nyall Dawson
706b5a8537 Use unique_ptrs in provider feature sources 2017-04-24 08:48:18 +10:00
Nyall Dawson
8c1584f369 AFS feature source doesn't need to be a QObject 2017-04-24 08:40:22 +10:00
Nyall Dawson
b819bc27fe Correct use of private vs protected in provider/sources 2017-04-24 08:37:26 +10:00
Nyall Dawson
c85a437855 Partial fix for virtual layer iterator depending on provider
The proper fix is more involved and requires reworking of the
sqlite handle to utilise a shared pointer. Without this
the iterator will return no features if the provider is removed
while a source is active (i.e. removing virtual layer while
map is rendering).

But at least it avoids a crash in this circumstance...
2017-04-24 08:21:06 +10:00
Nyall Dawson
0dfe687361 Fix crash when OGR layer is removed when source is stored
Remove link to provider in OGR feature source
2017-04-24 08:21:06 +10:00
Nyall Dawson
6beaa51837 Add test to provider test suite that provider source does not rely
on source layer or provider in any way

Fails for OGR provider! :o
2017-04-24 08:21:06 +10:00
Nyall Dawson
82c66f8aa3 "Fix" failing spell check 2017-04-24 07:01:02 +10:00
Nathan Woodrow
bfcf2528e0 Add QgsCrashHandler for single place for all platforms (#4395)
Add QgsCrashHandler for single place for all platforms
2017-04-23 23:41:33 +10:00
Juergen E. Fischer
d36e47c6ff fix windows build (followup e0d20e53) 2017-04-23 14:18:29 +02:00
Nyall Dawson
f7b7254527 Merge pull request #4284 from arnaud-morvan/expression_compare_arrays
Add arrays comparison in QgsExpression
2017-04-23 19:19:16 +10:00
Mathieu Pellerin
268acab5d6 [FEATURE] New "Save as image" settings dialog (#4390)
* Resolution dpi setting
* Extent setting
* Scale setting
* Draw annotations / decorations setting
2017-04-23 13:02:42 +07:00
Nyall Dawson
4a2226af31 Allow canceling background map renders 2017-04-23 13:07:04 +10:00
Nyall Dawson
16596599de Fix crash when saving map image and dpi != 90 2017-04-23 08:34:45 +10:00
Alessandro Pasotti
cbcd193875 [server] Add to API break and pass enum by value 2017-04-22 13:56:00 +02:00
Alessandro Pasotti
d35bd4abaa [server] disabled failing check 2017-04-22 12:21:37 +02:00
Alessandro Pasotti
abd035ac21 [server] disabled failing check 2017-04-22 12:15:56 +02:00
Nyall Dawson
428ca7b033 Update indentation 2017-04-22 20:13:18 +10:00
Alessandro Pasotti
97e55d2742 [server] Fix access control test 2017-04-22 12:01:54 +02:00
Alessandro Pasotti
c2ba23173a [server] handleRequest accept QgsServerRequest.Method instead of a string
Also made this optional
2017-04-22 11:05:06 +02:00
Alessandro Pasotti
7f08e7206f [server] More Qt-style getter changes getHeader( key ) -> header( key ) 2017-04-22 10:27:10 +02:00
Alessandro Pasotti
d03b005969 [server] Expose HTTP status code and test refactoring
* Renamed returnCode to statusCode (as per RFC https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)
* Expose statusCode to server iface
* API Break: Renamed getHeader() to header() Qt-style
* Split server plugin filter tests in its own test file
* Added tests for clearBody() and body() getter
2017-04-22 10:17:08 +02:00
Alessandro Pasotti
1083f9f32b Merge pull request #4392 from dmarteau/server_handle_request_full_url
Server: pass full url string and data to handleRequest()
2017-04-22 08:35:56 +02:00