25611 Commits

Author SHA1 Message Date
Sandro Santilli
2b1b79dbcb Expose QgsMapCanvas rotation and centering API to python 2014-12-09 09:57:35 +01:00
Juergen E. Fischer
6557cb84c8 debian packaging update (merge and squash PR#1725) 2014-12-09 09:55:00 +01:00
Sandro Santilli
b3953b8339 Export QgsMapSettings rotation API to python 2014-12-09 09:53:56 +01:00
Sandro Santilli
5683ebda20 Make toCanvasCoordinate(QRect) method private in QgsMapCanvasItem
I added this for rotation support but the interface is probably not
something any external code should rely upon.
2014-12-09 09:34:05 +01:00
Sandro Santilli
aa0b98dd69 Add note about QgsMapCanvas::rotation() being added in 2.8 2014-12-09 09:34:04 +01:00
Nyall Dawson
fd0e98d5f4 Ensure all items are deleted from TestQgsComposerTableV2 2014-12-09 19:20:16 +11:00
Paolo Cavallini
c46a7b632c Merge pull request #1517 from imincik/dbmanager_icons
dbmanager: rotating layer import and export icons to more intuitive sense
2014-12-09 09:05:21 +01:00
Nyall Dawson
7ca723920f Merge pull request #1721 from nyalldawson/integer_divide
[expressions] Make int/int return double results
2014-12-09 18:37:48 +11:00
Juergen E. Fischer
28c344325f indentation update 2014-12-08 21:30:29 +01:00
Juergen E. Fischer
e27d809738 dxf export:
* export layers in reversed rendering order
* use checkboxes for layer selection
* support for layers selection by visibility preset
* improve selection of layer attribute
* show busy cursor while exporting
* fix duplicate end of entities section
2014-12-08 21:25:12 +01:00
alexbruy
4980dba5d8 Merge pull request #1719 from bstroebl/splitLines
[processing] [feature] split lines with lines
2014-12-08 11:59:45 +02:00
Bernhard Ströbl
da17656fe0 Log error to ProcessingLog 2014-12-08 09:31:41 +01:00
borys
535661d63a [gui] Fix qgsexpressionbuilder layout 2014-12-08 01:10:30 +01:00
borys
3933f99bdc [gui] Fix fieldcalculator layout 2014-12-08 01:09:47 +01:00
Sandro Santilli
ce8a9ba4af Add support for map rotation (hub #9330)
Includes widget to show and set map rotation.
Handle rotation in vector and raster renderers.
Ensure correct behavior of panning and zooming actions.

Drop compile-time defines for ARM and ANDROID, leaving only
the qreal based function to transform in place.

Update expected test results after eye comparison.
2014-12-07 16:30:41 +01:00
Alexander Bruy
b774853a4e remove debug code 2014-12-07 12:59:11 +02:00
Alexander Bruy
fc6ad27db8 [processing] load documentation from online QGIS User Guide 2014-12-07 12:52:30 +02:00
alexbruy
a6fcb3a412 Merge pull request #1720 from neteler/patch-6
[processing] Update Grass7Algorithm.py
2014-12-07 12:16:48 +02:00
Nyall Dawson
759a148312 Flip all labelling spin boxes to QgsSpinBox/QgsDoubleSpinBox 2014-12-06 19:32:46 +11:00
Nyall Dawson
232aaaca66 [expressions] Make int/int return double results.
Also add a new "//" operator to perform integer division.
(fix #5153)
2014-12-06 16:36:42 +11:00
Nyall Dawson
26e06e6881 Flip remaining symbology spinboxes to QgsDoubleSpinBox 2014-12-06 00:10:11 +11:00
Nyall Dawson
697ef510b7 Also evaluate expressions entered in QgsSpinBox
and flip all composer spin boxes to QgsSpinBox (refs #10544)
2014-12-05 23:39:50 +11:00
Nyall Dawson
dfe7980764 Flip all composer double spin boxes to QgsDoubleSpin (refs #10544)
Add clear buttons to applicable properties.
2014-12-05 22:14:10 +11:00
Nyall Dawson
7400106e41 [FEATURE] Evaluate expressions entered in QgsDoubleSpinBox
Allows entry of QGIS expressions into the spin box. The expression
is evaluated on enter or loss of focus and then discarded.

(refs #10544)
2014-12-05 20:39:09 +11:00
Nyall Dawson
8a182b7f34 Clean up QgsMapLayer scale based visibility api 2014-12-05 20:39:09 +11:00
mhugent
072c1e5731 Merge pull request #1715 from rldhont/server_wms_getcapabilities_compliance
[QGIS-Server] FIX 10489 QGIS Server getcapabilites response is not WMS c...
2014-12-05 08:56:16 +01:00
Markus Neteler
c522112534 Update Grass7Algorithm.py
GRASS GIS 7 update: dsn -> input|output as per http://trac.osgeo.org/grass/browser/grass/trunk/lib/gis/renamed_options
2014-12-04 21:57:19 +01:00
rldhont
a7de4dad77 [QGIS-Server] Clean GetCapabilities
Remove GetPrint request and ComposerTemplates from GetCapabilities for a better interoperability
2014-12-04 21:32:11 +01:00
rldhont
c2b5da3377 [QGIS-Server] FIX 10489 QGIS Server getcapabilites response is not WMS compliant
To be fully compliant with WMS 1.3.0 standard, I propose to add :
* SLD namespace for GetLegendGraphic element
* schemaExtension.xsd distributed with QGIS-Server for GetStyles and GetPrint
* GetSchemaExtension to retrieve schemaExtension.xsd like MapServer

The solution was inspired by
 http://demo.mapserver.org/cgi-bin/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetCapabilities
And the standard description
Styled Layer Descriptor profile of the Web Map Service Implementation Specification
http://portal.opengeospatial.org/files/?artifact_id=22364
2014-12-04 20:15:17 +01:00
Bernhard Ströbl
a2c656e6f6 [processing] [feature] split lines with lines 2014-12-04 16:20:43 +01:00
Nyall Dawson
0fa40a657b Change some spin boxes in symbology to QgsDoubleSpinBox
Adds the handy 'clear' buttons to these spin boxes, such as
offsets and rotation.
Also standardises the display of some widgets in symbology.
2014-12-04 21:19:43 +11:00
Denis Rouzaud
1a4b8bb40d define the special text directly with the clear value 2014-12-04 10:15:05 +01:00
Nyall Dawson
e887d075aa Correctly set band number for pseudocolor renderer widget
Previously the band was always reset to the first band when opening
the raster layer properties.
2014-12-04 16:15:36 +11:00
Nyall Dawson
486d408631 [FEATURE] Port new memory layer plugin to core 2014-12-04 14:57:52 +11:00
Nyall Dawson
a435441239 Add support for generating coverage statistics for tests
Build option ENABLE_COVERAGE must be set. There's also a secondary
option GENERATE_COVERAGE_DOCS which requires lcov and will generate
html docs of unit test coverage.

To generate coverage, first enable the cmake options, then build
QGIS. From the build directory, run "make qgis_coverage".

You can also add command line arguments to "make qgis_coverage" which
are forwarded on to ctest. This allows for skipping failing tests
which prevent generation of coverage docs. This is done by adding
the command line argument CMD_ARGS= to the "make qgis_coverage"
command. Eg,

make qgis_coverage CMD_ARGS="-E \"PalLabeling|LocalServer|AppStartup\"

will skip tests which match the listed expressions.
2014-12-04 07:45:22 +11:00
Juergen E. Fischer
f8f7842108 db_manager: fix error message on table vacuum 2014-12-03 16:18:32 +01:00
volaya
e4c9a20205 [processing] show layers in alphabetical order in dropdown menu 2014-12-03 15:55:53 +01:00
Denis Rouzaud
2b37e40b17 allow defining custom clear value for Qgs(Double)SpinBox 2014-12-03 15:14:03 +01:00
Salvatore Larosa
2d3f05ba78 [custom crs ui] adds scrollarea to dialog and done some minor changes 2014-12-03 12:30:16 +01:00
Salvatore Larosa
b699069b29 [custom crs ui] adds collapsible groupbox 2014-12-03 12:29:47 +01:00
Nyall Dawson
ad32bbf40c Add some atlas reference images for precise (part 2) 2014-12-03 21:58:52 +11:00
Nyall Dawson
b07e4db27b Add some atlas reference images for precise (part 1) 2014-12-03 21:23:25 +11:00
Matthias Kuhn
352fe2a2cd CTest retry submit to dashboard when failed 2014-12-03 10:23:05 +01:00
Nyall Dawson
3e6d784a62 Try increasing color tolerance for composer tests slightly 2014-12-03 19:44:13 +11:00
Nyall Dawson
16b4dfe12b Fix some compiler warnings 2014-12-03 19:43:50 +11:00
Martin Dobias
b278ea1a93 API: Added support for bulk loading of spatial index
This is much faster way of initializing a spatial index. From python it is as simple as
>>> index = QgsSpatialIndex( layer.getFeatures() )

From a simple test with 50K points in a memory layer:
- bulk loading ~ 100 ms
- inserting features ~ 600 ms

The index tree should be in theory also better constructed and may result in faster lookups.
2014-12-03 10:59:28 +07:00
Matthias Kuhn
94a276e7c7 Revert "Let travis compile debug binaries so ASSERTS are also considered"
This reverts commit b1de41ca49d44eb5068d60c29f7960d363aadd75.

Led to unstable test results for no reason

See

https://travis-ci.org/qgis/QGIS/builds/42811273

Different results for the very same commit:
http://dash.orfeo-toolbox.org/buildSummary.php?buildid=165433
http://dash.orfeo-toolbox.org/buildSummary.php?buildid=165427
2014-12-03 02:20:33 +01:00
Matthias Kuhn
f03ab8a64d Merge pull request #1482 from serialc/patch-1
Checkbox for sub index was missing tooltip text
2014-12-03 01:54:06 +01:00
Matthias Kuhn
b1de41ca49 Let travis compile debug binaries so ASSERTS are also considered 2014-12-02 21:39:39 +01:00
Matthias Kuhn
49c10fc466 MapTip: ParagraphSeparator to \n to support multiline expressions
This allows to properly use multiline expressions in the expression builder
when the map tip HTML definition contains newlines (which are formatted as
ParagraphSeparators in QTextCursor)
See http://qt-project.org/doc/qt-4.8/qtextcursor.html#selectedText
2014-12-02 15:15:40 +01:00