Commit Graph

3784 Commits

Author SHA1 Message Date
Pavel Roskin
58e2509096 Update from Andrew V. Samoilov <kai@cmail.ru> 2002-07-03 15:23:49 +00:00
Pavel Roskin
3738d4cee0 * cpio.c (cpio_open_cpio_file): Fix type initialization.
From Andrew V. Samoilov <kai@cmail.ru>
2002-07-03 13:10:01 +00:00
Pavel Roskin
3e17883b11 Don't require the same prefix for Perl. 2002-07-03 07:20:19 +00:00
Pavel Roskin
0d53373c8c Add Perl to requirements. 2002-07-03 07:13:19 +00:00
Pavel Roskin
c221899378 Document for CVS hackers. 2002-07-03 07:10:22 +00:00
Marcel Telka
2817a7c095 2002-07-03 Marcel Telka <marcel@telka.sk>
* sk.po: Fixed and updated Slovak translation.
2002-07-03 06:48:53 +00:00
Pavel Roskin
bbbb6eb183 * main.c (stop_dialogs): New function to stop all dialogs.
(quit_cmd_internal): Use stop_dialogs() instead of stopping
midnight_dlg only.  This fixes exit from the shell invoked from
the internal viewer or editor.
2002-07-03 06:19:40 +00:00
Pavel Roskin
90ae932bf6 * cmd.c (view_other_cmd): Shut down extra select channels before
switching to the shell.  Restore them afterwards, but not if
quit was requested.  Skip more code on quit.
2002-07-03 05:56:49 +00:00
Pavel Roskin
23ef3d3a9d * Makefile.am: Add samba to SUBDIRS. Forcedly set DISTDIRS to
extfs.  Remove parts that are now handled by samba/Makefile.
* samba/Makefile.in: Add more empty targets for Automake
compatibility.
2002-07-02 23:10:15 +00:00
Pavel Roskin
2752379086 * util.c: Eliminate get_small_endian_long() and CHECK macro. 2002-07-02 21:25:49 +00:00
Pavel Roskin
7f6c3c3bb6 is_gunzipable() -> get_compression_type() 2002-07-02 21:12:10 +00:00
Pavel Roskin
3860ff7b34 * util.h: Rename compression types, add a type for uncompressed
files.
* util.c (is_gunzipable): Rename to ...
(get_compression_type): this.  Don't check archive length, since
it's unreliable if there is padding at the end of the file.
Eliminate prehistoric Linux workaround.  All callers adjusted.

* utilunix.c (close_error_pipe): Use "%s" in message () to
prevent possible crash.
(check_error_pipe): Likewise.
2002-07-02 21:09:25 +00:00
Pavel Roskin
c8ef2d7ace * ftpfs.c (send_ftp_command): Use "anonymous@" as default
anonymous password.
From Eduardo Perez Ureta" <eperez@it.uc3m.es>
2002-07-02 17:08:10 +00:00
Andrew V. Samoilov
1cbe19ae58 Eliminate C++ comments everywhere. 2002-07-01 19:16:17 +00:00
Andrew V. Samoilov
e48fe64e95 * util_nt.c (check_error_pipe): Use "%s" in message () to
prevent possible crash.
	(close_error_pipe): Likewise.  Don't use C++ comment.
2002-07-01 19:11:52 +00:00
Andrew V. Samoilov
9e174e05f6 * utilunix.c (close_error_pipe): Use "%s" in message () to
prevent possible crash.
(check_error_pipe): Likewise.
2002-07-01 19:08:44 +00:00
Pavel Roskin
29633b4eb5 * screen.c (do_enter_on_file_entry): Process associations before
trying to execute the file.
2002-06-27 21:25:03 +00:00
Pavel Roskin
5389b39585 * vfs.c: Add protection against NULL strings to all is_*() functions. 2002-06-25 21:51:37 +00:00
Pavel Roskin
bedc925235 Update from Todor Buyukliev <adrez@mail.bg>, converted to UTF-8. 2002-06-25 16:38:12 +00:00
Pavel Roskin
ee328658a6 * syntax/dos.syntax: New file - highlighting for DOS batch
files.  From Petr Kozelka <pkozelka@centrum.cz>
* syntax/Syntax: Add dos.syntax.
* syntax/Makefile.am: Likewise.
2002-06-25 01:04:08 +00:00
Pavel Roskin
2ce74d23e1 * edit.c (check_file_access): Return 1 on all errors, document
this behavior.  Set edit->delete_file to 1 for newly created
files.
(edit_open_file): Don't set edit->delete_file, it's now done in
check_file_access().
Reported by Saso <saso@bojler.dhs.org>
2002-06-24 23:41:59 +00:00
Andrew V. Samoilov
8583c24ea4 * samba/lib/system.c (sys_ftruncate): Commented out.
* samba/lib/util.c (set_filelen): Likewise.
(setbuffer): Likewise.

* Makefile.am (SAMBA_DIST): Remove tests/ftruncate.c
* samba/tests/ftruncate.c: Removed.
* samba/configure.in: Don't check if ftruncate() can
extend a file.
2002-06-21 16:31:20 +00:00
Andrew V. Samoilov
6b843b1b44 * samba/configure.in: Don't check if ftruncate() can extend a file. 2002-06-21 16:28:45 +00:00
Andrew V. Samoilov
3663bff65f * Makefile.am (SAMBA_DIST): Remove tests/ftruncate.c
* samba/tests/ftruncate.c: Removed.
* samba/configure.in: Don't check if ftruncate() can
extend a file.
2002-06-21 16:25:02 +00:00
Andrew V. Samoilov
d3aceae9f7 * samba/lib/system.c (sys_ftruncate): Commented out.
* samba/lib/util.c (set_filelen): Likewise.
(setbuffer): Likewise.
2002-06-21 16:01:53 +00:00
Andrew V. Samoilov
dabc54bbcd * smbfs.c: Undefine PACKAGE_BUGREPORT, PACKAGE_NAME,
PACKAGE_STRING, PACKAGE_TARNAME and PACKAGE_VERSION
before including "samba/include/config.h" to prevent warnings.
(smbfs_init): Set DEBUGLEVEL to 0.
(do_connect): Rename to ...
(smbfs_do_connect): ... this to avoid namespace clash and
make static.  Make server const. Adjust all callers.
(smbfs_add_dots): Remove.
(smbfs_stat): Remove code duplication.
(smbfs_lstat): Define as smbfs_stat.
2002-06-21 12:26:45 +00:00
Pavel Roskin
96632fcff1 * dir.c (handle_dirent): Don't process ".." entries.
(handle_path): Likewise.
From Andrew V. Samoilov <kai@cmail.ru>
2002-06-20 21:10:06 +00:00
Pavel Roskin
8d519dc4cc Colors are enabled on all capable terminals when using S-Lang. 2002-06-13 12:50:26 +00:00
Pavel Roskin
5ac5f41332 * slint.c (has_colors): Don't reset SLtt_Use_Ansi_Colors to 0 if
force_colors is not set.  This fixes color on unknown terminals.
2002-06-13 12:40:50 +00:00
Andrew V. Samoilov
5f2c890ba7 * user.c (expand_format): Fix '%b' proccessing.
Handle '%k' as documented.
2002-06-13 11:22:04 +00:00
Marco Ciampa
3bcf5e1c09 Corrected some in-line help strings... 2002-06-13 09:59:16 +00:00
Andrew V. Samoilov
692379971f * uk.po: Spelled Ukrainian translation. Remove GNOME's translations 2002-06-11 10:31:40 +00:00
Andraz Tori
5d5a9253bf Updated Slovenian translation 2002-06-09 20:19:42 +00:00
Andraz Tori
f3dad25213 Updated Slovenian translation 2002-06-07 21:34:55 +00:00
Andraz Tori
bc72de3e3f Updated Slovenian translation 2002-06-07 20:06:20 +00:00
Marco Ciampa
479917c5e0 Just a fuzzy trim... 2002-06-07 07:31:20 +00:00
Andrew V. Samoilov
1d9879b0be Fix offset calculation for symbolic links. 2002-06-06 15:16:29 +00:00
Andrew V. Samoilov
64b2eb4db3 * cpio.c (cpio_read_oldc_head): Use char[] for buf instead
of char*[].  Remove unneeded casts.  Fix error message.
(cpio_create_entry): G_free name.
2002-06-06 12:42:23 +00:00
Andrew V. Samoilov
f14906f624 s/"Corrupt cpio header encountered in\\n"/"Corrupted cpio header encountered in\\n"/ 2002-06-06 11:37:39 +00:00
Andrew V. Samoilov
5fca42b515 s/"Corrupt cpio header encountered in\\n"/"Corrupted cpio header encountered in\\n"/ 2002-06-06 11:29:51 +00:00
Andrew V. Samoilov
14ed580196 * cpio.c (cpio_read_oldc_head): Use char[] for buf instead
of char*[].  Remove unneeded casts.  Fix error message.
(cpio_create_entry): G_free name.
2002-06-06 10:54:35 +00:00
Pavel Roskin
89c15551b2 * syntax/php.syntax: New version. 2002-06-04 15:31:40 +00:00
Andrew V. Samoilov
64f48bbb34 * key_nt.c (define_sequence): Adjust for declaration.
* util_nt.c (close_error_pipe): Likewise.
(tilde_expand): Likewise.
2002-06-04 10:49:34 +00:00
Andrew V. Samoilov
f2ea65904e * main.c [HAVE_MAD && !_OS_NT] (main): G_free mc_home. 2002-05-30 13:35:09 +00:00
Andrew V. Samoilov
d073133873 * mad.c (mad_tempnam): Commented out to make linker happy. 2002-05-30 13:27:43 +00:00
Andrew V. Samoilov
320b3cedae * view.c (regexp_search): Don't call save_edit_changes
if there are no changes.
(save_edit_changes): Use messages from ../po/mc.pot.
2002-05-30 13:12:56 +00:00
Marco Ciampa
30eeda0307 ooops question points go next the last word (in italian)... 2002-05-27 20:21:22 +00:00
Marco Ciampa
a4be5506bc Entry 390 added. 2002-05-27 20:19:25 +00:00
Andrew V. Samoilov
53a7967f74 * view.c (save_edit_changes): Handle errors.
(do_view_init): Don't open and check file type
if _command is not null or _file is empty string.
2002-05-27 16:20:35 +00:00
Andrew V. Samoilov
90702a2ddc * NEWS: Mention new configure options --with-codepagedir=DIR,
--with-configdir=DIR and --without-mcfs.
2002-05-23 15:33:11 +00:00