35677 Commits

Author SHA1 Message Date
Matthias Kuhn
73d9c4a295 Some more adjustments for the attribute type dialog 2016-11-23 15:28:50 +01:00
Harrissou Sant-anna
f450725108 Rework the Edit widget properties dialog 2016-11-23 15:28:50 +01:00
volaya
dd04ecd30d Merge pull request #3768 from DelazJ/patch-19
Typo fix in Processing help file
2016-11-23 12:25:06 +01:00
volaya
0a0de8012e Merge pull request #3796 from nirvn/processing_modeler_msgbar
[processing] switch a couple of modeler pop up dialogs to message bars
2016-11-23 12:24:34 +01:00
nirvn
6e2288dccb [processing] switch a couple of modeler pop up dialogs to message bars 2016-11-23 17:28:34 +07:00
Matthias Kuhn
d559d7ff25 Partially revert 9bb3235
The -DCMAKE_POSITION_INDEPENDENT_CODE=ON resolves to -fPIE instead
of -fPIC (on some platforms?) rendering cmake broken.
2016-11-23 09:26:44 +01:00
Alexander Bruy
eeafe67467 Merge pull request #3795 from nirvn/modeler_toolbar
[processing] improve the modeler dialog UI and icons
2016-11-23 09:41:43 +02:00
nirvn
2652aa50c9 [processing] improve the modeler dialog UI and icons
- use a proper toolbar to match other parts of QGIS
- show keyboard shortcuts in toolbar action tooltips
- create vector icons to replace PNG ones
2016-11-23 13:45:17 +07:00
Nyall Dawson
489e00df8d [processing] Enhance create points layer alg
Clean up code, allow setting z/m columns
2016-11-23 16:43:25 +10:00
Nyall Dawson
3c51a93f6a [processing] Fix very broken delete columns algorithm 2016-11-23 15:21:17 +10:00
Larry Shaffer
d712b49a74 Merge pull request #3790 from dakcarto/qt5py3-mac-fixes
Qt5py3 Mac fixes
2016-11-22 21:29:38 -07:00
Nathan
311f482725 Move profiler instance to QgsApplication 2016-11-23 14:03:25 +10:00
Nyall Dawson
ee80be4317 Fix misleading indentation warnings caused by messy qtermwidget code formatting 2016-11-23 08:23:23 +10:00
Alexander Bruy
dc82ad4c78 fix typo 2016-11-22 19:57:43 +02:00
Hugo Mercier
b7fa5400b6 [db manager] Fix virtual layer uid handling 2016-11-22 16:09:53 +01:00
Hugo Mercier
289423617f [virtual] disable FilterRect when no unique id is present. Should fix #15134 2016-11-22 11:56:36 +01:00
Matthias Kuhn
8dbe6ead2b Merge pull request #3793 from nirvn/default_styles_imp
[style manager] new default symbols shipped with QGIS & add a set of pre-defined tags
2016-11-22 08:47:36 +01:00
nirvn
e2265290b0 [style manager] refresh symbols shipped by default & add tags 2016-11-22 14:46:36 +07:00
nirvn
0a0b3a70cc [style] speed up importXML() by using SQL transaction
Gains are significant, importing 100 symbols would take 2.86s,
but takes only 0.18s when using transaction.
2016-11-22 14:46:36 +07:00
nirvn
bc130be6cb [style] improve creation of default style db
Instead of copyign a pre-existing .db shipped with QGIS, create
a new .db and import an .xml file containing our default  symbols.

On the UX front, the main benefit is being able to ship with
pre-defined tags and favorite flags for the default symbols.

On the developer side, it means we get rid of the requirement
to maintain both an .xml and a binary .db in the source tree.
We also say aurevoir to the symbol_xml2db.py script and the
need to update the (obsolete) script every time we add a new
feature to QgsStyle.
2016-11-22 14:46:35 +07:00
nirvn
efd299220e package symbology-ng-style.xml instead of the .db file 2016-11-22 14:36:47 +07:00
Martin Dobias
d716640403 Remove usage of legendInterface() from plugins (followup e5f62e49) 2016-11-22 12:23:37 +08:00
Mathieu Pellerin
0c58555c43 [symbology] respect mixed unit when applying symbol from list widget (#3792) 2016-11-22 12:23:04 +08:00
Nyall Dawson
33caf66e1d Merge pull request #3766 from nyalldawson/processing_context2
[processing] Fix hangs when running algorithms
2016-11-22 12:56:51 +10:00
Nyall Dawson
20dc7fb266 [FEATURE] raster_statistic expression function for retrieving
raster band stats from a loaded layer

Allows raster band stats (eg min, max, avg) to be used in
expressions
2016-11-22 12:07:25 +10:00
Nyall Dawson
86ab3022b5 Remove layer extent and statistic variables from processing contexts
These variables take a lot of time to calculate and cause lots of
lengthy hangs in processing. (Eg add some moderately large rasters
to a project, then try to run any processing algorithm and QGIS
will freeze).

The layer extent can already be used in expressions via the
layer_property function, which only evalutes the extent if required
and only for layers it is used for.

The band stats for raster layers should be moved to a
band_statistic function in core which behaves the same way.
2016-11-22 11:17:38 +10:00
Nyall Dawson
377cba0b74 [processing] Use real map settings scope instead of custom canvasextent variables 2016-11-22 11:17:38 +10:00
Martin Dobias
e5f62e49ce Remove legacy QgsLegendInterface, move still valid methods to QgisInterface 2016-11-22 08:25:01 +08:00
Nyall Dawson
188033a6af [FEATURE] Expression variables for project CRS
Adds @project_crs and @project_crs_definition variables
for retrieving the current project CRS
2016-11-22 10:08:14 +10:00
Nyall Dawson
271e67e37b [processing] Fix import to postgis alg when table name not set (fix #15869, 15097) 2016-11-22 09:59:43 +10:00
Nyall Dawson
3dcf03cf54 Merge pull request #3773 from alexbruy/network-analysis
Network analysis
2016-11-22 09:03:57 +10:00
Nyall Dawson
8c8be007b9 Remove redundant setLayer slots from QgsField(ComboBox|ExpressionWidget)
and switch uses of remaining slot to new style connects
2016-11-22 08:25:57 +10:00
Matthias Kuhn
22dc096692 Enable WFS test with a fix to prevent crash on exit (#3774)
* Revert "Disable failing PyQgsOfflineEditingWFS test"

This reverts commit 33ee514b5dfdc1b57558cb9007df5b455a59fc17.

* Let lifetime of layers be controlled by QGIS
2016-11-21 22:07:52 +01:00
Alexander Bruy
82082b44f6 add doxygen note 2016-11-21 18:46:45 +02:00
Alexander Bruy
fb5cdd83ee remove word "road" from doxygen comments 2016-11-21 16:47:24 +02:00
Alexander Bruy
b421a53675 rename QgsLineVectorLayerDirector to QgsVectorLayerDirector 2016-11-21 16:47:24 +02:00
Alexander Bruy
d657c77a8c rename enum and its values 2016-11-21 16:47:24 +02:00
Alexander Bruy
9dffe64dab replace hardcoded magic numbers with enum 2016-11-21 16:47:24 +02:00
Alexander Bruy
a61e8bbdec rename QgsStrategy to QgsNetworkStrategy to avoid possible future
confusion when we will have other stuff with strategies. Also
rename corresponding subclasses
2016-11-21 16:47:24 +02:00
Alexander Bruy
f9be17997f make cost() method pure virtual 2016-11-21 16:47:24 +02:00
Alexander Bruy
00eb2619c6 fix warnings 2016-11-21 16:47:24 +02:00
Alexander Bruy
f77ab4d52b add note to doxygen comments 2016-11-21 16:47:24 +02:00
Alexander Bruy
c1b6edc4fa update API breaks document 2016-11-21 16:47:24 +02:00
Alexander Bruy
5992f74e04 [API] rename QgsArcProperter to QgsStrategy
Also update subclasses names and do some more refactoring.
2016-11-21 16:47:24 +02:00
Alexander Bruy
137b19845a add note to the API breaks doc 2016-11-21 16:47:24 +02:00
Alexander Bruy
d0f8863e50 doxymentation 2016-11-21 16:47:24 +02:00
Alexander Bruy
5cbf9d5129 remove references to networkanalysis from scrips and packaging files 2016-11-21 16:47:24 +02:00
Alexander Bruy
14c930a5a8 [API][network analysis] move network analysis into analysis library to
be consistent with other analysis stuff
2016-11-21 16:47:24 +02:00
Alexander Bruy
3c3e17ac90 [network analysis] expose speed properter in C++ and Python API
This allows users to calculate shortest path using travel time
as optimization criteria in addition to travel distance.
2016-11-21 16:47:24 +02:00
Nyall Dawson
ee710771e7 Merge pull request #3789 from nirvn/style_import_export_imp
[style manager] imporve import and export experience, save symbols' tags & favorite flag
2016-11-21 12:30:43 +10:00