|
Blender
V2.93
|
#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 | file_deselect_all (SpaceFile *sfile, uint flag) |
| 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 1221 of file file_ops.c.
| enum FileSelect |
| Enumerator | |
|---|---|
| FILE_SELECT_NOTHING | |
| FILE_SELECT_DIR | |
| FILE_SELECT_FILE | |
Definition at line 116 of file file_ops.c.
|
static |
Definition at line 1065 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 1165 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 1107 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 1228 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 1020 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 122 of file file_ops.c.
References FileSelection::first, and FileSelection::last.
Referenced by file_selection_get().
| void ED_operatormacros_file | ( | void | ) |
Definition at line 2910 of file file_ops.c.
Referenced by ED_spacemacros_init().
|
static |
Definition at line 1283 of file file_ops.c.
References SpaceFile::bookmarknr, C, and CTX_wm_space_file().
Referenced by FILE_OT_bookmark_move().
|
static |
Definition at line 482 of file file_ops.c.
References C, CHECK_ALL, CTX_wm_region(), CTX_wm_space_file(), ED_fileselect_layout_isect_rect(), file_deselect_all(), FILE_SEL_ADD, FILE_SEL_REMOVE, FILE_SEL_SELECTED, file_select(), 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 393 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 426 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_deselect_all(), FILE_SEL_ADD, FILE_SEL_HIGHLIGHTED, FILE_SEL_REMOVE, 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 1501 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 1436 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 259 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 2814 of file file_ops.c.
References BKE_reportf(), C, CHECK_ALL, CTX_data_scene(), 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().
|
static |
Definition at line 2760 of file file_ops.c.
References C, CHECK_ALL, CTX_wm_space_file(), ED_fileselect_get_active_params(), ED_operator_file_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 2791 of file file_ops.c.
References BLI_delete_soft(), BLI_exists(), BLI_join_dirfile(), ED_asset_clear_id(), file, FILE_MAX, FILE_TYPE_ASSET, filelist_file_get_id(), params, and str.
Referenced by file_delete_exec().
Definition at line 107 of file file_ops.c.
References CHECK_ALL, FILE_SEL_REMOVE, filelist_entries_select_index_range_set(), filelist_files_ensure(), SpaceFile::files, FileSelection::first, and FileSelection::last.
Referenced by file_box_select_exec(), file_box_select_modal(), file_select_invoke(), and file_walk_select_selection_set().
| void file_directory_enter_handle | ( | bContext * | C, |
| void * | UNUSEDarg_unused, | ||
| void * | UNUSEDarg_but | ||
| ) |
Definition at line 2433 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 2261 of file file_ops.c.
References BKE_report(), BKE_reportf(), BLI_dir_create_recursive(), BLI_exists(), BLI_path_make_safe(), BLI_strncpy(), C, CTX_data_scene(), 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_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, SpaceFile::scroll_offset, SpaceFile::smoothscroll_timer, TIMER1, WM_event_add_notifier(), WM_event_add_timer(), and WM_event_remove_timer().
Referenced by FILE_OT_directory_new().
| void file_draw_check | ( | bContext * | C | ) |
Definition at line 1688 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().
| void file_draw_check_cb | ( | bContext * | C, |
| void * | UNUSEDarg1, | ||
| void * | UNUSEDarg2 | ||
| ) |
Definition at line 1695 of file file_ops.c.
References C, and file_draw_check().
Definition at line 1664 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().
| bool file_draw_check_exists | ( | SpaceFile * | sfile | ) |
Definition at line 1700 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 |
If file is outside viewbounds, this adjusts view to make sure it's inside
Definition at line 289 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 329 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 1722 of file file_ops.c.
References blender::compositor::active, 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, CHECK_ALL, CTX_data_main(), CTX_wm_manager(), CTX_wm_space_file(), 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_entry_select_index_get(), filelist_file(), filelist_files_ensure(), 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, OPERATOR_CANCELLED, OPERATOR_FINISHED, params, wmOperator::ptr, RNA_boolean_get(), and WM_event_fileselect_event().
Referenced by file_exec_invoke(), and FILE_OT_execute().
|
static |
Definition at line 1805 of file file_ops.c.
References C, CTX_wm_region(), CTX_wm_space_file(), ED_fileselect_layout_is_inside_pt(), file_exec(), SpaceFile::layout, wmEvent::mval, OPERATOR_CANCELLED, OPERATOR_PASS_THROUGH, and ARegion::v2d.
Referenced by FILE_OT_execute().
|
static |
Definition at line 2375 of file file_ops.c.
References BKE_appdir_folder_default(), BKE_main_blendfile_path(), BLI_join_dirfile(), BLI_path_abs(), BLI_path_is_rel(), BLI_path_is_unc(), BLI_strncpy(), BLI_windows_get_default_root_dir(), C, CTX_data_main(), CTX_wm_space_file(), ED_fileselect_get_active_params(), FILE_MAX_LIBEXTRA, G, and params.
Referenced by file_directory_enter_handle(), and file_filename_enter_handle().
| void file_filename_enter_handle | ( | bContext * | C, |
| void * | UNUSEDarg_unused, | ||
| void * | arg_but | ||
| ) |
Definition at line 2523 of file file_ops.c.
References BKE_main_blendfile_path(), BLI_filename_make_safe(), 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_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 2654 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().
|
static |
Definition at line 2610 of file file_ops.c.
References C, CTX_wm_space_file(), ED_fileselect_get_active_params(), ED_operator_file_active(), FILE_CHECK_EXISTING, and params.
Referenced by FILE_OT_filenum().
|
static |
Definition at line 2577 of file file_ops.c.
References C, CTX_data_scene(), 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 1404 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, wmEvent::x, and wmEvent::y.
Referenced by FILE_OT_highlight().
Definition at line 1363 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().
|
static |
Definition at line 244 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 1963 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().
|
static |
Definition at line 1489 of file file_ops.c.
References C, CTX_wm_space_file(), ED_operator_file_active(), and SpaceFile::op.
Referenced by FILE_OT_cancel().
| void file_operator_to_sfile | ( | Main * | bmain, |
| SpaceFile * | sfile, | ||
| wmOperator * | op | ||
| ) |
Definition at line 1614 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 1089 of file file_ops.c.
References bookmark_add_exec(), wmOperatorType::description, ED_operator_file_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 1201 of file file_ops.c.
References bookmark_cleanup_exec(), wmOperatorType::description, ED_operator_file_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 1141 of file file_ops.c.
References bookmark_delete_exec(), wmOperatorType::description, ED_operator_file_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 1290 of file file_ops.c.
References bookmark_move_exec(), wmOperatorType::description, ED_operator_file_active(), 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 1514 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 2851 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 2346 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_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_execute | ( | struct wmOperatorType * | ot | ) |
Definition at line 1818 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), wmOperatorType::exec, file_exec(), file_exec_invoke(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by file_operatortypes().
| void FILE_OT_filenum | ( | struct wmOperatorType * | ot | ) |
Definition at line 2671 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 2220 of file file_ops.c.
References wmOperatorType::exec, FILE_MAX, filepath_drop_exec(), wmOperatorType::idname, wmOperatorType::name, ot, wmOperatorType::poll, RNA_def_string_file_path(), wmOperatorType::srna, and WM_operator_winactive().
Referenced by file_operatortypes().
| void FILE_OT_hidedot | ( | struct wmOperatorType * | ot | ) |
Definition at line 2592 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_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 1418 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_next | ( | struct wmOperatorType * | ot | ) |
Definition at line 1981 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_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 1910 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_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 1945 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_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 1870 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_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 2741 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), wmOperatorType::exec, file_rename_exec(), file_rename_invoke(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, and wmOperatorType::poll.
Referenced by file_operatortypes().
| void FILE_OT_reset_recent | ( | wmOperatorType * | ot | ) |
Definition at line 1345 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_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 600 of file file_ops.c.
References wmOperatorType::description, ED_operator_file_active(), file_select_invoke(), wmOperatorType::idname, wmOperatorType::invoke, wmOperatorType::name, ot, wmOperatorType::poll, PROP_SKIP_SAVE, RNA_def_boolean(), RNA_def_property_flag(), and wmOperatorType::srna.
Referenced by file_operatortypes().
| void FILE_OT_select_all | ( | wmOperatorType * | ot | ) |
Definition at line 947 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 1041 of file file_ops.c.
References bookmark_select_exec(), wmOperatorType::description, ED_operator_file_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 514 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 858 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 2173 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 1469 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 2892 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 999 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 1888 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 1928 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 1851 of file file_ops.c.
References C, CTX_data_scene(), 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 2727 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 2713 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 2692 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(), and file_rename_invoke().
|
static |
Definition at line 347 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(), and file_select_invoke().
|
static |
Definition at line 890 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 187 of file file_ops.c.
References BKE_main_blendfile_path(), BLI_path_normalize_dir(), BLI_path_parent_dir(), BLI_path_slash_ensure(), 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 539 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_deselect_all(), FILE_SEL_ADD, FILE_SEL_REMOVE, FILE_SEL_SELECTED, FILE_SEL_TOGGLE, file_select(), FILE_SELECT_DIR, FILE_SELECT_FILE, FILE_SELECT_NOTHING, filelist_entry_parent_select_set(), 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, params, wmOperator::ptr, ARegion::regiontype, ret, RGN_TYPE_WINDOW, RNA_boolean_get(), ARegion::v2d, WM_event_add_mousemove(), WM_event_add_notifier(), rcti::xmax, rcti::xmin, rcti::ymax, and rcti::ymin.
Referenced by FILE_OT_select().
|
static |
Definition at line 148 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().
| void file_sfile_filepath_set | ( | SpaceFile * | sfile, |
| const char * | filepath | ||
| ) |
Use to set the file selector path from some arbitrary source.
Definition at line 1645 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 1607 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 1532 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_exec(), and file_sfile_to_operator().
|
static |
Definition at line 2000 of file file_ops.c.
References 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_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_event_remove_timer(), 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 2870 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 968 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 760 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 842 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 642 of file file_ops.c.
References blender::compositor::active, BLI_assert, CHECK_ALL, ED_fileselect_get_active_params(), ELEM, file_deselect_all(), file_ensure_inside_viewbounds(), FILE_SEL_ADD, FILE_SEL_REMOVE, FILE_SEL_SELECTED, 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 2625 of file file_ops.c.
References add(), BLI_path_sequence_decode(), BLI_path_sequence_encode(), BLI_strncpy(), KDL::exp(), and FILE_MAXFILE.
Referenced by file_filenum_exec().
|
static |
Definition at line 2192 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 76 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 1 if successful, 0 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 2242 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 1326 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().