Nyall Dawson
620baa0d22
Layout map test reference image updates
2018-12-21 04:12:32 +10:00
Nyall Dawson
b46f49996e
[labeling] When a layer is set to "blocking" label mode, correctly
...
handle data defined "is obstacle" and "priority" settings
2018-12-21 04:11:53 +10:00
Alessandro Pasotti
5cbf95a9bc
Merge pull request #8723 from elpaso/qlist-string-to-stringlist
...
QList<QString> -> QStringList
2018-12-20 18:11:39 +01:00
Alessandro Pasotti
6a03e07adc
QList<QString> -> QStringList
...
I tend to prefer the first form but I don't really care.
2018-12-20 15:09:06 +01:00
Peter Petrik
9ce7e54fb1
allow selection of file paths for mesh layers [processings] ( #8702 )
...
allow selection of file paths for mesh layers
2018-12-20 15:04:02 +01:00
sklencar
be34a0ed27
QgsZipUtils unzips also subdirectories of a zip file ( #8672 )
...
QgsZipUtils unzips also subdirectories of a zip file
2018-12-20 14:42:22 +01:00
Matthias Kuhn
3dd360922f
Merge pull request #8720 from m-kuhn/expression_parser_error_fix
...
Make expression parser output translatable
2018-12-20 13:50:02 +01:00
Nyall Dawson
055a166136
[FEATURE] Boolean field support for memory layers
...
Adds support for boolean field types to memory layers
Fixes #20844
2018-12-20 18:36:36 +10:00
Matthias Kuhn
497a53b9fa
Merge pull request #8715 from m-kuhn/expression_parser_error_fix
...
Fix expression parser error reporting
2018-12-20 09:24:48 +01:00
Matthias Kuhn
1f3cbb49a8
Update expression parser sources
2018-12-20 09:20:30 +01:00
Matthias Kuhn
c72e99a3ed
Make expression parser output translatable
2018-12-20 09:15:40 +01:00
Matthias Kuhn
bd87b35430
Merge pull request #8713 from m-kuhn/sqlite_quoted_value_to_qgssqliteutils
...
Move sqlite quoted value methods to QgsSqliteUtils
2018-12-20 08:37:35 +01:00
Nyall Dawson
dab069e1ea
Improve multiline cursor behavior in Python console and expression editor
...
Now supports multi-line inserts and pastes
2018-12-20 17:23:52 +10:00
Mathieu Pellerin
e9e1e0d6f3
[FEATURE][expression] Brand new array_sort() function
2018-12-20 11:47:16 +07:00
Matthias Kuhn
06354ef71e
Fix expression parser error reporting
2018-12-19 16:36:14 +01:00
Alessandro Pasotti
d10eb890fb
Fix error message string (minor change)
2018-12-19 16:36:14 +01:00
Matthias Kuhn
c03f1a6127
Fix
2018-12-19 16:03:54 +01:00
Matthias Kuhn
11834661c5
Additional cleanup
2018-12-19 14:50:50 +01:00
Matthias Kuhn
33cd5e8cd9
Move ok handling where it belongs to
2018-12-19 14:47:36 +01:00
Matthias Kuhn
d3cdf28592
Use QgsSqliteUtils::quotedIdentifier in spatialite provider
2018-12-19 14:44:28 +01:00
Matthias Kuhn
237d40af61
Improve QgsSqliteUtils::quotedIdentifier test
2018-12-19 14:44:28 +01:00
Matthias Kuhn
0437d4ad68
Add tests for quoting sqlite values
2018-12-19 14:44:28 +01:00
Matthias Kuhn
12a6d9b8f4
Move sqlite quoting functions to qgssqliteutils.h
2018-12-19 14:44:06 +01:00
Denis Rouzaud
30b55cc68f
[locator] split words to get more results in all features locator filter ( #8704 )
...
* [locator] split words to get more results in all features locator filter
* Update src/app/locator/qgsinbuiltlocatorfilters.cpp
Co-Authored-By: 3nids <denis.rouzaud@gmail.com>
* Update src/app/locator/qgsinbuiltlocatorfilters.cpp
Co-Authored-By: 3nids <denis.rouzaud@gmail.com>
* Update src/app/locator/qgsinbuiltlocatorfilters.cpp
Co-Authored-By: 3nids <denis.rouzaud@gmail.com>
2018-12-19 08:54:31 -04:00
Denis Rouzaud
0e7427f8a3
Merge pull request #8711 from 3nids/sipify_out_super
...
[sipify] enhanced SIP_OUT handling
2018-12-19 08:15:17 -04:00
Denis Rouzaud
166e952c33
run sipify
2018-12-19 08:04:27 -04:00
Denis Rouzaud
03f801738d
fix missing \returns in source
2018-12-19 08:04:17 -04:00
Denis Rouzaud
bd32078635
[sipify] enhanced SIP_OUT handling
...
return an error if method with SIP_OUT arguments has no \return directive AND is not void
create list of outputs for better visualization
2018-12-19 08:03:47 -04:00
Denis Rouzaud
a753f8b0dd
[expression builder] clear fields values when changing field ( #8703 )
2018-12-19 06:38:06 -04:00
Matthias Kuhn
0f037daf47
Merge pull request #8649 from qgis/expression_function_decode_uri
...
Expression function `decode_uri`
2018-12-19 08:32:09 +01:00
Alessandro Pasotti
56ca46efa9
Merge pull request #8706 from elpaso/bugfix-20674-dbmanager-aliased-3
...
Fix views query tables in spatialite
2018-12-19 07:43:48 +01:00
Denis Rouzaud
6bb0720bb7
Merge pull request #8708 from 3nids/sipify_sip_out
...
[sipify] handles SIP_OUT arguments
2018-12-18 22:08:42 -04:00
Denis Rouzaud
c20b5b2f75
fix multine removal for SIP_PYARGREOMVEq
2018-12-18 21:54:38 -04:00
Denis Rouzaud
32e844f9f8
fix multiline comments on out params
2018-12-18 17:29:04 -04:00
Denis Rouzaud
edfb7e1465
run sipify
2018-12-18 17:17:25 -04:00
Denis Rouzaud
9b852fbf35
[sipify] handles SIP_OUT arguments
...
remove them from parameters list and add them to return values
2018-12-18 17:17:18 -04:00
Nyall Dawson
514c5e2ac5
[api] Raises ValueError and TypeError exceptions when QgsGeometry.asPolygon()
...
is called on non-single-polygon geometries
Previously we would just return an empty list when geometries of invalid
type were used, but this is dangerous and we are safer to explicitly
raise errors preventing use of asPolygon() with incompatible geometry types.
2018-12-19 05:22:11 +10:00
Nyall Dawson
06d5f924f6
More square brackets
2018-12-19 05:21:49 +10:00
nirvn
3490217209
[FEATURE][expression] Enable use of square brackets to access map and array elements
...
Allows expressions like:
- array(1,2,3)[0] -> 1
- array(1,2,3)[2] -> 3
- array(1,2,3)[-1] -> 3 (Python style, negative indices count from end of array)
- array(1,2,3)[-3] -> 1
- map('a',1,'b',2)['a'] -> 1
- map('a',1,'b',2)['b'] -> 2
2018-12-19 05:21:49 +10:00
Alessandro Pasotti
07d9d1dbb8
Fix views query tables in spatialite
...
There is still an old issue: views are only available
through DB manager.
Fixes #20674 - again
- Life is really simple, but we insist on making it complicated.
Confucius
2018-12-18 18:32:14 +01:00
Matthias Kuhn
08965487dd
Double escape for JSON and C++
2018-12-18 17:04:50 +01:00
Matthias Kuhn
10140b1ed1
Fix JSON escaping
2018-12-18 14:57:23 +01:00
Matthias Kuhn
2b5830ec9c
Function help improvements
2018-12-18 14:54:58 +01:00
Matthias Kuhn
13de14a114
Merge pull request #8663 from qgis/m-kuhn-patch-1
...
Hint where to find select features method
2018-12-18 14:21:00 +01:00
Matthias Kuhn
7a8939442f
Fix typo
2018-12-18 14:20:11 +01:00
Matthias Kuhn
d3a1285f63
Function help improvements
2018-12-18 14:18:43 +01:00
Matthias Kuhn
65e60d17aa
Add path
to layer_property
expression function
2018-12-18 13:47:46 +01:00
Matthias Kuhn
7b876d81f8
Fix test
2018-12-18 13:47:46 +01:00
Matthias Kuhn
3cee54cf25
Fix function help json
2018-12-18 13:47:46 +01:00
Matthias Kuhn
84584012ec
Add docs and tests for decode_uri
2018-12-18 13:47:46 +01:00