Kalle Olavi Niemitalo
0212ba7e93
Bug 844, SMB: EACCES from smbc_opendir beats ENOENT from smbc_open.
2007-02-25 23:40:43 +02:00
Kalle Olavi Niemitalo
8a25be932b
Bug 844, SMB: HTML-encode file names and comments.
...
This probably does the wrong thing with non-ASCII characters.
That's just because libsmbclient does not document which charset
it uses: it even reads smb.conf, which then may affect the choice.
2007-02-25 23:28:02 +02:00
Kalle Olavi Niemitalo
11e6aa8d97
Bug 944, SMB: Fix leaks and libsmbclient 3.0.10 compatibility.
2007-02-25 21:15:46 +02:00
Witold Filipczyk
5289a840d8
smb2: Do not use smb_options.
2007-02-25 16:53:54 +02:00
Witold Filipczyk
546a52597f
Typo.
2007-02-25 16:53:45 +02:00
Witold Filipczyk
a0db520267
smb: remember the username and the password given in the uri.
...
[ This is half of commit c7f6f76951
from the witekfl branch. The FSP half will come later. --KON ]
2007-02-25 16:53:35 +02:00
Witold Filipczyk
0c1371b161
smb: minor optimisation.
2007-02-25 16:52:25 +02:00
Witold Filipczyk
0cf6f91394
smb: Encode and decode spaces in filenames.
2007-02-25 16:52:19 +02:00
Witold Filipczyk
28fcc17564
smb: Do not encode ' ' as %20 in base href.
2007-02-25 16:52:07 +02:00
Witold Filipczyk
36477ffa45
smb: set_nonblocking_fd
...
[ This is part of commit 71adb0e6cc
from
the witekfl branch. The FSP and CGI parts will come later. --KON ]
2007-02-25 16:51:53 +02:00
Witold Filipczyk
c828cda079
smb: used string functions in place of printf and puts.
2007-02-25 16:50:22 +02:00
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
Witold Filipczyk
cf86e2e72f
Added SEE_CFLAGS to the Makefile.config. Use SEE_CFLAGS only when necessary.
2007-02-18 17:09:32 +02:00
Kalle Olavi Niemitalo
3651a53e58
do_real_lookup: Assert that ai_addrlen <= sizeof(struct sockaddr_storage).
2007-02-17 22:21:56 +02:00
Kalle Olavi Niemitalo
cf32aba65f
BFU doc: Comment on what widget_data.cdata means for WIDGET_TEXT.
...
Inspired by bug 935.
2007-02-17 14:17:24 +02:00
Kalle Olavi Niemitalo
315f4e0342
doc: cut-clipboard does not merely delete text from clipboard.
2007-02-11 23:34:44 +02:00
Kalle Olavi Niemitalo
763f03f146
get_clipboard_text: Disable pasting from GNU Screen's clipboard.
2007-02-11 20:56:41 +02:00
Miciah Dashiel Butler Masters
93aea42b96
Unhighlight previously selected link when using goto-mark
...
In goto_mark, copy the current_link of the old view state to the
old_current_link of the new view state so that clear_link will properly
clear the highlight for that link.
This fixes a bug introduced with the removal of link_bg in commit
c91c763d49
.
2007-02-04 23:13:39 +00:00
Kalle Olavi Niemitalo
a565365a8d
do_type_query: Make known_types[] const.
2007-02-04 15:32:35 +02:00
Kalle Olavi Niemitalo
c62e9f9eae
check_http_server_bugs: Make buggy_servers[] const.
2007-02-04 15:30:51 +02:00
Kalle Olavi Niemitalo
c8a57c562f
Make http_code[] const; make http_code[].str point to const.
2007-02-04 15:18:45 +02:00
Kalle Olavi Niemitalo
d7e4b57146
Make instances of struct listbox_ops const.
2007-02-04 15:17:49 +02:00
Kalle Olavi Niemitalo
a5e321cb2b
Make instances of struct hierbox_browser_button const.
...
And explicitly disable the "Save" buttons in anonymous mode,
even though they are currently inside #if 0.
2007-02-04 13:54:07 +02:00
Kalle Olavi Niemitalo
31dc108c73
end_with_known_tld: Make tld[] const.
2007-02-04 13:46:45 +02:00
Kalle Olavi Niemitalo
543b0f6768
Make msg_dsc[] static const.
2007-02-04 13:40:46 +02:00
Kalle Olavi Niemitalo
68b069a657
Make MIME backend metadata const.
2007-02-04 13:34:48 +02:00
Kalle Olavi Niemitalo
a6886634bc
Make unicode_7b[] static const.
...
The .data section of src/intl/charsets.o is only 40 bytes now.
Inspired by bug 381.
2007-02-03 23:25:16 +02:00
Kalle Olavi Niemitalo
974a5cdffd
Make entities[] static const.
...
Inspired by bug 381.
2007-02-03 19:51:45 +02:00
Kalle Olavi Niemitalo
408d86f2b1
Remove temporary indentation left in the previous commit.
2007-01-30 10:27:57 +02:00
Kalle Olavi Niemitalo
ebf549ba77
Fix document.html.wrap_nbsp in UTF-8 terminals.
...
!CONFIG_UTF8, ISO-8859-1 doc, ASCII terminal, UTF-8 or unibyte I/O:
ok,   ok,   ok, A0 ok
!CONFIG_UTF8, ISO-8859-1 doc, ISO-8859-1 terminal, UTF-8 or unibyte I/O:
ok,   ok,   ok, A0 ok
!CONFIG_UTF8, UTF-8 doc, ASCII terminal, UTF-8 or unibyte I/O:
ok,   ok,   ok, C2 A0 fail (drawn as "\001").
!CONFIG_UTF8, UTF-8 doc, ISO-8859-1 terminal, UTF-8 or unibyte I/O:
ok,   ok,   ok, C2 A0 fail (not wrapped).
CONFIG_UTF8, ISO-8859-1 doc, ASCII terminal, UTF-8 or unibyte I/O:
ok,   ok,   ok, A0 ok
CONFIG_UTF8, ISO-8859-1 doc, ISO-8859-1 terminal, UTF-8 or unibyte I/O:
ok,   ok,   ok, A0 ok
CONFIG_UTF8, ISO-8859-1 doc, UTF-8 terminal, UTF-8 I/O:
all fail (not wrapped); after patch all ok.
CONFIG_UTF8, UTF-8 doc, ASCII terminal, UTF-8 or unibyte I/O:
ok,   ok,   ok, C2 A0 fail (drawn as "\001").
CONFIG_UTF8, UTF-8 doc, ISO-8859-1 terminal, UTF-8 or unibyte I/O:
ok,   ok,   ok, C2 A0 fail (not wrapped)
CONFIG_UTF8, UTF-8 doc, UTF-8 terminal, UTF-8 I/O:
all fail (not wrapped); after patch all ok.
2007-01-30 10:21:12 +02:00