28538 Commits

Author SHA1 Message Date
Nyall Dawson
fe9461be05 Add methods for retrieving extra parameters from symbol render 2015-09-08 22:08:18 +10:00
Radim Blazek
b8ad58cea9 [GRASS] new module input widget 2015-09-08 13:48:47 +02:00
Marco Hugentobler
eb793a758a Remove geometry if deleting a point feature vertex with the node tool. Make nodetool more robust against NULL geometries 2015-09-08 11:20:06 +02:00
Nyall Dawson
73ffb83ad4 Make sure a lot of foreach loops use references 2015-09-08 17:33:18 +10:00
Nyall Dawson
bd2d78cea9 Ensure that select atlas variables are shown in expression builder
...even when they don't currently have a value assigned. This helps
users know which variables will be available in certain contexts.
2015-09-08 17:31:52 +10:00
Nyall Dawson
e8c3afa398 [FEATURE][composer] Custom format for grid annotations (fix #9292)
Allows composer map grid annotations in custom formats which are
evaluated using QgsExpressions. Made possible through the use
of Expression Contexts(tm)!
2015-09-08 17:31:34 +10:00
Nathan Woodrow
c3a141551d Merge pull request #2297 from nirvn/fix_recent_project_sort
[welcome page] fix sorting of recent projects on startup
2015-09-08 11:36:18 +10:00
nirvn
4c81803ea7 [welcome page] fix sorting of recent projects on startup 2015-09-08 08:28:42 +07:00
Nyall Dawson
94badce431 Avoid use of QString("") 2015-09-08 06:55:13 +10:00
Matthias Kuhn
141242674b Scale image if the photo widget size is set to 0/0 2015-09-07 21:39:17 +02:00
Matthias Kuhn
75df5f20c9 [FEATURE] Support for relative paths in widgets
Is implemented for the following edit widget types:

 * File Name
 * Photo
 * Web View

If the path which is selected with the file browser is located in the same
directory as the .qgs project file or below, paths are converted to relative
paths.
This increases portability of a qgs project with multimedia
information attached.
2015-09-07 21:39:17 +02:00
Alessandro Pasotti
3043f7f960 Merge pull request #2296 from elpaso/qgsserver-return-pair
QgsServer handleRequest now returns QPair of QByteArray with headers and body
2015-09-07 18:05:28 +02:00
elpaso
f56054f049 Re-formatted typecode 2015-09-07 17:10:34 +02:00
Nyall Dawson
5ae2881c81 Update test mask 2015-09-07 20:24:57 +10:00
Nyall Dawson
a45ead116f Fix setting atlas variables in main map canvas for previewing atlas
renders
2015-09-07 20:24:57 +10:00
Nyall Dawson
2fe6d8c04d Fix atlas_geometry variable value 2015-09-07 20:24:57 +10:00
Nyall Dawson
435aeeda66 Deprecate $rownum, replace with @row_number variable which is only
available when it is usable
2015-09-07 20:24:57 +10:00
Nyall Dawson
97096e2d6b Deprecate QgsExpression special column methods 2015-09-07 20:24:57 +10:00
Nyall Dawson
05c2e4de84 Remove use of special columns for composition/atlas
$atlasfeature/$atlasgeometry/$feature/etc have all been ported
to variables
2015-09-07 20:24:57 +10:00
Nyall Dawson
183f401788 Remove use of $map special column
Now replaced by @map_id variable. But don't panic, old expressions
with $map will still work!

Also adds a deprecated group for expression functions, which aren't
shown in the builder. $map added to deprecated group
2015-09-07 20:24:57 +10:00
Nyall Dawson
829ff50200 Expose map settings (rotation, scale) through expression contexts 2015-09-07 20:24:56 +10:00
Nyall Dawson
9e57e3d7ea Add ability to set expression context variables for map canvas 2015-09-07 20:24:56 +10:00
Marco Hugentobler
c8a65668ed Fix reprojected markers 2015-09-07 11:26:17 +02:00
elpaso
5881008c8d Added comments 2015-09-07 10:14:36 +02:00
elpaso
33cbe22096 Convert to type works for QPair of QByteArray 2015-09-07 09:57:32 +02:00
Radim Blazek
9c5a74a393 Merge pull request #2291 from PedroVenancio/grass7_plugin
Adding v.info and r.info to GRASS plugin. Update of some other modules
2015-09-07 08:28:53 +02:00
Nyall Dawson
b00629882d Minor coverity fixes 2015-09-06 19:13:54 +10:00
Juergen E. Fischer
bb9addd05b debian packaging fix (fixes #13310) 2015-09-06 01:40:25 +02:00
Juergen E. Fischer
53c84915e9 indentation update 2015-09-06 01:24:09 +02:00
Juergen E. Fischer
2b0225b1b6 postgres provider: fix display of compound key checkboxes (followup e6f4fa6) 2015-09-06 01:14:52 +02:00
elpaso
a9f2acc57e [SERVER] QgsRequestHandler now returns a QPair
Much simpler GUI with a single method for all
cases. handleRequest now returns both headers and
body in a QPair.
Python binding returns a tuple of QByteArray.
2015-09-05 23:20:30 +02:00
Nyall Dawson
969fc9c1ca Fix build 2015-09-05 22:18:23 +10:00
Nyall Dawson
9133538a74 [FEATURE][composer] Advanced customisation of cell background color
for attribute tables

This allows users to set differing colors for alternating rows and
columns, first/last row/column and header row. Fixes #5131.

Sponsored by Ville de Morges
2015-09-05 22:06:31 +10:00
Nyall Dawson
1c079ead02 Expression context fixes:
- Fix python API break in QgsExpression::Function
- Add convenience methods for retrieving feature/fields from a
context
2015-09-05 22:03:16 +10:00
PedroVenancio
45554ec7f8 Changing r.info and v.info icons by metadata.svg icon already present in QGIS (images/themes/default/propertyicons/) 2015-09-05 09:21:17 +01:00
mhugent
86115435f5 Merge pull request #2290 from mhugent/geometry_marker
Geometry marker
2015-09-05 09:12:06 +02:00
Marco Hugentobler
557701ca9e Documentation 2015-09-05 07:42:28 +02:00
Juergen E. Fischer
cb5054f9aa options: fix display of selected theme 2015-09-05 02:07:31 +02:00
PedroVenancio
bd75f6e5f4 Adding v.info and r.info to GRASS plugin. Update of some other modules (default.qgc, r.info.1.png, r.info.2.png, r.info.qgm, v.info.1.png, v.info.2.png, v.info.qgm, v.kcv.qgm, v.kernel.qgm, v.to.points.qgm) 2015-09-04 23:38:50 +01:00
Giuseppe Sucameli
eea81e81c5 [DBManager] remove layers from QgsMapLayerRegistry once refreshing a table, previewing a different layer or closing the DBManager main window (fix #12938) 2015-09-04 23:52:23 +02:00
Juergen E. Fischer
e6f4fa6bad postgres provider: fix combobox checkboxes on linux 2015-09-04 23:42:50 +02:00
Juergen E. Fischer
c5cce4bfdf postgres provider: add support for compound keys on views 2015-09-04 17:35:26 +02:00
Marco Hugentobler
8e1a19a9cc Documentation 2015-09-04 17:23:41 +02:00
Marco Hugentobler
56316ddcad Consider curved geometries in marker line symbol layer 2015-09-04 14:53:06 +02:00
Juergen E. Fischer
e3b9a98c7b fix deprecation warnings 2015-09-04 14:17:08 +02:00
Nyall Dawson
e374f383ea Merge pull request #2288 from nirvn/labelling_fix_fill_rule
[labelling] set fill rule of qpainterpath for text/buffer rendering
2015-09-04 17:43:06 +10:00
Radim Blazek
1ad2b7693b Merge pull request #2285 from PedroVenancio/grass7_plugin
Update and adaptation of some GRASS plugin modules to GRASS 7
2015-09-04 08:44:53 +02:00
Radim Blazek
c0a89584be [GRASS] qgm dbcolumn field check only if not hidden 2015-09-04 08:36:42 +02:00
Nathan Woodrow
438b689241 Merge pull request #2289 from nirvn/fix_menu_recent_project
[recent projects] do not insert path twice in the recent project file menu
2015-09-04 16:32:48 +10:00
nirvn
4ab2fba7a5 [recent projects] do not insert path twice in the recent project file menu 2015-09-04 13:28:05 +07:00