18 Commits

Author SHA1 Message Date
Juergen E. Fischer
c6008b7ee1 fix MSVC build: reverts fee62e4, dff05dd and e3a77b9484c effectivly
reverting 3fb0f66 (followup #45348)

Using --no-public-is-protected (default on Windows) also works on Linux
and fixes #45331 too
2021-10-21 23:03:48 +02:00
nirvn
ef84e48a09 Run sipify_all.sh 2021-10-12 16:34:05 +10:00
Denis Rouzaud
ec16736306 run sipify 2021-10-12 16:34:05 +10:00
Nyall Dawson
02266ef8e6 Rename Qgis::MessageLevel::None to NoLevel. None is a reserved
keyword in Python, so this value was previously inaccessible to PyQGIS
scripts

Also change all references to Qgis::MessageLevel values to their
fully qualified names, to ease a future transition to an enum
class (when sip bugs are fixed)

Fixes #42996
2021-05-30 10:36:01 +10:00
Denis Rouzaud
ba8a445850 run sipify 2021-03-22 21:13:52 +01:00
Nyall Dawson
7dfef3a0b1 Newer doxygen versions don't auto convert the first line in a class'
documentation to a brief note, so we have to do it explicitly...
2021-02-19 08:15:29 +10:00
Nyall Dawson
50b9beaad6 [sipify] Catch more class references and insert :py:class: annotations 2021-01-31 05:41:22 +10:00
Nyall Dawson
81a9db9f57 [sipify] Fix creation of cross references 2020-06-15 13:43:58 +10:00
Nyall Dawson
b6d66becab Sipify 2019-02-27 09:41:11 +10:00
Éric Lemoine
9eaee8f1be Make QgsMessageLogConsole::logMessage virtual 2018-09-14 09:08:21 +02:00
Éric Lemoine
b16aa15f06 Improve qgsmessagelog doc strings 2018-09-13 09:32:10 +02:00
Éric Lemoine
504657ed51 Add docs for more QgsMessageLogConsole methods 2018-09-11 21:57:42 +02:00
Éric Lemoine
212a74cea1 Fix the QgsMessageLogConsole docs
The QgsMessageLogConsole now writes log messages to stderr as opposed
to stdout.
2018-09-11 21:57:42 +02:00
Éric Lemoine
e33954c1c3 [FEATURE][needs-doc] Support QGIS Server logs to stderr
This commit makes it possible to configure QGIS Server to make it
write its logs to stderr.

This is done by setting the QGIS_SERVER_LOG_FILE env var to the
special value "stderr".
2018-09-11 21:57:42 +02:00
Nyall Dawson
077ecedfc5 Unit tests for QgsMessageLog 2018-06-19 06:23:58 +10:00
Nyall Dawson
949853a0e0 Add API for temporarily suppressing user notifications for
message log critical/warning messages

These messages are still logged, but the log indicator is not
modified to flag their appearance.

This allows certain error messages to be logged (e.g. on startup)
which cannot be fixed by users/developers (e.g. those caused
by upstream Qt issues, 3rd party Python libraries, etc) but
without flagging them.

Currently, we get so many of these warnings on startup that the
log indicator loses all impact, and newly introduced, VALID
errors go unnoticed/ignored.
2018-06-19 06:23:58 +10:00
Nyall Dawson
f8bc97030b Remove extra space added before first line of docstring 2018-05-28 08:22:11 +10:00
Denis Rouzaud
7df2593caf move auto generated sip file in dedicated folder 2018-05-14 10:23:37 -04:00