Witold Filipczyk
05d40f6a63
ecmascript: Added ecmascript_clear_timeout.
2007-04-26 21:04:30 +02:00
Witold Filipczyk
f047c7c5fc
ecmascript: ecmascript_set_timeout returns pointer.
...
This pointer will be used later by clearTimeout.
2007-04-26 21:00:50 +02:00
Witold Filipczyk
479f63036a
ecmascript: Handle multiple setTimeout simultaneously.
2007-04-26 20:49:56 +02:00
Witold Filipczyk
2a3be5260a
forms: Buttons should not submit forms.
...
This reverts Commit: 6fe1a431f1
Sometimes scripts submit forms using buttons
I don't remember why I did previous change, but it was broken.
2007-04-18 16:19:18 +02:00
Witold Filipczyk
df36759e80
SEE: Report errors.
2007-04-15 17:57:30 +02:00
Witold Filipczyk
bcb22e301f
SEE: Simplification.
2007-04-15 16:59:04 +02:00
Witold Filipczyk
b5c3baf910
SEE: Renamed ELinks functions with the "SEE" prefix to distinguish them
...
from SEE functions.
2007-04-15 16:53:14 +02:00
Witold Filipczyk
c5b102ba08
SEE: added forms to the global object.
...
Avoid dangerous document.forms = ...
2007-04-14 23:49:43 +02:00
Witold Filipczyk
cd982d7d65
SEE: do not do check_class for alert, open and setTimeout.
...
Do not do check_class when functions called by the global object.
2007-04-14 23:32:14 +02:00
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