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
2011-03-12pass report list along to BLO_blendhandle_from_file(), avoid unlikely crash ↵Campbell Barton
in the append operator.
2011-03-12- BKE_idcode_iter_step() - function to step over all ID codes.Campbell Barton
- BLO_blendhandle_get_datablock_names() now takes an arg for the total items in the list, saves the caller counting.
2011-03-11Bugfix #26444Ton Roosendaal
Double click in File Window also loaded a file on double-click at a directory. The operator for it was using a Macro mistakingly here. On any double click, it selected the item first and then executed load. By default, any double click action has to rely on the first click being properly handled before. Simply removing this macro, and assign the "exec operator" to the double-click event works as expected. A double click on a directory then just shows the dir (because the exec requires an 'active' file item).
2011-03-09From the OFTL: Pad-period refreshes File browser.Ton Roosendaal
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27== UI icons ==Andrea Weikert
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-26use const char for return values of getenv().Campbell Barton
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-18Clear some compiler warnings by commenting some functions, adding others to ↵Campbell Barton
headers. left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
2011-02-17clear some unused warningsCampbell Barton
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
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.
2011-02-12fix for uninitialized value in BLI_path_cwd() if PWD wasn't defined and the ↵Campbell Barton
CWD was longer then 160.
2011-01-30remove nan-makefilesCampbell Barton
2011-01-30And here's a decent fix for correctly recognizing the theTon Roosendaal
.blend1 etc backups. Proves again that lazy coders only make bad code :) Implementation note: The filewindow now recoginizes .blend version backups as a special type, so filtering for .blend files themselves ignores it. However, they're recognized correctly as valid .blend files, and draw an icon as .blend file when filtering is off. Can become a distinct icon if we want...
2011-01-17== file browser ==Andrea Weikert
bring back nice shortening of filenames in thumbnail view, shortening at front and end is confusing. - adds ... at the end to indicate that the filename has been shortened - also cuts off at the end and not at both front and end now Note: maybe this can be moved into button code or so in the future, but for now should work.
2011-01-13small feature for file manager, pasting a full file path into the directory ↵Campbell Barton
field will split the dir/file. nice when you have a list of file paths in a terminal/editor and want to open one.
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-09remove unused vars, comment some which look like they could be useful still. ↵Campbell Barton
have makesrna.c omit unused _data definitions for rna funcs with no args.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2010-12-23use ICON_NULL define rather then 0, makes UI calls less confusing. (no ↵Campbell Barton
functional change) eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
2010-12-23rename blenderlib to blender_add_libCampbell Barton
2010-12-20Bugfix, own collection:Ton Roosendaal
File Window draw error: On start Blender in smaller sized window, a scalled down screen causes the File Window main area to draw too high, clipping off half of the top line. This case (scroll horizontal only) is not handled as view2d type.
2010-12-17Drag & drop feature:Ton Roosendaal
You now can drop a .blend inside blender window to open it. Implementation notes: - Added call to extract icon type for files. Code re-used from space_file - External files that get dropped set icon types too. Drop box polls can check for this. - Also enabled setting op-context for drop operators, this was needed to prevent filewindow to open.
2010-12-15Bugfix #25231Ton Roosendaal
File Window: text clipping was tiny bit too narrow. It was also clipping text twice even ;)
2010-12-15Centralized operator UI drawing into a new function uiLayoutOperatorButs(),Campbell Barton
Operator drawing calls were duplicated in file selector panel, redo panels, redo & dialog popups. note, uiDefAutoButsRNA's column's argument was misleading, renamed to label_align.
2010-12-08use lowercase for cmake builtin names and macros, remove contents in else() ↵Campbell Barton
and endif() which is no longer needed.
2010-12-04Fixed memory leak in thumbnail_joblist_free: last image in loadimages weren'tSergey Sharybin
freed even if it's not copied to the filelist
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'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- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-11-29include headers in cmake source, added a script to check for consistency, ↵Campbell Barton
reporting missing headers & C files. this is important so IDE's using CMake integration always get blender headers. - QtCreator & MSVC for eg, probably others too.
2010-11-21- include pthreads for win32 globally (as with opengl).Campbell Barton
- MSVC CFLAGS were being set by only checking WIN32, (breaking non-msvc win32 builds)
2010-11-14== filebrowser ==Andrea Weikert
* compile fix on non-Windows platforms.
2010-11-14== filebrowser ==Andrea Weikert
* removed now unused function file_string_width_shortened.
2010-11-14== filebrowser ==Andrea Weikert
* drawing code cleanup. * list drawing code now uses uiStyleFontDraw like buttons etc.
2010-11-11fix for building, also use const char in more places.Campbell Barton
2010-11-08compiler warning fixesCampbell Barton
2010-11-07Remove code duplication. Andrea Weikert
Will look into nicely using uiStyleFontDraw later.
2010-11-07Enabled kerning for the default UI font for the places that are using ↵Andrea Weikert
UI_DrawString still and for filebrowser. Makes text more readable :)
2010-11-07fix ford last commit - also remove file from CMakeLists.txtAndrea Weikert
2010-11-07removed unused code for image loading, was copied from 2.49 and never used.Andrea Weikert
2010-11-06== filebrowser ==Andrea Weikert
Added two user preferences for filebrowser: 1. Hide Recent Locations Requested by Kernon Dillon. Reason: People doing video tutorials might not want to expose the name of other projects they are working on. 2. Open Filebrowser in thumbnail view for images and movies Requested by Sebastian König at the Blender Conference. Reason: In the past (and most likely still) some corrupt images or movies could crash the filebrowser when generating thumbnails. (crashes in ffmpeg, libtiff, libjpg). While many of those were solved, artists in a production environment might want to use this setting to prevent any crashes. NOTE: the second setting should probably be set next time we create a new default startup.blend. Until then users need to switch this on manually in the User Preferences.
2010-11-06== filebrowser ==Andrea Weikert
Center Text underneath the icons in thumbnail view. (Small request from Sergey)
2010-11-06== filebrowser ==Andrea Weikert
Bringing back missing feature: Create new directory by typing a not existing name into the directory button. Note: Small issue still with autocomplete -> if typing the new directory directly after autocomplete, it doesn't execute the operator yet. Also fixed some minor compile/cleanup issues with warning about signed/unsigned comparison and missing header.
2010-11-05tedious string copying changesCampbell Barton
- use sizeof() in more places. - fixed some off by 1 bugs copying strings. setting curve font family for instance was 1 char too short. - replace strncpy and strcpy with BLI_strncpy
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.