Commit Graph

7160 Commits

Author SHA1 Message Date
Roland Illig
1ebb74df99 Andrzej Zaborowski updated the Polish translation. 2005-09-08 22:55:04 +00:00
Pavel Roskin
55b23ed98d Prepend "new-" instead of appending ".new" so that special treatment
of files based on extensions is not affected.
2005-09-07 19:58:56 +00:00
Roland Illig
06f4ef50e6 option_backup_ext is only available when the internal editor is enabled. 2005-09-07 10:08:25 +00:00
Roland Illig
cd8cf54cbb * setup.c: Replaced the editor_option_backup_ext_int hack with a
string configuration variable, which allows the backup extension
	to have more than just four characters. Added generic support
	for string options.
2005-09-07 08:55:31 +00:00
Roland Illig
9be77996d6 Replaced the
editor_option_backup_ext_int hack with a string configuration
	variable, which allows the backup extension to have more than
	just four characters.
2005-09-07 08:54:11 +00:00
Roland Illig
34d39bfd0b * editmenu.c: Added a "Save setup..." entry. There had not been
the possibility of saving editor options except calling the
	"Save setup..." function from within the file manager.
2005-09-07 08:49:30 +00:00
Roland Illig
4df8fde197 * util.h: Added get_config_string() and set_config_string(),
which are analogous to get_int() and set_int().
	* util.c: Likewise.
2005-09-07 08:47:22 +00:00
Roland Illig
fa0d732112 * setup.c: Renamed options[] to int_options[]. 2005-09-07 07:55:15 +00:00
Roland Illig
5ddb6be28e * samba/*: Added many const qualifiers to properly fix the
warnings emitted by gcc with -Wwrite-strings.
	* smbfs.c: Likewise.
2005-09-07 07:33:39 +00:00
Roland Illig
689ee9f8ae * main.c (midnight_callback): Ctrl-space calculates the size of
the currently selected directory entry. This is mostly useful for
	directories.
2005-09-06 11:38:45 +00:00
Roland Illig
009400124c Added newline. :) 2005-09-06 09:20:29 +00:00
Roland Illig
42a100029b * mc.ext: nm(1) view is enabled for all ELF files, not just
files ending in .o.
2005-09-06 09:20:01 +00:00
Roland Illig
0e218318da * cmd.c: Added single_dirsize_cmd(), which computes the size of
the currently selected panel entry and moves down. Suggested by
	ForestCreature on mc-devel.
	* cmd.h: Likewise.
	* main.c (midnight_callback): When the space key is pressed and
	the command line is empty, single_dirsize_cmd() is called.
2005-09-06 06:41:35 +00:00
Roland Illig
e0898803a1 * mc.menu: %d is already quoted, so it must not be written "%d". 2005-09-06 06:01:07 +00:00
Roland Illig
2841a5087f Added const qualifiers. 2005-09-05 03:26:48 +00:00
Roland Illig
2d64b1c884 Replaced const_cast with str_unconst. Removed unused mvaddstr. 2005-09-05 03:22:04 +00:00
Roland Illig
4486c5eec2 Replaced const_cast with str_unconst. 2005-09-05 03:20:53 +00:00
Roland Illig
500136d789 Removed unnecessary const_cast. 2005-09-05 03:20:27 +00:00
Roland Illig
040e26b5eb * samba/: Added a const qualifier to setup_logging().
* smbfs.c: Removed dbghdr_wrapper. Removed all const_cast
	instances.
2005-09-05 03:17:03 +00:00
Roland Illig
16bb1e8eaa * tty.c: Don't use SLsmg_write_char, because Redhat provides a
different API to that function when the preprocessor symbol UTF8
	is defined.
2005-09-05 03:05:39 +00:00
Roland Illig
631220c042 const_cast and str_unconst. 2005-09-05 02:17:18 +00:00
Roland Illig
ad9acbde44 Moved printwstr() from src/slint.c to edit/editdraw.c. 2005-09-05 02:14:29 +00:00
Roland Illig
03759c8f34 * main.h: Added const qualifier to the global prompt variable.
* main.c: Likewise.
2005-09-05 02:10:48 +00:00
Roland Illig
1a0fad0d01 * main.h: Added const qualifier to the global prompt variable.
* main.c: Likewise.
2005-09-05 02:10:47 +00:00
Roland Illig
2058b40348 * assembler.syntax: Assembler files may contain comments, too. 2005-09-05 02:07:43 +00:00
Roland Illig
fed479813e Added const qualifier. 2005-09-05 02:04:23 +00:00
Roland Illig
14e619d39e Switched from printw() to tty_printf() to avoid gcc
warnings. st_ctime is not the creation time, but the status
	change time.
2005-09-05 01:36:58 +00:00
Roland Illig
1c1f2f5210 Switched from printw() to tty_printf() to avoid gcc
warnings. st_ctime is not the creation time, but the status
	change time.
2005-09-05 01:36:57 +00:00
Roland Illig
bb2feb9e7f * info.c: Switched from printw() to tty_printf() to avoid gcc
warnings. st_ctime is not the creation time, but the status
	change time.
2005-09-05 01:34:25 +00:00
Roland Illig
d12e66fb17 * editcmd.c: Fixed some of the gcc warnings. 2005-09-05 01:25:34 +00:00
Roland Illig
7e7b81b73e * direntry.c: Added const qualifiers to work around gcc
warnings.
	* extfs.c: Likewise.
	* fish.c: Likewise.
	* ftpfs.c: Likewise.
	* sfs.c: Likewise.
	* xdirentry.h: Likewise.
2005-09-05 00:52:56 +00:00
Roland Illig
1efcbd27a7 * widget.c: Reduced the number of gcc warnings by using
tty_printf() instead of printw().
2005-09-04 22:04:32 +00:00
Roland Illig
612f1555eb * tty.h: Added tty_printf().
* tty.c: Likewise.
2005-09-04 22:02:25 +00:00
Roland Illig
6bbcb8ef76 Added a comment to ecs_strbox concerning characters with other width
than 1.
2005-09-04 16:34:36 +00:00
Roland Illig
e7917badfa * main.h: Removed unused variables acs_hline and acs_vline. 2005-09-04 16:32:09 +00:00
Roland Illig
26ffecfc09 * treestore.c (str_common): Don't require the arguments to be
different.
2005-09-01 20:56:10 +00:00
Roland Illig
49448bfa43 * view.c (view_fix_cursor_position): Renamed to
view_scroll_to_cursor.
2005-09-01 20:49:17 +00:00
Roland Illig
9fe9ad92a1 Reformatted the comments. 2005-09-01 17:06:38 +00:00
Roland Illig
7b95eee94a Added a comment that the user is responsible for not overflowing the
screen.
2005-09-01 17:04:05 +00:00
Roland Illig
f901a3549c Added line breaks before the function names. 2005-09-01 17:01:12 +00:00
Roland Illig
c3ba638d43 * myslang.h: Partly switched to the new tty functions. 2005-08-29 10:02:35 +00:00
Roland Illig
f85a7d8275 Removed unused variable. 2005-08-29 09:40:58 +00:00
Roland Illig
af781d96f8 Added tty.c. 2005-08-29 09:36:32 +00:00
Roland Illig
ab3005ff93 Added a type conversion to view_growbuf_read_until to suppress a gcc
warning. Instead of treating various expressions as booleans, compare
them with a 0 of appropriate type.
2005-08-29 09:34:43 +00:00
Roland Illig
0c4c461433 The got_interrupt function from tty.c is defined for ncurses, too. 2005-08-29 09:30:45 +00:00
Roland Illig
132ee7a361 Fixed indentation. 2005-08-29 09:05:24 +00:00
Roland Illig
e223667dc3 Removed trailing white-space. 2005-08-29 09:04:39 +00:00
Roland Illig
a1bf93f138 Changed the prototypes of tty_print_hline and tty_print_vline. 2005-08-29 09:03:10 +00:00
Roland Illig
2a0f1a1cd0 * view.c: Converted to use the new tty functions. 2005-08-29 08:53:28 +00:00
Roland Illig
66332a4fb1 * slint.c: The handling of user interrupts has been moved to ...
* tty.c: ... this newly created file, which contains a simple,
	not yet complete interface to the terminal library. It should be
	used instead of depending directly on ncurses or SLang features.
	* tty.h: Added the new function prototypes from tty.c and some
	legacy definitions.
2005-08-29 08:45:28 +00:00