41823 Commits

Author SHA1 Message Date
Nyall Dawson
c41dca937c Port processing combineFields to c++ 2017-09-22 15:19:32 +10:00
Nyall Dawson
cf636dcafa Merge pull request #5235 from nyalldawson/model_progress2
[processing] Proper progress reports during model execution
2017-09-22 15:17:51 +10:00
Nyall Dawson
33d2d1119c Update sip 2017-09-22 12:50:47 +10:00
Nyall Dawson
b39459b8ff Matching default multiple fields should also be case-insensitive 2017-09-22 12:02:48 +10:00
Nyall Dawson
b4a798e892 Setting field for QgsFieldComboBox should be case-insensitive 2017-09-22 11:39:17 +10:00
Larry Shaffer
559973739c Merge pull request #5202 from dmarteau/fix_ln_option_OSX
Execute ln command with GNU compatible options in install phase
2017-09-21 19:37:42 -06:00
Nyall Dawson
c5b9fa23cd Formatting 2017-09-22 10:56:32 +10:00
Nyall Dawson
94530a9efc Allow setting default value for field parameters in models 2017-09-22 10:50:46 +10:00
Nyall Dawson
eaee80acfe Better debugging for models by showing child algorithm parameters in the log 2017-09-22 10:32:17 +10:00
Nyall Dawson
6afe25ef0f [processing] Proper progress reports during model execution
Instead of showing the progress reports for each child algorithm
individually, which leads to repeated 0->100% progress for every
step of a model, we proxy the progress reports and account for the
overall progress through a model as well. This means that
the progress accounts for both the progress within the current
model step AND the total number of steps left to execute.
2017-09-22 10:32:17 +10:00
Nyall Dawson
9d6d60727a Expand unit tests for compound curves 2017-09-22 09:54:23 +10:00
Nyall Dawson
a7d0d5ef2d Fix loss of dimensionality when cloning compound curves 2017-09-22 09:54:23 +10:00
Nyall Dawson
148a906cb5 Fix adding curves with Z/M to non Z/M compound curves
Z/M for these curves should be dropped to ensure consistent
dimensionality for the whole compound curve
2017-09-22 09:54:23 +10:00
Nyall Dawson
f268ccc837 Expand test coverage for compound curves 2017-09-22 09:54:23 +10:00
Nyall Dawson
9d9c0e40a6 Fix setting correct WKB type for compound curves when adding first curve 2017-09-22 09:54:23 +10:00
Nyall Dawson
cee1f56159 Fix crash when trying to delete invalid curve from compound curves 2017-09-22 09:54:23 +10:00
Nyall Dawson
840a9c104a Fix crash when requesting invalid curve from compound curves 2017-09-22 09:54:23 +10:00
Nyall Dawson
e7b08d520e Expand geometry test coverage 2017-09-22 09:54:23 +10:00
Nyall Dawson
c77afeda9a Expand geometry unit test coverage 2017-09-22 09:54:23 +10:00
Nyall Dawson
387771fad4 Consistent capitalization for browser item actions 2017-09-22 09:36:33 +10:00
Nyall Dawson
7c53dc1574 Correctly parent browser item actions to transient menu instance
Currently most browser item actions are parented to the item
itself, which is often long-lived (e.g. connection items
which last for the duration of the qgis session). This
commit adds an explicit parent widget parameter to
QgsDataItem::actions to ensure that the newly created actions
are correctly parented to the menu, and deleted after the
menu is removed.
2017-09-22 09:32:54 +10:00
Matthias Kuhn
9caa7224cd Merge pull request #5230 from m-kuhn/taskWaitForFinished
QgsTask::waitForFinished without event loop
2017-09-21 18:35:43 +02:00
Matthias Kuhn
8f2c885436
[travis] Disable flaky test
See https://travis-ci.org/qgis/QGIS/jobs/278224577
https://github.com/qgis/QGIS/pull/5230#issuecomment-331189552
2017-09-21 18:00:46 +02:00
Matthias Kuhn
e47aa6d701
Add some docstring
Mainly to run travis again
2017-09-21 16:54:58 +02:00
Matthias Kuhn
8ef28e3f87 Merge pull request #5114 from gacarrillor/update_add_feature_tooltips
[needs-docs] Update tooltips for adding features/records
2017-09-21 15:24:23 +02:00
Matthias Kuhn
88fcbb0aac
QgsTask::waitForFinished without event loop
because the old approach with using signals, using deleteLater and using
an internal event loop is a very good recipe for big troubles.
2017-09-21 14:16:37 +02:00
Sandro Mani
54ea029de8 Merge pull request #5224 from manisandro/ogr_gdb_subset
[OGR] Add workaround for OGRSQL not recognizing the column name returned by OGR_L_GetFIDColumn
2017-09-21 13:12:46 +02:00
Matthias Kuhn
06dc9660a3 Merge pull request #5229 from m-kuhn/cleanCode
Clean code
2017-09-21 11:32:34 +02:00
Sandro Mani
a67194df77 [OGR] Add orig_ogc_fid as last field to avoid changing field order 2017-09-21 11:17:12 +02:00
Sandro Mani
4ce2cf1744 [OGR] Add workaround for OGRSQL not recognizing the column name returned by OGR_L_GetFIDColumn 2017-09-21 10:50:39 +02:00
Alessandro Pasotti
6e5324b9d8 Fix doxygen ingroup gui -> core for moved classes 2017-09-21 10:23:11 +02:00
Matthias Kuhn
846fef2013
Doxygen 2017-09-21 10:04:26 +02:00
Matthias Kuhn
813e9d32b0
Remove dummy method 2017-09-21 09:28:53 +02:00
Matthias Kuhn
7b14d4870d
Move definition to class 2017-09-21 09:28:52 +02:00
Nyall Dawson
d6bf31783c Add an 'Open in external editor' option for python scripts in browser 2017-09-21 08:16:06 +10:00
Nyall Dawson
274a9024cd [FEATURE] Show python scripts in browser
Double clicking (or dragging them onto canvas) executes the script
2017-09-21 08:10:52 +10:00
Nyall Dawson
695cf6b5d5 Make sure iface is available when executing dropped python scripts 2017-09-21 08:10:43 +10:00
Nyall Dawson
fc10b77f45 [FEATURE] Show QPT print templates in browser
Double clicking the template (or dragging and dropping to canvas)
results in a new layout being created from the template
2017-09-21 07:55:18 +10:00
Nyall Dawson
15e650d624 Merge pull request #5221 from nyalldawson/browser_awesome
Add QLR, processing models to browser
2017-09-21 05:20:07 +10:00
Juergen E. Fischer
d34fd9f0b1 debian packaging: add ubuntu artful 2017-09-20 21:06:22 +02:00
Matthias Kuhn
b1b21ed25f Merge pull request #5143 from m-kuhn/nulldatasetparams
QgsVectorFilewriter skip default null options
2017-09-20 11:44:57 +02:00
Nyall Dawson
a67dab52d2 Spelling 2017-09-20 18:45:59 +10:00
Nyall Dawson
ef97063029 Identation 2017-09-20 18:41:42 +10:00
Nyall Dawson
e6169d8518 Merge pull request #5220 from nyalldawson/open_folder
[FEATURE] Add 'open directory' action to right click menu for folders in browser dock
2017-09-20 18:36:20 +10:00
Alessandro Pasotti
825a323a14 Fix single raster data items in ogr source select
Thanks to Nyall for catching this.
2017-09-20 09:21:23 +02:00
Matthias Kuhn
a6dc600784
[processing] Fix single sided buffer multiline (bevel) 2017-09-20 08:51:43 +02:00
Nyall Dawson
6e1c5c4d75 [FEATURE] Show processing models in browser
And allow them to be executed and edited directly from there
2017-09-20 14:09:03 +10:00
Nyall Dawson
253c4c7a42 Add a Custom item type for QgsDataItem 2017-09-20 14:09:03 +10:00
Nyall Dawson
8bce7a62a7 Allow QgsDataItems to override default double click behavior 2017-09-20 14:09:03 +10:00
Nyall Dawson
fcf2fcae5a [FEATURE] Show qlr files in browser
Fixes #10737
2017-09-20 14:09:03 +10:00