Kalle Olavi Niemitalo
04828f08b1
SMJS: Fix error "forms.namedItem is not a function".
...
Commit 63752c854b303f5f58636a512a137bf3702e051b on 2004-12-27
seems to have broken this.
2007-06-10 17:48:58 +02:00
Kalle Olavi Niemitalo
9a48c88229
NEWS: ELinks 0.10.0 and later are GPLv2 only.
2007-06-10 17:48:53 +02:00
Witold Filipczyk
7b26b1dffd
DOM, ecmascript: Table with functions to make and done html objects.
2007-06-10 17:26:48 +02:00
Witold Filipczyk
446eec0bd3
http chunked: Better check for overflow.
2007-06-09 18:30:42 +02:00
Witold Filipczyk
a4140594f1
http chunked: avoid unsafe cases when chunks > 2GB.
...
This and previous commit were inspired by Jonas' mail on elinks-dev.
2007-06-09 17:26:15 +02:00
Witold Filipczyk
eb1fe8ee5a
http: use off_t for the chunk size.
2007-06-09 11:40:13 +02:00
Witold Filipczyk
9fb5595948
http: used off_t instead of int.
...
The progress of files bigger than 2GB is shown properly.
2007-06-07 16:16:53 +02:00
Witold Filipczyk
039a01f6d4
Polish translation was updated.
2007-06-07 12:39:55 +02:00
Witold Filipczyk
096ba3068e
DOM, ecmascript: Defined done_ functions. They will be called
...
from done_dom_node.
2007-06-06 12:16:27 +02:00
Witold Filipczyk
4f68b1af47
DOM, ecmascript: Added functions for creation SpiderMonkey's objects.
2007-06-05 22:18:11 +02:00
Witold Filipczyk
7a55be295c
DOM ecmascript: data types conformable with the DOM2-HTML recomendation.
2007-06-05 12:47:56 +02:00
Kalle Olavi Niemitalo
ec32eeb1d3
SMJS: Correct sense of JS_ValueToInt32 return value test.
...
I made this bug in commit b53525e98e
.
2007-05-31 16:48:46 +02:00
Laurent MONIN
5405f08a05
French translation was updated.
2007-05-28 19:41:09 +02:00
Witold Filipczyk
4869c187fc
Revert "French translation was updated: make --help output cleaner."
...
This reverts commit cc0dcc134b
.
2007-05-28 19:41:01 +02:00
Witold Filipczyk
c2def18e6b
Revert "Minor fix in french translation."
...
This reverts commit 9a1ba01947
.
2007-05-28 19:39:03 +02:00
Witold Filipczyk
2489ea4797
Revert "French translation was updated."
...
This reverts commit 81ae381d6a
.
2007-05-28 19:38:03 +02:00
Jonas Fonseca
bd2503e81b
Remove unused add handler in the option_type_info struct
2007-05-28 19:34:59 +02:00
Kalle Olavi Niemitalo
275b50bc90
NEWS: The remaining ECMAScript bugs don't crash ELinks.
2007-05-28 19:33:50 +02:00
Kalle Olavi Niemitalo
ea8f4b755d
SEE: Define the synthetic argv as an array.
...
This does not change the behaviour but perhaps makes the code clearer.
2007-05-27 21:04:36 +02:00
Kalle Olavi Niemitalo
809fa053b6
NEWS: Bug 755 was fixed.
2007-05-27 20:52:54 +02:00
Kalle Olavi Niemitalo
dafba56f7e
SMJS: Assert that form_number of input_class is in range.
2007-05-27 20:52:48 +02:00
Kalle Olavi Niemitalo
62257c20af
SEE: Assert that js_input.form_number is in range.
2007-05-27 20:52:41 +02:00
Kalle Olavi Niemitalo
5e0b86309c
SMJS: comment changes
2007-05-27 20:50:29 +02:00
Kalle Olavi Niemitalo
09d0e88878
SMJS: Use JS_GetInstancePrivate where applicable.
...
This is a further precaution against reading a pointer from the wrong
type of object. All of the JS_GetPrivate calls were already protected
with JS_InstanceOf checks if assertions are enabled, and many of them
also if assertions are not enabled.
2007-05-27 20:50:20 +02:00
Kalle Olavi Niemitalo
0417d84e74
SMJS: Check return values of JS_ValueToInt32.
2007-05-27 20:50:12 +02:00
Kalle Olavi Niemitalo
0d39a215c3
NEWS: Bug 951 now has a number.
...
I trust Miciah will change the "their" to "them" if appropriate.
2007-05-27 18:30:58 +02:00
Kalle Olavi Niemitalo
ff9fd492da
NEWS: Compilation under gcc 4.x was fixed already in 0.11.3.
2007-05-27 09:59:45 +02:00
Kalle Olavi Niemitalo
7fbf64ec9d
NEWS: remove what seems to be a duplicate of bug 950
2007-05-27 09:59:40 +02:00
Kalle Olavi Niemitalo
3f4846add0
Compare screen_driver.name with strcmp, not memcmp.
...
screen_driver_change_hook was comparing only strlen(name) characters
and ignoring the '\0'. To reproduce the bug in ELinks 0.11.3 and
ELinks 0.12.GIT:
- Run TERM=screen elinks.
- In another terminal, run TERM=scr elinks. Quit this slave ELinks.
- Open the terminal options dialog and set 16 colors.
- Open the option manager and change the terminal.scr.colors option to
1 and back to 0.
- Note that ELinks no longer displays colors.
That bug could be fixed just by using len+1 instead of len. However,
there is also another bug: memcmp may compare the specified number of
bytes, even if some of the earlier ones differ; thus, it could in
principle read past the end of the malloc block and thereby crash
ELinks. Using strcmp may be a little slower but I do not believe it
could become a bottleneck.
2007-05-27 09:59:35 +02:00
Jonas Fonseca
6d14d95386
Simplify TESTDEPS maintainance by adding common objects in Makefile.lib
2007-05-26 20:21:15 +02:00
Jonas Fonseca
447fd16ae0
Fix 'make test' dependency when building test utility programs
...
Problems was caused by undefined symbols:
src/util/conv.c:308: undefined reference to `is_cp_utf8'
src/util/conv.c:320: undefined reference to `cp2u'
2007-05-26 20:21:09 +02:00
Jonas Fonseca
bd0e3a5bc1
DOM test: add test/ to SUBDIRS so DOM test is run for 'make test'
2007-05-26 20:21:03 +02:00
Jonas Fonseca
c192551773
DOM test: make die() in sgml-parser static
2007-05-26 20:20:58 +02:00
Jonas Fonseca
ee8a3fe651
DOM test: refactor options parsing in sgml-parser
...
Introduce get_opt() to do the tedious work of getting the right
argument for options expecting them and handles both '--opt=arg'
and '--opt arg'. As a side effect it also removes an unneeded
assignment of the source string for stdin.
2007-05-26 20:20:51 +02:00
Witold Filipczyk
c8d345aa12
Revert "make test: Fixed."
...
This reverts commit 4142f3c80a
.
2007-05-26 20:18:39 +02:00
Witold Filipczyk
4142f3c80a
make test: Fixed.
2007-05-26 20:09:40 +02:00
Witold Filipczyk
df3c3083f6
DOM: done_dom_html_data is accessible only with ECMASCRIPT enabled.
2007-05-26 13:09:17 +02:00
Jonas Fonseca
201ce1ec85
Use printf to handle test string containing escapes more portable
...
Works with both bash and dash. This reintroduces the fix to the
test-sgml-parser-basic test, and also fixes test-sgml-parser-incremental
and test-sgml-parser-lines, which Witek has reported as failing.
2007-05-26 13:01:22 +02:00
Jonas Fonseca
7d2eb84de0
Revert "Refactor test-sgml-parser-basic to work with non-bash shells"
...
This reverts commit 3f93148c9b
.
2007-05-26 13:01:16 +02:00
Witold Filipczyk
21ed212b15
shadow: Draw a transparent shadow on the Linux console, too.
...
set ui.colors.color.dialog.shadow.text = "#555555 "
set ui.colors.color.dialog.shadow.background = "black"
and enjoy!
2007-05-25 11:51:40 +02:00
Kalle Olavi Niemitalo
2bcf3c8e6c
NEWS: Bug 950 now has a number.
2007-05-24 18:28:28 +02:00
Witold Filipczyk
1b85b63f97
file: set_nonblocking_fd when reading from the copiousoutput's pipe.
2007-05-24 12:29:29 +02:00
Witold Filipczyk
e75522d19c
DOM: Defined properties of HTML elements.
...
All of them are the "unsigned char *" type. This should be changed.
2007-05-23 22:57:55 +02:00
Witold Filipczyk
d4adfb3cd0
bug 755: Fixed.
...
Remember the index of struct form_state in vs->form_info
instead of the pointer to it. The pointer may change,
the index is persistent.
The field ecmascript_obj of the struct form_state is unused.
2007-05-22 16:07:06 +02:00
Witold Filipczyk
b09135a612
SEE: bug 755 doesn't occur.
2007-05-22 10:45:36 +02:00
Witold Filipczyk
bb59860c23
ecmascript: Convert numbers using JS_ValueToInt32.
2007-05-22 09:36:39 +02:00
Witold Filipczyk
08cab91214
bug 755: attempt to fix this bug.
2007-05-21 12:50:27 +02:00
Witold Filipczyk
f70e438820
DOM: node was unitialized.
2007-05-20 21:03:15 +02:00
Witold Filipczyk
ca62325a53
speech: Compilation fix.
2007-05-20 20:39:54 +02:00
Kalle Olavi Niemitalo
87b086a046
NEWS: mention bug 461
2007-05-20 20:21:58 +02:00