Campbell Barton
94f83a4ebd
Fix T61765: thread-unsafe logging used
2019-02-21 11:33:50 +11:00
Campbell Barton
de13d0a80c
doxygen: add newline after \file
...
While \file doesn't need an argument, it can't have another doxy
command after it.
2019-02-18 08:22:12 +11:00
Campbell Barton
eef4077f18
Cleanup: remove redundant doxygen \file argument
...
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
2019-02-06 15:45:22 +11:00
Campbell Barton
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
BF-admins agree to remove header information that isn't useful,
to reduce noise.
- BEGIN/END license blocks
Developers should add non license comments as separate comment blocks.
No need for separator text.
- Contributors
This is often invalid, outdated or misleading
especially when splitting files.
It's more useful to git-blame to find out who has developed the code.
See P901 for script to perform these edits.
2019-02-02 01:36:28 +11:00
Campbell Barton
68ae1f4958
Fix CLOG_STR_AT_SEVERITY macro
...
Part of D4277 by @sobakasu
2019-01-29 17:28:44 +11:00
Campbell Barton
c383d74228
Logging: add '--log-show-timestamp' option.
...
Part of D4214 by @sobakasu w/ edits.
2019-01-16 16:33:05 +11:00
Campbell Barton
302970b7a5
MSVC: remove compiler __func__ define
...
No longer needed and exposes a bug in clang-format see: D4185
2019-01-11 09:22:21 +11:00
Campbell Barton
5681631109
Cleanup: ensure header guards come first
...
Causes clang-format not to detect header guards,
indenting all preprocessor lines in the header.
2019-01-10 08:46:38 +11:00
Campbell Barton
f489db1c6b
Haiku: build fix
...
D4130 by @miqlas
2019-01-04 17:04:07 +11:00
Campbell Barton
6fbd210b91
Merge branch 'master' into blender2.8
2018-08-08 11:05:08 +10:00
Campbell Barton
931a279f44
Cleanup: use static variables
2018-08-08 11:00:57 +10:00
Campbell Barton
c7e1d067a5
Merge branch 'master' into blender2.8
2018-07-31 21:27:51 +10:00
Campbell Barton
a3085190f8
Fix building w/ FreeBSD
...
fileno could be a macro which can't take a void pointer.
2018-07-31 20:52:36 +10:00
Campbell Barton
2451a1951e
Merge branch 'master' into blender2.8
2018-05-18 11:02:39 +02:00
Campbell Barton
278e3f7d5f
Logging: add --show-log-backtrace
...
Useful in debug builds to see a functions callers.
2018-05-18 11:00:47 +02:00
Nick Milios
94a62853ae
Fix build error with Visual Studio / Windows.
...
Differential Revision: https://developer.blender.org/D3363
2018-05-13 15:51:42 +02:00
7a2e271e54
Fix compiler warnings.
2018-05-13 14:48:55 +02:00
Campbell Barton
c7cfee04c4
Logging: setting log level wasn't working
2018-05-04 08:00:22 +02:00
Campbell Barton
b4e8d33f11
Logging: edits to build on macOS
2018-04-16 07:38:11 +02:00
Antonio Vazquez
87a9b6ac06
Fix compiler error in Windows
2018-04-15 09:55:42 +02:00
Campbell Barton
66d4e9300b
Logging: replace 'fwrite' w/ 'write'
...
We're already buffing output, so use write directly.
2018-04-14 13:59:33 +02:00
Campbell Barton
951d89b7b4
Cleanup: warning
2018-03-31 23:51:38 +02:00
Campbell Barton
ae3a1da1e6
Logging: fix own error with formatting
2018-03-31 15:43:47 +02:00
Campbell Barton
b237a1c2ea
Use int instead of bool
...
Causes issues when including in some files.
2018-03-31 15:33:15 +02:00
Campbell Barton
db8e7f9780
Logging: add argument --log-show-basename
...
Optionally strips leading path from filenames when logging.
2018-03-31 15:29:46 +02:00
Campbell Barton
ac4513a5b8
Logging: add ability to exclude categories.
2018-03-31 12:52:47 +02:00
Campbell Barton
5f59c22bf1
Docs: doxygen docs for clog
2018-03-31 12:27:18 +02:00
Campbell Barton
b8a66973ac
Fix clog: own error allocating from static buffer
2018-03-31 11:25:49 +02:00
Campbell Barton
af11eea3fd
Fix logger build w/ MSVC
2018-03-31 09:18:30 +02:00
Campbell Barton
891c1cfc9a
C Logging: use instead of printf for messages
...
- See `--log` help message for usage.
- Supports enabling categories.
- Color severity.
- Optionally logs to a file.
- Currently use to replace printf calls in wm module.
See D3120 for details.
2018-03-30 18:57:41 +02:00