Witold Filipczyk
916b5cf545
smb: abort connection on empty files.
...
Empty files were causing 'read from socket' errors.
[ This is half of commit eef1c17dce
from the witekfl branch. The FSP half will come later. --KON ]
2007-02-25 16:50:02 +02:00
Witold Filipczyk
f70196dde8
smb: used string functions instead of snprintf.
2007-02-25 16:47:21 +02:00
Witold Filipczyk
a584aacb26
smb2: show comments.
2007-02-25 16:47:06 +02:00
Witold Filipczyk
d399c809f7
The SMB protocol handling using libsmbclient.
2007-02-25 16:46:55 +02:00
Kalle Olavi Niemitalo
927f08ec6a
Revert 5f36ad302e
, to make bug 534 less likely to occur.
...
Revert commit 5f36ad302e
,
"Decompression: write PIPE_BUF bytes to the pipe at once if possible."
Without this reversion, <http://blogs.msdn.com/ > displays as garbage.
It has Content-Encoding: gzip and Transfer-Encoding: chunked.
2007-02-25 16:09:25 +02:00
Kalle Olavi Niemitalo
4d7d8acaf5
Bug 937, http_send_header: indentation fix
2007-02-25 15:14:18 +02:00
Kalle Olavi Niemitalo
4e4dddb4cc
Bug 937, http_send_header: Don't send all headers to CONNECT proxy.
2007-02-25 12:49:56 +02:00
Witold Filipczyk
27a66f59d9
Fix the memleak. Part II of the 927 bugfix.
2007-02-25 11:02:53 +02:00
Witold Filipczyk
e01785e462
The fix for the bug 927.
...
When tables were rendered first time html_format_part was called with
document==NULL. <meta http-equiv=Refresh.../> was inside a table,
so document was NULL. Second time the table knew its dimensions
and document was not NULL.
2007-02-25 11:02:48 +02:00
Witold Filipczyk
2bf5372a29
stpcpy was not used in this file.
2007-02-25 11:02:28 +02:00
Kalle Olavi Niemitalo
0e5b6af9b0
Various comments and tweaks in bzip2 decoding.
...
Do not assume that memset(ptr, 0, size) clears pointers to NULL.
The length of decoded data can be read in two ways; assert they match.
2007-02-24 23:03:47 +02:00
Kalle Olavi Niemitalo
a75302caf2
More const in encoding backends.
2007-02-24 23:03:39 +02:00
Kalle Olavi Niemitalo
20ba46ddde
Remove decode_encoded and associated backend functions.
...
This function was unused and only the dummy backend implemented it
correctly. Fixing bug 534 will probably require adding this function
back again, but I think it will be easier to do it from scratch than
fix the bogus implementations we had here.
2007-02-24 23:03:24 +02:00
Witold Filipczyk
1e7f26c33d
bzip2: buf must be the last.
2007-02-24 16:13:03 +02:00
Witold Filipczyk
728c97556d
bzip2: Used the patch from bug the 517.
...
Removed the bzip2-pipe.patch from contrib.
2007-02-24 16:12:49 +02:00
Witold Filipczyk
0fe90d6ac6
bzip2: added the configure option --enable-bzip2-encoding
...
Use it with the patched bzlib. The patch in contrib.
Added the bzip2-pipe.patch.README.
2007-02-24 16:12:39 +02:00
Witold Filipczyk
cc28da68a7
bzip2: removed unclean my BZ2_bzRead2.
...
Use the patched bzlib instead. I put the bzip2-pipe.patch
in the contrib directory.
2007-02-24 16:12:31 +02:00
Witold Filipczyk
5f36ad302e
Decompression: write PIPE_BUF bytes to the pipe at once if possible.
2007-02-24 16:12:24 +02:00
Witold Filipczyk
86b352fecc
Simplification. bzf->handle is the same as data->file.
2007-02-24 16:12:17 +02:00
Witold Filipczyk
24a96717a6
BZ_bzRead2 is based on BZ_bzRead from the bzlib library.
...
Slightly modified to handle reading from the pipe. This fixes the bug 517.
2007-02-24 16:12:11 +02:00
Witold Filipczyk
573bd43e0c
The gzip decompression simplification. gzclearerr does the job.
2007-02-24 16:12:02 +02:00
Kalle Olavi Niemitalo
50c085beb5
Bug 799: Ignore source directory name when uninstalling.
...
This fixes the uninstallation of elinks.conf.5 and elinkskeys.5 when
$(srcdir) is not empty, i.e. the build directory is not the same as
the source directory.
2007-02-24 12:15:22 +02:00
Witold Filipczyk
8688e623d4
Used the builtin macro RM in place of defined UNINSTALL.
2007-02-24 11:09:55 +02:00
Witold Filipczyk
f571cf509d
bugfix 935: not tested with UTF-8, but you know at least where the bug is.
2007-02-23 22:37:14 +01:00
Witold Filipczyk
1bb2c30f8a
Used the builtin macro RM in place of defined UNINSTALL.
2007-02-23 20:04:38 +01:00
Witold Filipczyk
ac664a81c1
Merge with master except smb.
2007-02-23 18:47:14 +01:00
Kalle Olavi Niemitalo
a5656701ef
Bug 844 doc: Don't ask users to provide a patch, as we already have one.
2007-02-22 11:05:39 +02:00
Kalle Olavi Niemitalo
67ee2205f3
Use -Wno-always-true only if $CC accepts it. GCC 4.1 doesn't.
2007-02-22 10:59:25 +02:00
Witold Filipczyk
d8ffd3b4b6
Do not show always evaluate as true warnings.
2007-02-22 01:44:20 +02:00
Witold Filipczyk
4a7b9415e1
MIME: When there is no % in the handler string (no %s in the mailcap entry)
...
the handler reads data from stdin. I think it only works with copiousoutput.
read_from_popen delayed because of internal errors.
2007-02-21 13:43:16 +01:00
Witold Filipczyk
469481b272
Decode %20 in local filenames and enclose them with '"'.
...
Local files with spaces in filenames wasn't handled properly by MIME handler.
2007-02-21 10:37:51 +01:00
Kalle Olavi Niemitalo
4011a37b8f
NEWS: Comment out the parts that shouldn't be in release.html.
2007-02-21 10:51:21 +02:00
Witold Filipczyk
21fd1fd10f
Fix the memleak. Part II of the 927 bugfix.
2007-02-20 20:53:49 +01:00
Witold Filipczyk
088db2c3de
The fix for the bug 927.
...
When tables were rendered first time html_format_part was called with
document==NULL. <meta http-equiv=Refresh.../> was inside a table,
so document was NULL. Second time the table knew its dimensions
and document was not NULL.
2007-02-20 20:16:10 +01:00
Witold Filipczyk
b8e77e793f
Do not add LUA_CFLAGS to the CPPFLAGS.
2007-02-18 17:14:05 +02:00
Witold Filipczyk
7ce65798be
Old CPPFLAGS was stored in CPPLFAGS_X.
2007-02-18 17:13:37 +02:00
Witold Filipczyk
2a6e5b27f7
Use PERL_CFLAGS only when necessary.
2007-02-18 17:10:24 +02:00
Witold Filipczyk
ca7a68aa76
Do not add GUILE_CFLAGS to the CPPFLAGS.
2007-02-18 17:10:04 +02:00
Witold Filipczyk
cf86e2e72f
Added SEE_CFLAGS to the Makefile.config. Use SEE_CFLAGS only when necessary.
2007-02-18 17:09:32 +02:00
Witold Filipczyk
505d02525f
Use X_CFLAGS only when necessary.
2007-02-18 17:08:33 +02:00
Witold Filipczyk
0f80b8e293
Do not pollute CPPFLAGS by PYTHON_CFLAGS.
2007-02-18 17:08:08 +02:00
Kalle Olavi Niemitalo
944566c00e
NEWS: Local CGI is not new.
...
Pointed out by Witek.
2007-02-18 17:04:07 +02:00
Witold Filipczyk
2a8bff982b
Do not show always evaluate as true warnings.
2007-02-18 09:58:18 +01:00
Witold Filipczyk
dd34591c74
Revert "Added macro foreach_module_builtin. Killed some warnings of gcc-4.2."
...
This reverts commit 99cff6aa70
.
2007-02-18 09:44:35 +01:00
Witold Filipczyk
f8c0fe013b
Revert "Killed warnings: uri_cache always evaluate as true"
...
This reverts commit f0717304f0
.
2007-02-18 09:42:20 +01:00
Kalle Olavi Niemitalo
3651a53e58
do_real_lookup: Assert that ai_addrlen <= sizeof(struct sockaddr_storage).
2007-02-17 22:21:56 +02:00
Witold Filipczyk
dc1b84bafd
Do not add LUA_CFLAGS to the CPPFLAGS.
2007-02-17 18:19:10 +01:00
Witold Filipczyk
c96ec209c1
Old CPPFLAGS was stored in CPPLFAGS_X.
2007-02-17 18:12:53 +01:00
Witold Filipczyk
a35644bf3e
Use PERL_CFLAGS only when necessary.
2007-02-17 18:08:00 +01:00
Witold Filipczyk
e9a2241b1b
Do not add GUILE_CFLAGS to the CPPFLAGS.
2007-02-17 17:54:36 +01:00