Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2021-12-14Cleanup: reorganize doxygen modulesCampbell Barton
- Nest compositor pages under the compositor module - Nest GUI, DNA/RNA & externformats modules under Blender. - Remove modules from intern which no longer exist. - Add intern modules (atomic, eigen, glew-mx, libc_compat, locale, numaapi, rigidbody, sky, utfconv). - Use 'intern_' prefix for intern modules since some of the modules use generic terms such as locale & atomic.
2021-11-30Cleanup: capitalize NOTE tagCampbell Barton
2021-06-24Cleanup: comment blocks, trailing space in commentsCampbell Barton
2021-05-14CLOG: Fix memleak in own recent improvement to CLOG filter.Bastien Montagne
Mistake in rBef5782e29744.
2021-04-30Fix "use after free" issue in clogSebastian Parborg
Keep track of clog_refs so we can null the pointers when calling CLG_exit. Otherwise we will run into issues where the code will try to access freed data.
2021-03-24Cleanup: remove stdio.h header from MEM_guardedalloc.hCampbell Barton
This was included for `FILE *` which isn't used in the header. Ref D10799
2021-03-12CLOG: add support for substring matching.Bastien Montagne
So that `--log "*undo*"` matches any log identifier containing `undo`. Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D10647
2021-03-05Cleanup: maintain include order without disabling clang formatCampbell Barton
2021-03-05Windows/CLog: Support color logging on Win 10Jacob Møller
Windows 10 supports V100 on all consoles given you enable the ENABLE_VIRTUAL_TERMINAL_PROCESSING flag for the console. This patch enables color logging only on windows 10 and only if the log is not being redirected to a file. Differential Revision: https://developer.blender.org/D10546
2020-10-24CLOG: Add getter to know if output supports coloringClément Foucault
2020-09-15Cleanup: spellingCampbell Barton
2020-09-10Fix build error after clog color printing changesBrecht Van Lommel
2020-09-10CLog: Support colorized logging on windowsRay Molenkamp
When using Windows Terminal the same control codes Linux uses to colorize the text can be used. WT can be detected by looking at the WT_SESSION environment variable. Differential Revision: https://developer.blender.org/D8848 Reviewed by: campbellbarton
2020-09-10Cleanup: CLog fix bad use_color defaultRay Molenkamp
`use_color` was defaulted to 'on' and only turned off when it was decided the terminal didn't support this. This was the wrong way to go about things, since that test only ran for Linux/Mac other operating systems would get color formatting regardless if they supported it. The new default is `off` until the platform specific code inside `CLG_ctx_output_set` turns it on after running some sanity checks. This fix was part of the review of D8848 but deserved its on commit Reviewed By: campbellbarton
2020-08-26Tests: fail automated tests on memory leaks and other internal errorsJacques Lucke
This adds a new `--debug-exit-on-error` flag. When it is set, Blender will abort with a non-zero exit code when there are internal errors. Currently, "internal errors" includes memory leaks detected by guardedalloc and error/fatal log entries in clog. The new flag is passed to Blender in various places where automated tests are run. Furthermore, the `--debug-memory` flag is used in tests, because that makes the verbose output more useful, when dealing with memory leaks. Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D8665
2020-08-26Cleanup: typosJacques Lucke
2020-07-30Fix T78730: CLOG writes/reads outside allocated memory.Bastien Montagne
Fix several issues in CLOG code: * In `clg_str_reserve`, allocated memory may be bigger than requested one, do not assign the latter back to `cstr->len_alloc`. * `clg_str_vappendf` was mis-interpreting returned value from `vsnprintf`, and completely mixing total allocated memory and extra needed amount of memory to allocate... Simplified code of `clg_str_vappendf` to only have allocating code handled in one place, makes things easier to follow too. Think this should also be beckported to 2.83.
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-10-07Cleanup: quiet warningsCampbell Barton
2019-07-10C Logging: add macro to check if logging is enabledCampbell Barton
2019-05-01Cleanup: comments (long lines) in various intern/ libsCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-02-23Cleanup: GCC redundant declarationsCampbell Barton
Previous waning suppression was only tested with clang.
2019-02-23Cleanup: quiet undeclared variable warningsCampbell Barton
2019-02-22C logging: make pthread use optionalCampbell Barton
There is no need for threading for makesrna/makesdna, disable it to avoid hassles linking build time utilities.
2019-02-21Fix T61765: thread-unsafe logging usedCampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
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-01-29Fix CLOG_STR_AT_SEVERITY macroCampbell Barton
Part of D4277 by @sobakasu
2019-01-16Logging: add '--log-show-timestamp' option.Campbell Barton
Part of D4214 by @sobakasu w/ edits.
2019-01-11MSVC: remove compiler __func__ defineCampbell Barton
No longer needed and exposes a bug in clang-format see: D4185
2019-01-10Cleanup: ensure header guards come firstCampbell Barton
Causes clang-format not to detect header guards, indenting all preprocessor lines in the header.
2019-01-04Haiku: build fixCampbell Barton
D4130 by @miqlas
2018-08-08Merge branch 'master' into blender2.8Campbell Barton
2018-08-08Cleanup: use static variablesCampbell Barton
2018-07-31Merge branch 'master' into blender2.8Campbell Barton
2018-07-31Fix building w/ FreeBSDCampbell Barton
fileno could be a macro which can't take a void pointer.
2018-05-18Merge branch 'master' into blender2.8Campbell Barton
2018-05-18Logging: add --show-log-backtraceCampbell Barton
Useful in debug builds to see a functions callers.
2018-05-13Fix build error with Visual Studio / Windows.Nick Milios
Differential Revision: https://developer.blender.org/D3363
2018-05-13Fix compiler warnings.Brecht Van Lommel
2018-05-04Logging: setting log level wasn't workingCampbell Barton
2018-04-16Logging: edits to build on macOSCampbell Barton
2018-04-15Fix compiler error in WindowsAntonio Vazquez
2018-04-14Logging: replace 'fwrite' w/ 'write'Campbell Barton
We're already buffing output, so use write directly.
2018-04-01Cleanup: warningCampbell Barton
2018-03-31Logging: fix own error with formattingCampbell Barton