1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-20 00:15:31 +00:00
Commit Graph

3078 Commits

Author SHA1 Message Date
Kalle Olavi Niemitalo
c93cd94625 Remove unclearly licensed test files.
test/align.html: from www.czech-tv.cz
test/css/idnes_mail.html: apparently from idnes.cz
test/erreurs_en.htm: unclear origin
test/javascript_broken.html: presumably from www.hotjobs.com
test/poocs.net.html: presumably from poocs.net

I did not find in the source tree a licence to distribute any of these.
(cherry picked from commit 22975bb0ec)
2008-10-04 03:05:54 +03:00
Kalle Olavi Niemitalo
56cefb4911 test/optgroup.html is under GNU Free Documentation License
test/optgroup.html was added on 2004-04-17 with no comment about licensing.
I contacted the author via <http://iccl.fi/feedback.cgi?id=mail>, asking
for a licence.  The author noted that a developer of ELinks had originally
asked on the #debian.fi channel whether the file could be used, and he had
allowed it then.  That permission grant had not been recorded in the source
tree though, and it is not clear whether modification had been allowed.
Anyway, the author now explicitly grants us the GNU free documentation
licence on this file, and is willing to consider other licences.
(cherry picked from commit fe78a0249a)
2008-10-04 03:05:41 +03:00
Kalle Olavi Niemitalo
9e86956383 Remove gettext doc excerpt until the license is sorted out.
The Free Software Foundation has distributed the GNU gettext manual
under at least two different licenses (a brief copyleft and GNU FDL),
but neither of those seems compatible with the GPLv2 of ELinks.
(cherry picked from commit 9c1873a517)
2008-10-04 03:05:31 +03:00
Witold Filipczyk
685d674306 Another warning killed. 2007-11-03 15:00:13 +01:00
Witold Filipczyk
4bd5106745 Killed warning. 2007-11-03 14:55:08 +01:00
Witold Filipczyk
5c3adcadff bug 974: Fixed. 2007-11-03 14:43:45 +01:00
Witold Filipczyk
dfceeaf99b ecmascript: Do not initialize an ecmascript interpreter unnecessarily. 2007-10-26 17:46:34 +02:00
Witold Filipczyk
e9700c968b pl.po: s/Czasomierz/Stoper/ 2007-10-11 10:33:54 +02:00
Laurent MONIN
343702889b French translation was updated.
Timer -> chronomètre
Visualisateur -> visionneur
2007-10-10 18:24:52 +02:00
Laurent MONIN
7807bd7ff5 French translation was updated.
Visualisateur -> visionneur (?)
2007-10-10 18:24:42 +02:00
Witold Filipczyk
8b281e1404 Added function move_cursor_rel_count and used it
in move-link-left-line and others, so move-link-left-line ans others
do not use the keyboard prefix.
2007-10-07 16:10:26 +02:00
Witold Filipczyk
a76ecfb8ca Removed not existent function. Spotted by Kalle. 2007-10-07 15:50:08 +02:00
Kalle Olavi Niemitalo
e4f0efd923 Don't cast qsort comparison function pointers.
Instead, convert the element pointers inside the comparison functions.

The last argument of qsort() is supposed to be of type
int (*)(const void *, const void *).  Previously, comp_links() was
defined to take struct link * instead of const void *, and the type
mismatch was silenced by casting the function pointer to void *.
This was in principle not portable because:

(1) The different pointer types may have different representations.
    In a word-oriented machine, the const void * might include a byte
    selector while the struct link * might not.

(2) Casting a function pointer to a data pointer can lose bits in some
    memory models.  Apparently this does not occur in POSIX-conforming
    systems though, as dlsym() would fail if it did.

This commit also fixes hits_cmp() and compare_dir_entries(), which
had similar problems.  However, I'm leaving alias_compare() in
src/intl/gettext/localealias.c unchanged for now, so as not to diverge
from the GNU version.

I also checked the bsearch() calls but they were all okay, apart from
one that used the alias_compare() mentioned above.
2007-10-07 15:44:45 +02:00
Witold Filipczyk
7dd9ef674a This version of ELinks crashed on a normal chunked data.
This bug was introduced in commit b3845a7998.
2007-10-04 19:28:26 +02:00
Witold Filipczyk
5504699914 Polish translation was updated. 2007-10-03 15:39:18 +02:00
Laurent MONIN
e0b3e6468b French translation was updated. 2007-10-03 15:25:44 +02:00
Laurent MONIN
bc5279bc6b Resync .po files 2007-10-03 15:25:35 +02:00
Laurent MONIN
f8ee1842bb Make copyright info independent from translations.
This is an attempt to make it easier to update without
requiring to update all translations.
Copyright info is now set in setup.h using COPYRIGHT_STRING
2007-10-03 15:24:25 +02:00
Laurent MONIN
c013a0d130 ELINKS_HOMEPAGE -> ELINKS_WEBSITE_URL 2007-10-03 15:24:19 +02:00
Laurent MONIN
569eee285b Add an "Authors" entry to the Help menu.
It displays the ELinks website's authors page.
2007-10-03 15:24:14 +02:00
Witold Filipczyk
42bf898e7a go_back, get_validated_cache entry: Do not load a document from the network
when there is one in the cache.

Previously, when document.cache.revalidation_interval was >= 0,
the given interval elapsed and the network was down
an error occured and one could not go back. This was very annoying.
2007-09-27 19:58:03 +02:00
Miciah Dashiel Butler Masters
c3501b2e62 Really retry forever when connection.retries = 0
This feature has been broken since zas backported it from Links 0.99pre3 2003-04-20.
2007-09-27 18:09:27 +02:00
Kalle Olavi Niemitalo
390672907b NEWS: mention bug 972
Bug 972 was fixed in this commit, and reported afterwards:

    commit 175e26c4ea
    Author: Kalle Olavi Niemitalo <kon@iki.fi>
    Date:   Fri Jul 20 17:57:01 2007 +0300

        Preserve underlines in links when justifying.

I'm not fully updating NEWS yet.  Just this one bug.
2007-09-26 18:28:15 +02:00
Kalle Olavi Niemitalo
2c0de44744 GCC 4.2.1 needs -Wno-address, not -Wno-always-true. 2007-09-24 18:31:33 +02:00
Witold Filipczyk
2f379985bf No more crashes related to clearTimeout. 2007-09-22 20:01:43 +02:00
Witold Filipczyk
91a61d15a7 Unfortunately double clearTimeout crashes ELinks. 2007-09-22 19:12:08 +02:00
Witold Filipczyk
959d94b71c ELinks no longer crash on clearTimeout. 2007-09-22 18:59:49 +02:00
Witold Filipczyk
e0dfe13be2 Added the test for clearTimeout. 2007-09-22 18:45:49 +02:00
Witold Filipczyk
e7386bcd3c Minor optimisation. 2007-09-21 20:28:09 +02:00
Witold Filipczyk
c06122a029 Revert "Moved timeouts from document to the ecmascript_interpreter."
This reverts commit fa0fd41c94.
2007-09-21 20:18:38 +02:00
Laurent MONIN
25536d1e2f Fix compilation with --disable-css.
Compilation failed due to missing DEBUG_CSS test.
This was introduced in commit 98260f7970
2007-09-21 18:29:39 +02:00
Witold Filipczyk
fa0fd41c94 Moved timeouts from document to the ecmascript_interpreter.
This simplifies the code.
2007-09-21 01:06:20 +02:00
Witold Filipczyk
05fe38b7b2 Revert "format_html_part(): save and restore renderer_context.last_tag_for_newline too."
This reverts commit f9f149f6cc.
2007-09-19 18:42:45 +02:00
Laurent MONIN
a19239ad9a Fix compilation using --enable-html-highlight.
It was broken by commit 09cf904814.
Reported by witekfl.
2007-09-17 18:33:47 +02:00
Laurent MONIN
0dd99429c1 Revert "Use the new OBJS-unless$(CONFIG_FOO) instead of $(call not,...)"
This reverts commit e07354f5d5.
2007-09-14 21:09:25 +02:00
Kalle Olavi Niemitalo
8fa52b1df6 Define BITTORRENT_NULL_ID in common.c; declare extern in common.h.
This change avoids linker warnings when building with Debian tcc
0.9.23-4 + patch from Debian bug 418360:

      [LD]   src/protocol/bittorrent/lib.o
bittorrent.o: 'BITTORRENT_NULL_ID' defined twice
common.o: 'BITTORRENT_NULL_ID' defined twice
connection.o: 'BITTORRENT_NULL_ID' defined twice
dialogs.o: 'BITTORRENT_NULL_ID' defined twice
peerconnect.o: 'BITTORRENT_NULL_ID' defined twice
peerwire.o: 'BITTORRENT_NULL_ID' defined twice
piececache.o: 'BITTORRENT_NULL_ID' defined twice
tracker.o: 'BITTORRENT_NULL_ID' defined twice
2007-09-14 21:09:18 +02:00
Miciah Dashiel Butler Masters
890e16b5d0 Move is_in_domain from cookies/cookies.c to protocol/uri.c and export 2007-09-14 21:09:06 +02:00
Jonas Fonseca
118728dd27 Use the new OBJS-unless$(CONFIG_FOO) instead of $(call not,...) 2007-09-14 21:08:56 +02:00
Miciah Dashiel Butler Masters
b1ccdc9788 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-14 21:08:29 +02:00
Jonas Fonseca
0da7f5a670 Move find_tag to document/document 2007-09-14 21:08:15 +02:00
Jonas Fonseca
4e9982332e Compile fix for commit e876df70d8 2007-09-14 21:05:49 +02:00
Petr Baudis
2c6afbe5e8 document/html: Make HTML parser state transparent
Before, *_html_parser_state() operated with struct html_element *. Now, it is
transparent for the renderer (just void *), so that DOM won't have to provide
this struct but will be able to use something internal.

Backported from master.
2007-09-14 21:05:34 +02:00
Petr Baudis
f8b9992674 document/html: Move enum html_special_type from parser.h to renderer.h
...since it is renderer interface.
2007-09-14 21:05:13 +02:00
Laurent MONIN
ab6e3388d9 Backport Pasky's changes concerning text_style-related stuff.
It partially includes changes made in following commits:

document/html: struct text_attrib_style -> struct text_style
commit    e133941206

document: struct format_attr -> struct text_style_format
commit    070d335796

document: Unify text style -> screen attribute handling
commit    b66d2bec67

document: Move text_style-related stuff to dedicated format.*
commit    db9431465f
2007-09-14 21:04:59 +02:00
Laurent MONIN
832418afb2 Add a simple testcase for missing ; in meta refresh content attribute. 2007-09-14 21:04:40 +02:00
Laurent MONIN
1521c85bdf Update french translation. 2007-09-14 21:03:56 +02:00
Laurent MONIN
241b7a803c format_html_part(): group int variables declarations 2007-09-14 21:02:35 +02:00
Laurent MONIN
f9f149f6cc format_html_part(): save and restore renderer_context.last_tag_for_newline too. 2007-09-14 21:02:17 +02:00
Laurent MONIN
e01e67d546 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 21:01:53 +02:00
Laurent MONIN
ed21e3275c Drop useless goto/label. 2007-09-14 21:01:28 +02:00