Age | Commit message (Collapse) | Author | |
---|---|---|---|
2011-05-31 | cmake maintenance | Campbell Barton | |
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-04-28 | rename duplicate header defines & remove unused var. | Campbell Barton | |
2011-04-21 | converted more mixed tab/space indentations to tabs. only whitespace changes. | Campbell Barton | |
2011-04-21 | whitespace only, no functional change mixed tabs/spaces --> tabs.v2.57a | Campbell Barton | |
2011-03-09 | image.depth, 96/128 for float color images, was 24/32 for byte images. | Campbell Barton | |
also use <> for system includes | |||
2011-03-03 | replace 0 with NULL when used as a pointer | Campbell Barton | |
2011-02-25 | doxygen: intern/guardedalloc tagged | Nathan Letwory | |
2011-02-22 | doxygen: add bullet to extern libs, some small changes in page names, and ↵ | Nathan Letwory | |
fixes around license blocks | |||
2011-02-21 | add includes to cmake files | Campbell Barton | |
2011-02-21 | doxygen: some code shuffle to prevent clashing file names, ensure ↵ | Nathan Letwory | |
MEM_guardedalloc.h also shows in docs | |||
2011-02-21 | doxygen: add guardedalloc and AVI | Nathan Letwory | |
2011-02-12 | fix for more warnings. | Campbell Barton | |
- modifier code was using sizeof() without knowing the sizeof the array when clearing the modifier type array. - use BLI_snprintf rather then sprintf where the size of the string is known. - particle drawing code kept a reference to stack float values (not a problem at the moment but would crash if accessed later). | |||
2011-02-12 | fix for uninitialized value in BLI_path_cwd() if PWD wasn't defined and the ↵ | Campbell Barton | |
CWD was longer then 160. | |||
2011-01-30 | remove nan-makefiles | Campbell Barton | |
2011-01-23 | correct own bad spelling | Campbell Barton | |
2011-01-15 | misc edits, no functional changes | Campbell Barton | |
- enabling/disabling no longer prints in the terminal unless in debug mode. - remove 'header' struct from BLI_storage_types.h, from revision 2 and is not used. - Add GCC property to guardedalloc to warn if the return value from allocation functions isn't used. | |||
2010-12-23 | rename blenderlib to blender_add_lib | Campbell Barton | |
2010-12-08 | use lowercase for cmake builtin names and macros, remove contents in else() ↵ | Campbell Barton | |
and endif() which is no longer needed. | |||
2010-12-03 | - added GCC warning -Wstrict-prototypes | Campbell Barton | |
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute. | |||
2010-12-03 | fix for some pedantic warnings. | Campbell Barton | |
2010-11-29 | include headers in cmake source, added a script to check for consistency, ↵ | Campbell Barton | |
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-24 | define UNUSED() locally for mmap_win | Campbell Barton | |
2010-11-24 | fix for crash introduced r33257, also tag some vars as unused. | Campbell Barton | |
2010-11-21 | - check IF WIN32 AND NOT UNIX (for cygwin) | Campbell Barton | |
- patch from Mike S to enable OpenMP and xcode | |||
2010-10-23 | Remove msvc build files which are not needed anymore. | Campbell Barton | |
2010-10-18 | bugfix [#24302] Ctrl+Click Extrude gets old mouse events | Campbell Barton | |
double click didnt check mouse distance moved so you could click twice in different areas of the screen very fast and generate a double click event which had old mouse coords copied into it but was sent to an operator set to run on single click (because the double click wasnt handled). Also added MEM_name_ptr function (included in debug mode only), prints the name of allocated memory. used for debugging where events came from. | |||
2010-10-09 | c++ -> C++ | Nathan Letwory | |
2010-10-09 | Enable CXX_GUARDEDALLOC support through SCons. | Nathan Letwory | |
2010-09-18 | warning fixes and minor cmake changes. | Campbell Barton | |
2010-08-25 | rename most scons build targets to match cmake | Campbell Barton | |
2010-08-24 | rename some cmake build targets | Campbell Barton | |
2010-07-25 | from Luca's recent commit noticed there are more typo's: lenght -> length | Campbell Barton | |
2010-05-04 | merging revisions 28564-28569 from render branch into trunk | Joseph Eagar | |
2010-04-30 | use size_t for MEM_allocN_len as well as some of its callers | Campbell Barton | |
2010-04-29 | Amendment to r28508 (Make Blender malloc be 64 bit ready) | Nathan Letwory | |
- one function missed in header causes compile problems (intern/guardedalloc/intern/mallocn.c:352: error: conflicting types for ‘MEM_mapallocN’) | |||
2010-04-29 | Make Blender malloc wrapper be 64 bit ready. | Guillermo S. Romero | |
2010-04-28 | reverting 28469, there is no use in using a long, while the allocation ↵ | Campbell Barton | |
functions only accepts an int. - only wastes 4 bytes per alloc. Also would be most correct to use size_t | |||
2010-04-27 | Make len portable (as best as can tested with a 32 bit machine). | Guillermo S. Romero | |
2010-04-27 | fix for allocations over 2gig crashing blender (even on 64 bit systems) | Campbell Barton | |
the memheader len would wrap to a negative number and when freeing it would write into the memheader. | |||
2010-04-18 | remove config.h references, was added for automake build system rev around ↵ | Campbell Barton | |
124-126 but isnt used by any build systems now. | |||
2010-04-15 | Make memstat easier to read, add missing Intel ID and cleanups. | Guillermo S. Romero | |
2010-02-16 | [#18961] Use const char * where appropriate (2.5) | Campbell Barton | |
from Sean Bartell (wtachi) added own changes bpy_props.c | |||
2010-02-13 | fix for memory leak: node animation data wasnt being free'd | Campbell Barton | |
also some corrections to memory debug stuff. | |||
2010-02-13 | simple malloc counter for debugging. disabled so no functional change. | Campbell Barton | |
Use when memory isnt being freed to easily set a breakpoint the Nth allocation. | |||
2010-02-12 | correct fsf address | Campbell Barton | |
2010-02-08 | Guardedalloc: added MEM_reallocN function to do simple alloc/memcpy/free, | Brecht Van Lommel | |
not as optimized as a system realloc but I've had to do this often enough manually to justify a utility function. | |||
2010-01-24 | remove own experiemental code | Joseph Eagar | |
2010-01-22 | Fix MEM_testN not unlocking mutex correctly, unlikely to lead to | Brecht Van Lommel | |
problems in practice but might as well fix. | |||
2010-01-21 | Added a new notifyer, NC_SPACE_CHANGED, to signal an editor that | Joseph Eagar | |
replaces another so it can do updates (e.g. dopesheet editor can sync channel selection). Also coded a simple optimization for allocating small objects, based on mempools. It's #ifdef'd out, you can enabled it by defining OPTIMIZE_SMALL_BLOCKS (e.g. adding -DDOPTIMIZE_SMALL_BLOCKS to your compiler flags). We suffer from a great deal of performance loss from the system allocator (vgroups, ghash, edgehash, the singly-linked list implementation in blenlib, editmesh, and likely a great many areas I'm forgetting), and this is the common solution for handling the many-small-objects problem. It's not really production-ready yet (it's long-term memory consequencers need to be profiled first, and the implementation tweaked as necassary), but for people on systems with slow system allocators it's worth trying. Note that since this creates a guardedalloc<->blenlib link, the build systems need to be updated accordingly (I've already done this for scons, though I'm not sure if the player builds). | |||
2009-11-11 | Debug tools: new function MEM_testN(void*) | Martin Poirier | |
returns 0 if pointer is not in memlist |