Laurent MONIN
e914ca85fe
Use explicit names for variables in format_html_part().
...
llm -> saved_last_link_to_move
ltm -> saved_last_tag_to_move
ef -> saved_empty_format
lm -> saved_margin
2007-09-14 10:10:09 +02:00
Laurent MONIN
419cd4775e
format_html_part(): group int variables declarations
2007-09-14 10:07:32 +02:00
Laurent MONIN
4abce8e363
format_html_part(): save and restore renderer_context.last_tag_for_newline too.
2007-09-14 09:59:34 +02:00
Laurent MONIN
a6f3323a4b
Use explicit names for variables in format_html_part().
...
llm -> saved_last_link_to_move
ltm -> saved_last_tag_to_move
ef -> saved_empty_format
lm -> saved_margin
2007-09-14 09:55:43 +02:00
Laurent MONIN
75d47ef957
Drop useless goto/label.
2007-09-14 09:41:51 +02:00
Laurent MONIN
73b1f43468
Drop useless goto/label.
2007-09-14 09:26:39 +02:00
Laurent MONIN
6e89b39ed0
Fix get_opt_bool() call and finish backport of process_head() split.
2007-09-12 23:51:43 +02:00
Miciah Dashiel Butler Masters
bd0a6f6f7d
Reflow check_head_for_cache_control
2007-09-12 23:41:37 +02:00
Miciah Dashiel Butler Masters
deb74bd1bd
Factor check_head_for_cache_control out of process_head
2007-09-12 23:41:17 +02:00
Miciah Dashiel Butler Masters
4b297a5b03
Factor check_head_for_refresh out of process_head
2007-09-12 23:38:41 +02:00
Miciah Dashiel Butler Masters
23262b3145
Fix process_head to check for cache-control information even if no refresh
...
Previously, process_head immediately returned if there was no refresh, never giving the cache-control check further down a chance to run.
Also add new tests:
nocache.html
refresh+nocache.html
2007-09-12 23:33:40 +02:00
Laurent MONIN
5b28e89026
Extend Use of LWS() macro to parse_old_meta_refresh().
2007-09-11 17:57:19 +02:00
Laurent MONIN
41ece7a758
Make meta refresh content attribute parsing more tolerant.
...
Simply search for 'url' marker ignoring anything
before it.
ELinks is now able to follow incorrectly written
meta refresh content attribute with missing ; before
url= parameter.
As an example, try http://akkada.tivi.net.pl/
2007-09-11 17:55:10 +02:00
Jonas Fonseca
8dbd38eded
NNTP: Improve listing of articles for groups
...
It now uses ordered list with the message number as the list item
number. Only the message subject and from field are shown.
2007-09-11 17:01:06 +02:00
Jonas Fonseca
0b0222d64f
NNTP: Add support for handling RFC2047 encoded words
...
Code adapted from git's builtin-mailinfo.c file.
2007-09-11 16:59:56 +02:00
Laurent MONIN
78eae9cbf3
French translation was updated.
2007-09-11 15:01:13 +02:00
Jonas Fonseca
8393dc901e
Bug 744: Make removal of double slashes more protocol specific
...
Add a boolean protocol flag which says whether "//" in the path
part of an URI can be safely substituted with "/". Be conservative
and enable it only for file://, ftp:// and nntp[s]://. Other
can be turned on later, if needed.
Generalizes the fix from 58b3b1e752
.
2007-09-11 14:14:17 +02:00
Jonas Fonseca
5d5f7fc078
NNTP: Fix group listing links having bad URL syntax due to double slashes
2007-09-11 13:50:17 +02:00
Jonas Fonseca
1961a0ca50
NNTP: HTML escape header field values
2007-09-11 13:21:00 +02:00
Laurent MONIN
d650a434b2
Extend Use of LWS() macro to parse_old_meta_refresh().
2007-09-11 09:30:26 +02:00
Kalle Olavi Niemitalo
db115bfece
Add tests for cwd-relative file URIs.
...
Test 6 currently fails.
2007-09-09 20:06:25 +03:00
Jonas Fonseca
0240c469b7
Merge branch 'elinks-0.12'
...
Conflicts:
src/document/dom/renderer.c
2007-09-09 18:25:49 +02:00
Jonas Fonseca
58b3b1e752
Reinstate "canonicalization" of path names for file URIs
...
This reverts commit 4f0aaa166e
and insert check for the "//" -> "/" change only to occur for
file:// URIs. This fixes the recent reports on broken handling
of relative file URIs starting with "..".
2007-09-09 18:17:25 +02:00
Laurent MONIN
24d88d2f3e
Add a simple testcase for missing ; in meta refresh content attribute.
2007-09-08 21:06:28 +02:00
Laurent MONIN
4a6a6909ea
Make meta refresh content attribute parsing more tolerant.
...
Simply search for 'url' marker ignoring anything
before it.
ELinks is now able to follow incorrectly written
meta refresh content attribute with missing ; before
url= parameter.
As an example, try http://akkada.tivi.net.pl/
2007-09-08 21:03:22 +02:00
Miciah Dashiel Butler Masters
dbacc9ead2
Support document refresh in frames
...
Introduce reload_frame, which takes a frame @name argument in addition to the arguments that reload takes.
2007-09-06 20:47:17 +00:00
Miciah Dashiel Butler Masters
2676fcc2cd
do_document_refresh: take document_view instead of session
2007-09-06 19:14:35 +00:00
Miciah Dashiel Butler Masters
66d62ca11b
start_document_refresh: take document_view instead of session
2007-09-06 19:13:25 +00:00
Miciah Dashiel Butler Masters
a1a8696cce
Introduce start_document_refreshes
...
start_document_refreshes performs the NULL-pointer checks that previously all callers to start_document_refresh must perform and then calls start_document_refresh.
2007-09-06 18:52:23 +00:00
Laurent MONIN
34212320fa
French translation was updated.
2007-09-05 17:19:52 +02:00
Miciah Dashiel Butler Masters
a8f28f21c9
Reflow check_head_for_cache_control
2007-09-04 12:13:20 +00:00
Miciah Dashiel Butler Masters
2a2aad15f9
Factor check_head_for_cache_control out of process_head
2007-09-04 12:11:37 +00:00
Miciah Dashiel Butler Masters
fc12376bf5
Factor check_head_for_refresh out of process_head
2007-09-04 12:09:19 +00:00
Miciah Dashiel Butler Masters
2d0180d1e7
Fix process_head to check for cache-control information even if no refresh
...
Previously, process_head immediately returned if there was no refresh, never giving the cache-control check further down a chance to run.
Also add new tests:
nocache.html
refresh+nocache.html
2007-09-04 12:08:08 +00:00
Miciah Dashiel Butler Masters
34c9389e9b
Display cache mode in the cache manager's info box for cache entries
2007-09-04 11:54:18 +00:00
Kalle Olavi Niemitalo
cdf2d8181c
More missing va_ends.
...
Somehow, these slipped from commit
af14d00d17
yesterday.
2007-09-04 10:26:57 +03:00
Kalle Olavi Niemitalo
16d4e81f1b
Merge commit 'pasky.or.cz/elinks-0.12' into elinks-0.12
2007-09-03 21:04:40 +03:00
Kalle Olavi Niemitalo
c44739e039
Refer to bug 96 in a comment.
2007-09-03 21:02:58 +03:00
Kalle Olavi Niemitalo
a59f44c4b5
Document Unicode characters for ACS_S[1379].
2007-09-03 21:01:49 +03:00
Kalle Olavi Niemitalo
af14d00d17
Add missing va_ends.
...
I'm not sure they're needed anywhere nowadays, but still.
2007-09-03 21:01:11 +03:00
Witold Filipczyk
7f49eda39e
DOM renderer: off by one error.
2007-09-02 20:44:36 +00:00
Miciah Dashiel Butler Masters
596b9b4d72
Fix compiler warning
...
Initialise @td to NULL in textarea_edit. Assert @td in done_textarea_data while we're at it.
2007-09-01 23:46:37 +00:00
Miciah Dashiel Butler Masters
e0f0112de9
Fix -dump with multicell characters
2007-09-01 17:04:58 +00:00
Miciah Dashiel Butler Masters
e1f0c10926
Drop unneeded #include "util/lists.h" from viewer/text/textarea.c
2007-09-01 12:55:02 +00:00
Miciah Dashiel Butler Masters
312a48a24a
Merge branch 'master' of ssh://pasky.or.cz/srv/git/elinks
2007-09-01 12:50:57 +00:00
Miciah Dashiel Butler Masters
14af901277
In free_textarea_data, set term->textarea_data to NULL
2007-09-01 12:49:02 +00:00
Miciah Dashiel Butler Masters
92abd48405
Drop EVENT_TEXTAREA, use EVENT_RESIZE instead
...
When returning from an external program, unblock_itrm_x in the slave process will send a resize event to the master process for the slave terminal. In handle_interlink_event, when we receive this resize event, we can check whether we need to call textarea_edit.
2007-09-01 12:46:02 +00:00
Miciah Dashiel Butler Masters
a66f6f8c90
Make the textarea_data member of struct terminal opaque
...
Move the definition of struct textarea_data back to src/viewer/text/textarea.c.
2007-09-01 12:02:21 +00:00
Miciah Dashiel Butler Masters
ac230ebc08
Add free_textarea_data wrapper for done_textarea_data and use in destroy_terminal
...
Unexport done_textarea_data.
2007-09-01 11:58:29 +00:00
Miciah Dashiel Butler Masters
6469344727
Export done_textarea_data and call in destroy_terminal to prevent leak
...
Previously, if a terminal crashed with an external editor open, the struct textarea_data would never be freed
2007-09-01 09:45:56 +00:00