Leonard den Ottolander
894b343f90
* main.c (directory_history_add): Fix invalid directory preselection on cd.
2005-11-02 11:50:51 +00:00
Roland Illig
689ee9f8ae
* main.c (midnight_callback): Ctrl-space calculates the size of
...
the currently selected directory entry. This is mostly useful for
directories.
2005-09-06 11:38:45 +00:00
Roland Illig
0e218318da
* cmd.c: Added single_dirsize_cmd(), which computes the size of
...
the currently selected panel entry and moves down. Suggested by
ForestCreature on mc-devel.
* cmd.h: Likewise.
* main.c (midnight_callback): When the space key is pressed and
the command line is empty, single_dirsize_cmd() is called.
2005-09-06 06:41:35 +00:00
Roland Illig
4486c5eec2
Replaced const_cast with str_unconst.
2005-09-05 03:20:53 +00:00
Roland Illig
03759c8f34
* main.h: Added const qualifier to the global prompt variable.
...
* main.c: Likewise.
2005-09-05 02:10:48 +00:00
Roland Illig
c22e826761
Updated German translation.
2005-07-22 21:16:50 +00:00
Roland Illig
1c8c676c76
* key.c: When the command line option -x is given, enable
...
additional key sequences that are typical for xterms.
* main.c: First parse command line arguments, then initialize
key sequences.
2005-07-20 20:29:08 +00:00
Leonard den Ottolander
f10fe35005
* main.[ch], user.c: Fixed a double free in mc_maybe_editor_or_viewer().
...
Restructured setup_dummy_mc() and expand_format() accordingly.
2005-06-22 21:38:52 +00:00
Leonard den Ottolander
f5dabea2a6
main.c: Also match tabs as empty command.
2005-06-07 20:55:13 +00:00
Leonard den Ottolander
3be17f6657
main.c: Fix blocking of panel cd-ing when there are only spaces on the
...
command line.
2005-05-29 11:54:22 +00:00
Pavel Roskin
1f60f44145
Update postal address of Free Software Foundation.
2005-05-27 03:35:10 +00:00
Roland Illig
2a21804cc2
* main.h: Changed the type of quiet_quit_cmd() from int to void.
...
* main.c: Likewise. Removed function cast.
2005-05-23 16:37:01 +00:00
Pavel Roskin
9260860bbf
* dialog.c (dlg_select_widget): Remove first argument, it's
...
redundant. Adjust all callers.
(dlg_replace_widget): Likewise.
2005-05-20 20:22:06 +00:00
Pavel Roskin
c90d263d2c
* .c: Sanitize all calls to functions from ctype.h. Fix gcc 4.0
...
warnings.
2005-05-11 01:16:58 +00:00
Roland Illig
f9d9f92370
* Removed my own experiments.
2005-02-08 19:59:45 +00:00
Roland Illig
0d08e8308f
* Renamed define_label to buttonbar_set_label.
...
* Renamed define_label_data to buttonbar_set_label_data.
* Renamed redraw_labels to buttonbar_redraw.
2005-02-08 09:53:51 +00:00
Roland Illig
fc85bdba7e
* *.c: Reordered header inclusion.
2005-02-08 09:04:03 +00:00
Andrew V. Samoilov
0464629b20
* main.c (_do_panel_cd): Delete leading spaces from URL
...
before vfs_translate_url() call.
2005-01-19 06:14:44 +00:00
Andrew V. Samoilov
d50dc18be0
* main.c (midnight_callback): Make the the keystrokes the invoke
...
select_cmd(), unselect_cmd() and reverse_selection_cmd () work
even if the command prompt is turned off.
2004-11-29 20:11:07 +00:00
Andrew V. Samoilov
b1b4aadcd7
* main.c (print_color_usage): Update list of keywords for global,
...
menu and help.
Change my email in ChangeLogs
2004-10-22 05:47:25 +00:00
Roland Illig
8b1e87523a
* boxes.c (display_unit): Added const qualifier.
...
* file.c (check_hardlinks): Likewise.
* find.c (find_do_view_edit): Likewise. (find_file): Likewise.
* global.h (home_dir): Likewise.
* main.c (get_parent_dir_name): Likewise. (init_xterm_support):
Likewise. (OS_Setup): Likewise.
* menu.c (create_menu): Likewise.
* mountlist.c (xatoi): Likewise. (read_filesystem_list): Likewise.
* poptconfig.c (poptReadDefaultConfig): Likewise.
* popthelp.c (showHelpIntro): Likewise.
* rxvt.c (look_for_rxvt_extensions): Likewise.
* slint.c (has_colors): Likewise.
* subshell.c (check_sid): Likewise.
* user.c (check_format_var): Likewise.
* widget.c (radio_callback): Likewise.
2004-09-25 13:46:23 +00:00
Andrew V. Samoilov
68a7c1dfab
* boxes.c (configure_vfs): g_free handles NULL argument too,
...
no need for the comparison.
* cmd.c (set_panel_filter_to): Likewise.
(do_link): Likewise.
(quick_cd_cmd): Likewise.
* color.c (done_colors): Likewise.
* dialog.c (destroy_dlg): Likewise.
* dir.c (alloc_dir_copy): Likewise.
* ext.c (flush_extension_file): Likewise.
* file.c (copy_file_file): Likewise.
(panel_operate): Likewise.
* hotlist.c (remove_group): Likewise.
(remove_from_hotlist): Likewise.
(done_hotlist): Likewise.
* main.c (main): Likewise.
* setup.c (panel_load_setup): Likewise.
* tree.c (tree_destroy): Likewise.
(show_tree): Likewise.
* user.c (user_menu_cmd): Likewise.
* utilunix.c (i_cache_add): Likewise.
(putenv): Likewise.
* view.c (view_done): Likewise.
(regexp_search): Likewise.
(normal_search): Likewise.
(change_viewer): Likewise.
* widget.c (label_set_text): Likewise.
(set_label_text): Likewise.
2004-09-24 22:22:35 +00:00
Roland Illig
11842a375f
2004-09-24 Roland Illig <roland.illig@gmx.de>
...
* boxes.c: Replaced NULL with (char *) NULL. Likewise for 0, where
NULL was meant.
* cmd.c: Likewise.
* dialog.c: Likewise.
* ext.c: Likewise.
* file.c: Likewise.
* find.c: Likewise.
* hotlist.c: Likewise.
* learn.c: Likewise.
* main.c: Likewise.
* screen.c: Likewise.
* setup.c: Likewise.
* treestore.c: Likewise.
* user.c: Likewise.
* util.c: Likewise.
* utilunix.c: Likewise.
* view.c: Likewise.
* widget.c: Likewise.
* wtools.c: Likewise.
2004-09-24 15:05:28 +00:00
Roland Illig
ff7a776535
* main.c (OS_Setup): Fixed segmentation fault.
...
From Oskar Liljeblad <oskar osk.mine.nu>
2004-09-23 14:07:44 +00:00
Roland Illig
3c6a792d4b
* edit/edit.h: renamed edit() to edit_file() to avoid GCC shadow
...
warnings (many variables are also called edit).
* edit/editwidget.c: likewise.
* src/cmd.c: renamed edit() to edit_file() to avoid GCC shadow
warnings (many variables are also called edit).
* src/main.c: likewise.
2004-09-19 17:46:39 +00:00
Roland Illig
1d573d9059
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 23:54:47 +00:00
Roland Illig
4baefa09c2
* Code cleanup: Added const qualifier for variables and
...
function declarations where possible. No functional changes.
2004-08-29 17:15:23 +00:00
Roland Illig
2ebf787653
Renamed version to show_version to avoid name clashes.
2004-08-17 10:40:16 +00:00
Roland Illig
a22afa7a72
Added more const-ness to variables.
2004-08-16 18:31:05 +00:00
Roland Illig
511c710fe6
Added explicit initializers for global variables.
2004-08-16 18:25:16 +00:00
Roland Illig
e0ea1733e3
The type key_callback has got a real prototype.
2004-08-16 04:20:56 +00:00
Roland Illig
a47ff4dece
Added missing initializers for poptOption.argDescrip.
2004-08-15 23:06:19 +00:00
Pavel Roskin
4ced5086ac
* utilunix.c (canonicalize_pathname): Return void to make it
...
clear that the conversion is done in place. Adjust all callers.
2004-01-23 23:53:37 +00:00
Pavel Roskin
4a9c0da0b0
* main.c (midnight_callback): Ctrl-Shift-Enter now copies full
...
path to the command line, like in Total Commander.
2003-11-14 20:43:11 +00:00
Pavel Roskin
12d78ba8df
* boxes.c: Include "../vfs/gc.h" if VFS is used.
...
* hotlist.c: Likewise.
* key.c: Likewise.
* main.c: Likewise.
* setup.c: Likewise.
2003-11-07 23:50:18 +00:00
Pavel Roskin
0a9c708bec
Fixes for bad strings:
...
"In this cases"
"~/.netrc file has not correct mode"
Reported by Arpad Biro <biro_arpad@yahoo.com>
2003-11-05 00:33:34 +00:00
Pavel Roskin
0e71b37f2a
Don't include background.h if it's not needed.
...
If needed, add explanation.
2003-10-27 17:36:19 +00:00
Pavel Roskin
24384e9a89
* panel.h: Fix duplication between cpanel and current_panel in
...
favor of current_panel. Ditto opanel and other_panel.
2003-10-26 06:45:59 +00:00
Pavel Roskin
bb13ad8db4
* main.c (get_current_panel): Remove.
...
(get_other_panel): Move ...
* layout.c: ... here.
2003-10-26 06:32:42 +00:00
Pavel Roskin
b6d7cae6d2
* cmd.c: Remove source routing code.
...
* main.c: Likewise.
2003-10-24 20:10:01 +00:00
Pavel Roskin
9c72f81a21
* chmod.c (stat_file): Eliminate. Use mc_stat().
...
* chmod.h: Remove unneded code.
* chown.h: Likewise.
* main.c: Include achown.h.
2003-10-24 18:38:02 +00:00
Pavel Roskin
849ef55ae7
* tree.h: Don't include treestore.h. Fix sources to include
...
treestore.h when needed.
* treestore.h: Eliminate useless typedefs.
2003-10-23 23:57:59 +00:00
Pavel Roskin
1bde2dcbda
* main.c (process_args): Use cast to avoid warning.
2003-10-23 19:05:52 +00:00
Pavel Roskin
6bb01bfe85
* main.c (update_one_panel_widget): Use VFS_SETCTL_FLUSH for the
...
current directory. This fixes Ctrl-R on fish.
* vfsdummy.h: Remove unused functions.
2003-10-16 18:57:15 +00:00
Pavel Roskin
0636e2ed73
* main.c (process_args): Use VFS_SETCTL_LOGFILE for ftpfs.
2003-10-16 17:13:35 +00:00
Pavel Roskin
0837ed2b49
* cmd.c: Cleanup of unneeded global functions and data.
...
* color.c: Likewise.
* dir.c: Likewise.
* file.c: Likewise.
* filegui.c: Likewise.
* hotlist.c: Likewise.
* layout.c: Likewise.
* main.c: Likewise.
* panelize.c: Likewise.
* wtools.c: Likewise.
2003-10-14 21:58:56 +00:00
Pavel Roskin
ceaf7af0e0
* main.c (_do_panel_cd): Use vfs_release_path().
2003-10-11 06:44:54 +00:00
Pavel Roskin
9d1f2aae71
* vfs.c (vfs_type): Rename to vfs_get_class(). Fix prototype to
...
avoid using internal vfs type. Adjust all dependencies.
(vfs_rosplit): Rename to _vfs_get_class().
2003-10-11 06:25:29 +00:00
Pavel Roskin
0a3cfe30c3
* background.h: Eliminate background_wait variable. Adjust all
...
dependencies.
2003-10-08 05:16:58 +00:00
Pavel Roskin
f3bbd7bc5e
* main.c (argument_table): Reorder options into logical groups.
2003-10-08 05:06:37 +00:00