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
2014-02-19MSVC: improve warnings for scons and cmakeCampbell Barton
Some int/float conversion warnings were disabled by buildsystems but re-enabled by BLI_winstuff.h, the warnigns relate to conversions not considered issues on other systems so better just quiet them.
2014-01-15Fix build issues with mingw'sAntony Riakiotakis
2014-01-04Fix for previous commit...sorry!Antony Riakiotakis
2014-01-04Fix MinGW32 compilationAntony Riakiotakis
2013-08-20Get rid of PATH_MAX in Ghost System X11Sergey Sharybin
The reason of this is because PATH_MAX is not guaranteed to be defined on all platforms and Hurd doesn't define it. So either we need to support arbitrary long file path or we need to define own maximum path length. The rule here would be: - If it's not big trouble to support arbitrary long paths (i.e. in ghost by using std::string instead of char*) then arbitrary long path shall be implemented. - For other cases to use PATH_MAX please include BLI_fileops.h which takes care of making sure PATH_MAX is defined. Additional change: get rid of own changes made yesterday which were supposed to make storage.c work fine in cases PATH_MAX is not define, but on the second though it lead to unneeded complication of the code. Thanks Campbell for review!
2013-03-13Fix #34551: blender crash rendering with save buffers.Brecht Van Lommel
Problem was the new usage of access() on Windows, this doesn't accept X_OK. Also wrapped _waccess so that UTF-8 paths work.
2013-03-05fix for building with msvcCampbell Barton
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell 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-15code cleanup: dont include BLI_winstuff.h on non windows systems, also ↵Campbell Barton
cleanup some defines/includes for windows.
2012-04-12code cleanup: quiet some mingw warnings.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-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-07-06Fix #27877: writing .avi files > 4 GB not working on windows.Brecht Van Lommel
Solution is to replace "long" by "int64_t" and "fseek" by "_fseeki64", because long on 64 bit windows is still 32 bit.
2011-05-02Fix [#26981] Command window is not opening in 2.57.0Nathan Letwory
Reported by Thomas Engel Fix [#26938] Blender Zoom not working after startup (Windows) Reported by Ilija Boshkov by applying patch [#26881] Fix for console disappearing in debug mode [Windows] Submitted by Alexander Kuznetsov (AlexK) The patch moves console toggling code into GHOST and improves on the toggling behaviour. The patch changes handling of WM_SYSCOMMAND so that alt-key toggling isn't a problem anymore.
2011-04-08Apply console part of patch [#26044] Windows thumbnails and improved ↵Nathan Letwory
filetype registration submitted by Tom Edwards This patch introduces a switch -con and its longer version --start-console. When giving this on cmd-line you'll get the black console window. The new behaviour is to hide it by default. We'll still see briefly the console at startup and during exit, but that's something that cannot be changed. If you start blender from a cmd.exe, the console will not be hidden.
2011-03-29Apply [#26044] Windows thumbnails and improved filetype registrationNathan Letwory
submitted by Tom Edwards Fix [#25473] 64bit Windows installer for version 2.56 is not working patch submitted by Caleb (Dobz) The thumbnail patch adds a thumb handler DLL that adds .blend thumbnail support in Windows Explorer. A -r option is added to do registration in background. The patch also improves icon building and metadata for blender.exe. Caleb fixes and cleans up our installer to an acceptable state. The patch uses the new -r option to do the .blend extension and thumbnailer registration. Thanks to both Caleb and Tom for their efforts!
2011-03-02replace references to old arithb libraryCampbell Barton
2011-02-18doxygen: add blenlib under core as module.Nathan Letwory
2010-11-12Fix compile problems for msvc.Nathan Letwory
2010-11-11System console toggling for MinGWSergey Sharybin
Define WINVER=0x0501 for MinGW due to some stuff requres this winver, but MinGW's default is 0x0400 (thanks AlexKu for point) Better to replace all #include <windows.h> with #include "BLI_winstuff.h" to avoid possibility of different functions prototypes in different modules.
2010-10-27Change /WX away for now, some odd thing going on between cloned ↵Nathan Letwory
environments. Need to check after release.
2010-10-21Enable /WX in blenkernelNathan Letwory
Silence warnings
2010-10-21Silence warning about macro redefinitionNathan Letwory
2010-07-15S_ISDIR and S_ISREG were checking completely wrong for directory and regular ↵Nathan Letwory
file bits.
2010-02-12correct fsf addressCampbell Barton
2010-01-26Use #include "BLI_math.h" instead of _USE_MATH_DEFINES to get M_PI defined.Brecht Van Lommel
2009-10-20basename() function, at least know it should compile.Guillermo S. Romero
Feel free to replace with the proper WIN32 code.
2009-09-24* fix snprintf error with mingwNathan Letwory
* move header guards to the right place.
2009-09-24mingw - silencing the warnings about '#pragma' warnings being unrecognised ↵Joshua Leung
or being ignored. This should still work fine for msvc, and other platforms though.
2009-09-243rd attempt to fix ssize_t problem in MSVC and mingwBenoit Bolsee
2009-09-24Fix more problem with mingw this timeBenoit Bolsee
2009-09-24Fix compilation problem in Windows and update project filesBenoit Bolsee
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-08-20Smoke:Daniel Genrich
* cache for low res (deactivating high res for now) * new way of view3d rendering of smoke (no longer 3 axes) -using 3dtexture now (introduced into gpu/intern) * introducing LZO and LZMA libs into extern (makefiles missing for now) * reducing memory usage after simulating for the frame ended (freeing temporary buffers) * splitting smoke into 2 modifier for the cache-sake (it cannot handle more than 1 cache on the same modifier-index) * no color on gui anymore * fixing non-power-of-2 resolutions (hopefully) * fixing select-deselect of domain drawing bug * fixing drawobject.c coding style (making Ton happy) ;-) HINT #1: If scons doesn't work -> cmakefiles are up-to-date, couldn't test scons (but i tried to mantain them, too) CODERS HINT #1: we really need a way to disable adding all modifiers through "Add Modifiers" dropdown! WARNING #1: before applying this commit, deactivate your SMOKE DOMAIN in your old files and save them then. You can open them then savely after that. WARNING #2: File and cache format of smoke can be changed, this is not final!
2008-12-202.5 BLI_blenlib cleanupAndrea Weikert
DONE: * moved almost all declarations from BLI_blenlib.h into their own proper header files. * BLI_blenlib.h still includes all the declarations for convenience and to avoid changes in existing code * split util.c into several files, where it wasn't done already * DynamicList -> dynamiclist, * ListBase -> listbase, * String utility functions -> string.c * removed a few unused macros and functions, if they're needed back, they're still in svn ;) TODO: * btempdir global * further cleanup in the code of the different modules (especially util.c)
2008-08-22Fix Windows compilation problem and update MSVC project filesBenoit Bolsee
2008-07-05== compile fix ==Andrea Weikert
- fix compilation for MSVC (added missing math define) - note: defines were already duplicated, added twice to keep them in synch
2008-04-30== bugfix ==Andrea Weikert
fix for [#6580] invalid file names not handled consistently when saving only affects windows, where invisible file stream could be created if filename contains ':'
2008-04-17Patch from GSR that a) fixes a whole bunch of GPL/BL licenseChris Want
blocks that were previously missed; and b) greatly increase my ohloh stats!
2006-08-20Fixes for:Andrea Weikert
[ #4337 ] Cant refresh the C:\ [ #4710 ] Wrong paths in file selector under user prefs [ #4353 ] Using ^ char + click on Open/Load = Blender crash Details: Fixes for root paths like C:\ on Windows, where Blender still used '/'. Also contains fixes for relative paths: - no relative paths for the default dirs (forced to absolute) - message if using relative paths when .blend file hasn't been saved. Lastly also added '.' for refresh in root paths. Windows FindFirstFile/FindNextFile also return '.' and '..', but not in root paths like C:\
2005-04-02 - got tired of str[n]casecmp not declared warningsDaniel Dunbar
- added BLI_str[n]casecmp, use instead of regular versions - rewrote BLI_str[n]casecmp to not be stupid
2005-03-19Some cleaning up of BLI_winstuff.h usageDaniel Dunbar
- 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.
2003-05-25Support for building bf-blender under windows with gcc (huge thanks toChris Want
Florian Eggenburger). Full instructions are in doc/README.windows-gcc. Main differences from Florian's patch: - the 'lib' dir should now be the same level as the 'blender' dir (rather than being a subdir of 'blender'). This is consistent with the other platforms that bf-blender supports (tuhopuu will also adopt this convention hopefully soon). - the script 'free_windows-env.mk' is no longer needed ... see the docs about how this is overcome (again, tuhopuu will hopefully also follow this route soon). - the dlltool dir has it's own Makefile that builds all of the needed stub libraries from the dll's in cvs.
2002-12-27Removed the config.h thing from the .h's in the source dir.Kent Mein
So we should be all set now :) Kent -- mein@cs.umn.edu
2002-12-02wrapped S_ISREG and S_ISDIR with a define to suppress compilerMaarten Gribnau
complaints about redefinitions. These occur now that Python 2.2 is included.
2002-11-25Did all of the .h's in sourceKent Mein
(adding) #ifdef HAVE_CONFIG_H #include <config.h> #endif also the Makefile.in's were from previous patch adding the system depend stuff to configure.ac Kent -- mein@cs.umn.edu
2002-10-30fixed spacing in the headers to get rid of some warnings and some otherKent Mein
little minor spacing issues.
2002-10-12Initial revisionv2.25Hans Lambermont