Kalle Olavi Niemitalo
d5f30e77a5
terminal doc: Try to name one terminal for each keyboard escape sequence.
...
Also list the capnames with which the escape sequences could be
read from Terminfo, and the ECMA-48 interpretations of the bytes
(parenthesized if they seem unrelated to the keys). This is in
preparation for fixing bug 96.
2006-08-01 11:00:22 +00:00
Kalle Olavi Niemitalo
ee4c3ee426
terminal doc: Add a comment about $TERM on FreeBSD.
2006-08-01 11:00:22 +00:00
Kalle Olavi Niemitalo
8f99828c75
terminal: Decode ESC O entirely separately from ESC [.
...
decode_terminal_escape_sequence() used to handle both, but
there is now a separate decode_terminal_application_key()
for ESC O. I have not yet edited decode_terminal_escape_sequence();
there may be dead code in it.
2006-08-01 11:00:21 +00:00
Kalle Olavi Niemitalo
886dbf64df
terminal: Rewrite process_queue.
2006-08-01 11:00:21 +00:00
Kalle Olavi Niemitalo
62c0bff87e
terminal: In the ESC timeout, don't assume merely ESC was pressed.
...
If there is e.g. ESC [ in the input buffer, combine that to Alt-[.
Check the first character too; don't blindly assume it is ESC, as
it can be NUL as well. Note this means you can no longer activate
the main menu by pressing Ctrl-@ (or Ctrl-Space on some terminals).
2006-08-01 11:00:21 +00:00
Kalle Olavi Niemitalo
fbd84630ac
terminal: Move kbd_timeout below set_kbd_event.
...
This ought to make the diff of the next commit more readable.
2006-08-01 11:00:20 +00:00
Kalle Olavi Niemitalo
539f756438
terminal: Kill the ESC timer when blocking the terminal.
...
Otherwise, the timeout could cause ELinks to resume reading from
the terminal device while another process is still using it.
This actually happened in a test.
On entry to some functions that could resume reading from the device,
assert that the terminal has not been blocked.
2006-08-01 11:00:20 +00:00
Kalle Olavi Niemitalo
671cbb48e6
terminal doc: More comments about itrm->in.queue and bug 777.
2006-08-01 11:00:19 +00:00
Kalle Olavi Niemitalo
e9216413f2
terminal doc: Clarify itrm.remote and some others; fix grammar.
2006-08-01 11:00:19 +00:00
Kalle Olavi Niemitalo
711d672357
terminal doc: Document struct itrm and related things.
2006-08-01 11:00:18 +00:00
Kalle Olavi Niemitalo
7dcc6c9a19
viewer UTF-8: Correctly position cursor for ACT_EDIT_LEFT in text input field.
...
To reproduce the bug before this patch:
Enable CONFIG_UTF_8, UTF-8 I/O, and UTF-8 charset.
Go to www.google.com and type "abc" in the text input field.
Then press Left. The cursor jumps to "a" when it should go to "c".
2006-07-31 21:46:36 +02:00
Witold Filipczyk
5fd284d6a2
The value of UCS_NO_CHAR was bad. There must not be a possibility
...
to encode it using utf_8_to_unicode. If every unicode_val_T value
could be a result of that function then one must add out param
to the utf_8_to_unicode signaling 'true' UCS_NO_CHAR.
2006-07-31 21:23:47 +02:00
Witold Filipczyk
2e818771d0
Made directory listings XML compliant
2006-07-31 13:24:39 +02:00
Witold Filipczyk
7af9cf5ebc
The missing line:
...
cells += added_chars - 1;
This is a fix for bug 778.
goto next instead of continue. Not heavilly tested
2006-07-28 22:33:16 +02:00
Laurent MONIN
cf8de8456c
Minor fixes in french translation.
2006-07-27 15:52:00 +02:00
Petr Baudis
3e2f7f48b5
Merge with /srv/git/elinks.git
2006-07-27 15:05:52 +02:00
Petr Baudis
8627189148
Support for mouse wheel over GPM
...
GPM is awful, tho', and this is an ugly hack. Why can't it just report
buttons like everyone else?
Another nice thing is that we don't seem to get the wheel events more
frequently than once in a second or so. Therefore it will work properly
only when you scroll slooooowly. :^)
2006-07-27 15:05:18 +02:00
Laurent MONIN
1136aefb71
Trim trailing whitespaces.
2006-07-27 09:51:10 +02:00
Laurent MONIN
a897a95721
Compilation fixes (CONFIG_UTF_8): move variables declarations at start
...
of blocks. Old compilers do not support in-block declarations.
2006-07-27 09:49:49 +02:00
Miciah Dashiel Butler Masters
3ff8422e76
Fix a crash with the download manager when CONFIG_UTF_8 is enabled
...
In draw_file_download, pass get_file_download_text the terminal pointer
instead of NULL.
2006-07-26 21:28:40 +00:00
Witold Filipczyk
e301f0c4ab
Alignment of --with-gc
2006-07-26 21:31:01 +02:00
Witold Filipczyk
d83068ec85
Proper CFLAGS and LDFLAGS for the Python scripting backend.
...
The patch by M. Levinson.
I added DIR to the --with-python
2006-07-26 21:27:57 +02:00
Pavol Babincak
a7a7984d89
Merge with http://www.fi.muni.cz/~xbabinc/elinks/elinks-utf8.git/
...
without ucdata stuff. UTF-8 code cleanup. Added Pavol Babincak
to the AUTHORS
2006-07-25 09:59:12 +02:00
Witold Filipczyk
6c8f532692
Fixes to the Python scripting by M. Levinson
2006-07-24 18:52:25 +02:00
Laurent MONIN
29fb051fc9
Compilation fix: move variables declarations to top.
2006-07-24 17:56:07 +02:00
Witold Filipczyk
8b4daed148
Commented out the code causing infinite loop when viewing
...
test/backspaces.txt.
2006-07-23 16:35:53 +02:00
Witold Filipczyk
4263af97a9
The missing code, I suppose. Fixed moving right in textareas in UTF-8 mode.
...
First move was by two cells.
2006-07-23 15:23:19 +02:00
Witold Filipczyk
58b158871c
Decode the second char of double glyph. Still problems with a splitted
...
char
2006-07-23 13:14:38 +02:00
Witold Filipczyk
7cb91c3213
Decode the second char from double glyph. When that char is splitted
...
by convert_string and that char is the beginning of double glyph too
we have a problem. This is a rare case. Must we care about it?
2006-07-23 13:04:39 +02:00
Witold Filipczyk
a3e0caca57
Return number of really processed chars. In that case 0
2006-07-23 12:27:20 +02:00
Jonas Fonseca
8e438aaa33
Merge with git+ssh://pasky/srv/git/elinks.git
2006-07-22 17:06:44 +02:00
Jonas Fonseca
71e569c129
Move variable out of loop to fix uninitialized warning caused by goto label
2006-07-22 17:06:05 +02:00
Witold Filipczyk
f5351fc0dc
Remember fragment of the splitted char and decode it next time. Idea by Jonas.
...
Not tested at all. UCS_NO_CHAR is returned only for <hr> or for UTF-8 char
which is splitted by convert_string
2006-07-21 22:10:18 +02:00
Witold Filipczyk
7c7a0bb890
Merge with git+ssh://pasky.or.cz/srv/git/elinks.git
2006-07-21 19:00:49 +02:00
Witold Filipczyk
1c04b45669
Show dots after UTF-8. Taken from Jonas's mail
2006-07-21 14:37:46 +02:00
Witold Filipczyk
098fb87065
Expand $LOCALEDIR. Previously, it was ${prefix}/share/locale
2006-07-21 14:08:24 +02:00
Witold Filipczyk
1b653b9765
Compilation fix
2006-07-21 13:21:21 +02:00
Miciah Dashiel Butler Masters
97e2bc9365
Text type-ahead searching: don't follow current link on enter
...
When the user presses enter during a text type-ahead search, simply cancel
the search without additionally following the current link. Link type-ahead
searching still will follow the active link on enter.
2006-07-21 11:15:30 +00:00
Witold Filipczyk
2a6125e3d0
Merge with utf8. src/document/plain/renderer.c replaced by utf8 version
2006-07-21 13:12:06 +02:00
Miciah Dashiel Butler Masters
ecbc2271d1
examine_element: drop html_stack parameter
...
The stack is available via the html_context, which is passed to
examine_element as of commit f42c86be70744e62af92282e4d64fc3066f6ba04.
2006-07-21 11:10:54 +00:00
Witold Filipczyk
8fa3a4c88f
Use isscreensafe also for UTF-8
2006-07-20 03:42:22 +02:00
Witold Filipczyk
8a1ef2ada9
That was missing, at least I think so
2006-07-20 02:05:56 +02:00
Witold Filipczyk
b388b4afea
Avoided rerendering
2006-07-20 02:03:25 +02:00
Witold Filipczyk
70a46e12aa
Fixed the issue when assummed codepage is not UTF-8
2006-07-19 19:11:03 +02:00
Witold Filipczyk
8c3f931ff0
Wide char could be bigger than 0xffff
2006-07-18 20:33:34 +02:00
Witold Filipczyk
c34a91a92f
pl.po: fixed a misleading translation
2006-07-18 19:58:36 +02:00
Witold Filipczyk
3126078f51
Rexgexp works but the accented letters. It's all I can do
2006-07-18 18:06:43 +02:00
Witold Filipczyk
b27667fcf7
Use already known document->options.utf8 instead of is_cp_utf8
2006-07-18 17:54:23 +02:00
Witold Filipczyk
44c74ac389
Refactor is_cp_special to is_cp_utf8
2006-07-18 17:51:03 +02:00
Witold Filipczyk
681cfc4ae5
Populate search function with utf8 indicating whether we really use UTF-8
2006-07-18 17:39:02 +02:00