Pavel Tsekov
fb01c26098
* edit/editcmd.c (edit_replace_cmd): Disable scanf-printf replacement
...
if "Regular expression" is selected. Fix for savannah bug #19333 .
2007-04-27 08:53:50 +00:00
Pavel Tsekov
9312932eea
* vfs/fish.c (fish_linear_start): Use _FILE_OFFSET_BITS to determine which
...
length modifier to pass to sscanf(). Use 'll' length modifier instead
of 'L' since 'L' is meant for doubles.
2007-04-26 15:10:02 +00:00
Pavel Tsekov
eca5afad0f
* src/subshell.c (subshell_name_quote): Use the `printf' utility
...
instead of `echo' to quote the directory name.
2007-03-23 16:42:17 +00:00
Pavel Tsekov
64045fc8f0
* src/subshell.c (sigchld_handler) [__EMX__]: Remove unneeded code.
2007-03-08 17:53:56 +00:00
Pavel Tsekov
850542cebd
* src/subshell.c (subshell_pty_slave): New global variable.
...
(init_subshell): Do not close the pseudo-terminal slave -
store it in `subshell_pty_slave' for later use.
(init_subshell_child): Do not open the pseudo-terminal slave
in the child. It is inherited from the parent now.
Use `subshell_pty_slave' as the file descriptor of the
opened pseudo-terminal slave.
Rearrange the code a bit.
(synchronize): Discard all data from the pseudo-terminal
slave input queue.
2007-03-01 11:07:04 +00:00
Pavel Tsekov
888ab78a1e
* src/file.c (copy_file_file): chmod() the target file no matter whether
...
"preserve attributes" is checked or not, since the destination is
initially created with mode 0600.
2007-02-22 14:29:11 +00:00
Pavel Tsekov
8e04248ef9
* src/utilunix.c (mc_tmpdir): Do not accept relative path in TMPDIR. Use
...
a hardcoded value instead.
2007-02-22 11:49:01 +00:00
Pavel Roskin
d15f59038c
* mountlist.c: Fix misuse of HAVE_STRUCT_STATFS_F_FSTYPENAME.
2007-02-03 01:06:55 +00:00
Pavel Roskin
5da9a185c9
* edit.h: Make skip_detach_prompt unsigned. Otherwise, it
...
cannot get value of 1.
2007-02-03 01:03:53 +00:00
Andrew V. Samoilov
1e3c020481
* syntax/sql.syntax: Add compile, merge, minus, offline, online,
...
rebuild, replace, truncate and while keywords.
2007-01-23 12:22:32 +00:00
Pavel Tsekov
56eba6ed17
* src/help.c: Document the newline following the node header.
...
Teach all code dealing with nodes that the actual node data
starts right after the first newline following the node
header. Thanks to Grigory Trenin <gtrenin@gmail.com> .
2007-01-20 11:40:45 +00:00
Pavel Tsekov
b4046cd029
* src/dir.c (sort_time): Default to sort_name() if the
...
arguments are equal.
(sort_ctime): Likewise.
(sort_atime): Likewise.
(sort_size): Likewise.
2007-01-13 22:48:07 +00:00
Pavel Tsekov
bc146822b0
* src/dir.h (sort_type): Remove function declaration.
...
(sort_links): Likewise.
(sort_nuid): Likewise.
(sort_ngid): Likewise.
(sort_owner): Likewise.
(sort_group): Likewise.
* src/dir.c (sort_type): Remove function definition.
(sort_links): Likewise.
(sort_nuid): Likewise.
(sort_ngid): Likewise.
(sort_owner): Likewise.
(sort_group): Likewise.
(sort_orders): Reflect the changes above.
* src/screen.c (formats): Remove references to sort_type(), sort_links(),
sort_nuid(), sort_ngid(), sort_owner() and sort_group().
2007-01-13 22:38:48 +00:00
Pavel Tsekov
59d63bca65
* doc/mc.1.in: Place the description of the "Swap panels" on
...
a paragraph of its own.
2007-01-13 16:21:17 +00:00
Pavel Tsekov
bb2231fd1b
* edit/edit.c (edit_execute_cmd): Update the bracket pair highlighter
...
state after processing CK_Find, CK_Find_Again, CK_Replace,
CK_Replace_Again, CK_Complete_Word.
2007-01-04 15:37:23 +00:00
Pavel Tsekov
cfdc950171
* src/utilunix.c (mc_tmpdir): Call mc_mkstemps() with an absolute
...
path to prevent stack overflows due to circular dependecy.
2007-01-02 15:55:01 +00:00
Pavel Tsekov
8113a37d37
* src/help.c (startpoint): Remove global variable and all references
...
to it.
(select_prev_link): Remove the first argument.
Keep searching until a link is found or end of node delimiter is
reached.
(help_handle_key): Reflect the changes above.
Remove an unneeded check.
2006-12-30 23:03:48 +00:00
Pavel Tsekov
370c1d2cb2
* src/view.c (view_file_load_data): Do not to attempt to seek
...
beyond the end of file. Patch by Andrzej Zaborowski.
(view_moveto_addr_cmd): Display a warning message if the
user specified an invalid offset.
2006-12-30 13:16:54 +00:00
Pavel Tsekov
b33ded92e8
* m4/ls-mntd-fs.m4: Update to serial #26 .
2006-12-30 12:20:50 +00:00
Pavel Tsekov
2e693eb196
* m4/fsusage.m4: Update to serial #22 .
2006-12-30 11:57:51 +00:00
Pavel Tsekov
e356d015d2
* m4/fsusage.m4: Update to serial #18 .
2006-12-30 11:49:03 +00:00
Pavel Roskin
53f963fef5
* build-glib1.sh: Fix misplaced --with-glib12. Copy
...
config.guess and config.sub from mc to glib sources - they are
too old in glib.
* build-glib2.sh: Update to the latest versions of glib, gettext
and pkg-config.
2006-12-28 05:28:56 +00:00
Pavel Roskin
b3ae812c32
* mc.ext.in: Call xmms consistently. Never preserve the
...
existing queue (it was done for wav, but not for mp3 files).
Preserving the queue is not a good idea if mc is used to move
the files around. Always redirect stdout and stderr to
/dev/null.
2006-12-28 03:57:01 +00:00
Pavel Roskin
19269cd36f
Don't rely on brace expansion, it may be disabled
2006-12-22 02:05:55 +00:00
Pavel Tsekov
493a107f8b
* src/fsusage.c: Remove references to HAVE_INFOMOUNT.
2006-12-21 18:47:06 +00:00
Pavel Tsekov
9ab2dde60c
* src/fsusage.h: Update from gnulib.
...
* src/fsusage.c: Likewise.
2006-12-21 14:09:30 +00:00
Pavel Tsekov
393d1f5b43
* src/fsusage.h: Resurrect.
...
* src/fsusage.h: Likewise.
2006-12-21 11:55:00 +00:00
Pavel Roskin
cd71c4159c
Fix incorrect plural forms
2006-12-19 21:42:21 +00:00
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