Blender
V3.3
|
#include "BLI_utildefines.h"
#include "BLI_blenlib.h"
#include "BLI_linklist.h"
#include "BLI_math.h"
#include "BLO_readfile.h"
#include "BKE_appdir.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_report.h"
#include "BKE_screen.h"
#include "ED_asset.h"
#include "ED_fileselect.h"
#include "ED_screen.h"
#include "ED_select_utils.h"
#include "UI_interface.h"
#include "UI_interface_icons.h"
#include "UI_resources.h"
#include "MEM_guardedalloc.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "UI_view2d.h"
#include "WM_api.h"
#include "WM_types.h"
#include "file_intern.h"
#include "filelist.h"
#include "fsmenu.h"
#include <ctype.h>
#include <errno.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
Go to the source code of this file.
File Selection Utilities | |
enum | FileSelect { FILE_SELECT_NOTHING = 0 , FILE_SELECT_DIR = 1 , FILE_SELECT_FILE = 2 } |
typedef enum FileSelect | FileSelect |
static FileSelection | find_file_mouse_rect (SpaceFile *sfile, ARegion *region, const rcti *rect_region) |
static void | clamp_to_filelist (int numfiles, FileSelection *sel) |
static FileSelection | file_selection_get (bContext *C, const rcti *rect, bool fill) |
static FileSelect | file_select_do (bContext *C, int selected_idx, bool do_diropen) |
static bool | file_is_any_selected (struct FileList *files) |
static FileSelection | file_current_selection_range_get (struct FileList *files) |
static void | file_ensure_inside_viewbounds (ARegion *region, SpaceFile *sfile, const int file) |
static void | file_ensure_selection_inside_viewbounds (ARegion *region, SpaceFile *sfile, FileSelection *sel) |
static FileSelect | file_select (bContext *C, const rcti *rect, FileSelType select, bool fill, bool do_diropen) |
Reorder Bookmark Operator | |
enum | { FILE_BOOKMARK_MOVE_TOP = -2 , FILE_BOOKMARK_MOVE_UP = -1 , FILE_BOOKMARK_MOVE_DOWN = 1 , FILE_BOOKMARK_MOVE_BOTTOM = 2 } |
static int | bookmark_move_exec (bContext *C, wmOperator *op) |
static bool | file_bookmark_move_poll (bContext *C) |
void | FILE_OT_bookmark_move (wmOperatorType *ot) |
typedef enum FileSelect FileSelect |
anonymous enum |
Enumerator | |
---|---|
FILE_BOOKMARK_MOVE_TOP | |
FILE_BOOKMARK_MOVE_UP | |
FILE_BOOKMARK_MOVE_DOWN | |
FILE_BOOKMARK_MOVE_BOTTOM |
Definition at line 1257 of file file_ops.c.
enum FileSelect |
Enumerator | |
---|---|
FILE_SELECT_NOTHING | |
FILE_SELECT_DIR | |
FILE_SELECT_FILE |
Definition at line 91 of file file_ops.c.
|
static |
Definition at line 1098 of file file_ops.c.
References blender::compositor::area(), BKE_appdir_folder_id_create(), BLENDER_BOOKMARK_FILE, BLENDER_USER_CONFIG, BLI_join_dirfile(), C, CTX_wm_area(), CTX_wm_space_file(), ED_area_tag_redraw(), ED_area_tag_refresh(), ED_fileselect_get_active_params(), ED_fsmenu_get(), FILE_MAX, FS_CATEGORY_BOOKMARKS, FS_INSERT_SAVE, fsmenu_insert_entry(), fsmenu_write_file(), NULL, OPERATOR_FINISHED, and params.
Referenced by FILE_OT_bookmark_add().
|
static |
Definition at line 1200 of file file_ops.c.
References blender::compositor::area(), BKE_appdir_folder_id_create(), BLENDER_BOOKMARK_FILE, BLENDER_USER_CONFIG, BLI_is_dir(), BLI_join_dirfile(), C, CTX_wm_area(), CTX_wm_manager(), ED_area_tag_redraw(), ED_area_tag_refresh(), ED_fsmenu_get(), ED_fsmenu_get_category(), FILE_MAX, FS_CATEGORY_BOOKMARKS, fsmenu_refresh_bookmarks_status(), fsmenu_remove_entry(), fsmenu_write_file(), FSMenuEntry::name, FSMenuEntry::next, NULL, OPERATOR_FINISHED, and FSMenuEntry::path.
Referenced by FILE_OT_bookmark_cleanup().
|
static |
Definition at line 1141 of file file_ops.c.
References blender::compositor::area(), BKE_appdir_folder_id_create(), BLENDER_BOOKMARK_FILE, BLENDER_USER_CONFIG, BLI_join_dirfile(), SpaceFile::bookmarknr, C, CTX_wm_area(), CTX_wm_space_file(), ED_area_tag_redraw(), ED_area_tag_refresh(), ED_fsmenu_get(), ED_fsmenu_get_nentries(), FILE_MAX, FS_CATEGORY_BOOKMARKS, fsmenu_remove_entry(), fsmenu_write_file(), NULL, OPERATOR_FINISHED, wmOperator::ptr, RNA_property_int_get(), RNA_property_is_set(), and RNA_struct_find_property().
Referenced by FILE_OT_bookmark_delete().
|
static |
Definition at line 1264 of file file_ops.c.
References blender::compositor::area(), BKE_appdir_folder_id_create(), BLENDER_BOOKMARK_FILE, BLENDER_USER_CONFIG, BLI_join_dirfile(), BLI_linklist_move_item(), SpaceFile::bookmarknr, C, CTX_wm_area(), CTX_wm_space_file(), ED_area_tag_redraw(), ED_fsmenu_get(), ED_fsmenu_get_category(), ED_fsmenu_get_nentries(), ED_fsmenu_set_category(), FILE_BOOKMARK_MOVE_BOTTOM, FILE_BOOKMARK_MOVE_DOWN, FILE_BOOKMARK_MOVE_TOP, FILE_BOOKMARK_MOVE_UP, FILE_MAX, FS_CATEGORY_BOOKMARKS, fsmenu_write_file(), NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, and RNA_enum_get().
Referenced by FILE_OT_bookmark_move().
|
static |
Definition at line 1052 of file file_ops.c.
References BKE_main_blendfile_path(), BLI_path_normalize_dir(), BLI_strncpy(), C, CTX_data_main(), CTX_wm_space_file(), ED_file_change_dir(), ED_fileselect_get_active_params(), NC_SPACE, ND_SPACE_FILE_LIST, NULL, OPERATOR_FINISHED, params, wmOperator::ptr, RNA_property_string_get(), RNA_struct_find_property(), and WM_event_add_notifier().
Referenced by FILE_OT_select_bookmark().
|
static |
Definition at line 97 of file file_ops.c.
References FileSelection::first, and FileSelection::last.
Referenced by file_selection_get().
Definition at line 3007 of file file_ops.c.
Referenced by ED_spacemacros_init().
Definition at line 1319 of file file_ops.c.
References SpaceFile::bookmarknr, C, CTX_wm_space_file(), and ED_operator_file_browsing_active().
Referenced by FILE_OT_bookmark_move().
|
static |
Definition at line 462 of file file_ops.c.
References C, CHECK_ALL, CTX_wm_region(), CTX_wm_space_file(), ED_fileselect_layout_isect_rect(), FILE_SEL_ADD, FILE_SEL_REMOVE, FILE_SEL_SELECTED, file_select(), file_select_deselect_all(), FILE_SELECT_DIR, FILE_SELECT_FILE, filelist_entry_parent_select_set(), SpaceFile::files, SpaceFile::layout, NC_SPACE, ND_SPACE_FILE_LIST, ND_SPACE_FILE_PARAMS, NULL, OPERATOR_FINISHED, wmOperator::ptr, ret, RNA_enum_get(), SEL_OP_SUB, SEL_OP_USE_PRE_DESELECT, select(), ARegion::v2d, WM_event_add_notifier(), and WM_operator_properties_border_to_rcti().
Referenced by FILE_OT_select_box().
|
static |
Definition at line 373 of file file_ops.c.
References BLI_rcti_length_x(), BLI_rcti_length_y(), ED_fileselect_get_layout(), FILE_LAYOUT_HOR, FILE_LAYOUT_VER, file_tile_boundbox(), FileSelection::first, FileLayout::flag, FileSelection::last, UI_view2d_region_to_view(), UNPACK2, ARegion::v2d, rcti::xmin, and rcti::ymin.
Referenced by file_box_select_modal().
|
static |
Definition at line 406 of file file_ops.c.
References C, CHECK_ALL, CTX_wm_region(), CTX_wm_space_file(), ED_fileselect_get_active_params(), ED_fileselect_layout_isect_rect(), file, file_box_select_find_last_selected(), FILE_SEL_ADD, FILE_SEL_HIGHLIGHTED, FILE_SEL_REMOVE, file_select_deselect_all(), file_selection_get(), filelist_entries_select_index_range_set(), filelist_entry_select_set(), filelist_file(), FILENAME_IS_CURRPAR, SpaceFile::files, fileselect_file_set(), FileSelection::first, FileSelection::last, SpaceFile::layout, wmEvent::mval, NC_SPACE, ND_SPACE_FILE_PARAMS, NULL, OPERATOR_RUNNING_MODAL, params, result, ARegion::v2d, WM_event_add_notifier(), WM_gesture_box_modal(), and WM_operator_properties_border_to_rcti().
Referenced by FILE_OT_select_box().
|
static |
Definition at line 1551 of file file_ops.c.
References C, CTX_wm_manager(), CTX_wm_space_file(), EVT_FILESELECT_CANCEL, NULL, SpaceFile::op, OPERATOR_FINISHED, and WM_event_fileselect_event().
Referenced by FILE_OT_cancel().
|
static |
Definition at line 1485 of file file_ops.c.
References FileLayout::attribute_columns, BLI_assert, C, COLUMN_NONE, CTX_wm_region(), CTX_wm_space_file(), ED_fileselect_get_active_params(), file_attribute_column_header_is_inside(), file_attribute_column_type_find_isect(), FILE_SORT_DEFAULT, FILE_SORT_INVERT, SpaceFile::layout, wmEvent::mval, NC_SPACE, ND_SPACE_FILE_PARAMS, NULL, OPERATOR_PASS_THROUGH, params, FileAttributeColumn::sort_type, ARegion::v2d, and WM_event_add_notifier().
Referenced by FILE_OT_sort_column_ui_context().
|
static |
Definition at line 239 of file file_ops.c.
References filelist_entry_is_selected(), filelist_files_ensure(), FileSelection::first, and FileSelection::last.
Referenced by file_view_selected_exec().
|
static |
Definition at line 2870 of file file_ops.c.
References BKE_reportf(), C, CHECK_ALL, CTX_wm_manager(), CTX_wm_space_file(), ED_fileselect_clear(), ED_fileselect_get_active_params(), file, file_delete_single(), filelist_entry_select_index_get(), filelist_file(), filelist_files_ensure(), SpaceFile::files, NC_SPACE, ND_SPACE_FILE_LIST, NULL, OPERATOR_FINISHED, params, wmOperator::reports, RPT_ERROR, and WM_event_add_notifier().
Referenced by FILE_OT_delete().
Definition at line 2829 of file file_ops.c.
References C, CHECK_ALL, CTX_wm_space_file(), ED_fileselect_get_active_params(), ED_operator_file_browsing_active(), FILE_MAX_LIBEXTRA, filelist_entry_select_index_get(), filelist_files_ensure(), filelist_islibrary(), SpaceFile::files, NULL, and params.
Referenced by FILE_OT_delete().
|
static |
Definition at line 2857 of file file_ops.c.
References BLI_delete_soft(), BLI_exists(), BLI_join_dirfile(), file, FILE_MAX, params, and str.
Referenced by file_delete_exec().
Definition at line 2513 of file file_ops.c.
References BKE_main_blendfile_path(), BLI_is_file(), BLI_path_append(), BLI_path_normalize_dir(), BLI_split_dirfile(), BLI_strncpy(), BLO_library_path_explode(), C, CTX_data_main(), CTX_wm_space_file(), ED_file_change_dir(), ED_fileselect_get_active_params(), file_expand_directory(), FILE_MAX_LIBEXTRA, filelist_is_dir(), SpaceFile::files, folderlist_peeklastdir(), SpaceFile::folders_prev, NC_SPACE, ND_SPACE_FILE_LIST, NULL, ot, params, ptr, RNA_boolean_set(), RNA_string_set(), STREQ, WM_event_add_notifier(), WM_OP_INVOKE_DEFAULT, WM_operator_name_call_ptr(), WM_operator_properties_create_ptr(), WM_operator_properties_free(), and WM_operatortype_find().
|
static |
Definition at line 2336 of file file_ops.c.
References BKE_report(), BKE_reportf(), BLI_assert_msg, BLI_dir_create_recursive(), BLI_exists(), BLI_path_make_safe(), BLI_strncpy(), C, CTX_wm_manager(), CTX_wm_space_file(), CTX_wm_window(), ED_file_change_dir(), ED_fileselect_clear(), ED_fileselect_get_active_params(), FILE_MAX, FILE_MAXFILE, file_params_invoke_rename_postscroll(), FILE_PARAMS_RENAME_PENDING, NC_SPACE, ND_SPACE_FILE_LIST, new_folder_path(), NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, params, wmOperator::ptr, wmOperator::reports, RNA_boolean_get(), RNA_property_string_get(), RNA_struct_find_property(), RPT_ERROR, RPT_WARNING, and WM_event_add_notifier().
Referenced by FILE_OT_directory_new().
Definition at line 1735 of file file_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), and file_draw_check_ex().
Referenced by file_draw_check_cb(), file_filename_enter_handle(), file_filenum_exec(), file_select(), file_select_all_exec(), file_view_selected_exec(), and filepath_drop_exec().
Definition at line 1741 of file file_ops.c.
References C, and file_draw_check().
Definition at line 1711 of file file_ops.c.
References blender::compositor::area(), C, wmOperatorType::check, CTX_data_main(), ED_area_tag_redraw(), file_operator_to_sfile(), file_sfile_to_operator(), SpaceFile::op, SPACE_FILE, wmOperator::type, and UNLIKELY.
Referenced by ED_file_change_dir_ex(), and file_draw_check().
Definition at line 1746 of file file_ops.c.
References BLI_is_file(), BLI_join_dirfile(), ED_fileselect_get_active_params(), FILE_CHECK_EXISTING, FILE_MAX, SpaceFile::op, and params.
Referenced by file_panel_execution_buttons_draw().
|
static |
Definition at line 2967 of file file_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_region(), CTX_wm_region_set(), CTX_wm_space_file(), ED_fileselect_get_active_params(), LISTBASE_FOREACH, OPERATOR_FINISHED, params, and UI_textbutton_activate_rna().
Referenced by FILE_OT_edit_directory_path().
Definition at line 1866 of file file_ops.c.
References C, FILE_SEL_ADD, file_select(), file_select_mval_to_select_rect(), FILE_SELECT_NOTHING, and wmEvent::mval.
Referenced by file_execute_mouse_invoke().
|
static |
If file is outside viewbounds, this adjusts view to make sure it's inside
Definition at line 269 of file file_ops.c.
References BLI_assert, View2D::cur, ED_fileselect_get_layout(), file, file_tile_boundbox(), FileLayout::offset_top, FileLayout::tile_border_x, FileLayout::tile_border_y, FileLayout::tile_h, FileLayout::tile_w, UI_view2d_curRect_validate(), ARegion::v2d, ARegion::winx, ARegion::winy, rcti::xmax, rctf::xmax, rcti::xmin, rctf::xmin, rcti::ymax, rctf::ymax, rcti::ymin, and rctf::ymin.
Referenced by file_ensure_selection_inside_viewbounds(), and file_walk_select_selection_set().
|
static |
Definition at line 309 of file file_ops.c.
References ED_fileselect_get_layout(), file_ensure_inside_viewbounds(), FILE_LAYOUT_HOR, FILE_LAYOUT_VER, FileSelection::first, FileLayout::flag, FileSelection::last, FileLayout::tile_h, FileLayout::tile_w, ARegion::winx, and ARegion::winy.
Referenced by file_select(), and file_view_selected_exec().
|
static |
Definition at line 1836 of file file_ops.c.
References C, CTX_wm_space_file(), file_execute(), OPERATOR_CANCELLED, and OPERATOR_FINISHED.
Referenced by FILE_OT_execute().
Execute the active file, as set in the file select params.
Definition at line 1771 of file file_ops.c.
References BKE_appdir_folder_id_create(), BKE_main_blendfile_path(), BLENDER_BOOKMARK_FILE, BLENDER_USER_CONFIG, BLI_exists(), BLI_join_dirfile(), BLI_path_append(), BLI_path_normalize(), BLI_path_parent_dir(), BLI_path_slash_ensure(), BLI_split_dirfile(), BLI_strdup(), C, CTX_data_main(), CTX_wm_manager(), ED_file_change_dir(), ED_fileselect_get_active_params(), ED_fsmenu_get(), EVT_FILESELECT_EXEC, file, FILE_MAX, file_sfile_to_operator_ex(), FILE_TYPE_DIR, filelist_file(), FILENAME_IS_PARENT, SpaceFile::files, FS_CATEGORY_RECENT, FS_INSERT_FIRST, FS_INSERT_SAVE, fsmenu_insert_entry(), fsmenu_write_file(), MEM_freeN, NULL, SpaceFile::op, params, and WM_event_fileselect_event().
Referenced by file_exec(), and file_execute_mouse_invoke().
|
static |
Definition at line 1876 of file file_ops.c.
References C, CTX_wm_region(), CTX_wm_space_file(), ED_fileselect_layout_is_inside_pt(), file_ensure_hovered_is_active(), file_execute(), SpaceFile::layout, wmEvent::mval, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, and ARegion::v2d.
Referenced by FILE_OT_mouse_execute().
Definition at line 2452 of file file_ops.c.
References BKE_appdir_folder_default_or_root(), BKE_main_blendfile_path(), BLI_path_abs(), BLI_path_is_rel(), BLI_path_is_unc(), BLI_path_join(), BLI_strncpy(), BLI_windows_get_default_root_dir(), C, CTX_data_main(), CTX_wm_space_file(), ED_fileselect_get_active_params(), FILE_MAX_LIBEXTRA, NULL, and params.
Referenced by file_directory_enter_handle(), and file_filename_enter_handle().
Definition at line 2603 of file file_ops.c.
References BKE_main_blendfile_path(), BLI_filename_make_safe_ex(), BLI_join_dirfile(), BLI_path_normalize_dir(), BLI_strncpy(), C, CTX_data_main(), CTX_wm_space_file(), ED_file_change_dir(), ED_fileselect_get_active_params(), file_draw_check(), file_expand_directory(), FILE_MAX, FILE_PATH_TOKENS_ALLOW, file_select_match(), filelist_is_dir(), SpaceFile::files, NC_SPACE, ND_SPACE_FILE_PARAMS, NULL, params, UI_textbutton_activate_but(), and WM_event_add_notifier().
|
static |
Definition at line 2737 of file file_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_space_file(), ED_area_tag_redraw(), ED_fileselect_get_active_params(), file_draw_check(), filenum_newname(), OPERATOR_FINISHED, params, wmOperator::ptr, and RNA_int_get().
Referenced by FILE_OT_filenum().
Definition at line 2692 of file file_ops.c.
References C, CTX_wm_space_file(), ED_fileselect_get_active_params(), ED_operator_file_browsing_active(), FILE_CHECK_EXISTING, and params.
Referenced by FILE_OT_filenum().
|
static |
Definition at line 2658 of file file_ops.c.
References C, CTX_wm_manager(), CTX_wm_space_file(), ED_fileselect_clear(), ED_fileselect_get_active_params(), FILE_HIDE_DOT, NC_SPACE, ND_SPACE_FILE_LIST, NULL, OPERATOR_FINISHED, params, and WM_event_add_notifier().
Referenced by FILE_OT_hidedot().
|
static |
Definition at line 1452 of file file_ops.c.
References C, CTX_wm_area(), CTX_wm_region(), CTX_wm_space_file(), ED_area_tag_redraw(), file_highlight_set(), OPERATOR_PASS_THROUGH, and wmEvent::xy.
Referenced by FILE_OT_highlight().
Definition at line 1404 of file file_ops.c.
References ED_fileselect_get_active_params(), ED_fileselect_layout_is_inside_pt(), ED_fileselect_layout_offset(), filelist_files_ensure(), SpaceFile::files, SpaceFile::layout, NULL, params, View2D::tot, UI_view2d_region_to_view(), ARegion::v2d, ARegion::winrct, rcti::xmin, rctf::xmin, rctf::ymax, and rcti::ymin.
Referenced by file_highlight_invoke(), and file_main_region_draw().
Definition at line 224 of file file_ops.c.
References CHECK_ALL, filelist_entry_select_index_get(), and filelist_files_ensure().
Referenced by file_select(), file_select_all_exec(), and file_walk_select_do().
|
static |
Definition at line 2036 of file file_ops.c.
References C, CTX_wm_space_file(), ED_file_change_dir(), ED_fileselect_get_active_params(), folderlist_popdir(), folderlist_pushdir(), SpaceFile::folders_next, SpaceFile::folders_prev, NC_SPACE, ND_SPACE_FILE_LIST, NULL, OPERATOR_FINISHED, params, and WM_event_add_notifier().
Referenced by FILE_OT_next().
Definition at line 1539 of file file_ops.c.
References C, CTX_wm_space_file(), ED_operator_file_browsing_active(), and SpaceFile::op.
Referenced by FILE_OT_cancel().
void file_operator_to_sfile | ( | Main * | bmain, |
SpaceFile * | sfile, | ||
wmOperator * | op | ||
) |
Definition at line 1664 of file file_ops.c.
References BKE_main_blendfile_path(), BLI_path_abs(), BLI_split_dirfile(), ED_fileselect_get_active_params(), FILE_MAX, params, wmOperator::ptr, RNA_property_string_get(), and RNA_struct_find_property().
Referenced by file_draw_check_ex().
void FILE_OT_bookmark_add | ( | wmOperatorType * | ot | ) |
Definition at line 1122 of file file_ops.c.
References bookmark_add_exec(), wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_bookmark_cleanup | ( | wmOperatorType * | ot | ) |
Definition at line 1236 of file file_ops.c.
References bookmark_cleanup_exec(), wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_bookmark_delete | ( | wmOperatorType * | ot | ) |
Definition at line 1175 of file file_ops.c.
References bookmark_delete_exec(), wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_int(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by file_operatortypes().
void FILE_OT_bookmark_move | ( | wmOperatorType * | ot | ) |
Definition at line 1331 of file file_ops.c.
References bookmark_move_exec(), wmOperatorType::description, wmOperatorType::exec, FILE_BOOKMARK_MOVE_BOTTOM, FILE_BOOKMARK_MOVE_DOWN, file_bookmark_move_poll(), FILE_BOOKMARK_MOVE_TOP, FILE_BOOKMARK_MOVE_UP, wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::name, NULL, OPTYPE_REGISTER, ot, wmOperatorType::poll, RNA_def_enum(), and wmOperatorType::srna.
Referenced by file_operatortypes().
void FILE_OT_cancel | ( | struct wmOperatorType * | ot | ) |
Definition at line 1564 of file file_ops.c.
References wmOperatorType::description, wmOperatorType::exec, file_cancel_exec(), file_operator_poll(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_delete | ( | struct wmOperatorType * | ot | ) |
Definition at line 2907 of file file_ops.c.
References wmOperatorType::description, wmOperatorType::exec, file_delete_exec(), file_delete_poll(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, and WM_operator_confirm().
Referenced by file_operatortypes().
void FILE_OT_directory_new | ( | struct wmOperatorType * | ot | ) |
Definition at line 2422 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, file_directory_new_exec(), FILE_MAX, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, NULL, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), RNA_def_string_dir_path(), wmOperatorType::srna, WM_operator_confirm_or_exec(), and WM_operator_properties_confirm_or_exec().
Referenced by file_operatortypes().
void FILE_OT_edit_directory_path | ( | struct wmOperatorType * | ot | ) |
Definition at line 2989 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), wmOperatorType::exec, file_edit_directory_path_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_execute | ( | struct wmOperatorType * | ot | ) |
Definition at line 1847 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, file_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_filenum | ( | struct wmOperatorType * | ot | ) |
Definition at line 2754 of file file_ops.c.
References wmOperatorType::description, wmOperatorType::exec, file_filenum_exec(), file_filenum_poll(), wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_int(), and wmOperatorType::srna.
Referenced by file_operatortypes().
void FILE_OT_filepath_drop | ( | wmOperatorType * | ot | ) |
Definition at line 2293 of file file_ops.c.
References ED_operator_file_browsing_active(), wmOperatorType::exec, FILE_MAX, filepath_drop_exec(), wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_string_file_path(), and wmOperatorType::srna.
Referenced by file_operatortypes().
void FILE_OT_hidedot | ( | struct wmOperatorType * | ot | ) |
Definition at line 2673 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, file_hidedot_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_highlight | ( | struct wmOperatorType * | ot | ) |
Definition at line 1466 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), file_highlight_invoke(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_mouse_execute | ( | struct wmOperatorType * | ot | ) |
Variation of FILE_OT_execute that accounts for some mouse specific handling. Otherwise calls the same logic.
Definition at line 1901 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), file_execute_mouse_invoke(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_next | ( | struct wmOperatorType * | ot | ) |
Definition at line 2054 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, file_next_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_parent | ( | struct wmOperatorType * | ot | ) |
Definition at line 1981 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, file_parent_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_previous | ( | struct wmOperatorType * | ot | ) |
Definition at line 2017 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, file_previous_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_refresh | ( | struct wmOperatorType * | ot | ) |
Definition at line 1941 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, file_refresh_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_rename | ( | struct wmOperatorType * | ot | ) |
Definition at line 2810 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, file_rename_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_reset_recent | ( | wmOperatorType * | ot | ) |
Definition at line 1385 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and reset_recent_exec().
Referenced by file_operatortypes().
void FILE_OT_select | ( | wmOperatorType * | ot | ) |
Definition at line 612 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), wmOperatorType::exec, file_select_exec(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, wmOperatorType::poll, PROP_HIDDEN, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, WM_generic_select_invoke(), WM_generic_select_modal(), and WM_operator_properties_generic_select().
Referenced by file_operatortypes().
void FILE_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 978 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), wmOperatorType::exec, file_select_all_exec(), wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, and WM_operator_properties_select_all().
Referenced by file_operatortypes().
void FILE_OT_select_bookmark | ( | wmOperatorType * | ot | ) |
Definition at line 1073 of file file_ops.c.
References bookmark_select_exec(), wmOperatorType::description, ED_operator_file_browsing_active(), wmOperatorType::exec, FILE_MAXDIR, wmOperatorType::idname, wmOperatorType::name, NULL, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_property_flag(), RNA_def_string(), and wmOperatorType::srna.
Referenced by file_operatortypes().
void FILE_OT_select_box | ( | wmOperatorType * | ot | ) |
Definition at line 494 of file file_ops.c.
References wmOperatorType::cancel, wmOperatorType::description, ED_operator_file_active(), wmOperatorType::exec, file_box_select_exec(), file_box_select_modal(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::modal, wmOperatorType::name, ot, wmOperatorType::poll, WM_gesture_box_cancel(), WM_gesture_box_invoke(), WM_operator_properties_gesture_box(), and WM_operator_properties_select_operation_simple().
Referenced by file_operatortypes().
void FILE_OT_select_walk | ( | wmOperatorType * | ot | ) |
Definition at line 888 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), file_walk_select_invoke(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), wmOperatorType::srna, and WM_operator_properties_select_walk_direction().
Referenced by file_operatortypes().
void FILE_OT_smoothscroll | ( | wmOperatorType * | ot | ) |
Definition at line 2246 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), file_smoothscroll_invoke(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_sort_column_ui_context | ( | wmOperatorType * | ot | ) |
Definition at line 1518 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), file_column_sort_ui_context_invoke(), wmOperatorType::flag, wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, OPTYPE_INTERNAL, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_start_filter | ( | struct wmOperatorType * | ot | ) |
Definition at line 2948 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), wmOperatorType::exec, file_start_filter_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
void FILE_OT_view_selected | ( | wmOperatorType * | ot | ) |
Definition at line 1031 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), wmOperatorType::exec, file_view_selected_exec(), wmOperatorType::idname, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
|
static |
Definition at line 1959 of file file_ops.c.
References BKE_main_blendfile_path(), BLI_path_normalize_dir(), BLI_path_parent_dir(), C, CTX_data_main(), CTX_wm_space_file(), ED_file_change_dir(), ED_fileselect_get_active_params(), filelist_setrecursion(), SpaceFile::files, NC_SPACE, ND_SPACE_FILE_LIST, NULL, OPERATOR_FINISHED, params, and WM_event_add_notifier().
Referenced by FILE_OT_parent().
|
static |
Definition at line 2000 of file file_ops.c.
References C, CTX_wm_space_file(), ED_file_change_dir(), ED_fileselect_get_active_params(), folderlist_popdir(), folderlist_pushdir(), SpaceFile::folders_next, SpaceFile::folders_prev, NC_SPACE, ND_SPACE_FILE_LIST, NULL, OPERATOR_FINISHED, params, and WM_event_add_notifier().
Referenced by FILE_OT_previous().
|
static |
Definition at line 1922 of file file_ops.c.
References C, CTX_wm_manager(), CTX_wm_space_file(), ED_fileselect_clear(), ED_fsmenu_get(), fsmenu_refresh_bookmarks_status(), fsmenu_refresh_system_category(), NC_SPACE, ND_SPACE_FILE_LIST, NULL, OPERATOR_FINISHED, and WM_event_add_notifier().
Referenced by FILE_OT_refresh().
|
static |
Definition at line 2796 of file file_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_space_data(), ED_area_tag_redraw(), ED_fileselect_get_active_params(), file_rename_state_activate(), OPERATOR_FINISHED, and params.
Referenced by FILE_OT_rename().
|
static |
Definition at line 2775 of file file_ops.c.
References BLI_strncpy(), CHECK_ALL, ED_fileselect_get_active_params(), file, FILE_MAXFILE, FILE_PARAMS_RENAME_ACTIVE, FILE_SEL_ADD, FILE_SEL_EDITING, FILE_SEL_SELECTED, filelist_entry_select_get(), filelist_entry_select_index_set(), filelist_file(), filelist_files_ensure(), SpaceFile::files, and params.
Referenced by file_rename_exec().
|
static |
Definition at line 327 of file file_ops.c.
References C, CHECK_ALL, CHECK_DIRS, CTX_wm_region(), CTX_wm_space_file(), ED_fileselect_get_active_params(), FILE_DIRSEL_ONLY, file_draw_check(), file_ensure_selection_inside_viewbounds(), file_is_any_selected(), FILE_SEL_ADD, FILE_SEL_REMOVE, FILE_SEL_SELECTED, file_select_do(), FILE_SELECT_NOTHING, file_selection_get(), filelist_entries_select_index_range_set(), filelist_entry_select_index_get(), SpaceFile::files, FileSelection::first, FileSelection::last, params, and select().
Referenced by file_box_select_exec(), file_ensure_hovered_is_active(), and file_select_exec().
|
static |
Definition at line 921 of file file_ops.c.
References blender::compositor::area(), BLI_assert, C, CHECK_ALL, CHECK_DIRS, CHECK_FILES, CTX_wm_area(), CTX_wm_space_file(), CTX_wm_window(), ED_area_tag_redraw(), ED_fileselect_get_active_params(), FILE_DIRSEL_ONLY, file_draw_check(), file_is_any_selected(), FILE_SEL_ADD, FILE_SEL_REMOVE, FILE_SEL_SELECTED, FILE_SEL_TOGGLE, filelist_entries_select_index_range_set(), filelist_entry_select_index_get(), filelist_files_ensure(), SpaceFile::files, FileSelection::first, FileSelection::last, OPERATOR_CANCELLED, OPERATOR_FINISHED, params, wmOperator::ptr, RNA_enum_get(), SEL_DESELECT, SEL_INVERT, SEL_SELECT, SEL_TOGGLE, and WM_event_add_mousemove().
Referenced by FILE_OT_select_all().
|
static |
Definition at line 162 of file file_ops.c.
References BKE_main_blendfile_path(), BLI_path_normalize_dir(), BLI_path_parent_dir(), BLI_path_slash_ensure(), BLI_strncpy(), C, CTX_data_main(), CTX_wm_space_file(), ED_file_change_dir(), ED_fileselect_get_active_params(), file, FILE_MAX, FILE_SELECT_DIR, FILE_SELECT_FILE, FILE_SELECT_NOTHING, FILE_TYPE_DIR, filelist_file(), filelist_files_ensure(), filelist_setrecursion(), FILENAME_IS_PARENT, SpaceFile::files, fileselect_file_set(), and params.
Referenced by file_select().
|
static |
Definition at line 528 of file file_ops.c.
References C, CHECK_ALL, CTX_wm_region(), CTX_wm_space_file(), CTX_wm_window(), ED_fileselect_get_active_params(), ED_fileselect_layout_is_inside_pt(), FILE_SEL_ADD, FILE_SEL_REMOVE, FILE_SEL_SELECTED, FILE_SEL_TOGGLE, file_select(), file_select_deselect_all(), FILE_SELECT_DIR, FILE_SELECT_FILE, file_select_mval_to_select_rect(), FILE_SELECT_NOTHING, filelist_entry_parent_select_set(), filelist_entry_select_index_get(), filelist_files_ensure(), SpaceFile::files, SpaceFile::layout, NC_SPACE, ND_SPACE_FILE_LIST, ND_SPACE_FILE_PARAMS, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, OPERATOR_RUNNING_MODAL, params, wmOperator::ptr, ARegion::regiontype, ret, RGN_TYPE_WINDOW, RNA_boolean_get(), RNA_int_get(), ARegion::v2d, WM_event_add_mousemove(), WM_event_add_notifier(), rcti::xmin, and rcti::ymin.
Referenced by FILE_OT_select().
|
static |
Definition at line 520 of file file_ops.c.
References rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by file_ensure_hovered_is_active(), and file_select_exec().
|
static |
Definition at line 123 of file file_ops.c.
References C, CHECK_ALL, clamp_to_filelist(), CTX_wm_region(), CTX_wm_space_file(), filelist_entry_select_index_get(), filelist_files_ensure(), SpaceFile::files, find_file_mouse_rect(), FileSelection::first, and FileSelection::last.
Referenced by file_box_select_modal(), and file_select().
Use to set the file selector path from some arbitrary source.
Definition at line 1692 of file file_ops.c.
References BLI_assert, BLI_exists(), BLI_is_dir(), BLI_split_dir_part(), BLI_split_dirfile(), BLI_strncpy(), ED_fileselect_get_active_params(), FILE_DIRSEL_ONLY, and params.
Referenced by filepath_drop_exec().
void file_sfile_to_operator | ( | Main * | bmain, |
wmOperator * | op, | ||
SpaceFile * | sfile | ||
) |
Definition at line 1657 of file file_ops.c.
References FILE_MAX, and file_sfile_to_operator_ex().
Referenced by file_draw_check_ex(), and filepath_drop_exec().
void file_sfile_to_operator_ex | ( | Main * | bmain, |
wmOperator * | op, | ||
SpaceFile * | sfile, | ||
char * | filepath | ||
) |
Definition at line 1582 of file file_ops.c.
References BKE_main_blendfile_path(), BLI_join_dirfile(), BLI_path_rel(), CHECK_DIRS, CHECK_FILES, ED_fileselect_get_active_params(), file, FILE_MAX, filelist_entry_select_index_get(), filelist_file(), filelist_files_ensure(), SpaceFile::files, params, wmOperator::ptr, RNA_property_boolean_get(), RNA_property_collection_add(), RNA_property_collection_clear(), RNA_property_string_set(), RNA_string_set(), and RNA_struct_find_property().
Referenced by file_execute(), and file_sfile_to_operator().
|
static |
Definition at line 2074 of file file_ops.c.
References blender::math::abs(), blender::compositor::area(), BKE_area_find_region_type(), C, CHECK_ALL, CTX_wm_area(), CTX_wm_manager(), CTX_wm_region(), CTX_wm_region_set(), CTX_wm_space_file(), CTX_wm_window(), View2D::cur, wmEvent::customdata, ED_fileselect_get_active_params(), ED_fileselect_layout_numfiles(), ED_fileselect_layout_offset(), ED_region_tag_redraw(), FILE_LAYOUT_HOR, FILE_PARAMS_RENAME_PENDING, FILE_PARAMS_RENAME_POSTSCROLL_ACTIVE, FILE_PARAMS_RENAME_POSTSCROLL_PENDING, file_params_renamefile_activate(), file_params_renamefile_clear(), file_params_smoothscroll_timer_clear(), FILE_SEL_EDITING, FILE_SEL_HIGHLIGHTED, filelist_entry_select_index_get(), filelist_files_ensure(), filelist_is_ready(), SpaceFile::files, FileLayout::flag, FileLayout::flow_columns, SpaceFile::layout, max_ii(), NULL, OPERATOR_FINISHED, OPERATOR_PASS_THROUGH, params, ARegion::regiontype, RGN_TYPE_WINDOW, RNA_int_set(), FileLayout::rows, SpaceFile::scroll_offset, SpaceFile::smoothscroll_timer, FileLayout::tile_border_x, FileLayout::tile_border_y, FileLayout::tile_h, FileLayout::tile_w, View2D::tot, ARegion::v2d, WM_OP_EXEC_DEFAULT, WM_operator_name_call(), WM_operator_properties_create(), WM_operator_properties_free(), rctf::xmax, rctf::xmin, rctf::ymax, and rctf::ymin.
Referenced by FILE_OT_smoothscroll().
|
static |
Definition at line 2926 of file file_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_region(), CTX_wm_region_set(), CTX_wm_space_file(), ED_fileselect_get_active_params(), LISTBASE_FOREACH, OPERATOR_FINISHED, params, and UI_textbutton_activate_rna().
Referenced by FILE_OT_start_filter().
|
static |
Definition at line 1000 of file file_ops.c.
References blender::compositor::area(), C, CTX_wm_area(), CTX_wm_region(), CTX_wm_space_file(), CTX_wm_window(), ED_area_tag_redraw(), ED_fileselect_get_active_params(), file_current_selection_range_get(), file_draw_check(), file_ensure_selection_inside_viewbounds(), SpaceFile::files, FileSelection::first, FileSelection::last, OPERATOR_CANCELLED, OPERATOR_FINISHED, params, and WM_event_add_mousemove().
Referenced by FILE_OT_view_selected().
|
static |
Definition at line 790 of file file_ops.c.
References BLI_assert, C, CTX_wm_region(), CTX_wm_window(), ED_fileselect_get_layout(), file_is_any_selected(), FILE_LAYOUT_HOR, FILE_LAYOUT_VER, file_walk_select_selection_set(), filelist_files_ensure(), SpaceFile::files, FileLayout::flag, FileLayout::flow_columns, if(), IN_RANGE, params, FileLayout::rows, UI_SELECT_WALK_DOWN, UI_SELECT_WALK_LEFT, UI_SELECT_WALK_RIGHT, and UI_SELECT_WALK_UP.
Referenced by file_walk_select_invoke().
|
static |
Definition at line 872 of file file_ops.c.
References C, CTX_wm_space_data(), ED_fileselect_get_active_params(), file_walk_select_do(), NC_SPACE, ND_SPACE_FILE_PARAMS, NULL, OPERATOR_CANCELLED, OPERATOR_FINISHED, params, wmOperator::ptr, RNA_boolean_get(), RNA_enum_get(), and WM_event_add_notifier().
Referenced by FILE_OT_select_walk().
|
static |
Definition at line 672 of file file_ops.c.
References blender::compositor::active, BLI_assert, CHECK_ALL, ED_fileselect_get_active_params(), ELEM, file_ensure_inside_viewbounds(), FILE_SEL_ADD, FILE_SEL_REMOVE, FILE_SEL_SELECTED, file_select_deselect_all(), filelist_entries_select_index_range_set(), filelist_entry_parent_select_set(), filelist_entry_select_index_get(), filelist_entry_select_index_set(), SpaceFile::files, fileselect_file_set(), FileSelection::first, IN_RANGE, FileSelection::last, MAX2, MIN2, params, UI_SELECT_WALK_DOWN, UI_SELECT_WALK_LEFT, UI_SELECT_WALK_RIGHT, UI_SELECT_WALK_UP, and WM_event_add_mousemove().
Referenced by file_walk_select_do().
|
static |
Looks for a string of digits within name (using BLI_path_sequence_decode) and adjusts it by add.
Definition at line 2708 of file file_ops.c.
References blender::bke::attribute_accessor_functions::add(), BLI_path_sequence_decode(), BLI_path_sequence_encode(), BLI_strncpy(), exp(), and FILE_MAXFILE.
Referenced by file_filenum_exec().
|
static |
Definition at line 2265 of file file_ops.c.
References BKE_report(), BLI_exists(), C, CTX_data_main(), CTX_wm_space_file(), file_draw_check(), FILE_MAX, file_sfile_filepath_set(), file_sfile_to_operator(), NC_SPACE, ND_SPACE_FILE_PARAMS, NULL, SpaceFile::op, OPERATOR_CANCELLED, OPERATOR_FINISHED, wmOperator::ptr, wmOperator::reports, RNA_string_get(), RPT_ERROR, and WM_event_add_notifier().
Referenced by FILE_OT_filepath_drop().
|
static |
Definition at line 60 of file file_ops.c.
References BLI_rctf_rcti_copy(), BLI_rcti_init(), View2D::cur, ED_fileselect_layout_offset_rect(), SpaceFile::layout, View2D::mask, FileLayout::offset_top, View2D::tot, UI_view2d_region_to_view_rctf(), ARegion::v2d, rctf::xmax, rctf::xmin, rcti::ymax, rctf::ymax, and rctf::ymin.
Referenced by file_selection_get().
|
static |
Create a new, non-existing folder name, returns true if successful, false if name couldn't be created. The actual name is returned in 'name', 'folder' contains the complete path, including the new folder name.
Definition at line 2317 of file file_ops.c.
References BLI_exists(), BLI_join_dirfile(), BLI_snprintf(), BLI_strncpy(), FILE_MAX, FILE_MAXFILE, and len.
Referenced by file_directory_new_exec().
|
static |
Definition at line 1366 of file file_ops.c.
References blender::compositor::area(), BKE_appdir_folder_id_create(), BLENDER_BOOKMARK_FILE, BLENDER_USER_CONFIG, BLI_join_dirfile(), C, CTX_wm_area(), ED_area_tag_redraw(), ED_fsmenu_get(), ED_fsmenu_get_entry(), FILE_MAX, FS_CATEGORY_RECENT, fsmenu_remove_entry(), fsmenu_write_file(), FSMenuEntry::name, NULL, and OPERATOR_FINISHED.
Referenced by FILE_OT_reset_recent().