panel 731 src/filemanager/achown.c advanced_chown_dlg_create (WPanel *panel) panel 745 src/filemanager/achown.c single_set = (panel->marked < 2); panel 920 src/filemanager/achown.c do_advanced_chown (WPanel *panel, const vfs_path_t *p, mode_t m, uid_t u, gid_t g) panel 926 src/filemanager/achown.c do_file_mark (panel, current_file, 0); panel 934 src/filemanager/achown.c apply_advanced_chowns (WPanel *panel, vfs_path_t *vpath, struct stat *sf) panel 940 src/filemanager/achown.c if (!do_advanced_chown (panel, vpath, get_mode (), panel 949 src/filemanager/achown.c fname = panel_find_marked_file (panel, ¤t_file); panel 957 src/filemanager/achown.c do_file_mark (panel, current_file, 0); panel 966 src/filemanager/achown.c ok = do_advanced_chown (panel, vpath, get_mode (), panel 973 src/filemanager/achown.c while (ok && panel->marked != 0); panel 981 src/filemanager/achown.c advanced_chown_cmd (WPanel *panel) panel 989 src/filemanager/achown.c files_on_begin = MAX (1, panel->marked); panel 1009 src/filemanager/achown.c fname = panel_get_marked_file (panel, ¤t_file); panel 1023 src/filemanager/achown.c ch_dlg = advanced_chown_dlg_create (panel); panel 1025 src/filemanager/achown.c file_idx = files_on_begin == 1 ? 1 : (files_on_begin - panel->marked + 1); panel 1044 src/filemanager/achown.c if (panel->marked <= 1) panel 1069 src/filemanager/achown.c apply_advanced_chowns (panel, vpath, &sf_stat); panel 1079 src/filemanager/achown.c if (panel->marked != 0 && result != B_CANCEL) panel 1081 src/filemanager/achown.c do_file_mark (panel, current_file, 0); panel 1089 src/filemanager/achown.c while (panel->marked != 0 && !end_chown); panel 762 src/filemanager/boxes.c panel_listing_box (WPanel *panel, int num, char **userp, char **minip, gboolean *use_msformat, panel 768 src/filemanager/boxes.c if (panel == NULL) panel 771 src/filemanager/boxes.c panel = panel_empty_new (p); panel 799 src/filemanager/boxes.c QUICK_INPUT (panel->user_format, "user-fmt-input", &panel_user_format, panel 803 src/filemanager/boxes.c QUICK_INPUT (panel->user_status_format[panel->list_format], "mini_input", panel 817 src/filemanager/boxes.c user_mini_status = panel->user_mini_status; panel 818 src/filemanager/boxes.c result = panel->list_format; panel 819 src/filemanager/boxes.c status_format = panel->user_status_format; panel 821 src/filemanager/boxes.c g_snprintf (panel_brief_cols_in, sizeof (panel_brief_cols_in), "%d", panel->brief_cols); panel 823 src/filemanager/boxes.c if ((int) panel->list_format != panel_list_brief_idx) panel 826 src/filemanager/boxes.c if ((int) panel->list_format != panel_list_user_idx) panel 847 src/filemanager/boxes.c *brief_cols = panel->brief_cols; panel 857 src/filemanager/boxes.c g_free (panel->user_format); panel 859 src/filemanager/boxes.c g_free (panel->user_status_format[i]); panel 860 src/filemanager/boxes.c g_free (panel); panel 1218 src/filemanager/boxes.c cd_box (const WPanel *panel) panel 1220 src/filemanager/boxes.c const Widget *w = CONST_WIDGET (panel); panel 31 src/filemanager/boxes.h char *cd_box (const WPanel * panel); panel 958 src/filemanager/chattr.c chattr_dlg_create (WPanel *panel, const char *fname, unsigned long attr) panel 960 src/filemanager/chattr.c Widget *mw = WIDGET (WIDGET (panel)->owner); panel 979 src/filemanager/chattr.c single_set = (panel->marked < 2); panel 1137 src/filemanager/chattr.c do_chattr (WPanel *panel, const vfs_path_t *p, unsigned long m) panel 1146 src/filemanager/chattr.c do_file_mark (panel, current_file, 0); panel 1154 src/filemanager/chattr.c chattr_apply_mask (WPanel *panel, vfs_path_t *vpath, unsigned long m) panel 1158 src/filemanager/chattr.c if (!do_chattr (panel, vpath, m)) panel 1165 src/filemanager/chattr.c fname = panel_find_marked_file (panel, ¤t_file); panel 1173 src/filemanager/chattr.c do_file_mark (panel, current_file, 0); panel 1181 src/filemanager/chattr.c ok = do_chattr (panel, vpath, m); panel 1185 src/filemanager/chattr.c while (ok && panel->marked != 0); panel 1193 src/filemanager/chattr.c chattr_cmd (WPanel *panel) panel 1216 src/filemanager/chattr.c fname = panel_get_marked_file (panel, ¤t_file); panel 1232 src/filemanager/chattr.c ch_dlg = chattr_dlg_create (panel, fname->str, flags); panel 1245 src/filemanager/chattr.c if (panel->marked <= 1) panel 1278 src/filemanager/chattr.c chattr_apply_mask (panel, vpath, flags); panel 1291 src/filemanager/chattr.c chattr_apply_mask (panel, vpath, flags); panel 1304 src/filemanager/chattr.c chattr_apply_mask (panel, vpath, flags); panel 1313 src/filemanager/chattr.c if (panel->marked != 0 && result != B_CANCEL) panel 1315 src/filemanager/chattr.c do_file_mark (panel, current_file, 0); panel 1322 src/filemanager/chattr.c while (panel->marked != 0 && !end_chattr); panel 303 src/filemanager/chmod.c chmod_dlg_create (WPanel *panel, const char *fname, const struct stat *sf_stat) panel 317 src/filemanager/chmod.c single_set = (panel->marked < 2); panel 460 src/filemanager/chmod.c do_chmod (WPanel *panel, const vfs_path_t *p, struct stat *sf) panel 469 src/filemanager/chmod.c do_file_mark (panel, current_file, 0); panel 477 src/filemanager/chmod.c apply_mask (WPanel *panel, vfs_path_t *vpath, struct stat *sf) panel 481 src/filemanager/chmod.c if (!do_chmod (panel, vpath, sf)) panel 488 src/filemanager/chmod.c fname = panel_find_marked_file (panel, ¤t_file); panel 496 src/filemanager/chmod.c do_file_mark (panel, current_file, 0); panel 505 src/filemanager/chmod.c ok = do_chmod (panel, vpath, sf); panel 510 src/filemanager/chmod.c while (ok && panel->marked != 0); panel 518 src/filemanager/chmod.c chmod_cmd (WPanel *panel) panel 541 src/filemanager/chmod.c fname = panel_get_marked_file (panel, ¤t_file); panel 555 src/filemanager/chmod.c ch_dlg = chmod_dlg_create (panel, fname->str, &sf_stat); panel 567 src/filemanager/chmod.c if (panel->marked <= 1) panel 600 src/filemanager/chmod.c apply_mask (panel, vpath, &sf_stat); panel 613 src/filemanager/chmod.c apply_mask (panel, vpath, &sf_stat); panel 626 src/filemanager/chmod.c apply_mask (panel, vpath, &sf_stat); panel 635 src/filemanager/chmod.c if (panel->marked != 0 && result != B_CANCEL) panel 637 src/filemanager/chmod.c do_file_mark (panel, current_file, 0); panel 645 src/filemanager/chmod.c while (panel->marked != 0 && !end_chmod); panel 188 src/filemanager/chown.c chown_dlg_create (WPanel *panel) panel 198 src/filemanager/chown.c single_set = (panel->marked < 2) ? 3 : 0; panel 332 src/filemanager/chown.c do_chown (WPanel *panel, const vfs_path_t *p, uid_t u, gid_t g) panel 338 src/filemanager/chown.c do_file_mark (panel, current_file, 0); panel 346 src/filemanager/chown.c apply_chowns (WPanel *panel, vfs_path_t *vpath, uid_t u, gid_t g) panel 350 src/filemanager/chown.c if (!do_chown (panel, vpath, u, g)) panel 358 src/filemanager/chown.c fname = panel_find_marked_file (panel, ¤t_file); panel 366 src/filemanager/chown.c do_file_mark (panel, current_file, 0); panel 372 src/filemanager/chown.c ok = do_chown (panel, vpath, u, g); panel 376 src/filemanager/chown.c while (ok && panel->marked != 0); panel 384 src/filemanager/chown.c chown_cmd (WPanel *panel) panel 410 src/filemanager/chown.c fname = panel_get_marked_file (panel, ¤t_file); panel 422 src/filemanager/chown.c ch_dlg = chown_dlg_create (panel); panel 460 src/filemanager/chown.c if (panel->marked <= 1) panel 477 src/filemanager/chown.c apply_chowns (panel, vpath, new_user, new_group); panel 495 src/filemanager/chown.c apply_chowns (panel, vpath, new_user, new_group); panel 512 src/filemanager/chown.c apply_chowns (panel, vpath, new_user, new_group); panel 523 src/filemanager/chown.c if (panel->marked != 0 && result != B_CANCEL) panel 525 src/filemanager/chown.c do_file_mark (panel, current_file, 0); panel 533 src/filemanager/chown.c while (panel->marked != 0 && !end_chown); panel 123 src/filemanager/cmd.c do_view_cmd (WPanel *panel, gboolean plain_view) panel 127 src/filemanager/cmd.c fe = panel_current_entry (panel); panel 136 src/filemanager/cmd.c if (confirm_view_dir && (panel->marked != 0 || panel->dirs_marked != 0) && panel 142 src/filemanager/cmd.c if (!panel_cd (panel, fname_vpath, cd_exact)) panel 211 src/filemanager/cmd.c compare_dir (WPanel *panel, const WPanel *other, enum CompareMode mode) panel 216 src/filemanager/cmd.c panel->marked = 0; panel 217 src/filemanager/cmd.c panel->total = 0; panel 218 src/filemanager/cmd.c panel->dirs_marked = 0; panel 221 src/filemanager/cmd.c for (i = 0; i < panel->dir.len; i++) panel 223 src/filemanager/cmd.c file_entry_t *source = &panel->dir.list[i]; panel 227 src/filemanager/cmd.c file_mark (panel, i, 0); panel 234 src/filemanager/cmd.c if (panel->is_panelized) panel 252 src/filemanager/cmd.c do_file_mark (panel, i, 1); panel 266 src/filemanager/cmd.c do_file_mark (panel, i, 1); panel 278 src/filemanager/cmd.c do_file_mark (panel, i, 1); panel 288 src/filemanager/cmd.c vfs_path_append_new (panel->cwd_vpath, source->fname->str, (char *) NULL); panel 292 src/filemanager/cmd.c do_file_mark (panel, i, 1); panel 570 src/filemanager/cmd.c view_cmd (WPanel *panel) panel 572 src/filemanager/cmd.c do_view_cmd (panel, FALSE); panel 579 src/filemanager/cmd.c view_file_cmd (const WPanel *panel) panel 585 src/filemanager/cmd.c fe = panel_current_entry (panel); panel 604 src/filemanager/cmd.c view_raw_cmd (WPanel *panel) panel 606 src/filemanager/cmd.c do_view_cmd (panel, TRUE); panel 612 src/filemanager/cmd.c view_filtered_cmd (const WPanel *panel) panel 621 src/filemanager/cmd.c fe = panel_current_entry (panel); panel 688 src/filemanager/cmd.c edit_cmd (const WPanel *panel) panel 693 src/filemanager/cmd.c fe = panel_current_entry (panel); panel 707 src/filemanager/cmd.c edit_cmd_force_internal (const WPanel *panel) panel 712 src/filemanager/cmd.c fe = panel_current_entry (panel); panel 756 src/filemanager/cmd.c mkdir_cmd (WPanel *panel) panel 762 src/filemanager/cmd.c fe = panel_current_entry (panel); panel 790 src/filemanager/cmd.c absdir = vfs_path_append_new (panel->cwd_vpath, tmpdir, (char *) NULL); panel 801 src/filemanager/cmd.c select_item (panel); panel 968 src/filemanager/cmd.c hotlist_cmd (WPanel *panel) panel 972 src/filemanager/cmd.c target = hotlist_show (LIST_HOTLIST, panel); panel 1002 src/filemanager/cmd.c vfs_list (WPanel *panel) panel 1007 src/filemanager/cmd.c target = hotlist_show (LIST_VFSLIST, panel); panel 1223 src/filemanager/cmd.c quick_cd_cmd (WPanel *panel) panel 1227 src/filemanager/cmd.c p = cd_box (panel); panel 1245 src/filemanager/cmd.c smart_dirsize_cmd (WPanel *panel) panel 1249 src/filemanager/cmd.c entry = panel_current_entry (panel); panel 1251 src/filemanager/cmd.c || panel->dirs_marked) panel 1252 src/filemanager/cmd.c dirsizes_cmd (panel); panel 1254 src/filemanager/cmd.c single_dirsize_cmd (panel); panel 1260 src/filemanager/cmd.c single_dirsize_cmd (WPanel *panel) panel 1264 src/filemanager/cmd.c entry = panel_current_entry (panel); panel 1292 src/filemanager/cmd.c send_message (panel, NULL, MSG_ACTION, CK_Down, NULL); panel 1294 src/filemanager/cmd.c recalculate_panel_summary (panel); panel 1296 src/filemanager/cmd.c if (panel->sort_field->sort_routine == (GCompareFunc) sort_size) panel 1297 src/filemanager/cmd.c panel_re_sort (panel); panel 1299 src/filemanager/cmd.c panel->dirty = TRUE; panel 1305 src/filemanager/cmd.c dirsizes_cmd (WPanel *panel) panel 1314 src/filemanager/cmd.c for (i = 0; i < panel->dir.len; i++) panel 1315 src/filemanager/cmd.c if (S_ISDIR (panel->dir.list[i].st.st_mode) panel 1316 src/filemanager/cmd.c && ((panel->dirs_marked != 0 && panel->dir.list[i].f.marked != 0) panel 1317 src/filemanager/cmd.c || panel->dirs_marked == 0) && !DIR_IS_DOTDOT (panel->dir.list[i].fname->str)) panel 1325 src/filemanager/cmd.c p = vfs_path_from_str (panel->dir.list[i].fname->str); panel 1331 src/filemanager/cmd.c panel->dir.list[i].st.st_size = (off_t) total; panel 1332 src/filemanager/cmd.c panel->dir.list[i].f.dir_size_computed = 1; panel 1337 src/filemanager/cmd.c recalculate_panel_summary (panel); panel 1339 src/filemanager/cmd.c if (panel->sort_field->sort_routine == (GCompareFunc) sort_size) panel 1340 src/filemanager/cmd.c panel_re_sort (panel); panel 1342 src/filemanager/cmd.c panel->dirty = TRUE; panel 43 src/filemanager/cmd.h void smart_dirsize_cmd (WPanel * panel); panel 44 src/filemanager/cmd.h void single_dirsize_cmd (WPanel * panel); panel 45 src/filemanager/cmd.h void dirsizes_cmd (WPanel * panel); panel 50 src/filemanager/cmd.h void view_cmd (WPanel * panel); panel 51 src/filemanager/cmd.h void view_file_cmd (const WPanel * panel); panel 52 src/filemanager/cmd.h void view_raw_cmd (WPanel * panel); panel 53 src/filemanager/cmd.h void view_filtered_cmd (const WPanel * panel); panel 55 src/filemanager/cmd.h void edit_cmd (const WPanel * panel); panel 58 src/filemanager/cmd.h void edit_cmd_force_internal (const WPanel * panel); panel 60 src/filemanager/cmd.h void mkdir_cmd (WPanel * panel); panel 62 src/filemanager/cmd.h void vfs_list (WPanel * panel); panel 66 src/filemanager/cmd.h void hotlist_cmd (WPanel * panel); panel 75 src/filemanager/cmd.h void quick_cd_cmd (WPanel * panel); panel 87 src/filemanager/cmd.h void advanced_chown_cmd (WPanel * panel); panel 89 src/filemanager/cmd.h void chmod_cmd (WPanel * panel); panel 91 src/filemanager/cmd.h void chown_cmd (WPanel * panel); panel 94 src/filemanager/cmd.h void chattr_cmd (WPanel * panel); panel 98 src/filemanager/cmd.h void find_cmd (WPanel * panel); panel 109 src/filemanager/cmd.h copy_cmd (WPanel *panel) panel 111 src/filemanager/cmd.h panel_operate (panel, OP_COPY, FALSE); panel 120 src/filemanager/cmd.h copy_cmd_local (WPanel *panel) panel 122 src/filemanager/cmd.h panel_operate (panel, OP_COPY, TRUE); panel 131 src/filemanager/cmd.h rename_cmd (WPanel *panel) panel 133 src/filemanager/cmd.h panel_operate (panel, OP_MOVE, FALSE); panel 142 src/filemanager/cmd.h rename_cmd_local (WPanel *panel) panel 144 src/filemanager/cmd.h panel_operate (panel, OP_MOVE, TRUE); panel 153 src/filemanager/cmd.h delete_cmd (WPanel *panel) panel 155 src/filemanager/cmd.h panel_operate (panel, OP_DELETE, FALSE); panel 164 src/filemanager/cmd.h delete_cmd_local (WPanel *panel) panel 166 src/filemanager/cmd.h panel_operate (panel, OP_DELETE, TRUE); panel 409 src/filemanager/ext.c exec_extension_cd (WPanel *panel) panel 424 src/filemanager/ext.c panel_cd (panel, p_vpath, cd_parse_command); panel 432 src/filemanager/ext.c exec_extension (WPanel *panel, void *target, const vfs_path_t *filename_vpath, panel 457 src/filemanager/ext.c exec_extension_cd (panel); panel 705 src/filemanager/file.c panel_compute_totals (const WPanel *panel, dirsize_status_msg_t *sm, size_t *ret_count, panel 712 src/filemanager/file.c for (i = 0; i < panel->dir.len; i++) panel 714 src/filemanager/file.c const file_entry_t *fe = &panel->dir.list[i]; panel 727 src/filemanager/file.c p = vfs_path_append_new (panel->cwd_vpath, fe->fname->str, (char *) NULL); panel 748 src/filemanager/file.c panel_operate_init_totals (const WPanel *panel, const vfs_path_t *source, panel 773 src/filemanager/file.c status = panel_compute_totals (panel, &dsm, &ctx->total_count, &ctx->total_bytes, panel 802 src/filemanager/file.c ctx->total_count = panel->marked; panel 803 src/filemanager/file.c ctx->total_bytes = panel->total; panel 1223 src/filemanager/file.c move_file_file (const WPanel *panel, file_op_context_t *ctx, const char *s, const char *d) panel 1332 src/filemanager/file.c if (panel != NULL) panel 1337 src/filemanager/file.c panel_operate_init_totals (panel, src_vpath, &src_stat, ctx, TRUE, panel 1354 src/filemanager/file.c if (panel == NULL) panel 1368 src/filemanager/file.c if (!try_remove_file (ctx, src_vpath, &return_status) && panel == NULL) panel 1601 src/filemanager/file.c do_move_dir_dir (const WPanel *panel, file_op_context_t *ctx, const char *s, const char *d) panel 1616 src/filemanager/file.c if (panel != NULL && file_progress_check_buttons (ctx) == FILE_ABORT) panel 1652 src/filemanager/file.c if (panel != NULL) panel 1657 src/filemanager/file.c panel_operate_init_totals (panel, src_vpath, &src_stat, ctx, TRUE, panel 1709 src/filemanager/file.c if (panel != NULL) panel 1714 src/filemanager/file.c panel_operate_init_totals (panel, src_vpath, &src_stat, ctx, TRUE, panel 1728 src/filemanager/file.c if (panel == NULL) panel 1762 src/filemanager/file.c panel_get_file (const WPanel *panel) panel 1776 src/filemanager/file.c if (panel->marked != 0) panel 1780 src/filemanager/file.c for (i = 0; i < panel->dir.len; i++) panel 1781 src/filemanager/file.c if (panel->dir.list[i].f.marked != 0) panel 1782 src/filemanager/file.c return panel->dir.list[i].fname->str; panel 1785 src/filemanager/file.c fe = panel_current_entry (panel); panel 1793 src/filemanager/file.c check_single_entry (const WPanel *panel, gboolean force_single, struct stat *src_stat) panel 1802 src/filemanager/file.c fe = panel_current_entry (panel); panel 1806 src/filemanager/file.c source = panel_get_file (panel); panel 1829 src/filemanager/file.c if (!panel->is_panelized) panel 1854 src/filemanager/file.c panel_operate_generate_prompt (const WPanel *panel, FileOperation operation, panel 1914 src/filemanager/file.c else if (panel->marked == panel->dirs_marked) panel 1917 src/filemanager/file.c cp = panel->dirs_marked != 0 ? prompt_parts[4] : prompt_parts[1]; panel 1935 src/filemanager/file.c do_confirm_copy_move (const WPanel *panel, gboolean force_single, const char *source, panel 1949 src/filemanager/file.c tmp_dest_dir = vfs_path_as_str (panel->cwd_vpath); panel 1975 src/filemanager/file.c format = panel_operate_generate_prompt (panel, ctx->operation, src_stat); panel 1978 src/filemanager/file.c source != NULL ? source : (const void *) &panel->marked, dest_dir, panel 1990 src/filemanager/file.c do_confirm_erase (const WPanel *panel, const char *source, struct stat *src_stat) panel 2000 src/filemanager/file.c format = panel_operate_generate_prompt (panel, OP_DELETE, src_stat); panel 2003 src/filemanager/file.c g_snprintf (fmd_buf, sizeof (fmd_buf), format, panel->marked); panel 2025 src/filemanager/file.c operate_single_file (const WPanel *panel, file_op_context_t *ctx, const char *src, panel 2035 src/filemanager/file.c src_vpath = vfs_path_append_new (panel->cwd_vpath, src, (char *) NULL); panel 2049 src/filemanager/file.c value = panel_operate_init_totals (panel, src_vpath, src_stat, ctx, !is_file, dialog_type); panel 2076 src/filemanager/file.c panel_operate_init_totals (panel, src_vpath, src_stat, ctx, !is_file, panel 2105 src/filemanager/file.c value = move_file_file (panel, ctx, src, dest); panel 2107 src/filemanager/file.c value = do_move_dir_dir (panel, ctx, src, dest); panel 2127 src/filemanager/file.c operate_one_file (const WPanel *panel, file_op_context_t *ctx, const char *src, panel 2137 src/filemanager/file.c src_vpath = vfs_path_append_new (panel->cwd_vpath, src, (char *) NULL); panel 3493 src/filemanager/file.c WPanel *panel = PANEL (source_panel); panel 3494 src/filemanager/file.c const gboolean single_entry = force_single || (panel->marked <= 1) panel 3525 src/filemanager/file.c source = check_single_entry (panel, force_single, &src_stat); panel 3536 src/filemanager/file.c dest = do_confirm_copy_move (panel, force_single, source, &src_stat, ctx, &do_bg); panel 3545 src/filemanager/file.c else if (confirm_delete && !do_confirm_erase (panel, source, &src_stat)) panel 3561 src/filemanager/file.c vfs_path_as_str (panel->cwd_vpath), (char *) NULL)); panel 3568 src/filemanager/file.c mc_setctl (panel->cwd_vpath, VFS_SETCTL_FORGET, NULL); panel 3585 src/filemanager/file.c && ((fe = panel_current_entry (panel)) == NULL ? FALSE : S_ISDIR (fe->st.st_mode))) panel 3601 src/filemanager/file.c if ((vfs_path_tokens_count (panel->cwd_vpath) != 0) panel 3602 src/filemanager/file.c && (mc_setctl (panel->cwd_vpath, VFS_SETCTL_STALE_DATA, GUINT_TO_POINTER (1)) != 0)) panel 3603 src/filemanager/file.c save_cwd = vfs_path_clone (panel->cwd_vpath); panel 3628 src/filemanager/file.c value = operate_single_file (panel, ctx, source, &src_stat, dest, dialog_type); panel 3630 src/filemanager/file.c unmark_files (panel); panel 3659 src/filemanager/file.c panel_operate_init_totals (panel, NULL, NULL, ctx, file_op_compute_totals, dialog_type); panel 3662 src/filemanager/file.c for (i = 0; i < panel->dir.len; i++) panel 3666 src/filemanager/file.c if (panel->dir.list[i].f.marked == 0) panel 3669 src/filemanager/file.c source2 = panel->dir.list[i].fname->str; panel 3670 src/filemanager/file.c src_stat = panel->dir.list[i].st; panel 3672 src/filemanager/file.c value = operate_one_file (panel, ctx, source2, &src_stat, dest); panel 3677 src/filemanager/file.c do_file_mark (panel, i, 0); panel 467 src/filemanager/filemanager.c check_panel_timestamp (const WPanel *panel, panel_view_mode_t mode, const struct vfs_class *vclass, panel 470 src/filemanager/filemanager.c return (mode != view_listing || (vfs_path_get_last_path_vfs (panel->cwd_vpath) == vclass panel 471 src/filemanager/filemanager.c && vfs_getid (panel->cwd_vpath) == id)); panel 690 src/filemanager/filemanager.c midnight_put_panel_path (WPanel *panel) panel 699 src/filemanager/filemanager.c cwd_vpath = remove_encoding_from_path (panel->cwd_vpath); panel 701 src/filemanager/filemanager.c cwd_vpath = vfs_path_clone (panel->cwd_vpath); panel 717 src/filemanager/filemanager.c put_link (WPanel *panel) panel 724 src/filemanager/filemanager.c fe = panel_current_entry (panel); panel 732 src/filemanager/filemanager.c vpath = vfs_path_append_new (panel->cwd_vpath, fe->fname->str, (char *) NULL); panel 792 src/filemanager/filemanager.c put_tagged (WPanel *panel) panel 799 src/filemanager/filemanager.c if (panel->marked == 0) panel 811 src/filemanager/filemanager.c for (i = 0; i < panel->dir.len; i++) panel 812 src/filemanager/filemanager.c if (panel->dir.list[i].f.marked != 0) panel 813 src/filemanager/filemanager.c command_insert (cmdline, panel->dir.list[i].fname->str, TRUE); panel 576 src/filemanager/find.c find_parameters (WPanel *panel, char **start_dir, ssize_t *start_dir_len, panel 802 src/filemanager/find.c temp_dir = vfs_path_as_str (panel->cwd_vpath); panel 854 src/filemanager/find.c *start_dir = g_strdup (vfs_path_as_str (panel->cwd_vpath)); panel 869 src/filemanager/find.c mc_build_filename (vfs_path_as_str (panel->cwd_vpath), s, (char *) NULL); panel 870 src/filemanager/find.c *start_dir_len = (ssize_t) vfs_path_len (panel->cwd_vpath); panel 1793 src/filemanager/find.c do_find (WPanel *panel, const char *start_dir, ssize_t start_dir_len, const char *ignore_dirs, panel 1821 src/filemanager/find.c dir_list *list = &panel->dir; panel 1825 src/filemanager/find.c panel_clean_dir (panel); panel 1875 src/filemanager/find.c panel->is_panelized = TRUE; panel 1876 src/filemanager/find.c panel_panelize_absolutize_if_needed (panel); panel 1877 src/filemanager/find.c panel_panelize_save (panel); panel 1893 src/filemanager/find.c find_cmd (WPanel *panel) panel 1901 src/filemanager/find.c while (find_parameters (panel, &start_dir, &start_dir_len, panel 1918 src/filemanager/find.c v = do_find (panel, start_dir, start_dir_len, ignore_dirs, &dirname, &filename); panel 1932 src/filemanager/find.c panel_cd (panel, dirname_vpath, cd_exact); panel 1944 src/filemanager/find.c panel_set_current_by_name (panel, filename + offset); panel 1952 src/filemanager/find.c panel_cd (panel, filename_vpath, cd_exact); panel 1966 src/filemanager/find.c panel_re_sort (panel); panel 1967 src/filemanager/find.c panel_set_current_by_name (panel, NULL); panel 221 src/filemanager/hotlist.c static void add_new_entry_cmd (WPanel * panel); panel 1032 src/filemanager/hotlist.c add_new_entry_cmd (WPanel *panel) panel 1038 src/filemanager/hotlist.c to_free = title = url = vfs_path_to_str_flags (panel->cwd_vpath, 0, VPF_STRIP_PASSWORD); panel 1595 src/filemanager/hotlist.c add2hotlist_cmd (WPanel *panel) panel 1607 src/filemanager/hotlist.c our_panel = panel; panel 1610 src/filemanager/hotlist.c label_string = vfs_path_to_str_flags (panel->cwd_vpath, 0, VPF_STRIP_PASSWORD); panel 1632 src/filemanager/hotlist.c hotlist_show (hotlist_t list_type, WPanel *panel) panel 1638 src/filemanager/hotlist.c our_panel = panel; panel 27 src/filemanager/hotlist.h void add2hotlist_cmd (WPanel * panel); panel 28 src/filemanager/hotlist.h char *hotlist_show (hotlist_t list_type, WPanel * panel); panel 1145 src/filemanager/layout.c WPanel *panel = PANEL (w); panel 1151 src/filemanager/layout.c if (old_type == view_listing && panel->frame_size == frame_full && type != view_listing) panel 1242 src/filemanager/layout.c WPanel *panel = PANEL (new_widget); panel 1253 src/filemanager/layout.c left_panel = panel; panel 1255 src/filemanager/layout.c right_panel = panel; panel 1258 src/filemanager/layout.c set_panel_formats (panel); panel 1295 src/filemanager/layout.c WPanel panel; panel 1297 src/filemanager/layout.c #define panelswap(x) panel.x = panel1->x; panel1->x = panel2->x; panel2->x = panel.x; panel 419 src/filemanager/panel.c set_colors (const WPanel *panel) panel 421 src/filemanager/panel.c (void) panel; panel 829 src/filemanager/panel.c format_file (WPanel *panel, int file_index, int width, file_attr_t attr, gboolean isstatus, panel 840 src/filemanager/panel.c if (panel->dir.len != 0 && file_index < panel->dir.len) panel 842 src/filemanager/panel.c fe = &panel->dir.list[file_index]; panel 846 src/filemanager/panel.c home = isstatus ? panel->status_format : panel->format; panel 868 src/filemanager/panel.c if (!isstatus && panel->content_shift > -1 && strcmp (fi->id, "name") == 0) panel 877 src/filemanager/panel.c panel->max_shift = MAX (panel->max_shift, i); panel 878 src/filemanager/panel.c i = MIN (panel->content_shift, i); panel 905 src/filemanager/panel.c if (!isstatus && panel->content_shift > -1) panel 942 src/filemanager/panel.c repaint_file (WPanel *panel, int file_index, file_attr_t attr) panel 944 src/filemanager/panel.c Widget *w = WIDGET (panel); panel 954 src/filemanager/panel.c panel_is_split = panel->list_cols > 1; panel 959 src/filemanager/panel.c nth_column = (file_index - panel->top) / panel_lines (panel); panel 960 src/filemanager/panel.c width /= panel->list_cols; panel 964 src/filemanager/panel.c if (nth_column + 1 >= panel->list_cols) panel 972 src/filemanager/panel.c ypos = file_index - panel->top; panel 975 src/filemanager/panel.c ypos %= panel_lines (panel); panel 980 src/filemanager/panel.c ret_frm = format_file (panel, file_index, width, attr, FALSE, &fln); panel 982 src/filemanager/panel.c if (panel_is_split && nth_column + 1 < panel->list_cols) panel 992 src/filemanager/panel.c if (panel->list_format != list_long) panel 1008 src/filemanager/panel.c if (nth_column + 1 >= panel->list_cols) panel 1021 src/filemanager/panel.c repaint_status (WPanel *panel) panel 1025 src/filemanager/panel.c width = WIDGET (panel)->rect.cols - 2; panel 1030 src/filemanager/panel.c (void) format_file (panel, panel->current, width, FATTR_STATUS, TRUE, &fln); panel 1037 src/filemanager/panel.c display_mini_info (WPanel *panel) panel 1039 src/filemanager/panel.c Widget *w = WIDGET (panel); panel 1045 src/filemanager/panel.c widget_gotoyx (w, panel_lines (panel) + 3, 1); panel 1047 src/filemanager/panel.c if (panel->quick_search.active) panel 1052 src/filemanager/panel.c (panel->quick_search.buffer->str, w->rect.cols - 3, J_LEFT)); panel 1057 src/filemanager/panel.c set_colors (panel); panel 1059 src/filemanager/panel.c fe = panel_current_entry (panel); panel 1063 src/filemanager/panel.c repaint_status (panel); panel 1070 src/filemanager/panel.c lc_link_vpath = vfs_path_append_new (panel->cwd_vpath, fe->fname->str, (char *) NULL); panel 1092 src/filemanager/panel.c repaint_status (panel); panel 1098 src/filemanager/panel.c paint_dir (WPanel *panel) panel 1103 src/filemanager/panel.c items = panel_items (panel); panel 1105 src/filemanager/panel.c panel->max_shift = -1; panel 1113 src/filemanager/panel.c n = i + panel->top; panel 1114 src/filemanager/panel.c marked = (panel->dir.list[n].f.marked != 0); panel 1116 src/filemanager/panel.c if (n < panel->dir.len) panel 1118 src/filemanager/panel.c if (panel->current == n && panel->active) panel 1124 src/filemanager/panel.c repaint_file (panel, n, attr); panel 1133 src/filemanager/panel.c display_total_marked_size (const WPanel *panel, int y, int x, gboolean size_only) panel 1135 src/filemanager/panel.c const Widget *w = CONST_WIDGET (panel); panel 1141 src/filemanager/panel.c if (panel->marked <= 0) panel 1147 src/filemanager/panel.c g_strlcpy (b_bytes, size_trunc_sep (panel->total, panels_options.kilobyte_si), panel 1152 src/filemanager/panel.c ngettext ("%s in %d file", "%s in %d files", panel->marked), panel 1153 src/filemanager/panel.c b_bytes, panel->marked); panel 1174 src/filemanager/panel.c mini_info_separator (const WPanel *panel) panel 1178 src/filemanager/panel.c const Widget *w = CONST_WIDGET (panel); panel 1181 src/filemanager/panel.c y = panel_lines (panel) + 2; panel 1187 src/filemanager/panel.c display_total_marked_size (panel, y, -1, FALSE); panel 1194 src/filemanager/panel.c show_free_space (const WPanel *panel) panel 1202 src/filemanager/panel.c if (!vfs_file_is_local (panel->cwd_vpath) || !free_space) panel 1205 src/filemanager/panel.c if (old_cwd == NULL || strcmp (old_cwd, vfs_path_as_str (panel->cwd_vpath)) != 0) panel 1211 src/filemanager/panel.c old_cwd = g_strdup (vfs_path_as_str (panel->cwd_vpath)); panel 1221 src/filemanager/panel.c const Widget *w = CONST_WIDGET (panel); panel 1248 src/filemanager/panel.c panel_correct_path_to_show (const WPanel *panel) panel 1255 src/filemanager/panel.c elements_count = vfs_path_elements_count (panel->cwd_vpath); panel 1258 src/filemanager/panel.c path_element = vfs_path_element_clone (vfs_path_get_by_index (panel->cwd_vpath, -1)); panel 1268 src/filemanager/panel.c prev_path_element = vfs_path_get_by_index (panel->cwd_vpath, -2); panel 1301 src/filemanager/panel.c panel_get_encoding_info_str (const WPanel *panel) panel 1306 src/filemanager/panel.c path_element = vfs_path_get_by_index (panel->cwd_vpath, -1); panel 1317 src/filemanager/panel.c show_dir (const WPanel *panel) panel 1319 src/filemanager/panel.c const Widget *w = CONST_WIDGET (panel); panel 1322 src/filemanager/panel.c set_colors (panel); panel 1329 src/filemanager/panel.c y = panel_lines (panel) + 2; panel 1351 src/filemanager/panel.c if (panel->is_panelized) panel 1356 src/filemanager/panel.c tmp = panel_get_encoding_info_str (panel); panel 1366 src/filemanager/panel.c if (panel->active) panel 1369 src/filemanager/panel.c tmp = panel_correct_path_to_show (panel); panel 1375 src/filemanager/panel.c if (panel->marked == 0) panel 1379 src/filemanager/panel.c fe = panel_current_entry (panel); panel 1397 src/filemanager/panel.c display_total_marked_size (panel, w->rect.lines - 1, 2, TRUE); panel 1401 src/filemanager/panel.c show_free_space (panel); panel 1403 src/filemanager/panel.c if (panel->active) panel 1410 src/filemanager/panel.c adjust_top_file (WPanel *panel) panel 1414 src/filemanager/panel.c items = panel_items (panel); panel 1416 src/filemanager/panel.c if (panel->dir.len <= items || panel->current < 0) panel 1420 src/filemanager/panel.c panel->top = 0; panel 1427 src/filemanager/panel.c panel->current = CLAMP (panel->current, 0, panel->dir.len - 1); panel 1435 src/filemanager/panel.c if (panel->top < 0) panel 1436 src/filemanager/panel.c panel->top = 0; panel 1438 src/filemanager/panel.c i = panel->current - items + 1; panel 1439 src/filemanager/panel.c if (panel->top < i) panel 1440 src/filemanager/panel.c panel->top = i; panel 1442 src/filemanager/panel.c i = panel->dir.len - items; panel 1443 src/filemanager/panel.c if (panel->top > i) panel 1444 src/filemanager/panel.c panel->top = i; panel 1446 src/filemanager/panel.c if (panel->top > panel->current) panel 1447 src/filemanager/panel.c panel->top = panel->current; panel 1459 src/filemanager/panel.c panel_save_name (WPanel *panel) panel 1463 src/filemanager/panel.c return g_strdup (panel->name); panel 1465 src/filemanager/panel.c return g_strconcat ("Temporal:", panel->name, (char *) NULL); panel 1471 src/filemanager/panel.c directory_history_add (WPanel *panel, const vfs_path_t *vpath) panel 1476 src/filemanager/panel.c panel->dir_history.list = list_append_unique (panel->dir_history.list, tmp); panel 1477 src/filemanager/panel.c panel->dir_history.current = panel->dir_history.list; panel 1578 src/filemanager/panel.c panel_paint_sort_info (const WPanel *panel) panel 1580 src/filemanager/panel.c if (*panel->sort_field->hotkey != '\0') panel 1583 src/filemanager/panel.c panel->sort_info.reverse ? panel_sort_up_char : panel_sort_down_char; panel 1586 src/filemanager/panel.c str = g_strdup_printf ("%s%s", sort_sign, Q_ (panel->sort_field->hotkey)); panel 1587 src/filemanager/panel.c widget_gotoyx (panel, 1, 1); panel 1619 src/filemanager/panel.c panel_print_header (const WPanel *panel) panel 1621 src/filemanager/panel.c const Widget *w = CONST_WIDGET (panel); panel 1634 src/filemanager/panel.c for (i = 0; i < panel->list_cols; i++) panel 1638 src/filemanager/panel.c for (format = panel->format; format != NULL; format = g_slist_next (format)) panel 1646 src/filemanager/panel.c if (panel->list_format == list_long && strcmp (fi->id, panel->sort_field->id) == 0) panel 1648 src/filemanager/panel.c panel->sort_info.reverse panel 1653 src/filemanager/panel.c if (panel->filter.handler != NULL && strcmp (fi->id, "name") == 0) panel 1656 src/filemanager/panel.c g_string_append (format_txt, panel->filter.value); panel 1670 src/filemanager/panel.c if (i < panel->list_cols - 1) panel 1679 src/filemanager/panel.c if (panel->list_format != list_long) panel 1680 src/filemanager/panel.c panel_paint_sort_info (panel); panel 1686 src/filemanager/panel.c parse_panel_size (WPanel *panel, const char *format, gboolean isstatus) panel 1705 src/filemanager/panel.c panel->frame_size = frame; panel 1706 src/filemanager/panel.c panel->list_cols = 1; panel 1716 src/filemanager/panel.c panel->list_cols = g_ascii_digit_value (*format); panel 1717 src/filemanager/panel.c if (panel->list_cols < 1) panel 1718 src/filemanager/panel.c panel->list_cols = 1; panel 1725 src/filemanager/panel.c panel_update_cols (WIDGET (panel), panel->frame_size); panel 1750 src/filemanager/panel.c parse_display_format (WPanel *panel, const char *format, char **error, gboolean isstatus, panel 1774 src/filemanager/panel.c format = parse_panel_size (panel, format, isstatus); panel 1888 src/filemanager/panel.c use_display_format (WPanel *panel, const char *format, char **error, gboolean isstatus) panel 1899 src/filemanager/panel.c home = parse_display_format (panel, format, error, isstatus, &total_cols); panel 1904 src/filemanager/panel.c panel->dirty = TRUE; panel 1906 src/filemanager/panel.c usable_columns = WIDGET (panel)->rect.cols - 2; panel 1910 src/filemanager/panel.c usable_columns /= panel->list_cols; panel 1911 src/filemanager/panel.c if (panel->list_cols > 1) panel 1981 src/filemanager/panel.c panel_format (WPanel *panel) panel 1983 src/filemanager/panel.c switch (panel->list_format) panel 1991 src/filemanager/panel.c int brief_cols = panel->brief_cols; panel 2004 src/filemanager/panel.c return panel->user_format; panel 2015 src/filemanager/panel.c mini_status_format (WPanel *panel) panel 2017 src/filemanager/panel.c if (panel->user_mini_status) panel 2018 src/filemanager/panel.c return panel->user_status_format[panel->list_format]; panel 2020 src/filemanager/panel.c switch (panel->list_format) panel 2033 src/filemanager/panel.c return panel->user_format; panel 2044 src/filemanager/panel.c cd_up_dir (WPanel *panel) panel 2049 src/filemanager/panel.c panel_cd (panel, up_dir, cd_exact); panel 2057 src/filemanager/panel.c maybe_cd (WPanel *panel, gboolean move_up_dir) panel 2065 src/filemanager/panel.c cd_up_dir (panel); panel 2069 src/filemanager/panel.c fe = panel_current_entry (panel); panel 2076 src/filemanager/panel.c panel_cd (panel, vpath, cd_exact); panel 2089 src/filemanager/panel.c force_maybe_cd (WPanel *panel) panel 2093 src/filemanager/panel.c cd_up_dir (panel); panel 2103 src/filemanager/panel.c unselect_item (WPanel *panel) panel 2107 src/filemanager/panel.c fe = panel_current_entry (panel); panel 2108 src/filemanager/panel.c repaint_file (panel, panel->current, panel 2116 src/filemanager/panel.c panel_select_ext_cmd (WPanel *panel) panel 2124 src/filemanager/panel.c fe = panel_current_entry (panel); panel 2142 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) panel 2144 src/filemanager/panel.c fe = &panel->dir.list[i]; panel 2152 src/filemanager/panel.c do_file_mark (panel, i, do_select ? 1 : 0); panel 2162 src/filemanager/panel.c panel_set_current (WPanel *panel, int i) panel 2164 src/filemanager/panel.c if (i != panel->current) panel 2166 src/filemanager/panel.c panel->dirty = TRUE; panel 2167 src/filemanager/panel.c panel->current = i; panel 2168 src/filemanager/panel.c panel->top = panel->current - (WIDGET (panel)->rect.lines - 2) / 2; panel 2169 src/filemanager/panel.c if (panel->top < 0) panel 2170 src/filemanager/panel.c panel->top = 0; panel 2177 src/filemanager/panel.c panel_current_at_half (const WPanel *panel) panel 2181 src/filemanager/panel.c lines = panel_lines (panel); panel 2184 src/filemanager/panel.c top = panel->top; panel 2185 src/filemanager/panel.c if (panel->list_cols > 1) panel 2186 src/filemanager/panel.c top += lines * ((panel->current - top) / lines); panel 2188 src/filemanager/panel.c return (panel->current - top - lines / 2); panel 2194 src/filemanager/panel.c move_down (WPanel *panel) panel 2198 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current + 1 == panel->dir.len) panel 2201 src/filemanager/panel.c unselect_item (panel); panel 2202 src/filemanager/panel.c panel->current++; panel 2204 src/filemanager/panel.c items = panel_items (panel); panel 2206 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current - panel->top == items) panel 2209 src/filemanager/panel.c panel->top += items / 2; panel 2210 src/filemanager/panel.c if (panel->top > panel->dir.len - items) panel 2211 src/filemanager/panel.c panel->top = panel->dir.len - items; panel 2212 src/filemanager/panel.c paint_dir (panel); panel 2214 src/filemanager/panel.c else if (panels_options.scroll_center && panel_current_at_half (panel) > 0) panel 2217 src/filemanager/panel.c panel->top++; panel 2218 src/filemanager/panel.c if (panel->top > panel->dir.len - items) panel 2219 src/filemanager/panel.c panel->top = panel->dir.len - items; panel 2221 src/filemanager/panel.c select_item (panel); panel 2227 src/filemanager/panel.c move_up (WPanel *panel) panel 2229 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current <= 0) panel 2232 src/filemanager/panel.c unselect_item (panel); panel 2233 src/filemanager/panel.c panel->current--; panel 2235 src/filemanager/panel.c if (panels_options.scroll_pages && panel->current < panel->top) panel 2238 src/filemanager/panel.c panel->top -= panel_items (panel) / 2; panel 2239 src/filemanager/panel.c if (panel->top < 0) panel 2240 src/filemanager/panel.c panel->top = 0; panel 2241 src/filemanager/panel.c paint_dir (panel); panel 2243 src/filemanager/panel.c else if (panels_options.scroll_center && panel_current_at_half (panel) < 0) panel 2246 src/filemanager/panel.c panel->top--; panel 2247 src/filemanager/panel.c if (panel->top < 0) panel 2248 src/filemanager/panel.c panel->top = 0; panel 2250 src/filemanager/panel.c select_item (panel); panel 2257 src/filemanager/panel.c panel_move_current (WPanel *panel, int lines) panel 2262 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) panel 2265 src/filemanager/panel.c new_pos = panel->current + lines; panel 2266 src/filemanager/panel.c if (new_pos >= panel->dir.len) panel 2267 src/filemanager/panel.c new_pos = panel->dir.len - 1; panel 2272 src/filemanager/panel.c unselect_item (panel); panel 2273 src/filemanager/panel.c panel->current = new_pos; panel 2275 src/filemanager/panel.c if (panel->current - panel->top >= panel_items (panel)) panel 2277 src/filemanager/panel.c panel->top += lines; panel 2281 src/filemanager/panel.c if (panel->current - panel->top < 0) panel 2283 src/filemanager/panel.c panel->top += lines; panel 2289 src/filemanager/panel.c if (panel->top > panel->current) panel 2290 src/filemanager/panel.c panel->top = panel->current; panel 2291 src/filemanager/panel.c if (panel->top < 0) panel 2292 src/filemanager/panel.c panel->top = 0; panel 2293 src/filemanager/panel.c paint_dir (panel); panel 2295 src/filemanager/panel.c select_item (panel); panel 2301 src/filemanager/panel.c move_left (WPanel *panel) panel 2303 src/filemanager/panel.c if (panel->list_cols > 1) panel 2305 src/filemanager/panel.c panel_move_current (panel, -panel_lines (panel)); panel 2309 src/filemanager/panel.c return maybe_cd (panel, TRUE); /* cd .. */ panel 2315 src/filemanager/panel.c move_right (WPanel *panel) panel 2317 src/filemanager/panel.c if (panel->list_cols > 1) panel 2319 src/filemanager/panel.c panel_move_current (panel, panel_lines (panel)); panel 2323 src/filemanager/panel.c return maybe_cd (panel, FALSE); /* cd (current) */ panel 2329 src/filemanager/panel.c prev_page (WPanel *panel) panel 2333 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || (panel->current == 0 && panel->top == 0)) panel 2336 src/filemanager/panel.c unselect_item (panel); panel 2337 src/filemanager/panel.c items = panel_items (panel); panel 2338 src/filemanager/panel.c if (panel->top < items) panel 2339 src/filemanager/panel.c items = panel->top; panel 2341 src/filemanager/panel.c panel->current = 0; panel 2343 src/filemanager/panel.c panel->current -= items; panel 2344 src/filemanager/panel.c panel->top -= items; panel 2346 src/filemanager/panel.c select_item (panel); panel 2347 src/filemanager/panel.c paint_dir (panel); panel 2353 src/filemanager/panel.c goto_parent_dir (WPanel *panel) panel 2355 src/filemanager/panel.c if (!panel->is_panelized) panel 2356 src/filemanager/panel.c cd_up_dir (panel); panel 2364 src/filemanager/panel.c fe = panel_current_entry (panel); panel 2377 src/filemanager/panel.c mc_build_filename (vfs_path_as_str (panel->panelized_descr->root_vpath), fname->str, panel 2393 src/filemanager/panel.c panel_cd (panel, dname_vpath, cd_exact); panel 2394 src/filemanager/panel.c panel_set_current_by_name (panel, bname); panel 2404 src/filemanager/panel.c next_page (WPanel *panel) panel 2408 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || panel->current == panel->dir.len - 1) panel 2411 src/filemanager/panel.c unselect_item (panel); panel 2412 src/filemanager/panel.c items = panel_items (panel); panel 2413 src/filemanager/panel.c if (panel->top > panel->dir.len - 2 * items) panel 2414 src/filemanager/panel.c items = panel->dir.len - items - panel->top; panel 2415 src/filemanager/panel.c if (panel->top + items < 0) panel 2416 src/filemanager/panel.c items = -panel->top; panel 2418 src/filemanager/panel.c panel->current = panel->dir.len - 1; panel 2420 src/filemanager/panel.c panel->current += items; panel 2421 src/filemanager/panel.c panel->top += items; panel 2423 src/filemanager/panel.c select_item (panel); panel 2424 src/filemanager/panel.c paint_dir (panel); panel 2430 src/filemanager/panel.c goto_child_dir (WPanel *panel) panel 2434 src/filemanager/panel.c fe = panel_current_entry (panel); panel 2441 src/filemanager/panel.c panel_cd (panel, vpath, cd_exact); panel 2449 src/filemanager/panel.c goto_top_file (WPanel *panel) panel 2451 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) panel 2454 src/filemanager/panel.c unselect_item (panel); panel 2455 src/filemanager/panel.c panel->current = panel->top; panel 2456 src/filemanager/panel.c select_item (panel); panel 2462 src/filemanager/panel.c goto_middle_file (WPanel *panel) panel 2464 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) panel 2467 src/filemanager/panel.c unselect_item (panel); panel 2468 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) / 2; panel 2469 src/filemanager/panel.c select_item (panel); panel 2475 src/filemanager/panel.c goto_bottom_file (WPanel *panel) panel 2477 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0) panel 2480 src/filemanager/panel.c unselect_item (panel); panel 2481 src/filemanager/panel.c panel->current = panel->top + panel_items (panel) - 1; panel 2482 src/filemanager/panel.c select_item (panel); panel 2488 src/filemanager/panel.c move_home (WPanel *panel) panel 2490 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current <= 0) panel 2493 src/filemanager/panel.c unselect_item (panel); panel 2499 src/filemanager/panel.c middle_pos = panel->top + panel_items (panel) / 2; panel 2501 src/filemanager/panel.c if (panel->current > middle_pos) panel 2503 src/filemanager/panel.c goto_middle_file (panel); panel 2506 src/filemanager/panel.c if (panel->current != panel->top) panel 2508 src/filemanager/panel.c goto_top_file (panel); panel 2513 src/filemanager/panel.c panel->top = 0; panel 2514 src/filemanager/panel.c panel->current = 0; panel 2516 src/filemanager/panel.c paint_dir (panel); panel 2517 src/filemanager/panel.c select_item (panel); panel 2523 src/filemanager/panel.c move_end (WPanel *panel) panel 2525 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || panel->current == panel->dir.len - 1) panel 2528 src/filemanager/panel.c unselect_item (panel); panel 2534 src/filemanager/panel.c items = panel_items (panel); panel 2535 src/filemanager/panel.c middle_pos = panel->top + items / 2; panel 2537 src/filemanager/panel.c if (panel->current < middle_pos) panel 2539 src/filemanager/panel.c goto_middle_file (panel); panel 2542 src/filemanager/panel.c if (panel->current != panel->top + items - 1) panel 2544 src/filemanager/panel.c goto_bottom_file (panel); panel 2549 src/filemanager/panel.c panel->current = panel->dir.len - 1; panel 2550 src/filemanager/panel.c paint_dir (panel); panel 2551 src/filemanager/panel.c select_item (panel); panel 2557 src/filemanager/panel.c do_mark_file (WPanel *panel, mark_act_t do_move) panel 2561 src/filemanager/panel.c fe = panel_current_entry (panel); panel 2565 src/filemanager/panel.c do_file_mark (panel, panel->current, fe->f.marked ? 0 : 1); panel 2568 src/filemanager/panel.c move_down (panel); panel 2570 src/filemanager/panel.c move_up (panel); panel 2576 src/filemanager/panel.c mark_file (WPanel *panel) panel 2578 src/filemanager/panel.c do_mark_file (panel, MARK_DOWN); panel 2584 src/filemanager/panel.c mark_file_up (WPanel *panel) panel 2586 src/filemanager/panel.c do_mark_file (panel, MARK_FORCE_UP); panel 2592 src/filemanager/panel.c mark_file_down (WPanel *panel) panel 2594 src/filemanager/panel.c do_mark_file (panel, MARK_FORCE_DOWN); panel 2600 src/filemanager/panel.c mark_file_right (WPanel *panel) panel 2608 src/filemanager/panel.c fe = panel_current_entry (panel); panel 2615 src/filemanager/panel.c lines = panel_lines (panel); panel 2616 src/filemanager/panel.c lines = MIN (lines, panel->dir.len - panel->current - 1); panel 2619 src/filemanager/panel.c do_file_mark (panel, panel->current, state_mark); panel 2620 src/filemanager/panel.c move_down (panel); panel 2622 src/filemanager/panel.c do_file_mark (panel, panel->current, state_mark); panel 2628 src/filemanager/panel.c mark_file_left (WPanel *panel) panel 2636 src/filemanager/panel.c fe = panel_current_entry (panel); panel 2643 src/filemanager/panel.c lines = panel_lines (panel); panel 2644 src/filemanager/panel.c lines = MIN (lines, panel->current + 1); panel 2647 src/filemanager/panel.c do_file_mark (panel, panel->current, state_mark); panel 2648 src/filemanager/panel.c move_up (panel); panel 2650 src/filemanager/panel.c do_file_mark (panel, panel->current, state_mark); panel 2730 src/filemanager/panel.c panel_select_unselect_files (WPanel *panel, const char *title, const char *history_name, panel 2744 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) panel 2746 src/filemanager/panel.c if (DIR_IS_DOTDOT (panel->dir.list[i].fname->str)) panel 2748 src/filemanager/panel.c if (S_ISDIR (panel->dir.list[i].st.st_mode) && files_only) panel 2752 src/filemanager/panel.c (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL)) panel 2753 src/filemanager/panel.c do_file_mark (panel, i, do_select ? 1 : 0); panel 2762 src/filemanager/panel.c panel_select_files (WPanel *panel) panel 2764 src/filemanager/panel.c panel_select_unselect_files (panel, _("Select"), MC_HISTORY_FM_PANEL_SELECT, panel 2771 src/filemanager/panel.c panel_unselect_files (WPanel *panel) panel 2773 src/filemanager/panel.c panel_select_unselect_files (panel, _("Unselect"), MC_HISTORY_FM_PANEL_UNSELECT, panel 2780 src/filemanager/panel.c panel_select_invert_files (WPanel *panel) panel 2784 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) panel 2786 src/filemanager/panel.c file_entry_t *file = &panel->dir.list[i]; panel 2789 src/filemanager/panel.c do_file_mark (panel, i, file->f.marked ? 0 : 1); panel 2796 src/filemanager/panel.c panel_do_set_filter (WPanel *panel) panel 2799 src/filemanager/panel.c file_filter_t ff = { .value = NULL, .handler = NULL, .flags = panel->filter.flags }; panel 2812 src/filemanager/panel.c panel_set_filter (panel, &ff); panel 2822 src/filemanager/panel.c do_search (WPanel *panel, int c_code) panel 2834 src/filemanager/panel.c if (panel->quick_search.buffer->len != 0) panel 2836 src/filemanager/panel.c act = panel->quick_search.buffer->str + panel->quick_search.buffer->len; panel 2837 src/filemanager/panel.c str_prev_noncomb_char (&act, panel->quick_search.buffer->str); panel 2838 src/filemanager/panel.c g_string_set_size (panel->quick_search.buffer, act - panel->quick_search.buffer->str); panel 2840 src/filemanager/panel.c panel->quick_search.chpoint = 0; panel 2844 src/filemanager/panel.c if (c_code != 0 && (gsize) panel->quick_search.chpoint < sizeof (panel->quick_search.ch)) panel 2846 src/filemanager/panel.c panel->quick_search.ch[panel->quick_search.chpoint] = c_code; panel 2847 src/filemanager/panel.c panel->quick_search.chpoint++; panel 2850 src/filemanager/panel.c if (panel->quick_search.chpoint > 0) panel 2852 src/filemanager/panel.c switch (str_is_valid_char (panel->quick_search.ch, panel->quick_search.chpoint)) panel 2857 src/filemanager/panel.c panel->quick_search.chpoint = 0; panel 2860 src/filemanager/panel.c g_string_append_len (panel->quick_search.buffer, panel->quick_search.ch, panel 2861 src/filemanager/panel.c panel->quick_search.chpoint); panel 2862 src/filemanager/panel.c panel->quick_search.chpoint = 0; panel 2867 src/filemanager/panel.c reg_exp = g_strdup_printf ("%s*", panel->quick_search.buffer->str); panel 2882 src/filemanager/panel.c search->is_case_sensitive = panel->sort_info.case_sensitive; panel 2886 src/filemanager/panel.c curr = panel->current; panel 2888 src/filemanager/panel.c for (i = panel->current; !wrapped || i != panel->current; i++) panel 2890 src/filemanager/panel.c if (i >= panel->dir.len) panel 2898 src/filemanager/panel.c (search, panel->dir.list[i].fname->str, 0, panel->dir.list[i].fname->len, NULL)) panel 2907 src/filemanager/panel.c unselect_item (panel); panel 2908 src/filemanager/panel.c panel->current = curr; panel 2909 src/filemanager/panel.c select_item (panel); panel 2910 src/filemanager/panel.c widget_draw (WIDGET (panel)); panel 2914 src/filemanager/panel.c act = panel->quick_search.buffer->str + panel->quick_search.buffer->len; panel 2915 src/filemanager/panel.c str_prev_noncomb_char (&act, panel->quick_search.buffer->str); panel 2916 src/filemanager/panel.c g_string_set_size (panel->quick_search.buffer, act - panel->quick_search.buffer->str); panel 2929 src/filemanager/panel.c start_search (WPanel *panel) panel 2931 src/filemanager/panel.c if (panel->quick_search.active) panel 2933 src/filemanager/panel.c if (panel->current == panel->dir.len - 1) panel 2934 src/filemanager/panel.c panel->current = 0; panel 2936 src/filemanager/panel.c move_down (panel); panel 2940 src/filemanager/panel.c if (panel->quick_search.buffer->len == 0) panel 2941 src/filemanager/panel.c mc_g_string_copy (panel->quick_search.buffer, panel->quick_search.prev_buffer); panel 2943 src/filemanager/panel.c do_search (panel, 0); panel 2945 src/filemanager/panel.c else if (panel->dir.len != 0) panel 2947 src/filemanager/panel.c panel->quick_search.active = TRUE; panel 2948 src/filemanager/panel.c g_string_set_size (panel->quick_search.buffer, 0); panel 2949 src/filemanager/panel.c panel->quick_search.ch[0] = '\0'; panel 2950 src/filemanager/panel.c panel->quick_search.chpoint = 0; panel 2951 src/filemanager/panel.c display_mini_info (panel); panel 2958 src/filemanager/panel.c stop_search (WPanel *panel) panel 2960 src/filemanager/panel.c if (!panel->quick_search.active) panel 2963 src/filemanager/panel.c panel->quick_search.active = FALSE; panel 2967 src/filemanager/panel.c if (panel->quick_search.buffer->len != 0) panel 2968 src/filemanager/panel.c mc_g_string_copy (panel->quick_search.prev_buffer, panel->quick_search.buffer); panel 2970 src/filemanager/panel.c display_mini_info (panel); panel 2977 src/filemanager/panel.c do_enter_on_file_entry (WPanel *panel, const file_entry_t *fe) panel 2993 src/filemanager/panel.c if (!panel_cd (panel, fname_vpath, cd_exact)) panel 2999 src/filemanager/panel.c full_name_vpath = vfs_path_append_new (panel->cwd_vpath, fname, (char *) NULL); panel 3008 src/filemanager/panel.c full_name_vpath = vfs_path_append_new (panel->cwd_vpath, fname, (char *) NULL); panel 3053 src/filemanager/panel.c do_enter (WPanel *panel) panel 3057 src/filemanager/panel.c fe = panel_current_entry (panel); panel 3059 src/filemanager/panel.c return (fe == NULL ? FALSE : do_enter_on_file_entry (panel, fe)); panel 3065 src/filemanager/panel.c panel_cycle_listing_format (WPanel *panel) panel 3067 src/filemanager/panel.c panel->list_format = (panel->list_format + 1) % LIST_FORMATS; panel 3069 src/filemanager/panel.c if (set_panel_formats (panel) == 0) panel 3076 src/filemanager/panel.c chdir_other_panel (WPanel *panel) panel 3083 src/filemanager/panel.c entry = panel_current_entry (panel); panel 3091 src/filemanager/panel.c new_dir_vpath = vfs_path_append_new (panel->cwd_vpath, entry->fname->str, (char *) NULL); panel 3094 src/filemanager/panel.c new_dir_vpath = vfs_path_append_new (panel->cwd_vpath, "..", (char *) NULL); panel 3095 src/filemanager/panel.c curr_entry = strrchr (vfs_path_get_last_path_str (panel->cwd_vpath), PATH_SEP); panel 3106 src/filemanager/panel.c move_down (panel); panel 3118 src/filemanager/panel.c panel_sync_other (const WPanel *panel) panel 3123 src/filemanager/panel.c panel_do_cd (other_panel, panel->cwd_vpath, cd_exact); panel 3126 src/filemanager/panel.c if (!panel->is_panelized) panel 3130 src/filemanager/panel.c fe = panel_current_entry (panel); panel 3139 src/filemanager/panel.c chdir_to_readlink (WPanel *panel) panel 3153 src/filemanager/panel.c fe = panel_current_entry (panel); panel 3187 src/filemanager/panel.c new_dir_vpath = vfs_path_append_new (panel->cwd_vpath, buffer, (char *) NULL); panel 3194 src/filemanager/panel.c move_down (panel); panel 3203 src/filemanager/panel.c panel_get_format_field_index_by_name (const WPanel *panel, const char *name) panel 3208 src/filemanager/panel.c for (lc_index = 1, format = panel->format; panel 3222 src/filemanager/panel.c panel_get_sortable_field_by_format (const WPanel *panel, gsize lc_index) panel 3227 src/filemanager/panel.c format = (const format_item_t *) g_slist_nth_data (panel->format, lc_index); panel 3242 src/filemanager/panel.c panel_toggle_sort_order_prev (WPanel *panel) panel 3248 src/filemanager/panel.c title = panel_get_title_without_hotkey (panel->sort_field->title_hotkey); panel 3249 src/filemanager/panel.c lc_index = panel_get_format_field_index_by_name (panel, title); panel 3255 src/filemanager/panel.c i != 0 && (pfield = panel_get_sortable_field_by_format (panel, i - 1)) == NULL; i--) panel 3262 src/filemanager/panel.c for (i = g_slist_length (panel->format); panel 3263 src/filemanager/panel.c i != 0 && (pfield = panel_get_sortable_field_by_format (panel, i - 1)) == NULL; i--) panel 3269 src/filemanager/panel.c panel->sort_field = pfield; panel 3270 src/filemanager/panel.c panel_set_sort_order (panel, pfield); panel 3277 src/filemanager/panel.c panel_toggle_sort_order_next (WPanel *panel) panel 3284 src/filemanager/panel.c format_field_count = g_slist_length (panel->format); panel 3285 src/filemanager/panel.c title = panel_get_title_without_hotkey (panel->sort_field->title_hotkey); panel 3286 src/filemanager/panel.c lc_index = panel_get_format_field_index_by_name (panel, title); panel 3293 src/filemanager/panel.c && (pfield = panel_get_sortable_field_by_format (panel, i)) == NULL; i++) panel 3302 src/filemanager/panel.c && (pfield = panel_get_sortable_field_by_format (panel, i)) == NULL; i++) panel 3308 src/filemanager/panel.c panel->sort_field = pfield; panel 3309 src/filemanager/panel.c panel_set_sort_order (panel, pfield); panel 3316 src/filemanager/panel.c panel_select_sort_order (WPanel *panel) panel 3320 src/filemanager/panel.c sort_order = sort_box (&panel->sort_info, panel->sort_field); panel 3323 src/filemanager/panel.c panel->sort_field = sort_order; panel 3324 src/filemanager/panel.c panel_set_sort_order (panel, sort_order); panel 3339 src/filemanager/panel.c panel_content_scroll_left (WPanel *panel) panel 3341 src/filemanager/panel.c if (panel->content_shift > -1) panel 3343 src/filemanager/panel.c if (panel->content_shift > panel->max_shift) panel 3344 src/filemanager/panel.c panel->content_shift = panel->max_shift; panel 3346 src/filemanager/panel.c panel->content_shift--; panel 3347 src/filemanager/panel.c show_dir (panel); panel 3348 src/filemanager/panel.c paint_dir (panel); panel 3362 src/filemanager/panel.c panel_content_scroll_right (WPanel *panel) panel 3364 src/filemanager/panel.c if (panel->content_shift < 0 || panel->content_shift < panel->max_shift) panel 3366 src/filemanager/panel.c panel->content_shift++; panel 3367 src/filemanager/panel.c show_dir (panel); panel 3368 src/filemanager/panel.c paint_dir (panel); panel 3375 src/filemanager/panel.c panel_set_sort_type_by_id (WPanel *panel, const char *name) panel 3377 src/filemanager/panel.c if (strcmp (panel->sort_field->id, name) == 0) panel 3378 src/filemanager/panel.c panel->sort_info.reverse = !panel->sort_info.reverse; panel 3387 src/filemanager/panel.c panel->sort_field = sort_order; panel 3390 src/filemanager/panel.c panel_set_sort_order (panel, panel->sort_field); panel 3464 src/filemanager/panel.c panel_do_cd_int (WPanel *panel, const vfs_path_t *new_dir_vpath, enum cd_enum cd_type) panel 3475 src/filemanager/panel.c new_dir_vpath = panel->lwd_vpath; panel 3482 src/filemanager/panel.c olddir_vpath = vfs_path_clone (panel->cwd_vpath); panel 3483 src/filemanager/panel.c panel_set_lwd (panel, panel->cwd_vpath); panel 3486 src/filemanager/panel.c vfs_path_free (panel->cwd_vpath, TRUE); panel 3488 src/filemanager/panel.c panel->cwd_vpath = vfs_path_clone (vfs_get_raw_current_dir ()); panel 3492 src/filemanager/panel.c subshell_chdir (panel->cwd_vpath); panel 3495 src/filemanager/panel.c panel_clean_dir (panel); panel 3497 src/filemanager/panel.c if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine, panel 3498 src/filemanager/panel.c &panel->sort_info, &panel->filter)) panel 3501 src/filemanager/panel.c if (panel->dir.len == 0) panel 3502 src/filemanager/panel.c panel_set_current (panel, -1); panel 3504 src/filemanager/panel.c panel_set_current_by_name (panel, get_parent_dir_name (panel->cwd_vpath, olddir_vpath)); panel 3507 src/filemanager/panel.c panel->dirty = TRUE; panel 3519 src/filemanager/panel.c directory_history_next (WPanel *panel) panel 3528 src/filemanager/panel.c next = g_list_next (panel->dir_history.current); panel 3534 src/filemanager/panel.c ok = panel_do_cd_int (panel, data_vpath, cd_exact); panel 3536 src/filemanager/panel.c panel->dir_history.current = next; panel 3546 src/filemanager/panel.c directory_history_prev (WPanel *panel) panel 3555 src/filemanager/panel.c prev = g_list_previous (panel->dir_history.current); panel 3561 src/filemanager/panel.c ok = panel_do_cd_int (panel, data_vpath, cd_exact); panel 3563 src/filemanager/panel.c panel->dir_history.current = prev; panel 3573 src/filemanager/panel.c directory_history_list (WPanel *panel) panel 3579 src/filemanager/panel.c pos = g_list_position (panel->dir_history.current, panel->dir_history.list); panel 3581 src/filemanager/panel.c history_descriptor_init (&hd, WIDGET (panel)->rect.y, WIDGET (panel)->rect.x, panel 3582 src/filemanager/panel.c panel->dir_history.list, (int) pos); panel 3585 src/filemanager/panel.c panel->dir_history.list = hd.list; panel 3591 src/filemanager/panel.c ok = panel_do_cd_int (panel, s_vpath, cd_exact); panel 3593 src/filemanager/panel.c directory_history_add (panel, panel->cwd_vpath); panel 3607 src/filemanager/panel.c panel->dir_history.current = panel->dir_history.list; panel 3613 src/filemanager/panel.c prev = g_list_previous (panel->dir_history.current); panel 3617 src/filemanager/panel.c panel->dir_history.current = prev; panel 3625 src/filemanager/panel.c panel_execute_cmd (WPanel *panel, long command) panel 3630 src/filemanager/panel.c stop_search (panel); panel 3652 src/filemanager/panel.c panel_cycle_listing_format (panel); panel 3655 src/filemanager/panel.c chdir_other_panel (panel); panel 3658 src/filemanager/panel.c chdir_to_readlink (panel); panel 3661 src/filemanager/panel.c copy_cmd_local (panel); panel 3664 src/filemanager/panel.c delete_cmd_local (panel); panel 3667 src/filemanager/panel.c do_enter (panel); panel 3670 src/filemanager/panel.c view_raw_cmd (panel); panel 3676 src/filemanager/panel.c rename_cmd_local (panel); panel 3679 src/filemanager/panel.c panel_select_invert_files (panel); panel 3682 src/filemanager/panel.c panel_select_files (panel); panel 3685 src/filemanager/panel.c panel_select_ext_cmd (panel); panel 3688 src/filemanager/panel.c panel_unselect_files (panel); panel 3691 src/filemanager/panel.c panel_do_set_filter (panel); panel 3694 src/filemanager/panel.c next_page (panel); panel 3697 src/filemanager/panel.c prev_page (panel); panel 3700 src/filemanager/panel.c goto_child_dir (panel); panel 3703 src/filemanager/panel.c goto_parent_dir (panel); panel 3706 src/filemanager/panel.c directory_history_list (panel); panel 3709 src/filemanager/panel.c directory_history_next (panel); panel 3712 src/filemanager/panel.c directory_history_prev (panel); panel 3715 src/filemanager/panel.c goto_bottom_file (panel); panel 3718 src/filemanager/panel.c goto_middle_file (panel); panel 3721 src/filemanager/panel.c goto_top_file (panel); panel 3724 src/filemanager/panel.c mark_file (panel); panel 3727 src/filemanager/panel.c mark_file_up (panel); panel 3730 src/filemanager/panel.c mark_file_down (panel); panel 3733 src/filemanager/panel.c mark_file_left (panel); panel 3736 src/filemanager/panel.c mark_file_right (panel); panel 3739 src/filemanager/panel.c res = force_maybe_cd (panel); panel 3742 src/filemanager/panel.c move_up (panel); panel 3745 src/filemanager/panel.c move_down (panel); panel 3748 src/filemanager/panel.c res = move_left (panel); panel 3751 src/filemanager/panel.c res = move_right (panel); panel 3754 src/filemanager/panel.c move_end (panel); panel 3757 src/filemanager/panel.c move_home (panel); panel 3761 src/filemanager/panel.c panel_change_encoding (panel); panel 3765 src/filemanager/panel.c panel_content_scroll_left (panel); panel 3768 src/filemanager/panel.c panel_content_scroll_right (panel); panel 3771 src/filemanager/panel.c start_search (panel); panel 3776 src/filemanager/panel.c panel_sync_other (panel); panel 3779 src/filemanager/panel.c panel_select_sort_order (panel); panel 3782 src/filemanager/panel.c panel_toggle_sort_order_prev (panel); panel 3785 src/filemanager/panel.c panel_toggle_sort_order_next (panel); panel 3788 src/filemanager/panel.c panel->sort_info.reverse = !panel->sort_info.reverse; panel 3789 src/filemanager/panel.c panel_set_sort_order (panel, panel->sort_field); panel 3792 src/filemanager/panel.c panel_set_sort_type_by_id (panel, "name"); panel 3795 src/filemanager/panel.c panel_set_sort_type_by_id (panel, "extension"); panel 3798 src/filemanager/panel.c panel_set_sort_type_by_id (panel, "size"); panel 3801 src/filemanager/panel.c panel_set_sort_type_by_id (panel, "mtime"); panel 3814 src/filemanager/panel.c panel_key (WPanel *panel, int key) panel 3820 src/filemanager/panel.c stop_search (panel); panel 3824 src/filemanager/panel.c if (panel->quick_search.active && ((key >= ' ' && key <= 255) || key == KEY_BACKSPACE)) panel 3826 src/filemanager/panel.c do_search (panel, key); panel 3830 src/filemanager/panel.c command = widget_lookup_key (WIDGET (panel), key); panel 3832 src/filemanager/panel.c return panel_execute_cmd (panel, command); panel 3836 src/filemanager/panel.c goto_middle_file (panel); panel 3842 src/filemanager/panel.c start_search (panel); panel 3843 src/filemanager/panel.c do_search (panel, key); panel 3855 src/filemanager/panel.c WPanel *panel = PANEL (w); panel 3871 src/filemanager/panel.c show_dir (panel); panel 3872 src/filemanager/panel.c panel_print_header (panel); panel 3873 src/filemanager/panel.c adjust_top_file (panel); panel 3874 src/filemanager/panel.c paint_dir (panel); panel 3875 src/filemanager/panel.c mini_info_separator (panel); panel 3876 src/filemanager/panel.c display_mini_info (panel); panel 3877 src/filemanager/panel.c panel->dirty = FALSE; panel 3882 src/filemanager/panel.c current_panel = panel; panel 3883 src/filemanager/panel.c panel->active = TRUE; panel 3885 src/filemanager/panel.c if (mc_chdir (panel->cwd_vpath) != 0) panel 3889 src/filemanager/panel.c cwd = vfs_path_to_str_flags (panel->cwd_vpath, 0, VPF_STRIP_PASSWORD); panel 3894 src/filemanager/panel.c subshell_chdir (panel->cwd_vpath); panel 3898 src/filemanager/panel.c select_item (panel); panel 3906 src/filemanager/panel.c stop_search (panel); panel 3907 src/filemanager/panel.c panel->active = FALSE; panel 3908 src/filemanager/panel.c unselect_item (panel); panel 3912 src/filemanager/panel.c return panel_key (panel, parm); panel 3915 src/filemanager/panel.c return panel_execute_cmd (panel, parm); panel 3918 src/filemanager/panel.c vfs_stamp_path (panel->cwd_vpath); panel 3923 src/filemanager/panel.c panel_destroy (panel); panel 3938 src/filemanager/panel.c mouse_toggle_mark (WPanel *panel) panel 3942 src/filemanager/panel.c fe = panel_current_entry (panel); panel 3945 src/filemanager/panel.c do_mark_file (panel, MARK_DONT_MOVE); panel 3954 src/filemanager/panel.c mouse_set_mark (WPanel *panel) panel 3956 src/filemanager/panel.c if (mouse_mark_panel == panel) panel 3960 src/filemanager/panel.c fe = panel_current_entry (panel); panel 3964 src/filemanager/panel.c do_mark_file (panel, MARK_DONT_MOVE); panel 3966 src/filemanager/panel.c do_mark_file (panel, MARK_DONT_MOVE); panel 3974 src/filemanager/panel.c mark_if_marking (WPanel *panel, const mouse_event_t *event, int previous_current) panel 3980 src/filemanager/panel.c mouse_toggle_mark (panel); panel 3985 src/filemanager/panel.c pcurr = panel->current; panel 3986 src/filemanager/panel.c curr1 = MIN (previous_current, panel->current); panel 3987 src/filemanager/panel.c curr2 = MAX (previous_current, panel->current); panel 3991 src/filemanager/panel.c panel->current = curr1; panel 3992 src/filemanager/panel.c mouse_set_mark (panel); panel 3995 src/filemanager/panel.c panel->current = pcurr; panel 4006 src/filemanager/panel.c mouse_sort_col (WPanel *panel, int x) panel 4013 src/filemanager/panel.c for (format = panel->format; format != NULL; format = g_slist_next (format)) panel 4043 src/filemanager/panel.c if (panel->sort_field == col_sort_format) panel 4045 src/filemanager/panel.c panel->sort_info.reverse = !panel->sort_info.reverse; panel 4048 src/filemanager/panel.c panel->sort_info.reverse = FALSE; panel 4050 src/filemanager/panel.c panel_set_sort_order (panel, col_sort_format); panel 4057 src/filemanager/panel.c panel_mouse_is_on_item (const WPanel *panel, int y, int x) panel 4064 src/filemanager/panel.c lines = panel_lines (panel); panel 4068 src/filemanager/panel.c col_width = (CONST_WIDGET (panel)->rect.cols - 2) / panel->list_cols; panel 4072 src/filemanager/panel.c y += panel->top + lines * col; panel 4075 src/filemanager/panel.c if (y > panel->dir.len) panel 4087 src/filemanager/panel.c WPanel *panel = PANEL (w); panel 4100 src/filemanager/panel.c directory_history_prev (panel); panel 4103 src/filemanager/panel.c directory_history_next (panel); panel 4106 src/filemanager/panel.c directory_history_list (panel); panel 4115 src/filemanager/panel.c panel->dirty = FALSE; panel 4123 src/filemanager/panel.c mouse_sort_col (panel, event->x + 1); panel 4136 src/filemanager/panel.c my_index = panel_mouse_is_on_item (panel, event->y - 2, event->x); panel 4137 src/filemanager/panel.c previous_current = panel->current; panel 4142 src/filemanager/panel.c move_up (panel); panel 4143 src/filemanager/panel.c mark_if_marking (panel, event, previous_current); panel 4147 src/filemanager/panel.c move_down (panel); panel 4148 src/filemanager/panel.c mark_if_marking (panel, event, previous_current); panel 4155 src/filemanager/panel.c if (my_index != panel->current) panel 4157 src/filemanager/panel.c unselect_item (panel); panel 4158 src/filemanager/panel.c panel->current = my_index; panel 4159 src/filemanager/panel.c select_item (panel); panel 4162 src/filemanager/panel.c mark_if_marking (panel, event, previous_current); panel 4173 src/filemanager/panel.c panel_mouse_is_on_item (panel, event->y - 2, event->x) >= 0) panel 4174 src/filemanager/panel.c do_enter (panel); panel 4183 src/filemanager/panel.c if (panels_options.mouse_move_pages && panel->top > 0) panel 4184 src/filemanager/panel.c prev_page (panel); panel 4186 src/filemanager/panel.c move_up (panel); panel 4194 src/filemanager/panel.c && panel->top + panel_items (panel) < panel->dir.len) panel 4195 src/filemanager/panel.c next_page (panel); panel 4197 src/filemanager/panel.c move_down (panel); panel 4205 src/filemanager/panel.c if (panel->dirty) panel 4212 src/filemanager/panel.c reload_panelized (WPanel *panel) panel 4215 src/filemanager/panel.c dir_list *list = &panel->dir; panel 4218 src/filemanager/panel.c (void) mc_chdir (panel->cwd_vpath); panel 4240 src/filemanager/panel.c recalculate_panel_summary (panel); panel 4242 src/filemanager/panel.c if (panel != current_panel) panel 4249 src/filemanager/panel.c update_one_panel_widget (WPanel *panel, panel_update_flags_t flags, const char *current_file) panel 4256 src/filemanager/panel.c panel->is_panelized = FALSE; panel 4257 src/filemanager/panel.c mc_setctl (panel->cwd_vpath, VFS_SETCTL_FLUSH, NULL); panel 4258 src/filemanager/panel.c memset (&(panel->dir_stat), 0, sizeof (panel->dir_stat)); panel 4268 src/filemanager/panel.c fe = panel_current_entry (panel); panel 4274 src/filemanager/panel.c if (panel->is_panelized) panel 4275 src/filemanager/panel.c reload_panelized (panel); panel 4277 src/filemanager/panel.c panel_reload (panel); panel 4279 src/filemanager/panel.c panel_set_current_by_name (panel, current_file); panel 4280 src/filemanager/panel.c panel->dirty = TRUE; panel 4293 src/filemanager/panel.c WPanel *panel; panel 4295 src/filemanager/panel.c panel = PANEL (get_panel_widget (which)); panel 4296 src/filemanager/panel.c if (panel->is_panelized) panel 4298 src/filemanager/panel.c update_one_panel_widget (panel, flags, current_file); panel 4441 src/filemanager/panel.c panel_current_entry (const WPanel *panel) panel 4445 src/filemanager/panel.c if (panel->dir.len == 0 || panel->current < 0 || panel->current >= panel->dir.len) panel 4448 src/filemanager/panel.c fe = &(panel->dir.list[panel->current]); panel 4456 src/filemanager/panel.c panel_set_current_by_name (WPanel *panel, const char *name) panel 4461 src/filemanager/panel.c if (panel->dir.len == 0) panel 4463 src/filemanager/panel.c panel_set_current (panel, -1); panel 4469 src/filemanager/panel.c panel_set_current (panel, 0); panel 4476 src/filemanager/panel.c if (panel->is_panelized) panel 4483 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) panel 4484 src/filemanager/panel.c if (strcmp (subdir, panel->dir.list[i].fname->str) == 0) panel 4486 src/filemanager/panel.c panel_set_current (panel, i); panel 4492 src/filemanager/panel.c if (panel->current >= panel->dir.len) panel 4493 src/filemanager/panel.c panel_set_current (panel, panel->dir.len - 1); panel 4496 src/filemanager/panel.c select_item (panel); panel 4502 src/filemanager/panel.c panel_clean_dir (WPanel *panel) panel 4504 src/filemanager/panel.c panel->top = 0; panel 4505 src/filemanager/panel.c panel->current = 0; panel 4506 src/filemanager/panel.c panel->marked = 0; panel 4507 src/filemanager/panel.c panel->dirs_marked = 0; panel 4508 src/filemanager/panel.c panel->total = 0; panel 4509 src/filemanager/panel.c panel->quick_search.active = FALSE; panel 4510 src/filemanager/panel.c panel->is_panelized = FALSE; panel 4511 src/filemanager/panel.c panel->dirty = TRUE; panel 4512 src/filemanager/panel.c panel->content_shift = -1; panel 4513 src/filemanager/panel.c panel->max_shift = -1; panel 4515 src/filemanager/panel.c dir_list_free_list (&panel->dir); panel 4527 src/filemanager/panel.c panel_set_cwd (WPanel *panel, const vfs_path_t *vpath) panel 4529 src/filemanager/panel.c if (vpath != panel->cwd_vpath) /* check if new vpath is not the panel->cwd_vpath object */ panel 4531 src/filemanager/panel.c vfs_path_free (panel->cwd_vpath, TRUE); panel 4532 src/filemanager/panel.c panel->cwd_vpath = vfs_path_clone (vpath); panel 4545 src/filemanager/panel.c panel_set_lwd (WPanel *panel, const vfs_path_t *vpath) panel 4547 src/filemanager/panel.c if (vpath != panel->lwd_vpath) /* check if new vpath is not the panel->lwd_vpath object */ panel 4549 src/filemanager/panel.c vfs_path_free (panel->lwd_vpath, TRUE); panel 4550 src/filemanager/panel.c panel->lwd_vpath = vfs_path_clone (vpath); panel 4567 src/filemanager/panel.c WPanel *panel; panel 4572 src/filemanager/panel.c panel = g_new0 (WPanel, 1); panel 4573 src/filemanager/panel.c w = WIDGET (panel); panel 4578 src/filemanager/panel.c panel->dir.size = DIR_LIST_MIN_SIZE; panel 4579 src/filemanager/panel.c panel->dir.list = g_new (file_entry_t, panel->dir.size); panel 4580 src/filemanager/panel.c panel->dir.len = 0; panel 4581 src/filemanager/panel.c panel->dir.callback = panel_dir_list_callback; panel 4583 src/filemanager/panel.c panel->list_cols = 1; panel 4584 src/filemanager/panel.c panel->brief_cols = 2; panel 4585 src/filemanager/panel.c panel->dirty = TRUE; panel 4586 src/filemanager/panel.c panel->content_shift = -1; panel 4587 src/filemanager/panel.c panel->max_shift = -1; panel 4589 src/filemanager/panel.c panel->list_format = list_full; panel 4590 src/filemanager/panel.c panel->user_format = g_strdup (DEFAULT_USER_FORMAT); panel 4592 src/filemanager/panel.c panel->filter.flags = FILE_FILTER_DEFAULT_FLAGS; panel 4595 src/filemanager/panel.c panel->user_status_format[i] = g_strdup (DEFAULT_USER_FORMAT); panel 4598 src/filemanager/panel.c panel->codepage = SELECT_CHARSET_NO_TRANSLATE; panel 4601 src/filemanager/panel.c panel->frame_size = frame_half; panel 4603 src/filemanager/panel.c panel->quick_search.buffer = g_string_sized_new (MC_MAXFILENAMELEN); panel 4604 src/filemanager/panel.c panel->quick_search.prev_buffer = g_string_sized_new (MC_MAXFILENAMELEN); panel 4606 src/filemanager/panel.c panel->name = g_strdup (panel_name); panel 4607 src/filemanager/panel.c panel->dir_history.name = g_strconcat ("Dir Hist ", panel->name, (char *) NULL); panel 4610 src/filemanager/panel.c section = g_strconcat ("Temporal:", panel->name, (char *) NULL); panel 4614 src/filemanager/panel.c section = g_strdup (panel->name); panel 4616 src/filemanager/panel.c panel_load_setup (panel, section); panel 4619 src/filemanager/panel.c if (panel->filter.value != NULL) panel 4621 src/filemanager/panel.c gboolean case_sens = (panel->filter.flags & SELECT_MATCH_CASE) != 0; panel 4622 src/filemanager/panel.c gboolean shell_patterns = (panel->filter.flags & SELECT_SHELL_PATTERNS) != 0; panel 4624 src/filemanager/panel.c panel->filter.handler = mc_search_new (panel->filter.value, NULL); panel 4625 src/filemanager/panel.c panel->filter.handler->search_type = shell_patterns ? MC_SEARCH_T_GLOB : MC_SEARCH_T_REGEX; panel 4626 src/filemanager/panel.c panel->filter.handler->is_entire_line = TRUE; panel 4627 src/filemanager/panel.c panel->filter.handler->is_case_sensitive = case_sens; panel 4630 src/filemanager/panel.c if (!mc_search_prepare (panel->filter.handler)) panel 4631 src/filemanager/panel.c file_filter_clear (&panel->filter); panel 4635 src/filemanager/panel.c err = set_panel_formats (panel); panel 4637 src/filemanager/panel.c set_panel_formats (panel); panel 4639 src/filemanager/panel.c return panel; panel 4656 src/filemanager/panel.c WPanel *panel; panel 4662 src/filemanager/panel.c panel = panel_sized_empty_new (panel_name, r); panel 4667 src/filemanager/panel.c panel_set_cwd (panel, vpath); panel 4672 src/filemanager/panel.c panel->cwd_vpath = vfs_path_clone (vfs_get_raw_current_dir ()); panel 4675 src/filemanager/panel.c panel_set_lwd (panel, vfs_get_raw_current_dir ()); panel 4678 src/filemanager/panel.c path_element = vfs_path_get_by_index (panel->cwd_vpath, -1); panel 4680 src/filemanager/panel.c panel->codepage = get_codepage_index (path_element->encoding); panel 4683 src/filemanager/panel.c if (mc_chdir (panel->cwd_vpath) != 0) panel 4686 src/filemanager/panel.c panel->codepage = SELECT_CHARSET_NO_TRANSLATE; panel 4689 src/filemanager/panel.c vfs_path_free (panel->cwd_vpath, TRUE); panel 4690 src/filemanager/panel.c panel->cwd_vpath = vfs_path_clone (vfs_get_raw_current_dir ()); panel 4694 src/filemanager/panel.c if (!dir_list_load (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine, panel 4695 src/filemanager/panel.c &panel->sort_info, &panel->filter)) panel 4698 src/filemanager/panel.c if (panel->dir.len == 0) panel 4699 src/filemanager/panel.c panel_set_current (panel, -1); panel 4714 src/filemanager/panel.c return panel; panel 4720 src/filemanager/panel.c panel_reload (WPanel *panel) panel 4725 src/filemanager/panel.c if (panels_options.fast_reload && stat (vfs_path_as_str (panel->cwd_vpath), ¤t_stat) == 0 panel 4726 src/filemanager/panel.c && current_stat.st_ctime == panel->dir_stat.st_ctime panel 4727 src/filemanager/panel.c && current_stat.st_mtime == panel->dir_stat.st_mtime) panel 4730 src/filemanager/panel.c cwd_vpath = panel_recursive_cd_to_parent (panel->cwd_vpath); panel 4731 src/filemanager/panel.c vfs_path_free (panel->cwd_vpath, TRUE); panel 4735 src/filemanager/panel.c panel->cwd_vpath = vfs_path_from_str (PATH_SEP_STR); panel 4736 src/filemanager/panel.c panel_clean_dir (panel); panel 4737 src/filemanager/panel.c dir_list_init (&panel->dir); panel 4741 src/filemanager/panel.c panel->cwd_vpath = cwd_vpath; panel 4742 src/filemanager/panel.c memset (&(panel->dir_stat), 0, sizeof (panel->dir_stat)); panel 4743 src/filemanager/panel.c show_dir (panel); panel 4745 src/filemanager/panel.c if (!dir_list_reload (&panel->dir, panel->cwd_vpath, panel->sort_field->sort_routine, panel 4746 src/filemanager/panel.c &panel->sort_info, &panel->filter)) panel 4749 src/filemanager/panel.c panel->dirty = TRUE; panel 4751 src/filemanager/panel.c if (panel->dir.len == 0) panel 4752 src/filemanager/panel.c panel_set_current (panel, -1); panel 4753 src/filemanager/panel.c else if (panel->current >= panel->dir.len) panel 4754 src/filemanager/panel.c panel_set_current (panel, panel->dir.len - 1); panel 4756 src/filemanager/panel.c recalculate_panel_summary (panel); panel 4822 src/filemanager/panel.c panel_set_filter (WPanel *panel, const file_filter_t *filter) panel 4824 src/filemanager/panel.c MC_PTR_FREE (panel->filter.value); panel 4825 src/filemanager/panel.c mc_search_free (panel->filter.handler); panel 4826 src/filemanager/panel.c panel->filter.handler = NULL; panel 4830 src/filemanager/panel.c panel->filter = *filter; panel 4839 src/filemanager/panel.c select_item (WPanel *panel) panel 4841 src/filemanager/panel.c adjust_top_file (panel); panel 4843 src/filemanager/panel.c panel->dirty = TRUE; panel 4851 src/filemanager/panel.c unmark_files (WPanel *panel) panel 4853 src/filemanager/panel.c if (panel->marked != 0) panel 4857 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) panel 4858 src/filemanager/panel.c file_mark (panel, i, 0); panel 4860 src/filemanager/panel.c panel->dirs_marked = 0; panel 4861 src/filemanager/panel.c panel->marked = 0; panel 4862 src/filemanager/panel.c panel->total = 0; panel 4871 src/filemanager/panel.c recalculate_panel_summary (WPanel *panel) panel 4875 src/filemanager/panel.c panel->marked = 0; panel 4876 src/filemanager/panel.c panel->dirs_marked = 0; panel 4877 src/filemanager/panel.c panel->total = 0; panel 4879 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) panel 4880 src/filemanager/panel.c if (panel->dir.list[i].f.marked != 0) panel 4885 src/filemanager/panel.c panel->dir.list[i].f.marked = 0; panel 4886 src/filemanager/panel.c do_file_mark (panel, i, 1); panel 4894 src/filemanager/panel.c do_file_mark (WPanel *panel, int idx, int mark) panel 4896 src/filemanager/panel.c if (panel->dir.list[idx].f.marked == mark) panel 4900 src/filemanager/panel.c if (DIR_IS_DOTDOT (panel->dir.list[idx].fname->str)) panel 4903 src/filemanager/panel.c file_mark (panel, idx, mark); panel 4904 src/filemanager/panel.c if (panel->dir.list[idx].f.marked != 0) panel 4906 src/filemanager/panel.c panel->marked++; panel 4908 src/filemanager/panel.c if (S_ISDIR (panel->dir.list[idx].st.st_mode)) panel 4910 src/filemanager/panel.c if (panel->dir.list[idx].f.dir_size_computed != 0) panel 4911 src/filemanager/panel.c panel->total += (uintmax_t) panel->dir.list[idx].st.st_size; panel 4912 src/filemanager/panel.c panel->dirs_marked++; panel 4915 src/filemanager/panel.c panel->total += (uintmax_t) panel->dir.list[idx].st.st_size; panel 4917 src/filemanager/panel.c set_colors (panel); panel 4921 src/filemanager/panel.c if (S_ISDIR (panel->dir.list[idx].st.st_mode)) panel 4923 src/filemanager/panel.c if (panel->dir.list[idx].f.dir_size_computed != 0) panel 4924 src/filemanager/panel.c panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size; panel 4925 src/filemanager/panel.c panel->dirs_marked--; panel 4928 src/filemanager/panel.c panel->total -= (uintmax_t) panel->dir.list[idx].st.st_size; panel 4930 src/filemanager/panel.c panel->marked--; panel 4940 src/filemanager/panel.c panel_do_cd (WPanel *panel, const vfs_path_t *new_dir_vpath, enum cd_enum cd_type) panel 4944 src/filemanager/panel.c r = panel_do_cd_int (panel, new_dir_vpath, cd_type); panel 4946 src/filemanager/panel.c directory_history_add (panel, panel->cwd_vpath); panel 4953 src/filemanager/panel.c file_mark (WPanel *panel, int lc_index, int val) panel 4955 src/filemanager/panel.c if (panel->dir.list[lc_index].f.marked != val) panel 4957 src/filemanager/panel.c panel->dir.list[lc_index].f.marked = val; panel 4958 src/filemanager/panel.c panel->dirty = TRUE; panel 4973 src/filemanager/panel.c panel_find_marked_file (const WPanel *panel, int *current_file) panel 4975 src/filemanager/panel.c while (panel->dir.list[*current_file].f.marked == 0 && *current_file < panel->dir.len) panel 4978 src/filemanager/panel.c return (*current_file >= panel->dir.len ? NULL : panel->dir.list[*current_file].fname); panel 4993 src/filemanager/panel.c panel_get_marked_file (const WPanel *panel, int *current_file) panel 4997 src/filemanager/panel.c if (panel->marked != 0) panel 4998 src/filemanager/panel.c return panel_find_marked_file (panel, current_file); panel 5000 src/filemanager/panel.c fe = panel_current_entry (panel); panel 5008 src/filemanager/panel.c panel_re_sort (WPanel *panel) panel 5014 src/filemanager/panel.c if (panel == NULL) panel 5017 src/filemanager/panel.c fe = panel_current_entry (panel); panel 5022 src/filemanager/panel.c unselect_item (panel); panel 5023 src/filemanager/panel.c dir_list_sort (&panel->dir, panel->sort_field->sort_routine, &panel->sort_info); panel 5024 src/filemanager/panel.c panel->current = -1; panel 5026 src/filemanager/panel.c for (i = panel->dir.len; i != 0; i--) panel 5027 src/filemanager/panel.c if (strcmp (panel->dir.list[i - 1].fname->str, filename) == 0) panel 5029 src/filemanager/panel.c panel->current = i - 1; panel 5034 src/filemanager/panel.c panel->top = panel->current - panel_items (panel) / 2; panel 5035 src/filemanager/panel.c select_item (panel); panel 5036 src/filemanager/panel.c panel->dirty = TRUE; panel 5042 src/filemanager/panel.c panel_set_sort_order (WPanel *panel, const panel_field_t *sort_order) panel 5047 src/filemanager/panel.c panel->sort_field = sort_order; panel 5055 src/filemanager/panel.c fe = panel_current_entry (panel); panel 5058 src/filemanager/panel.c panel_reload (panel); panel 5059 src/filemanager/panel.c panel_set_current_by_name (panel, current_file); panel 5062 src/filemanager/panel.c panel_re_sort (panel); panel 5075 src/filemanager/panel.c panel_change_encoding (WPanel *panel) panel 5081 src/filemanager/panel.c r = select_charset (-1, -1, panel->codepage, FALSE); panel 5086 src/filemanager/panel.c panel->codepage = r; panel 5088 src/filemanager/panel.c if (panel->codepage == SELECT_CHARSET_NO_TRANSLATE) panel 5094 src/filemanager/panel.c cd_path_vpath = remove_encoding_from_path (panel->cwd_vpath); panel 5095 src/filemanager/panel.c panel_do_cd (panel, cd_path_vpath, cd_parse_command); panel 5096 src/filemanager/panel.c show_dir (panel); panel 5101 src/filemanager/panel.c errmsg = init_translation_table (panel->codepage, mc_global.display_codepage); panel 5109 src/filemanager/panel.c encoding = get_codepage_id (panel->codepage); panel 5112 src/filemanager/panel.c vfs_path_change_encoding (panel->cwd_vpath, encoding); panel 5114 src/filemanager/panel.c if (!panel_do_cd (panel, panel->cwd_vpath, cd_parse_command)) panel 5115 src/filemanager/panel.c cd_error_message (vfs_path_as_str (panel->cwd_vpath)); panel 5193 src/filemanager/panel.c WPanel *panel; panel 5202 src/filemanager/panel.c panel = PANEL (get_panel_widget (get_current_index ())); panel 5204 src/filemanager/panel.c panel = PANEL (get_panel_widget (get_other_index ())); panel 5206 src/filemanager/panel.c if (!panel->is_panelized) panel 5207 src/filemanager/panel.c (void) mc_chdir (panel->cwd_vpath); panel 5342 src/filemanager/panel.c WPanel *panel; panel 5352 src/filemanager/panel.c panel = PANEL (get_panel_widget (MENU_PANEL_IDX)); panel 5354 src/filemanager/panel.c dir_list_clean (&panel->dir); panel 5356 src/filemanager/panel.c if (panel->panelized_descr == NULL) panel 5357 src/filemanager/panel.c panel->panelized_descr = panelized_descr_new (); panel 5359 src/filemanager/panel.c pdescr = panel->panelized_descr; panel 5363 src/filemanager/panel.c panel_panelize_change_root (panel, panel->cwd_vpath); panel 5367 src/filemanager/panel.c else if (plist->len > panel->dir.size) panel 5368 src/filemanager/panel.c dir_list_grow (&panel->dir, plist->len - panel->dir.size); panel 5370 src/filemanager/panel.c list = &panel->dir; panel 5373 src/filemanager/panel.c panelized_same = vfs_path_equal (pdescr->root_vpath, panel->cwd_vpath); panel 5396 src/filemanager/panel.c panel->is_panelized = TRUE; panel 5397 src/filemanager/panel.c panel_panelize_absolutize_if_needed (panel); panel 5399 src/filemanager/panel.c panel_set_current_by_name (panel, NULL); panel 5410 src/filemanager/panel.c panel_panelize_change_root (WPanel *panel, const vfs_path_t *new_root) panel 5412 src/filemanager/panel.c if (panel->panelized_descr == NULL) panel 5413 src/filemanager/panel.c panel->panelized_descr = panelized_descr_new (); panel 5415 src/filemanager/panel.c vfs_path_free (panel->panelized_descr->root_vpath, TRUE); panel 5417 src/filemanager/panel.c panel->panelized_descr->root_vpath = vfs_path_clone (new_root); panel 5440 src/filemanager/panel.c panel_panelize_absolutize_if_needed (WPanel *panel) panel 5442 src/filemanager/panel.c const dir_list *const list = &panel->dir; panel 5451 src/filemanager/panel.c panel_set_cwd (panel, root); panel 5452 src/filemanager/panel.c if (panel == current_panel) panel 5461 src/filemanager/panel.c panel_panelize_save (WPanel *panel) panel 5464 src/filemanager/panel.c dir_list *list = &panel->dir; panel 5467 src/filemanager/panel.c panel_panelize_change_root (panel, panel->cwd_vpath); panel 5469 src/filemanager/panel.c plist = &panel->panelized_descr->list; panel 5473 src/filemanager/panel.c if (panel->dir.len == 0) panel 5476 src/filemanager/panel.c if (panel->dir.len > plist->size) panel 5477 src/filemanager/panel.c dir_list_grow (plist, panel->dir.len - plist->size); panel 5478 src/filemanager/panel.c plist->len = panel->dir.len; panel 5480 src/filemanager/panel.c for (i = 0; i < panel->dir.len; i++) panel 5537 src/filemanager/panel.c panel_cd (WPanel *panel, const vfs_path_t *new_dir_vpath, enum cd_enum exact) panel 5542 src/filemanager/panel.c if (panel->is_panelized) panel 5547 src/filemanager/panel.c if (vfs_path_equal_len (new_dir_vpath, panel->panelized_descr->root_vpath, new_vpath_len)) panel 5548 src/filemanager/panel.c _new_dir_vpath = panel->panelized_descr->root_vpath; panel 5551 src/filemanager/panel.c res = panel_do_cd (panel, _new_dir_vpath, exact); panel 5558 src/filemanager/panel.c path_element = vfs_path_get_by_index (panel->cwd_vpath, -1); panel 5560 src/filemanager/panel.c panel->codepage = get_codepage_index (path_element->encoding); panel 5562 src/filemanager/panel.c panel->codepage = SELECT_CHARSET_NO_TRANSLATE; panel 158 src/filemanager/panel.h void panel_clean_dir (WPanel * panel); panel 160 src/filemanager/panel.h void panel_reload (WPanel * panel); panel 161 src/filemanager/panel.h void panel_set_sort_order (WPanel * panel, const panel_field_t * sort_order); panel 162 src/filemanager/panel.h void panel_re_sort (WPanel * panel); panel 165 src/filemanager/panel.h void panel_change_encoding (WPanel * panel); panel 172 src/filemanager/panel.h void panel_set_filter (WPanel * panel, const file_filter_t * filter); panel 174 src/filemanager/panel.h file_entry_t *panel_current_entry (const WPanel *panel); panel 175 src/filemanager/panel.h void panel_set_current_by_name (WPanel * panel, const char *name); panel 177 src/filemanager/panel.h void unmark_files (WPanel * panel); panel 178 src/filemanager/panel.h void select_item (WPanel * panel); panel 180 src/filemanager/panel.h void recalculate_panel_summary (WPanel * panel); panel 181 src/filemanager/panel.h void file_mark (WPanel * panel, int idx, int val); panel 182 src/filemanager/panel.h void do_file_mark (WPanel * panel, int idx, int val); panel 183 src/filemanager/panel.h const GString *panel_find_marked_file (const WPanel *panel, int *current_file); panel 184 src/filemanager/panel.h const GString *panel_get_marked_file (const WPanel *panel, int *current_file); panel 186 src/filemanager/panel.h gboolean panel_do_cd (WPanel * panel, const vfs_path_t * new_dir_vpath, enum cd_enum cd_type); panel 187 src/filemanager/panel.h MC_MOCKABLE gboolean panel_cd (WPanel * panel, const vfs_path_t * new_dir_vpath, panel 197 src/filemanager/panel.h void panel_set_cwd (WPanel * panel, const vfs_path_t * vpath); panel 198 src/filemanager/panel.h void panel_set_lwd (WPanel * panel, const vfs_path_t * vpath); panel 201 src/filemanager/panel.h void panel_panelize_change_root (WPanel * panel, const vfs_path_t * new_root); panel 202 src/filemanager/panel.h void panel_panelize_absolutize_if_needed (WPanel * panel); panel 203 src/filemanager/panel.h void panel_panelize_save (WPanel * panel); panel 896 src/keymap.c LOAD_KEYMAP (PANEL, panel); panel 926 src/keymap.c SET_MAP (panel); panel 961 src/keymap.c FREE_KEYMAP (panel); panel 1130 src/setup.c panel_load_setup (WPanel *panel, const char *section) panel 1135 src/setup.c panel->sort_info.reverse = panel 1137 src/setup.c panel->sort_info.case_sensitive = panel 1140 src/setup.c panel->sort_info.exec_first = panel 1145 src/setup.c panel->sort_field = panel_get_field_by_id (buffer); panel 1146 src/setup.c if (panel->sort_field == NULL) panel 1147 src/setup.c panel->sort_field = panel_get_field_by_id ("name"); panel 1158 src/setup.c panel->list_format = list_full; panel 1162 src/setup.c panel->list_format = list_formats[i].list_format; panel 1167 src/setup.c panel->brief_cols = mc_config_get_int (mc_global.panels_config, section, "brief_cols", 2); panel 1170 src/setup.c g_free (panel->user_format); panel 1171 src/setup.c panel->user_format = panel 1178 src/setup.c g_free (panel->user_status_format[i]); panel 1180 src/setup.c panel->user_status_format[i] = panel 1184 src/setup.c panel->user_mini_status = panel 1187 src/setup.c panel->filter.value = panel 1189 src/setup.c panel->filter.flags = panel 1197 src/setup.c panel_save_setup (WPanel *panel, const char *section) panel 1202 src/setup.c mc_config_set_bool (mc_global.panels_config, section, "reverse", panel->sort_info.reverse); panel 1204 src/setup.c panel->sort_info.case_sensitive); panel 1206 src/setup.c panel->sort_info.exec_first); panel 1208 src/setup.c mc_config_set_string (mc_global.panels_config, section, "sort_order", panel->sort_field->id); panel 1211 src/setup.c if (list_formats[i].list_format == (int) panel->list_format) panel 1218 src/setup.c mc_config_set_int (mc_global.panels_config, section, "brief_cols", panel->brief_cols); panel 1220 src/setup.c mc_config_set_string (mc_global.panels_config, section, "user_format", panel->user_format); panel 1226 src/setup.c panel->user_status_format[i]); panel 1230 src/setup.c panel->user_mini_status); panel 1233 src/setup.c if (panel->filter.handler != NULL) panel 1235 src/setup.c panel->filter.value); panel 1238 src/setup.c mc_config_set_int (mc_global.panels_config, section, "filter_flags", (int) panel->filter.flags); panel 157 src/setup.h void panel_load_setup (WPanel * panel, const char *section); panel 158 src/setup.h void panel_save_setup (WPanel * panel, const char *section); panel 174 src/usermenu.c test_type (WPanel *panel, char *arg) panel 180 src/usermenu.c fe = panel_current_entry (panel); panel 218 src/usermenu.c result |= panel->marked != 0 ? 1 : 0; panel 245 src/usermenu.c WPanel *panel = NULL; panel 251 src/usermenu.c panel = current_panel; panel 253 src/usermenu.c panel = other_panel; panel 277 src/usermenu.c if (panel == NULL) panel 283 src/usermenu.c fe = panel_current_entry (panel); panel 306 src/usermenu.c *condition = panel != NULL panel 307 src/usermenu.c && mc_search (arg, DEFAULT_CHARSET, vfs_path_as_str (panel->cwd_vpath), panel 312 src/usermenu.c *condition = panel != NULL && test_type (panel, arg); panel 777 src/usermenu.c WPanel *panel = NULL; panel 804 src/usermenu.c panel = current_panel; panel 809 src/usermenu.c panel = other_panel; panel 812 src/usermenu.c fe = panel_current_entry (panel); panel 853 src/usermenu.c if (panel != NULL) panel 854 src/usermenu.c cwd = vfs_path_as_str (panel->cwd_vpath); panel 930 src/usermenu.c if (panel == NULL || panel->marked == 0) panel 944 src/usermenu.c if (panel == NULL) panel 950 src/usermenu.c for (i = 0; i < panel->dir.len; i++) panel 951 src/usermenu.c if (panel->dir.list[i].f.marked != 0) panel 955 src/usermenu.c tmp = quote_func (panel->dir.list[i].fname->str, FALSE); panel 969 src/usermenu.c do_file_mark (panel, i, 0); panel 136 src/viewer/actions_cmd.c WPanel *panel; panel 151 src/viewer/actions_cmd.c panel = current_panel; panel 153 src/viewer/actions_cmd.c panel = other_panel; panel 157 src/viewer/actions_cmd.c fe = panel_current_entry (panel); panel 59 tests/src/filemanager/cd_to.c panel_cd (WPanel *panel, const vfs_path_t *new_dir_vpath, enum cd_enum cd_type) panel 61 tests/src/filemanager/cd_to.c (void) panel; panel 46 tests/src/filemanager/examine_cd.c panel_cd (WPanel *panel, const vfs_path_t *new_dir_vpath, enum cd_enum cd_type) panel 48 tests/src/filemanager/examine_cd.c (void) panel;