26078 Commits

Author SHA1 Message Date
Juergen E. Fischer
03713ce656 postgres provider: fix adding features with null values (fixes #11777) 2015-01-16 22:13:05 +01:00
Juergen E. Fischer
ba4948e441 use directory path and not item path (fixes #11871) 2015-01-16 21:25:50 +01:00
Juergen E. Fischer
d11cc82b3f keep rotation support state in canvas (followup 204e7104) 2015-01-16 20:30:47 +01:00
Juergen E. Fischer
204e7104fc enable canvas rotation support by default 2015-01-16 16:56:09 +01:00
Juergen E. Fischer
93e22264c3 header install update 2015-01-16 15:49:24 +01:00
Juergen E. Fischer
ce4d063975 avoid usage of override as identifier (followup 313f2c8d) 2015-01-16 15:38:40 +01:00
Nathan Woodrow
59162bc178 [FEATURE] Function editor for expression widget.
Allows for adding on the fly functions to the expression engine.
Functions are saved in qgis2\python\expressions.

New qgis.user module in Python.

The qgis.user.expressions package points to the qgis2\python\expressions
package in the users home
2015-01-16 19:43:47 +10:00
volaya
49cf93dafb [processing] Consistently show modeler dialog as modal 2015-01-16 09:21:32 +01:00
Juergen E. Fischer
2b58df4d3c add missed files (followup 313f2c8d) 2015-01-16 08:55:00 +01:00
Denis Rouzaud
3d9adfe9a0 followup 313f2c8de09b00ef5cdabee59e83e86dda36b1ed 2015-01-16 08:52:26 +01:00
Juergen E. Fischer
313f2c8de0 OVERRIDE macro breaks globeplugin (OVERRIDE is an enum value in OpenSceneGraph)
replace 'OVERRIDE' macro with 'override' keyword in code and define it an empty
macro where C++11 is not available (followup 466f2563efd)
2015-01-16 08:22:52 +01:00
Martin Dobias
11d331dd66 Add QgsMapLayer::importNamedStyle() functions
Like this we do not need to use a temporary file to load a style
2015-01-16 14:14:41 +07:00
Sandro Santilli
cd77256714 Drop unused parameters from private methods, indentation update 2015-01-15 16:04:34 +01:00
Sandro Santilli
0c767ad6f6 Rewrite grid decoration to consider map rotation
Closes http://hub.qgis.org/issues/11817
2015-01-15 15:37:34 +01:00
Nyall Dawson
ca4a60a6aa Fix redundant angle methods for QgsGradientFillSymbolLayerV2 2015-01-15 22:25:18 +11:00
Nyall Dawson
0e354957b5 Add overrides pt 2 2015-01-15 22:25:17 +11:00
volaya
908d6b3cf9 [processing]download and store help files when downloading from script/models repo
Fixes #11979
2015-01-15 10:35:44 +01:00
volaya
c54cd92f81 [processing] fixed handling of file outputs in scripts
Fixes #11990
2015-01-15 10:27:20 +01:00
volaya
73f184e2e8 [processing] fixed handling of bool values in saga 213 2015-01-15 10:27:19 +01:00
volaya
05f6e9973c [processing] fixed make file 2015-01-15 10:27:18 +01:00
volaya
aa60bfecb2 [processing] New system for handling SAGA versions
This commit sets a different way of handling SAGA versions and a new way of checking saga installations

This is done to fix the messy situation that SAGA causes due to its API changing in each release.
2015-01-15 10:27:18 +01:00
Juergen E. Fischer
3bd9709a9f spelling fixes 2015-01-15 09:12:18 +01:00
Juergen E. Fischer
e432317ec2 dxf export: use implicit cast QPointF to QgsPoint 2015-01-15 09:08:40 +01:00
Juergen E. Fischer
859efa5c22 fix build error 2015-01-15 08:19:10 +01:00
Nathan Woodrow
81470513ef Fix plugin installer crash with invalid versions 2015-01-15 10:56:37 +10:00
Juergen E. Fischer
0ba232d1e8 dxf export: improve marker symbol export 2015-01-14 23:55:35 +01:00
Juergen E. Fischer
5996014a00 dxf export dialog: fix select and unselect all (fixes #11987) 2015-01-14 20:49:59 +01:00
Denis Rouzaud
c3488f4c8a offline editing plugin: allow exporting non geometric layers 2015-01-14 15:29:49 +01:00
Denis Rouzaud
b042d8e697 use QgsLayerTree for the selection of layers in the offline editing plugin 2015-01-14 14:23:00 +01:00
Nyall Dawson
9cdb6400a2 Replace use of deprecated std::auto_ptr with QScopedPointer 2015-01-14 22:49:54 +11:00
Nyall Dawson
a4ee4059ec Avoid some compiler warnings 2015-01-14 22:02:57 +11:00
Nyall Dawson
6cb41149ad Add OVERRIDE to definitions (pt 1) 2015-01-14 19:39:35 +11:00
Nyall Dawson
db9fc098c7 Disable deprecated register warning/error for clang, breaks Travis build 2015-01-14 19:39:07 +11:00
Nyall Dawson
34b10e59c2 Enable -Wno-error=c++11-narrowing for clang builds
...until underlying issues are fixed
2015-01-14 19:38:46 +11:00
Nyall Dawson
cdbd885a5e Fix comparison between pointer and integer error for clang c++11 2015-01-14 19:38:33 +11:00
Nyall Dawson
466f2563ef Add OVERRIDE macro, allows "override" keyword when c++11 is available
...and no errors when compiler is not capable of c++11 builds.
2015-01-14 19:38:21 +11:00
Martin Dobias
8ab4472107 WMS server: Support <NamedStyle> in SLD
When using <NamedStyle> make sure the passed SLD XML has attribute units="mm"
in the root <StyledLayerDescriptor> tag. Otherwise the WMS server applies scaling
as if all sizes were in pixels. The correct approach would be to just scale
sizes when loading symbols from SLD - not to apply such scaling globally

This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59) and commissioned to Gis3W s.a.s.
2015-01-14 13:35:25 +07:00
Martin Dobias
2e4c7c9e0c Fix bbox-based GetLegendGraphic for CRS with inverted axes (e.g. EPSG:4326) 2015-01-14 12:16:55 +07:00
Martin Dobias
e26e365f08 Merge pull request #1831 from giohappy/wms_legend_fix
Fix erroneous extent for contextual legend
2015-01-14 11:34:29 +07:00
giohappy
224b2c87b3 Fix erroneous extent for contextual legend 2015-01-13 15:28:33 +01:00
Juergen E. Fischer
b49da36c7f * Save and restore visiblity state of embedded group layers (fixes #4097)
* Adds support for lists in custom properties
2015-01-13 14:55:03 +01:00
Martin Dobias
3711fd5899 WMS server: support multiple styles in GetStyles request
This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59) and commissioned to Gis3W s.a.s.
2015-01-13 15:33:10 +07:00
Martin Dobias
f28a6d1d7d Fix #11703 and #11704
Do not create a layer node if the passed layer cannot be used (not in registry)
2015-01-13 13:38:41 +07:00
Martin Dobias
1614ac8cc7 WMS server: fix crashing context-based GetLegendGraphic
This code has been funded by Tuscany Region (Italy) - SITA (CIG: 6002233F59) and commissioned to Gis3W s.a.s.

The above statement applies also to the earlier commits:
5b38262 WMS server: advertise additional layer styles in GetCapabilities
95b4ebc WMS server: detect correct service URL even if REQUEST_URI is not defined
03edac9 WMS server: throw LayerNotDefined exception when undefined layer is requested
6e4c507 WMS server: support predefined layer styles in GetMap requests
4dead72 Allow multiple styles of layers in composer maps
50e77a9 Added support for renaming of map layer styles
8b5587f Improve the internals of map layer style manager
b4ad637 Make presets with styles working in composer
3fbb758 More reliable trigger of refresh when changing styles
803e822 Visibility presets also record layer's current style
603b3a5 Fixed problems with style switching not always working correctly
3ce9c70 Merge pull request #1755 from wonder-sk/multiple-styles
2144be0 Add Python bindings for map layer style manager
f00f4fd Style manager code cleanups
43d6042 Support for reading/writing additional styles for layers
19b7281 Fix cleanup of the style GUI utils singleton
edf3ebb Improve the Styles menu in legend context menu
547d018 Added a GUI utility class to support multiple styles per map layer
829f99b Initial core work on multiple styles per layer
2015-01-13 12:22:27 +07:00
Nyall Dawson
33857db6c8 Replace use of deprecated std::auto_ptr with QScopedPointer 2015-01-13 07:52:46 +11:00
Denis Rouzaud
fa903dde47 fix scale widget and dxf export 2015-01-12 14:58:16 +01:00
Martin Dobias
5b382620dd WMS server: advertise additional layer styles in GetCapabilities 2015-01-12 20:31:34 +07:00
Martin Dobias
95b4ebce5e WMS server: detect correct service URL even if REQUEST_URI is not defined 2015-01-12 20:31:34 +07:00
Martin Dobias
03edac976a WMS server: throw LayerNotDefined exception when undefined layer is requested
This is according to WMS 1.1.0 / 1.1.1 / 1.3.0 specs
2015-01-12 20:31:34 +07:00
Martin Dobias
6e4c5078f5 WMS server: support predefined layer styles in GetMap requests 2015-01-12 20:31:34 +07:00