54084 Commits

Author SHA1 Message Date
Corentin.F
8602d8fd97
Fix LineEdit name error 2019-03-05 09:59:28 +01:00
Nyall Dawson
534ff68bbc Handle sigint to terminate qgis app immediately 2019-03-05 18:43:02 +10:00
Nyall Dawson
620db06324 Add external qt-unix-signals library
This library, original taken from https://github.com/sijk/qt-unix-signals
(but a maintained fork exists at https://github.com/nyalldawson/qt-unix-signals),
handles unix signal watching using the Qt libraries.

It allows for detection of signals like SIGINT and SIGTERM,
and allows Qt applications to respond gracefully to these.

Included in external libraries for use in QGIS terminal
applications.
2019-03-05 18:43:02 +10:00
Matthias Kuhn
a33bf306f5
Merge pull request #9048 from troopa81/fix_20872_postgres_multidim_arrays
Manage postgres multidimensionnal array
2019-03-05 09:36:34 +01:00
Matthias Kuhn
2046450548
Merge pull request #9371 from m-kuhn/preserve-layer-visibility-in-offline-editing
[offline editing] Preserve layer visibility in offline editing
2019-03-05 09:35:00 +01:00
Nyall Dawson
5fca18c4ae [processing][GRASS] Fix exceptions on Python < 3.6
Fixes #21173
2019-03-05 17:09:36 +10:00
Mathieu Pellerin
33af405f78
[asf] Fix parsing of polygons 2019-03-05 11:53:47 +07:00
Nyall Dawson
2ff0d5919c [processing] Avoid more deprecation warnings from external libraries 2019-03-05 14:44:02 +10:00
Nyall Dawson
c1cc2b53d9 Fix qt warning on opening modeler dialog 2019-03-05 14:44:02 +10:00
Nyall Dawson
723051b291 [processing] Fix initial zoom of models on hidpi displays
Fixes #16456
2019-03-05 14:44:02 +10:00
Nyall Dawson
8154008daf [processing] Fix items are not correctly placed in model designer
when view is not set to top-left of model scene
2019-03-05 14:44:02 +10:00
Nyall Dawson
30f786c129 [processing] Fix crashes and random behavior after dropping algorithms
to model designer

Also fixes drag and drop within the algorithm parameter dialog and
the qt warnings thrown during these operations
2019-03-05 14:44:02 +10:00
Nyall Dawson
e09b97f91e [processing] Fix missing vector polygon to lines menu item
Fixes #21475
2019-03-05 14:34:42 +10:00
Matthias Kuhn
62dc9452a9
Add test for preserving layer visibility on offline editing 2019-03-04 23:38:17 +01:00
Matthias Kuhn
aa3185e8cf
Preserve layer visibility in offline editing 2019-03-04 23:38:16 +01:00
Nyall Dawson
daeb3d84f7 Fix newline characters break embedded expressions
Fixes #21471
2019-03-05 08:33:10 +10:00
Nyall Dawson
ce5faa1524 [processing] Force regeneration of primary key for more algorithms
Fixes #21445
2019-03-05 07:06:30 +10:00
Nyall Dawson
9d509e7f4c [processing] Fix outdated Find Projection docs
Fixes #21404
2019-03-05 07:06:08 +10:00
Matthias Kuhn
bc166cff13
replace double quote with simple quote
Co-Authored-By: troopa81 <julien.cabieces@oslandia.com>
2019-03-04 16:46:59 +01:00
Matthias Kuhn
bce12629e4
replace double quote with simple quote
Co-Authored-By: troopa81 <julien.cabieces@oslandia.com>
2019-03-04 16:46:45 +01:00
Matthias Kuhn
fb94c9aae9
Fix backport branch filtering 2019-03-04 15:31:03 +01:00
Matthias Kuhn
92a7027a00
Fix backport branch filtering for travis 2019-03-04 15:06:53 +01:00
Denis Rouzaud
7119b747d7
[vertex tool] highlight vertices of locked features when not selected (#9348) 2019-03-04 14:26:21 +01:00
backporting[bot]
1f806700d4 Do not run travis on backport branches 2019-03-04 13:29:51 +01:00
AnikaBettge
972e7a474d Fix default setting for ew_step and ns_step parameter
Fix default setting for ew_step and ns_step parameter which must be "none" rather than 1.5 (which leads to wrong default values in GRASS GIS)
2019-03-04 21:00:30 +10:00
Mathieu Pellerin
853d648ec0
[asf] Use a bulletproof where clause to retrieve object IDs 2019-03-04 07:48:55 +07:00
Matthias Kuhn
fd0f4f780e
Merge pull request #9328 from m-kuhn/show-me-the-way-to-the-next-whisky-bar
Never assume anything
2019-03-03 23:24:04 +01:00
Matthias Kuhn
b6d4833bca
Merge pull request #9292 from m-kuhn/fix-auth-manager-crash-on-exit
Fix auth manager crash on exit
2019-03-03 23:08:26 +01:00
Nyall Dawson
d84b70f04d [processing] Add acceptable string values to parameter metadata
Returns a descriptive list of the possible string values acceptable
for the parameter.

E.g. for a QgsProcessingParameterVectorLayer this may include
"Path to a vector layer", for QgsProcessingParameterBoolean
"1 for true, 0 for false" etc.
2019-03-04 07:57:24 +10:00
Juergen E. Fischer
9b672073fe fix windows build 2019-03-03 22:22:20 +01:00
Julien Cabieces
4113505dea Optimise retrieval of feature from context 2019-03-03 13:44:50 +10:00
Denis Rouzaud
c10e4924ab
remove unused static member (#9329) 2019-03-02 20:04:05 -05:00
Matthias Kuhn
82ca2dd873
Never assume anything
because when you do, reality will teach you better
2019-03-03 00:25:40 +01:00
Matthias Kuhn
acf0e19f15
Merge pull request #9327 from m-kuhn/fix-warning
Silence warning without opencl
2019-03-02 23:44:45 +01:00
Matthias Kuhn
c71a04070f
Fix warning 2019-03-02 23:00:02 +01:00
Matthias Kuhn
953a9aa48e
Indentation fix 2019-03-02 09:56:33 +01:00
Matthias Kuhn
024e8ebfda
Some tests rely on the current dinitialization order 2019-03-02 09:56:04 +01:00
Matthias Kuhn
dcc92de5d0
Merge pull request #9316 from m-kuhn/fix-geometry-validation-crashes
[geometry validation] Stability and performance improvements
2019-03-02 09:54:35 +01:00
Matthias Kuhn
77f2b60aa5
Merge pull request #9298 from m-kuhn/is-valid-check-results-deactivate
[geometry validation] Allow deactivating is valid checks in an edit session
2019-03-02 09:52:30 +01:00
Matthias Kuhn
22b052da39
Merge pull request #9299 from m-kuhn/geometry-validation-only-report-affected-features
[geometry validation] only report affected features
2019-03-02 09:48:37 +01:00
Matthias Kuhn
c2679926b8
Merge pull request #9307 from m-kuhn/avoid-intersection-use-geometry-precision
Add topological points on layers with configured precision
2019-03-02 09:48:05 +01:00
Matthias Kuhn
252791e9e1
Merge pull request #9308 from m-kuhn/z-with-duplicate-nodes
Take Z values into consideration in avoid duplicate nodes
2019-03-02 09:47:38 +01:00
Matthias Kuhn
ca95220fff
Merge pull request #9321 from m-kuhn/cleanup-qgsvectorlayer-geometrytype
Cleanup QgsVectorLayer::geometryType()
2019-03-02 09:47:19 +01:00
Matthias Kuhn
ac78a194df
Merge pull request #9322 from m-kuhn/fix-double-delete
[geometry validation] Fix double delete and memory leak
2019-03-02 09:46:55 +01:00
Matthias Kuhn
34684d4505
Merge pull request #9324 from m-kuhn/latin1
Use QLatin1String for geometry representation operations
2019-03-02 09:04:04 +01:00
Nyall Dawson
b53d64bfb0
Silence annoying PyQt5.uic.loadUiType deprecation warnings
These aren't our fault -- they come from the PyQt library itself,
so we may as well hide them and avoid the noise.
2019-03-02 12:07:46 +10:00
Nyall Dawson
6b1d5ee62c QStringLiteral 2019-03-02 12:06:59 +10:00
Nyall Dawson
558d5365b5 Add new plugin metadata string to indicate whether a plugin
implements Processing providers

Plugins which implement providers should include the

    hasProcessingProvider=yes

line within their metadata.txt file. This allows for rapid
identification of all plugins which implement Processing
functionality.
2019-03-02 12:06:59 +10:00
Nyall Dawson
2f82bab1d9 Add Python utils method to start a Processing specific plugin
This command adds a plugin to active plugins and calls initProcessing(),
initializing only Processing related components of that plugin.

The new initProcessing() hook should be implemented by plugins
which provide Processing providers or algorithm, and should only
implement code which is required to load the provider and algorithms.
Strictly no GUI related code should be used here, that MUST
be moved out of initializers and deferred to the plugin's
initGui implementation.
2019-03-02 12:06:59 +10:00
Matthias Kuhn
92b7356734
Merge pull request #9323 from m-kuhn/messagebar-cleanup
Some cleanup in QgsMessageBar
2019-03-01 23:47:46 +01:00