1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00
Commit Graph

2546 Commits

Author SHA1 Message Date
Witold Filipczyk
b9c409c3b9 I forgot about conn->popen. 2007-03-13 22:41:58 +01:00
Witold Filipczyk
fc2a402059 copiousoutput: Allow read only registered file descriptors. 2007-03-13 22:39:13 +01:00
Witold Filipczyk
7ab5b8d57e Do not let reading from /dev/stdin and /dev/fd/0. 2007-03-13 22:09:41 +01:00
Witold Filipczyk
a494f376f9 copiousoutput: Use current frame.
Use the current frame instead full screen. Do not add the "zombie"
popen_data in case of the memory allocation error.
2007-03-13 21:10:21 +01:00
Witold Filipczyk
b6e862f539 forms: allow submit empty forms
Empty forms like this:
<form name="aaa" action="tralalala"></form>
is used by www.mbank.com.pl.
2007-03-13 13:53:46 +01:00
Witold Filipczyk
bd0aa20c9c Grammar. 2007-03-13 13:10:16 +01:00
Witold Filipczyk
6a77f68c63 mime: Check whether % is enclosed by apostrophes 2007-03-12 22:10:48 +01:00
Witold Filipczyk
8b900203b7 test: onchange.html adjusted to the ELinks 2007-03-12 21:14:32 +01:00
Witold Filipczyk
0f58529b7d ecmascript: Added onchange hook for SELECT.
It works, but not for test case yet.
2007-03-12 21:03:24 +01:00
Witold Filipczyk
95b5e67bd9 The test case for the onChange event. 2007-03-12 19:01:50 +01:00
Witold Filipczyk
d008728ab0 festival: Drop MAX_LINE_LENGTH
Limit number of bytes to be written by PIPE_BUF.
2007-03-12 17:01:55 +01:00
Witold Filipczyk
9eb1c751ed configure.in: show espeak in features.log 2007-03-12 16:49:43 +01:00
Witold Filipczyk
c4500039b2 get_attr_value: do not do trim_chars
trim_chars was called only in debug mode and the results of the get_attr_val
for value=" something " in debug mode differ from normal and fastmem mode.
2007-03-12 16:43:17 +01:00
Witold Filipczyk
ede61c1222 Reset forms after reloading a document.
This is a fix for the bug from bugzilla, but I don't remember the bug number
now. Forms are reset when new documents are loaded or old ones are reloaded.
Because of gradual rerendering forms may be reset a few times
before a document is fully loaded, what may be annoying.
2007-03-11 18:52:53 +01:00
Witold Filipczyk
9362dfb9ae festival: Use the terminal codepage for the speech output.
Also limit the number of bytes written do the pipe to PIPE_BUF.
The configuration of the speech engine (proper encoding, voice, etc.)
is left to the user.
2007-03-10 19:21:17 +01:00
Witold Filipczyk
094b75d5ac festival: there is no default speech synthesis engine. 2007-03-10 16:06:06 +01:00
Kalle Olavi Niemitalo
44852d9cba festival: Assert that writes are not short. Add comments. 2007-03-10 15:38:57 +01:00
Witold Filipczyk
c09cc0398f fsp: download resuming 2007-03-09 20:33:14 +01:00
Witold Filipczyk
967a15b7f4 smb: download resuming 2007-03-09 20:18:38 +01:00
Witold Filipczyk
991427f967 decompress_data: Run read_encoded in loop while BIG_READ bytes is read.
Current implementation is IMHO predictable. In the old code I'm not sure
what happen when read_encoded read BIG_READ bytes.
2007-03-07 22:29:06 +01:00
Witold Filipczyk
9465425b16 festival: 240 chars should be enough for line length. 2007-03-07 17:49:03 +01:00
Witold Filipczyk
17385a8d7f festival: stop_festival when freeing doc_view. 2007-03-07 14:18:48 +01:00
Witold Filipczyk
3a56964990 festival: do not segfault when closing current tab 2007-03-07 10:43:25 +01:00
Witold Filipczyk
9a9832887e Decode uri for displaying for all protocols.
This change first appeared in commit 047bf7e1c6
and was reverted by merge with the master later. Thanks, Kalle.
2007-03-06 22:12:57 +01:00
Witold Filipczyk
da5eed4dba decompress_data: count bytes written to the pipe
Count bytes written to the pipe and decompress when the pipe is full.
This fixes the issue with blogs.msdn.com. It also should give better
performance because of fewer calls to read_encoded.
2007-03-06 20:42:09 +01:00
Witold Filipczyk
0bc767fed4 Merge with master.
Conflicts resolved by copying files of master branch.
2007-03-06 19:09:31 +01:00
Kalle Olavi Niemitalo
f2fc402093 Merge with http://elinks.cz/elinks.git 2007-03-06 16:01:21 +02:00
Kalle Olavi Niemitalo
f905379aed smb: Use atol rather than atoi for file sizes.
Corresponds to FSP commit 9f47368894.
2007-03-06 15:59:14 +02:00
Kalle Olavi Niemitalo
3b634ffee6 smb: Don't call qsort with a NULL pointer.
Corresponds to FSP commit 97edc3a2cc.
2007-03-06 15:59:06 +02:00
Kalle Olavi Niemitalo
6ae6c0b438 smb: Remove a cast.
Corresponds to FSP commit 95a377e81b.
2007-03-06 15:59:00 +02:00
Kalle Olavi Niemitalo
846a368fb0 smb: Assert that there is room for a terminating null.
Corresponds to FSP commit 23b4b912ac.
2007-03-06 15:58:50 +02:00
Kalle Olavi Niemitalo
588375444b smb: Comment about not freeing memory in the child process.
Corresponds to FSP commit 368a749123.
2007-03-06 15:58:45 +02:00
Kalle Olavi Niemitalo
146a605938 smb: Call close_socket(socket) rather than close(socket->fd).
Corresponds to FSP commit 3ba31763a9.
2007-03-06 15:58:38 +02:00
Kalle Olavi Niemitalo
c19ad66070 smb: Comment and FIXME about closing file descriptors.
Corresponds to FSP commit 1ad016bdd5.
2007-03-06 15:58:28 +02:00
Kalle Olavi Niemitalo
e08d040c4c smb: Don't cast the qsort comparison function pointer.
Inspired by FSP commit c3a6ca3ef0.
This time, the cast was a no-op though.
2007-03-06 15:58:24 +02:00
Kalle Olavi Niemitalo
9665f1b813 smb: More const.
Inspired by FSP commit c06d6ba5d0.
2007-03-06 15:58:07 +02:00
Kalle Olavi Niemitalo
327de14aa8 smb: Fix libsmbclient 3.0.10 compatibility.
Also, allocate memory for only one copy of each comment string, rather
than two.
2007-03-06 15:57:58 +02:00
Kalle Olavi Niemitalo
f621ed63b4 Revert 11e6aa8d97, "Bug 944, SMB: Fix leaks and libsmbclient 3.0.10 compatibility."
Revert commit 11e6aa8d97.
It is not useful to complicate the code to free the memory,
because the process is soon going to exit, and it has inherited
a lot more memory allocations from its parent.

The libsmbclient 3.0.10 compatibility changes are good though.
I'll re-apply them soon enough.
2007-03-06 15:57:40 +02:00
Kalle Olavi Niemitalo
e517ef22a9 fsp: Try to recover from ABI mismatches caused by _FILE_OFFSET_BITS. 2007-03-06 15:57:18 +02:00
Laurent MONIN
f2916d8646 unblock_itrm(),block_itrm(): drop unused parameter fd. 2007-03-05 22:54:24 +01:00
Laurent MONIN
e4256e0e6a Refresh status bar when key prefix is eaten. It fixes bug 930. 2007-03-05 22:15:50 +01:00
Laurent MONIN
d7400bed08 asprintf() is not used in this file. 2007-03-05 22:04:34 +01:00
Laurent MONIN
86686983c0 save_textarea_file(): do not open file for writing if not needed. Patch
by Alexey Tourbin.
2007-03-05 21:48:42 +01:00
Laurent MONIN
ecce8bfa91 save_textarea_file(): handle return values of fwrite() and fclose(). Patch
by Alexey Tourbin.
2007-03-05 21:47:09 +01:00
Laurent MONIN
1e00f2d10d save_textarea_file(): cleanup handling of error, closing descriptors
and unlinking created file. Patch by Alexey Tourbin.
2007-03-05 21:44:58 +01:00
Laurent MONIN
12ec62810b save_textarea_file(): h -> fd, file -> fp. Idea by Alexey Tourbin. 2007-03-05 21:41:17 +01:00
Laurent MONIN
5acb3a68fb If there is nothing to write do not even open the file for write (test
formdata length). Patch by Alexey Tourbin.
2007-03-05 21:37:24 +01:00
Laurent MONIN
edb8d9001c If there is nothing to write do not even open the file for write. Patch
by Alexey Tourbin.
2007-03-05 21:34:45 +01:00
Laurent MONIN
4b9ddf1481 Take care of fwrite() and fclose() return values. Patch by Alexey Tourbin. 2007-03-05 21:30:16 +01:00
Laurent MONIN
6bdc34cfbc Unlink file on error. Patch by Alexey Tourbin. 2007-03-05 21:24:02 +01:00