933b3166fc
style cleanup: guys - set your editors to tabs!
2012-05-01 17:51:03 +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
d2cab3e8b0
move bmesh wiki docs into bmesh header and update doxygen.
...
also have doxygen ignore *.py files and fix some warnings.
2012-02-27 20:27:19 +00:00
47c373c7a9
style cleanup (mostly whitespace)
2012-02-27 10:35:39 +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
371d5815a7
Fix implicit declaration of guardedalloc functions in avi's endian.c.
...
Discovered by debian building system.
2012-01-26 10:59:31 +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
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
018fa1540e
whitespace edits, make formatting for functions consustent at least within the file.
2011-09-28 05:53:40 +00:00
7c46f1c4b7
Fix some MSVC 2010 warnings (including one apparent bug in intern/elbeem/intern/solver_relax.h)
2011-09-25 12:33:51 +00:00
4e9ab6d04c
replace WORDS_BIGENDIAN with __BIG_ENDIAN__
2011-09-19 08:11:30 +00:00
83a2f02a78
cleanup endian handling
...
- define __BIG_ENDIAN__ or __LITTLE_ENDIAN__ with cmake & scons.
- ENDIAN_ORDER is now a define rather than a global short.
- replace checks like this with single ifdef: #if defined(__sgi) || defined (__sparc) || defined (__sparc__) || defined (__PPC__) || defined (__ppc__) || defined (__hppa__) || defined (__BIG_ENDIAN__)
- remove BKE_endian.h which isn't used
2011-09-19 08:02:17 +00:00
ca1e9d2c18
replace octal 0177 with 127 to be more clear, no functional change.
2011-08-27 03:34:11 +00:00
5792bd7cc7
cmake: cleanup include paths, some duplicates and going up some unneeded dirs.
2011-07-17 09:11:13 +00:00
e645068aa0
Fix #27928 : avi raw writing failure, after earlier bugfix for big file sizes.
2011-07-11 09:47:13 +00:00
11645e7a3f
Fix #27877 : writing .avi files > 4 GB not working on windows.
...
Solution is to replace "long" by "int64_t" and "fseek" by "_fseeki64", because
long on 64 bit windows is still 32 bit.
2011-07-06 10:19:04 +00:00
09da9d4393
cmake maintenance
...
blender_add_lib now takes a separate include argument to suppress warnings in system includes (mostly ffmpeg & python).
also only build wm_apple.c on apple+carbon configuration.
2011-05-31 01:15:44 +00:00
f9f771cd01
converted more mixed tab/space indentations to tabs. only whitespace changes.
2011-04-21 15:53:30 +00:00
210ee1ade4
whitespace only, no functional change mixed tabs/spaces --> tabs.
2011-04-21 13:11:51 +00:00
c7fccc84bf
use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf & editors.
2011-03-05 10:29:10 +00:00
Nathan Letwory
9960f697a6
doxygen: blender/avi tagged.
2011-02-27 20:43:42 +00:00
00c05c8404
Clean up headers a bit more.
2011-02-23 18:03:40 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
Nathan Letwory
212d67734c
doxygen: add guardedalloc and AVI
2011-02-21 09:23:34 +00:00
89c617a116
remove nan-makefiles
2011-01-30 15:29:22 +00:00
1bd0db59f4
use cmake defined names for jpeg, png, zlib and python libs, building on *nix with non-standard libjpeg/png/zlib locations was broken.
...
in the case of python this makes it easier to move to find_package(PythonLibs) when 3.x is supported.
2011-01-25 14:43:13 +00:00
5e382eb8e5
rename blenderlib to blender_add_lib
2010-12-22 23:09:30 +00:00
afacd18498
use lowercase for cmake builtin names and macros, remove contents in else() and endif() which is no longer needed.
2010-12-08 08:43:06 +00:00
e8397e6193
include headers in cmake source, added a script to check for consistency, reporting missing headers & C files.
...
this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-29 04:35:56 +00:00
ce2295999e
use zero initializers instead of memset(), also change PointerRNA_NULL from an extern into a define.
2010-11-23 08:44:21 +00:00
5a09368957
use 'const char *' for imbuf and file ops.
2010-11-19 02:14:18 +00:00
c6976e7351
use explicit file paths for CMake rather then globing, This is recommended by cmake devs.
...
globbing vs explicit is discussed here.
http://www.cmake.org/pipermail/cmake/2008-December/025694.html
Practical implications are:
- developers need to keep CMakeLists.txt files up to date.
- Users wont get strange linking errors if they build after a file is added, since CMake detects CMakeLists.txt is modified and automatically reconfigure.
2010-10-23 04:05:55 +00:00
a9f79ee536
Quiet compiler warnings.
2010-10-20 12:33:00 +00:00
30b79ddcc6
- fixed remaining unused warnings.
...
- omit render code from this warning (cmake only), until render branch is merged.
- moved -Wunused-parameter warning to apply to all C code in blender (not just ./source/blender), (cmake only).
2010-10-17 06:38:56 +00:00
8268a4be71
most unused arg warnings corrected.
...
- removed deprecated bitmap arg from IMB_allocImBuf (plugins will need updating).
- mostly tagged UNUSED() since some of these functions look like they may need to have the arguments used later.
2010-10-16 14:32:17 +00:00
04b0dcd9e5
- use list append in more places (preferred method since its faster)
...
- remove some unused include paths
- remove unused linux path define
2010-09-06 10:15:41 +00:00
d1759639dc
- remove unused includes IMB_*, BIF_* & MEM_*
...
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-16 05:46:10 +00:00
95aa8cfa4a
Update address in license block.
2010-08-10 21:22:26 +00:00
940d1dcd0a
remove commented scons lines from cmake files, fixed use of pointer poll function for ID drobdowns (currently unused)
2010-08-03 08:12:55 +00:00