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
2015-02-09SpaceFile: rework filelist_find, was looping way too much.Bastien Montagne
2015-01-26Cleanup: current/parent paths: add helpers in BLI_path_utils.Bastien Montagne
Also, avoid calling ugly strcmp with '.' or '..', making direct char checks is much cheaper here!
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-20UI: cleanup UI_fontstyle_string_width, UI_draw_stringCampbell Barton
Both were maked as temp, but used often. Now pass uiFontStyle to both, rename UI_draw_string to UI_fontstyle_draw_simple, since its a variant of UI_fontstyle_draw that skips shadow, align... etc.
2015-01-12Fix: Don't show filesel buttons when no operators runningCampbell Barton
2015-01-07cleanup: de-duplicate codeCampbell Barton
2015-01-06cleanup: warningsCampbell Barton
2015-01-05FileBrowser: small tweak to new search feature: clear that string when ↵Bastien Montagne
changing dir. In 99% of cases, you do not want to keep the same filter when changing dir, and having to reset it by hand is *very* annoying!
2015-01-04Partial fix for T43113: Filebrowser: Empty folders do not contain go back arrow.Bastien Montagne
Do not allow going into un-readable directories at all. Note we might want to reflect that 'state' in UI for users too, but that will be for later. Also, not quite sure this fix the windows case, will have to start my VM... :/
2015-01-04FileBrowser: Cleanup: rename some (really ugly) enum names.Bastien Montagne
2015-01-04Fix T43114: File Browser - don't highlight '..' while using border selectjulianeisel
2015-01-03FileBrowser: add search field in header bar.Bastien Montagne
Not much to add, pretty straightforward...
2015-01-03Cleanup: rename 'filelist' BLI funcs to consistent naming.Bastien Montagne
Also, add an optional callback to `BLI_filelist_free()` to allow freein void poin if needed (consistency with `BLI_filelist_duplicate()`...).
2015-01-01SpaceFile: Cleanup: fix stupid indices in `filelist_from_main()`Bastien Montagne
Dead code (currently), but still...
2015-01-01SpaceFile: Tweak thumbnail to avoid restarting the job needlessly.Bastien Montagne
2015-01-01SpaceFile: Refactor sorting and filtering of filelist.Bastien Montagne
New code shall be more easy to maintain and extend. Sorting is now handled quite the same as filtering, and all filtering parameters are now packed into a sub-struct to help extending it later. Also done some optimizations in filelist refresh, and sorting/filtering area. Now we should avoid re-sorting and re-filtering too often, also removed calls to those in read_xxx funcs. Note thumbnail job is still started basically on each call to `file_refresh()`, will be addressed in next commit.
2015-01-01SpaceFile: Filelist: reorder a bit things, also cleanup some unused and ↵Bastien Montagne
pure-private funcs.
2014-12-24Fix T42879: File Browser - disable selecting ".." entry (Parent Directory)julianeisel
2014-12-04Cleanup: minor int->bool cleanup.Bastien Montagne
2014-11-28Cleanup: unused headersCampbell Barton
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-11-16Just 2 comments cleanedJens Verwiebe
2014-11-11UI: cleanup odd string-width checkCampbell Barton
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-11-10Fix T42498: Disable Renaming for Read-Only Files in File Browserjulianeisel
2014-11-06Fix T42497: Enlarge rename text field in File Browserjulianeisel
To ensure there's space for more than a few characters in the rename text fields of the File Browser, we now use a width relative to the column width (for all display modes). Includes some edits from @campbellbarton - thanks for this!
2014-11-03Fix indetation in last commitJens Verwiebe
2014-11-03OSX/fsmenu: fix compiling on older gcc reported by Mike SJens Verwiebe
2014-10-13Cleanup: redundant castCampbell Barton
2014-10-09Cleanup: tabsCampbell Barton
Set your editor to tabs for all C/C++!
2014-10-08OSX: fsmenu cleanupJens Verwiebe
2014-10-08OSX: adapt fs_menue to modern entries handlingJens Verwiebe
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-10-04OSX: simplyfy last commit for fs_menu system_bookmarksJens Verwiebe
2014-10-03OSX: Change the FS_CATEGORY_SYSTEM_BOOKMARKS aka "Favorites", so that the ↵Jens Verwiebe
orderwise in sync with finder
2014-09-05Cleanup: de-duplicate link/append propsCampbell Barton
2014-09-03Fix FileSelector dividers disappearingCampbell Barton
Was clamped to short
2014-09-03Fix FileSelector drawing missing some filesCampbell Barton
2014-07-31Partial fix of T40824,Antony Riakiotakis
Fill selection for file browser moves to ctrl-shift click due to collision with emulate middle mouse button option
2014-07-11WM: add WM_operator_properties_create_ptrCampbell Barton
Call operator types directly and avoid a lookup when their known.
2014-06-04OSX 10.10: fix for Blender crashing on fsmenu due icloud in the favorite ↵Jens Verwiebe
list but pointer is NULL when not activated This does not break other OSX versions, just add a check for pathString
2014-05-28Fix T40157: Loading movies larger than 4GB in size failsSergey Sharybin
Issue was caused by _wstat returning EOVERFLOW error because of file size didn't fit into stat structure which was using long datatype. The idea of this patch is to use _wstat64 and _stat64 structure which is capable storing 64bit file sizes. Made it a typedef for stat structure used by BLI_stat function in order to make code easier to follow and avoid ifdefs all over the place. Additionally solved issue with BLI_exists which was wrongly returning False in cases destination file is larger then 4GB.
2014-05-01Code cleanup: remove file handling headers where they arent neededCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-30Code cleanup: remove redundant CTX callsCampbell Barton
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-04-21Basic support for UNC paths on WindowsAndrea Weikert
Differential Revision: https://developer.blender.org/D298 Allows users on Windows to enter UNC paths in the filebrowser and to link to .blend files on a UNC path. Functionality is limited still, we can't browse the network yet and have no support to check user rights so far. What works: - enter an UNC path in the file browser manually or via copy/paste - navigation within the UNC share subfolders - link to a file on a UNC share What does not (yet) work: - browse the network for computers and shares - browse to a folder that requires entering user credentials Contributors: Rob McKay - original patch Campbell Barton - style fixes Reviewers: Campbell Barton, Brecht van Lommel
2014-04-21View2d: API Cleanup for view<->region conversionCampbell Barton
View2D had some inconsistencies making it error prone in some cases. - Inconstant checking for NULL x/y args. Disallow NULL args for x/y destination pointers, instead add: - UI_view2d_region_to_view_x/y - UI_view2d_view_to_region_x/y - '_no_clip' suffix wasn't always used for non-clipping conversion, switch it around and use a '_clip' suffix for all funcs that clip. - UI_view2d_text_cache_add now clips before adding cache. - '_clip' funcs return a bool to quickly check if its in the view. - add conversion for rectangles, since this is a common task: - UI_view2d_view_to_region_rcti - UI_view2d_region_to_view_rctf
2014-04-11Code cleanup: use boolCampbell Barton