Blender Git Commits

Blender Git "temp-clang-format" branch commits.

Page: 3 / 5

March 21, 2019, 17:16 (GMT)
Clang-format: make format is now multithreaded.
March 21, 2019, 16:12 (GMT)
Clang-format: Wrap brace after Objective-C declaration

Makes those behave similar to C/C++ functions.
March 21, 2019, 16:09 (GMT)
Clang-format: half-indent access modifier

We definitely shouldn't use a regular indent for it.

The half one (which is a single space in this case) might
not be so well visible, but kind of helps reading that it
is inside a class.
March 21, 2019, 16:08 (GMT)
Clang-format: Indent the constructor initializer

Makes it easier to read what is an initialzier and what is the code,
adding some space to the initialization.
March 21, 2019, 16:04 (GMT)
Clang-format: Don't line break after class

One can think of a class as a structure with different
default visibility.

Point is: in C++ code it will be weird to see different
rules for classes and structures.
March 21, 2019, 16:03 (GMT)
Clang-format: Make it easier to tweak running command

Allows to compare behavior of various clang-format versions.
February 4, 2019, 02:20 (GMT)
Merge branch 'master' into temp-clang-format
February 1, 2019, 22:47 (GMT)
Merge branch 'master' into temp-clang-format
February 1, 2019, 22:45 (GMT)
Use 4 spaces for continuations, addresses T53211#611987

Before:

```
if (
psmd->mesh_final->totvert != psmd->totdmvert || psmd->mesh_final->totedge != psmd->totdmedge ||
psmd->mesh_final->totface != psmd->totdmface) {
psys->recalc |= ID_RECALC_PSYS_RESET;

psmd->totdmvert = psmd->mesh_final->totvert;
psmd->totdmedge = psmd->mesh_final->totedge;
psmd->totdmface = psmd->mesh_final->totface;
}
```

After:

```
if (psmd->mesh_final->totvert != psmd->totdmvert ||
psmd->mesh_final->totedge != psmd->totdmedge ||
psmd->mesh_final->totface != psmd->totdmface)
{
psys->recalc |= ID_RECALC_PSYS_RESET;

psmd->totdmvert = psmd->mesh_final->totvert;
psmd->totdmedge = psmd->mesh_final->totedge;
psmd->totdmface = psmd->mesh_final->totface;
}
```
February 1, 2019, 15:24 (GMT)
Test not aligning escaped newlines

They're annoying to edit if you ever dont have auto-formatting enabled
and with 100 char width, they may run off the screen.
February 1, 2019, 15:15 (GMT)
Fix expanding tabs for 2 space indentation.
February 1, 2019, 15:02 (GMT)
Use 2 space indent, brace on same line
January 30, 2019, 21:31 (GMT)
Merge branch 'master' into temp-clang-format
January 28, 2019, 12:18 (GMT)
Merge branch 'master' into temp-clang-format
January 28, 2019, 09:23 (GMT)
Merge branch 'master' into temp-clang-format
January 15, 2019, 13:31 (GMT)
Merge branch 'master' into temp-clang-format
January 15, 2019, 13:06 (GMT)
Merge branch 'master' into temp-clang-format
January 15, 2019, 12:36 (GMT)
clang-format: disable for bmesh operator defines.
January 15, 2019, 12:35 (GMT)
Merge branch 'master' into temp-clang-format
January 14, 2019, 06:17 (GMT)
clang-format: disable for parts of unit.c
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021