1
0
mirror of https://github.com/qgis/QGIS.git synced 2025-03-26 00:08:20 -04:00

52603 Commits

Author SHA1 Message Date
Matthias Kuhn
50037a591d
Do not report an error when checks are triggered 2018-12-04 13:52:00 +01:00
Matthias Kuhn
9e0b9e76e2
Save layer changes on successful repair
when there are topology errors which are fixed subsequently, make sure that the layer can be saved again
2018-12-04 13:52:00 +01:00
signedav
53c7dd3a22 typo and as_const 2018-12-04 13:49:36 +01:00
Denis Rouzaud
f09e640498
Merge pull request from 3nids/without_analysis
allow to build QGIS without analysis
2018-12-04 07:24:20 -04:00
Matthias Kuhn
774c890f9c
Merge pull request from m-kuhn/auth-manager-unique-ptr
Use std::unique_ptr
2018-12-04 12:09:03 +01:00
signedav
f3943f5877 do not write logs before QgsApplication instace
because otherwise it creates a QgsProject without a QgsApplication
and translation won't work anymore because it cannot connect the signal to the slot

this fixes 
2018-12-04 12:03:34 +01:00
Luigi Pirelli
c39e2b83da
Merge pull request from NaturalGIS/add_te_paramater_in_gdal_clip_by_mask
add the -te and -te_srs and -multi parameters to the gdalwarp tool used to clip rasters by mask layers
2018-12-04 11:32:52 +01:00
signedav
73e3eadfc9 fix test and add test cases 2018-12-04 10:37:49 +01:00
Matthias Kuhn
f6164509e5
Use std::unique_ptr 2018-12-04 10:24:57 +01:00
Alessandro Pasotti
d4c62d17a9
Merge pull request from elpaso/opencl-remove-static-members
[opencl] Remove all static members
2018-12-04 08:17:13 +01:00
Giovanni Manghi
25bfca492f partial fix for SAGA RGB composite tool 2018-12-04 11:49:20 +10:00
Nyall Dawson
455e04ea66 [processing][SAGA] Fix definition of Patching algorithm
And add unit test

Fixes 
2018-12-04 10:36:38 +10:00
Denis Rouzaud
4b9a532f2c
be more verbose in var description 2018-12-03 14:56:27 -04:00
signedav
be9f6bb97a tests if gpkg back synchronization provides the same values 2018-12-03 18:10:27 +01:00
Alessandro Pasotti
868b04d829 [opencl] Remove all static members
and rely on the default() mechanism, this prevents
random crashes on exit when dtor is called on the
statics.
2018-12-03 17:51:36 +01:00
Denis Rouzaud
18abcb580a fix building without PyQt 2018-12-03 12:23:28 -04:00
Denis Rouzaud
efd1fd6d59 allow to build without analysis 2018-12-03 12:06:16 -04:00
Alessandro Pasotti
dcba25501f Silence warning in release mode 2018-12-03 15:40:30 +01:00
signedav
0f653179ff handle fid attribute in attrLookup on synchronization
and use column++ again on iteration through attributes on copyVectorLayer

fixes  especially the not reported issue with synchronization
2018-12-03 15:26:48 +01:00
Peter Petrik
cafa652c02 fix build on MacOS 2018-12-03 11:44:18 +01:00
Alessandro Pasotti
1cc6bc1116
Merge pull request from elpaso/opencl-raster-calculator2
[opencl] Raster calculator goes opencl
2018-12-03 11:03:09 +01:00
Alessandro Pasotti
61dd729517 Move nodeCalc unique ptr to the GPU function
... and spare some CPU cycles
2018-12-03 10:05:10 +01:00
Nyall Dawson
4212deabe8 [processing][saga] Add unit test for point distances alg 2018-12-03 18:11:24 +10:00
Nyall Dawson
ef2fff0820 [processing][SAGA] Fix default output format for geometry-less tables 2018-12-03 18:11:24 +10:00
Nyall Dawson
4bca7838bf [processing] Add method for providers to specify a different list
of supported output formats when an output has no geometry
2018-12-03 18:11:24 +10:00
Nyall Dawson
583b602e76 [processing] Fix hasGeometry() method when output is a geometry-less vector table
From the dox for QgsProcessing.TypeVector: "When used for a sink this indicates
the sink has no geometry.". If an algorithm is using this value to indicate
"maybe has geometry" for an output, then that algorithm is incorrect and
should be using TypeVectorAnyGeometry instead.
2018-12-03 18:11:24 +10:00
Luigi Pirelli
e1b3524b5d
Merge pull request from NaturalGIS/fix_saga_point_distances
fix the SAGA Points Distances tool
2018-12-02 23:36:38 +01:00
Alessandro Pasotti
5ef87371aa Remove duplicated code
The input check was already done before entering
in the GPU branch
2018-12-01 17:31:45 +01:00
Alessandro Pasotti
e01c162fcd Fix build warnings 2018-12-01 11:02:15 +01:00
Alessandro Pasotti
6a1a581e7a [opencl] Raster calculator goes opencl 2018-12-01 10:42:10 +01:00
Alessandro Pasotti
9b9881d3da
Merge pull request from elpaso/bugfix-20682-form-toggle-editing
[attributeform] Do not reset feature on editing toggled
2018-12-01 09:43:05 +01:00
Alessandro Pasotti
dd309ccbe5 [attributeform] Do not reset feature on editing toggled
... just reset values

Fixes  - form toggle editing
2018-11-30 21:14:26 +01:00
Juergen E. Fischer
d9a70d084b INSTALL: add note about git core.filemode on windows (superceeds PR#8578)
(oci-devel now dependency of qgis-dev-deps in OSGeo4W)
2018-11-30 19:44:27 +01:00
Alessandro Pasotti
fbcfe0e992
Merge pull request from elpaso/opencl-2
[opencl] Support for platforms > 1.1
2018-11-30 18:25:10 +01:00
Alessandro Pasotti
13eca562f6 Fix build warning again (on debian opencl headers do not support 2.2) 2018-11-30 17:22:35 +01:00
Alessandro Pasotti
a471934e56 Fix build warning and cl-std for 2.x builds 2018-11-30 16:14:28 +01:00
Alessandro Pasotti
e5b8645953 Remove TODO comment because it's now done 2018-11-30 13:58:19 +01:00
Alessandro Pasotti
6176159a00 [opencl] Support for platforms > 1.1 2018-11-30 13:41:35 +01:00
Alessandro Pasotti
0af1ce40a8
Merge pull request from elpaso/bugfix-20601-rastercalc-duplicated-layer-names
Fix rastercalc duplicated layer names
2018-11-30 10:17:38 +01:00
volaya
e546129f5c [processing] fixed update of MultipleInputPanel after alg is run
Fixes 
2018-11-30 09:17:07 +01:00
Alessandro Pasotti
50e5414232 Coding style and SIP_DEPRECATED 2018-11-30 09:03:28 +01:00
Nyall Dawson
3a66b92522 [processing] Fix crash when running model through modeler dialog
Fixes 
2018-11-30 10:02:52 +10:00
stra2da
0e4b0980d8 first example deleted, cause it is for combine function 2018-11-30 07:39:57 +10:00
Denis Rouzaud
dde309439c
Merge pull request from 3nids/locator_context
Add context menu for locator filter results
2018-11-29 15:28:30 -04:00
Nyall Dawson
7c43bcda76 Add new "allowVersionCheck" setting
If true, users may control whether the version check is enabled
or disabled through the QGIS settings dialog. (The default
check behavior is determined by the existing 'checkVersion' setting).

If false, no version checking will be performed AND users will NOT
have an option to enable this check in the settings dialog.

This setting is intended for use in enterprise installs where QGIS version
management is handled centrally.
2018-11-30 05:03:58 +10:00
Nyall Dawson
59d2c5301f [processing] Fix exception when parameter metadata is set to extend inbuilt wrapper type 2018-11-30 05:02:59 +10:00
Nyall Dawson
d72c4d001f [processing] Allow parameter metadata to set the number of decimal places
to show in numeric/distance widgets

E.g. to only show 2 decimal places:

  # only show two decimal places in parameter's widgets, not 6:
  param.setMetadata( {'widget_wrapper':
    { 'decimals': 2 }
  })
2018-11-30 05:02:59 +10:00
Denis Rouzaud
157c8f4987 more doc 2018-11-29 14:28:14 -04:00
Alessandro Pasotti
1672d434ce Raster calc: refresh layers list if a layer is renamed or added/removed
Fixes  - bug: Raster calculator produces empty results layer and no error message if input layer is one that has been renamed in QGIS layers panel
2018-11-29 18:30:01 +01:00
Denis Rouzaud
c13b419d21 fix python bindings 2018-11-29 12:50:48 -04:00