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-09-19/blender/editors: Removed final points in UI strings and messages.Bastien Montagne
Plus a few cuts in very long lines…
2011-09-16- fix for access past the buffer size (paint / sculpt used some 2d vecs as 3d)Campbell Barton
- remove redundant NULL checks on old code where it would crash if the result was NULL later on. - add some missing NULL checks.
2011-08-26file-selector: when converting operator arguments to the file selector, ↵Campbell Barton
wasnt making paths absolute (abs paths are made relative when converting the other way).
2011-08-24fix [#28356] Import export STL files, problem in script in version r39307Campbell Barton
& correct some bad comments.
2011-08-15workaround [#28250] Append dialogue will ask to create new directory inside ↵Campbell Barton
a .blend directory button isnt library aware, for now disable it when a libraries loaded.
2011-08-05fix [#28102] Typing 'C:' into the file selector's directory asks to make a ↵Campbell Barton
new directory.
2011-06-23checks in rna range functions that the max value cant be less than the min.Campbell Barton
also fix for invalid rage for FILE_OT_filenum.
2011-06-16directory only filesel for operators which don't have a filepath or filename ↵Campbell Barton
property.
2011-06-06Added cancel callbacks to modal operators which allocates memorySergey Sharybin
in invoke callback. This prevents unfreed memory blocks when quiting Bledner with modal operator running.
2011-05-20use event->mval rather then subtracting ar->winrct.x / y from event->x / yCampbell Barton
2011-04-25fix for a crash with the following steps.Campbell Barton
- open file sel - save user defaults - new file - ctrl+u (crash) wasn't type checking the space file, passed info space to ED_fileselect_exit().
2011-04-21whitespace only, no functional change mixed tabs/spaces --> tabs.v2.57aCampbell Barton
2011-04-10quiet msvc/mingw compiler warnings.Campbell Barton
2011-04-03quiet warnings.Campbell Barton
2011-03-21fix for use of un-initialized pointers in file_sfile_to_operator(...) & ↵Campbell Barton
remove unused vars.
2011-03-20== file browser == Code cleanupAndrea Weikert
* Remove direct access to file->selflag in file_ops.c
2011-03-20== filebrowser == Code cleanupAndrea Weikert
* Separate out selection flags from file type flags, was bothering me since forever ;) * Also renamed ACTIVEFILE to SELECTED_FILE to better reflect actual usage in code. * Fix crash introduced with last commit, better check for valid selection
2011-03-20== file browser ==Andrea Weikert
Patch from Alexander Kuznetsov: Toggle selection rather than just extending. Implements behaviour that unintendedly was available with previously using macro operator for selection. This was removed and now the functionality is properly implemented. Patch accepted with minor changes: 1. Used enum rather than #defines and added value for removing from selection (deselect) 2. Moved if (select) outside file_select_do and improved check for whether last file in selection is actually selected. (Necessary since toggle can deselect and toggle select should still make file active) 3. Additionally fixed check in file_select_invoke to be consistent with border select.
2011-03-20== file browser ==Andrea Weikert
Patch from Alexander Kuznetsov: Real-time File Selection, thanks for the contribution. Still made a few minor changes from latest patch: 1. Rename SELECTEDFILE to HILITED_FILE, since we are not actually selecting the file, but previewing/highliting the possible selection. 2. Also made this clearer by not drawing the files as selected, but just highlight them. 3. Removed the Select/Deselect toggle when clicking on file, will be committed separately soon.
2011-03-14== filebrowser ==Andrea Weikert
Cleanup of selection code. Also fixed bug where selection outside the tiles was clamped and file in last column was selected.
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-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
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-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-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-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-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-10-18remove G.sce, use G.main->name instead.Campbell Barton
Both stored the filename of the blend file, but G.sce stored the last opened file. This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore). Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.
2010-10-16editors/space_* build without unused args warningsCampbell Barton
2010-10-15tag UNUSED() for operator exec() and invoke() functions.Campbell Barton
2010-09-22bugfix [#23784] Renaming files broken in the file selectorCampbell Barton
2010-09-21fixed filename overwrite red highlight not updating when +/- pressed.Campbell Barton
also made some vars not animateable.
2010-09-18Apply patch [#23846] Fix for [#23698] in File Browser system. Properly ↵Nathan Letwory
removes handler and sfile when File selector disapears. Patch by Alexander Kuznetsov Reported by Chidozie Oku From patch description: " Handler is now released on every exit from File Selector. For example pressing ctrl-up and then changing editor type to another also releases the handler. When an area is changed from SPACE_FILE, ED_fileselect_exit is called for clean up. It takes function of freeing folder list and files (before it was done in cancel or exec functions) because they must be released on every exit anyway. op!=null means cancel or exec was not executed so a handler was not released. ED_fileselect_exit then releases the handler without changing screens. " Thanks!
2010-09-17bugfix [#23783] /../ prefix stops going up a dirCampbell Barton
also fix for recent addition to operator check(), when the file selector is loaded with no operator.
2010-09-17New optional operator function, check(), it takes the same arguments as ↵Campbell Barton
execute(). This runs after changing a property and allows correcting incompatible options. Returning True will redraw the UI. Currently this is used for setting the write extension when saving files, so changing the image format also corrects the extension. The same is accessible from python where its used when saving SVG/EPS/PNG files. This fixes: [#23828] obj export problems, [#23760] Exporting OBJ and filetype ending also fixed document submission operator. Now the filename in the file selector is the one used for writing this means we remove the "Save Over" popup which could be overlooked too easily. Instead display the filename field with red tint, and a note in the tooltip.
2010-07-22Fix de/select all operator naming for consistencyMatt Ebb
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-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-26file operator cleanupAndrea Weikert
* the default properties of the file operator now only contain the "filepath", which means only the complete path to a file is returned. * "filename" and "directory" has been added to the link/append operator - the only place it was used. * sequence operators still work on the "files", which was custom property passed to the file operator anyway. * have tested sequence loading, image loading and append/link - please report if there are any issues
2010-06-14naming changesCampbell Barton
path -> filepath (for rna and operators, as agreed on with elubie) path -> data_path (for windowmanager context functions, this was alredy used in many places)
2010-05-10Tweak for elubie, scroll main file selector window immediately when newly addedMatt Ebb
folder is out of view.
2010-05-09== filebrowser ==Andrea Weikert
- smooth scrolling to editable button after new directory is created (for now scrolling starts as soon as the mouse moves back to the file list area, for Matt to check if immediate scrolling is possible) - fix for autocomplete directory, show first matching part if directory doesn't exist, otherwise won't work for directories starting with the same prefix like textures_walls and textures_grass for example.
2010-05-08bugfix [#22276] filemanager autocompleate based on current pathCampbell Barton
also added autocomp to filename in fileselector
2010-04-19== file browser ==Andrea Weikert
Select from last selection. This new setting allows to select all files from the last selected to the current. (Works like SHIFT+SELECT in Windows file browser) Keymap is LEFTMOUSE+ALT for now since LEFTMOUSE+CTRL is already used for renaming (like in outliner)
2010-03-30Fix a few warning in editors/ module.Brecht Van Lommel
2010-03-27Fix [#21765] File-Dialog: "New Directory" gives no visual feedbackAndrea Weikert
- was missing to clear the filelist which was previously done in the notifier (removed from there with the new thumbnail job handling).
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-03-21Fix syntax for ID keyword.Guillermo S. Romero