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
2010-02-12correct fsf addressCampbell Barton
2009-12-10Sculpt Branch:Brecht Van Lommel
Revised external multires file saving. Now it is more manual in that you have to specify where to save it, like an image file, but still saved at the same time as the .blend. It would ideally be automatic, but this is difficult to implement, so for now this should at least be more reliable.
2009-11-22filebrowserAndrea Weikert
* fix typo in operator property * respect user setting for hide dot files
2009-10-16new utility function for BLI_storage.h - BLI_is_dirCampbell Barton
currently unsupported on windows. should fix this too [#19656] N-Panel in filebrowser not working though typing in invalid names then becomes possible
2009-10-15typing in non-existant dirs now goes back to the previous dir. (also for ↵Campbell Barton
bookmarks and when changing dir's in other places)
2009-10-08Key ConfigurationBrecht Van Lommel
Keymaps are now saveable and configurable from the user preferences, note that editing one item in a keymap means the whole keymap is now defined by the user and will not be updated by Blender, an option for syncing might be added later. The outliner interface is still there, but I will probably remove it. There's actually 3 levels now: * Default builtin key configuration. * Key configuration loaded from .py file, for configs like Blender 2.4x or other 3D applications. * Keymaps edited by the user and saved in .B.blend. These can be saved to .py files as well to make creating distributable configurations easier. Also, user preferences sections were reorganized a bit, now there is: Interface, Editing, Input, Files and System. Implementation notes: * wmKeyConfig was added which represents a key configuration containing keymaps. * wmKeymapItem was renamed to wmKeyMapItem for consistency with wmKeyMap. * Modal maps are not wrapped yet. * User preferences DNA file reading did not support newdataadr() yet, added this now for reading keymaps. * Key configuration related settings are now RNA wrapped. * is_property_set and is_property_hidden python methods were added.
2009-09-28File Browser fixes:Brecht Van Lommel
* The code to draw only visible items was not working, giving slow performance with many files (bug #19469). * Fix detailed list display on non-windows, would give overlapping text. * Fix folders with many files not displaying all items, changed short to int in various places, was overflowing. * Recreate layout on area resizes, file view gets out of sync otherwise. * Workaround for v2d height not being correct with image display due to scrollers. * Fix view2d code to compute minimum scroller size, this would make the scroller go outside of its bounds.
2009-09-202.5 filebrowserAndrea Weikert
* fix crash in autocomplete for very long paths * allow longer paths in directory button * added some TODO comments for G.lib
2009-09-202.5 filebrowserAndrea Weikert
* changed filebrowser operator property "filename" to "path" - fixed two missing operators. * small cleanup in init of filebrowser
2009-09-162.5 filebrowserAndrea Weikert
bugfix #1: SpaceFile->files needs to be deleted on exec and cancel of the filebrowser and in init to ensure correct setting of the read function. bugfix #2: SpaceFile->params needs to be set in file_init otherwise Python can't access params in header ui.
2009-09-132.5 filebrowserAndrea Weikert
* Fix for space init when loading with pupmenu (without operator) - parameters now get reset * experimental: made new director operator jump directly into renaming
2009-09-132.5 filebrowserAndrea Weikert
Fix crash when loading old files with filebrowser UI Partial Fix for invoking filebrowser via spacetype pupmenu: reset directory in filelist Make paths relative in 'path' return when requested by 'relative_paths' property in operator
2009-09-132.5 filebrowserAndrea Weikert
fix operator property name 'type' was used by sequencer for strip effect type. Changed to 'filemode' for file browser.
2009-09-122.5 filebrowserAndrea Weikert
Appending and Linking * Linking Operator, invokes filebrowser for Append/Link * Separated the append/link function into three parts: ** BLO_library_append_begin finds main for appending ** BLO_library_append_named_part appends one Object,Group, Material, ... ** BLO_library_append_end actually reads and expands the libraries NOTE 1: I also changed the returned properties for the filebrowser operators to the following convention: "path" - the full path to a file or directory, means what is in directory + filename buttons in filebrowser "directory" - the content of the directory button in filebrowser "filename" - the content of the filename button in filebrowser Usually only path should be required, but in some cases it might be more convenient to retrieve the parts separately. Ton, Brecht: If you have time to take a look, let me know if anything needs to be fixed.
2009-08-202.5 filebrowserAndrea Weikert
* code cleanup: remove duplication in drawing, join list and preview drawing
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-272.5 file browserAndrea Weikert
New: * added filter and display to some operator properties. Now file browser opens showing only .blend files and folders on file->open and on image->open changes to image display and only shows images and movies. Fixes: * fixed stupid removal of wrong prototype in last commit * fixed a few warnings
2009-07-262.5 filebrowserAndrea Weikert
Bugfixes: * crash when loading file that has filebrowser open * file size over 2GB/4GB? shows negative number Other: * tried to improve drawing speed a bit by only drawing the files actually shown and improving refresh behaviour a bit. Note: Solution I found so far is to use the non-standard _stat64, as far as I could see, WIN64 should work without that patch (Genscher, please check and if needed you can enable this too by removing the !defined(WIN64) ) This probably needs to be fixed in at least one other place (BLI_filesize), will look into this once this fix proves stable enough)
2009-07-162.5 - Silencing various compiler warnings (mingw)Joshua Leung
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-122.5 file browserAndrea Weikert
* tweak for autocomplete, only update live if live_update and TAB key is hit. (Brecht, please check if it's ok, otherwise will revert and we'll find another way) * adding slash at the end of directory to allow for faster autocomplete * bugfix: directory name buton had wrong length
2009-07-11NLA SoC: Merge from 2.5 soc-2009-aligorithJoshua Leung
21470 to 21512 Next up, NLA-branch to 2.5 :)
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-10NLA SoC: Merge from 2.5Joshua Leung
21330 to 21469
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-02NLA SoC: Merge from 2.5Joshua Leung
21210 to 21300 Note to self: the next merge will be messy again, since 2 commits occurred this one was complete
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-25At last... this merge should finally do the trick!Joshua Leung
21073 to 21145
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-06NLA SoC: Merge from 2.5Joshua Leung
20571 to 20667
2009-06-052.5 filebrowserAndrea Weikert
* code cleanup: removed unused fileselect mode (type) * brought back 'hide dot files', needs proper storing of the settings still.
2009-05-31NLA SoC: Bugfixes + Improvements to 'Push Down' track-selectionJoshua Leung
* Trying to save no longer crashes in some cases when the NLA Editor was open with some data. The sanity check added in filesel.c might be able to be backported to 2.5? (Elubie, please check) * NLA-track names now get drawn with the correct colours for identifying themselves as being selected or not selected. * Now the 'push down' functionality for actions will try to add the new strip to the last NLA track, provided it has space in the range required. * When new strips are added, they will only be allowed to extrapolate before/after if they are the first (time-wise) strip for the set of NLA data per AnimData block. This stops layered strips overriding strips that occurred in earlier tracks at earlier times.
2009-05-142.5 compile errors.Martin Poirier
Wrong include name (lower case) and missing include folder in scons.
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-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 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-10* More 2.5 UI tweaks - text/controls/file browserMatt Ebb
2009-03-102.5 filebrowserAndrea Weikert
Some UI tweaks and fixes * fixed some overlapping buttons (Matt, feel free to change button arrangement if you like), the Bookmark (B) button should probably be removed eventually from the current place and the fsmenu button as well, now that we have the directories on the left panel. * fixed initialisation of params->display (aligorith: thanks for fixing, I did reset the #defines, since it was just missing the correct value in the initialisation) * fixed bug when area became too small (crash) * fixed bug (last file missing in long display) * fixed selection when mouse outside tiles.
2009-03-09* fun 2.5 UI commit from seoul airport!Matt Ebb
A few UI goodies from on the plane: - fixed the sliders for non-rounded themes - Made properties with rna subtype of 'percentage' automatically display a '%' character *after* the numerical value, where it belongs. It would also be really great to add a ° - degree symbol after angle and perhaps rotation subtypes. This works fine with international fonts but not with oldskool bitmap fonts (not part of ascii). I wonder if there's a way to get around this? - Added nice embossing effects on buttons, labels and pulldowns (there you go, brecht :) - and cooler looking tooltips And did some work on the file browser. Andrea, I hope this is ok, let me know if there are problems and I can work on fixing it up :) - added some new icons for file types, that are now shown in list view. icon designers, please feel free to update and make nicer ones! - tweaked the default colour theme and did some graphical fiddling to make the various views look nicer - rearranged the buttons on the header and swapped the 'P' button for an up arrow button, this needs a nicer icon too. - added outliner style alternating bands to the list view to see info grouping better. This has a small prob in columns view though, can fix that.
2009-03-082.5 filebrowserAndrea Weikert
still WIP commit, so Matt can do UI design - cleaned up filebrowser drawing and selection - selection bugfix
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-072.5 filebrowserAndrea Weikert
fixes for crashes that seem to have been introduced by changes in context handling. TODO: initialization for windowtype pupmenu if a previous SpaceFile was there.
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.5Ton Roosendaal
FileWindow: fixes for Make and Scons, and removed (commented) unused vars, and adding include files.
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 - ...
2008-12-182.5Brecht Van Lommel
Context API This adds the context API as described here. The main practical change now is that C is not longer directly accessible but has to be accessed through accessor functions. This basically adds the implementation of the API and adaption of existing code with some minor changes. The next task of course is to actually use this design to cleanup of bad level calls and global access, in blenkernel, blenloader. http://wiki.blender.org/index.php/BlenderDev/Blender2.5/Context Error, Warning and Debug Info Reporting This adds the error reporting API as described here. It should help clean up error() calls in non-ui code, but eventually can become used for gathering messages for a console window, and throwing exceptions in python scripts when an error happens executing something. http://wiki.blender.org/index.php/BlenderDev/Blender2.5/Reports
2008-12-142.5Ton Roosendaal
- Added file space (too) :) Andrea was first, this is more complete. - Suggestion from Joshua: move all standard header buttons to 1 function, makes it all easier, less code, and less area/space stuff needs to be exposed.