47112 Commits

Author SHA1 Message Date
Nathan Woodrow
53a384cba7
[FEATURE][needs-docs] Show data defined expected format in expression builder (#6839) 2018-04-23 13:32:51 +10:00
Nathan Woodrow
76b956a6a3
[FEATURE][needs-docs] Don't bail on first expression error (#6838) 2018-04-23 10:50:43 +10:00
Juergen E. Fischer
8e7486bf56 update_ts.sh: handle empty exclusion 2018-04-23 00:20:25 +02:00
Nyall Dawson
a2fbf5e1de [oracle] Fix some clazy warnings 2018-04-23 05:09:10 +10:00
Nyall Dawson
3032ab7472 [oracle] More code modernization 2018-04-23 06:26:59 +12:00
Nyall Dawson
2273dfacb6 [FEATURE][oracle] Allow restricting table list for a connection
to a specific schema

This allows a schema to be set in the connection properties for
an oracle db connection. If set, only tables within that schema
will be scanned and listed for the connection.

Previously the option existed to restrict the scan to tables
which belong to the user, but this option does not support
the use case where a connection must access tables from a different
user, and the default "scan everything" setting is too expensive
(since it often takes multiple minutes to perform, especially
when geometryless tables are shown).

Sponsored by Open Spatial (http://www.openspatial.com)
2018-04-23 06:26:59 +12:00
Nyall Dawson
31faa11bfb [oracle] More code modernization 2018-04-23 06:26:59 +12:00
Nyall Dawson
8d1b435255 [oracle] Address more clazy warnings 2018-04-23 06:26:59 +12:00
Nyall Dawson
529173f3fa [oracle] Fix clazy warnings in new connection dialog 2018-04-23 06:26:59 +12:00
Juergen E. Fischer
9242d2f960 remove plugin_template exclusion from translation updates (followup 605ef7d8294b6) 2018-04-21 14:32:28 +02:00
Nyall Dawson
4d61fb5e63 [oracle] Fix crash when adding a feature with missing attributes
to data provider
2018-04-21 21:21:28 +10:00
Nyall Dawson
a74414c0ae [oracle] Always fetch features with null goemetry unless feature rect is set
...to match behaviour of other providers
2018-04-21 21:21:28 +10:00
Nyall Dawson
dd2ff1587a [dbmanager][oracle] Add some missing imports 2018-04-21 17:07:34 +10:00
Blottiere Paul
d589ba7d7c Try to add cancel support for Oracle databases in dbmanager 2018-04-21 17:03:11 +10:00
Nathan Woodrow
b22121ac75
[FEATURE][needs-docs] Hyperlink functions to show help in builder (#6796) 2018-04-21 12:58:12 +10:00
Loïc Bartoletti
44c72a01f7 Typos and re indent 2018-04-21 08:16:14 +10:00
Loïc Bartoletti
f558b742cf Add tests 2018-04-21 08:16:14 +10:00
Loïc Bartoletti
2702a3092f Fix warn doc 2018-04-21 08:16:14 +10:00
Loïc Bartoletti
b09cbaeb98 sipify 2018-04-21 08:16:14 +10:00
Loïc Bartoletti
70d5536054 fix doc 2018-04-21 08:16:14 +10:00
Loïc Bartoletti
0bacf0ff16 - Add some methods in QgsVector3D
- Move QgsVector3D from 3d to core
- Use QgsVector3D instead of QVector3D
2018-04-21 08:16:14 +10:00
Loïc Bartoletti
9d649e738a Add skewLines intersection algorithm 2018-04-21 08:16:14 +10:00
Nyall Dawson
d87f75aa98 [processing] Unit tests for distance param widget wrapper 2018-04-20 22:44:28 +10:00
Nyall Dawson
91c1277035 [processing] Swap more QGIS and GDAL algorithm parameters to distance params 2018-04-20 22:44:28 +10:00
Matthias Kuhn
11735067d5
Merge pull request #6808 from m-kuhn/fixxxxes
Some minor code fixes
2018-04-20 14:37:39 +02:00
rldhont
f914762b46
Merge pull request #6793 from pblottiere/bugfix_owslib
[server][bugfix] Cleaning GetCapabilities response
2018-04-20 14:12:17 +02:00
Nyall Dawson
6358daad91 Fix broken translation string 2018-04-20 20:08:28 +10:00
Nyall Dawson
4a594d3f32 [FEATURE][processing] Add buttons to save/clear/copy log
In the algorithm execution dialog, this adds buttons to allow
users to save the current log (to text or HTML files), copy the
log contents to the clipboard, and clear the log.
2018-04-20 20:08:28 +10:00
Nyall Dawson
0dfb3c2d8c [processing] Use distance parameter for more algorithms 2018-04-20 18:27:00 +10:00
Nyall Dawson
1d0d22361c Smoother looking warning icon 2018-04-20 18:27:00 +10:00
Nyall Dawson
6412138259 Indentation 2018-04-20 18:27:00 +10:00
Nyall Dawson
6a2625664e [processing] Add dedicated "distance" parameter
This is a subclass of QgsProcessingParameterNumber, but specifically
for numeric parameters which represent distances. It is linked
to a parent parameter, from which the distance unit will
be determined, and is shown using a dedicated distance widget
within the processing parameters panel. This widget shows
the distance unit.

This avoids the confusion when running algorithms which
use distances where the unit depends on a layer or CRS parameter -
e.g. the distance parameter in the buffer algorithm gives
the distance in layer units... so now we can show those units
directly within the dialog. Hopefully this leads to less
user confusion and accidental "1000 degree buffers"!

Additionally - if the unit is in degrees, a small warning
icon is shown next to the parameter. The tooltip for this
icon advises users to reproject data into a suitable
projected local coordinate system.

Initially implemented for the native buffer and single
sided buffer algorithm only - but more will be added.

Fixes #16290
2018-04-20 18:27:00 +10:00
matteo
9107da368e [processing] fix missing import 2018-04-20 18:26:33 +10:00
Matthias Kuhn
62ca029849 QString() to QStringLiteral() 2018-04-20 10:19:50 +02:00
Matthias Kuhn
e6181e1a5b Adjust to const-correct renderer API 2018-04-20 10:18:39 +02:00
nirvn
f63d5ad9ac [FEATURE] Copy statistics panel content to clipboard button 2018-04-20 14:28:43 +07:00
Matthias Kuhn
5204fd35d2 QVariant also supports booleans 2018-04-20 09:08:14 +02:00
Matthias Kuhn
a75fa25517 Use range-based for loop 2018-04-20 09:08:14 +02:00
Matthias Kuhn
eb7f755429
Merge pull request #6813 from m-kuhn/constrenderers
Const correctness for feature renderers
2018-04-20 08:31:15 +02:00
nirvn
7d787980f5 followup a463858: fix interpol. data widget setValue function 2018-04-20 10:13:35 +07:00
Nyall Dawson
c70c78412c Fix string capitalization, HIG violations 2018-04-20 11:25:10 +10:00
Nyall Dawson
463a64651f Modernize code 2018-04-20 11:09:50 +10:00
Nyall Dawson
c961b1f24b Followup legend text rendering
- Use QgsFontButton for setting legend text format
- Tweak some capitalization and layouts
2018-04-20 10:55:16 +10:00
Nyall Dawson
6c892652ac Followup a463858, fix failing tests 2018-04-20 08:38:15 +10:00
Martin Dobias
2d7addc9f7
Merge pull request #6817 from wonder-sk/legend-text-on-symbols
Legend: optional text on top of symbols for vector layers
2018-04-19 15:32:37 +02:00
Martin Dobias
f1a31d09f1 Use standard font for text on symbol 2018-04-19 14:23:49 +02:00
Martin Dobias
00d8dbfb47 Make it possible to load "text on symbol" labels from expression 2018-04-19 14:16:42 +02:00
Nyall Dawson
16465cb38e Fix Coverity null pointer dereference warning 2018-04-19 20:19:57 +10:00
nirvn
a463858bf3 [processing] restore TIN / IDW interpolation algorithms 2018-04-19 17:19:07 +07:00
nirvn
7d43e7b876 fix interpolation data widget 2018-04-19 17:19:07 +07:00