Laurent MONIN
286a6a09d8
Add a simple testcase for missing ; in meta refresh content attribute.
2007-09-14 11:56:55 +02:00
Laurent MONIN
ee503f6c00
Prevent internal errors when terminal width or height are very small
...
(1x1 was fatal).
2007-09-14 11:49:03 +02:00
Laurent MONIN
aefe2c0b68
Update french translation.
2007-09-14 10:39:07 +02:00
Laurent MONIN
e9e8639c8d
Improve display of version and features.
...
Wrap on spaces when features are sent to console using -version,
and let Info dialog do the job in interactive mode.
Insert newlines and remove parenthesis in -version and Info box display.
Backported from master branch.
2007-09-14 10:34:42 +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
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
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
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
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
Kalle Olavi Niemitalo
78f733c6c1
More doc comments about coordinates.
2007-08-29 09:57:18 +03:00
Jonas Fonseca
8376feb6b1
Fix protocol/test ignore rule for the uri-test program
2007-08-28 20:35:14 +02:00
Jonas Fonseca
bbd7c8354a
Move get_test_opt to util/test.h and use throughout test programs
2007-08-28 20:34:17 +02:00
Jonas Fonseca
c6a223c8dd
dom/test: properly test test option matches in get_test_opt
2007-08-28 20:22:29 +02:00
Jonas Fonseca
5d88ea78f9
dom/test: rename get_opt to get_test_opt to avoid namespace problems
2007-08-28 20:16:27 +02:00
Jonas Fonseca
0f53941fef
Introduce test library in util/test.h containing the die() function
...
Fix the die() function to exit with EXIT_FAILURE value as pointed
out by Kalle on elinks-dev in <87tzqkxhlp.fsf@Astalo.kon.iki.fi>.
2007-08-28 20:14:08 +02:00
Kalle Olavi Niemitalo
40afaae7d6
Doc comments about coordinate systems.
...
So that I may better understand Witek's patches.
2007-08-28 09:52:37 +03:00
Jonas Fonseca
5f18156708
Change protocol/test to use the shell-based test infrastructure
2007-08-10 13:30:28 +02:00
Jonas Fonseca
b3ca6a9e1f
Add rule to make (c)tags file
...
Also fix (e)TAGS rule to work when srcdir == builddir and
Remove the tag files during clean.
2007-08-10 10:26:14 +02:00
Witold Filipczyk
3b55e9a4b2
pl.po: Converted to UTF-8.
2007-08-09 16:51:08 +02:00
Jonas Fonseca
36f59cacd6
Ignore tags file
2007-08-08 14:25:38 +02:00
Jonas Fonseca
d083619988
Fix doxygen warning about list end marker
2007-08-08 14:24:55 +02:00
Jonas Fonseca
1079c95b9d
Integrate Doxygen better in the build system
...
This change:
- Adds a check for the doxygen program to configure.
- Moves the Doxyfile from src/Doxyfile to doc/Doxyfile.in.
- Generates a doc/Doxyfile from doc/Doxyfile.in inserting
an absolute path to the source directory, so that it
also works when builddir != srcdir.
- Adds `make api` rule for running doxygen; it depends on
api/doxygen file which is never created to force the rule
to always run.
2007-08-08 14:23:21 +02:00
Nerijus Baliunas
ee3eeab4e6
Fix misleading texts about elapsed/estimated time
2007-08-08 13:20:35 +02:00
Jonas Fonseca
4e710a3aa6
Doxygenate main header files of src/protocol/bittorrent
2007-08-08 13:20:26 +02:00
Jonas Fonseca
ab5e7f116b
Update hierbox comments and make them ready for Doxygen
...
Noticed by kon.
2007-08-08 13:18:53 +02:00
Jonas Fonseca
fd9f1f8f6d
Doxify bfu/style
...
Also fixes an old misleading comment noticed by kon.
2007-07-31 14:39:12 +02:00
Jonas Fonseca
b831ee64aa
Fix dom_node_attribute comment mentioning non-existant struct
...
Noticed by kon.
2007-07-31 14:37:41 +02:00
Kalle Olavi Niemitalo
dc2cac851d
itrm: Don't mention bug 776 which was already fixed.
2007-07-31 14:14:08 +03:00
Kalle Olavi Niemitalo
cc813e8541
Doxygen: minor changes in src/terminal/itrm.h
2007-07-31 14:12:28 +03:00
Kalle Olavi Niemitalo
870df797cf
Doxygen: Escape some HTML tags.
2007-07-31 13:48:20 +03:00