Pavel Roskin
9dc4fc6342
* extfs.c (read_archive): Free archive if the "list" command
...
returned non-zero, return -1.
Initial implemntation from Adam Byrtek <alpha@debian.org>
2002-12-25 21:42:59 +00:00
Pavel Roskin
10391e82cf
* cmd.c (execute_with_vfs_arg): New function. Work around
...
defects of VFS localcopy code.
(view_file_at_line): Use execute_with_vfs_arg().
(do_edit_at_line): Likewise.
2002-12-25 20:55:39 +00:00
Pavel Roskin
bb5a5bcd35
Merge local TODO list. Reorder some entries.
2002-12-25 18:52:54 +00:00
Pavel Roskin
a69bf1d51a
Update. Everything planned for 4.6.0-pre2 has been done.
2002-12-25 18:00:15 +00:00
Pavel Roskin
c61c08f137
Trivial fix from Vlad Romanenko <vladam@users.sourceforge.net>
2002-12-25 15:19:39 +00:00
Pavel Roskin
e0bbeb7085
* editkeys.c (edit_translate_key): Treat Shift-Enter as return
...
without indent. Useful when pasting multiline text with
Shift-button3 or Shift-Insert with autoindent enabled.
2002-12-25 05:46:03 +00:00
Pavel Roskin
ddf2ad1612
* direntry.c (vfs_s_open): If the filesystem is read-only,
...
disable file creation.
2002-12-25 04:57:26 +00:00
Pavel Roskin
423849f74d
Partly revert the last change - low-level chdir actually writes to
...
the "directory" argument, so preserve it.
2002-12-25 04:38:50 +00:00
Pavel Roskin
075d359907
* vfs.c (mc_chdir): Don't change current directory until the
...
low-level chdir succeeds.
2002-12-25 04:02:34 +00:00
Pavel Roskin
3a377a802d
* vfs.c (vfs_name): Eliminate - it's unused and wrong.
2002-12-25 02:47:21 +00:00
Pavel Roskin
f8958b0a61
* key.c (is_idle): Check for input on input_fd and gpm_fd.
2002-12-25 02:01:31 +00:00
Pavel Roskin
5365b83ae1
Try harder to remove $MC_BUILD_DIR - use chmod.
2002-12-25 00:58:34 +00:00
Pavel Roskin
8dcd811ec9
Work around bug in rpm 4.1 that expands defines in comments.
...
Handle --without-x.
2002-12-25 00:52:45 +00:00
Pavel Roskin
201dbae818
* lib/mc.ext.in: Use --nosignature with rpm to avoid a message
...
in the viewer about unsigned packages.
2002-12-24 23:01:43 +00:00
Pavel Roskin
f3ec13cea2
* main.c (init_xterm_support): Revert last change, it doesn't
...
free all S-Lang memory anyways, but creates portability issues.
2002-12-24 20:22:29 +00:00
Pavel Roskin
c3fd15e72a
* acinclude.m4 (MC_WITH_SLANG): Don't add -lslang to MCLIBS if
...
the system S-Lang is rejected.
2002-12-24 20:13:05 +00:00
Pavel Roskin
76fda9fe79
Fixed:
...
Find file dialog should not be closed if the regex is invalid.
2002-12-24 11:30:05 +00:00
Pavel Roskin
eb781a8f06
* dlg.h: Add new event DLG_VALIDATE.
...
* dlg.c (frontend_run_dlg): Send DLG_VALIDATE.
(select_a_widget): Don't send DLG_ONE_DOWN, nobody uses it.
* find.c (find_parm_callback): New callback for the parameter
dialog. Don't allow stopping the dialog if the regular
expression is invalid.
2002-12-24 11:28:26 +00:00
Pavel Roskin
336183ab5d
* lib/mc.ext.in: Play *.mov by mplayer.
2002-12-24 08:30:51 +00:00
Andrew V. Samoilov
6fec66eb87
* extfs/mailfs.in: Quote filename when openning mailbox.
2002-12-24 06:56:16 +00:00
Andrew V. Samoilov
1edcc92829
* extfs/apt.in, extfs/dpkg.in: Avoid stat on non-existing file.
2002-12-24 06:33:46 +00:00
Pavel Roskin
47e32ea5a5
* layout.c (init_curses) [HAVE_SLANG]: Don't call
...
SLtt_get_terminfo(), it's already called in slang_init().
* main.c (init_xterm_support): Free term_entry.
2002-12-24 03:37:34 +00:00
Pavel Roskin
107e1f0954
Partly revert last change - subshell_switch_key has to be char.
2002-12-24 03:05:09 +00:00
Pavel Roskin
5da0a2f08a
* subshell.c (subshell_switch_key): Make static const int.
2002-12-24 00:13:30 +00:00
Pavel Roskin
001cb449d0
* configure.in: Enable X11 support by default, use --without-x
...
to disable.
2002-12-23 17:02:04 +00:00
Pavel Roskin
8f97f5dd21
Rename edit/edit_key_translator.c to edit/editkeys.c
2002-12-23 10:25:19 +00:00
Pavel Roskin
554acb2837
* editkeys.c (edit_translate_key): Treat Ctrl-Home and Ctrl-End
...
like Ctrl-PgUp and Ctrl-PgDown respectively.
2002-12-23 10:18:22 +00:00
Pavel Roskin
ab43e6db88
* edit_key_translator.c: Rename to ...
...
* editkeys.c: ... this.
* edit.c (edit_translate_key): Move to editkeys.c.
* Makefile.am: Adjust for the above.
2002-12-23 10:13:35 +00:00
Pavel Roskin
361ec45373
Fix includes.
2002-12-23 10:12:40 +00:00
Pavel Roskin
f19f91337b
* key.c (correct_key_code): Strip or add modifier information
...
when necessary. Recognize shift with function key N as function
key (N + 10). Fix breakage from previous patch.
* key.h: Change XCTRL and ALT macros to use new definitions for
keyboard modifiers.
2002-12-23 09:46:28 +00:00
Pavel Roskin
d6947e39cf
* edit.c (edit_translate_key): Remove x_state argument, it's now
...
a part of x_keycode.
* editwidget.c (get_key_state): Remove.
2002-12-21 08:46:50 +00:00
Pavel Roskin
0d0009e263
* key.c (get_modifier): Make static. Return the mc internal
...
representation, not the Linux console code.
(correct_key_code): Add the modifier, not strip it.
(ctrl_pressed): Remove. Adjust all dependencies.
2002-12-21 08:43:15 +00:00
Pavel Roskin
e1805e4350
Move to 4.6.1:
...
Allow modifiers for keys in mc.lib, like "shift-up".
2002-12-21 07:54:53 +00:00
Pavel Roskin
6e59c48179
* key.h: Add definitions for the keyboard modifiers that can be
...
part of the key code.
* key.c (xterm_key_defines): Add some common key definitions
with modifiers for xterm and rxvt.
(correct_key_code): Strip and remember modifiers.
(get_modifier): Add support for saved modifiers.
2002-12-21 07:34:49 +00:00
Pavel Roskin
bec62b69f1
* layout.c (init_curses) [!HAVE_SLANG]: Set ESCDELAY to 200ms.
...
If ESCDELAY is 0, ncurses 5.2 may stop recognizing escape
sequences under heavy CPU load.
2002-12-21 02:09:00 +00:00
Andrew V. Samoilov
f5dc73aa71
* smbfs.c: Resurrect and use myumask for generated permissions.
2002-12-20 18:16:45 +00:00
Sung-Hyun Nam
7cf658e9cf
updated
2002-12-20 08:57:15 +00:00
Pavel Roskin
248e59ed5d
* screen.c (chdir_other_panel): Use do_panel_cd() on the
...
opposite panel instead of changing the current panel twice.
2002-12-20 00:19:38 +00:00
Pavel Roskin
325e5af99d
* main.c (make_panels_dirty): Preserve the cursor position.
2002-12-19 23:35:39 +00:00
Pavel Roskin
9e24e41f9e
* syntax/perl.syntax: Add separate context for function
...
declarations and definitions, highlight prototypes.
2002-12-19 21:32:34 +00:00
Andrew V. Samoilov
b6aa32d9b2
* extfs/patchfs.in: Fix patch size calculation. Use bytes to
...
count size in bytes, not characters (in multibyte encodings char
can be two or more bytes wide).
2002-12-19 18:20:11 +00:00
Pavel Roskin
1df0641954
* extfs/patchfs.in: Don't rely on tell() - it doesn't always
...
work on pipes. Determine patch size by adding together the line
lengths.
2002-12-19 17:36:58 +00:00
Pavel Roskin
6ee35e2c55
* extfs/patchfs.in: Allow diffs with function names after "@@".
...
Don't consider an empty newline as the end of the diff.
2002-12-19 16:51:04 +00:00
Andrew V. Samoilov
4718c1105d
* editcmd.c (edit_block_process_cmd): Quote filename.
2002-12-19 13:01:34 +00:00
Andrew V. Samoilov
bce2ba99e9
* edit.h (edit_save_mode_t): New enum for file saving mode.
...
* editcmd.c (): Use edit_save_mode_t.
(pipe_mail): Quote to, subject and cc with name_quote().
* edit.c (edit_get_filter): Use quoted filename.
(edit_get_write_filter): Use quoted writename.
(edit_push_action): Use g_realloc().
2002-12-18 20:04:39 +00:00
Andrew V. Samoilov
76a86209d4
* extfs/patchfs.in (openread): Use quoted $archive when opening
...
archives.
(list): Set $archive to quoted $_[0].
2002-12-18 14:31:54 +00:00
Pavel Roskin
e12b5ddcb6
* hotlist.c (update_path_name): Update the title even when
...
opening an empty group.
2002-12-18 05:45:02 +00:00
Pavel Roskin
1f05866c5e
* extfs/rpm: Don't check package signatures - it creates a lot
...
of noise on stderr if the signature is missing.
2002-12-17 00:32:38 +00:00
Marco Ciampa
8efa187646
Just a little trimming...
2002-12-16 19:30:59 +00:00
Marco Ciampa
b3fb20944c
Last fuzzy updated...
2002-12-16 19:12:36 +00:00