228 Commits

Author SHA1 Message Date
Blottiere Paul
3e00b10cc2 Update doc for QgsServerParameters and QgsServerParameter 2018-07-23 08:07:07 +01:00
Blottiere Paul
77af2ca08d Add doc for QgsBadRequestException 2018-07-23 08:07:07 +01:00
Blottiere Paul
ffddc9a015 Update doc for QgsServerParameters 2018-07-23 08:07:07 +01:00
Blottiere Paul
7b32f8c61b Add virtual default destructors 2018-07-23 08:07:07 +01:00
Blottiere Paul
555b9471b2 Update sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
6e1f14bd9e Fix sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
683975c74e Add a layoutParameter method to search in unmanaged parameters 2018-07-23 08:07:07 +01:00
Blottiere Paul
a946c528c4 Update sip binding 2018-07-23 08:07:07 +01:00
Blottiere Paul
950f7d7d35 Update sip 2018-07-23 08:07:07 +01:00
Blottiere Paul
d1a4c0a6ac Update sip 2018-07-23 08:07:07 +01:00
Blottiere Paul
1ca1bd6bd2 Update sip binding 2018-07-13 08:22:28 +01:00
Blottiere Paul
67cbb278ca Update sip binding 2018-07-13 08:22:28 +01:00
Blottiere Paul
721e309104 Cleaning QgsServiceModule 2018-07-13 08:22:28 +01:00
Blottiere Paul
a214d773f7 More doc 2018-07-13 08:22:28 +01:00
Blottiere Paul
cb6b98349a More doc 2018-07-13 08:22:28 +01:00
Blottiere Paul
69c1c3a19e Add some version 2018-07-13 08:22:28 +01:00
Blottiere Paul
d49c0d0480 Remove fake method 2018-07-13 08:22:28 +01:00
Blottiere Paul
3cf7c34146 Update doc for QgsConfigCache 2018-07-13 08:22:28 +01:00
Blottiere Paul
a7dfd6e1aa Update doc for QgsMapServiceException 2018-07-13 08:22:28 +01:00
Blottiere Paul
8d6f3bb2e3 Add fake method to test Travis doc 2018-07-13 08:22:27 +01: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
Denis Rouzaud
e5b02cd2a8 use dedicated files for auto additions 2018-06-03 11:07:09 -08:00
Denis Rouzaud
637f59ded1 fix server/app files and sipify test 2018-05-28 10:39:34 -08:00
Denis Rouzaud
65bb60e96c run sipify 2018-05-28 10:39:34 -08:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Nyall Dawson
7a1a787c0a Fix incorrect returns docstring when doxygen \returns has extra trailing spaces or uses tabs 2018-05-27 18:54:09 +10:00
Nyall Dawson
4b1b752633 Fix bad regex 2018-05-27 18:54:09 +10:00
Nyall Dawson
1edbca4978 Fix bad class docstring 2018-05-27 18:54:09 +10:00
Nyall Dawson
3d6ea5972b Remove some junk lines from docstrings 2018-05-27 18:54:09 +10:00
Nyall Dawson
38850bdb94 [pyqgis] Ensure that multiline param tags are indented for additional lines 2018-05-27 18:54:09 +10:00
Nyall Dawson
c864d22d1f Add "get ..." to doxygen compliance blacklist
Should be "gets ..." for consistent tense, or better yet
"returns ..." for consistency.
2018-05-27 14:05:06 +10:00
Nyall Dawson
1c615c15cc More documentation compliance
Use Qt style "returns .." tense instead of "return ..", and lock
this in with a documentation compliance unit test
2018-05-25 15:09:00 +10:00
Denis Rouzaud
fca72fa7d1 put back module sip files 2018-05-14 11:02:28 -04:00
Denis Rouzaud
847f0e1829 adapt sipify scripts and test to place auto generated sip files in dedicated folder 2018-05-14 10:44:11 -04:00
Denis Rouzaud
8b130f1c14 move auto generated sip file in dedicated folder (server+analysis) 2018-05-14 10:41:52 -04:00
Juergen E. Fischer
fcacb0db7c doxygen fixes 2018-04-02 22:48:40 +02:00
Alessandro Pasotti
2cd4a46478 [server][housekeeping] Removed unused class QgsMSLayerCache
Not used in the server anymore (layer instances are keps
in memory in the project)
2018-03-20 15:13:06 +01:00
Alessandro Pasotti
c614b942f3 [bugfix][server] Fix temporary path permission issue
If I don't misread the docs, if a template is given, the file
is created in the current directory instead of the temporary
directory reported by QDir::tempPath()

Furthermore it cannot be set by env TMPDIR.

This issue drove me crazy (and no exceptions and no logs!)
until when I switched the server user to root (that is
of course not what we want).

As a temporary workaround, the server can be configured to
use /tmp or another www-data writeable directory as a working
directory.

By prefixing with tempPath() the file will be created
in the system temp directory.
2018-03-03 22:15:24 +01:00
Nyall Dawson
0acdcfadfd Fix crash when using the identify tool on a categorized render
with an unchecked category corresponding to the feature at the
clicked point

Also fix count of default category symbols
2018-03-01 16:49:29 +11:00
Denis Rouzaud
3dc3d9d1b2 unite QgsMessageLog::Level and QgsMessageBar::MessageLevel in Qgis::MessageLevel
make enum items lower case
remove unused QgsMessageLog::None and All
2018-02-06 08:56:40 -04:00
Denis Rouzaud
458cab7b20 run sipify 2018-01-17 10:16:37 -04:00
Denis Rouzaud
7722010ca8 rename *.sip to *.sip.in for the auto generated sip files 2018-01-17 10:16:37 -04:00
Denis Rouzaud
880d853e9f
detect SIP version to add DefaultDocstringSignature directive (#6030)
* detect SIP version to add DefaultDocstringSignature directive

SIP doesn't handle any kind of preprocessing, so there's no better solution than configuring the SIP files from CMake.
SIP 4.19.7+ supports %DefaultDocstringSignature to prepend auto-generated Python signature to existing Docstrings
2018-01-10 10:32:21 -04:00
Denis Rouzaud
5babec5e07 run sipify 2018-01-09 11:40:39 -04:00
Denis Rouzaud
90e5196996 run sipify 2017-12-19 14:55:46 -04:00
Denis Rouzaud
c604d2dda6 run sipify 2017-12-15 22:13:44 -04:00
Nyall Dawson
4da1ce8404 Drop redundant virtual keywords on overrides
Run clang-tidy modernize-use-override to remove all the redundant
virtual keywords from overridden methods, and add some missing
overrides.

Another benefit is that this has also added the overrides
on destructors, which will cause a build failure if a base
class is missing a virtual destructor.
2017-12-16 08:49:36 +10:00
Denis Rouzaud
f2b3ed0a9b run sipify 2017-12-15 11:12:19 -04:00
rldhont
3692fcdb96
Merge pull request #5561 from pvalsecc/wms_ogc_filters
[FEATURE][needs-docs] Add OGC filters to WMS
2017-12-15 09:47:22 +01:00
Nyall Dawson
a15b54d997 Swap missing 0->nullptr and add missing overrides 2017-12-12 21:14:58 +11:00