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

773 Commits

Author SHA1 Message Date
Jonas Fonseca
9c2c6c782e Do a much needed update of the man pages 2006-01-10 14:12:45 +01:00
Jonas Fonseca
da9c29b490 Fix parsing by filtering the header outputed by ELinks
Also improve matching of option 'titles'.
2006-01-10 14:12:20 +01:00
Jonas Fonseca
065b8f405a Drop empty lines from option descriptions; doc/tools/help2doc don't like em 2006-01-10 14:12:06 +01:00
Jonas Fonseca
d061c554cf Drop useless comment block now that CVS Id tags are gone
... also drop comment about hacking.txt being extended gradually. AsciiDoc
burps on it and it really is kind of a boot message.
2006-01-10 14:11:52 +01:00
Jonas Fonseca
fa23a65b81 Add support for recursively running all tests 2006-01-10 14:10:08 +01:00
Jonas Fonseca
d048bb4888 Make a test-ftp-parser test script and remove the 'built-in' one 2006-01-10 14:09:49 +01:00
Jonas Fonseca
9debe3b3ae Move the 'make test' handling to Makefile.lib
The test rule is defined when TEST_PROGS is defined. Users should also set
TESTDEPS to get the correct object files linked in.
2006-01-10 14:06:17 +01:00
Jonas Fonseca
b52baed88f Move src/dom/test/libtest test/libtest.sh, put path to it in TEST_LIB 2006-01-10 14:05:58 +01:00
Miciah Dashiel Butler Masters
d4cceb5f0e Check for hooks.js before trying to load it.
Check file_exists(path) before calling smjs_do_file(path)
in smjs_load_hooks to fix an error message when there is no hooks.js,
reported by zas.
2006-01-10 14:03:32 +01:00
Laurent MONIN
9d287c24ae Add missing b flag to fopen() call. 2006-01-10 14:01:46 +01:00
Jonas Fonseca
6e24450bdf Improve (or rather fix) how document types are matched in the DOM renderer 2006-01-10 14:01:22 +01:00
Jonas Fonseca
9e7d920663 Use the simpler strcasecmp() instead of strcaselcmp() 2006-01-10 14:01:14 +01:00
Jonas Fonseca
b01c1a6361 Also highlight HTML if the MIME type is application/xhtml+xml 2006-01-10 14:01:03 +01:00
Laurent MONIN
550532c5f9 French translation was updated. 2006-01-10 14:00:32 +01:00
Jonas Fonseca
dabe0816fb Fix more problems when $(srcdir) is empty
Thanks to Kalle Olavi Niemitalo and Adam Golebiowski.
2006-01-10 14:00:11 +01:00
Jonas Fonseca
f34068676e 'ELinks now' becomes 'ELinks (Elated)' 2006-01-10 13:57:07 +01:00
Miciah Dashiel Butler Masters
637fc46281 Change the keyboard accelerator for the cookie browser's Clear button
from C to L for great consistency.
2006-01-10 13:55:35 +01:00
Jonas Fonseca
c808063946 Fix typo 2006-01-09 16:50:27 +01:00
Jonas Fonseca
d0745cceda Fix po/Makefile w.r.t. the new value of $(srcdir) when srcdir == buildir 2006-01-01 17:22:39 +01:00
Jonas Fonseca
6267716766 elinks-0.11.0.GIT 2006-01-01 00:37:28 +01:00
Jonas Fonseca
06ce0f5ee6 elinks-0.11.0 2006-01-01 00:00:05 +01:00
Jonas Fonseca
fbff2505f3 Mention Miciahs spiffy SMJS scripting interface 2005-12-31 23:44:32 +01:00
Jonas Fonseca
6b62e0cb77 Declare struct sgml_parser_state above struct sgml_parser
... and describe the info member.
2005-12-31 20:02:39 +01:00
Jonas Fonseca
f0148c2ecf Keep struct sgml_parsing_state private to the parser 2005-12-31 19:59:11 +01:00
Jonas Fonseca
4a766f350b Just for fun also parse <?xml-stylesheet attributes 2005-12-31 03:13:39 +01:00
Jonas Fonseca
b2295572fe Merge with git+ssh://pasky/srv/git/elinks.git 2005-12-31 02:48:57 +01:00
Jonas Fonseca
a578ed4667 Make the SGML scanner (optionally) keep track of line numbers
A new line is either \n or \f. The main logic for counting lines is in
skip_sgml{,_chars,_space}. For the general case where line numbers are not
wanted the code tries to avoid the extra checks for newlines.

This will be useful for reporting errors when loading the XBEL file.
2005-12-31 02:46:56 +01:00
Russ Rowan
c3066a4076 bugmenot.com changed their format. Back to the old method of handling it. 2005-12-30 20:04:48 -05:00
Jonas Fonseca
b23beed031 Rename skip_comment() and skip_cdata_section() to conform to skip_sgml_*() 2005-12-31 02:00:09 +01:00
Jonas Fonseca
0891cda51e Introduce skip_sgml_space() that wraps scan_sgml(..., SGML_SCAN_WHITESPACE) 2005-12-31 01:57:54 +01:00
Jonas Fonseca
9264221635 Make init_dom_scanner() take the state arg and drop a macro 2005-12-31 01:55:38 +01:00
Jonas Fonseca
7489c134f7 Make non-terminated comments and cdata sections have 'the rest' as content 2005-12-31 01:47:57 +01:00
Jonas Fonseca
8f7f6abc16 Use skip_sgml_chars() in skip_comment() and skip_cdata_section() 2005-12-31 01:40:52 +01:00
Jonas Fonseca
4e10bcf772 Drop useless code for proc. instruction scanning 2005-12-31 01:18:49 +01:00
Jonas Fonseca
e8ff8bd5f0 Fix another off-by-one error similar to the SGML comment parsing 2005-12-31 01:14:52 +01:00
Jonas Fonseca
ab7ba39d42 Introduce skip_sgml_chars() to avoid usage of memchr() 2005-12-31 00:06:12 +01:00
Jonas Fonseca
14a3f9c0fd Disable dom-select building since it requires defining of DOM_STACK_TRACE 2005-12-31 00:05:49 +01:00
Jonas Fonseca
9a0bf83756 Add basic stuff for XBEL parsing/highlighting using the DOM engine 2005-12-30 22:19:32 +01:00
Jonas Fonseca
66248849cd Add an RSS test file 2005-12-30 22:18:22 +01:00
Jonas Fonseca
aa07b3edf4 Fix old (non) problem with using VERSION identifier by #undef'ing it first 2005-12-30 22:13:13 +01:00
Miciah Dashiel Butler Masters
9d713ff41d Write the bookmarks whether or not they are dirty if the backend has
changed since reading.
2005-12-30 21:08:50 +00:00
Jonas Fonseca
c0ece18042 Start showing RSS files in the plain view so it gets highlighted 2005-12-30 21:55:53 +01:00
Jonas Fonseca
65a114f4bc Sort the RSS elements, they are supposed to be binarily searchable 2005-12-30 21:46:44 +01:00
Jonas Fonseca
ad052c3985 Hey, hey Cripple Creek Fai^H^Herry 2005-12-30 21:19:46 +01:00
Jonas Fonseca
ff75d5086f Remove the DOM track tracer from the renderer 2005-12-30 13:08:42 +01:00
Miciah Dashiel Butler Masters
470da90699 Put documentation (doc/events.txt) and reality back into alignment
by changing goto_url_with_hook not to call goto_uri if get_hooked_uri
returns NULL, which it does if a hook returns "", which several hooks do.
2005-12-30 03:04:04 +00:00
Jonas Fonseca
73a91e6d8f Also allow 'gitweb tag elinks-0.11rc0' 2005-12-30 03:37:56 +01:00
Jonas Fonseca
41f1f5f9d3 Add a simple program for testing the DOM select code
It accepts --uri, --src and --selector args.
2005-12-30 03:33:48 +01:00
Jonas Fonseca
4f09ac99f7 Make it possible to identify the output of DOM stack tracers 2005-12-30 03:29:17 +01:00
Jonas Fonseca
0ddb5f2d18 Use the DOM stack tracer for getting a dump of active nodes 2005-12-30 03:02:59 +01:00