37052 Commits

Author SHA1 Message Date
Nyall Dawson
9b9d49ade9 Add unit tests for deferred layer refresh
QgsMapCanvas test is rather messy, but I can't find anyway to
avoid showing the canvas in order to get a predictable result
2017-02-13 08:27:01 +10:00
Nyall Dawson
04d392b5a3 Allow QgsMapLayer::triggerRepaint to defer updates
By calling QgsMapLayer::triggerRepaint( true ) any cached
version of the layer will be invalidated, but a map canvas
refresh won't automatically be triggered

This allows invalidation of cached images while deferring
the actual map update until the next canvas refresh.
2017-02-13 08:27:01 +10:00
Juergen E. Fischer
92091c536b dxf export: consider layer styles (fixes #15946) 2017-02-12 20:20:12 +01:00
Marco Hugentobler
dedeb9cc81 Change gml test output (use xmlns instead of gml: which both is valid) 2017-02-12 16:29:45 +01:00
Juergen E. Fischer
bb2a6c8033 oracle provider: followup 9ceb6c67 2017-02-12 10:00:42 +01:00
Nyall Dawson
a124fbfe62 Add API break notes for QgsMapToolTouch 2017-02-12 18:56:14 +10:00
Mathieu Pellerin
40ebca7892 [ui] adjust size and spacing of welcome screen title (#4139) 2017-02-12 14:46:05 +07:00
Nyall Dawson
c26ed69c6b Rework map touch tool
Qt5 allows runtime detection of touch devices. This commit reworks
the current touch map tool by pulling its behavior into the normal
pan tool when a touch device is detected.

It avoids the need for a seperate map tool for touch interaction,
and also avoids having this tool always appear on the Windows
builds (regardless of the presence of a touch device)
2017-02-12 15:06:24 +10:00
Mathieu Pellerin
9a7c829090 [ui] fix touch icon rendering a black background (#4137) 2017-02-12 11:13:17 +07:00
Nyall Dawson
767e7a53c6 Expose QgsGeometryUtils to python bindings
Has some handy functions and there's no strong reason anymore
why these shouldn't be part of stable API
2017-02-12 13:01:24 +10:00
Nyall Dawson
9ceb6c67e8 Merge pull request #4109 from nyalldawson/db
Rename "Db"/"DB" in API to "Database"
2017-02-12 08:34:19 +10:00
Denis Rouzaud
4cba47814b use stylesheet rather than palette
add doxygen comments and fix sip bindings
2017-02-11 22:36:20 +01:00
Denis Rouzaud
a1369955de allow to search and higlight options 2017-02-11 22:36:20 +01:00
Denis Rouzaud
f3102bbf8f option to show a search icon in QgsFilterLineEdit 2017-02-11 22:36:20 +01:00
Juergen E. Fischer
fe75e1f2a6 processing: fix warning 2017-02-11 21:44:32 +01:00
Juergen E. Fischer
4aa67fc02e debian packaging: add missing dependency (fixes #16179) 2017-02-11 11:19:19 +01:00
Juergen E. Fischer
6afd9a4921 update_ts: avoid excessive number of arguments (for windows) 2017-02-11 01:14:06 +01:00
Juergen E. Fischer
801821f6f1 osgeo4w: fix quoting in batch files 2017-02-10 20:36:33 +01:00
Alexander Bruy
565ad28532 fix doxygen comment 2017-02-10 18:57:55 +02:00
Alexander Bruy
f7380c1b6f Merge pull request #4132 from NaturalGIS/fix_ogr_postgis_mandatory_params
[processing] make ogr postgis parameters mandatory where needed
2017-02-10 18:04:12 +02:00
Alexander Bruy
e8be083daa [processing] remove unused parameters from test (followup 5ade65aa16) 2017-02-10 18:02:52 +02:00
Alexander Bruy
5c8c53c397 [processing] more fixes to GdalAlgorithm dialog (followup 47d46bb8c3) 2017-02-10 17:59:53 +02:00
Alexander Bruy
40dfdd7960 Merge pull request #4131 from NaturalGIS/fix_ogr_offset_lines
[processing] remove useless options form ogr offset line tool
2017-02-10 17:43:54 +02:00
Giovanni Manghi
26448364b4 make ogr postgis parameters mandatory where needed 2017-02-10 15:41:39 +00:00
Alexander Bruy
cc1adc528e [processing] handle case when default CRS is None and parameter is not optional 2017-02-10 17:39:45 +02:00
Alexander Bruy
47d46bb8c3 [processing] fix initialization of GdalAlgorithmDialog 2017-02-10 17:38:24 +02:00
Giovanni Manghi
5ade65aa16 remove usless options form ogr offset line tool 2017-02-10 15:01:25 +00:00
Alexander Bruy
16384cfe2c Merge pull request #4128 from arnaud-morvan/processing_geometrypredicate_wrapper
[processing] Remove obsolete GeometryPredicateWidgetWrapper
2017-02-10 16:41:35 +02:00
Marco Hugentobler
83c62dac67 Take wfs gml directly from geometry 2017-02-10 15:08:58 +01:00
rldhont
2b12a1574d Merge pull request #4129 from rldhont/server-geojson-precision
[Server] The RFC 7946 GeoJSON specification recommends limiting coordinate precision to 6
2017-02-10 12:28:39 +01:00
rldhont
0e7d428739 [Server] The RFC 7946 GeoJSON specification recommends limiting coordinate precision to 6 2017-02-10 12:01:18 +01:00
Juergen E. Fischer
b96477731b osgeo4w: fix designer path 2017-02-10 11:49:33 +01:00
arnaud.morvan@camptocamp.com
f07154b613 [processing] Remove obsolete GeometryPredicateWidgetWrapper 2017-02-10 11:16:38 +01:00
arnaud.morvan@camptocamp.com
337d1889b8 [processing] Use ExpressionWidgetWrapperMixin in StringWidgetWrapper 2017-02-10 11:14:34 +01:00
arnaud.morvan@camptocamp.com
7bffef7044 [processing] Fix ModelerParametersDialog when len(widget) == 0 2017-02-10 11:01:41 +01:00
arnaud.morvan@camptocamp.com
c768edf9d1 [processing] Add postgis widget wrappers 2017-02-10 11:01:41 +01:00
Alexander Bruy
501a5f9268 [processing] always load ExecuteSQL algorithm 2017-02-10 11:18:05 +02:00
Alexander Bruy
c0eb9975f8 Merge pull request #4118 from alexbruy/processing-saga-ltr
[processing] support only SAGA LTR
2017-02-10 10:31:23 +02:00
Nyall Dawson
97f6a52515 [win] Show task manager progress in windows task bar
Hooks the task manager progress reports up to a Windows taskbar button
progress bar. This lets you easily see when a background task has
finished running!
2017-02-10 14:40:38 +10:00
Nyall Dawson
a46afcad8a Fix signature difference between header and cpp 2017-02-10 10:05:42 +10:00
Nyall Dawson
533e796130 Drop deprecated win api call for handling win 9.x compatibility
There's no way QGIS 3.0 is windows 98 compatible!!
2017-02-10 10:05:42 +10:00
Alexander Bruy
2ea3ac4611 Merge pull request #4122 from alexbruy/processing-gdal2
[processing] remove code with  GDAL 1.x API calls
2017-02-09 20:48:43 +02:00
arnaud.morvan@camptocamp.com
dda667023a [processing] Add class ExpressionEnabledWidgetWrapper 2017-02-09 17:04:58 +01:00
arnaud.morvan@camptocamp.com
482aadc495 [processing] Add possibility to pass additionnal parameters to widget wrapper 2017-02-09 16:12:16 +01:00
Alexander Bruy
2c188b2b0f [processing] fix helper function from system module (fix #16128) 2017-02-09 14:25:53 +02:00
Alexander Bruy
f66646c483 [processing] remove code with GDAL 1.x API as QGIS 3 will require GDAL 2.x 2017-02-09 14:15:31 +02:00
Alexander Bruy
5489f855a7 Merge branch 'symbolselector_fix' 2017-02-09 13:38:10 +02:00
Alexander Bruy
552b6b8937 set margins in code instead of .ui file 2017-02-09 13:33:14 +02:00
Alexandre Neto
2d06cf0acd Remove margins from symbol selector 2017-02-09 13:33:14 +02:00
Alexandre Neto
09df5f5aeb Make single symbol render properties widget similar to other
- removed extra scroll
- added small margin
2017-02-09 13:33:14 +02:00