1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-11-04 08:17:17 -05:00
Commit Graph

2661 Commits

Author SHA1 Message Date
Witold Filipczyk
182812352b bug 620: reset forms before reload, not after.
The idea by Kalle Olavi Niemitalo.
2007-03-26 19:21:23 +02:00
Witold Filipczyk
1655de5699 BUILD_ID: Use cg-object-id when there is no cg-commit-id 2007-03-23 19:01:21 +01:00
Witold Filipczyk
00037979d2 check_html_form_hierarchy: Old code was buggy.
Old code caused the assertion failure on the shutdownday's page.
2007-03-23 13:16:39 +01:00
Witold Filipczyk
55c00e0a12 memdebug: Show the previous address of the allocated memory (mem_realloc).
Without this tracking of the memory allocation is IMHO impossible.
2007-03-22 10:05:47 +01:00
Witold Filipczyk
426e5f2b3b ecamscript: Delayed submit_given_form.
This probably fixes many bugs.
2007-03-22 09:52:52 +01:00
Witold Filipczyk
8c30a2a6c7 bug 620: added the field 'reload' to the struct document_view.
Changed the type of 'used' to unsigned int:1.
Resetting of forms is done only once. It wasn't tested.
2007-03-20 16:23:48 +01:00
Witold Filipczyk
1a8aae50fb speech: Ignore frame chars. 2007-03-19 18:00:59 +01:00
Witold Filipczyk
208a3e99fc decompress_data: Copied from master.
The previous decompress_data was buggy.
2007-03-19 17:54:54 +01:00
Witold Filipczyk
f0aa3909b1 Revert "decompress_data: count bytes written to the pipe"
This reverts commit da5eed4dba.
2007-03-19 17:28:42 +01:00
Witold Filipczyk
c1992b2f3d Revert "decompress_data: Run read_encoded in loop while BIG_READ bytes is read."
This reverts commit 991427f967.
2007-03-19 17:27:51 +01:00
Witold Filipczyk
0b8e906e3c bug 944: Sometimes there is no document yet, so title is unavailable.
It fixes bug 944, but I don't know if the page is added to the globhist.
2007-03-18 21:08:45 +01:00
Witold Filipczyk
6605f4c471 read_special: s/foreachback/foreach/ 2007-03-15 12:41:18 +01:00
Witold Filipczyk
823c26748a delayed_goto_uri: Do not segfault when there is no location yet.
The segfault was while reading the "copiousoutput" document on startup.
2007-03-14 14:00:22 +01:00
Witold Filipczyk
82a408da28 read_special: Added no-cache. 2007-03-14 13:53:22 +01:00
Witold Filipczyk
fbc51b3991 read_special: reorganization of code. 2007-03-14 13:40:11 +01:00
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