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-19Merging r40345 through r40365 from trunk into soc-2011-garlicSergey Sharybin
2011-09-19/blender/editors: Removed final points in UI strings and messages.Bastien Montagne
Plus a few cuts in very long lines…
2011-07-16select uiStyle according to UserDef and update lang-packsXiao Xiangquan
2011-06-24merge from trunk #37722Xiao Xiangquan
2011-06-21fix for PLY import using directory only select, operators which define ↵Campbell Barton
'files' but not 'filename' or 'filepath' would use the directory selector. also made code less confusing.
2011-06-16directory only filesel for operators which don't have a filepath or filename ↵Campbell Barton
property.
2011-06-07Fix: correct spacing for file select items, using font size + dpi.Ton Roosendaal
2011-06-05file selector now scales with DPI betterCampbell 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-27subsurf, derived mesh and other misc files: floats were being implicitly ↵Campbell Barton
promoted to doubles, adjust to use floats.
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-15quiet warning for GCCCampbell Barton
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-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
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-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-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
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-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-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-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-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-09-25fix for own error with recent patch edits, globbing wasnt being cleared so ↵Campbell Barton
importing an OBJ would keep *.obj when opening a blend.
2010-09-24patch [#23968] filter_filetypes property to allow operators to filter by ↵Campbell Barton
file extensions in the file selector modified the patch to store the string internally rather then an array of allocated string pointers, less hassle with memory allocation. changed to use fnmatch, so *.foo is needed (not .foo as with the patch)
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-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-08-10moved idcode functions into their own file (was added as a todo in the ↵Campbell Barton
comments), these were mixed in with file reading code - BLO_readfile.h bot these functions are not spesific to reading.
2010-08-10Bugfix for:[23234] Blender File Browser - Back Button does work with first ↵Dalai Felinto
directory entered? For !WIN32 systems the fix was in ED_fileselect_set_params (basically adding the first folder in the sfile->folders_prev list) For WIN32: I talked with Nathan (Jesterking) and he agreed that the fix in path_util.c was required too. Without that BLI_path_abs was always making WIN32 paths ending with \ to end with \\ (e.g. C:\Blender\ --> C:\Blender\\) And this was making the folder to fail ISDIR tests.
2010-08-08remove unused includes from editors/space_*Campbell Barton
2010-07-02changes to file selector so 'directory' property from an operator is used ↵Campbell Barton
when available. also made some other changes to the path functions used.
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-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-24unix style outliner name wildcards *.*, Any.???, etc (using fnmatch), also ↵Campbell Barton
removed last beos reference :)
2010-04-22BugFix:Diego Borghetti
[#20854] PROPERTIES STAMP: Rendering stamp flickers in output renders Blenfont was not thread safe, that is why one thread can change the font properties (size, dpi, color, etc) at the same time that the stamp draw on the image, and then the problem. To make blenfont thread safe I have to change two important things: 1) Every BLF_* function take one argument, the font id. 2) We have two new function to make font "thread safe": BLF_load_unique BLF_load_mem_unique This two function are for case like stamp, that need and own font that don't share the glyph cache, so can draw without problem in a different thread. Why the BLF_*_unique function ? Because blenfont keep only one copy of a font and keep a list of "glyph cache". Every glyph cache have size and dpi, so if two different thread access the same font at the same time, they can change value and finish with something like the stamp problem. Why don't remove the glyph cache ? Because if we do that, we finish with a font object for every size and dpi, and the stamp is really a special case that happen in the rendering process, so I really thing is better keep the glyph cache and make this two new function to handle this special case. (When I say "font object" I mean have the same freetype font multiple times just to have differents size and dpi) As Matt point we still can have one case that two thread access the BLF_*_unique function at the same time, but I am looking to fix this with some class of thread lock. For now I test and work fine, so if some one found problem, please let me know. Campbell I have to change the python api (python/generic/blf_api.c) to the new syntax, so maybe you can take a look at this.
2010-04-16File Browser: respect UserPref for filtering.Andrea Weikert
Setting 'Filter Files' to false, now shows all files in file browser by default when called with any operator.
2010-03-30Fix a few warning in editors/ module.Brecht Van Lommel
2010-03-29Fix [#21083] Collada exporter defaults to ".blend" extension...Matt Ebb
Also added a filter category for COLLADA files to the file selector.
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-20Fix [#21658] file browser "hide invisible" doesn't hide anythingAndrea Weikert
- moved global hide_dot to filelist. - hiding dot files is now included in the filtering of files, which means that for this directory also doesn't have to be read anymore. - reverted changes of rev. 27491 and related changes in rev. 27523 in favor of a more general abstraction for the different 'file browser modes' with respect to filtering.
2010-03-18Fix [#20908] Box Select On File/Append Selects Too Many FilesMatt Ebb