2bd9519e39
BLI_ghash.h was including BLI_blenlib.h, remove from ghash header and include in each file
2011-10-20 13:50:24 +00:00
85a977693f
svn merge -r39763:39765 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-29 01:08:34 +00:00
5065d4c744
svn merge -r39664:39762 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-29 00:46:56 +00:00
fa2ba5fbf5
- use static vars and functions where possible.
...
- use NULL rather than 0 when used as pointers.
2011-08-28 05:06:30 +00:00
74ca6070b4
svn merge -r39384:39433 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-16 06:53:03 +00:00
55a560c0c4
svn merge -r39286:39385 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-16 06:30:14 +00:00
2c8e1e633c
comment unused lines.
2011-08-15 03:41:31 +00:00
b1c04d379f
un-inline GHash functions r26206, these are quite large functions to inline and increase binary size by 30kb, (tested on stripped, cmake release build).
...
Ran some speed tests and difference was close to the noise level, but inlining gives only ~2 - 3% speedup with build modifier which uses ghash a lot.
2011-08-12 02:23:06 +00:00
6ef77cf95a
=bmesh= merge from trunk at r36529
2011-05-08 23:43:18 +00:00
f9f771cd01
converted more mixed tab/space indentations to tabs. only whitespace changes.
2011-04-21 15:53:30 +00:00
c98148a963
=bmesh= merge from trunk at r36153
2011-04-15 01:19:13 +00:00
Nathan Letwory
7900b5949f
doxygen: blender/blenlib tagged.
2011-02-27 20:37:56 +00:00
f01261d040
merge with/from trunk at r35190
2011-02-27 06:19: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
0955c664aa
fix for warnings from Sparse static source code checker, mostly BKE/BLI and python functions.
...
- use NULL rather then 0 where possible (makes code & function calls more readable IMHO).
- set static variables and functions (exposed some unused vars/funcs).
- use func(void) rather then func() for definitions.
2011-02-13 10:52:18 +00:00
8f21a43535
split BKE_utildefines.h, now it only has blender specific defines like GS() MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h.
...
no functional changes.
2011-01-07 18:36:47 +00:00
263830f000
Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for 'const char's,.
...
Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03 17:05:21 +00:00
bb7339a7ae
merge with trunk at r31523
2010-09-04 05:31:25 +00:00
87477c5d11
fix for error with removing MEM_guardedalloc.h, not sure why I didnt get this warning when rebuilding yesyerday.
2010-08-17 11:10:48 +00:00
c11c196efa
part 1 of merge from trunk at r30358; it compiles, but doesn't link quite yet :)
2010-07-19 04:44:37 +00:00
a37bcf93ef
wip commit; DO NOT USE. almost done with phase 1 of this restructuring, basically just some things that needed to be done before trunk (and some things that needed to be started, but can be finished much later).
2010-07-14 22:06:10 +00:00
389e590460
ghash alloc string from render branch
...
svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28571:28573
svn merge https://svn.blender.org/svnroot/bf-blender/branches/render25 -r28575:28576
2010-05-07 07:54:25 +00:00
8f1500da00
remove config.h references, was added for automake build system rev around 124-126 but isnt used by any build systems now.
2010-04-18 10:28:37 +00:00
1e9bf0cfdb
spaces -> tabs, (4 spaces == 1 tab, only for white space preceding text)
2010-03-22 09:30:00 +00:00
07b547980d
remove unused includes for blenlib, left ifdef's for non linux os's alone.
2010-03-20 18:52:03 +00:00
71003b9bcc
merge with trunk at r27259 and commit of a patch by anthony jones to fix msvc (though further work may be needed because changes made by the merge
2010-03-09 04:32:40 +00:00
081c1205a3
correct fsf address
2010-02-12 13:34:04 +00:00
843b0e343b
ghash tweak to not do so much preallocation
2010-02-04 00:17:25 +00:00
7ef85aa41f
Initial results of my profiling of the animation system.
...
Basically two simple changes, changes, I pulled in the faster
ghash in bmesh (which uses mempools for allocation, providing
a substanstial speedup in some cases, and also I inlined some
of the functions), and I changed __inline to __forceinline for inlining
of math functions.
I also removed the timer in the view3d zoom op (ctrl-middlemouse)
that was making it nonfunctional. Why was that there?
2010-01-23 11:25:20 +00:00
e0a014a45f
finished removedoubles, and inlined a bunch of functions.
2009-09-09 06:28:58 +00:00
287cc0fad8
miscelleneous bug fixes and mem leak fixes
2009-09-06 06:47:59 +00:00
67c64cf82b
more optimization stuff. transformed a few functions into macro that profiling showed were taking a bunch of time. also have some work-in-progress (if disabled) stuff related to inlining, which I'm trying to get working but may be too much trouble.
2009-09-06 02:43:36 +00:00
209db3a64c
merge with 2.5 at r18948
2009-02-13 03:27:03 +00:00
1773084201
made extrude properly delete unneeded geometry
2009-02-12 18:05:34 +00:00
9bcdb4b758
2.5: various warning fixes.
2009-01-17 00:51:42 +00:00
c35a2d6ea9
merge trunk 16118 -> 116886
2008-10-02 20:39:57 +00:00
62845c3d52
Win64: forget include => this compile errors never showed up on msvc (if anyone wonders)
2008-08-17 17:16:49 +00:00
fd0072e77c
Win64: please check my changes if you ran across them ;) But should be fine since no additional crashes were reported!
2008-08-17 17:08:00 +00:00
e70573badd
gHash iterator initializer
...
To be able to have iterators on the stack/reuse iterators
2008-05-27 13:22:17 +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
65f1999435
Bugfix #8032
...
The warning i've coded 1.5 year ago, to warn when a .blend was written
by newer executable, failed on the .B.blend load case... UI not property
initialized then.
This at least fixes the crash, a menu won't pop up correctly though...
luckily the warning works for regular load or ctrl-x
2008-01-01 14:13:37 +00:00
d4616b56ec
Redesigned the EdgeSplit modifier's splitting algorithm to be better
...
structured and more maintainable. The old algorithm could leave the mesh in an
inconsistent state during recursive calls, making it quite fragile. The new
algorithm keeps the mesh in a consistent state, and should be more robust.
This commit fixes the issues EdgeSplit was having with non-manifold meshes
(bug #4946 , also reported by several other people). EdgeSplit now works
correctly with all the test files I have.
This commit also fixes the BLI_ghash_remove function to correctly decrement
gh->nentries (the number of entries in the hashtable) on a successful removal.
2006-09-05 13:15:55 +00:00
80eb4d3b9e
Big commit in orange: Interface icons for materials, textures
...
world and lamp. Also for images in pupmenus.
Also preparation for work on using preview images in imagebrowser.
-- Andrea
2005-12-21 22:21:43 +00:00
c78e44cdc5
big warning hunt commit
...
lot of casts, added prototypes, missing includes and some true errors
2005-03-09 19:45:59 +00:00
7f609ec2aa
- added BLI_ghash_size(), number of entries in table
...
- added GHashIterator ADT, for iterating over GHash-tables
2004-01-07 06:13:43 +00:00
d0e346d544
updated .c files to include:
...
#ifdef HAVE_CONFIG_H
#include <config.h>
#endif
Just need to finish cpp files now :)
Kent
--
mein@cs.umn.edu
2002-11-25 12:02:15 +00:00
Hans Lambermont
12315f4d0e
Initial revision
2002-10-12 11:37:38 +00:00