6b3bf9e2a8
Cleanup: style, use braces for avi
2019-04-22 19:48:16 +10: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
21744217ce
Cleanup: remove some #if 0 blocks
...
Reviewers: brecht, campbellbarton
Differential Revision: https://developer.blender.org/D3802
2018-10-17 12:43:41 +02:00
0cff044d84
Spelling fixes in comments and descriptions, patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3719
2018-09-24 17:28:40 +02:00
a24b4e6090
Cleanup: trailing space for remaining source/
2018-06-17 17:06:28 +02:00
d30cc1ea0b
Fix buffer overflows in TIFF, PNG, IRIS, DPX, HDR and AVI loading.
...
Solves these security issues from T52924:
CVE-2017-2899
CVE-2017-2900
CVE-2017-2901
CVE-2017-2902
CVE-2017-2903
CVE-2017-2904
CVE-2017-2905
CVE-2017-2906
CVE-2017-2907
CVE-2017-2918
Differential Revision: https://developer.blender.org/D2999
2018-01-17 19:59:47 +01:00
c6d98fa841
Fix T46565: Movie render crash w/o permissions
...
Rendering to a path that didn't have write permissions would crash.
Also fix error where `G.is_rendering` was left set when rendering failed.
2015-10-22 17:25:37 +11:00
133f79e449
Cleanup: warnings, typos
2014-10-29 14:15:21 +01:00
37026b12ec
Code cleanup: use bool for static methods
2014-02-05 22:36:15 +11:00
d900f5be55
Code cleanup: use bools where possible
2014-02-03 19:35:44 +11:00
b4644c658b
Fix crash cancelling command line render to AVI movie file.
2014-01-08 22:28:29 +01:00
98c574e41a
use 'greater/less then or equal to' operators rather then adding 1.
2013-08-11 05:40:35 +00:00
62b541faa3
add missing va_end() calls.
2013-07-25 12:37:22 +00:00
225c5fee6b
move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)
...
remove MEM_sys_types.h which was a duplicate.
2013-05-28 19:35:26 +00:00
385650974a
Fix for build error with previous commit, seems the order of #includes matters here.
2013-03-13 17:30:31 +00:00
a3ad35cf3a
Fix #34626 : voxel data texture can't read > 2GB files on Windows.
...
Also fixed BLI_fopen not being used for AVI movie files, which meant AVI read
could fail reading a file from a path with special characters on Windows.
2013-03-13 17:16:47 +00:00
ddddb7bab1
code cleanup: favor braces when blocks have mixed brace use.
2013-03-09 03:46:30 +00:00
f0339c642d
remove redundant temp pointer assignment in AVI_write_frame.
2013-01-27 12:03:20 +00:00
2bb174cfa4
style cleanup: indentation
2012-11-09 09:33:28 +00:00
f3ece5a108
style cleanup: trailing tabs & expand some non prefix tabs into spaces.
2012-10-21 05:46:41 +00:00
89a415a49d
rename avi files (endian.h is common linux include).
2012-10-07 06:27:31 +00:00
77ed2d8ca9
code cleanup: remove paranoid NULL checks (these cases would crash earlier of the vars were in fact NULL)
2012-09-15 06:29:32 +00:00
3957efdd38
fix for out-of-bounds checks for fcurve modifier and poselib, also check for NULL members of avi structure (since they are checked for NULL later.)
2012-09-14 06:15:46 +00:00
51182bc78d
add MEM_recallocN(), so bytes are ensured to be zero'd when growing.
2012-08-11 12:16:09 +00:00
b9378a3083
fix for own regression in avi header writing.
2012-08-02 11:25:04 +00:00
8c2550eed7
prevent uninitialized memory use when writing avi's.
2012-07-31 10:34:42 +00:00
e32c60284a
style cleanup
2012-07-29 00:20:28 +00:00
84bf3e48c0
style cleanup: use c style comments in C code
2012-07-06 23:56:59 +00:00
f5f25b81e8
style cleanup:
...
also fix for building ghost test and fix double free in one of the tests
2012-06-17 09:58:26 +00:00
3896ad4cbb
code cleanup: spelling
2012-05-20 21:23:26 +00:00
2d2d36fe3b
code cleanup:
...
- style - multi-line ifs move braces onto new lines.
- iterators - convert some to macros, other split up and move brace.
2012-05-20 19:49:27 +00:00
d20c129a9c
style cleanup: whitespace/operators
2012-05-09 09:24:15 +00:00
e5faeab5d6
style cleanup: avi
2012-05-07 18:30:04 +00:00
112162e09e
code cleanup: header cleanup
2012-04-30 14:24:11 +00:00
343edf2722
style cleanup: function calls & whitespace.
2012-04-29 17:11:40 +00:00
e701f9b670
style cleanup: whitespace / commas
2012-04-29 15:47:02 +00:00
b340f930ec
style cleanup: changes to brace placement / newlines - for/while/if/switch
2012-04-28 06:31:57 +00:00
bb4942c920
code cleanup: quiet msvc warnings
2012-04-27 03:01:27 +00:00
a73d0d3e72
code cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some defines/includes for windows.
2012-04-15 07:54:07 +00:00
dabcdc1532
Warning Fixes - const correctness in unicode encoding, unused variables in blenlib, and some type conversions
...
This is from a patch that is in the tracker, but it leaves out a fix of BLI_gzopen which needs more work.
2012-04-09 01:16:19 +00:00
c9e1ced4dd
code cleanup: (dont include ';' in defines), last commit also missed changes to paint_image.c
2012-03-28 01:06:43 +00:00
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
5a90ea77bc
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:24:53 +00:00
89a963fb7f
style cleanup: comment blocks
2012-03-09 18:28:30 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +00:00
ad96dacbc5
style edit only - move parenthesis onto second line of function definition (in keeping with most of blenders code)
...
also split some long lines in own code.
2011-12-17 00:52:36 +00:00
e84c0980a3
correct indentation and some whitespace edits (no functional changes)
2011-11-11 13:09:14 +00:00