36572 Commits

Author SHA1 Message Date
Alexander Bruy
9909109928 Merge pull request #3973 from ghtmtt/good_test2
[processing] other gdal tests
2017-01-10 16:32:17 +02:00
rldhont
9be984c7ec Merge pull request #3866 from dmarteau/master
Implements service modules registry - Experimental
2017-01-10 15:30:51 +01:00
David Marteau
ff3487d957 Code quality changes and typo 2017-01-10 15:13:42 +01:00
David Marteau
ea519fff8c Remove wmsserver files from server code unit 2017-01-10 14:34:18 +01:00
David Marteau
4f996980be Replace headersWritten by headersSent 2017-01-10 14:34:18 +01:00
David Marteau
befc52a42b Remove Testing/Temporary/CTestCostData.txt 2017-01-10 14:34:18 +01:00
David Marteau
dc211f89bd WMS run as a module service ! 2017-01-10 14:34:18 +01:00
David Marteau
c793e662ca Port bugfix from PR #3906 to service 2017-01-10 14:34:18 +01:00
David Marteau
3f41db3759 Fix sip syntax error 2017-01-10 14:34:18 +01:00
David Marteau
bfc081d3dd Fix indent and documentation 2017-01-10 14:34:18 +01:00
David Marteau
92d3958370 fix doc warning 2017-01-10 14:34:18 +01:00
David Marteau
4a7692998e Port wmsserver changes to service 2017-01-10 14:34:18 +01:00
David Marteau
d8a05ccef4 Add plugin hook support decorator
- Add plugin hook support decorator for use in  service modules
    - Remove handling of plugin hook with request handler (not needed
anymore)
    - Reduce usage of HAVE_SERVER_PYTHON_PLUGINS by using forward opaque declaration.
2017-01-10 14:34:18 +01:00
David Marteau
485ea82e3d Ensure url is complete in fcgi request 2017-01-10 14:34:18 +01:00
David Marteau
262969015d Add headers keys and value accessors 2017-01-10 14:34:18 +01:00
David Marteau
12f3b5fae7 QgsRequestHandler is now a concrete class
I/O transactions are now abstracted with QgsServerRequest/QgsServerResponse
    So there is no need for another abstraction layer
2017-01-10 14:34:17 +01:00
David Marteau
64fc56c808 Implement QgsFcgiRequest and QgsFcgiResponse 2017-01-10 14:34:17 +01:00
David Marteau
891e163c71 Fix DEFAULT_SERVER_MODULE_SUBDIR in CMakeLists.txt 2017-01-10 14:34:17 +01:00
David Marteau
fc7c0f0560 Fix indent 2017-01-10 14:34:17 +01:00
David Marteau
0150dfb728 Create module test; add more debug messages for travis 2017-01-10 14:34:17 +01:00
David Marteau
560adbae88 Fix spelling 2017-01-10 14:34:17 +01:00
David Marteau
6ef3842a52 fix prefix path setting: enable running from from build directory 2017-01-10 14:34:17 +01:00
David Marteau
d679255d9e Fix 'Incomplete type' compile error 2017-01-10 14:34:17 +01:00
David Marteau
609dd58d78 Fix coding style 2017-01-10 14:34:17 +01:00
David Marteau
a0ee81b9fe Server: Brut force port WMS as service module
- Compile and load as service but functionality not tested
    - Removed dependencies to QgsRequestHandler
    - Removed dependencies to QgsOWSServer
    - Separate requests in their own units
2017-01-10 14:34:16 +01:00
David Marteau
fcacb2899f Fix coding style and update comments 2017-01-10 14:34:16 +01:00
David Marteau
689f3b1ab2 Expose QgsServerInterface to service modules
* Instanciate QgsServerInterface even if HAVE_SERVER_PYTHON_PLUGINS is
      not defined
    * Pass QgsServerInterface in module registration methods.
    * Add QgsServer initialisation test

 #Please enter the commit message for your changes. Lines starting
2017-01-10 14:34:16 +01:00
David Marteau
2adbaf0899 Add parameter map accessor from QgsServerRequest 2017-01-10 14:34:16 +01:00
David Marteau
ec226eeab8 Add extra parameter QgsProject* to QgsService::executeRequest 2017-01-10 14:34:16 +01:00
David Marteau
bac1890f9c fix typo, use Q_UNUSED, return null/empty QString() instead literal empty string 2017-01-10 14:34:16 +01:00
David Marteau
705547e617 Removed python loader: added unRegisterService() method 2017-01-10 14:34:16 +01:00
David Marteau
4c8a5cbdd8 fix indent 2017-01-10 14:34:16 +01:00
David Marteau
89859ef1b6 Server refactoring: Added sample native service module; fixed typo 2017-01-10 14:34:16 +01:00
David Marteau
af5eed1a4b Add getHeader() method to QgsServerRequest 2017-01-10 14:34:15 +01:00
David Marteau
7600919517 Remove Service Entry class and move name/version infos in QgsService 2017-01-10 14:34:15 +01:00
David Marteau
53555581a3 Server refactoring: Fix doc and comments
Fix typo in doc and comments
    Update documentation
    Fix return of implicitely shared objects
    Fix order of parameters in QgsServiceRegistry::registerService
2017-01-10 14:34:15 +01:00
David Marteau
1e0d830529 Server refactoring: implements service modules registry
Implementation for https://github.com/qgis/QGIS-Enhancement-Proposals/issues/74
2017-01-10 14:34:15 +01:00
Alexander Bruy
3a03c98a08 [processing] configurable URL for scripts and models repository 2017-01-10 14:17:25 +02:00
Alexander Bruy
d2ff57ec38 remove debug line 2017-01-10 12:02:36 +02:00
volaya
8ea5bc39b4 Merge pull request #3971 from alexbruy/processing-help
[processing] configurable help files location for GDAL and GRASS providers
2017-01-10 09:55:58 +01:00
volaya
3fd27d1f04 Merge pull request #3926 from alexbruy/processing-gdal-opts
Processing gdal opts
2017-01-10 09:52:58 +01:00
matteo
eb826fb058 gdal TPI test 2017-01-10 09:30:08 +01:00
matteo
1f645c1996 gdal near black test 2017-01-10 09:30:08 +01:00
matteo
ad11ec4b7f gdal TRI test 2017-01-10 09:30:08 +01:00
matteo
64f2b660fd gdal roughness test 2017-01-10 09:30:08 +01:00
Juergen E. Fischer
378212cf42 indentation update 2017-01-10 09:05:42 +01:00
Nyall Dawson
21ad4ed78b Merge pull request #3940 from nyalldawson/gdal2
Bump minimum GDAL version to 2.0, remove old version #ifdefs
2017-01-10 11:37:17 +10:00
Tudor Bărăscu
313ec55640 deactivate "circular string.." buttons for layer without geom 2017-01-10 09:30:04 +10:00
Marco Hugentobler
e433639604 Exclude degenerated rings from polygon area calculation
(forward-port from 64b0b1)
2017-01-10 09:11:03 +10:00
Marco Hugentobler
17b51ab28f Change comment for QgsCurveV2::sumUpArea
(forward-port from 1c02dc7)
2017-01-10 09:09:45 +10:00