28010 Commits

Author SHA1 Message Date
Juergen E. Fischer
e679b0b266 update qgsversion.h only if it going to be actually changed 2015-07-12 23:49:38 +02:00
Nyall Dawson
c7138ff815 [labeling] Prevent users from unselecting all line placement options
(fix #13007)
2015-07-12 20:32:32 +10:00
Nyall Dawson
f9917b55c3 Remove expected failure from shapefile provider unique values test
Failure was caused by GDAL bug #6020, which has now been fixed
in GDAL. It turns out the values are only incorrect if the first
feature in the file has a null value, so I've rearranged the
features in the reference shapefile to avoid this.
2015-07-12 19:55:54 +10:00
Nyall Dawson
8e12578028 Fix two minor Coverity uninitialized member warnings 2015-07-12 19:41:21 +10:00
Nyall Dawson
c5a58a7fb3 Address cmake CMP0054 warnings 2015-07-12 19:25:22 +10:00
Juergen E. Fischer
a6c3de3047 db_manager: properly parse sqlite version (followup 5b86e38) 2015-07-11 23:42:46 +02:00
Juergen E. Fischer
5b86e38676 db_manager: only try isgpkg on spatialite plugin and sqlite version parsing 2015-07-11 23:24:13 +02:00
Nyall Dawson
baf60a2bc3 Better wording for line layer label placements (fix #10434) 2015-07-11 21:54:07 +10:00
Nyall Dawson
b06c0cc579 Fix loss of some labeling properties when changes placement types
For instance, changing between "around point" and "offset from
point" placements would lose the setting for distance and offset.
2015-07-11 21:04:46 +10:00
Nyall Dawson
f8b6944de7 Minor coverity fix 2015-07-11 20:21:34 +10:00
Nyall Dawson
b50c603e47 Fix zoom last needs two clicks to reset view for zoom tool
(fix #13095)
2015-07-11 19:44:20 +10:00
Nathan Woodrow
bf6f62cd05 Revert "[FEATURE] Show symbol as icon for attribute row"
This reverts commit e3b2a2daf2a5368c8e5565cd83acc26e706e00c2.

Revert until I fix the speed issues
2015-07-11 18:21:42 +10:00
Juergen E. Fischer
3390f23fd6 fix typo 2015-07-10 21:51:41 +02:00
Juergen E. Fischer
df2d00c544 fix plugin staging 2015-07-10 21:51:39 +02:00
Marco Hugentobler
2dac139924 Use advanced editing for node tool 2015-07-10 16:40:34 +02:00
Alessandro Pasotti
d7d59772a9 Merge pull request #2206 from elpaso/server-docs-server-iface-fix
[SERVER] Server docs and server iface fix
2015-07-10 15:35:03 +02:00
volaya
2b5ea3669e [processing] fixes for lastools algorithms
by Martin Isenburg
2015-07-10 15:28:02 +02:00
Marco Hugentobler
0661b2fdc4 Switch node tool to click-click mode 2015-07-10 14:52:19 +02:00
elpaso
0312dbf3cb Added server module to dox
Added a server group and module for the server library
2015-07-10 14:50:20 +02:00
Nathan Woodrow
e3b2a2daf2 [FEATURE] Show symbol as icon for attribute row 2015-07-10 22:04:53 +10:00
volaya
519d3dc3b7 [processing] more robust CRS assignation for SAGA outputs 2015-07-10 12:42:22 +02:00
elpaso
c126592272 Clear the request handler when done
also added some comments and docs strings
2015-07-10 12:03:55 +02:00
Nyall Dawson
368eaa258b Add support to generate_test_mask_image for mismatched sizes,
add masks for legend renderer tests
2015-07-10 18:09:28 +10:00
Nyall Dawson
405688ea49 [tests] Add method for setting size tolerance to render checker,
add some size tolerance to legend renderer test
2015-07-10 16:52:52 +10:00
Marco Hugentobler
78c2db627f Add a note that the wfs publish setting is also used for dxf export 2015-07-09 14:56:30 +02:00
Etienne Trimaille
e751592a4d small python change 2015-07-09 14:41:00 +02:00
Marco Hugentobler
cc73f96e2e [FEATURE]: Adapt node tool to new geometry types and provide a node editor table 2015-07-09 12:03:22 +02:00
Nyall Dawson
cfee456c05 [FEATURE] Add option to force a vector layer to render as a raster
(under the layer properties, rendering tab)

So why would you want this? Well, extremely detailed layers (eg
polygon layers with a huge number of nodes) can cause composer
exports in PDF/SVG format to be huge as all nodes are included in
the exported file. This can also make the resultant file very slow
to work with/open in other programs (*cough* Inkscape *cough*).

Now, these you can force these layers to be rasterised so that the
exported files won't have to include all the nodes contained in these
layers. (Before you could also do this by forcing the composer to
export as a raster, but that was an all-or-nothing solution).

The ideal solution would be a simplification option for composer
exports which would simplify the layers by removing redundant points
at the export DPI, but this is an easy workaround for now.
2015-07-09 18:34:55 +10:00
Marco Hugentobler
390b816d76 [FEATURE]: Adapt node tool to new geometry types and provide a node editor table 2015-07-09 09:45:23 +02:00
Nyall Dawson
a9e9f86f37 Tweaks to some spin box steps + add some missing clear buttons 2015-07-09 14:12:45 +10:00
Nyall Dawson
e7410ed7d2 Avoid warning 2015-07-09 10:56:33 +10:00
Nyall Dawson
4f29c58e43 Avoid hang on WMS legends with missing graphics (fix #12234) 2015-07-09 10:24:13 +10:00
Juergen E. Fischer
390d832590 refactor stageinstall of plugins 2015-07-09 00:09:07 +02:00
Sandro Mani
42137e4adc Add ref counting to QgsOgrConnectionPool 2015-07-08 16:35:30 +02:00
Marco Hugentobler
4e7efd669d Set content disposition header earlier, otherwise the streaming servers don't get it 2015-07-08 15:59:05 +02:00
Sandro Mani
7f5b5fea56 Destroy connection pool groups when connection pool is destroyed 2015-07-08 15:54:27 +02:00
Nyall Dawson
ce2c402690 [FEATURE][labeling] Allow data defined control of label priority
Previously only the priority for the entire layer could be specified
(fix #4606)
2015-07-08 18:38:33 +10:00
mhugent
736f1c4fa0 Merge pull request #2200 from mhugent/server_content_disposition
Server content disposition
2015-07-08 09:33:55 +02:00
Nyall Dawson
c74754ed8d [pal] Allow data defined quadrant when in "around point" mode
Previously, placement options were either all-or-nothing. If you
wanted to manually set the quadrant for specific labels, it was
only possible when in "offset from point" mode. But this meant
that all other labels would be forced to have the same quadrant
placement, resulting in poor placement. If instead you used
"around point" mode, then all labels would be dynamically placed
but there was no way to force a single label to a specific
quadrant.

Now, you can set the placement mode to "around point" so that the
majority of labels get auto placed, and then set a data defined
quadrant override for specific labels.

Additionally, when data defined quadrant is set when in "around
point" placement, then the label distance is used to offset the
label rather then the offset X/Y used when in "offset from point"
mode.
2015-07-08 16:14:24 +10:00
Nyall Dawson
7b18f67662 Include NULL in expression builder available functions list 2015-07-08 16:14:15 +10:00
Nyall Dawson
eb6279ac5a [labels] Fix null data defined value was not ignored in some cases 2015-07-08 16:14:04 +10:00
Juergen E. Fischer
fa464111c8 fix grass tests on windows 2015-07-07 23:26:44 +02:00
Juergen E. Fischer
92af85b7a2 coverity fixes 2015-07-07 20:16:26 +02:00
Marco Hugentobler
f0835ec3e5 Change order of headers in server tests 2015-07-07 17:20:27 +02:00
Marco Hugentobler
153deba2fc Update python bindings for qgsrequesthandler 2015-07-07 14:57:18 +02:00
Marco Hugentobler
46c05687ab Server: FILE_NAME parameter to set Content-Disposition header from client 2015-07-07 14:48:02 +02:00
Nyall Dawson
05d7744cd9 [pal] 'Follow placement' alignment should also work for offset
from point placements
2015-07-07 22:39:30 +10:00
Nathan Woodrow
03b5ea4d79 Merge branch 'export_symbols' 2015-07-07 22:07:08 +10:00
Nathan Woodrow
659f0d661c Add exportImage API to QgsSymbol 2015-07-07 21:59:22 +10:00
Martin Dobias
099faec597 Added API to use layer style overrides also in map canvas
... so that map canvas does not always use just the active layer style
2015-07-07 13:15:56 +02:00