wmayer
6384f367d2
Base: [skip ci] change identation in Console.h
2022-03-09 01:04:16 +01:00
wmayer
58a719e207
Base: move ILogger sub-classes to their own source files in order to reduce including stream classes in client code
2022-03-06 10:13:47 +01:00
wmayer
6c1e940b69
Base: use forward declaration instead of including Python.h
2022-03-03 19:18:07 +01:00
Uwe
c08c4c12ef
[Base] Console and BaseClass: remove unused includes
2022-02-24 09:34:01 +01:00
Chris Hennes
a0bbb173f4
LGTM: Remove unused Time() function
...
The ConsoleSingleton::Time() function is flagged by LGTM for using
two different unsafe time-related functions. It is not called anywhere
in the current codebase, and is not exposed in the Python API, so was
removed rather than being repaired.
2021-02-11 12:51:31 +01:00
luz paz
d5f6c096b8
Base: Fix header uniformity, whitespace, and doxygen
...
[skip ci]
2020-11-22 18:12:16 +01:00
luz.paz
6f11ed298a
src/Base: [skip ci] fix header uniformity
...
This PR fixes header uniformity across all `src/Base` files
2019-12-25 11:38:58 +01:00
wmayer
33b0b1351e
[skip ci] suppress -Wgnu-zero-variadic-macro-arguments for some headers
2019-11-13 22:38:09 +01:00
wmayer
f94bf69a3c
fix -Winconsistent-missing-override
2019-10-20 13:23:41 +02:00
ezzieyguywuf
f27e4590a6
Refactor and rename ConsoleObserver...
...
...Renamed to "ILogger", to designate that this is an Interface for a
Logger. This "Interface" is pure virtual, so that it cannot be
instantiated directly. This makes it clear that it is intended to be
derived.
Finally, got rid of all the individual log-style methods and replaced
with SendLog. The idea here is that day-to-day users will only interact
with ILogger through ConsoleSingleton (or, likely, LoggerSingleton in
the future). This singleton will manage an arbirtary collection of
ILogger, and call SendLog with the appropriate parameters based on what
the user requests.
Therefore, the singleton itself will have the individual Log, Message,
Error, etc... methods, while stil allowing us to simplify the code base
of ILogger and its derived classes.
2019-10-20 11:46:15 +02:00
Zheng, Lei
50cefc5104
Console: improve console logging facility
2019-08-17 14:52:08 +02:00
mwganson
3cc93d1961
[enable report view on warnings/erros] add reportoutputobserver class, manage report view visibility via QDocketWidget toggleViewAction() rather than directly with show(), remove unnecessary variables
2019-07-21 15:58:12 +02:00
mwganson
b20dd0da10
Show report view on all warnings or errors by default, can be disabled in preferences
2019-07-21 15:57:57 +02:00
Abdullah Tahiri
95ad7dcee6
MSVC2013 constexpr to const
2019-04-24 17:56:37 +02:00
Abdullah Tahiri
875197f4a1
Base::Console avoid magic numbers and enable external string size checks
2019-04-24 17:56:37 +02:00
wmayer
a9c4bcb5d6
remove kwd argument for functions only with flag METH_VARARGS
2018-08-08 17:39:32 +02:00
wmayer
b298e63bcc
+ implement direct and queued mode in console class
2018-07-25 17:25:32 +02:00
luz.paz
505488c4f9
Misc. typos
...
Found via `codespell`
2018-04-25 09:41:33 -03:00
luzpaz
128239b54a
Typos: Various workbenches and misc.
...
[skip ci]
2017-12-25 10:58:10 +01:00
luzpaz
d5d45e2661
fix typos
2017-07-10 19:29:55 -03:00
Zheng, Lei
a6abf0b25a
Console: added tag based log support
2017-05-13 17:46:38 +02:00
Ian Rees
f13aac4dd7
Send console Log/Warning/Error to stderr vs stdout
2017-04-08 14:29:02 +02:00
Ian Rees
ec715e36fd
Linux/MacOS - only write colour codes to TTYs
...
This prevents the colour codes from showing up in piped output, file
redirects, etc.
2017-04-08 14:29:02 +02:00
Kunda
19f8fd4c10
source typo fixes pt5
...
+ cleaning up some more non-short-URLs
Issue #2914
2017-03-04 13:07:13 -03:00
Mateusz Skowroński
43a4a5938c
Fix files encoding. Go from ISO8859-1 to UTF-8.
2015-09-21 19:50:49 -03:00
wmayer
0467777d1b
+ remove unneeded semicolons
2014-05-08 17:32:23 +02:00
wmayer
ba21383e0c
Add method to check if console mode is on/off
2013-07-23 13:27:02 +02:00
wmayer
120ca87015
+ unify DLL export defines to namespace names
...
git-svn-id: https://free-cad.svn.sourceforge.net/svnroot/free-cad/trunk@5000 e8eeb9e2-ec13-0410-a4a9-efa5cf37419d
2011-10-10 13:44:52 +00:00