Commit Graph

2924 Commits

Author SHA1 Message Date
Andrew V. Samoilov
26280ca462 ;) 2001-07-11 22:57:31 +00:00
Pavel Roskin
8432d4dd4a * gdialogs.c: Use g_snprintf() instead of snprintf().
* gnome-file-property-dialog.c: Likewise.
* gprefs.c: Likewise.
2001-07-11 15:14:45 +00:00
Pavel Roskin
72a33a6190 * editdraw.c (status_string): Use g_snprintf() instead of
snprintf().
From Libor Motyèka <l_motycka@ortex.cz>
2001-07-11 15:01:03 +00:00
Pavel Roskin
67ffae6ff2 * editdraw.c (status_string): Use g_snprintf() instead of
snprintf().
From Libor Motyèka <l_motycka@ortex.cz>
2001-07-11 14:55:36 +00:00
Pavel Roskin
238d3dd4c2 * doc/mc.1.in: Update documentation about hex search. 2001-07-10 19:54:39 +00:00
Pavel Roskin
3fa13073a6 * edit/edit_key_translator.c (cooledit_key_map): Bind
Ctrl-Shift-Up and Ctrl-Shift-Down to scroll with highlight.
From Steef Boerrigter <sxmboer@sci.kun.nl>
2001-07-10 19:22:10 +00:00
Pavel Roskin
ca73acb9bc * gtkeditkey.c (edit_translate_key): When processing bindings
with Alt check that Shift is not pressed - it's handled later.
2001-07-10 19:20:45 +00:00
Pavel Roskin
c2560cf2a6 * gscreen.c (panel_icon_list_select_icon): This function doesn't
get GDK_BUTTON_RELEASE, so move middle button processing ...
(panel_icon_list_button_release): ... here.
* gtkflist.c (gtk_flist_button_release): Open new window if the
middle button is released and DnD is not attempted.
2001-07-10 18:18:09 +00:00
Pavel Roskin
3b83dc732f * view.c (hex_search): Release buffer after use. 2001-07-10 17:42:25 +00:00
Pavel Roskin
0c08ee1fdd * edit/Makefile.in: Make edit.o depend on edit_key_translator.c.
* edit/edit_key_translator.c (cooledit_key_map): Add support
for bracket matching on Alt-B.
* gtkedit/gtkeditkey.c: Likewise.
From Steef Boerrigter <sxmboer@sci.kun.nl>
2001-07-10 15:05:55 +00:00
Pavel Roskin
13959da45a Comment fix. 2001-07-10 14:33:59 +00:00
Pavel Roskin
c100281180 * extfs.c: Include contents of shared_tar_ext.c - it's no
longer shared.
* shared_tar_ext.c: Remove.
* Make-mc.in (VFSSRCS): Remove shared_tar_ext.c.
2001-07-10 14:19:11 +00:00
Pavel Roskin
fa6ce3a7db * POTFILES.ignore: New file.
* POTFILES.in: Add src/slint.c.
2001-07-10 04:13:27 +00:00
Pavel Roskin
473b2588f3 Update. 2001-07-10 04:09:03 +00:00
Pavel Roskin
ab828100df * smbfs.c (vfs_smbfs_ops): Use short name "smbfs" for the
filesystem. Don't translate it.
2001-07-10 04:05:47 +00:00
Pavel Roskin
f69f94f442 * gtkdtree.c: Include alloca.h if available.
From Dan McNichol <mcnichol@austin.ibm.com>.
2001-07-10 03:18:28 +00:00
Pavel Roskin
401ca73645 * tar.c (ReadStatus): Fix compilation on AIX.
From Dan McNichol <mcnichol@austin.ibm.com>.
2001-07-10 03:12:02 +00:00
Pavel Roskin
ea68ebdeb5 * view.c (hex_search): Reimplement parser using sscanf. Add
support for decimal and octal numbers. Add error reporting.
Allocate buffer dynamically.
2001-07-09 23:19:23 +00:00
Pavel Roskin
f978d9eec4 Typo fix. 2001-07-09 23:01:06 +00:00
Pavel Roskin
e1d5a8250d * extfs/mailfs: Strip trailing DOS newlines from mail files.
From Christian Gennerat <christian.gennerat@vz.cit.alcatel.fr>
2001-07-09 20:07:43 +00:00
Pavel Roskin
80f37db22b * fish.c (fish_chown): Do nothing and return success if
getpwuid() or getgrgid() fails.
2001-07-09 16:15:33 +00:00
Pavel Roskin
78ab72b19f * gdesktop-prefs.c (create_mini_icons): Warning fix.
* gdialogs.c (file_mask_dialog): Likewise.
* gdnd.c (gdnd_validate_action): Likewise.
* gscreen.c (panel_drag_data_delete): Likewise.
(panel_tree_check_auto_expand): Likewise.
2001-07-09 15:37:31 +00:00
Pavel Roskin
62ef1f47bd * hotlist.c: Add comments to avoid confusion between
done_hotlist() and hotlist_done().
(hotlist_done): Set l_hotlist to NULL.
(add2hotlist): Load hotlist if it's neither loaded nor loading.
This fixes Ctrl-x h. Fix compiler warning.
2001-07-09 06:43:45 +00:00
Pavel Roskin
48b3cb4154 * hotlist.c: Make more variables and functions static. 2001-07-09 05:54:58 +00:00
Pavel Roskin
3f25e54361 * ext.c (exec_extension) [HAVE_X]: Free file_name. Add comment
explaining why it cannot be unlinked there.
2001-07-08 21:34:55 +00:00
Pavel Roskin
4f992c2fd3 Typo in the last commit. 2001-07-06 23:07:22 +00:00
Pavel Roskin
7a177fd8d5 * view.c (exec_extension): Unlink temporary file earlier if it's
not going to be used.
[OLD_CODE]: Remove.
2001-07-06 23:06:45 +00:00
Pavel Roskin
eafd93ed76 * lib/mc.ext.in: Use nm to view object files. 2001-07-06 22:02:36 +00:00
Pavel Roskin
3f53dee86d * Make.common.in: Remove GNOME-specific and unused definitions.
Partly moved to gnome/Makefile.in.
2001-07-06 21:16:30 +00:00
Pavel Roskin
98938f0035 * Makefile.in: Move here gnome-specific definitions from
../Make.common.in.
2001-07-06 21:13:01 +00:00
Pavel Roskin
a08a62bef3 * Makefile.in: Use additional quotes to preserve @prefix@ when
Makefile is generated.
2001-07-06 21:05:24 +00:00
Pavel Roskin
e477609511 * configure.in: Remove all references to SEDCMD and SEDCMD2 -
they are usused.
* Make.common.in: Likewise.
2001-07-06 20:49:46 +00:00
Pavel Roskin
e09c2cba92 * Makefile.in: Don't use SEDCMD2, use sed. 2001-07-06 20:45:30 +00:00
Pavel Roskin
91a799e3c0 * cons.saver.c: New variable console_minor. Eliminate variables
len and vcs_name.
(check_file): Set console_minor to the minor device number of
the console. Disallow /dev/tty0.
(detect_console): Don't parse tty_name, instead make sure that
it corresponds to console_minor. Check console first. Fallback
to /dev/vcc/a* if /dev/vcsa* cannot be opened.
(save_console): Use console_minor.
(restore_console): Likewise.
2001-07-06 19:24:27 +00:00
Pavel Roskin
a44f9422d2 * cons.saver.c (check_file): Eliminate using text messages to
indicate errors. Improve debug messages.
(detect_console): Likewise.
(main): Adjust call to detect_console.
2001-07-06 17:49:27 +00:00
Pavel Roskin
91f2348983 * main.c (sigchld_handler_no_subshell): Don't restart cons.saver
if it died.
* subshell.c (sigchld_handler): Likewise.
2001-07-06 17:29:20 +00:00
Pavel Roskin
1cd140d5dc * main.c (midnight_callback): Don't handle any events except
Ctrl-x combinations on DLG_KEY event if the menu is active.
2001-07-05 23:27:01 +00:00
Pavel Roskin
6c17a59440 * main.c (load_prompt): Don't change prompt if midnight_dlg is
not the current dialog.
2001-07-05 22:35:16 +00:00
Pavel Roskin
042380d3a0 * editdraw.c: Comment fixes. 2001-07-05 15:19:34 +00:00
Pavel Roskin
1fc74d5ab3 * README.fish: Spelling fixes. 2001-07-05 15:05:23 +00:00
Andraz Tori
8b55434753 Updated Slovenian translation 2001-07-03 21:13:32 +00:00
Andraz Tori
ab125c1677 Updated Slovenian translation 2001-07-02 23:14:39 +00:00
Pavel Roskin
e8c71236bb * Makefile.in.in: Upgrade to gettext-0.10.38. 2001-06-29 17:57:26 +00:00
Pavel Roskin
27bb8d65b8 * ABOUT-NLS: Update to the version from gettext-0.10.38. 2001-06-29 16:59:25 +00:00
Pavel Roskin
45d7dee152 * Make.common.in (XCPPFLAGS): Don't add -I$(top_srcdir) - it's
now done in configure. Move -I.. to the beginning.
* Makefile.am (SUBDIRS): Move intl po to the beginning, since
libintl.a may be required to link mc.
(ACLOCAL_M4_SOURCES): Remove macros/gnome-gettext.m4.
* configure.in: Use AM_GNU_GETTEXT instead of AM_GNOME_GETTEXT.
Move all i18n code to one place. Don't substitute INTLSUB - it's
unused. Substitute INTLDEPS, since AM_GNU_GETTEXT doesn't do it.
Remove SCO-specific i18n hacks. Add -I$(top_srcdir) to CPPFLAGS.
2001-06-29 08:09:37 +00:00
Pavel Roskin
5ff9f80ca8 * Make-mc.in: Don't ever link mcserv with libintl - it must not
depend on it.
2001-06-29 07:20:46 +00:00
Pavel Roskin
a5281c3ee4 * util.c (size_trunc_len): New function - print file size to
a buffer of limited length.
* util.h: Declare size_trunc_len().
* screen.c (string_file_size): Use size_trunc_len().
2001-06-28 04:17:28 +00:00
Miguel de Icaza
2bde471305 Add gnu.org to the desktop 2001-06-27 18:00:11 +00:00
Andrew V. Samoilov
69c85ec184 * smbfs.c: Include <config.h>. Make all internal variables static.
(get_stat_info): Eliminate fake_stat, memory leak fixed.
(IPC, URL_HEADER): Make static const.
(smbfs_stat): Fix segmentation violation.
(statfile_helper): Allocate memory for single_entry once. It is never
freed now, and only my_stat element of this structure is used.
2001-06-27 12:26:27 +00:00
Pavel Roskin
3ec7c60591 * edit-widget.h (editor_widget): Rename stat' to stat1' to
avoid problems on Solaris with 64-bit file access, when `stat'
is a macro. All users adjusted.
Reported by Maksym Polyakov <polyama@yahoo.com>.
2001-06-26 15:52:12 +00:00