Commit Graph

171 Commits

Author SHA1 Message Date
8a02dc11de Patch provided by Andrea Weikert (elubie):
With a few tests I have discovered that when quitting Blender the filelist
in SpaceFile doesn't get free'd.

storage.c:
I have replaced strdup for the relname member in BLI_builddir with BLI_strdup.
and malloc with MEM_mallocN for the string member in BLI_addstrings().

filesel.c:
Of course also had to replace free with MEM_freeN in freefilelist().

In freespacelist (space.c) I added call to freefilelist for the SPACE_FILE
space type.
2005-04-17 15:50:52 +00:00
24c9f65056 - got tired of str[n]casecmp not declared warnings
- added BLI_str[n]casecmp, use instead of regular versions
 - rewrote BLI_str[n]casecmp to not be stupid
2005-04-02 15:36:57 +00:00
e229722d5b - added Mesh->derived and Mesh->decimated DerivedMesh pointers
- removed DL_MESH displist type!!!! Now store a DerivedMesh directly.
 - May still be some issues left having to do with releasing this
   at the right time (old code just splashed free_displist all
   over the place).
2005-03-29 16:43:39 +00:00
b3bb3f06ba Some cleaning up of BLI_winstuff.h usage
- removed reference in render.h (really bad, shouldn't include a platform
   specific header so widely unless really necessary)
 - added M_PI, M_PI_2, M_SQRT, M_SQRT_2 defines to BLI_arithb.h... this is
   a better place as it is more the "standard" blender math header. left
   in winstuff.h as well for the moment for simplicity
 - other changes are patches to code so everything works ok with this
   shuffling.
2005-03-19 20:04:25 +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
e13933bc7c Added include sys/vfs.h for hpux was in the patches tracker....
and cleaned up the include for dirent.h

Kent
2005-02-25 14:50:57 +00:00
7e1fcb5c07 Bug fix 2047
FileWindow didnt sort the dirs "." and ".." correctly. Now these two are
always first.
2005-01-03 14:17:33 +00:00
d1bbaf18ca - Fix build failure on Linux sparc
Checks for operating systems should be that, and not checks for hardware.
Linux/sparc is a valid combination, using sparc to check for Solaris thus
results in problems on non-Solaris.
2004-08-03 17:05:03 +00:00
34d3b2c2e4 Changed printing an empty string to print "0" for files for zero size
in file selector.
Thanks Joilnen for pointing to this line.
2004-05-11 12:50:04 +00:00
8d18aade3f potential fix for windows crash when it encounters file dates beyond
the nice limited unix range (1970-2034 or so).
Zr will check!
2004-05-06 20:53:05 +00:00
9802db019d Rick Kimball's patch Basically it checks to make sure the unix platforms
were able to find a user before copying that user as the owner.

Kent
2004-04-05 17:07:06 +00:00
2b27a909f0 Fixed the fix I did earlyer. (Move var declaration up in the function
to where it should be)  Darn SGI ;)

Kent
2004-03-30 14:41:08 +00:00
53b9bc5990 Bug fix for #977
Removes the creation of a password table for Non Windows machines
and instead calls getpwuid Was a lot slower before,
 on systems with many users.

fix provided by Ryan Hayward (rhayward)

Kent
2004-03-29 18:39:48 +00:00
9ed4436058 Updated the Sun ifdef's basically I standardized them so they
were all the same and make sure all platforms see them.

Kent
2004-03-06 19:32:33 +00:00
d9cf17d930 Added a if defined(__sun)
I believe gcc and sun's cc have it defined differently.
It wasn't including statfs.h now it is.

Kent
2004-02-23 14:29:10 +00:00
f46d9845ec One of Jan's patches for NetBSD.
Kent
2003-05-29 14:09:25 +00:00
695c968825 - translations for comments in blender lib files 2003-04-26 16:02:26 +00:00
f41a178ae9 opps had a typo...
Kent
2003-01-30 20:05:04 +00:00
9475bf9e29 Modified checks for defined __FreeBSD__ to also include defined (__OpenBSD__)
From: http://www.blender.org/modules.php?op=modload&name=phpBB2&file=viewtopic&t=840

Kent
2003-01-30 18:51:05 +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