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

2810 Commits

Author SHA1 Message Date
Witold Filipczyk
bb59860c23 ecmascript: Convert numbers using JS_ValueToInt32. 2007-05-22 09:36:39 +02:00
Witold Filipczyk
08cab91214 bug 755: attempt to fix this bug. 2007-05-21 12:50:27 +02:00
Witold Filipczyk
f70e438820 DOM: node was unitialized. 2007-05-20 21:03:15 +02:00
Witold Filipczyk
ca62325a53 speech: Compilation fix. 2007-05-20 20:39:54 +02:00
Kalle Olavi Niemitalo
87b086a046 NEWS: mention bug 461 2007-05-20 20:21:58 +02:00
Kalle Olavi Niemitalo
dfb74267f8 Bug 461: Ensure contrast when filling with spaces.
So that the cursor will be visible in the Linux console.
2007-05-20 20:21:52 +02:00
Kalle Olavi Niemitalo
e57d1f6aba And ignore ID files while we're at it. 2007-05-20 20:21:47 +02:00
Kalle Olavi Niemitalo
2a2203ef92 Place the TAGS file in the source directory. 2007-05-20 20:21:40 +02:00
Kalle Olavi Niemitalo
d69cf888ef Bug 822: Make --enable-utf-8 the default.
Experimental features should be disabled by default, so this is no
longer considered experimental.
2007-05-20 20:21:34 +02:00
Kalle Olavi Niemitalo
d562bdc77c Document terminal._template_.m11_hack more and add comments. 2007-05-20 20:21:27 +02:00
Kalle Olavi Niemitalo
ed88ddf1a3 Bug 914: Add screen_driver_opt.utf8_cp, not yet read. 2007-05-20 20:21:19 +02:00
Kalle Olavi Niemitalo
44e8a38693 Bug 914: Don't let UTF-8 I/O affect internal representations.
Use it for the actual I/O only.  Previously, defining CONFIG_UTF8 and
enabling UTF-8 used to force many strings to the UTF-8 charset
regardless of the terminal charset option.  Now, those strings always
follow the terminal charset.  This fixes bug 914 which was caused
because _() returned strings in the terminal charset and functions
then assumed they were in UTF-8.  This reduction in the effects of
UTF-8 I/O may also simplify future testing.
2007-05-20 20:11:55 +02:00
Kalle Olavi Niemitalo
ad669a3f0f Bug 914: Add terminal.utf8_cp, not yet read. 2007-05-20 20:11:48 +02:00
Witold Filipczyk
774471b6d1 DOM: Some methods of the Element interface defined. 2007-05-20 19:51:25 +02:00
Witold Filipczyk
11171beb2b Polish translation was updated. 2007-05-20 16:59:45 +02:00
Witold Filipczyk
4758aa9299 Polish translation was updated. 2007-05-20 16:59:06 +02:00
Witold Filipczyk
f1299cff93 Polish translation was updated. 2007-05-20 16:58:26 +02:00
Kalle Olavi Niemitalo
ebd4b979c1 UTF-8, add_char_data: data can be UCS_NO_CHAR after all. 2007-05-20 14:24:52 +02:00
Kalle Olavi Niemitalo
e099a05a57 Whitespace and comments. 2007-05-20 14:24:47 +02:00
Kalle Olavi Niemitalo
0c3d05817e UTF-8, set_screen_driver_opt: Never use frame_seqs with UTF-8 I/O. 2007-05-20 14:24:41 +02:00
Kalle Olavi Niemitalo
f970994640 UTF-8: frame_freebsd isn't in CP437 so use a separate table for UTF-8 I/O. 2007-05-20 14:24:35 +02:00
Kalle Olavi Niemitalo
2e91945b69 UTF-8: Comment about frame_freebsd[]. 2007-05-20 14:24:30 +02:00
Kalle Olavi Niemitalo
b2186fadf4 UTF-8: Use frame_vt100_u even #ifdef CONFIG_UTF8.
Should perhaps have been part of the previous commit.
2007-05-20 14:24:25 +02:00
Kalle Olavi Niemitalo
cdd0cd98bf UTF-8: Make UTF-8 I/O affect frame characters even #ifdef CONFIG_UTF8. 2007-05-20 14:24:18 +02:00
Kalle Olavi Niemitalo
d1da2e938e UTF-8, add_char_data: Comment about UCS_NO_CHAR. 2007-05-20 14:24:14 +02:00
Kalle Olavi Niemitalo
976b0d26ad UTF-8: Remove screen_driver_opt.utf8, which is no longer used. 2007-05-20 14:24:08 +02:00
Kalle Olavi Niemitalo
d561304524 UTF-8, use_utf8_io: Test driver->opt.charsets[0] even #ifdef CONFIG_UTF8.
driver->opt.utf8 is no longer read and will soon be removed.
2007-05-20 14:24:03 +02:00
Kalle Olavi Niemitalo
3260bcec20 UTF-8: Define and set screen_driver_opt.charsets even #ifdef CONFIG_UTF8.
However, the stored values are not yet read in this commit.
2007-05-20 14:23:57 +02:00
Kalle Olavi Niemitalo
4baf668f28 UTF-8, set_screen_driver_opt: Don't test driver->opt.utf8 after utf8_io.
They have the same value so one test will suffice.
2007-05-20 14:23:50 +02:00
Kalle Olavi Niemitalo
aa490bab64 UTF-8, set_screen_driver_opt: Shrink #ifdef CONFIG_UTF8 regions. 2007-05-20 14:23:44 +02:00
Kalle Olavi Niemitalo
b2d35c73ec UTF-8, set_screen_driver_opt: Duplicate CONFIG_UTF8 code. 2007-05-20 14:23:39 +02:00
Kalle Olavi Niemitalo
5261cd17d1 UTF-8: Change type of constants to struct screen_driver_opt.
We don't need a full struct screen_driver here.
2007-05-20 14:23:33 +02:00
Kalle Olavi Niemitalo
3786dd9265 UTF-8: Leave driver->opt initialization to set_screen_driver_opt.
Don't bother to initialize driver->opt with memcpy in add_screen_driver.
2007-05-20 14:23:27 +02:00
Kalle Olavi Niemitalo
f8fdf6a93d UTF-8: Rename update_screen_driver to set_screen_driver_opt. 2007-05-20 14:23:21 +02:00
Kalle Olavi Niemitalo
b493ab8b9e UTF-8, update_screen_driver: Restore all original options. 2007-05-20 14:23:16 +02:00
Kalle Olavi Niemitalo
73b67d34dc UTF-8: New struct screen_driver_opt engulfs most of struct screen_driver.
No behaviour changes yet, although padding may differ.
2007-05-20 14:23:11 +02:00
Kalle Olavi Niemitalo
b6855c8616 UTF-8, update_screen_driver: First read the "charset" option. 2007-05-20 14:23:05 +02:00
Kalle Olavi Niemitalo
0d9be10fe4 UTF-8, update_screen_driver: A small rearrangement.
This does not change the behaviour but will help later changes.
2007-05-20 14:22:59 +02:00
Kalle Olavi Niemitalo
39bd97f11e UTF-8: Whitespace changes. 2007-05-20 14:22:54 +02:00
Kalle Olavi Niemitalo
ac6c03e287 put_link_line: Add a comment related to bug 213. 2007-05-20 14:22:47 +02:00
Kalle Olavi Niemitalo
5b331574d0 NEWS: sync from 0.11.3.GIT 2007-05-20 14:22:42 +02:00
Kalle Olavi Niemitalo
264582fd53 contrib/elinks.conf: Remove the file.
I don't think there is any point in keeping this file when users can
easily run elinks -no-home -config-dump to get an equivalent one.
The result won't include options for features that were disabled at
configure time, but the users won't need those options either.

Furthermore, if this file is installed as /etc/elinks/elinks.conf like
contrib/debian/rules does, and people then modify it, they cannot
easily upgrade to changed defaults in later ELinks versions; these
changes may even be security-related, like ecmascript.enable in the
upcoming ELinks 0.12.0.  It is better if /etc/elinks/elinks.conf
contains only the settings that the sysadmin explicitly wants to
change from the defaults, and all the rest comes from the elinks
binary.
2007-05-20 14:22:36 +02:00
Kalle Olavi Niemitalo
0fc74268a0 contrib/elinks.conf: Update from -config-dump.
Just to show how badly it was out of date.
2007-05-20 14:22:30 +02:00
Kalle Olavi Niemitalo
1ed48a53f4 NEWS: more AsciiDoc markup 2007-05-20 14:22:26 +02:00
Kalle Olavi Niemitalo
bb110e1021 NEWS: merge most categories, sort by severity, sync 0.11.3.GIT 2007-05-20 14:22:21 +02:00
Jonas Fonseca
211ffef1e6 Refactor test-sgml-parser-basic to work with non-bash shells
A problem with \n replacement caused test no. 19 to fail.
Fix it by also allowing expected output to be prepared in a
file by introducing a new backend: test_output_equals_file,
also used test_output_equals.

Tested on Ubuntu Feisty Fawn with both /bin/bash and /bin/sh
where /bin/sh failed before the fix. Reported by Witek.
2007-05-20 14:22:15 +02:00
Kalle Olavi Niemitalo
dab6062347 NEWS: prune some build fixes that were backported already 2007-05-20 14:22:09 +02:00
Jonas Fonseca
e1c59759a1 Mention testing of po updates without installing ELinks
Also, fix bugzilla URL.
2007-05-20 14:22:00 +02:00
Jonas Fonseca
39db04ff39 Check if the program path contains "src/" before using ../po files
Don't look for gettext message catalogs in ../po/ unless ELinks is being
run as src/elinks, ./src/elinks, or .../src/elinks.

Discovered by Arnaud Giersch, this alternate fix (than what is in debian
package 0.11.1-1.4) closes debian bug #417789 and redhat bug #235411.
Also reported in: CVE-2007-2027.

Restricting it to only work with --enable-debug was also considered,
however, it is an important feature for translaters so this less
paranoid fix was chosen.
2007-05-20 14:21:53 +02:00
Kalle Olavi Niemitalo
ec1c62bfc6 NEWS: Add newlines to make AsciiDoc realize these are lists. 2007-05-20 14:21:47 +02:00