Witold Filipczyk
a3f45e7ff3
ftp, date: The same trick as for files.
2007-06-18 20:15:05 +02:00
Witold Filipczyk
ea4c09efd4
date: added the width for the month field to the date format.
...
Since glibc-2.6 Polish locale uses Roman numbers for months in dates.
VIII is 4 bytes long, so %4b. Without this directory listings look ugly.
It adds one space per line in the C locale. IMHO it is not a big problem.
2007-06-18 20:01:08 +02:00
Kalle Olavi Niemitalo
0031fb4e0d
NEWS: sync with 0.11.3.GIT and update
2007-06-17 21:11:26 +02:00
Kalle Olavi Niemitalo
cb1658f399
URI: Inline check_uri_file.
...
And reorder the characters in the string given to strcspn(), to match
their expected order in the URI. This is also how strcspn() is called
elsewhere in uri.c.
2007-06-17 21:11:20 +02:00
Witold Filipczyk
b2b4e67e0d
DOM, ecmascript: removed superflous assignments.
2007-06-16 18:45:54 +02:00
Witold Filipczyk
b28eeb8a38
http-equiv: Do not parse more than one http-equiv="Content-Type".
...
Other browsers use only the first occurence of http-equiv="Content-Type".
ELinks parsed all and used the last one for the charset.
Noticed at http://gazetaolsztynska.wm.pl/ .
2007-06-15 21:10:19 +02:00
Witold Filipczyk
123e3c9ad7
test, CGI: added a simple form to test CGI.
2007-06-15 14:39:24 +02:00
Witold Filipczyk
58570dfe3b
cdplayer: Simplification.
2007-06-14 17:10:47 +02:00
Witold Filipczyk
5f99ad9f88
contrib: cdplayer
2007-06-14 13:54:05 +02:00
Witold Filipczyk
cd1ebf97b7
URI file: Fixed. CGI scripts work, URI fragments work too.
2007-06-14 08:02:29 +02:00
Witold Filipczyk
1629c572b7
uri, file: Commented out broken code.
...
CGI scripts using GET method didn't work.
2007-06-13 23:05:56 +02:00
Witold Filipczyk
3923a8c4fc
DOM: Moved invocation of done_ecmascript_obj to the done_dom_node_data.
2007-06-13 12:24:00 +02:00
Witold Filipczyk
fd1dcfd781
DOM TR,TD: register/unregister cell.
2007-06-13 11:57:29 +02:00
Witold Filipczyk
f00433f233
DOM TR: register/unregister row.
2007-06-13 11:34:45 +02:00
Witold Filipczyk
0702ea97bd
DOM TABLE: Redefined register_row and unregister_row. Small fixes.
2007-06-13 11:30:07 +02:00
Witold Filipczyk
c44db5b943
DOM, TableSection: Defined some properties.
2007-06-12 22:34:51 +02:00
Witold Filipczyk
3545c7225f
DOM, SELECT: The type of the options property is struct dom_node *.
2007-06-12 18:42:39 +02:00
Witold Filipczyk
6e010d76ff
DOM HTMLOptionsCollection: Reused HTMLCollection.
...
Note that the length property is read-only now.
2007-06-12 16:49:06 +02:00
Witold Filipczyk
46584fc5c0
DOM, HTMLCollection: Defined the namedItem method.
2007-06-12 16:39:44 +02:00
Witold Filipczyk
4df27a6700
DOM forms: register and unregister functions for FORM elements.
...
Elements like INPUT, TEXTAREA or SELECT look for the parent FORM
and register themselves to it. When those elements are freed they
unregister themselves.
2007-06-12 15:07:43 +02:00
Witold Filipczyk
c6274851b2
DOM, ecmascript: Argument of done functions changed to struct dom_node *.
...
node is needed by some unregister functions.
2007-06-12 14:37:31 +02:00
Witold Filipczyk
09db7aa8a0
DOM, ecmascript: Added some helper functions for handling forms.
...
Defined the item function of HTMLCollection.
2007-06-12 13:01:54 +02:00
Witold Filipczyk
829a953eb2
DOM: Added field ctx to the struct dom_node_list to easy get/set
...
the private data of an object.
2007-06-12 11:47:56 +02:00
Witold Filipczyk
a6eca1ae60
DOM: Export del_from_dom_node_list.
2007-06-12 11:44:58 +02:00
Kalle Olavi Niemitalo
2211994789
Check for gzclearerr in configure. Document needing zlib >= 1.2.0.2.
...
It was reported at elinks-dev on 2007-06-03 that Solaris 10 comes with
zlib 1.1.4, which does not include gzclearerr(), which ELinks nowadays
requires. It would be possible to rewrite the decompression support
to use deflate() directly and avoid stdio, in which case gzclearerr()
would not be needed. That will take some time however, so I'm not
attempting it for ELinks 0.12.0. Instead, I'm just disabling gzip
decompression entirely if zlib is too old.
2007-06-11 20:55:50 +02:00
Witold Filipczyk
8b19aac004
DOM, ecmascript: In elements that have form property, this property points to
...
the node which contains that form.
2007-06-11 12:06:29 +02:00
Witold Filipczyk
9b23b1d013
DOM, ecmascript: Defined FIELDSET functions.
2007-06-11 11:33:21 +02:00
Witold Filipczyk
3f99ea9896
leds: Commented out redraw_terminal. The screen flickers with frames.
2007-06-10 21:54:33 +02:00
Witold Filipczyk
ba24e154e2
bug 955 continued: Do not call onsubmit for a BUTTON, either.
...
Added tricky code for calling submit() from onclick() of BUTTON.
2007-06-10 19:43:59 +02:00
Witold Filipczyk
820afbee0b
bug 955: Do not call onsubmit for RESET.
2007-06-10 18:13:03 +02:00
Kalle Olavi Niemitalo
908499bb9e
SEE compatibility in forms.namedItem.html.
2007-06-10 17:49:12 +02:00
Kalle Olavi Niemitalo
e8c8e65d66
SEE: Always use SEE_no_enumerator instead of NULL.
...
Although <see/object.h> of SEE 2.0.1131 has a comment saying that
SEE_objectclass.enumerator is optional and may be left NULL, SEE
crashes if one tries to enumerate the properties of an object created
from such a class. Conveniently, it provides a suitable stub function.
http://www.adaptive-enterprises.com.au/bugs/show_bug.cgi?id=75
2007-06-10 17:49:05 +02:00
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