Roland Illig
28f0a4ab24
Patch provided in #10557 . Fixes #10557 .
2006-01-28 09:27:11 +00:00
Roland Illig
cbf2c616ff
* cmd.c (toggle_listing_cmd): Included the brief listing mode in
...
the list of listing modes that can be switched through using
Alt-t.
2006-01-28 09:21:55 +00:00
Roland Illig
8f683b9789
Oops, we're already in the year 2006.
2006-01-28 00:24:57 +00:00
Roland Illig
282371e33b
Rewrote the code so that it does what I intended it to do.
2006-01-28 00:23:55 +00:00
Roland Illig
e3fb94363e
* Makefile.am, logging.h, logging.c: Added a new logging module
...
to allow easy tracing of function calls and other events. It is
only intended for debugging.
2006-01-27 23:48:49 +00:00
Roland Illig
015ebfc2fe
* Makefile.am: cons.saver is installed in $(pkglibexecdir), not
...
in $(pkglibdir), to conform to the usual directory hierarchy
standards. Fixes #2796 .
2006-01-27 21:53:50 +00:00
Pavel Tsekov
78535f6b60
* file.c (copy_file_file): In 'Reget' mode take into account
...
the partially retrieved data when drawing the progress bar.
From Jindrich Makovicka <makovick@kmlinux.fjfi.cvut.cz>
2006-01-24 14:07:07 +00:00
Andrew V. Samoilov
ee404fbebe
* subshell.c: restart write() calls interrupted by sigchld which lead
...
to some bytes being swallowed from the subshell's output.
2006-01-23 18:55:36 +00:00
Roland Illig
adc2d181c7
* view.c: Replaced calls to printw() with tty_printf() to get
...
rid of the str_unconst() function.
2006-01-07 18:17:27 +00:00
Roland Illig
58337baa8d
White-space and indentation fixes. Rewrote the expressions for the
...
*_PRESSED constants to emphasize they are in fact bit masks.
2006-01-07 12:49:08 +00:00
Roland Illig
63a504ffed
It was not Redhat who changed the SLang API of SLsmg_write_char, but
...
actually Debian. Redhat only copied that code.
2006-01-07 12:17:07 +00:00
Pavel Roskin
dd8b442df5
* global.h [!ENABLE_NLS]: Provide replacement for ngettext.
...
* screen.c (display_mini_info): Cast panel->total to unsigned
long before passing it to ngettext() to avoid warnings.
2005-11-11 03:32:39 +00:00
Pavel Roskin
7b3b03f9db
* glibcompat.c: Move Q_ back ...
...
* util.c: ... here. Q_ is not defined by just including glib.h.
The glib implementation doesn't strip prefix from translations,
so it's not suitable for us. Finally, it makes man2hlp depend
on libintl.
Reported by Leonard den Ottolander <leonard@den.ottolander.nl>
2005-11-03 02:18:38 +00:00
Leonard den Ottolander
894b343f90
* main.c (directory_history_add): Fix invalid directory preselection on cd.
2005-11-02 11:50:51 +00:00
Pavel Roskin
da6ee30252
* man2hlp.c (main): Fix using 0 instead of NULL.
2005-10-08 04:55:06 +00:00
Pavel Roskin
528e392458
* widget.c (listbox_fwd): Eliminate forward inline declaration.
2005-10-08 04:52:42 +00:00
Leonard den Ottolander
79567ed4a1
view.c (search): Fix backward regex search off by one.
2005-10-04 21:07:20 +00:00
Pavel Roskin
01f571f1d2
* util.c (gettext_ui): Rename to Q_() for glib compatibility,
...
move ...
* glibcompat.c: ... here. Adjust all callers.
2005-10-04 15:20:10 +00:00
Pavel Roskin
0f46bb2632
* screen.c (display_mini_info): Use ngettext().
2005-10-03 23:37:51 +00:00
Leonard den Ottolander
9ac5ed8d4e
* key.c (xmouse_get_event): Catch GPM_DRAG event.
...
* mouse.c (enable_mouse, disable_mouse): Update printed escape sequence.
2005-09-28 17:21:53 +00:00
Leonard den Ottolander
a621fb9b67
* execute.c (do_execute): Flush stdout after printing the command to be
...
executed.
2005-09-17 12:08:19 +00:00
Leonard den Ottolander
13d8512c37
* util.c: Indentation cleanup (function result types on different lines
...
then function names).
2005-09-17 12:01:04 +00:00
Leonard den Ottolander
2319ac0f7b
* file.c (make_symlink): Fix off by one in symlink creation.
2005-09-17 11:45:13 +00:00
Leonard den Ottolander
b2952be541
* util.c (diff_two_paths): Abort when second symlink can't be resolved
...
(fixes segfault).
2005-09-17 11:40:31 +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
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
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
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
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
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
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
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
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