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

3025 Commits

Author SHA1 Message Date
Miciah Dashiel Butler Masters
be043561d1 Factor check_head_for_refresh out of process_head 2007-09-13 20:50:34 +02:00
Miciah Dashiel Butler Masters
d74dfe97b5 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-13 20:50:28 +02:00
Laurent MONIN
c01c475ede Extend Use of LWS() macro to parse_old_meta_refresh(). 2007-09-11 19:06:54 +02:00
Laurent MONIN
7f909680c4 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 19:06:46 +02:00
Jonas Fonseca
ee56c6db16 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 19:06:41 +02:00
Jonas Fonseca
aff2e738c3 NNTP: Add support for handling RFC2047 encoded words
Code adapted from git's builtin-mailinfo.c file.
2007-09-11 19:06:34 +02:00
Laurent MONIN
0649d80882 French translation was updated. 2007-09-11 19:06:28 +02:00
Jonas Fonseca
ee159e2bf9 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 19:06:20 +02:00
Jonas Fonseca
fad6cd9ba2 NNTP: Fix group listing links having bad URL syntax due to double slashes 2007-09-11 19:06:14 +02:00
Jonas Fonseca
b686ac11d2 NNTP: HTML escape header field values 2007-09-11 19:06:09 +02:00
Kalle Olavi Niemitalo
9831a2c805 Add tests for cwd-relative file URIs.
Test 6 currently fails.
2007-09-11 18:36:13 +02:00
Jonas Fonseca
707ddc3142 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-11 18:36:07 +02:00
Witold Filipczyk
2def774e6c Revert "Fixed the issue with ../ reported by me 29 Aug 2007 on elinks-dev."
This reverts commit 39677b88b5.
2007-09-11 18:35:49 +02:00
Witold Filipczyk
39677b88b5 Fixed the issue with ../ reported by me 29 Aug 2007 on elinks-dev. 2007-09-09 14:29:38 +02:00
Witold Filipczyk
d9094c1866 The compilation fix in the debug mode. 2007-09-09 13:28:47 +02:00
Witold Filipczyk
b1162b743e mailcap, make test: Compilation fix. 2007-09-09 13:17:45 +02:00
Kalle Olavi Niemitalo
c57cd5c343 More missing va_ends.
Somehow, these slipped from commit
af14d00d17 yesterday.
2007-09-04 15:03:17 +02:00
Kalle Olavi Niemitalo
58dc3da469 Refer to bug 96 in a comment. 2007-09-04 08:37:53 +02:00
Kalle Olavi Niemitalo
bf9936a78f Document Unicode characters for ACS_S[1379]. 2007-09-04 08:37:15 +02:00
Kalle Olavi Niemitalo
ceeb0afd96 Add missing va_ends.
I'm not sure they're needed anywhere nowadays, but still.
2007-09-04 08:36:52 +02:00
Kalle Olavi Niemitalo
e6a3008117 More doc comments about coordinates. 2007-09-04 08:35:34 +02:00
Witold Filipczyk
ff7dfd74bc bug 638: Proper handling of mailcap.
Mailcap handlers work both for (master/slave and XWindow/console)
terminals. This is done by setting and unsetting the DISPLAY
environment variable.
2007-09-02 17:34:54 +02:00
Witold Filipczyk
f3d9f647f0 Revert "Semaphores: The code taken from "UNIX Network Programming""
This reverts commit 9729ab5a58.
2007-09-02 17:00:34 +02:00
Witold Filipczyk
9680714765 Revert "ipc: Added two semaphores and a shared memory block."
This reverts commit 199232b501.
2007-09-02 17:00:15 +02:00
Witold Filipczyk
0ee52be73f Revert "mime: Pass @term to the get_mime_handler."
This reverts commit 6913f1b4f7.
2007-09-02 16:59:05 +02:00
Witold Filipczyk
6b059d3d36 Revert "Mailcap on slave terminals seems to work right."
This reverts commit f45d4c1782.
2007-09-02 16:58:36 +02:00
Witold Filipczyk
69d7208ade Revert "IPC: Check headers."
This reverts commit 4a3559e0b2.
2007-09-02 16:58:07 +02:00
Witold Filipczyk
1424002087 Revert "Compilation fix, a bit ugly."
This reverts commit c246b67ff9.
2007-09-02 16:57:42 +02:00
Witold Filipczyk
5e145576b0 Revert "IPC: simplification. Only one semaphore is required."
This reverts commit 4cf3130b53.
2007-09-02 16:57:20 +02:00
Witold Filipczyk
0c406b48a1 Revert "Avoid races."
This reverts commit 40d3102bc7.
2007-09-02 16:56:55 +02:00
Witold Filipczyk
1b36682244 Revert "mailcap on slave: Fixed memleak."
This reverts commit 8e7daa1a29.
2007-09-02 16:56:36 +02:00
Witold Filipczyk
cdcbdd720d Revert "IPC: added the prefix 'my' to the semaphore functions."
This reverts commit e6e8b3407d.
2007-09-02 16:56:10 +02:00
Witold Filipczyk
2d69e2e625 Forget forms when reloading (bug 620 ?). 2007-08-30 19:36:48 +02:00
Jonas Fonseca
940196b131 Fix protocol/test ignore rule for the uri-test program 2007-08-29 18:48:13 +02:00
Jonas Fonseca
5c9983476e Move get_test_opt to util/test.h and use throughout test programs 2007-08-29 18:48:06 +02:00
Jonas Fonseca
fa1108760a dom/test: properly test test option matches in get_test_opt 2007-08-29 18:48:00 +02:00
Jonas Fonseca
2d03a7d74f dom/test: rename get_opt to get_test_opt to avoid namespace problems 2007-08-29 18:47:53 +02:00
Jonas Fonseca
2e50450eb8 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-29 18:47:43 +02:00
Kalle Olavi Niemitalo
996e52ae84 Doc comments about coordinate systems.
So that I may better understand Witek's patches.
2007-08-28 20:38:37 +02:00
Witold Filipczyk
7db2f8c629 move-link-up-line and others: changed mode to NAVIGATE_CURSOR_ROUTING when
there is no link.
2007-08-27 21:14:56 +02:00
Witold Filipczyk
12cb69d617 bug 620: This code didn't fix the bug. 2007-08-25 19:04:48 +02:00
Witold Filipczyk
5ee1d3b2b3 New action: move-cursor-line-start.
It moves cursor to the start of the line.
2007-08-23 20:05:07 +02:00
Witold Filipczyk
848852b75f move-link-prev(next)-line: Typo with cut-n-paste. s/line/last/. 2007-08-20 09:38:38 +02:00
Witold Filipczyk
c646c860cd move-link-up-line: segfault when cursor was below last line. 2007-08-20 09:01:49 +02:00
Witold Filipczyk
052f7a93bb move-link-prev-line: Really fixed. 2007-08-19 20:46:32 +02:00
Witold Filipczyk
bb0166279f move-link-prev-line .. move-link-down-line: Fixed. 2007-08-19 13:58:30 +02:00
Witold Filipczyk
3555f68059 Fixed the issue with multiline links. 2007-08-14 21:16:16 +02:00
Witold Filipczyk
888ba87516 Avoid segfault.
Go to the page with a few lines. Follow a link to a page with more lines.
Move cursor down, do not stay on a link.
Go back and do move-link-prev-line. This caused a segmentation fault.
2007-08-14 20:43:22 +02:00
Witold Filipczyk
14b37d0362 move-link-down-line, move-link-prev-line, etc.:
Change mode to NAVIGATE_LINKWISE to preserve the link position when
going back.
2007-08-14 19:56:02 +02:00
Witold Filipczyk
2045574edc actions: Fixed moving in frames. 2007-08-12 12:49:19 +02:00