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
2009-07-30- include operator commands in tooltips (needs sanitizing for transform ↵Campbell Barton
operators, there are massive :|) - WM_operator_pystring can now be used with an operator type and properties (rather then a wmOperator instance) - removed menus from file selector
2009-07-292.5Ton Roosendaal
Two bugfixes, reported by Sebastian Skejo in IRC: - File operator poll wasn't secure, search for it crashed - Knife tool depends on having view3d context, fixed poll for it
2009-07-282.5 file browserAndrea Weikert
* Bugfix: keep the filename when changing directory, either by clicking on it or by selecting a bookmark * MSVC uninitialized variable runtime check fix in widget_draw_text
2009-07-282.5: File browserBrecht Van Lommel
* Side panels now use list widgets. * Enabled theme colors for side panel. * Add button in bookmarks panel. * Operator panel title now uses operator name. * For unix, added / to system, and home and desktop to bookmarks. * For opening fileselect with filter, cleaned up the code a bit, adding WM_operator_properties_filesel instead of duplicating code. * Also added filter for all operators calling fileselect, only image and file open did it before. * Hide . files by default, and also hide files ending with ~. * Added back .. (but not .) in the file list, I really missed this. * File highlight now only happens when you're actually over a file, instead staying after you move the mouse away. * Fix some redraw/refresh issues.
2009-07-262.5 file browserAndrea Weikert
* fix some notifiers, so directory is correctly shown
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-202.5 - BugfixesJoshua Leung
* Fix for crash when holding down downarrow in the info-header search box. Was caused by badly written poll callback for file-browser. Thanks pidhash for noticing the error * Made add constraint operators work again from 3D-View. They were using the wrong context pointer when in the 3D-View, since the old one was only valid for the buttons-window. Now they check which window they're in.
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-122.5 filebrowser Andrea Weikert
* bugfix: parent on linux didn't account for first slash * added some BLI_cleanup_dir to prevent weird directory names * revert to old directory if user types bogus text.
2009-07-102.5 file browserAndrea Weikert
* bugfix: set the directory to the default root when directory button is empty
2009-07-102.5 filebrowserAndrea Weikert
* bugfix: don't allow parent dir to go beyond root * bugfix: only attempt to change directory if it exists New (WIP) feature: autocomplete for directory * works on TAB * so far only one level (in current directory)
2009-07-102.5 file browser Andrea Weikert
* directory button enabled again, c code for now, can later become nicer operator * filename button enabled (pattern match for selection) * RNA completed (title, file and directory) * some unused code removal.
2009-07-092.5: VariousBrecht Van Lommel
* Weight paint: brush strength was changed to both define weight and strength, this can't work, made them separate buttons. * Allow adding particle system as modifier (fix crash). * 3D view modal ops (zoom ..) could not be ended when invoked from a button. * Fix some warnings. * Fix spelling in particle RNA property.
2009-07-092.5Ton Roosendaal
Monthly cleaning round to make it compile warning free. Mostly it was const stuff (strings, Context), but also a couple useful fixes, like wrong use of temp pointers. Only Mathutils callback struct I left alone... design issue.
2009-07-072.5 filebrowser: previous/next + bugfix + elubie's changes and cleanupDalai Felinto
* Previous/Next Folder browser * bugfix: "open most recently opened directory". * Previous and Next functionalities: - use BACKSPACE to navigate to previous folders - use SHIFT+BACKSPACE to navigate forward - once you change the folder by other ways the forward folder list is cleared * bug fix: the sfile->params->dir set through ED_fileselect_set_params wasn't correct. According to the code taking the settings from the existing (previous) filebrowser is a temp solution. In that case this is a fix for a temp solution :) (changes in: wm_event_system.c, filesel.c and ED_fileselect.h) ** Andrea(elubie): we can get away of the folderlist_clear_next test if we manually pass a boolean to file_change_dir (e.g. file_change_dir(sfile, true)). I tried not to mess up with your changes here. It's slightly slower (and maybe hacky) but its's more conservative IMHO. (my first commit to 2.5 ... that was a good reason to put my paper on hold :p)
2009-07-062.5 filebrowserAndrea Weikert
* bringing back file numbering operator (PADPLUSKEY, PADMINUS) * Note: discovered conflicting key with View2D zooming that causes it to not work in panel area.
2009-06-302.5 filebrowser Andrea Weikert
* Hide dot operator (HKEY) for theeth
2009-06-302.5 file browserAndrea Weikert
* remove '.' and '..' from file browser list. sigh! * removed delete buttons from automatically added bookmarks (Desktop and Documents) Note: please check on non-Windows platforms
2009-06-302.5 file browser Andrea Weikert
* bookmark operators: add and delete bookmark * first start at menus in file browser: Directory and Bookmarks * Adding a bookmark via menu or via CTRL+B * Remove a bookmark with the X button next to it.
2009-06-302.5 filebrowser Andrea Weikert
* start of filebrowser RNA * system files, bookmarks, etc. now nicely inside panels to allow collapsing etc. * filebrowser header now defined in space_filebrowser.py TODO: * button type for bookmarks etc. not final yet, at least should get centered still. Suggestions welcome here.
2009-06-242.5Ton Roosendaal
- Added ND_SHADING notifier on linking materials, so it gives refreshes in UI - Removed reduntant debug prints Crucial fixes in other code while checking warnings; - Particle buttons were assigned to short, whilst data was int - Filesel border select used float rect API, on an int rect.
2009-06-09minor file selector changesCampbell Barton
- clamp the border to the region bounds when selecting files - fix for border select past the end of the filelist selecting nothing. - de-selecting files would still set the filename.
2009-06-092.50:Brecht Van Lommel
svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19820:HEAD Notes: * Game and sequencer RNA, and sequencer header are now out of date a bit after changes in trunk. * I didn't know how to port these bugfixes, most likely they are not needed anymore. * Fix "duplicate strip" always increase the user count for ipo. * IPO pinning on sequencer strips was lost during Undo.
2009-06-05Blender file selector support for setting multiple selected files/dirs which ↵Campbell Barton
operators can use. This allows the sequencers Add-Image strip to work like it does in 2.4x. - as well as setting the "filename" operator property, operators can have collections called "files" and "dirs" which are set when available. - RNA_OperatorFileListElement as new collection type, its a bit redundant since each item only has a "name" property but its needed since we don't have a string array type. - the file selector now prints operators it runs. Tested with python, adding a list of images works to the sequencer works. bpy.ops.SEQUENCER_OT_image_strip_add(name="MyImages", start_frame=54, channel=2, filename="/somedir/", replace_sel=True, files=[{"name":"test1.png"}, {"name":"test2.png"}])
2009-05-142.5 filebrowserAndrea Weikert
- drawing code cleanup - use of BLF_font in own string drawing, needs to be aligned with uiStyles still. - thumbnail scaling now done on graphics card via new glaDrawPixelsTexScaled (slightly modified glaDrawPixelsTex)
2009-04-142.5Ton Roosendaal
More cleanup! - removed old UI font completely, including from uiBeginBlock - emboss hints for uiBlock only have three types now; Regular, Pulldown, or "Nothing" (only icon/text) - removed old font path from Userdef - removed all old button theme hinting - removed old "auto block" to merge buttons in groups (was only in use for radiosity buttons) And went over all warnings. One hooray for make giving clean output :) Well, we need uniform definitions for warnings, so people at least fix them... here's the real bad bugs I found: - in mesh code, a call to editmesh mixed *em and *me - in armature, ED_util.h was not included, so no warnings for wrong call to ED_undo_push() - The extern Py api .h was not included in the bpy_interface.c, showing a several calls using different args. Further just added the missing includes, and removed unused vars.
2009-03-29- use clear, set, add, enable, disable and toggle as a prefix in operator namesCampbell Barton
- use select as a suffix eg UV_OT_loop_select -> UV_OT_select_loop - Each select all operator was using slightly different wording... select_all, deselect_all, de_select_all, select_de_select_all -> select_all_toggle - selection -> select - POSE_OT_select_connected -> POSE_OT_select_linked to match other operators - NODE_OT_delete_selection -> NODE_OT_delete since its not used in other operators - ANIM_OT_previewrange_define -> ANIM_OT_previewrange_set to match other operators - NODE_OT_fit_all -> NODE_OT_view_all to match other operators - View2D_OT_* -> VIEW2D_OT_* to match VIEW3D - View2D_OT_view_downscroll -> VIEW2D_OT_scroll_down more logical - removed MARKER_OT_mouseselect_extend and made extend a boolean property of MARKER_OT_mouseselect - MARKER_OT_mouseselect -> MARKER_OT_select - GROUP_OT_group_remove -> GROUP_OT_objects_remove more logical since its removing objects from groups - MESH_OT_removedoublesflag -> MESH_OT_remove_doubles - redundant words MESH_OT_split_mesh -> MESH_OT_split, OBJECT_OT_object_delete -> OBJECT_OT_delete renamed selection operator properties extend_select -> extend column_select -> column select_children_only -> children_only ... Since these are all in the context of selection operators there is no need for the extra 'select' in the property name. Updated docs http://www.graphicall.org/ftp/ideasman42/html/bpyoperator-module.html
2009-03-142.5 filebrowserAndrea Weikert
- drawing tweak for background lines - long and short display now behave the same, only difference is column width now. TODO still: - add additional columns (access rights - mode1-mode3 and owner) for non-Windows platforms
2009-03-122.5 filebrowserAndrea Weikert
- better encapsulation for fsmenu to make it easier to remove global later. - cleaned up fsmenu code to use just one global - on file_exec current directory gets added to recent. - save last 10 recent files in .Bfs too.
2009-03-122.5 filebrowserAndrea Weikert
- add refresh filelist operator and button in header
2009-03-122.5 filebrowser WIP commitAndrea Weikert
- cleaned up warnings (mostly unneeded variables) - new icons for filebrowser (large refresh and parent icons missing though) - fixed error in large icon drawing due to texture coordinates calculated outside subpart of texture. - removed library loading stuff from filelist
2009-03-112.5 filebrowserAndrea Weikert
(WIP commit) - added categories SYSTEM, BOOKMARKS and RECENT to left panel (recent files not filled yet) - selection for bookmarks now works by storing draw position, might do that for the file list too - removed fsmenu button and Bookmark button from UI region
2009-03-10* More 2.5 UI tweaks - text/controls/file browserMatt Ebb
2009-03-082.5 filebrowserAndrea Weikert
still WIP commit, so Matt can do UI design - cleaned up filebrowser drawing and selection - selection bugfix
2009-03-032.5 filebrowserAndrea Weikert
- WIP commit - bookmarks toggling (region collapsing needs to be done still) - switching between display types in header (long filenames needs to be done still)
2009-02-162.5Ton Roosendaal
Proper integration of File-selecting in WM. The communication flow was flawed. :) Main problem was that filewindow can change the screen context entirely, and should not do this directly on a call inside an operator. Another problem was that the operator ownership was handed over to SpaceFile, which is asking for problems if you want to execute the operator with proper context later on. Solution is simple; window handlers already are valid owners of operators and can manage context, so instead of directly talking to the 'file space', you give the operator to a new handler this way: WM_event_add_fileselect(C, op); This handler then listens to events (OPEN, EXEC, CANCEL) sent by the WM or by the filewindow itself. This way local context operators (like "open new image in imagewindow") will survive a full-window fileselector fine, and in future also secondary windows browsing files. Two bugfixes included in this commit too: - Add sequence menus in Sequencer used wrong context. - When handler executes operators, it sets stored context now by first checking if this is still valid.
2009-02-142.5Ton Roosendaal
FileWindow: It appeared all load/save went via 1 call, so the 'OK save over' menu popped up on loading files too. Added check in the function for saving... bit weak, could become an argument for ED_fileselect. Also renamed file operators to conform to others.
2009-02-142.5Ton Roosendaal
- Localview in 3d window back. Note: it puts entire area on localview, so it works nice for 4-split views as well. - Added 'save over' menu in filewindow F2 operator. Mostly to comply to 2.48... such things can be on the review list.
2009-02-102.5Ton Roosendaal
File Window: - Added PKEY parent directory - Made "P" button work - Removed confused theme colors for text, it caused selected text to print greyish.
2009-02-012.5 filebrowserAndrea Weikert
small fix for selection of bookmarks/favorite folders
2009-01-282.5Ton Roosendaal
Bugfix in last commit: the read-file hotkey (enter) has to be in the window handler queue, so it nicely exits all queues without using free'd data.
2009-01-282.5Ton Roosendaal
Filewindow: restored some usability issues :) (Andrea: Hope you're OK, I needed to test stuff, and file open was a pain!) - F1: shows last saved/opened file now - Enter key loads, ESC cancels - Hilites on mousemove now show same theme colors as before - Enabled intended roundbox draw (was added to UI api) - Tweaked roundbox hilites to nicely surround text - Text was drawing too close to collumn dividers - Brought back missing glDisable(GL_BLEND), messed with draw - On file-open, mouse position is used to show active file
2009-01-212.5 filebrowserAndrea Weikert
cleaned up selection code new operators: - highlight file under cursor - select all/nothing (AKEY) - border select (BKEY) changed selection to be invoked by LEFTMOUSE
2009-01-182.5 filebrowserAndrea Weikert
* slightly improved drawing code * temporarily added creation of thumbnails within thread in the background until thread job manager is available in WM. * fixed missing icons in thumbnail view
2009-01-082.5 filebrowserAndrea Weikert
cleanup of space initialisation fix for filebrowser opening with wrong parameters from window pupmenu after having been opened with F1.
2009-01-062.5 filebrowserAndrea Weikert
further cleanup: - moved struct FileList* back to SpaceFile - fix for memory related errors and freeing operator in file_free - removed wmSubWindowSet, we're not doing OpenGL select in filebrowser - removed drawing of load button when invoked from windowtype pupmenu 2.5 MSVC projectfiles: - slipped in removal of multires_firstlevel.c in blenkernel
2009-01-062.5 filebrowserAndrea Weikert
- some more cleanup, use UI_text functions for text output rather than BMF_ directly - removed some debug prints and some unused variables
2009-01-062.5Ton Roosendaal
FileWindow: fixes for Make and Scons, and removed (commented) unused vars, and adding include files.
2009-01-062.5Andrea Weikert
fix wrong parameter list, I should have read those warnings a bit better!
2009-01-062.5 - Start of filebrowser.Andrea Weikert
- basic drawing of list and thumbnail view (switchable through 'favourits' icon in header) - selection of files and directories (bookmarks) works with the RMB (right mouse button) - load operator for files still unstable (no check for correct file type) and incomplete. (WM_operator_free missing) immediate TODOS: - fix load file operator - finish drawing of buttons in header - drawing of detailed list with all file info. - finish selection and execute operators (LMB and MMB execute) later todos: - parent dir - keymap for all the shortcuts - append/link and databrowse - ...