38106 Commits

Author SHA1 Message Date
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
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
d35bd4abaa [server] disabled failing check 2017-04-22 12:21:37 +02:00
Nyall Dawson
428ca7b033 Update indentation 2017-04-22 20:13:18 +10: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
Nathan Woodrow
e192bc4876 Remove old stack trace dump code in main
Will be moved to a new class.
2017-04-22 13:34:51 +10:00
Nathan Woodrow
608d519910 Add stack info to crash dialog 2017-04-22 13:34:51 +10:00
David Marteau
018d2a24fb Server: pass full url string and data to handleRequest()
Fix tests by removing passing url pieces from environment
2017-04-21 17:38:25 +02:00
rldhont
11bb234506 Merge pull request #4391 from dmarteau/server_request_body_accessor
Server: Restore body() accessor in QgsRequestHandler
2017-04-21 14:54:51 +02:00
David Marteau
a55390e319 Restore body() accessor in QgsRequestHandler
Restore clearBody() method in QgsRequestHandler
2017-04-21 14:33:10 +02:00
Martin Dobias
25ed76b86e Move labeling engine config to a new class + QgsPalLabeling cleanup
Another bit to make core library independent from QgsProject::instance().
Until now labeling engine configuration was taken from project singleton.

Removed legacy methods from QgsPalLabeling - the class now does not have
any more member variables/methods, it is just a bunch of helper functions.

(PR #4384)
2017-04-21 18:04:09 +08:00
Etienne Trimaille
bcf1ef5a57 fix tab order in qgsvectorlayer properties dialog 2017-04-21 08:07:54 +02:00
Mathieu Pellerin
e0d20e537d Update decorators to avoid relying on map canvas when rendering (#4388) 2017-04-21 12:06:24 +07:00
Mathieu Pellerin
db848a3f1a Upgrade the save as image function into a background task (#4382) 2017-04-21 11:47:37 +07:00
Juergen E. Fischer
20197c2fa3 avoid opening multiple attribute forms for a single feature in identify
(fixes #13520)

On behalf of Faunalia, sponsored by ENEL

(cherry picked from commit 7b8fb793cf63483477b8af1670541aca033e8ab9)
2017-04-20 21:35:29 +02:00
rldhont
1bbc39e887 [BUGFIX][Processing] Fix spatialite version comparison 2017-04-20 15:16:55 +02:00
volaya
5b8c083da7 indentation fix 2017-04-20 14:47:02 +02:00
Denis Rouzaud
f022858643 [sipify] handle SIP_SKIP on several lines 2017-04-20 14:37:22 +02:00
Denis Rouzaud
1ab5a628df [sipify] handle override method signature on several lines 2017-04-20 14:21:36 +02:00
Denis Rouzaud
8f2a5c7c00 sipify all 2017-04-20 14:21:36 +02:00
Denis Rouzaud
b272bf816f [sipify] read file at once into an array
this will allow accessing other lines while reading
2017-04-20 14:21:36 +02:00
volaya
e5dd93663e [processing] fixed I/O of models 2017-04-20 14:03:09 +02:00
volaya
54e30b93f3 improvements for extracts within subsets 2017-04-20 14:03:08 +02:00
volaya
414772b6f4 [processing] removed commander 2017-04-20 10:37:50 +02:00
Juergen E. Fischer
02dade84aa utf8 translation string fix 2017-04-20 09:49:01 +02:00
Juergen E. Fischer
5d6ebd4696 update INSTALL 2017-04-20 09:23:27 +02:00
Denis Rouzaud
f9ec3829fc fix doxymentation 2017-04-20 08:15:32 +02:00