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

2411 Commits

Author SHA1 Message Date
Jonas Fonseca
3a9cba5695 Split the parser interface up into init, parser and done steps
The parser will eventually have to live across parses for incremental
renderering. Also the renderer and parser need to share the DOM stack.
2005-11-27 09:18:40 +01:00
Jonas Fonseca
83dca03a27 Remove indentation from option description 2005-11-27 07:29:36 +01:00
Jonas Fonseca
ce70c52557 Update Danish translation 2005-11-27 07:28:49 +01:00
Jonas Fonseca
68404b5bf1 Remove some unused struct decls 2005-11-27 07:21:28 +01:00
Miciah Dashiel Butler Masters
d0eeab5b7e Merge the special handling in start_element for tables into html_table. 2005-11-26 02:38:12 +00:00
Miciah Dashiel Butler Masters
947ddc4160 In html_table, rename parameter a to attr. 2005-11-26 02:15:00 +00:00
Miciah Dashiel Butler Masters
cf2fcaa84f Shuffle code so that the do_html_select, do_html_select_multiple, and
html_select are together.
2005-11-26 01:50:46 +00:00
Miciah Dashiel Butler Masters
a781cf1894 Give do_html_select return type void instead of int. 2005-11-26 01:47:50 +00:00
Miciah Dashiel Butler Masters
321003a09e Check for the multiple attribute in html_select rather than in
do_html_select.
2005-11-26 01:46:01 +00:00
Miciah Dashiel Butler Masters
c2445f09bd Factor do_html_select_multiple out of html_select. 2005-11-26 01:43:10 +00:00
Miciah Dashiel Butler Masters
a6a67174af Drop the html_textarea wrapper for do_html_textarea and rename
do_html_textarea to html_textarea.
2005-11-26 01:35:26 +00:00
Miciah Dashiel Butler Masters
a27284611c Don't export do_html_select. 2005-11-26 01:32:10 +00:00
Miciah Dashiel Butler Masters
683c8722d2 Merge do_html_script into html_script. 2005-11-26 01:23:07 +00:00
Jonas Fonseca
df97a92e53 Oops, add missing description of preformat hook return value 2005-11-26 01:22:14 +01:00
Jonas Fonseca
22008c5c62 Improve the ruby hook example file
Add preformat hook by Thomas Adam (as can be seen on his ELinks page at
http://edulinux.homeunix.org/elinks/) and spice up the hook descriptions
a bit.
2005-11-26 01:14:08 +01:00
Jonas Fonseca
bb588729ff Silence various sparse warnings
... related to __INT_MAX__ and friends not being defined, and various
__builtin.. function declarations missing (they should probably be added
to sparse, but I am lazy).
2005-11-25 19:02:16 +01:00
Jonas Fonseca
48c113b114 Fix non-ANSI function declaration 2005-11-25 18:51:21 +01:00
Jonas Fonseca
2e18d752fc Kill suspicious looking empty line 2005-11-25 13:31:07 +01:00
Laurent MONIN
3dd81f003e Fix trailing whitespaces. 2005-11-25 09:38:32 +01:00
Laurent MONIN
50ffe0f2cd html_select(): fix compilation bug to recent patch. 2005-11-25 09:32:43 +01:00
Miciah Dashiel Butler Masters
9062c83b51 Let html_select, html_textarea, and html_script call do_html_select,
do_html_textarea, and do_html_script directly instead of handling them
specially in start_element.
2005-11-25 01:22:55 +00:00
Miciah Dashiel Butler Masters
08c1cdf9d4 Add parameters unsigned char *html, unsigned char *eof, and unsigned
char **end to element_handler_T.
2005-11-25 00:30:13 +00:00
Jonas Fonseca
94e6b2def5 Revert DOM stack member renames and fix compile errors 2005-11-25 00:16:22 +01:00
Jonas Fonseca
60269a7466 One missing sparse warning fix 2005-11-24 21:57:35 +01:00
Jonas Fonseca
fa2802385f Slightly adjust the verbose output of the sparse command 2005-11-24 21:54:49 +01:00
Witold Filipczyk
6afdbf608f Fix frame-related crash on www.sts.pl (bug 723)
Earlier doc_view was freed in src/document/renderer.c line 455
and used later by load_additional_file.
2005-11-24 16:42:03 +01:00
Jonas Fonseca
5dffe2e8ac Fix various sparse warnings
Mostly non-ANSI function declarations, using 0 as NULL and inline
function prototypes. Also removed unused S_HTTP_100 network state
enum type, which text message contained unknown escape sequence: '\?'.
2005-11-24 15:38:47 +01:00
Jonas Fonseca
2dd2e10a28 Remove unused ditrm declaration 2005-11-24 14:24:14 +01:00
Jonas Fonseca
7c0b6809b9 HTML_NODE_INFO -> HTML_, HTML_NODE_INF2 -> HTM2_ 2005-11-24 13:32:04 +01:00
Jonas Fonseca
68d692724c Add rules to check all .c files with sparse
... and things ain't looking too good. Lots of warnings.
2005-11-24 13:24:19 +01:00
Russ Rowan
8399b2caf2 The site search prefix now checks for an actual URL (with the isurl sub).
Searching for multiple terms with the site specified is now possible.
2005-11-23 16:56:39 -05:00
Russ Rowan
638cce2d19 The URL checking now has its own subroutine. 2005-11-23 16:14:57 -05:00
Russ Rowan
917b310cdb Fixed the IP address detection in goto search. 2005-11-23 15:42:23 -05:00
Witold Filipczyk
583649e807 Try to fix HTTP gzip decoding
Sometimes gzip decoding causes garbage on screen. With this patch garbage
will go away. It inverts the logic. Now is simpler.
2005-11-15 22:23:27 +01:00
Jonas Fonseca
6815be6964 Document the infoBox() command 2005-11-15 17:40:38 +01:00
Jonas Fonseca
b42b098fd4 Remove unused root member of struct dom_renderer 2005-11-15 12:11:48 +01:00
Jonas Fonseca
acf2ec806b Remove empty lines in start of header files
A left over from the CVS Id removal. Also, for a few files, normalize the
order in which things are declared in headers.
2005-11-15 11:33:27 +01:00
Jonas Fonseca
41941c64d6 Improve the DOM stack structures comments 2005-11-15 11:21:01 +01:00
Jonas Fonseca
16481d7baa Move DOM exception enum to separate file
... and remove it from the dom_stack struct.
2005-11-15 11:01:11 +01:00
Jonas Fonseca
bccfbf8647 Rename DOM navigator -> stack
This is really a much more appropriate word since it never ended up being
more than just a stack. The rename also changes the symbol names to use the
much shorter "stack".
2005-11-15 10:43:52 +01:00
Jonas Fonseca
a0fb29bcd5 Fix typo introduced in cdd3f5d9739d... 2005-11-15 10:20:48 +01:00
Miciah Dashiel Butler Masters
cdd3f5d973 Modify the logic for confirm_submit to flow better. 2005-11-14 09:02:08 +00:00
Miciah Dashiel Butler Masters
683d73d89d Tighten scope for cached in ses_goto. 2005-11-14 08:53:03 +00:00
Miciah Dashiel Butler Masters
97ad0e0f21 Use ses_load in post_yes. 2005-11-14 08:51:09 +00:00
Miciah Dashiel Butler Masters
93d6d959a5 Factor new function ses_load out of ses_goto. 2005-11-14 08:46:17 +00:00
Miciah Dashiel Butler Masters
16c0afb56c Drop a superfluous assignment to confirm_submit in ses_goto. 2005-11-14 08:27:55 +00:00
Miciah Dashiel Butler Masters
5d39d90909 Add some whitespace in bad_punct. 2005-11-11 06:17:50 +00:00
Laurent MONIN
f7bc7c3497 Tidy up. 2005-11-10 15:42:35 +01:00
Laurent MONIN
2beadb8f6b html_focusable(): use mem_free_set(). 2005-11-10 15:38:52 +01:00
Laurent MONIN
29577cad31 html_focusable(): use a local variable to shorten lines. 2005-11-10 15:35:57 +01:00