Laurent MONIN
dab904cff5
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-17 01:19:17 +01:00
Laurent MONIN
3133db3474
Use elinks_ulongcat() instead of snprintf().
2006-01-17 01:18:45 +01:00
Jonas Fonseca
c7bdf62152
Remove unused fsp_info struct; use sizeof(*table); fix dir entry hiliting
2006-01-17 00:54:06 +01:00
Laurent MONIN
864745b55e
Make 8-bytes buffer more obvious.
2006-01-17 00:48:25 +01:00
Jonas Fonseca
28fbb9317b
Simplify URI string grapping; make dir listing more like FTP; use READ_SIZE
2006-01-17 00:40:27 +01:00
Laurent MONIN
a9907297b4
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-17 00:22:40 +01:00
Jonas Fonseca
54863e537f
Minor space cleanups; use pid_t; abort_connection() will close_socket()
2006-01-17 00:06:24 +01:00
Laurent MONIN
491654975d
Trim trailing whitespaces.
2006-01-16 23:51:02 +01:00
Laurent MONIN
8fe86eac0b
Typo fix.
2006-01-16 23:50:34 +01:00
Jonas Fonseca
bb12fbca37
Add protocol/common files ;)
2006-01-16 23:42:17 +01:00
Jonas Fonseca
0955086a6f
Move close_all_non_term_fd() shared by SMB and FSP to protocol/common
...
Stick a note near the OBJS sorting that it is there also to filter out
duplicates, which are now occuring with SMB and FSP compiled in.
2006-01-16 23:32:27 +01:00
Miciah Dashiel Butler Masters
466bb18be0
Move delayed_open to src/terminal/tab.c
...
The two copies of delayed_open in src/ecmascript/spidermonkey/window.c
and in src/ecmascript/see/window.c are identical, so move them
to src/terminal/tab.c and eliminate the duplication.
2006-01-16 19:28:03 +00:00
Miciah Dashiel Butler Masters
1f68492d57
Move delayed_goto_uri_frame to src/session/task.c
...
Until the last change in src/ecmascript/see/window.c, the two copies
of delayed_goto_uri_frame in src/ecmascript/spidermonkey/window.c and
in src/ecmascript/see/window.c were identical. That change applies to
both versions, so move the newer one to src/session/task.c and eliminate
the duplication. Also move struct delayed_open to src/session/session.h.
2006-01-16 19:18:33 +00:00
178c50cf40
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-16 16:18:52 +01:00
6cd9a11fdc
Use frame->name instead of target avoiding possible segfault.
2006-01-16 14:32:13 +01:00
b8126ea9de
Introduced ecmascript submodules
2006-01-16 14:14:14 +01:00
8782b01659
thisobj is for function object, self is for
...
object
2006-01-16 13:51:08 +01:00
04b253eef9
Make PHP 5 happy.
2006-01-16 11:45:17 +01:00
bb9b4437fa
- FSP protocol
2006-01-16 11:40:13 +01:00
Jonas Fonseca
1d52d67e50
Add get_dom_node_child() which searches for a node with given type
2006-01-16 07:11:02 +01:00
Jonas Fonseca
6c85c0f009
Add DOM configuration inspired module
...
It add support for normalizing a DOM document in various ways, such as
removing comments, converting CDATA section nodes to text nodes, cleanup
whitespace, etc.
Use it in the RSS renderer to sanitize the text to be rendered.
2006-01-16 05:12:34 +01:00
Jonas Fonseca
768f97c38e
Add get_dom_node_prev() which gets the previous sibling of a DOM node
2006-01-16 05:10:22 +01:00
Jonas Fonseca
4e6b05394d
ADD DOM_STACK_CODE_FREE_NODE so callbacks can remove nodes when popping
2006-01-16 05:09:45 +01:00
Jonas Fonseca
eecc22751d
Use dom_stack_code enum for dom_stack_callback_T
2006-01-16 00:55:58 +01:00
Jonas Fonseca
4a2cde1c00
Introduce dom_stack_code enum and use it for push_dom_node()
2006-01-16 00:40:51 +01:00
Jonas Fonseca
6deb090b48
Blast some more .vimrc files which for some strange reason was uncommitable
2006-01-15 19:14:10 +01:00
Jonas Fonseca
2748d043f9
Autogenerate .vimrc files and put the master in config/vimrc
...
This changes the init target to be idempotent: most importantly it will now
never overwrite a Makefile if it exists. Additionally 'make init' will
generate the .vimrc files. Yay, no more stupid 'added fairies' commits! ;)
2006-01-15 18:38:58 +01:00
Laurent MONIN
c1305b3e5b
#define filenames.
2006-01-15 09:56:19 +01:00
Jonas Fonseca
53dea9c89e
Change the Guile hooks file name from internal-hooks.scm to hooks.scm
2006-01-14 22:36:23 +01:00
Jonas Fonseca
082031c10c
Fix SGML parser test program
2006-01-14 12:44:06 +01:00
Jonas Fonseca
c8aa6c2360
Move struct sgml_parsing_state near the parsing state managing
2006-01-14 12:11:35 +01:00
Jonas Fonseca
e70b779366
Add code member to struct sgml_parser and simplify parsing state setup
...
parse_sgml() now just pushes a text node on the parsing state and the push
handler will now call parse_sgml_plain() and save the return code in
parser->code so parse_sgml() can return it. Much simpler.
2006-01-14 12:09:17 +01:00
Jonas Fonseca
b9316b3a9c
Fix a few possible leaks
2006-01-14 12:06:10 +01:00
Jonas Fonseca
0950996dd8
Change parse_sgml() to take buf+bufsize instead of DOM string
2006-01-14 11:32:11 +01:00
Jonas Fonseca
0c866fd8ae
Merge with git+ssh://pasky/srv/git/elinks.git
2006-01-14 11:01:28 +01:00
Jonas Fonseca
5d38e99465
Sort Makefile conditionals
2006-01-14 10:41:58 +01:00
Jonas Fonseca
af564bb101
Fix typo
2006-01-14 08:24:11 +01:00
Jonas Fonseca
aecfb28711
Cleanup SGML info backends #includes and description
2006-01-14 08:07:00 +01:00
Laurent MONIN
b7b33bae9b
Fix a memleak that may occur on systems without alloca(), backport from
...
gettext 0.14.5.
2006-01-13 13:58:13 +01:00
Laurent MONIN
f7e435fcf3
Upgrade config.charset to latest version from gnu gettext.
2006-01-13 13:22:09 +01:00
Laurent MONIN
5685221512
Trim trailing whitespaces.
2006-01-13 00:11:39 +01:00
Laurent MONIN
768a962077
Add a comment about CONFIG_TCP_INTERLINK.
2006-01-13 00:10:06 +01:00
Laurent MONIN
bdc59d5ac4
Store lib.o name in a variable named LIB_O_NAME.
2006-01-12 19:06:50 +01:00
Laurent MONIN
7cc17f7dce
Cosmetic change.
2006-01-12 18:44:26 +01:00
Laurent MONIN
fd39e595a3
CONFIG_SEE -> CONFIG_ECMASCRIPT_SEE.
2006-01-12 17:33:33 +01:00
Laurent MONIN
2965be7721
There is no SEE scripting anymore so fix that conditionnal.
2006-01-12 17:23:05 +01:00
witekfl
cbb1c5ea23
Fixes some bugs related with SEE
2006-01-12 15:21:32 +01:00
Jonas Fonseca
3e202cd2ef
Include osdep/stat.h to get S_* macros
2006-01-12 03:26:58 +01:00
witekfl
0fae27fc27
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-11 20:40:57 +01:00
witekfl
80b0607167
Prevent flooding. Similar to rate_limit. What is the origin of "flood" is
...
unknown to me.
2006-01-11 20:40:22 +01:00
Laurent MONIN
3f9bb0d7f9
CONFIG_BEOS -> CONFIG_OS_BEOS
2006-01-11 20:12:59 +01:00
Laurent MONIN
202965d338
CONFIG_WIN32 -> CONFIG_OS_WIN32
2006-01-11 20:10:27 +01:00
Laurent MONIN
86f5f2cf48
CONFIG_UNIX -> CONFIG_OS_UNIX
2006-01-11 20:10:27 +01:00
Laurent MONIN
9eafa94fd9
CONFIG_RISCOS -> CONFIG_OS_RISCOS
2006-01-11 20:10:26 +01:00
Laurent MONIN
b6ccfc0e07
CONFIG_OS2 -> CONFIG_OS_OS2
2006-01-11 20:10:26 +01:00
Laurent MONIN
a9b8abb70c
2006-01-11 14:14:11 +01:00
Laurent MONIN
52537b6733
2006-01-11 14:10:58 +01:00
Laurent MONIN
76751d1935
2006-01-11 14:10:51 +01:00
Laurent MONIN
5805586f0f
2006-01-11 14:10:41 +01:00
Laurent MONIN
4b2b5798ab
2006-01-11 14:07:17 +01:00
Laurent MONIN
f7a2dfc12a
CONFIG_LUA -> CONFIG_SCRIPTING_LUA
2006-01-11 14:06:13 +01:00
Laurent MONIN
043e6aa4e7
More white lines.
2006-01-11 13:45:09 +01:00
witekfl
6a9ea02f3a
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-11 13:20:38 +01:00
witekfl
179fdf2bb1
Global open() and alert(). Both ECMAScript engines has similar state.
...
Both doesn't work with my bank account :(
2006-01-11 13:19:51 +01:00
Jonas Fonseca
2d80258f72
Mark doc'd headers with: /* API Doc :: <api-name> */
2006-01-11 11:03:59 +01:00
witekfl
c2e9448f49
Fixed focus() in SEE ecmascript.
2006-01-11 09:17:17 +01:00
Jonas Fonseca
1d2a6e4d1b
Introduce CONFIG_ECMASCRIPT_SMJS used for Spidermonkey document scripting
...
It makes it possible to build with SEE document scripting and Spidermonkey
browser scripting.
2006-01-11 02:21:53 +01:00
Jonas Fonseca
d160a9993e
Merge with git+ssh://pasky/srv/git/elinks.git
2006-01-11 01:59:04 +01:00
Jonas Fonseca
4b132e0f63
A few compile fixes
...
You should _always_ #include "elinks.h" before other ELinks header files,
to take care of CONFIG_DEBUG. Drop unused variable.
2006-01-11 01:57:03 +01:00
Jonas Fonseca
ccc6527bba
Fix smjs scripting #ifdefs to use CONFIG_SM_SCRIPTING
2006-01-11 01:55:24 +01:00
Laurent MONIN
3efe402722
Complete the list of S_I* macros.
2006-01-10 23:59:14 +01:00
Laurent MONIN
b8e64a5ee0
Simplify secure_open() call, make it a wrapper around secure_open_umask().
2006-01-10 23:49:35 +01:00
Laurent MONIN
151bcbd3a2
Prefer S_I?USR and S_IRWXU over obsolete S_IREAD, S_IWRITE, S_IEXEC.
2006-01-10 23:40:39 +01:00
Laurent MONIN
88de36b8d2
Use mode_t and mode macros everywhere.
2006-01-10 23:36:06 +01:00
Laurent MONIN
9b88da873a
Use mode_t and mode macros everywhere.
2006-01-10 23:35:22 +01:00
Jonas Fonseca
cd493ae7a8
Remove see.o
2006-01-10 20:38:43 +01:00
witekfl
d8592e4f99
Alternative experimental ECMAScript engine.
2006-01-10 19:17:29 +01:00
Jonas Fonseca
d2e346436a
Hmm, seem b.delta decided not to become 0x03B4 like it should
2006-01-10 15:39:11 +01:00
Jonas Fonseca
b673e64e10
As a stop gap measure avoid using NULL entry->nonce and realms
...
Reported by xmath. Obviously needs to be looked into.
2006-01-10 15:35:15 +01:00
Jonas Fonseca
63d754f85b
Convert the RSS title string
2006-01-09 19:14:28 +01:00
Jonas Fonseca
9877579c63
This years batch of Gopher fixes
...
Two crash fixes, and really make the directory 'view' the default.
2006-01-09 15:13:44 +01:00
Jonas Fonseca
dd2516f597
Oops, someone added stuff he wuz not s'posed to
2006-01-09 14:11:29 +01:00
Jonas Fonseca
620730e642
Document the DOM scanner
2006-01-09 14:01:48 +01:00
Jonas Fonseca
3b166b0633
Document the DOM stack
2006-01-09 12:44:57 +01:00
Jonas Fonseca
938c8a80b4
Support more implicit markup of source files
2006-01-09 11:01:36 +01:00
Jonas Fonseca
4dd9db446b
init_html_parser_state(): Drop local html_element variable
2006-01-09 02:56:44 +01:00
Jonas Fonseca
20bd19e4c5
The RSS document title to channel->title
2006-01-09 02:18:57 +01:00
Kalle Olavi Niemitalo
7c80c67759
Don't include <sys/param.h> in util/math for MAX/MIN
...
<sys/param.h> includes <linux/param.h>, which includes <asm/param.h>, which
includes <asm-i486/param.h>, which includes <linux/config.h>, which
includes <linux/autoconf.h>, which includes <asm-i486/autoconf.h>, which
undefines CONFIG_IPV6.
2006-01-09 02:09:59 +01:00
Jonas Fonseca
5339525f1d
Oops, kill_html_stack_top() -> pop_html_element()
2006-01-09 01:40:16 +01:00
Jonas Fonseca
fe10af364d
Introduce pop_html_element(); wraps kill_html_stack_item(..., html_top)
2006-01-09 01:29:40 +01:00
Jonas Fonseca
94fd9303f3
Introduce html_bottom; similar to html_top
2006-01-09 01:24:54 +01:00
Jonas Fonseca
27283098f4
Clearify code a little
2006-01-09 01:24:38 +01:00
Jonas Fonseca
5808b4ae0c
Make html_top have a pointer type; use it to declare format and par_format
2006-01-09 01:22:33 +01:00
Jonas Fonseca
db11b6452f
Fix a typo and a ref:[]
2006-01-09 01:20:03 +01:00
Jonas Fonseca
5b818b20ba
Use the new asciidoc code markup to document the DOM sgml parser
2006-01-08 23:36:07 +01:00
Laurent MONIN
8fe7eb0357
check_uri_file(): use strcspn().
2006-01-08 19:06:46 +01:00
Miciah Dashiel Butler Masters
5525339901
Fix add_document_to_string to add all chars in a line, not just the first
...
Revision 1.82 of src/scripting/lua/core.c and revision 1.42
of src/viewer/dump/dump.c (2 years, 2 months ago), which moved
add_document_to_string from the former to the latter, introduced
a logic error: the local variable pos was set in the outer loop,
which iterates thru the lines in the document, whereas it should be
(and had been) set in the inner loop, which iterates thru the columns.
This brings us all the way back to a working current_document_formatted
for Lua scripts.
2006-01-08 07:43:44 +00:00
Miciah Dashiel Butler Masters
38fe0f7292
Fix add_document_to_string to actually add stuff
...
Revision 1.147 (14 months, 2 weeks ago) broke the logic so that only
frame characters were added. This fixes that change, getting us halfway
back to a working current_document_formatted function for Lua.
2006-01-08 07:34:59 +00:00
Jonas Fonseca
bc55cd55cb
Add the basic support for rendering RSS documents
...
It is very simple for now, so it only displays headlines and doesn't
support a whole lot of RSS flavours.
2006-01-08 03:44:23 +01:00
Jonas Fonseca
2f9c406ef1
Introduce add_to_dom_string() and turn init_dom_string() into its user
2006-01-08 03:40:54 +01:00