Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-27code cleanup: quiet msvc warningsCampbell Barton
2012-04-24First MinGW-w64 support for cmake has been added. To test I recommend this ↵Antony Riakiotakis
build: http://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win64/Personal%20Builds/ray_linn/GCC-4.7.0-with-ada/mingw-w64-gcc-4.7.0-runtime-2.0.1-static-ada-20120330.7z/download Other builds may also work but due to the constantly changing nature of the compiler this cannot be guaranteed. I often had to change compilers while building the libraries and this one is the one that did the job for most of them. This first support is experimental and considered "advanced". To enable pass -DWITH_MINGW64 during cmake configuration. Also make sure to extract the compiler on C:/MinGW and that MinGW/bin is in your path. To build check out lib/mingw64. Initially the support is lacking until I get every library compiled correctly. For now you should disable WITH_CYCLES(sorry, I know some people are dying to do benchmarks, but still a few libs to go), WITH_IMAGE_OPENEXR, WITH_OPENCOLLADA, WITH_LIBMV and WITH_CODEC_FFMPEG(links but hangs on startup). Still the tools are working, the memory limit is increased and due to the experimental nature of the setup, full optimization with SSE2 is available, which makes the build quite fast. Also the compiler and especially, the linker are way faster than regular MinGW. The wiki docs have also updated. Happy testing!
2012-04-21style cleanupCampbell Barton
2012-04-15code cleanup: dont include BLI_winstuff.h on non windows systems, also ↵Campbell Barton
cleanup some defines/includes for windows.
2012-04-12code cleanup: utfconv library had some quite confusing formatting, also ↵Campbell Barton
cleared som warnings.
2012-04-12code cleanup: remove unused var for windows and style edit (remove spaces ↵Campbell Barton
between 'var[num]')
2012-04-07Temporary gzopen fix for for WindowsAlexander Kuznetsov
If we open file for write, we create a new file and close it. Therefore we have existing path for GetShortPathName. Strangely zlib fails on gzclose if file descriptors are used.
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-20compile fix: linux BLI_gzopen declare was conflicting.Campbell Barton
2012-03-20Adds support for utf paths on Windows.Alexander Kuznetsov
Not all file formats/calls are supported yet. It will be expended. Please from now on use BLI_fopen, BLI_* for file manipulations. For non-windows systems BLI_fopen just calls fopen. For Windows, the utf-8 string is translated to utf-16 string in order to call UTF version of the function.
2012-03-20Fix #30590: Crash in multires when undoing extrude [File incl.]Sergey Sharybin
- Crash was caused by recursively copying directory into itself, fixed by switching from opendir() to scandir(). - Also do not try to unpack images which doesn't have name.
2012-03-14Switch *nix fileops from calling external commands via system() to posix api ↵Sergey Sharybin
calls which resolves some possible issues with operating files with quotes and backslashes. Also this might resolve (or at least help) resolving compilation error on GNU Hurd platform which will help a lot maintaining Blender for Debian.
2012-03-04style cleanup / comment formatting for bli/bke/bmeshCampbell Barton
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-01-12replace fixed sizes with sizeof when passing string length since size wasn't ↵Campbell Barton
always correct.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-22Code cleanup: file operations merged into single header, some function namesBrecht Van Lommel
made less cryptic and changed to indicate if they work on files or directories.
2011-10-22Code cleanup: remove BLI_exist, now there is only BLI_exists. One function justBrecht Van Lommel
called the other, they did the same thing.
2011-10-20strcpy() --> BLI_strncpy(), where source strings are not fixed and target ↵Campbell Barton
size is known.
2011-09-20Fix for BLI_ungzip_to_mem: it'll return NULL now if file is not found.Sergey Sharybin
It makes default bfont used if unifont isn't found. Useful for install-less launch when debugging.
2011-09-18i18n: replace gnu unifont with droid sans fontSergey Sharybin
- Static variables can be initialized with constants only. - Removed bunifont.ttf.c from datafiles -- it's not actually a data file. Unicode font loading stuff is not in blenkernel/font.c - Allocate as much memory for unzipped data as it's needed. Default read chunk is 512Kb. - Fixed regression (or just a typo) in setting utf locale. - Default locale set to en_US:en works fine now. - Commented put Nepali language in user preferences -- it's not supported by current droid font and imo it's better to have nice font for languages we actually have translation for rather than allowing to choose more languages in user preferences.
2011-09-01merge with trunk r39834Xiao Xiangquan
2011-08-23change compression level for gzip saving to 1, approx twice as fast when ↵Campbell Barton
saving a 194mb blend file and only slightly bigger.
2011-06-02Almost complete the i18n system, including:Xiao Xiangquan
Copy unifont..ttf.gz from source tree to target datafile path( now ONLY works with cmake ); Set the locale the same with system's setting; If need unicode font, unzip and load unifont when init ui styles; Apply gettext() to labels in space_info.py, who are the main menu items. Each of these should have been commit one by one. As they work well according to my tests, so I just lazily send a long list.
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-10quiet msvc/mingw compiler warnings.Campbell Barton
2011-02-27doxygen: blender/blenlib tagged.Nathan Letwory
2011-02-12fix 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-01-08Removed some overly agressive (and IMO pointless) "UNUSED(arg)"Joshua Leung
wrappers which was breaking compiling on Windows (mingw)
2010-12-16SVN maintenance.Guillermo S. Romero
Plus some typo fixes in comments.
2010-11-24fix for crash introduced r33257, also tag some vars as unused.Campbell Barton
2010-11-19use 'const char *' for imbuf and file ops.Campbell Barton
2010-11-16option to write images to a files on single frame renders, this isn't ↵Campbell Barton
accessed by the UI at the moment, but could eventually be used for saving test-renders. The main reason to have this is so renders can be scripted to write to a specific file without having to do annoying tricks like set a dummy start/end frame range, render an animation and work out the current frame image will be written to, then rename after rendering. Also made some 'char *' args into 'const char *'
2010-10-27Convenience defines SEP and ALTSEP (python has these), move BLI_*_slash ↵Campbell Barton
function into path_util.h since these are not fileops.
2010-09-15update for MingW/CMakeCampbell Barton
- ignore MSVC warnings when FREE_WINDOWS is defined to quiet warnings. - the CMake flags were not being set correctly making blender have weirdo colors (no -funsigned-char).
2010-07-17spelling correction: alredy --> alreadyCampbell Barton
2010-07-15* Use same BLI_exist() on all platforms.Nathan Letwory
* remove extra sys/types.h include.
2010-06-06- WITH_CXX_GUARDEDALLOC working againCampbell Barton
- CMake building without python or fluidsim working again (broke in recent commit) - remove BLI_short_filename(), it wasnt used anywhere.
2010-03-20remove unused includes for blenlib, left ifdef's for non linux os's alone.Campbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-01-29Fix for lack of basic error checking in writing compressed .blend filesBrecht Van Lommel
(which is enabled by default). If there was a problem reading or writing in the compression process, the original .blend file could get lost. Now errors are checked, and writing is done as follows: write .blend@ -> compress .blend@ to .blend@.gz -> rename .blend@.gz to .blend -> remove .blend@ We've had blender crash here, lose the original .blend and leave an empty .blend@. It is not clear to me where this would happen in practice if there is enough disk space and permissions are correct, so the actual crash is likely not fixed by this commit.
2009-12-26fixes for errors/warnings found with cppcheckCampbell Barton
2009-09-10UI:Brecht Van Lommel
* layout.itemR now has icon_only option to show only icon in e.g. enums buttons, for uv editor header. * Automatic key shortcuts in menus now show the shortcut even if operator properties don't match. Not sure this will work well everywhere, but seems to be working ok for now. * Open recent now show shorter filenames instead of the whole file path. * Tweak object Duplicate menu item.
2009-09-06* cleaning up warnings (mostly windows). A collection of other warning fixes ↵Nathan Letwory
too (undefined function, assuming int, etc.) This compiled fine with scons/msvc and scons/mingw (gcc 4.4.0). Please test and report any problems.
2009-07-282.5 file browserAndrea Weikert
Bugfix: revert to previous behaviour of BLI_rename, is used for safe blendfile saving. Added guard in file browser though to prevent user from invoking this.
2009-07-262.5 file browserAndrea Weikert
* operator for create new directory activated (IKEY) * operator for rename (works on files and directories so far) (CTRL+LMB) Note: fail to rename is rather quiet, no message popup, just doesn't rename if it can't. So far checked that (On Windows Vista) rename fails on system directories, which I think acceptable. Note: I removed the code that (silently) deletes file if I rename file to an existing one. Considered harmful :)
2009-07-19- Support for importing python packages. (directories of python scripts ↵Campbell Barton
containing an __init__.py) - BLI_add_slash returns the new string length. - BLI_where_am_i() would often have /./ in the path (not incorrect but annoying, got into python exceptions) - release/ui/space_image.py, py error referencing invalid keyword args.
2009-07-132.5: bugfix for BLI_is_writable, made render with Save BuffersBrecht Van Lommel
not work anymore. Now it first tries to open the file without truncating, and only then tries to create a new file.
2009-05-17Don't create or truncate file when checking for writeable.Martin Poirier
That was a nasty bug, would truncate current image file on disk when opening menu to load a new one.