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
2020-10-12Cleanup: CMake: Remove arguments from endif(..)Ankit Meel
No functional change. Added in {rB1f6b7387ad01}
2020-10-09CMake/macOS: Remove _LIBPATH, avoid link_directories.Ankit Meel
After tests were bundled in a single executable and cycles and libmv created their own tests, the warnings on macOS have gone over 800. The reason is setting `*_LIBRARIES` to names of the libraries and later using `link_directories` to link them properly. https://cmake.org/cmake/help/latest/command/link_directories.html > Note This command is rarely necessary and should be avoided where > there are other choices. Prefer to pass full absolute paths to > libraries where possible, since this ensures the correct library > will always be linked. The find_library() command provides the > full path, which can generally be used directly in calls to > target_link_libraries(). Warnings like the following popup for every target/executable, for every library it links to. ``` ld: warning: directory not found for option '-L/Users/me/blender-build/blender/../lib/darwin/jpeg/lib/Debug' ``` The patch completes a step towards removing `link_directories` as mentioned in TODO at several places. The patch uses absolute paths to link libraries and removes all `*_LIBPATH`s except `PYTHON_LIBPATH` from `platform_apple.cmake` file. (The corner case where it's used seems like dead code. Python is no longer shipped with that file structure.) Also, unused code for LLVM-3.4 has been removed. Also, guards to avoid searching libraries in system directories have been added. `APPLE` platform now no longer needs `setup_libdirs`, `cycles_link_directories`, and `link_directories`. The number of warnings now is less than 100, most of them being deprecation ones in dependencies. This patch depended on {rBb746179d0add}, {rB2fdbe4d05011}, {rB402a4cadba49} and {rBd7f482f88ecb}. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8855
2020-10-02Cleanup: pep8 (indentation, spacing, long lines)Campbell Barton
2020-09-21Fix datatoc_icon linker errors with ASan enabled.Ankit Meel
Error introduced in {rBf9fcb25d521d}. Reviewed By: brecht Differential Revision: https://developer.blender.org/D8964
2020-09-17CMake: clean up setting of platform specific linker flagsBrecht Van Lommel
Set flags directly on the target, and use common function for all cases. This refactoring helps with the next commit for test executables. Ref D8714
2020-09-07datatoc_icon: remove Python 2.x supportCampbell Barton
This was originally included in case the system Python was v2.x, remove support since Python 2.x is no longer being maintained.
2020-08-07Cleanup: pass arrays const where possibleCampbell Barton
2020-03-19Cleanup: fix typos in commentsBrecht Van Lommel
Contributed by luzpaz. Differential Revision: https://developer.blender.org/D7133
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2019-08-04Cleanup: Mark large arrays of of constant data as const.Lazydodo
For background information see D5345 Reviewers: brecht, sergey Differential Revision: https://developer.blender.org/D5345
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-04-22Cleanup: style, use bracesCampbell Barton
Add braces for modules already using braces almost everywhere.
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-03-28Cleanup: style, use braces for makesdna, datatocCampbell 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-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
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-11MSVC: remove compiler __func__ defineCampbell Barton
No longer needed and exposes a bug in clang-format see: D4185
2018-10-08UI: new icon set by Andrzej Ambroz.Brecht Van Lommel
This is a monochrome icon set, with a more modern look and icons for various features that did not have a proper icon before.
2018-09-27Fix blender_icons_update.py not working after mono icon changes.Brecht Van Lommel
2018-09-21Cleanup: style, use raw stringsCampbell Barton
2018-07-07Cleanup: pep8Campbell Barton
2018-07-03Cleanup: pep8Campbell Barton
2018-06-08Cleanup: trailing spaceCampbell Barton
Remove from blender/nodes, collada, blenfont & render.
2018-05-31Add Asan support for clang on windows.Ray Molenkamp
This will currently only work for the RelWithDebInfo configuration since asan does not support the debug crt. for source line information in the reports, you need a copy of llvm-symbolizer in the blender folder or set the ASAN_SYMBOLIZER_PATH environment variable to point to it. Currently (as of 6.0.0) llvm-symbolizer does not ship with the binary clang/llvm distribution. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D3446
2017-08-01Cleanup: use static vars where appropriateCampbell Barton
2016-12-05Fix compilation error on recent Debian desktopSergey Sharybin
Something funny happened here, there were missing symbols from png library to math functions.
2016-02-20CMake: Ignore paranoid MSVC linker warningsSergey Sharybin
2015-01-29cleanup: pep8Campbell Barton
also remove empty class parenthesis
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-12-25SCons: Don't regenerate icons if not changesSergey Sharybin
This is rather a handbook example how NOT to do things in SCons, ideally it should be official SCons target so all the dependencies and source file modification stops being our worry. Especially since for CMake we already do have an app to do generate all the data. I don't have time to clean this up now but this constant icons regeneration just pisses me off atm.
2014-07-01CMake: correct include dirsCampbell Barton
2014-06-18Quiet warningCampbell Barton
2014-04-24Code cleanup: unused python vars & importsCampbell Barton
Use frosted rather then pyflakes
2014-02-13Code cleanup: styleCampbell Barton
2014-01-15Fix build issues with mingw'sAntony Riakiotakis
2014-01-15Fix for icon generation with MSVCCampbell Barton
Big thanks to Gaia for getting this working!
2014-01-13fix compilation for mingw-w64Antony Riakiotakis
2014-01-13UI Icons: store icons in git as uncompressed pixmaps (D196)Campbell Barton
this allows for updating icons without committing a new PNG each time (which is inefficient with git). The data files are converted into a PNG at builds time and used just as they were before.
2013-09-12code cleanup: headers - doxy comments.Campbell Barton
2012-12-15avoid using strlen() for comparisons in for loops. for expanding whitespace ↵Campbell Barton
in the text editor and ui paste.
2012-11-03remove unneeded string in datatoc.c and correct some of the context types in ↵Campbell Barton
our documentation.
2012-08-12fix for own error in datatoc.c - data wasn't NULL terminated, in some cases ↵Campbell Barton
this is expected (broke GLSL shaders).
2012-08-11minor improvements to cmake's datatoc usage, now changes to datatoc.c ↵Campbell Barton
re-make generated files.
2012-08-11add back datatoc, use this instead of cmake script which was too slow.Campbell Barton