Miciah Dashiel Butler Masters
683c8722d2
Merge do_html_script into html_script.
2005-11-26 01:23:07 +00: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
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
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
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
Laurent MONIN
24a8ff7294
Tidy up, drop a goto.
2005-11-10 10:39:42 +01:00
Laurent MONIN
39015488d3
Optimize type of script matching.
2005-11-02 16:54:24 +01:00
Laurent MONIN
53590ee002
Attempt to match a wider range of types regarding detection of
...
javascript. Only text/javascript type was matched.
2005-11-02 10:38:24 +01:00
Jonas Fonseca
ffcee4532d
Make the build id thing work for out of tree builds
2005-11-01 23:19:50 +01:00
Miciah Dashiel Butler Masters
37d43ef7c6
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2005-11-01 19:32:31 +00:00
Laurent MONIN
b374d9f407
Options i18n debug code: accept > as ending char, it is used for tags.
2005-10-30 17:42:58 +01:00
Miciah Dashiel Butler Masters
8fb4fc437a
Redraw the title when the document changes it with ECMAScript.
2005-10-30 04:33:40 +00:00
Miciah Dashiel Butler Masters
4806005c21
Delete the socket file on the penultimate try in bind_to_af_unix,
...
restoring the behaviour that was inadvertently lost in CVS revision 1.48.
2005-10-30 04:23:04 +00:00
Miciah Dashiel Butler Masters
a7e0fa38cc
Re-arrange.
2005-10-30 04:16:19 +00:00
Miciah Dashiel Butler Masters
00b12197a5
Re-arrange.
2005-10-30 04:13:59 +00:00
Miciah Dashiel Butler Masters
9b6dd7f087
Re-arrange.
2005-10-30 04:13:12 +00:00
Miciah Dashiel Butler Masters
17827a5edf
Indent the new while loop.
2005-10-30 04:11:59 +00:00
Miciah Dashiel Butler Masters
dc7a7c6e1a
In bind_to_af_unix, convert the goto loop to a while loop.
2005-10-30 04:11:23 +00:00
Jonas Fonseca
aa07c4d848
Tidy up a bit
2005-10-26 22:39:12 +02:00
Jonas Fonseca
d7f002c8a1
Move code for the SEE object interface
2005-10-26 22:11:34 +02:00
Jonas Fonseca
a5d205c047
Add missing host variable and fix installation of charset.alias
...
Add variable expanded from @host@ and use $(host) instead of @host@
in the gettext Makefile.
Reported by zas.
2005-10-26 19:06:30 +02:00
Jonas Fonseca
9096886a67
@USE_INCLUDED_LIBINTL@ -> $(CONFIG_NLS), @GLIBC21@ -> $(GLIBC21)
...
Should remove all @Makefile.in@ variable traces except for @host@ also in
src/intl/gettext/Makefile (which zas will hopefully fix :).
2005-10-26 14:26:35 +02:00
Jonas Fonseca
e82de325a0
@USE_INCLUDED_LIBINTL@ -> CONFIG_NLS
2005-10-26 14:19:32 +02:00
Miciah Dashiel Butler Masters
811f458ef4
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2005-10-26 09:41:31 +00:00
Miciah Dashiel Butler Masters
c313b2877a
In change_hook_html, instead of redrawing the current tab,
...
set the resize flag on all tabs so that they will all be redrawn
to reflect the new setting.
2005-10-26 09:40:52 +00:00
Jonas Fonseca
1f69d4b931
Add support for navigator.preference() and navigator.savePreferences()
...
It required that the 'context' session was saved in see_ses (similarly to
the lua_ses variable)
Anyway, now you can use
var opt_value = navigator.preference("ui.window_title)
navigator.preference("ui.window_title", false)
navigator.savePreferences()
to get and set optinos + save the changes.
2005-10-25 19:13:33 +02:00
Jonas Fonseca
a317dd71fb
Print the invalid option value
2005-10-25 19:10:30 +02:00
Jonas Fonseca
7659f284ac
Try to comply to the client-side javascript interface and not our own
...
Renames the following things:
ELinks.write() -> alert() or navigator.alert()
ELinks.version -> navigator.appVersion
ELinks.home -> navigator.appHome
The last one is not defined by the client-side javascript interface.
2005-10-25 17:43:33 +02:00
Miciah Dashiel Butler Masters
dcbb9cf909
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2005-10-24 00:32:42 +00:00
Andrzej Zaborowski
4fe6e19dc6
Fix a memory-corruption bug in the line justification algorithm.
2005-10-24 00:30:36 +00:00