Commit Graph

3558 Commits

Author SHA1 Message Date
Andrew V. Samoilov e41f4c01e4 (edit_read_syntax_rules): Eliminate c->single_char.
It's only written but never read.

* edit.h (struct context_rule): Comment out single_char field.
It is written once but never read.
2002-01-15 01:41:18 +00:00
Andrew V. Samoilov 3eea969c3b * syntax.c (syntax_g_free): New macro to release and NULLify
glib allocated memory area(s).
(strdup_convert): Rename to ...
(convert): ... this.  Don't strdup passed string.
(get_args): Use convert instead of strdup_convert.
(free_args): Make it do notning macro.
(open_include_file): Eliminate p array. Use glib function to
construct error_file_name. Use PATH_SEP instead of '/';
(edit_read_syntax_file): Use PATH_SEP_STR.
(edit_load_syntax): Use syntax_g_free to release error_file_name.
(edit_read_syntax_rules): Likewise.
2002-01-15 01:32:59 +00:00
Andrew V. Samoilov d8bec56efe * Makefile.am (AM_CFLAGS): Add -DCONFIGDIR=\""@configdir@"\"
if smbfs support is enabled.

* smbfs.c (smbfs_init): Use CONFIGDIR for smb.conf.
2002-01-11 08:24:17 +00:00
Andrew V. Samoilov 1fd13c4732 * acinclude.m4: New options for smbfs:
--with-configdir=DIR    Where the Samba configuration files are (/etc)
--with-codepagedir=DIR  Where the Samba codepage files are
2002-01-11 07:45:11 +00:00
Pavel Roskin e97b30ad04 * syntax/xml.syntax: New file - hightlighting for XML.
From Petr Kozelka <pkozelka@centrum.cz>
* syntax/Syntax: Add xml.syntax.
* syntax/Makefile.am: Likewise.
2002-01-11 05:51:32 +00:00
Andrew V. Samoilov 21c015b2f8 * util.c (string_perm) [S_IFDOOR]: Support Solaris doors.
screen.c (string_file_type) [S_IFDOOR]: Likewise.
2002-01-09 10:54:13 +00:00
Andrew V. Samoilov 87204c2b2b s/editpr/editor/ 2002-01-08 13:48:21 +00:00
Stanislav Brabec da1c8711db czech translation update 2002-01-07 18:20:02 +00:00
Pablo Saratxaga 9f0917777c Added Basque file 2002-01-04 15:03:59 +00:00
Pavel Roskin 05c33885c5 Updated. 2002-01-03 16:37:05 +00:00
Pavel Roskin a2ee840c65 * lib/mc.menu: Correct quoting.
Reported by Matthias Urban <murban@cs.uni-magdeburg.de>
2002-01-03 16:33:08 +00:00
Pavel Roskin 922f8b75c3 * NEWS: Mention removal of the OS/2 port.
* README.PC: Remove OS/2 specific parts.
2002-01-03 08:27:25 +00:00
Pavel Roskin 24cf8069a7 * BUGS: Remove obsolete and OS/2 specific parts.
* README: Likewise.
* TODO: Likewise.
2002-01-03 07:35:10 +00:00
Pavel Roskin 182da213b2 * Makefile.am: Remove all files used by OS/2 only. The OS/2
port is discontinued because there is no support for native OS/2
compilers in glib.  Remove sys/time.h and dirent.h - they should
not be needed anymore.
2002-01-03 07:18:52 +00:00
Pavel Roskin 1dcc3e89bc * Makefile.am: Add *clean-local targets to take care of the
samba directory.
2002-01-03 01:26:24 +00:00
Pavel Roskin 8ef801e873 * samba/configure.in: Use explicit AC_CONFIG_AUX_DIR because
this setting is not inherited from the top-level configure.
2002-01-03 00:56:57 +00:00
Pavel Roskin 0276ca4760 * config.h: Include VERSION, not ..VERSION. Use sys/utime.h
instead of utime.h for MSVC and MinGW.  Don't use dirent on
Win32 - it's replaced by glib.
2002-01-02 19:14:02 +00:00
Pavel Roskin 274cef3b46 * configure.in: Make help about --with-subshell easier to
understand.  Minor alignment fixes for the help.
* acinclude.m4: Minor alignment fixes for the help.
2002-01-02 17:12:46 +00:00
Pavel Roskin 05490248a2 Remove Make-mc.in - it's not used now. 2001-12-31 08:12:18 +00:00
Pavel Roskin 9286ed9c13 * configure.in: Generate vfs/Makefile from vfs/Makefile.in, not
vfs/Make-mc.in.
2001-12-31 08:10:46 +00:00
Pavel Roskin 009eeb0a6a * Make-mc.in: convert to ...
* Makefile.am: ... this.
2001-12-31 08:08:18 +00:00
Pavel Roskin 974cd6ddc0 * Makefile.am: rename to ...
* Make-alone.am: ... this.  Automake 1.5b doesn't allow Makefile
and Makefile.am to coexist peacefully unless the former is
generated from the later.
* Make-mc.in: Remove all references to the standalone VFS.
2001-12-31 06:48:47 +00:00
Duarte Loreto 5fd1defe8f 2001-12-27 Duarte Loreto <happyguy_pt@hotmail.com>
* configure.in: Added portuguese to ALL_LINGUAS
2001-12-27 02:36:25 +00:00
Marco Ciampa e14aabbb11 *** empty log message *** 2001-12-23 20:25:06 +00:00
Andrew V. Samoilov 3f55f6bf2f * editcmd.c (sprintf_p): Don't cast (char *) to (unsigned long). 2001-12-22 17:34:51 +00:00
Andrew V. Samoilov c69a25c5eb * editcmd.c (edit_goto_cmd): Use g_free to release f.
(edit_save_file): Use PATH_SEP instead of '/'.
Undefine "close" before closing file created by mc_mkstemps.
Define close to mc_close after it - temporary fix.
2001-12-22 17:29:46 +00:00
Andrew V. Samoilov bd3bdac638 * syntax.c (read_one_line): Undo last patch - errno is a
function on some systems.  Check ferror() status before
everithing else if fgetc returns EOF.
Accept last line without trailing newline.

(compare_word_to_right): Don't cast p and q to unsigned long.
(apply_rules_going_right): Likewise.
2001-12-22 16:00:30 +00:00
Pavel Roskin 9e23676939 * hotlist.c (hotlist_callback): Recognize "delete" key. 2001-12-22 01:29:20 +00:00
Pavel Roskin eba0c6e703 * edit.c (user_menu): Don't move the cursor before and after
inserting the block.
Reported by Matthias Urban <murban@cs.uni-magdeburg.de>
2001-12-22 00:32:20 +00:00
Pavel Roskin 6c821c8ad5 * syntax.c (read_one_line): Clear errno before using it. Don't
use the result of fgetc() if errno is EINTR.
2001-12-21 23:33:18 +00:00
Pavel Roskin 0b2051a0c3 * acinclude.m4 (AC_WITH_SLANG): Don't add ../slang to includes.
Don't remove slang/slang.h - it's never created.
2001-12-21 22:17:08 +00:00
Pavel Roskin 08cb611abf * myslang.h [!HAVE_SYSTEM_SLANG]: Include slang/slang-mc.h to
simplify includes.
[HAVE_SYSTEM_SLANG]: Use angle brackets for slang.h.
2001-12-21 22:15:24 +00:00
Pavel Roskin d043f7eee6 * acinclude.m4 (AC_WITH_SLANG): Don't make symlink from
slang-mc.h to slang.h.  Remove fastdepslang variable, it's
unused.
2001-12-21 20:21:17 +00:00
Pavel Roskin 1e15aecb9f * myslang.h [!HAVE_SYSTEM_SLANG]: Include slang-mc.h directly
to avoid relying on symlinks.
2001-12-21 20:17:22 +00:00
Pavel Roskin 0dd5f511be * _slang.h: Include slang-mc.h.
* slang-mc.h: Add protection against using with system installed
S-Lang library.
* sl*.c: Only include _slang.h, but not slang.h to avoid making
symlinks.
2001-12-21 20:14:55 +00:00
Akira TAGOH a66ebf971e 2001-12-20 Akira TAGOH <tagoh@gnome.gr.jp>
* ja.po: Updated Japanese translation.
2001-12-20 09:35:48 +00:00
Pavel Roskin d588d57360 * extfs/ulha.in: Support for "[unknown]" and other permissions
in brackets.  Pass the date unchanged - mc can now deal with it.
Use "lha lq" to list the archive and don't remove headers and
footers of the listing.
2001-12-18 22:55:21 +00:00
Pavel Roskin 5d27f706bd * utilunix.c (init_groups): Don't return prematurely if the
primary group cannot be found (it can happen on Cygwin).
2001-12-18 20:00:27 +00:00
Marco Ciampa 9127aabf26 *** empty log message *** 2001-12-17 16:09:24 +00:00
Marco Ciampa c8e31fc95a Changed Learn keys menu - corrected. 2001-12-17 16:02:33 +00:00
Marco Ciampa 94556dafdd Last cosmetics changes (some menu names, spaces missing and so on...) 2001-12-17 15:03:47 +00:00
Peteris Krisjanis 848c8860e1 U 2001-12-11 21:52:01 +00:00
Pavel Roskin 15c3c2fe8d New item:
Directories with many files are now reloaded much faster.
Thanks to Bjrn Eriksson <mdeans@algonet.se>
2001-12-11 00:33:40 +00:00
Pavel Roskin 340f689384 * dir.c (do_reload_dir): Hash-table added.
From Bjrn Eriksson <mdeans@algonet.se>
2001-12-11 00:30:12 +00:00
Pavel Roskin b8eecba1d9 Comment fix. From Bjrn Eriksson <mdeans@algonet.se> 2001-12-07 02:47:04 +00:00
Christian Meyer 14564f39ac Updated German translation. 2001-12-06 00:16:39 +00:00
Vincent van Adrighem b9c3f2f07b 2001-12-05 Vincent van Adrighem <V.vanAdrighem@dirck.mine.nu>
* nl.po Translation updated and polished
2001-12-05 15:11:31 +00:00
Pavel Roskin 27d176979b s/crush/crash/ and other minor things. 2001-12-03 23:38:11 +00:00
Pavel Roskin 111c11418a * dir.c (do_reload_dir): Optimize the logic - count the marks
and only match new entries against old entries if at least one
mark has not been transferred.
From Bjrn Eriksson <mdeans@algonet.se>
2001-12-03 21:39:41 +00:00
Wang Jian 72421061d3 *** empty log message *** 2001-12-01 15:14:09 +00:00