Jonas Fonseca
7f076a8832
Also compile in protocol/common when CGI is enabled
2006-01-18 21:50:43 +01:00
Miciah Dashiel Butler Masters
3b5724edd5
look_for_link: simplify string
...
Use stracpy(empty_string_or_(target_base)) instead of
null_or_stracpy(target_base) and then stracpy("") if that returns NULL.
2006-01-18 20:38:33 +00:00
Miciah Dashiel Butler Masters
958b0d308d
Re-introduce the stracpy in the correct place
...
See commit 836744ea84
and commit
bf3faa5c2b
.
2006-01-18 20:26:01 +00:00
witekfl
1d65718ace
When there is no frame with given name do goto_uri_frame using static
...
buffer.
2006-01-18 20:16:17 +01:00
witekfl
bf3faa5c2b
There is no reason to "stracpy" already allocated string.
2006-01-18 20:08:50 +01:00
witekfl
095e440270
Used protocol/common.h in CGI
2006-01-18 18:11:29 +01:00
Jonas Fonseca
b8230326ce
Merge with git+ssh://pasky/srv/git/elinks.git
2006-01-18 00:26:21 +01:00
2de1a840a6
I was wrong. self is function object, thisobj is peculiar object
2006-01-17 20:29:48 +01:00
Jonas Fonseca
34b12d21bd
Upgrade to use dom_stack_codes in the callbacks
2006-01-17 16:58:19 +01:00
Jonas Fonseca
2cd151c5c5
Add parse_dom_config() which converts a textual config list to flags
2006-01-17 16:55:10 +01:00
Jonas Fonseca
9e3ba8736f
Fix test program dependency on it's own .o by using a template
2006-01-17 16:53:15 +01:00
Jonas Fonseca
ed73a5c9b3
Make code2doc use the buildsystem echoing
2006-01-17 16:50:15 +01:00
Miciah Dashiel Butler Masters
836744ea84
js_window_open: Fix extra free that I just introduced
...
Assign deo->target a copy of target instead of target itself because
delayed_goto_uri_frame frees deo->target and SpiderMonkey owns target.
Reported by Jonas.
2006-01-17 03:15:56 +00:00
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
3cb9af2f41
French translation was updated.
2006-01-17 00:04:10 +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
Jonas Fonseca
20c9b6a941
Fix typo in the FSP conf title
2006-01-16 22:12:32 +01:00
Jonas Fonseca
9e592e2131
A few changes to improve configuration of FSP
...
- Use EL_ARG_DEPENDS(), the other way ended up in undefined symbols
errors with --enable-fsp and no fsplib.
- Also check for -lfsp in addition to -lfsplib.
- This could probably also use a --with-fsplib or something to specify the
path, had problems with that too, because fsplib-0.7 installed into
/usr/local, ...
2006-01-16 22:03:31 +01:00
Miciah Dashiel Butler Masters
eb747913da
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-01-16 19:28:25 +00: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
Jonas Fonseca
7df751ab59
Paste the first few lines of fsp.sf.net into the FSP description
2006-01-16 20:06:15 +01:00
Miciah Dashiel Butler Masters
1082c85bd0
Fix GITweb smartprefix blob, tree, and history commands.
2006-01-16 18:53:56 +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
5a3f77fbe2
Removed obsolete CGI script. From now there is native FSP support.
2006-01-16 14:16: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
a892c84601
Make it possible to build all-docs when $(builddir) != $(srcdir)
2006-01-16 00:21:05 +01:00
Jonas Fonseca
becf3b42ab
Create .vimrc files both during all and init
...
Then make init doesn't have to always be run by configure.
2006-01-15 22:23:39 +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
943f9d7185
Create .gitignore file when builddir != srcdir
...
... so that cg-status will not list files in the builddir when it is
embedded in the srcdir.
2006-01-15 18:49:44 +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