Blender Git Loki

Kaikki Blender Git kommitit.

Page: 1502 / 8462

July 3, 2020, 10:32 (GMT)
LANPR: Contour/Freestyle mark distinguish.
July 3, 2020, 10:30 (GMT)
Clang-tidy: Enable bugprone-lambda-function-name warning
July 3, 2020, 10:30 (GMT)
Depsgraph: Use C++ style of guarded allocation of objects
July 3, 2020, 10:30 (GMT)
Guarded allocator: Override placement new operator

Allows to in-place construct objects which are using guarded allocator.
July 3, 2020, 10:24 (GMT)
Print python eval logs: simplify implementation
July 3, 2020, 09:54 (GMT)
GPencil: Cleanup move functions to geom from modifier
July 3, 2020, 09:54 (GMT)
GPencil: Cleanup Doxygen comments (cont)
July 3, 2020, 09:52 (GMT)
Cleanup: Fluid renaming from old 'manta' naming to new 'fluid' naming

Changed variable names from mmd, mds, mfs, and mes to fmd, fds, ffs, and fes. The author of this commits lights a candle for all the merge conflicts this will cause.
July 3, 2020, 09:22 (GMT)
Merge branch 'master' into greasepencil-object
July 3, 2020, 09:22 (GMT)
Merge branch 'master' into greasepencil-edit-curve

Conflicts:
source/blender/blenkernel/intern/gpencil_geom.c
July 3, 2020, 09:20 (GMT)
GPencil: Cleanup Doxygen comments

July 3, 2020, 09:14 (GMT)
Cycles: Use TBB's spin mutex

First benefit is reduced boilerplate code.

Second benefit is fixed warnings about using deprecated spin lock
on macOS when using SDK 10.12 and above.

Differential Revision: https://developer.blender.org/D8182
July 3, 2020, 09:14 (GMT)
BLI: Use TBB spin_mutex as SpinLock implementation

When building without TBB use native to the platform spin lock
implementation. For Windows it is an atomic-based busy-wait,
for Linux it is pthreads' spin lock.

For macOS it is a mutex lock. The reason behind this is to stop
using atomics library which has been declared deprecated in SDK
version 10.12. So this changes fixes a lot of noisy warnings on
the newer SDK.

Differential Revision: https://developer.blender.org/D8180
July 3, 2020, 09:14 (GMT)
BLI: Switch threads implementation file to C++

Allows to use C++ primitives in the primitive implementation.
July 3, 2020, 08:58 (GMT)
Clang-Tidy: Allow use with GCC but warn about possible failure

The compilation using GCC + Clang-Tidy succeeded for me and Sybren
(with some linker caveats for Sybren) but seems that it is doable
to make GCC + Clang-Tidy to officially work for Blender.

Now it should be possible to enable Clang-Tidy doing something like

make developer debug BUILD_CMAKE_ARGS='-DWITH_CLANG_TIDY=ON'
July 3, 2020, 08:27 (GMT)
LANPR: Suspected memory issue when generating gp strokes fixed.
July 3, 2020, 08:23 (GMT)
Clang-Tidy: Silence warning affecting newer code

For now Clang-Tidy should be passable with the codebase as is. This warning
will be addressed as quality day task.
July 3, 2020, 07:57 (GMT)
Initial support of clang-tidy toolchain

Clang Tidy is a Clang based "linter" tool which goal is to help
fixing typical programming errors.

It is run as a separate compile step of every file, which slows
compilation down but allows to fully analyze the file the same
way as compiler does and catch non-trivial bugprone cases.

This change includes:

- CMake option called `WITH_CLANG_TIDY` which enables Clang Tidy
linter tool on all source in the `source/` directory.

This option is only available on Linux, as it is currently the
easiest platform to get the Clang Tidy toolchain to work.

- CMake module which is aimed to find latest available Clang Tidy.

- Set of rules which allows to have Blender fully compiled without
extra issues.

The goal of this change is to provide a base ground so that solving
all the warnings can happen later on, as a team effort.

It should be possible to use Clang Tidy side-by-side with both GCC
and Clang, but there seems to be some tweaks to be done in CMake to
make it really work for Blender. For now use Clang toolchain if
there are issues with GCC+Clang Tidy.

It will be worked on in the nearest future to bring seamless
experience for all configurations.

Currently there is no official way of getting Clang Tidy on macOS,
and on Windows there are some difficulties of hooking up Clang Tidy
from LLVM package to the MSVC compiler toolchain.

The actual warnings in the code will be addressed as a part of the
Code Quality Days, task T78535.

Differential Revision: https://developer.blender.org/D7937
July 3, 2020, 07:15 (GMT)
LANPR: Modifier property now updates viewport.
July 3, 2020, 06:59 (GMT)
LANPR: Viewport now redraws when grease pencil update is finished in the background.
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021