elpaso
8c24e1e2d4
Added const to config() method
2015-11-20 12:45:23 +01:00
elpaso
7cc0a21bf8
Added config() to QgsEditorWidgetWrapper SIP wrapper
2015-11-20 10:47:57 +01:00
Juergen E. Fischer
84e4539b9e
fix c40a764
2015-11-19 16:07:23 +01:00
Matthias Kuhn
5b5960970e
Some sip changes and doxymentation
2015-11-19 15:32:28 +01:00
Matthias Kuhn
d2ac91b3b4
fixup doxygen
2015-11-19 15:32:28 +01:00
Matthias Kuhn
4cd1e38631
fieldEditable -> readOnly
2015-11-19 15:32:28 +01:00
Matthias Kuhn
d70a47e7cf
Document function name changes
2015-11-19 15:32:28 +01:00
Matthias Kuhn
a50f2d051f
Refactor edit form configuration out of QgsVectorLayer
2015-11-19 15:32:28 +01:00
Alessandro Pasotti
d315a12362
Fix segfault when editor widget is invalid on form init
...
"editor" can be null in that case
2015-11-19 15:29:19 +01:00
Juergen E. Fischer
c40a764f5c
indentation update
2015-11-19 13:30:25 +01:00
Matthias Kuhn
2fcdef4e97
Fix crash in relation reference widget
2015-11-19 12:22:21 +01:00
Juergen E. Fischer
739e507923
fix windows build (followup c9f0d83)
2015-11-19 12:09:04 +01:00
Juergen E. Fischer
2a557db39d
[FEATURE] expression: align strpos behaviour with postgres
2015-11-19 10:38:27 +01:00
Nyall Dawson
f3a5dcc98b
Fix build
2015-11-19 20:37:47 +11:00
mhugent
422abbde5e
Merge pull request #2056 from sbrunner/qgis-server-security
...
[Feature] Add an interface in QGIS Server for access control plugins
2015-11-19 10:23:04 +01:00
Nyall Dawson
8c0fe47d8e
Add tests for QgsPointV2, fix some issues:
...
- prevent creation of a QgsPointV2 with a non-point WKB type
- fix bounding box was not invalidated for some modification routines
- if WKT type is PointZ/M/ZM and not enough coordinates specified,
initialise extra coordinates to 0
2015-11-19 19:48:42 +11:00
Nyall Dawson
e1c3b4df3a
Fix incorrect point types when segmentizing circular strings
2015-11-19 19:48:42 +11:00
Denis Rouzaud
df8584a71c
[qt5] fix custom widgets
2015-11-19 09:11:01 +01:00
Matthias Kuhn
b1eb812792
Do not require manual CMakeCache intervention
2015-11-19 08:35:13 +01:00
Jürgen Fischer
8e5ba3bf92
Merge pull request #2458 from SebDieBln/Postgres_GeomTypeDirect
...
[postgresprovider] Determine geometry type and srid directly from column type
2015-11-18 22:46:09 +01:00
Juergen E. Fischer
f6e4e75cd6
[FEATURE]postgres provider: add support for timestamp types
2015-11-18 19:23:03 +01:00
Matthias Kuhn
7b0815b682
Fix python errors
2015-11-18 19:21:12 +01:00
Sebastian Dietrich
5399855566
restore original subset string on dialog cancel ( fix #13620 )
2015-11-18 18:00:57 +01:00
Stéphane Brunner
c9f0d83aaf
The plugin define the following methods:
...
* layerFilterExpression
Return an additional filter, used in
WMS/GetMap, WMS/GetFeatureInfo, WFS/GetFeature to filter the features
* layerFilterSubsetString
Return an additional the subset string (typically SQL) filter.
Faster than the layerFilterExpression but not supported on all the
type of layer
* layerPermissions
Change the rights on the layer per user (known by the plugin)
Concern rights: publish, insert, update, delete.
Mostly used in WFS/Transaction, and the publish in all requests.
* authorizedLayerAttributes
Be able to show some attributes only for a subset of user
Used in: WMS/GetFeatureInfo, WFS/GetFeature
* allowToEdit
Be able to don't allow to edit a particular feature, in our case base
on the Geometry
Used in: WFS/Transaction
* cacheKey
Cache key to used to create the capabilities cache, "" for no cache,
shouldn't contains any "-", default to ""
2015-11-18 14:49:43 +01:00
alexbruy
f7bdd66c43
Merge pull request #2481 from nyalldawson/processing
...
Processing enhancements and fixes
2015-11-18 15:09:22 +02:00
Stéphane Brunner
b1743dc8a8
Make log messages visible in the QGIS server log file
2015-11-18 13:29:34 +01:00
Nyall Dawson
e0bedc2b17
Drop SIP/documentation test thresholds
2015-11-18 23:05:36 +11:00
Nyall Dawson
5019fe244c
Add methods to directly retrieve/set coordinates for linestring nodes
...
Also add method to create QgsPointV2 from a QPointF
2015-11-18 21:49:02 +11:00
Matthias Kuhn
0b0c413f3a
Add Saga 2.2.2 descriptions
2015-11-18 08:14:42 +01:00
Matthias Kuhn
146b15a1f8
Merge pull request #2460 from nyalldawson/ogr_compiler
...
[FEATURE] Compiler for OGR and Spatialite expressions
2015-11-18 07:51:43 +01:00
Nyall Dawson
d0625b8b35
[processing] Add algorithm for reversing line directions
2015-11-18 16:27:25 +11:00
Nyall Dawson
9009ef0b26
[processing] Add smooth algorithm
...
Allows for smoothing line or polygon layers
2015-11-18 16:27:14 +11:00
Nyall Dawson
53aa583da0
[processing] Use QgsDoubleSpinBox instead of QSpinBox
...
Allows for simple calculations in spin box, adds a reset control
to reset widget to default value
2015-11-18 16:27:04 +11:00
Nyall Dawson
86231d79fa
[processing] Guess sensible step sizes for float spin boxes
2015-11-18 16:26:55 +11:00
Nyall Dawson
ffd9707516
[processing] Fix maximum/minimum not respected for float spinboxes
2015-11-18 16:26:48 +11:00
Nyall Dawson
86c1ffa0aa
Add reversed method to QgsCurveV2
...
Also clean up and add missing docs for QgsLineStringV2
2015-11-18 16:24:27 +11:00
Nyall Dawson
8783fe2763
Don't store QgsLineStringV2 coordinates in QPolygonF
...
This stores coordinates as qreal, which on some platforms is float,
and not suitable for accurate geometry storage.
2015-11-18 16:24:17 +11:00
Nyall Dawson
9cfbba1647
Add rx(), ry(), ... methods to QgsPointV2, add missing docs to class
...
Allows for directly modifying point's coordinates in place
2015-11-18 16:24:08 +11:00
Nyall Dawson
2623abc71c
Fix detection of python related notes in Sip coverage test
...
In certain cases test was not correctly detecting "not available in
Python bindings" notes
2015-11-18 16:23:59 +11:00
Nyall Dawson
26b3685757
Bracket ops to avoid precedence issues when compiling expressions
2015-11-18 15:59:38 +11:00
Nyall Dawson
91571736a8
Make expression compilation optional, but enabled by default
...
Remove the previous postgres specific option and replace with an
enabled-by-default option which applies to all expression
compilation.
2015-11-18 15:16:38 +11:00
Nyall Dawson
982490f636
Add some more expression compilation tests, fix <> string for OGR
2015-11-18 14:31:36 +11:00
Nyall Dawson
35d0dd3211
[FEATURE] Expression compiler for SpatiaLite provider
2015-11-18 14:02:19 +11:00
Nyall Dawson
5f65f872dd
Create QgsSqlExpressionCompiler as base class for expression compilers
...
Switch Postgres and OGR compilers to use the new base class. New class
should make it easier to add additional expression compilers (eg
spatialite, MS SQL, etc)
2015-11-18 14:02:18 +11:00
Jürgen Fischer
57f5fba582
Merge pull request #2478 from SebDieBln/DbManager_Fix13731
...
[DbManager] replaced 'LIMIT 0' by 'WHERE 0=1' (fixes #13731 )
2015-11-17 23:08:19 +01:00
Sebastian Dietrich
e04d5e4d70
replaced 'LIMIT 0' by 'WHERE 0=1' ( fixes #13731 )
2015-11-17 21:29:19 +01:00
Nyall Dawson
dc0639c794
Add missing /Transfer/s to setSubSymbol
2015-11-18 06:46:30 +11:00
Nyall Dawson
f7ed42b933
Disable OGR expression compilation for certain OGR drivers
...
In some cases OGR forwards filters on to the underlying data source,
and the syntax may differ from OGR SQL. In these cases disable
expression compilation.
2015-11-18 06:30:42 +11:00
Nyall Dawson
3d947e82aa
Add provider expression filter tests for TVL
2015-11-18 06:30:42 +11:00
Nyall Dawson
26f7683cf5
OGR expression compiler fixes
...
- Allow simple operators as supported by OGR (+, -, * )
- Only return a partial compilation success if expression contains
"column"="column2". Since OGR SQL performs case insensitive
comparisons, we need to double check the result using QGIS'
expressions to ensure that case matches. Add unit tests for this
to provider tests.
2015-11-18 06:30:42 +11:00