Witold Filipczyk
6e08e1bf5d
ECMAScript: Probably superfluous kill_timer. Removed unused include.
2006-10-24 19:10:10 +02:00
Witold Filipczyk
2fe0623298
Moved the setTimeout timer to the struct document.
2006-10-24 16:47:41 +02:00
Witold Filipczyk
c76ce39a87
SpiderMonkey: added setTimeout.
2006-10-24 15:52:44 +02:00
Witold Filipczyk
e5e6727e81
SEE: setTimeout is a window object method.
2006-10-24 15:33:14 +02:00
Witold Filipczyk
cc4d02b0ae
SEE: Added setTimeout function.
2006-10-23 22:45:55 +02:00
Witold Filipczyk
86bc6a534b
Should be visible not location.
2006-09-26 19:40:59 +02:00
Witold Filipczyk
c961564d0b
SEE: use keystr as return value. Killed warning.
2006-09-03 13:21:23 +02:00
Kalle Olavi Niemitalo
8850d85998
ECMAScript: If accessKey is a surrogate, throw an error when reading it.
...
Surrogates are now treated the same way as out-of-range characters
like U+110000; if a link has such an access key, then the ECMAScript
accessKey property cannot be read. It seems currently impossible to
set such an access key though, because accesskey_string_to_unicode()
doesn't support multibyte characters yet.
2006-08-27 11:45:11 +03:00
Kalle Olavi Niemitalo
38fe5b72f7
Define and use macros for handling UTF-16 surrogates.
2006-08-24 23:30:41 +03:00
Kalle Olavi Niemitalo
2d898272c1
ECMAScript: Preserve all of Unicode when setting the accessKey property.
...
Well, almost all. U+0000 cannot be used because ELinks thinks that
means the link has no access key.
2006-08-20 17:40:27 +03:00
Kalle Olavi Niemitalo
45b194d1e7
ECMAScript: Fix previous careless SEE changes.
2006-08-20 17:36:06 +03:00
Kalle Olavi Niemitalo
00a5b88371
ECMAScript: Preserve all of Unicode when reading the accessKey property.
...
Setting the property does not yet support Unicode.
2006-08-20 13:37:03 +03:00
Witold Filipczyk
b1c8eb5572
SEE: use periodic callback. SEE engine passes infinite test
2006-08-12 19:07:16 +02:00
Witold Filipczyk
19315e136e
Ecmascript: the code adjusted for SEE-2.0
2006-08-12 18:43:31 +02:00
Witold Filipczyk
2d9e28bd68
Used dir_sep instead of hard coded '/'
2006-07-09 13:02:44 +02:00
Laurent MONIN
5acb5e6663
Trim trailing whitespaces.
2006-05-31 19:34:49 +02:00
Witold Filipczyk
9f69170c2a
fixup_select_state was unnecessary
2006-05-02 12:56:05 +02:00
Witold Filipczyk
cdd86d3c20
Ecmascript: write to the variable selectedIndex. Not tested
2006-05-02 11:28:41 +02:00
Witold Filipczyk
d9d6bc23ae
Ecmascript: introduced selectedIndex
2006-05-02 09:36:23 +02:00
Witold Filipczyk
c540a9ed63
Ecmascript: more id checks
2006-05-01 19:55:43 +02:00
Witold Filipczyk
8761bf04a9
Ecmascript: check also id, not only name of form controls. This is required
...
by scripts at http://www.ecs.com.tw/
2006-05-01 19:37:54 +02:00
Witold Filipczyk
dc8f89e5b1
SEE: see_eval_stringback returns either string when SEE_value is string
...
or NULL otherwise. At www.ecs.com.tw hyperlinks didn't "work".
When document.browse.forms.confirm_submit is 1 there is a problem with
big dialog box.
2006-04-15 19:22:38 +02:00
Witold Filipczyk
3feb4a55a4
SEE: window.navigator is alias for navigator
2006-04-13 22:47:32 +02:00
Witold Filipczyk
83d0d6f84a
Fixed the memleak
2006-04-02 17:57:12 +02:00
Witold Filipczyk
c571aea567
Ecmascript: 8 last urls opened by window.open() remembered in a safer way.
2006-04-02 17:00:55 +02:00
Miciah Dashiel Butler Masters
d7a964efaf
SMJS: fix segfault on exit
...
Create and immediately destroy a context when initialising the SMJS
document scripting module, because SMJS crashes on exit if there has
been no context created since it started, which is the case if one does
not load any documents.
2006-03-26 20:28:25 +00:00
Witold Filipczyk
dc075685ae
ECMAScript: better handling of set action
2006-03-21 18:45:40 +01:00
witekfl
30a60caa12
SpiderMonkey: do not remember context. Maybe this time it won't hung.
2006-03-01 18:17:16 +01:00
Miciah Dashiel Butler Masters
4b3d88dd6e
Delegate ECMAScript submodule initialisation the right way
...
Replace the ECMAScript module initialisation and de-initialisation
routines that wrapped the SMJS and SEE module initialisation and
de-initialisation routines by having the module system call the SMJS
and SEE routines its own darned self.
2006-02-26 08:51:36 +00:00
Miciah Dashiel Butler Masters
a464157d4d
SEE & SMJS: document.write(ln): use all arguments
...
Additionally add a test to test/ecmascript/document_write.html.
Thanks to Kirk Reiser for observing that ELinks only printed the first.
2006-02-12 04:33:42 +00:00
Miciah Dashiel Butler Masters
7b092af628
SEE: document.writeln: always add new line
...
Add the new-line character even if SEE_value_to_unsigned_char returns
NULL.
2006-02-12 04:25:10 +00:00
witekfl
10589b04eb
Base href was lost while setting form->action by ECMAScript. This is
...
attempt to fix it
2006-02-09 22:50:30 +01:00
witekfl
d267fcc747
SpiderMonkey: Handling both 'document.location.href ='
...
and 'document.location ='
2006-02-01 09:31:26 +01:00
witekfl
3c0c912198
SpiderMonkey: target was not set
2006-01-31 13:03:17 +01:00
Miciah Dashiel Butler Masters
db9768963f
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
...
git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-30 15:42:03 +00:00
b4d9b7f5a6
Make SpiderMonkey consistent with SEE. Do not cache ecmascript_objs
2006-01-30 11:15:04 +01:00
44710bb1e9
The same trick as in SEE: Remember last 8 locations and do not open
...
them again
2006-01-30 10:47:24 +01:00
Miciah Dashiel Butler Masters
be07858b2b
Refactor the document.write routines
...
Factor js_document_write_do out of js_document_write and
js_document_writeln and document_write_do out of document_write and
document_write_ln.
2006-01-28 20:39:07 +00:00
645689f1aa
I have no idea why it is still crashing. This is last attempt
...
today to fix it
2006-01-28 19:57:40 +01:00
71871edd43
Maybe this time it won't crash
2006-01-28 17:08:45 +01:00
7c7541f4d1
parent, self and top are the same since now
2006-01-28 14:15:55 +01:00
9cc9db4e24
Handling onsubmit
2006-01-28 11:17:22 +01:00
9c9fa1d81c
Defined document.write and document.writeln for SEE
2006-01-27 14:55:53 +01:00
8bf45d0ece
Spidermonkey's document.write and document.writeln defined. They work,
...
but rendering doesn't work
2006-01-27 13:29:38 +01:00
62d42380f8
Added ret param for document.write
2006-01-27 12:07:45 +01:00
6761b3995d
Avoided code duplication
2006-01-27 10:08:19 +01:00
witekfl
e5dbbff398
Set returned value.
2006-01-25 22:22:10 +01:00
Laurent MONIN
cf8de45782
Cleanup and tidy up window.open workaround.
2006-01-25 17:20:47 +01:00
Laurent MONIN
f6f66a28c8
Fix warning: variable xxx might be clobbered by longjmp or vfork, that
...
occur with gcc 2.95.3.
2006-01-25 17:03:15 +01:00
witekfl
c204af75fe
Because of gradual rendering window.open is called many times with the same
...
arguments. This workaround remembers 8 last opened URLs and do not let
open them again.
2006-01-25 11:50:46 +01:00