36559 Commits

Author SHA1 Message Date
Nathan Woodrow
6d53f83d62 Add keyboard shortcut to actions in the UI
Also bolds action tooltip text to make it clearer.
Shortcuts live inside ({shortcut-here}) in the tooltip
2017-01-21 21:22:16 +10:00
rldhont
ad963e69c3 Merge pull request #3996 from jgrocha/literal
SLD parsing: handling ogc:Literal within CssParameter
2017-01-21 10:55:34 +01:00
Nathan Woodrow
2bedaf869c Don't show prompt on empty group 2017-01-21 17:26:53 +10:00
Nathan Woodrow
72551fbe84 [Expressions] Move field values widget 2017-01-21 16:06:31 +10:00
Nyall Dawson
374b75696d Avoid "Failed to load file "/style.qss"" startup error 2017-01-21 15:28:14 +10:00
Nyall Dawson
56fd6e0904 Revert "Reenable full task manager tests following b45469f"
This reverts commit dd614451c9586ea598f93aab56a97a00f409a6cf.
2017-01-21 15:01:02 +10:00
Denis Rouzaud
dc4aa669f1 spelling fix imrovement and symboll 2017-01-20 22:16:10 +01:00
Denis Rouzaud
4175c1e9d2 run spell check on edited files only 2017-01-20 17:54:01 +01:00
Matthias Kuhn
5c5bcf7f85 Remove FileName and Photo widget in favor of Attachment 2017-01-20 16:35:11 +01:00
Matthias Kuhn
fee2e896e7 [needs-docs] Rename "External Resource" widget to "Attachment" 2017-01-20 16:35:11 +01:00
Matthias Kuhn
abac18cc7b Migrate Photo and FileName widgets to ExternalResource 2017-01-20 16:35:11 +01:00
Denis Rouzaud
4c642ac664 fix typo 2017-01-20 15:17:58 +01:00
Denis Rouzaud
7681e4e67a replace digitising by digitizing 2017-01-20 15:06:10 +01:00
Denis Rouzaud
4c3968b9aa more spelling fixes 2017-01-20 15:06:09 +01:00
Denis Rouzaud
e69263ba2c [spellcheck] improved script 2017-01-20 15:06:09 +01:00
Stéphane Brunner
454383518a don't apply the spell check on all the file if no changes (#4031)
Before that:

$time git commit --amend 2> log
real    7m19.811s
user    49m14.012s
sys     0m16.668s

$ls -lh log
-rw-rw-r-- 1 sbrunner sbrunner 1,8M janv. 20 14:05 log
2017-01-20 14:52:12 +01:00
Matthias Kuhn
f389cea13e Fix loading of editor widgets 2017-01-20 14:35:03 +01:00
rldhont
5a2bd5dc82 Merge pull request #4029 from dmarteau/cleanup_getenv
Move request logging to request object
2017-01-20 13:59:46 +01:00
Matthias Kuhn
85146ca4be Add description for starting python tests in gdb 2017-01-20 12:23:23 +01:00
David Marteau
8e025ae75e Move request logging to request object 2017-01-20 11:32:24 +01:00
Matthias Kuhn
45f4a3e8b7 Automatically set focus on the line edit for attribute table filters
Because the obvious action after selecting a search field is to start
typing and not to click on the line edit with the mouse.
2017-01-20 10:41:42 +01:00
Nyall Dawson
dd614451c9 Reenable full task manager tests following b45469f 2017-01-20 08:26:56 +10:00
rldhont
16eac9f243 Merge pull request #4027 from rldhont/server-selection-tests
[Server] SELECTION tests
2017-01-19 17:19:21 +01:00
Alessandro Pasotti
95ca471e22 Merge pull request #4026 from elpaso/store-urls-in-qsettings
Store URLs in QSettings
2017-01-19 16:52:56 +01:00
rldhont
d1f233d083 [Server] SELECTION tests
Update GetMap SELECTION test
Add GetPrint SELECTION test

!GetPrint SELECTION has to be fixed!
2017-01-19 16:41:43 +01:00
Alessandro Pasotti
8776e3cf64 Store URLs in QSettings
Make URLs overrideable through QSettings.
The idea is to eventually make all hardcoded URLs
and paths user-overrideable through a QSettings entry.
2017-01-19 15:24:20 +01:00
Matthias Kuhn
eb7a235dc1 Print messages from QgsMessageLog to the console when testing 2017-01-19 14:41:04 +01:00
Matthias Kuhn
534cb9e738 Add QgsApplication.instance() to python bindings 2017-01-19 13:15:35 +01:00
Matthias Kuhn
0001856e3f Save readOnly state, constraints and default values to style
They should be handled equal to the edit form config.
Fix #15931
2017-01-19 13:15:35 +01:00
volaya
5e479fc67e [processing] always use only selected features in 'save selected features' 2017-01-19 10:33:52 +01:00
Alessandro Pasotti
b44b9f8892 Replace broken WMS demo URLs with working URLs
I'd liked to add a UMN MapServer Demo too but
I couldn't find a working one.

Needs backporting
2017-01-19 10:10:03 +01:00
rldhont
53752ba365 Merge pull request #4019 from dmarteau/wms_cleanup
Clean WMS service
2017-01-19 09:51:56 +01:00
Nikolay Korotkiy
b45469f137 Fix some errors/typos 2017-01-19 08:51:14 +01:00
Martin Dobias
ff8d912147 Make the one band raster creation method return data provider 2017-01-19 15:46:46 +08:00
Martin Dobias
7b27079de9 Convenience API call to create empty raster file 2017-01-19 15:46:46 +08:00
Martin Dobias
15cd8331ac Make setEditable() return true/false to indicate success/error 2017-01-19 15:46:46 +08:00
Martin Dobias
f6f6ebdb44 [FEATURE] API to enable/disable editing of raster data
To create a 2x2 raster block with one byte per pixel:

```
block = QgsRasterBlock(Qgis.Byte, 2, 2)
block.setData(b'\xaa\xbb\xcc\xdd')
```

To overwrite existing raster data at position 0,0 by the 2x2 block:

```
provider.setEditable(True)
provider.writeBlock(block, band, 0, 0)
provider.setEditable(False)
```
2017-01-19 15:46:46 +08:00
Nyall Dawson
f5e4c9d617 Fix 'bytes can only contain ASCII' error on python3 2017-01-19 08:43:49 +01:00
lbartoletti
01cd784ee7 [FEATURE][processing] Add overlay option to GridLine and GridPolygon 2017-01-19 16:49:35 +10:00
Nyall Dawson
1f3c67f8e3 Add missing ~ operator to expression builder 2017-01-19 16:03:48 +10:00
Harrissou Sant-anna
f43dc8e134 Enable icons visibility in Evis dialogs (#4012)
- Add + and - icons
- Also move some "what's this" comments to "tooltip"
2017-01-19 08:00:53 +07:00
David Marteau
a80497e3de Clean WMS service
- Remove "transitional" code
    - Remove duplicated code (or functionaly equivalent code)
    - Remove dead code
    - Sanitize error checking
    - Ensure correct build with HAVE_SERVER_PYTHON_PLUGINS not defined
2017-01-19 00:08:56 +01:00
Nyall Dawson
d0a46972d4 Merge pull request #4002 from tudorbarascu/fixdescription
fix setRelationId description
2017-01-19 06:19:29 +10:00
Nyall Dawson
7161b5a842 Merge pull request #4008 from jgrocha/postgisstyles
DDL update: saving layer styles on databases
2017-01-19 06:17:59 +10:00
Nyall Dawson
819c9ec03e Merge pull request #4006 from SrNetoChan/replace_pngs
Replace pngs by SVGs
2017-01-19 06:17:17 +10:00
Nyall Dawson
2183887759 Don't use canvas mapSettings when composer maps respond to layer changes 2017-01-19 06:08:44 +10:00
Jorge Gustavo Rocha
65c01775f6 DDL update: saving layer styles on databases
Fix #11421
2017-01-18 20:02:48 +00:00
rldhont
07c54e5496 Merge pull request #4004 from dmarteau/wfs_as_module
WFS & WCS as module
2017-01-18 13:07:32 +01:00
Alexander Bruy
08e0eacfef [processing] return string from selection type setting when necessary 2017-01-18 08:46:56 +02:00
Martin Dobias
90d233ad30 Remove draw() method from QgsRasterDataProvider interface (#4017)
It was redundant in the API - one always wants to use block() to get data
2017-01-18 13:32:26 +08:00