25649 Commits

Author SHA1 Message Date
Marco Bernasocchi
b6632a81aa added QgsMessageBar::SUCCESS 2014-12-14 15:57:55 +01:00
Nyall Dawson
fc00baf0f1 Fix use of uninitialized value 2014-12-14 19:30:59 +11:00
Nyall Dawson
e568493653 Fix use of uninitialized values when no ellipsoid set (fix #11848) 2014-12-14 17:39:31 +11:00
Nathan Woodrow
d61bf1f70f Add lazy evaluation support to expression functions
Add if(cond, true, false) function using lazy evaluation feature
2014-12-13 15:33:09 +10:00
Sandro Santilli
fd15a168b2 Revert "Fix glitch on mouse-wheel zoom event"
This reverts commit 40e0d78b42474c698cc66e549bfb18d9867167b2.

Fixed the mouse wheel zoom regression but it broke proper rendering
of rotated maps...
2014-12-12 19:31:19 +01:00
Radim Blazek
69b27f04be ziplayertest fix 2014-12-12 19:27:41 +01:00
Sandro Santilli
40e0d78b42 Fix glitch on mouse-wheel zoom event
See http://hub.qgis.org/issues/11811
2014-12-12 15:41:30 +01:00
Denis Rouzaud
ea33122a54 expression: more comments and test to avoid differences between operators declaration and text values 2014-12-12 15:28:57 +01:00
Radim Blazek
d84af0d760 populating browser icons in threads moved to QgsDataItem 2014-12-12 12:28:07 +01:00
Sandro Santilli
917cee0510 Consider map rotation in rendering of horizontal and parallel labels
See http://hub.qgis.org/issues/11814

NOTE: the map rotation should likely be considered at LabelPlacement
      configuration rather than at rendering time

Raises pixel mismatch tolerance for background labels tests
2014-12-12 11:22:32 +01:00
Sandro Santilli
bd4087b4d3 Tweak tolerances for CanvasPoint and ComposerPdfPoint PAL tests
.. to succeed on Ubuntu 14.04.1 LTS
2014-12-12 11:09:24 +01:00
Denis Rouzaud
5a2546140e followup 232aaaca66114e69b9ac2b201c65a26e7379f475 add missing text definition for integer division 2014-12-12 09:05:30 +01:00
Nyall Dawson
cee539aae8 Add missing const to equality operator 2014-12-12 06:20:58 +11:00
Nyall Dawson
3a64b446e3 Temporarily disable atlas tests for travis 2014-12-12 06:20:38 +11:00
Alexander Bruy
c7b8fde94f improve layout in add attribute dialog 2014-12-11 18:21:41 +02:00
Juergen E. Fischer
e5e85a5445 oracle provider: don't reject (none no)geometry queries on tables without geometry (fixes #11843) 2014-12-11 16:53:40 +01:00
Denis Rouzaud
2b210a5c6f do not make an unecessary copy 2014-12-11 16:14:33 +01:00
Denis Rouzaud
7f8006f93b [Fix #11841] Revert "Fix calculation of atlas map extent when set to fixed scale mode"
This reverts commit b106f8225324237175aac741ede9eb5d3268edcd and fixes the setting of the atlas feature in composer.

According to Nyall original commit b106f8225324237175aac741ede9eb5d3268edcd was introduced to fix a test.
He will look to fix the test, but in the mean time we rather need working features rather than passing tests.
One might wants to disable the test?
2014-12-11 14:24:27 +01:00
Alexander Bruy
c8b90186b1 [processing] fix exception raising (fix #11842) 2014-12-11 14:36:49 +02:00
Matthias Kuhn
8aaf8b5504 Remove unneeded private method and code cleanup 2014-12-11 12:34:45 +01:00
Matthias Kuhn
2e972b13ba Render incremental rendering image at proper location
The old behavior was to render it at the currently visibleExtent based on the
map canvas. The job may however have been scheduled for a different extent and
therefore rendered at an improper location.
2014-12-11 12:20:03 +01:00
Alexander Bruy
0d8cb3c1a9 [processing] fix wrong behavior in Join by location alg (fix #11736) 2014-12-11 12:43:35 +02:00
Alexander Bruy
50620533e7 [processing] fix rows addition in batch processing interface 2014-12-11 11:45:38 +02:00
Denis Rouzaud
e1156164c8 remove warnings 2014-12-11 10:35:50 +01:00
Nyall Dawson
0ba3f5bae0 Fix incorrect size of markers with data defined name 2014-12-11 16:57:26 +11:00
Matthias Kuhn
dd1bb9f851 iface.getFeatureDialog creates an "add" dialog for an invalid feature 2014-12-10 14:43:11 +01:00
Denis Rouzaud
5fd04e63b9 advanced digitizing tools fixes part 2
* action in toolbar activate/disable the tools instead of showing/hiding the dock
* do not filter event if tools are disabled
* disable construction mode if tools are disabled
* continue renaming cad to advanced digitiing tools
2014-12-10 10:40:50 +01:00
Nyall Dawson
21c4cbbe1a Flip rotation spin box to QgsDoubleSpinBox
Fix some other small spin box related ux improvements (fix #11833)
2014-12-10 20:36:18 +11:00
Nyall Dawson
714a1e6835 Fix warning 2014-12-10 20:10:31 +11:00
Nyall Dawson
bcc29ff5d0 Add methods to QgsDataDefined for reading and writing to XML 2014-12-10 19:53:16 +11:00
Denis Rouzaud
a1e0f01709 fixes for advanced digitizing tools
do not clear intermediate points when digitizing points in construction mode
increase maximum height of dock widget when tools are disabled
2014-12-10 08:12:07 +01:00
Sandro Santilli
a56ec981a3 Const-correct QgsMapToPixel::showParameters 2014-12-09 12:38:22 +01:00
Sandro Santilli
87de9f5b92 Test rotation API in QgsMapPixel unit test 2014-12-09 12:10:32 +01:00
Sandro Santilli
a353a4ddf6 Set all QgsMapToPixel parameters at once from QgsMapSettings 2014-12-09 11:58:41 +01:00
Sandro Santilli
cebb6fff94 Refactor QgsMapToPixel to only build matrix on parameter change
Also add deprecation notices and provide full-parameters constructor
2014-12-09 11:50:25 +01:00
Sandro Santilli
ec085bfbcc Add unit test for QgsMapToPixel (legacy only for now) 2014-12-09 11:29:05 +01:00
Denis Rouzaud
d65a6f73d4 Merge pull request #1624 from 3nids/cadtool_single
Advanced digitizing tools (aka CAD tools)
2014-12-09 10:23:42 +01:00
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