Commit Graph

7437 Commits

Author SHA1 Message Date
Pavel Tsekov
2cb049a9cb * edit/edit.h (edit_move_to_prev_col): Declare the function to have
external linkage.
(edit_find_bracket): Likewise.
* edit/edit.c (edit_move_to_prev_col): Reflect the changes above.
(edit_find_bracket): Likewise.
* edit/editwidget.c (edit_event): When moving around with the mouse
use edit_move_down(), edit_move_up() and edit_move_to_prev_col()
instead of move_cursor() to update the cursor position since
the latter doesn't update some internal variables.
Use edit_find_bracket() to update the bracket pair highlighter
state.
2006-12-10 22:07:28 +00:00
Pavel Tsekov
498c6c0cf1 * src/view.c (regexp_search): Keep the search string in a global
variable so that it can be reused when viewing another file.
Do not use the same variable to hold the search string for
both the "Search" and "Regexp Search" functions.
(view_normal_search_cmd): Likewise.
2006-12-10 21:36:46 +00:00
Leonard den Ottolander
59e59d9e3b * edit/editdraw.c (edit_draw_this_line): Remove unused variable book_mark. 2006-12-04 22:44:50 +00:00
Leonard den Ottolander
0ac1df7d4f * src/subshell.c (subshell_name_quote): Bash < 2.05b (3-digit octals in
echo_e_cmd) no longer supported.
* NEWS: Comment reflecting above change.
2006-11-27 21:33:45 +00:00
Marco Ciampa
721277fdb7 Updated italian translation 2006-11-21 23:57:44 +00:00
Roland Illig
45bb7dbe50 The file's mtime is checked before saving. 2006-11-17 21:50:33 +00:00
Leonard den Ottolander
7a9daa86b0 * vfs/fish.c (fish_file_store): Fix copy of file names with backticks to
remote host.
2006-11-09 17:59:39 +00:00
Leonard den Ottolander
4c9ca90e8a * key.c (get_event): Eliminate timeouts on window resize event.
* layout.c (change_screen_size): Set winch_flag to 0 on entrance not exit of
function.
2006-11-08 13:37:24 +00:00
Leonard den Ottolander
16bf1ca415 * extfs/rpm: Recognize CONFLICTS.
* extfs/trpm: Likewise.
2006-11-01 10:30:26 +00:00
Leonard den Ottolander
c979e827ce * utilvfs (is_year): Revert range of valid years to 1900 - 3000 as parsing
has been fixed.
2006-10-15 11:42:01 +00:00
Pavel Tsekov
43b82f1201 * src/layout.c (layout_do_change): Remove global variable.
(layout_cmd): Reflect the changes above.
(layout_change): Ditto.
2006-09-25 08:34:48 +00:00
Pavel Tsekov
5d4d2db3f3 * src/main.c (xtoolkit_panel_setup): Remove - it is a noop.
(setup_panels_and_run_mc): Eliminate references to
`xtoolkit_panel_setup'.
2006-09-22 15:14:58 +00:00
Pavel Tsekov
5978bcc196 * src/key.c (get_key_code): Do not blindly strip the eight bit of the
key code when the 'use_8th_bit_as_meta' flag is set. Only key codes
in the range 128 - 255 should be stripped, the rest must be left
intact.
2006-09-18 21:06:58 +00:00
Pavel Tsekov
3f81ef4f96 * src/wtools.c (fg_input_dialog_help) [ENABLE_NLS]: Translate the
"Ok" and "Cancel" buttons here.
Mark the QuickDialog as translated so that quick_dialog() won't
try translate it again.
2006-09-14 09:12:49 +00:00
Pavel Tsekov
4d56b647fa * acinclude.m4 (AC_GET_FS_INFO): Add erronously removed call to
gl_FSTYPENAME.
* m4/ls-mntd-fs.m4 (gl_LIST_MOUNTED_FILE_SYSTEMS): Add missing
include directive for sys/param.h.
2006-09-07 15:59:51 +00:00
Pavel Tsekov
d407b130f4 * m4/ls-mntd-fs.m4: Update to serial#22, which adds support
for getmntinfo() returning its result in struct statvfs.
* m4/fstypename.m4: Update to serial#6, which replaces
HAVE_F_FSTYPENAME_IN_STATFS with HAVE_STRUCT_STATFS_F_FSTYPENAME.
* src/mountlist.c: Sync with gnulib.
All uses of HAVE_F_FSTYPENAME replaced by HAVE_STRUCT_STATFS_F_FSTYPENAME.
[MOUNTED_GETMNTINFO2] Include sys/statvfs.h.
(read_file_system_list) [MOUNTED_GETMNTINFO2]: Implement.
2006-09-07 15:12:47 +00:00
Pavel Tsekov
f588181dc6 * acinclude.m4 (AC_GET_FS_INFO): Revert a failed attempt to properly detect
getmntinfo() returning its result in struct statvfs.
* src/mountlist.c: Revert a failed attempt to properly detect and use
getmntinfo() returning its result in struct statvfs.
2006-09-07 14:20:57 +00:00
Pavel Tsekov
5d53d99425 * syntax/spec.syntax: Highlight "Requires(phase):" correctly. 2006-09-07 07:31:58 +00:00
Pavel Tsekov
624c79b8b2 * po/vi.po: Updated Vietnamese translation. 2006-09-04 13:30:15 +00:00
Andrew V. Samoilov
bd56912234 * assembler.syntax: Add generic AMD64 registers set. 2006-08-24 03:53:13 +00:00
Leonard den Ottolander
7fb17b353c * key.c (check_selects): Get rid of the now redundant else. 2006-08-12 18:22:44 +00:00
Leonard den Ottolander
01d80ec3c7 * key.c (check_selects): Initialize retry to FALSE every time we enter
the do/while loop (bug introduced when incorrectly rewriting the
	backward goto used by the original submitter).
2006-08-12 10:06:22 +00:00
Leonard den Ottolander
fc061342f4 * key.c (check_selects): Fix possible crash on reference to select list
element removed in callback.
2006-08-11 22:57:09 +00:00
Leonard den Ottolander
92b9d99b83 * de.po: Fix duplicate hotkey 'H' in German copy/move dialog. 2006-08-10 20:33:19 +00:00
Leonard den Ottolander
b7db76f81f * key.c: Make escape key timeout user configurable via the
environment variable KEYBOARD_KEY_TIMEOUT_US (in microseconds).
2006-08-09 21:19:18 +00:00
Andrew V. Samoilov
91d5926ded Add new entries 2006-08-09 11:59:23 +00:00
Andrew V. Samoilov
1868ddd520 * hotlist.c (update_path_name): Fix gcc4 warning. 2006-08-08 12:17:14 +00:00
Pavel Tsekov
bd24e2ea78 * src/hotlist.c (remove_from_hotlist): Fix erronous check of the return
value of query_dialog().
2006-08-06 11:43:34 +00:00
Roland Illig
ca988dd28e Added correct handling of Mac line endings. 2006-08-03 05:51:23 +00:00
Leonard den Ottolander
2f8a75974b * syntax.c (edit_read_syntax_file): Set NENTRIES to 30. 2006-08-02 15:18:22 +00:00
Leonard den Ottolander
7564bbd7d4 * extfs/rpm: Restore legacy RPM tags for backward compatibility.
* extfs/trpm: Likewise.
2006-08-01 21:03:18 +00:00
Pavel Tsekov
56067d3258 * src/vfsdummy.h [!USE_VFS] (mc_getlocalcopy): Implement. 2006-07-26 09:55:55 +00:00
Pavel Tsekov
c2721465d7 * vfs/extfs/urar.in (mcrarfs_copyout): Do not query password
when extracting password protected entries.
2006-07-25 20:42:58 +00:00
Pavel Tsekov
e7d571c9d6 * vfs/extfs/audio.in (audiofs_copyout): Quote the track name.
* vfs/extfs/bpp (mcbppfs_list): Quote the package file name.
* vfs/extfs/uzoo.in (mklink): Quote MC_TMPDIR.
2006-07-25 20:22:59 +00:00
Pavel Tsekov
ec98ac4cf7 * vfs/extfs/iso9660.in (test_iso): Use `locale charmap' to retrieve
the current character set. If that fails fallback to using
the LC_CTYPE field of `locale' output.
When invoking `isoinfo' to test whether it supports a given character
set tell it to use /dev/null as the cdrom device so that it will bail
out immediatly instead of accessing a real drive.
2006-07-19 11:19:52 +00:00
Pavel Tsekov
3c713dfe18 * vfs/extfs/deb.in (mcdebfs_list): Do not skip over directory entries.
Set the locale to C when executing dpkg-deb.
2006-07-18 14:49:48 +00:00
Pavel Tsekov
861c850cfd * syntax/spec.syntax: Properly recognize case-insensitive tags. 2006-07-14 08:46:58 +00:00
Pavel Tsekov
9acf68c307 * syntax/spec.syntax: Display obsoleted rpm tags in white. 2006-07-13 14:32:58 +00:00
Pavel Tsekov
46ca52176b * vfs/extfs/rpm: Remove support for obsoleted RPM tags.
* vfs/extfs/trpm: Likewise.
2006-07-13 14:23:08 +00:00
Pavel Tsekov
e599536b2c * acinclude.m4 (AC_GET_FS_INFO): Check the return value of getmntinfo()
properly.
2006-06-30 07:44:18 +00:00
Leonard den Ottolander
e2959bb66a * mc.ext.in: ipkg package manager uses gzipped tars (.ipk). 2006-06-22 12:57:00 +00:00
Leonard den Ottolander
09a3e8c853 * c.syntax: Add colouring of labels. 2006-06-22 12:49:24 +00:00
Leonard den Ottolander
10dff51b4c * spec.syntax: Small readability fix. 2006-06-21 15:22:55 +00:00
Pavel Tsekov
7785aa544e * src/mountlist.c (fstype_to_string): Update the code to match its
coreutils counterpart.
Guard the use of MOUNT_UFS and MOUNT_NFS with appropriate
ifdefs as the rest of the code does.
2006-06-17 18:27:40 +00:00
Pavel Tsekov
9e1dd4594d * m4/fstypename.m4: New file.
* acinclude.m4 (AC_GET_FS_INFO): Add a check to determine whether
getmntinfo() takes struct statvfs instead of struct statfs as its
first argument. Define MOUNTED_GETMNTINFO_STATVFS if it does.
Add a check to determine whether struct statvfs has a field named
f_fstypename.
Use gl_FSTYPENAME tp determine whether struct statfs has a field
named f_fstypename.
* src/mountlist.c (HAVE_F_FSTYPENAME): Define when getmntinfo() is
used and the struct which it fills has a field named f_fstypename.
(read_filesystem_list) [MOUNTED_GETMNTINFO]: Use
MOUNTED_GETMNTINFO_STATVFS to determine the type of the first
argument to getmntinfo().
2006-06-17 15:39:07 +00:00
Pavel Tsekov
6625412758 * edit/wordproc.c (next_word_start): A word is preceded by a whitespace -
the latest changes missed that fact. Restore the original behaviour.
2006-06-16 20:01:29 +00:00
Pavel Tsekov
13884c4908 * src/wordproc.c (word_start): Add new argument. Pass extra argument
to next_word_start().
(next_word_start):  Add new argument to denote the maximum number of
characters to process.
(format_this): Reflect the changes above.
2006-06-16 19:34:49 +00:00
Leonard den Ottolander
7115ed2243 * src/dir.c (sort_orders): Substitute duplicate hotkey 'C' in sort
order dialog.
	* po/*.po: Update changed string in sort order dialog.
2006-06-11 10:50:00 +00:00
Pavel Tsekov
5f21c0fa37 * src/mountlist.c: Revert last commit. 2006-06-07 12:11:38 +00:00
Pavel Tsekov
e9996b613b * configure.ac: Revert last commit. 2006-06-07 12:00:10 +00:00