48885 Commits

Author SHA1 Message Date
Matthias Kuhn
76f574ad58
Merge pull request #7351 from m-kuhn/auth_server_update_config
Allow updating SSL cert custom configuration
2018-07-03 06:35:31 -05:00
Martin Dobias
045b88e75b Fix abs() warning 2018-07-03 10:33:23 +02:00
Alessandro Pasotti
85da39aa82
Merge pull request #7337 from elpaso/locale-options
Add options to override locale and number group sep.
2018-07-03 09:47:43 +02:00
Alessandro Pasotti
b1a67ba85f Rename variable (code layout) 2018-07-03 09:12:44 +02:00
Alessandro Pasotti
f0724857c8 Re-use variable for current locale 2018-07-03 08:38:34 +02:00
Alessandro Pasotti
fd84f82d29 Fix QLocale bitwise operation and some other minor style issues 2018-07-03 08:26:32 +02:00
Matthias Kuhn
f3682be92a Handle invalid step size
in range widgets in combination with NULL values.

Fix #18583 https://issues.qgis.org/issues/18583
2018-07-02 19:05:57 -05:00
nirvn
648089e7c5 [ui] fix extension added to raster save as vrt's chosen directory 2018-07-03 06:57:23 +07:00
nirvn
a9f253ca81 [ui] fix raster save as vrt tiles groupbox hidden when on by default 2018-07-03 06:57:23 +07:00
Nyall Dawson
f43adf7a8b Fix test 2018-07-03 09:43:40 +10:00
Nyall Dawson
2cc9bc8f73 [processing] Fix unexpected newlines showing in python command in history dialog 2018-07-03 09:43:40 +10:00
Nyall Dawson
1621402652 [processing] Fix exception when clicking alg with distance param in history dialog 2018-07-03 09:43:40 +10:00
Matthias Kuhn
ae192e8624 Make console printing safe
References #8343 https://issues.qgis.org/issues/8343
2018-07-02 18:35:24 -05:00
B. Seignovert
cb144b3cfe [RASTER] Generate band name with GTiff EXTRA_DIM
Band names can also be retrieved from GeoTIFF files.
2018-07-03 09:09:34 +10:00
Matthias Kuhn
85b382cbd4 Allow updating SSL cert custom configuration
So far it was only possible to add a first configuration, changing the configuration later on would fail with a unique constraint error.
2018-07-02 16:27:09 -05:00
Matthias Kuhn
7e7faadabf
Merge pull request #7343 from m-kuhn/qgsfunction_handlesnull
Add handlesnull parameter to @qgsfunction
2018-07-02 15:19:06 -05:00
Matthias Kuhn
3c03da28c0 Fix test 2018-07-02 13:13:47 -05:00
Juergen E. Fischer
8c751f8b0b * ubuntu packging: drop yakkety, zesty and artful and add cosmic,
* rerun scripts/scandeps.pl and target t2tdoc (for INSTALL etc.)
2018-07-02 16:24:07 +02:00
Alessandro Pasotti
a092f56dd2 Collect list of available locales instead of using
... the translations available in QGIS.
2018-07-02 14:18:45 +02:00
Hugo Mercier
b6901e286c
Merge pull request #7336 from mhugo/rulebasedlabeling_fix
Fix for rule based labeling toSld()
2018-07-02 13:27:24 +02:00
Matthias Kuhn
a1b6a2cb7f Fix docs 2018-07-02 06:16:49 -05:00
Matthias Kuhn
8df9438c10 Fix test 2018-07-02 06:15:52 -05:00
Peter Petrik
0bf920b21a fix travis 2018-07-02 13:07:28 +02:00
Peter Petrik
82bedbaeee do not use emit keyword for functions 2018-07-02 13:06:46 +02:00
Peter Petrik
4ca91b2858 [quick] [feature] Feature attribute panel
Allow to show feature attribute form and edit/save the modification
of the attributes. Support most frequent QGIS edit widgets such
as text edit, value map or external resource (photo capture)
2018-07-02 11:49:29 +02:00
Hugo Mercier
b37a215451 Make qgis_sip_uptodate happy 2018-07-02 11:00:43 +02:00
Juergen E. Fischer
2ef526a759 Retry tx push on failure 2018-07-02 10:18:15 +02:00
Alessandro Pasotti
217b851cbb Omit group separator by default 2018-07-02 08:31:22 +02:00
nirvn
5b655b3548 [dbmanager] remove button text if toolbar is vertical 2018-07-02 12:51:44 +07:00
nirvn
d8ca89452d [dbmanager] improve import dialog UI 2018-07-02 12:51:44 +07:00
nirvn
48d897f91a [dbmanager] rename tree label to providers for clarity 2018-07-02 12:51:44 +07:00
nirvn
7e8ec00c9b [dbmanager] vectorize icons to fix toolbar in hidpi context 2018-07-02 12:51:44 +07:00
nirvn
7cb80a2308 Rename mActionDraw.svg to more appropriate mActionRefresh.svg
(in doing so, rename current mActionRefresh.svg to mActionReload.svg)
2018-07-02 12:51:44 +07:00
Juergen E. Fischer
ac63b8e16e Translation fix 2018-07-02 02:47:09 +02:00
Nyall Dawson
ead18fc488 [processing] Fix managled paths in history which contain '\' chars 2018-07-02 10:23:01 +10:00
Juergen E. Fischer
5f88ba4cfd db manager: fix syntax error in oracle plugin 2018-07-01 21:41:27 +02:00
Matthias Kuhn
7d38ba0c5a Improve link to python doc 2018-07-01 06:34:12 -05:00
Matthias Kuhn
45fdd0fb31 Add documentation for @qgsfunction 2018-07-01 06:31:26 -05:00
Matthias Kuhn
4d5eb49f1c Add test for qgsfunction.handlesnull 2018-07-01 06:17:25 -05:00
Juergen E. Fischer
9eb8e79aab * update appdata on release
* remove unused splash & banner templates
2018-07-01 12:04:26 +02:00
Matthias Kuhn
60730abba7 Add missing import 2018-06-30 09:40:13 -05:00
Matthias Kuhn
773138cf57 Add handlesnull parameter to @qgsfunction
Up to date it was not possible to create a function that handles NULL values with the
@qgsfunction decorator. As soon as any parameter was NULL, the return value would also
be NULL.

Example of a function that returns a value now with a NULL paramter and would have returned NULL before

```
@qgsfunction(args=-1, group='Custom', handlesnull=True)
def mean_value(vals, feature, parent):
    valid_vals = [val for val in vals if val != NULL]
    return sum(valid_vals)/len(valid_vals)
```

[FEATURE]
2018-06-30 09:40:13 -05:00
Martin Dobias
7b751cbc9f [3d] Increase the range of camera tilt from [0-80] degrees to [0-180]
Previously the changing camera's pitch (tilting the view) would stop
when the camera view is nearly parallel with the horizon. Now it will
be also possible to look up.

Let's see how this will work - we can always switch back in case of problems.
2018-06-30 15:06:14 +02:00
Hugo Mercier
4dbae688f2 Add a test for rule based labeling without setting 2018-06-30 12:43:50 +02:00
Hugo Mercier
831d1b1e9e Use smart pointers to handle mSettings and mFilter 2018-06-30 12:43:44 +02:00
Martin Dobias
78491a6611 [3d] Fixes camera movement when it is looking from further away
At around ~70km distance of camera from terrain the updates of camera
view centers didn't work correctly and the whole view got locked,
unable to pan camera around until zoomed closer. The reason is that
QVector3D::unproject() has "is fuzzy zero" tolerance too high (1e-5)
and was returning incorrect vectors.

This commit also adds a routine for ray-plane intersection which
isn't used in the end, but may be useful at some point later for
simplified ray vs terrain tile tests.
2018-06-30 11:15:17 +02:00
nirvn
b315fbce8d [spatialite provider][dbmanager] hide a few more tables 2018-06-30 15:43:31 +07:00
nirvn
af322fbd63 [dbmanager] hide more spatialite tables by default 2018-06-30 15:43:31 +07:00
nirvn
570f3c86c3 [dbmanager] rename QGIS layers to Project layers for the virtual layer connection 2018-06-30 15:43:31 +07:00
nirvn
86547eb5fc [dbmanager] add connection icon
this harmonizes display with that of the browser panel
2018-06-30 15:43:31 +07:00