35699 Commits

Author SHA1 Message Date
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
Nyall Dawson
eda412d98c Fix ui build warning 2016-11-21 10:40:04 +10:00
Nyall Dawson
6d0e8e62f0 Make max canvas scale 1600% (fix #15861)
Max canvas sacle should be a multiple of 2 so that zooming in
to the max and then back out again results in 100% zoom option.

Additionally, make the min/max zoom level not come from QSettings
as these aren't exposed anywhere
2016-11-21 10:38:26 +10:00
Larry Shaffer
eca83e3c0f Add CMAKE_POSITION_INDEPENDENT_CODE flag to QCA test for OSSL plugin 2016-11-20 17:25:43 -07:00
Nyall Dawson
22706036db Merge pull request #3788 from nyalldawson/rel_dialog
Add relation dialog improvements
2016-11-21 08:56:07 +10:00
Larry Shaffer
c123d3b62f Add a CMake debug include, with simple variables dump for development 2016-11-20 15:30:12 -07:00
Larry Shaffer
64b6a440d5 Skip missing functionality in identity dialog if QWebKit not installed 2016-11-20 15:30:12 -07:00
Larry Shaffer
5df9cbc964 Remove Python framework options/finding for Mac; add Homebrew support
Instead of finding Python interpreter, library and framework on Mac,
rely upon the reported paths of the interpreter (executable) to decipher
whether a framework is being used, then ensure any such framework has
its versioned subdirectory Headers used for includes and the base
Python library used directly in linking. This removes ambiguity in
framework searching, allowing just the PYTHON_EXECUTABLE (user-defined
or from FindPythonInterp module) to control which Python is used.
2016-11-20 15:30:12 -07:00
Larry Shaffer
a510516134 [auth] Remove dependency on SSL cert utils from auth config class 2016-11-20 15:30:12 -07:00
Larry Shaffer
9bb32357c7 Update finding QCA OSSL plugin for Qt5 and C++11 2016-11-20 15:30:12 -07:00
Larry Shaffer
74dfd1f4b0 Check for Qt5-specific version of Mac qca framework 2016-11-20 15:30:12 -07:00
Larry Shaffer
e9fa3e0488 Check for Qt5 subdirectory in PYQT5_SIP_DIR 2016-11-20 15:30:12 -07:00
Larry Shaffer
4c2725b069 Use Qt5 non-OpenSSL define in testing for SSL support 2016-11-20 15:30:12 -07:00
nirvn
2260780402 [style manager] decrease font size and add name & tags tooltip
for the import/export symbol preview list
2016-11-20 10:20:54 +07:00
nirvn
cc985c2318 use temporary memory db for style tests (avoids clash with default symbols) 2016-11-20 10:20:54 +07:00
nirvn
19368cfbee [style manager] inform users of successful import 2016-11-20 10:20:54 +07:00
nirvn
08f8ca7ebd [FEATURE][style manager] import/export of symbols' tags
and favorite flag
2016-11-20 10:20:40 +07:00
Harrissou Sant-anna
f2fa7bd473 typo fix 2016-11-19 12:59:11 +01:00
nirvn
a958c8a798 [style] add createMemoryDB() to QgsStyle to create temporary db 2016-11-19 16:04:03 +07:00
Nyall Dawson
b4533cdec0 Use standard map layer and field combo boxes in relation add dialog 2016-11-19 16:04:11 +10:00
Nyall Dawson
cac8de5b1f Swap order of layers in relation add dialog
Make parent layer come before child layer
2016-11-19 15:51:15 +10:00
Mathieu Pellerin
9679b6a68a [style dock] add minimum height to svg image list (#3786) 2016-11-19 13:45:24 +10:00
Alexander Bruy
f70a3b9e1d [processing] move custom parameter definition inside corresponding
algorithm
2016-11-18 10:22:26 +02:00
Nyall Dawson
fc18fd98cc Merge pull request #3778 from nirvn/style_manager_ui_imp
[style manager] improve UI
2016-11-18 17:46:22 +10:00
nirvn
8fcf8345bd tests for two additional QgsStyle functions: tag() & symbolHasTag() 2016-11-18 14:14:16 +07:00
nirvn
5f3ba72547 [style manager] sort displayed symbols, insure tags are added only once 2016-11-18 14:14:16 +07:00
Alexander Bruy
72b4e72f05 Merge pull request #3783 from nyalldawson/create_attribute_index
[FEATURE][processing] Create attribute index algorithm
2016-11-18 09:13:41 +02:00
nirvn
13a0e48a26 [style manager] improve UI
- create a dedicated set of buttons for addition of tags and smartgroups
to make those actions more visible as well as getting rid of th need to
select a tag/smartgroup to create those (turns out to be quite confusing
for newcomers)
- move UI elements around, regroup {add,remove,edit} symbol buttons to
harmonize with other parts of QGIS; the elements' placement feels much
more natural now
2016-11-18 10:15:40 +07:00
Nyall Dawson
5e1a69fc88 [FEATURE][processing] Create attribute index algorithm
Allows creation of an index on an attribute in a layer for faster
attribute based filtering

Support depends on the underlying data provider for the layer
2016-11-18 10:56:02 +10:00