Commit Graph

3558 Commits

Author SHA1 Message Date
Wang Jian c1605a677c *** empty log message *** 2001-12-01 14:56:23 +00:00
Wang Jian ffe1bc71e7 *** empty log message *** 2001-12-01 13:29:23 +00:00
Wang Jian eea9e0d2ab *** empty log message *** 2001-11-30 15:29:47 +00:00
Pavel Roskin bfb469435d * lib/mc.ext.in: Use "type" to recognize zip and lha archives. 2001-11-29 21:27:55 +00:00
Pavel Roskin acbe83ef9c * main.c (midnight_callback): Implement "auto menus". 2001-11-29 21:03:16 +00:00
Pavel Roskin 905b9ac8f8 * layout.c: Make more variables static. 2001-11-29 20:30:50 +00:00
Pavel Roskin d816549ab9 * cons.saver.c: Define LINUX_CONS_SAVER_C so that some parts
of cons.saver.h can be omitted.
* cons.saver.h: Declare nothing but constants if
LINUX_CONS_SAVER_C is defined.
2001-11-29 20:28:48 +00:00
Wang Jian b8f4172114 *** empty log message *** 2001-11-29 16:00:36 +00:00
Pavel Roskin 4d54921e9d * chmod.c: Fix includes for cross-compiler. Add gettext N_()
and _() calls.
2001-11-29 02:26:50 +00:00
Pavel Roskin 5f2c090d3e This directory is now dead. 2001-11-29 02:06:58 +00:00
Pavel Roskin 23589cf41b * regex.c: Add temporarily to fix the build.
* regex.h: Likewise.
* Makefile.am: Add regex.c and regex.h.
From Franco Bez <franco.bez@web.de>
2001-11-29 01:56:56 +00:00
Andrew V. Samoilov a34c2786cb * syntax.c (apply_rules_going_right): Fix crush for lines like
\s+ \n lightgray/13 red
in Syntax file.
(read_one_line): Use EOF instead of -1.
(get_args): Fix buffer overflow for l without trailing
whitespace(s).
(break_a): New macro.
(edit_read_syntax_rules): Use break_a to fix memory leaks.
(edit_load_syntax): Eliminate s and use message to prevent
buffer overflow.
2001-11-28 12:40:18 +00:00
Andrew V. Samoilov 23bdcf3d1e * editdraw.c (edit_render): Eliminate f. It's only written
but never read.
2001-11-28 12:31:48 +00:00
Pavel Roskin efe14b8bf1 * lib/mc.ext.in: When running X programs in background, do it
from subshell.  Otherwise some of them terminate when mc exits.
Reported by Christian Dysthe <christian@dysthe.net>
Remove some obsolete and gmc-specific entries.  Use StarOffice
to open files detected as "Microsoft Office Document".
2001-11-28 00:25:44 +00:00
Pavel Roskin 6e6eb3465e * lib/mc.lib: Support "Home" and "End" sequences in xterm from
XFree86 4.1.0.
2001-11-27 16:23:40 +00:00
Andrew V. Samoilov d9a88088d1 * editmenu.c (edit_wrap_cmd): Use g_free() on the result
of input_dialog().
2001-11-27 12:38:30 +00:00
Stanislav Visnovsky df35606f2c 2001-11-27 Stanislav Visnovsky <visnovsky@nenya.ms.mff.cuni.cz>
* sk.po: Small fix.
2001-11-27 10:43:47 +00:00
Sung-Hyun Nam 3759bf2d36 updated 2001-11-26 07:57:39 +00:00
Marco Ciampa e01ea4002e Changed translators mailing address. 2001-11-25 21:39:51 +00:00
Andraz Tori 7d437eaedc Updated Slovenian translation 2001-11-24 23:27:33 +00:00
Marco Ciampa 66d35ecc6c Gosh, some little cosmetics here... 2001-11-24 09:39:49 +00:00
Marco Ciampa d20237f595 processsi corrected, thanks Michele P.! 2001-11-24 08:51:30 +00:00
Andrew V. Samoilov 08a8461efa * editcmd.c (edit_save_file): Use g_free() on the result of
mc_mkstemps().
2001-11-22 10:56:09 +00:00
Andrew V. Samoilov 07302c86a4 * lib/mc.menu (Extract compressed tar files to subdirectories): Use $i in case statement 2001-11-22 09:28:04 +00:00
Andrew V. Samoilov 1ce932fd6e * configure.in: Add quotes in ALL_LINGUAS test 2001-11-22 07:43:11 +00:00
Peteris Krisjanis 4f4630bce6 no message 2001-11-21 16:06:08 +00:00
Andrew V. Samoilov 29dd051ce8 * edit.c (edit_renew): Release dir after use.
* editcmd.c (edit_replace_dialog): Eliminate tsearch_text,
treplace_text and targ_order.
(edit_replace_cmd): edit_replace_dialog gives g_malloced
strings, so g_strdup/g_free have to be used.  Accept only
positive pattern number in Scanf search and replace.
(edit_save_file): Enable safe save and backups on remote VFS.
2001-11-19 07:31:32 +00:00
Andrew V. Samoilov 8525b2622a * doc/mcedit.1.in: Fix help file location. 2001-11-16 11:50:23 +00:00
Andrew V. Samoilov b6b8cd0433 * edit_key_translator.c (cooledit_key_map):
Add C-k, CK_Delete_To_Line_End.

* edit.c (user_menu): Don't assign block_file twice.
2001-11-16 07:23:36 +00:00
Pavel Roskin fa89635b51 Fully eliminate all references to HAVE_X and HAVE_GNOME. 2001-11-14 23:20:37 +00:00
Pavel Roskin 5fac744c29 * chmod.c: Remove all occurences of HAVE_X.
* drive.c: Likewise.
2001-11-14 23:13:53 +00:00
Pavel Roskin d62c8ee427 * dir.c (do_sort): Correctly handle the case when there is no
".." entry (i.e. panelized mode).
2001-11-14 20:32:47 +00:00
Pavel Roskin e50abb3f80 * view.c (do_view_init): Make sure _file is not
an empty string before mc_stat and mc_open.
Memory leak fixed.
2001-11-14 20:15:36 +00:00
Pavel Roskin 79dd5b30cb * panelize.c (do_external_panelize): Re-sort the panel according
to the current settings.
2001-11-14 20:06:08 +00:00
Pavel Roskin 86213a2be0 * find.c (do_find): Re-sort the panel according to the current
settings when doing panelizing.
2001-11-14 19:59:31 +00:00
Pavel Roskin 47f87cba24 * dir.c (sort_type_to_name): Remove, it's unused in the text
edition.
(sort_name_to_type): Likewise.
* dir.h: Adjust to match.
2001-11-14 18:57:24 +00:00
Pavel Roskin 358abbe0df * mouse.c: Add default cases to fix warnings with gcc-2.96. 2001-11-14 18:27:45 +00:00
Pavel Roskin 721ae83fff * undelfs.c: Use ext2_ino_t to avoid warnings with e2fsprogs
1.20 and newer.
2001-11-14 17:57:06 +00:00
Pavel Roskin d85bffa7b2 * acinclude.m4 (MC_UNDELFS_CHECKS): Check for ext2_ino_t,
fallback to ino_t for e2fsprogs version 1.19 and older.
2001-11-14 17:54:44 +00:00
Andrew V. Samoilov 9d4e2fcd1c * samba/acconfig.h: Remove WITH_SYSLOG. 2001-11-13 12:19:57 +00:00
Andrew V. Samoilov 4dd95908c0 * samba/lib/system.c (sys_chroot): Removed.
* samba/configure.in: Remove RUNPROG.  Don't check
for chroot and execl functions.
Remove syslog logging support.
Add --with-codepagedir and --with-configdir from samba 2.2.2.

* samba/Makefile.in: Use configdir and codepagedir.
2001-11-13 11:42:53 +00:00
Pavel Roskin b03032c29b * main.c: Remove support for subshell debugging. Firstly, it
was broken.  Secondly, every developer should be able to add
this code when needed.  Finally, there is no need to expose the
option to the user and translate it into 30 languages.
* subshell.h: Remove debug_subshell.
* subshell.c: Likewise.
2001-11-12 22:09:40 +00:00
Andrew V. Samoilov 5f152d9ef0 * mad.h: Enable glib support.
* mad.[ch] (mad_get_current_dir): New function to use instead
of g_get_current_dir.
(mad_tempnam): Add file and line parameters.
(mad_alloc0): Make file parameter const.
(mad_realloc): Likewise.
(mad_strdup): Likewise.
(mad_strndup): Likewise.
(mad_free): Likewise.
(mad_finalize): Likewise.
2001-11-12 07:32:55 +00:00
Pavel Roskin 992cb980de * Make-mc.in (SAMBA_DIST): Remove lib/getsmbpass.c. 2001-11-08 23:53:27 +00:00
Andrew V. Samoilov 3964ef8d3c * cmd.c (guess_message_value): Make val static const array.
(smblink_cmd) [!WITH_SAMBA]: Eliminated.
2001-11-08 07:25:16 +00:00
Andrew V. Samoilov 16d1473204 * slint.c (slang_reset_softkeys): Make display static const
array.  Use sizeof (display) - 1 instead of strlen display.
(color_terminals): Make static const array.
(key_table): Make const.

(dealloc_color_pairs) [HAVE_MAD]: New function.  Release
memory allocated in try_alloc_color_pair.
(slang_shutdown) [HAVE_MAD]: Call dealloc_color_pairs.
(try_alloc_color_pair): Move struct c outside function.
2001-11-07 13:35:57 +00:00
Andrew V. Samoilov 35db7bf645 * dlg.c (add_widget): Check for what is not NULL
before everything else.
2001-11-07 12:15:11 +00:00
Andrew V. Samoilov 51b1972843 * edit.c (edit_reload): destroy_dlg g_free()s widgets, so
g_malloc/g_free have to be used.
	(edit_init): Ditto.  Eliminate st.
2001-11-07 08:43:15 +00:00
Fatih Demir 1b6e973474 Updated. 2001-11-06 18:18:20 +00:00
Andrew V. Samoilov d3579ce57b (edit_load_cmd): input_dialog returns g_malloc(ed) string,
so g_free has to be used.
(edit_save_block_cmd): Likewise.
(edit_insert_file_cmd): Likewise.
(edit_sort_cmd): Likewise.
(edit_save_as_cmd): Likewise. Memory leak fixed.
2001-11-06 08:52:13 +00:00