133 Commits

Author SHA1 Message Date
Marco Hugentobler
e76ca64eae Consider PR feedback 2018-06-17 11:11:39 +10:00
Marco Hugentobler
49cce29268 \param instead of @param 2018-06-17 11:11:39 +10:00
Marco Hugentobler
18f0af8c23 Port dxf export improvements to QGIS 3 2018-06-17 11:11:39 +10:00
Nyall Dawson
a4c8386e88 [sipify] Replace std::numeric_limits with old style DBL_MAX/etc 2018-06-17 09:24:37 +10:00
Nyall Dawson
47e7a100d9 DBL_EPSILON -> numeric_limits 2018-06-17 09:24:37 +10:00
Nyall Dawson
ac17d300ca DBL_MAX -> std::numeric_limits 2018-06-17 09:24:37 +10:00
Matthias Kuhn
66ad9d99dd
Merge pull request #7055 from m-kuhn/wfsNoMainThreadEventLoopb
Avoid running QEventLoop on main thread (in WFS provider)
2018-06-15 08:57:50 +02:00
Nyall Dawson
f99d51175f Fix seealso links 2018-06-15 06:39:48 +10:00
Nyall Dawson
76eb29daf3 Unit tests and dox for QgsRasterIterator 2018-06-15 06:39:48 +10:00
Matthias Kuhn
402f3ffdd5
Regenerate sip with latest sipify 2018-06-14 09:54:00 +02:00
Matthias Kuhn
44e8f60a63
Add documentation 2018-06-14 09:52:28 +02:00
Matthias Kuhn
620d4d7abb
Use direct connection for NAM auth connections 2018-06-14 09:52:27 +02:00
Denis Rouzaud
3651df0727
add logMessage method to locator filter (#7222)
to discourage from using Python print()
2018-06-13 03:26:25 -08:00
Nyall Dawson
0f0a7dc64a Add QgsRasterRange::asText for a text representation of a range 2018-06-13 14:54:40 +10:00
Nyall Dawson
f934c5c09a Add overlaps test to QgsRasterRange 2018-06-13 14:54:40 +10:00
Nyall Dawson
9be729321a Minor fixes 2018-06-13 14:54:40 +10:00
Nyall Dawson
79c907bf3e Add unique_ptr variant to QgsRasterIterator::readNextRasterPart 2018-06-13 14:54:40 +10:00
Nyall Dawson
a534286c89 Since 3.4->3.2 2018-06-13 14:54:40 +10:00
Nyall Dawson
a69274ac6d Add contains check to QgsRasterRange 2018-06-13 14:54:40 +10:00
Nyall Dawson
d435a7a0fb Add bounds type handling to QgsRasterRange 2018-06-13 14:54:40 +10:00
Nyall Dawson
a2042a4ace Expose a method to Python 2018-06-13 14:54:40 +10:00
Nyall Dawson
0ab63274f6 Documentation for QgsRasterRange 2018-06-13 14:54:40 +10:00
Denis Rouzaud
e899849def
Merge pull request #7199 from 3nids/vertex_tool
vertex tool fixes
2018-06-11 19:12:15 -08:00
Denis Rouzaud
5cb86be6a2 rename some arguments and variables 2018-06-11 23:11:03 -04:00
nirvn
d1fa1508c0 followup 5c267f2: apply @wonder-sk 's comments 2018-06-11 18:23:51 +07:00
nirvn
5c267f22fb Create a QgsLayerStyleOverride and use it for the job renderer 2018-06-11 12:00:16 +07:00
Nyall Dawson
ce6ea18280 Dox and indentation updates 2018-06-11 12:55:20 +10:00
Nyall Dawson
798408b6ba Silence a clazy warning 2018-06-11 12:55:20 +10:00
Nyall Dawson
3b89ee07ce Update dox, bindings 2018-06-11 12:55:20 +10:00
Denis Rouzaud
6d1d1498f7 fix documentation in QgsRectangle 2018-06-08 08:03:03 -04:00
Denis Rouzaud
59202acc45 [vertex editor] set extent of map canvas on the whole selection of nodes 2018-06-07 15:13:13 -04:00
Blottiere Paul
0e7238448a
Merge pull request #7078 from arnaud-morvan/server_proper_literal_convertion
[server] Proper convertion of literals in Filters
2018-06-05 16:22:08 +01:00
Even Rouault
370bac9935
Merge pull request #7152 from rouault/fix_memleaks_qgsstyle
Fix various memleaks in QgsStyle
2018-06-05 17:03:55 +02:00
arnaud.morvan@camptocamp.com
b07c334723 [server] Proper convertion of literals in Filters
Convert OGC Filter's literals accordings to field type.
This can have a huge impact on performance in some cases.
For example for a filter like "num_char" = '+2' converted to "num_char" = 2,
this result with PostgreSQL provider in a fallback to client side evaluation for the whole filter,
including the bbox if present.
2018-06-05 14:26:37 +02:00
Alessandro Pasotti
e3f02eac72
Merge pull request #7012 from elpaso/python-provider
Python provider QEP 122
2018-06-05 12:51:17 +02:00
Nyall Dawson
2ed144ac59 Apply clang-tidy readability-avoid-const-params-in-decls fixit
Checks whether a function declaration has parameters that are
top level const.

const values in declarations do not affect the signature of a
function, so they should not be put there.
2018-06-05 10:19:13 +10:00
Nyall Dawson
e91aed6617 [processing] Force model outputs to respect constraints set by
their underlying algorithm's provider

E.g. for model outputs generated by a saga algorithm, only
sdat and shp files are valid outputs. So only give users choices
of these instead of all formats.

Also fixes temporary file names generated as part of model
execution may use formats which are not compatible with the
algorithm's provider.

Fixes #18908
2018-06-05 10:05:32 +10:00
Alessandro Pasotti
a8ce494529 NULL -> nullptr in sip code 2018-06-04 18:20:48 +02:00
Alessandro Pasotti
6ece1aa543 registerProvider now returns a bool 2018-06-04 14:26:22 +02:00
Even Rouault
0304ec49b6
qgsstyle.cpp: change protected to private 2018-06-04 14:13:15 +02:00
Alessandro Pasotti
0430a8d59c Better comment to explain why the ref needs to be incremented 2018-06-04 11:51:11 +02:00
Matthias Kuhn
36712b9ed2
Merge pull request #7118 from m-kuhn/stringCompOperators
Cast left node to text on string comparison
2018-06-04 09:25:10 +02:00
Nyall Dawson
1395dc0e9c Add missing license headers 2018-06-04 11:30:32 +10:00
Even Rouault
d5afc71adf
Merge branch 'master' into fix_memleaks_qgsstyle 2018-06-04 00:07:52 +02:00
Even Rouault
b21701b5d7
Add QgsStyle::cleanDefaultStyle() and use it in QgsApplication::exitQgis() 2018-06-03 21:15:22 +02:00
Denis Rouzaud
7cb18cd5f1 [sipify] allow to define python operator in headers
sipify will take care of injecting them in python/{module}/__init__.py
2018-06-03 11:07:09 -08:00
Even Rouault
8aeb2f6d14
qgsstyle.cpp: avoid minor memleaks in use of sqlite3_mprintf() 2018-06-03 21:01:19 +02:00
Nyall Dawson
9115d7f2f2 Add note to use QgsApplication::authManager() 2018-06-03 15:50:23 +10:00
Alessandro Pasotti
3aa630ca25 Added QgsDataProvider::ProviderOptions to the bindings 2018-06-01 14:18:44 +02:00
Denis Rouzaud
dc9fb90b01 add note on how to invalidate results 2018-06-01 03:31:39 -08:00