Commit Graph

7484 Commits

Author SHA1 Message Date
Pavel Tsekov
834cbed64f * configure.ac: Update the version number to 4.6.2-pre1.
* doc/mc.1.in: Likewise.
2007-09-10 14:25:30 +00:00
Pavel Tsekov
be88d7daef * po/ru.po: Update the russian translation. From Andrew Borodin. 2007-09-05 12:39:17 +00:00
Pavel Tsekov
139e48183f * src/color.h: Add a new color pair.
* src/color.c: Likewise.
* edit/editdraw.c (print_to_widget): Make tabs and trailing whitespace
characters visible.
(edit_draw_this_line): Likewise.
2007-08-27 12:06:02 +00:00
Pavel Tsekov
767982df31 * syntax/d.syntax: Add support for highlighting D language source files.
* syntax/Syntax: Likewise.
* syntax/Makefile.am: Likewise.
2007-08-27 06:56:47 +00:00
Pavel Tsekov
29447c6ca1 * po/nl.po: Fix conflicting shortcut in the dutch translation.
From Daniel Hahler.
2007-08-27 06:36:52 +00:00
Pavel Tsekov
dd208753b6 * src/screen.c (show_dir): Surrond the current directory with spaces. 2007-08-24 12:22:29 +00:00
Pavel Tsekov
339a66dc2f * src/screen.c (show_dir): Remove unneeded code. 2007-08-24 09:13:47 +00:00
Pavel Tsekov
91dcf2be2b * syntax/tcl.syntax: 2007-08-23 15:04:16 +00:00
Pavel Tsekov
e2424ae139 * src/filegui.c (rd_widgets) [_LARGE_FILES]: Use format string
capable of supporting 64 bit file sizes.
* vfs/fish.c (fish_linear_start) [_LARGE_FILES]: Use format string
capable of supporting 64 bit file sizes.
2007-08-23 13:16:39 +00:00
Pavel Tsekov
e6980eb09a * src/mountlist.c (fstype_to_string): Define only when
`MOUNTED_GETMNTINFO' or `MOUNTED_VMOUNT' is defined.
2007-08-23 12:33:36 +00:00
Pavel Tsekov
82177fe309 * po/pl.po: Updated date format for the polish translation. 2007-08-22 13:40:17 +00:00
Marco Ciampa
364aa0e083 Updated italian translation 2007-08-20 09:38:26 +00:00
Pavel Roskin
ebed695298 Make cons.saver suid vcsa, it's needed for Fedora 7 2007-06-23 13:55:56 +00:00
Roland Illig
30d603ec67 * Syntax: Files that contain "/lua" in the first line are
probably Lua source code.
	* lua.syntax: Comments may also start with "#", at least in the
	first line.
2007-06-08 07:05:23 +00:00
Pavel Roskin
d480dbe0b3 * diff.syntax: Don't use blue background for lines starting with
spaces and tabs.  It stands out too much if the default editor
background is not blue.  Use the default background.  Remove an
obsolete comment.
2007-06-04 22:25:48 +00:00
Roland Illig
2eccdbd045 * lua.syntax: Strings can have embedded \" sequences. 2007-06-01 07:07:45 +00:00
Pavel Tsekov
0be8302a3d * vfs/fish.c: Remove all references to HAVE_HACKED_SSH. 2007-05-07 13:23:54 +00:00
Pavel Tsekov
6cb718c0a8 * src/cmd.c (dirsizes_cmd): Re-sort the panel when done. 2007-05-02 12:01:13 +00:00
Pavel Tsekov
46d039e0e1 * edit/editcmd.c (edit_find_string): Fix an off-by-one error when matching
against a RE.
2007-05-02 11:22:01 +00:00
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