Blender Git Commit Log

Git Commits -> Revision c71e856

Revision c71e856 by Julian Eisel (asset-system-filelist)
May 10, 2021, 17:02 (GMT)
Initial framework and basic reading of file-lists

Initial steps for T88184.

Adds a `filelist/` directory to `editors/`, containing C++ classes for
(recursively) reading directories and files into a file-list. The logic is
based on the File-Browser file-list, so that the actually executed logic is
basically the same (avoiding regressions or old issues re-appearing). But it
is entirely re-designed to work for both the asset system and the file browser.

For more info about the design, see T88184.

Also contains "peeking" the file list to count the files to be read. This is to
improve progress reporting later. However, it has some issues and I'm not sure
actually it's something we'll even need in the end, I see other ways to improve
things here.

Commit Details:

Full Hash: c71e856b4d4a45033aa35b05f4f2bcf1ea14db7b
Parent Commit: 81e173a
Lines Changed: +864, -0

7 Added Paths:

/source/blender/editors/filelist/CMakeLists.txt (+43, -0) (View)
/source/blender/editors/filelist/file_list.cc (+61, -0) (View)
/source/blender/editors/filelist/file_list.hh (+70, -0) (View)
/source/blender/editors/filelist/file_list_entry.cc (+159, -0) (View)
/source/blender/editors/filelist/file_list_entry.hh (+160, -0) (View)
/source/blender/editors/filelist/file_list_reader.cc (+234, -0) (View)
/source/blender/editors/filelist/file_list_reader.hh (+69, -0) (View)

5 Modified Paths:

/source/blender/blenlib/BLI_fileops.h (+11, -0) (Diff)
/source/blender/blenlib/intern/BLI_filelist.c (+39, -0) (Diff)
/source/blender/editors/asset/asset_list.cc (+13, -0) (Diff)
/source/blender/editors/asset/CMakeLists.txt (+4, -0) (Diff)
/source/blender/editors/CMakeLists.txt (+1, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021