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-06-22fixed function name: BLI_rebase_path, reworked description, added enum ↵Gaia Clary
bli_rebase_state for defined return values
2012-05-29finish cleanup for pluginsCampbell Barton
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
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-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-10-31fix [#29098] File save dialog cannot handle extra periods in file nameCampbell Barton
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
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-21Code cleanup: don't use btempdir/bprogdir/bprogname globals anymore, but wrapBrecht Van Lommel
in BLI_ functions.
2011-10-21- add convenience functions BLI_split_dir_part / BLI_split_file_part, which ↵Campbell Barton
just call BLI_split_dirfile(). - add a fixed value for bprogdir (the dir of bprogname), since it was being used for resource lookups.
2011-10-15fix for buffer overrun with BLI_split_dirfile(...), was simple to do since ↵Campbell Barton
many places don't check for filename lengyj of 79 chars which is the limit for the file selector. Add max dir and file length args.
2011-05-27Windows installer and Path changes, fixing various issues:Brecht Van Lommel
* Windows installer not working for non-admin users and multiple users * Addon scripts not installing next to user configuration * Portable install not being taken into account in all places The main problem was the windows installer was installing system scripts in AppData next to the user configuration directory, which is not shared between users. Now these are installed in ProgramFiles, and only addon scripts added by the users go to AppData. On all platforms, addon scripts were sometimes getting installed between system scripts, because the scripts folder in the executable directory was given precedence over the user configuration folder, that is no longer done now. So addons now behave like user configuration, they are preserved even if you download a newer build of the same blender version. If you have an installation of 2.57 on windows, the addon install location will not change until we do the version bump to 2.58, to avoid conflicts with the existing the installed 2.57 version. The old behavior of giving precedence to the local folder was done to support portable install, where all configuration is written to the local folder. This is now implemented differently: if and only if a "config" folder exists in the local folder, portable install will be assumed, and files will only be written to that local folder.
2011-05-22quiet compiler warnings for -WundefCampbell Barton
2011-05-03remove player runtime writing functions, this is now an addon.Campbell Barton
2011-05-02workaround [#27203] Crashes with some high-res image thumbnail generationCampbell Barton
skip generating thumbs for images over 100mb. also pass string lengths as size_t rather then int for path_util.c functions.
2011-04-11api changes needed for for copying old settings to new.Campbell Barton
- py: bpy.utils.resource_path('USER', 2, 56) - C: BLI_get_folder_version(id, major, minor, check);
2011-04-10quiet msvc/mingw compiler warnings.Campbell Barton
2011-04-06fix [#26803] Libs paths are case sensitive in windowsCampbell Barton
use case insensitive path comparison on windows: BLI_path_cmp
2011-03-11fix [#26451] Little problem when selecting relative output pathCampbell Barton
BLI_path_rel() no longer strips trailing slashes.
2011-02-26use const char for return values of getenv().Campbell Barton
2011-02-18doxygen: add blenlib under core as module.Nathan Letwory
2011-02-13enforce string limits (reported by pedantic checking tools & some developers).Campbell Barton
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available.
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-11-07de-duplicate unique naming logic, was used in 7 different places, convert ↵Campbell Barton
into a function call.
2010-11-01bugfix [#24477] Can easily create bones with duplicate namesCampbell Barton
- fixed this error 7 different functions (deform groups, uv layers & similar). - support for numbers over 999. - renamed splitIDname() to BLI_split_name_num(), moved to BLI_path_utils
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-10-04bugfix [#24087] Blender can not install add-ons unless running with root ↵Campbell Barton
priviledges now addon path is created using the same path functions and selecting where to save the startup.blend also made some minor changes to path handling funcs.
2010-09-24new utility function BLI_testextensie_globCampbell Barton
uses fnmatch to match strings like "*.foo;*.bar;*.blend?"
2010-08-03minor cleanup, minimal functional change.Campbell Barton
replace some long duplicated, ifdef'd if statements for image extension. - new function: BLI_testextensie_array(), can take an array of extensions. - define extension arrays: imb_ext_image, imb_ext_movie, imb_ext_sound - we could have more of these. - removed amiga extensions iff and lbm
2010-07-16== installation paths ==Andrea Weikert
* rename BLI_gethome to BLI_getDefaultDocumentFolder to better reflect how this function is used * replaced BLI_gethome with getenv("HOME") on Linux and Mac where it retrieves location of bookmarks that are inserted as system bookmarks. BLI_gethome was a thin wrapper around these and in this case the user's home directory is what is actually wanted.
2010-07-16== installation paths ==Andrea Weikert
* fix for autosave location -> shouldn't use BLI_gethome anymore * this frees BLI_gethome of having to emulate the local->user->system search path and can now be truly considered as 'home/default location for .blend files' * removed setting the default G.sce from read_history, was out of context there. * fix for creating user dir, leftover from previous commit. jesterKing, please review -> if there are any issues I will fix or revert.
2010-07-16== installation paths ==Andrea Weikert
remove deprecated python BLI_gethome_folder calls Patch by Brecht, thanks a lot
2010-07-11== installation paths ==Andrea Weikert
separate define for the user and system blender directory name, on Linux the directories should be named /usr/share/blender and ~/.blender. Platform maintainers should still check if that's ok.
2010-07-06File/installation paths: fix path of startup.blend for OSXDamien Plisson
Also fix the header file no reinclusion macro name Thanks to Jens Verwiebe for the patch
2010-07-05Patch [#22339] File/installation paths changesAndrea Weikert
Update after discussions on IRC: * operating system specific path retrieval is moved back to GHOST, nothing blender specific here though * cleaned up path functions a bit to remove #ifdefs * removed Cocoa from blenlib again TODO: * Matt, Damien, please check and correct the functions for Cocoa and Carbon, could only put back existing code but needs adjustment * finish GHOST_getBinaryDir - this should replace the BLI_where_am_i eventually as well as BLI_getInstallationPath on Windows and get_install_dir for the blenderplayer runtime * It would probably be nice to define GHOST_getTempDir as well and move those out * more cleanups... NOTE: Things are likely broken for macs
2010-07-04Fix cmake/OSX build after path changes.Brecht Van Lommel
2010-07-04Patch [#22339] File/installation paths changesAndrea Weikert
Patch Tracker: http://projects.blender.org/tracker/?func=detail&aid=22339&group_id=9&atid=127 This patch implements the proposal outlined here: http://wiki.blender.org/index.php/Dev:2.5/Source/Installation/Proposal Original patch by Matt Ebb. Contributions by Nathan Letwory, Damien Plisson and Andrea Weikert NOTE: This is a work in progress commit, some work still needs to be done on the SCons and CMake files for this to work properly, but at least should compile and the files should be created in the right directory. Commit discussed on IRC with Ton and Campbell.
2010-06-06- [#22492] [29159] commit breaks importing of script file that has a reload ↵Campbell Barton
to self in it broke when including the blend path in the modules filename. - new function BLI_path_basename(), matches pythons os.path.basename(). replace a number of cases where BLI_split_dirfile was being used to get the filename only.
2010-05-07Merge image related changes from the render branch. This includes the imageBrecht Van Lommel
tile cache code in imbuf, but it is not hooked up to the render engine. Imbuf module: some small refactoring and removing a lot of unused or old code (about 6.5k lines). * Added a ImFileType struct with callbacks to make adding an file format type, or making changes to the API easier. * Move imbuf init/exit code into IMB_init()/IMB_exit() functions. * Increased mipmap levels from 10 to 20, you run into this limit already with a 2k image. * Removed hamx, amiga, anim5 format support. * Removed colormap saving, only simple colormap code now for reading tga. * Removed gen_dynlibtiff.py, editing this is almost as much work as just editing the code directly. * Functions removed that were only used for sequencer plugin API: IMB_anim_nextpic, IMB_clever_double, IMB_antialias, IMB_gamwarp, IMB_scalefieldImBuf, IMB_scalefastfieldImBuf, IMB_onethird, IMB_halflace, IMB_dit0, IMB_dit2, IMB_cspace * Write metadata info into OpenEXR images. Can be viewed with the command line utility 'exrheader' For the image tile cache code, see this page: http://wiki.blender.org/index.php/Dev:2.5/Source/Imaging/ImageTileCache
2010-04-24string number decoding didnt check for win32 slash & minor adjustments to ↵Campbell Barton
some other path funcs (no functional change).
2010-03-09rename some functions to use easier to understand names.Campbell Barton
'BLI_makestringcode' --> 'BLI_path_rel' 'BLI_convertstringcwd' --> 'BLI_path_cwd' 'BLI_convertstringframe' --> 'BLI_path_frame' 'BLI_convertstringframe_range' --> 'BLI_path_frame_range' 'BLI_make_cwdpath' --> 'BLI_path_cwd'
2010-03-08image re-project now uses offscreen render function and has input for render ↵Campbell Barton
size. unrelated changes that ended up being more trouble to commit separate... - removed BLI_split_dirfile(), was nasty, occasionaly modifying the source string, it could create directories and used the $CWD in some cases. was only used in 2 places in filesel.c, if this gives problems can address without bringing back this function. renamed BLI_split_dirfile_basic --> BLI_split_dirfile - view3d_operator_needs_opengl was being called for offscreen render when it wasnt needed.
2010-02-26remove rna functions image.get_export_path() and image.get_abs_filename(), ↵Campbell Barton
filename functions should not be spesific to images. rename BKE_get_image_export_path() to BKE_rebase_path() and take a filename arg rather then an image. obj export file copy was also not working because of a missing import.
2010-02-17remove duplicate function.Campbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-01-31- hash characters in the path would confuse the output file name and not add ↵Campbell Barton
numbers to it (when rendering animations). - added an option to BLI_convertstringframe and BLI_convertstringframe_range to add digits if not found. - removed BLI_convertstringframe where its obviously not needed - such as loading movies and sounds.
2010-01-27support for #'s for output animation pathsCampbell Barton
This was supported... image: /tmp/foo_###_bar --> /tmp/foo_001_bar.png But not this... anim: /tmp/foo_###_bar --> /tmp/foo_001_250_bar.avi
2009-12-13MSVC 9 compile fixes and cleanupsAndrea Weikert
* added renamed files in revision 25337 * renamed BLI_util.h -> BLI_path_util.h for consistency * cleanup of #includes: removed BLI_blenlib.h in favour of direct includes of the needed headerfiles in a few places. * removed debug print in sequencer.c * added missing include in blenkernel/blender.c -> bad dependency, needs to be fixed still