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
2019-09-02Fix possible crash when opening files saved with new file browser openJulian Eisel
2019-09-02Gray out number increment/decrement button for file open operationsJulian Eisel
The buttons are shown in the file browser context menu.
2019-08-30Don't clear file name on directory selectionJulian Eisel
2019-08-28Cleanup: Rename column types to be less ambiguousJulian Eisel
2019-08-27Remove confirmation popup for creating new directoryJulian Eisel
2019-08-19Only show new properties sidebar for specific operatorsJulian Eisel
2019-08-18Add right sidebar region for operator propertiesJulian Eisel
This always shows up right now. Hiding it correctly still has to be done.
2019-08-10Merge branch 'master' into filebrowser_redesignJulian Eisel
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-25Support toggling inverted sorting through column header (3 state)Julian Eisel
2019-07-22Make the column header interactiveJulian Eisel
Clicking on the column header will sort the file list based on the clicked column. Note that sorting by time only is not supported, sorting by date already sorts by time and date.
2019-07-22Draw column header in short-list viewJulian Eisel
Similar to what you know from other file browsers, at the table top there's a row indicating column names and showing a little triangle to mark which column is used for sorting. Later, this will become interactive (to allow selecting sort method by clicking on a column name). I decided to hardcode drawing of this (like the rest of the file browser) and just offset the file layout a bit. However that requires some hacks for View2D and that the offset is respected in multiple places. So now I think using a separate region instead makes more sense. Leaving this as is now, code quality for file browser is pretty low anyway.
2019-07-07Cleanup: spellingCampbell Barton
2019-06-22File Selector: add options to select all operatorCampbell Barton
Add common select options (toggle/invert etc).
2019-06-18File Browser: Various fixes and enhancements to 'autoscroll to item' feature.Bastien Montagne
Initial trigger to this work was T65782, requesting faster autoscroll when current folder contains thousands of items. That was a fairly simple change, just needed to make scrolling steps variable based on 'distance' between current position and desired one. But several other issues showed up while working on this, among the most annoying ones, the scrolltimer could keep running forever in some cases, failing to detect properly an 'end condition', we could even get some 'bouncing' in extreme corner cases, edited item was not always properly visible in the end, etc. So as usual with UI, this ended up in a frustrating equilibrium game of finding the optimal solution among several tradeof, taking unexpected large amount of time... At least new code seems to work OK in all possible (reasonable) cases, that will do for now.
2019-05-15Fix T63748: Long startups after network drives are disconnected.Bastien Montagne
We need to make those paths validation async, since some infamous OS is unable to provide a quick way to check whether a path is valid or not... Not much to say here, this is basic wmJob stuff really... We don’t even need complex threaded coordination locks or atomics, given how simple the changes are here. Fake-tested with some `sleep()` calls to add atificial delay, seems to work as expected.
2019-04-29Cleanup: spellingCampbell Barton
2019-04-22Cleanup: style, use braces for editorsCampbell Barton
2019-04-21Cleanup: comments (long lines) in editorsCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-07Tool System: use set/add/subtract for all box select operatorsCampbell Barton
2019-03-06Cleanup: styleCampbell Barton
2019-03-05File Editor: Refactor 'new dir' / renaming code.Bastien Montagne
We really do not need two 256 chars variables to hanlde renaming, a mere pair of flags can handle the situation just as well. Also, scroll to newly renamed item, will help when one want to find again the directory they just added and rename. At some point we'll probably want to refactor scrolling further (to make it fully out of rename code/context e.g.), but for now think this will do.
2019-03-05Fix T58715: File Browser: Creating "New Folder" issues with too many ↵Bastien Montagne
existing folders in display. Smotthscroll to edited entry was broken since filelisting was rewritten to become async...
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2018-11-27Fix file browser click to select not working on tablets, after recent changes.Brecht Van Lommel
The highlight on mousemove operator should not swallow events.
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14WM: enforce descriptions being NULL or definedCampbell Barton
Without this bugs slip through that don't null check the descriptions since many were set to empty strings.
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'Bastien Montagne
That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways...
2018-10-05UI: rename Border Select -> Box SelectCampbell Barton
See: T56648
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-07-03Keymap: Select/De-Select support for anim-editorsCampbell Barton
Also update menu items, adding select/de-select.
2018-07-02Merge branch 'master' into blender2.8Campbell Barton
2018-07-02Cleanup: use bool for poll functionsCampbell Barton
2018-06-27UI: some renaming for more clear/consistent cursor keymaps in status bar.Brecht Van Lommel
There's much more work to be done here, this is just fixing some obvious ones.
2018-06-05Cleanup: use new accessors to blendfile path (Main.name).Bastien Montagne
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2018-05-15Fix assert using '//' on an unsaved fileCampbell Barton
Annoying for debug builds.
2017-12-06Fix T53476: File Browser: Selection Issue with 'fill' option.Bastien Montagne
Fill-selection would only go upward in list of items to find an already selected one and fill-select all items in-between. Now, in case upward search fails, it will also intent to go downward, effectiviely allowing to 'fill-select' from bottom to top. Note that top-to-bottom keeps priority (i.e. if a top-to-bottom fill-selection is possible, it will always happen, even if a bottom-to-top one is also possible).
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-10-17Cleanup: use 'e' prefix for enum typedefsCampbell Barton
Convention was only followed loosely, apply to DNA where changes aren't likely to conflict. (Skipped ModifierType for eg).