Pavel Roskin
6ddf5f78ed
* vfs.h: Rename URL_DEFAULTANON to URL_ALLOW_ANON.
...
* utilvfs.c (vfs_split_url): Return NULL as username if
URL_ALLOW_ANON is set and no username is found in the URL,
otherwise use current name.
* ftpfs.c (ftp_split_url): New function - split URL and look up
username and password if needed.
(login_server): Use ftp_split_url().
(archive_same): Likewise.
2002-07-11 23:08:30 +00:00
Pavel Roskin
129df509f9
* utilunix.c: Cast argument for GUINT_TO_POINTER to int to fix
...
warnings on Cygwin.
2002-07-10 23:27:36 +00:00
Pavel Roskin
073e17a8d0
* subshell.c: ioctl() doesn't set errno - don't use perror() to
...
report failures. Use fprintf() instead, ignore errors from
TIOCSWINSZ.
(resize_tty): New function - code common for resize_subshell()
and init_subshell_child().
2002-07-10 22:49:08 +00:00
Pavel Roskin
ccf2496792
Mention Tcl, .netrc support.
2002-07-10 21:59:12 +00:00
Pavel Roskin
cf5046a920
* configure.in: Remove --with-netrc, it is now default and can
...
be disabled at the runtime.
2002-07-10 21:31:53 +00:00
Pavel Roskin
2acfb89cd4
* tcputil.h: Move use_netrc declaration ...
...
* vfs.h: ... here.
* ftpfs.c: Implement .netrc support unconditionally.
(lookup_netrc): Make static.
* utilvfs.c: Initialize default_is_netrc.
From Thomas Zajic <zlatko@gmx.at>
2002-07-10 21:26:55 +00:00
Pavel Roskin
200356c074
* global.h: Include vfs.h.
...
* boxes.c (configure_vfs): Ask whether .netrc should be used.
From Thomas Zajic <zlatko@gmx.at>
2002-07-10 21:20:49 +00:00
Pavel Roskin
1b5fdb4a33
* syntax/tcl.syntax: New file.
...
* syntax/Syntax: Add tcl.syntax.
* syntax/Makefile.am: Likewise.
* syntax/java.syntax: Don't treat #define separately from other
preprocessor directives.
* syntax/slang.syntax: Likewise.
* syntax/swig.syntax: Likewise.
2002-07-10 19:56:11 +00:00
Pavel Roskin
6f3a7c8029
* direntry.c (vfs_s_open): Don't pass O_LINEAR to open() -
...
this flag is for VFS only, and causes side effects in Cygwin.
* extfs.c (extfs_open): Likewise.
* sfs.c (sfs_open): Likewise.
Reported by Pavel Tsekov <ptsekov@gmx.net>
2002-07-10 17:56:27 +00:00
Pavel Roskin
3f02ae47e8
* syntax/c.syntax: Don't treat #define separately from other
...
preprocessor directives.
2002-07-09 16:51:15 +00:00
Pavel Roskin
dc0e4bf58a
* syntax/perl.syntax: Highlight text after __END__ as a comment.
...
* syntax/po.syntax: Avoid gray color, which is hard to see.
2002-07-08 21:25:42 +00:00
Pavel Roskin
2854f6aebe
* syntax/dos.syntax: Add more commands.
2002-07-05 16:18:14 +00:00
Pavel Roskin
99a8519d81
Remove space in pattern for dos.syntax entry.
2002-07-05 03:58:35 +00:00
Pavel Roskin
c0c1450514
* AUTHORS: Add Andrew V. Samoilov <kai@cmail.ru>, alphabetically
...
sort authors.
2002-07-04 14:23:32 +00:00
Pavel Roskin
8e19aa8793
Updates from Andrew V. Samoilov <kai@cmail.ru>
2002-07-04 14:19:49 +00:00
Pavel Roskin
74288460f5
* file.c (do_transform_source): Cast the argument to functions
...
for character classification to unsigned int.
* main.c (handle_args): Likewise.
* util.c (size_trunc_sep): Likewise.
(skip_numbers): Likewise.
2002-07-03 19:47:40 +00:00
Pavel Roskin
e385a9c9ab
* ftpfs.c (setup_passive): Cast arguments to isdigit() to
...
unsigned char for compatibility with non-GNU libc.
* tar.c (from_oct): Likewise with isspace().
Reported by Roland Illig <1illig@informatik.uni-hamburg.de>
2002-07-03 19:09:03 +00:00
Pavel Roskin
0c0a5ae270
* subshell.c (sigchld_handler): Remove subshell_pty from the
...
channel list if the subshell has died.
2002-07-03 16:35:42 +00:00
Pavel Roskin
a83d080370
* mad.[ch] [__GNUC__] (mad_strconcat): Use macro varargs.
...
(mad_strdup_printf): Likewise.
(mad_strdup_vprintf): Likewise.
* main.c [HAVE_MAD] (main): Release this_dir and other_dir.
2002-07-03 15:58:54 +00:00
Pavel Roskin
6ecbdd05ab
* extfs.c (extfs_fill_names): Generate filename#vfsname/dir
...
instead of #vfsname/filename/dir. Use PATH_SEP_STR.
2002-07-03 15:54:01 +00:00
Pavel Roskin
694468d9bb
* sfs.c (sfs_free): Fix memory leak.
...
(sfs_init): Use PATH_SEP_STR.
2002-07-03 15:27:36 +00:00
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