Age | Commit message (Collapse) | Author |
|
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
|
|
While \file doesn't need an argument, it can't have another doxy
command after it.
|
|
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
|
|
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.
|
|
Prevents clang-format wrapping text before comments.
|
|
Strip unindented comment blocks - mainly headers to avoid conflicts.
|
|
Since we already have a rather advanced PovRay exporter, makes sense to
also nicely display generated 'code'.
Patch by Maurice Raybaud (@mauriceraybaud), thanks!
Cleanup (mostly styling) by @mont29.
|
|
|
|
|
|
|
|
from Benjamin Tolputt (btolputt), (with minor changes)
adds support for LUA syntax highlighting.
|
|
fills in the line with a formatting value.
this fixes a mistake in OSL lexer which would comment all lines after '//'
|
|
|
|
comment for // in OSL)
|
|
asserts if the continuation values are wrong (which can happen with buffer overflows on formatting).
|
|
from Patrick Boelens (senshi). with modifications to split it into its own function.
also added C style multi-line comment support /* ... */
I've left out the part of this patch that sets the language in the space, since I think this might be better stored in the text block.
For now it simply uses OSL syntax highlighting when the extension is '.osl'.
|
|
STR_LITERAL_STARTSWITH() macro that gets the size from sizeof().
|
|
|
|
each has their own source file,
Since we will likely have OSL formatting added soon.
|