333cdbb410
Cleanup: comment blocks
2019-04-18 07:59:28 +02:00
e12c08e8d1
ClangFormat: apply to source, most of intern
...
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-17 06:21:24 +02:00
de13d0a80c
doxygen: add newline after \file
...
While \file doesn't need an argument, it can't have another doxy
command after it.
2019-02-18 08:22:12 +11:00
eef4077f18
Cleanup: remove redundant doxygen \file argument
...
Move \ingroup onto same line to be more compact and
make it clear the file is in the group.
2019-02-06 15:45:22 +11:00
65ec7ec524
Cleanup: remove redundant, invalid info from headers
...
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-02-02 01:36:28 +11:00
e757c4a3be
Cleanup: use colon separator after parameter
...
Helps separate variable names from descriptive text.
Was already used in some parts of the code,
double space and dashes were used elsewhere.
2018-12-12 12:50:58 +11:00
5513da65b2
Cleanup: trailing space for BLI
2018-06-17 16:32:54 +02:00
f90891d87e
Add PIL_check_seconds_timer_i to avoid casting
...
note, win32 casts still casts from double.
2015-02-01 02:00:08 +11:00
0994e7f96f
move timeit macros into their own include, since they are only used for testing and unrelated to PIL_time.h typical use.
2013-09-03 21:22:43 +00:00
552d068565
Utility benchmarking macros
...
This new macros could be used to benchmark overall
execution time of some chunk of code, running in cycle.
The usage is:
void foo(void) {
TIMEIT_BLOCK_INIT(overall_bar);
for (...) {
...
TIMEIT_BLOCK_BEGIN(over_bar);
bar();
TIMEIT_BLOCK_END(oberall_bar);
...
}
TIMEIT_BLOCK_STATS(overall_bar)
}
This would print total time which was spent on
running function bar().
--
svn merge -r58281:58283 ^/branches/soc-2013-depsgraph_mt
2013-08-19 10:16:23 +00:00
eff734203f
add fallbacks for BM_vert_calc_shell_factor() and BM_vert_calc_mean_tagged_edge_length() to avoid divide by zero when a vertex has no connected geometry.
...
also style cleanup.
2012-11-09 08:28:14 +00:00
11a5c909f8
code cleanup: move shrinkwrap's benchmark macro into PIL_time.h & some minor style edits.
2012-11-09 04:01:19 +00:00
1820d3529c
add TIMEIT_VALUE_PRINT() macro for printing timing between start/end macros.
2012-10-20 10:37:15 +00:00
47826118d1
style cleanup: also fix for TIMEIT macro
2012-05-28 18:12:08 +00:00
9892736206
code cleanup: header cleanup and remove some duplicate defines.
2012-05-12 20:39:39 +00:00
112162e09e
code cleanup: header cleanup
2012-04-30 14:24:11 +00:00
7bbf4b7831
style cleanup
...
- spelling - turns out we had tessellation spelt wrong all over.
- use \directive for doxy (not @directive)
- remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-03-02 16:05:54 +00:00
ea13ec1699
Spelling Cleanup
2012-03-01 12:20:18 +00:00
2b7ca2304a
unify include guard defines, __$FILENAME__
...
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-02-17 18:59:41 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
6912e94d06
replace BLF's blf_utf8_next() with BLI_str_utf8_as_unicode_step(),
...
also fixed some spelling errors.
2011-10-21 01:33:06 +00:00
0277073579
error with TIMEIT util define.
2011-03-17 06:57:12 +00:00
8f6e577620
Utility defines for quick timing tests.
...
for most cases:
TIMEIT_START(my_test)
....
TIMEIT_END(my_test)
prints time, test name, function name and line number.
2011-03-05 04:35:36 +00:00
Nathan Letwory
7900b5949f
doxygen: blender/blenlib tagged.
2011-02-27 20:37:56 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
Chris Want
5d0a207ecb
Patch from GSR that a) fixes a whole bunch of GPL/BL license
...
blocks that were previously missed; and b) greatly increase my
ohloh stats!
2008-04-16 22:40:48 +00:00
f1c4f705a1
Removed the config.h thing from the .h's in the source dir.
...
So we should be all set now :)
Kent
--
mein@cs.umn.edu
2002-12-27 13:11:01 +00:00
b9a19f1ea7
Did all of the .h's in source
...
(adding)
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
also the Makefile.in's were from previous patch adding
the system depend stuff to configure.ac
Kent
--
mein@cs.umn.edu
2002-11-25 11:16:17 +00:00
01bff70383
fixed spacing in the headers to get rid of some warnings and some other
...
little minor spacing issues.
2002-10-30 02:07:20 +00:00
Hans Lambermont
12315f4d0e
Initial revision
2002-10-12 11:37:38 +00:00