Kalle Olavi Niemitalo
73d703400d
fi.po: minor update
2006-09-03 13:52:44 +03:00
Witold Filipczyk
fcc00bcfd9
Added uninstall target to the Makefile.
2006-09-03 09:27:21 +02:00
Witold Filipczyk
521944db17
Polish translation was updated.
2006-09-03 08:27:50 +02:00
Kalle Olavi Niemitalo
a01be8bd6b
UTF-8: Stepping functions set *count even if an assertion fails.
...
Previously, utf8_step_forward() and utf8_step_backward() left *count
unchanged if some parameter was invalid. Now, they properly store 0.
This flaw had no effect in practice, because all current callers pass
count=NULL, and invalid parameters shouldn't be used anyway.
2006-09-03 03:08:56 +03:00
Kalle Olavi Niemitalo
86c9cb01ba
add_accesskey_to_string: Add the Alt modifier to the string, too.
...
The link information window will now display e.g. "(Alt-f)" rather
than just "(f)", becoming easier to understand.
2006-09-03 00:12:34 +03:00
Kalle Olavi Niemitalo
cc6939b9f8
UTF-8: Don't update form_state.state_cell if it is not used.
...
FC_TEXT, FC_PASSWORD, and FC_FILE do not use state_cell.
FC_TEXTAREA does use it.
2006-09-02 23:16:32 +03:00
Kalle Olavi Niemitalo
8d77387f6f
UTF-8: Fix scrolling of input fields.
...
form_state.state_cell is no longer used for FC_TEXT, FC_PASSWORD, nor FC_FILE.
Instead, get_link_cursor_offset() computes the cell with utf8_ptr2chars
(a new function) or utf8_ptr2cells. This shouldn't slow down ELinks too
much, as it's done only for the selected link and only once per redraw.
The left side of a scrolled input field is always aligned at a
character boundary. The right side might not be.
2006-09-02 23:03:45 +03:00
Kalle Olavi Niemitalo
92845d0b56
UTF-8: Reformat get_link_cursor_offset() a little.
2006-09-02 21:48:30 +03:00
Kalle Olavi Niemitalo
e2685ae7b2
New function colspan_is_in_box()
2006-09-02 21:48:19 +03:00
Kalle Olavi Niemitalo
216495188a
UTF-8: New functions for stepping forward and backward in a string.
2006-09-02 21:48:03 +03:00
Kalle Olavi Niemitalo
a8c573a174
viewer: Document some members of struct form_state.
...
The new comments describe how the members were apparently intended to
be used. However, the implementation does not actually work when
CONFIG_UTF_8 is defined, and the current semantics do not even allow
an efficient implementation of long (mostly scrolled out) strings.
2006-09-02 21:17:05 +03:00
Kalle Olavi Niemitalo
527898687a
fi.po: minor update
2006-09-02 17:51:55 +03:00
Kalle Olavi Niemitalo
2d19e5ed94
Change elinks.or.cz to elinks.cz and one i.e. to e.g. in option docs.
...
Some other instances of elinks.or.cz still remain in the tree.
2006-09-02 17:50:53 +03:00
Witold Filipczyk
8c0af4e403
Minor optimization in hooks.py
2006-09-02 12:26:55 +02:00
Witold Filipczyk
c201ecbb46
Fixed.
2006-09-02 12:18:27 +02:00
Witold Filipczyk
c5a6e58e64
Added google_redirect. Speedup.
2006-09-02 12:07:29 +02:00
Witold Filipczyk
d9037cc4c3
Small comment about UTF-8 detection.
2006-09-01 21:06:08 +02:00
Laurent MONIN
b860e1e29e
French translation was updated.
2006-08-29 15:50:04 +02:00
Witold Filipczyk
c1c494bd4b
Preserved Linux console mode. When console was in one char mode, restore it.
...
When console was in UTF-8 mode, restore it, too.
2006-08-27 14:18:02 +02:00
Kalle Olavi Niemitalo
8850d85998
ECMAScript: If accessKey is a surrogate, throw an error when reading it.
...
Surrogates are now treated the same way as out-of-range characters
like U+110000; if a link has such an access key, then the ECMAScript
accessKey property cannot be read. It seems currently impossible to
set such an access key though, because accesskey_string_to_unicode()
doesn't support multibyte characters yet.
2006-08-27 11:45:11 +03:00
Kalle Olavi Niemitalo
55212827c7
Outdent labels as instructed in doc/hacking.txt.
...
Reported by Jonas Fonseca.
Also add an empty line above the label in init_tab; but there are
still several labels elsewhere that don't have empty lines above them.
2006-08-27 10:44:36 +03:00
Witold Filipczyk
9597d403ee
True color mode dumps. TODO: UTF-8
2006-08-26 20:04:09 +02:00
Witold Filipczyk
9d4b68a26b
Adjusted max values for true color dumps.
2006-08-26 20:03:30 +02:00
Witold Filipczyk
cf79dfdeb6
Polish translation was updated.
2006-08-26 19:35:47 +02:00
Witold Filipczyk
7a84967453
Unification. Removed trailing '\n' from last line.
2006-08-26 19:34:14 +02:00
Witold Filipczyk
d299501076
Avoided white on white and similar cases in true color mode.
2006-08-26 19:21:08 +02:00
Witold Filipczyk
a094bddd1b
Removed dead code. Add suffix _256 to TERM_COLOR_(BACK|FORE)GROUND.
2006-08-26 19:05:31 +02:00
Kalle Olavi Niemitalo
be7526d00a
terminal UTF-8: Reject code points reserved for UTF-16 surrogates.
...
Those code points are allowed in CESU-8 but not in UTF-8.
2006-08-25 22:25:55 +03:00
Kalle Olavi Niemitalo
e333fb37ab
terminal UTF-8: Have an array for the interlink->utf_8.min values.
...
The previous scheme incorrectly accepted 0xC1 0x80 as U+0040.
That could have been fixed by tweaking the loop, but the constant
array is surely easier to verify.
2006-08-25 22:20:33 +03:00
Kalle Olavi Niemitalo
38fe5b72f7
Define and use macros for handling UTF-16 surrogates.
2006-08-24 23:30:41 +03:00
Jonas Fonseca
b9d66bd9bd
Fix compilation on Minix3
...
- Include arpa/inet.h to get hton* ntoh* functions.
- Use socklen_t instead of int.
- Try to define PF_INET to AF_INET if it doesn't exist.
Reported-by: Andy Tanenbaum <ast@cs.vu.nl>
2006-08-22 22:18:00 +02:00
Laurent MONIN
463cce0b66
French translation was updated.
2006-08-20 21:59:12 +02:00
Laurent MONIN
0981664034
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-08-20 21:58:02 +02:00
Laurent MONIN
a74b2ead48
French translation was updated.
2006-08-20 21:57:31 +02:00
Jonas Fonseca
0ae69652dd
Define SCREEN_COLOR_SIZE to hold the number of bytes in screen_char->color
2006-08-20 21:24:20 +02:00
Kalle Olavi Niemitalo
2d898272c1
ECMAScript: Preserve all of Unicode when setting the accessKey property.
...
Well, almost all. U+0000 cannot be used because ELinks thinks that
means the link has no access key.
2006-08-20 17:40:27 +03:00
Kalle Olavi Niemitalo
45b194d1e7
ECMAScript: Fix previous careless SEE changes.
2006-08-20 17:36:06 +03:00
Kalle Olavi Niemitalo
1c0598d5ba
ECMAScript: More accessKey tests.
2006-08-20 17:07:26 +03:00
Witold Filipczyk
77d7741726
Fixed transparency in true color mode.
2006-08-20 15:19:25 +02:00
Witold Filipczyk
60544f748e
Fixed issue with CONFIG_TRUE_COLOR and 16 colors mode. inline functions used
...
instead of macros. Still problems with transparency in true color mode.
2006-08-20 14:51:06 +02:00
Kalle Olavi Niemitalo
00a5b88371
ECMAScript: Preserve all of Unicode when reading the accessKey property.
...
Setting the property does not yet support Unicode.
2006-08-20 13:37:03 +03:00
Kalle Olavi Niemitalo
245c8cb020
parse_keystroke: Fold the case of Ctrl-letter after read_key(), not before.
2006-08-20 13:07:57 +03:00
Kalle Olavi Niemitalo
35290f92e9
parse_keystroke: Fold the case of Ctrl-letter only if the letter is ASCII.
2006-08-20 13:05:47 +03:00
Kalle Olavi Niemitalo
e054a15960
Change the description of the connection.try_ipv4 option.
...
Use "e.g." rather than "i.e." because the syntax cannot be deduced
from the preceding text.
2006-08-20 13:04:00 +03:00
Kalle Olavi Niemitalo
4a638c2e84
ECMAScript: Added a test for the accessKey property.
...
ELinks currently fails this test.
2006-08-20 12:15:57 +03:00
Witold Filipczyk
13dc5f01ea
Note about efficiency. I know that normal 16 color mode is broken (menu).
...
Maybe someone knows how to fix it.
2006-08-19 23:57:50 +02:00
Witold Filipczyk
4f78b0dda1
True color mode. See new konsole.
...
TODO: dump
2006-08-19 23:39:40 +02:00
Laurent MONIN
9238bd5df0
French translation was updated.
2006-08-19 16:40:47 +02:00
Witold Filipczyk
a85733cef3
Fixed previous commit.
2006-08-19 14:14:06 +02:00
Witold Filipczyk
484ffc4285
Polish translation was updated.
2006-08-19 14:11:32 +02:00