* direntry.c (vfs_s_find_entry_tree): segfault fixed when root is NULL
(vfs_s_new_inode, vfs_s_new_entry): g_new replaced by g_new0
* ftpfs.c (dir_load): ent->name is free()d for "." and ".."
(ftpfs_directory_timeout): default value changed to 900
(netrc_next): "const char * const keywords" go to rodata and is shared
* dir.c (string_sortcomp): strcmp() replaced with strcoll() to make
directory listing LOCALE sensitive. I assume, strcoll exists everywhere,
as it is in POSIX.
* dlg.c: Commited at last patch, that fixes screwed up right panel in
a long format. Occasionaly, all my colors problems also gone. All thanks
to Norbert Warmuth <nwarmuth@privat.circular.de>, who tracked down the
problem, blames to me and Federico :)
* ftpfs.c (netrc_next): "const char * keywords" is pretty nice.
* ftpfs.c (dir_load): At last, found place, that broke handling
directories with spaces in name. Problem was in prepending "/"
to "." for current directory. Which was, obviously, wrong. Hacked
to make just "LIST -la ." instead.
* vfs.c: Changed to BUF_* constants in some places.
* widget.c ([forward|backward]_word): Changed one more time - now it
skips alpnums and THEN spaces+punct. That gives almost the same re-
sults, but twice quicker. Hope, this will be accepted.
* utilfs.c (vfs_split_url): don't assign *pass if pass is NULL
* fish.c (archive_open, archive_same): memory allocated by
vfs_split_url () must be released after use, don't strdup()
values allocated by vfs_split_url () and NULL passed to
vfs_split_url () when password value is unused
* ftpfs.c (archive_open, archive_same): ditto plus same for
ftpfs_get_proxy_host_and_port ()
* syntax.c: Wery dirty fix to allow compilation of mceditor on ncurses
based systems. Hope, this will make FreeBSD midc maintainer to enable
build-in editor by default. Still, syntax highlighting is disabled.
Need to port...
* widget.c ([forward|backward]_word): Changed logic of moving - now,
it skips only spaces+punct OR alnum. Reason to have it deleting lines
like "lynx http://www.gnome.org", where "lynx http:" part was erased
in one operation. That's nasty, IMHO. Made this a separate commit, so,
if it seriously breaks compatability it's easy to revert it. Still hope,
nobody'll do that.
* ftpfs.c (netrc_next): Turned strange "const char * const keywords"
into more alike "const char const * keywords". Still, think, it's
too strict.
* smbfs.c: Add #define BOOL_DEFINED before inclusion of samba headers.
Libncurses(or slang?) defines BOOL and that can cause problems. (In fact,
I can't find references to that const, but sure, I hade reason to do that:)
* util-alone.h: Declare load_anon_passwd() to avoid warnings.
* file.c, widget.[ch]: Fixed long existing problems with filenames
and input widgets, then char is greater than 128. They were processed
incorrectly. As usual, char != unsigned char problem.
2000-03-03 Björn Eriksson <mdeans@algonet.se>
* Similar patches came from Andrew V. Samoilov <sav@bcs.zp.ua>.
* mad.[ch]: Some functions wrongly by-passed mad_alloc*() (causing
problems when later g_free()ed.
* Added mad_strndup().
* Repeated code collected in mad_fatal_error().
* The gcc-extension/C99-standard variable argument macros (adding
__FILE__, __LINE__ before ', ...') would be nice.
* Alloc_idx_hint and code added, the mad code was way too slow for my
poor computer. A hash-table would be nice.
* (mad_strconcat, mad_strdup_vprintf): g_malloc and g_new are
undefined at the top of mad.c, so mad_alloc must be used.