Commit Graph

7692 Commits

Author SHA1 Message Date
Pavel Tsekov
23361694b6 * src/background.c: Use the correct form of FSF's name in the copyright
notice.
* src/boxes.c: Ditto.
* src/complete.c: Ditto.
* src/execute.c: Ditto.
* src/ext.c: Ditto.
* src/file.c: Ditto.
* src/filegui.c: Ditto.
* src/fileopctx.c: Ditto.
* src/fileopctx.h: Ditto.
* src/find.c: Ditto.
* src/hotlist.c: Ditto.
* src/key.c: Ditto.
* src/keyxdef.c: Ditto.
* src/layout.c: Ditto.
* src/learn.c: Ditto.
* src/listmode.c: Ditto.
* src/main.c: Ditto.
* src/panelize.c: Ditto.
* src/slint.c: Ditto.
* src/textconf.c: Ditto.
* src/tree.c: Ditto.
* src/treestore.c: Ditto.
* src/tty.c: Ditto.
* src/util.c: Ditto.
* src/utilunix.c: Ditto.
* src/view.c: Ditto.
* src/widget.c: Ditto.
* src/wtools.c: Ditto.
* src/x11conn.c: Ditto.
* vfs/cpio.c: Ditto.
* vfs/extfs.c: Ditto.
* vfs/fish.c: Ditto.
* vfs/ftpfs.c: Ditto.
* vfs/gc.c: Ditto.
* vfs/mcfs.c: Ditto.
* vfs/mcserv.c: Ditto.
* vfs/smbfs.c: Ditto.
* vfs/tar.c: Ditto.
* vfs/undelfs.c: Ditto.
* vfs/utilvfs.c: Ditto.
* vfs/vfs.c: Ditto.
* edit/bookmark.c: Ditto.
* edit/edit.c: Ditto.
* edit/edit.h: Ditto.
* edit/editcmd.c: Ditto.
* edit/editdraw.c: Ditto.
* edit/editkeys.c: Ditto.
* edit/editlock.c: Ditto.
* edit/editmenu.c: Ditto.
* edit/editoptions.c: Ditto.
* edit/editwidget.c: Ditto.
* edit/syntax.c: Ditto.
2007-09-24 09:28:32 +00:00
Pavel Tsekov
2362e00199 * src/cmd.c (menu_edit_cmd): Rename a button label from "Home"
to "User".
2007-09-19 14:34:33 +00:00
Pavel Tsekov
bdcbed43de * src/widget.c (listbox_new): Remove redundant initialization of
WListbox fields.
2007-09-19 11:01:50 +00:00
Pavel Tsekov
2d297c4375 * src/util.c (file_date): Do not ignore the return value of localtime ().
Gentoo bug #184296.
2007-09-17 19:42:31 +00:00
Pavel Tsekov
e1386414af * src/find.c (find_parameters): Fix hotkey duplication. 2007-09-14 12:55:08 +00:00
Pavel Tsekov
adb84ceba8 * src/subshell.c (write_all): Do not use void pointer arithmetic. 2007-09-11 13:38:26 +00:00
Pavel Tsekov
20d32448f7 * src/mountlist.c: Fix a warning issued by gcc. 2007-09-11 08:37:51 +00:00
Pavel Tsekov
ca6af7ed40 * edit/choosesyntax.c (pstrcmp): Make static. 2007-09-11 08:34:31 +00:00
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