Commit Graph

21 Commits

Author SHA1 Message Date
Steven Luo
09ead3a980 Add test of combining characters at the end of a line
For use in vttest mode.
2014-06-08 14:50:28 -07:00
Steven Luo
0da354d0a2 Add some torture tests for Unicode support
These are a set of specially-crafted text files designed to exercise
most of the corner cases in the Unicode support code, particularly
FullUnicodeLine.setChar()'s support for overwriting screen columns with
changes in sequence lengths and display widths.  For best (worst?)
results, use the tests in vttest mode; the lines of exactly 80 columns
will be more likely to uncover bugs that way.
2014-06-08 14:50:28 -07:00
Jack Palevich
4fb5ff9411 Fix eclipse warnings. 2014-03-29 15:20:05 -07:00
Jack Palevich
985bacf04b Some UTF-8 text with full-width characters. 2014-03-23 13:32:35 -07:00
Jack Palevich
d22b8863c1 Implement show/hide cursor (DECTCEM)
Closes #187
2012-12-31 11:00:39 -08:00
Jack Palevich
7e64fa9179 Make sure Android SDK 11 is installed and updated.
Make sure the project property files use SDK 11.
2012-12-02 14:01:30 -08:00
Jack Palevich
abd70aee3e Add another test case that causes ATE to crash.
(Found by running fuzzer.go and trimming down the repro case.)

adb push issue145repro-2.txt /data/local/a

Run Android terminal emulator.

$ cat /data/local/a
2012-10-07 15:42:09 -07:00
Robert Ewald
3e2263bb43 Honor the AltSendsEsc flag. 2012-10-07 10:13:12 -07:00
Robert Ewald
4ca236b184 Make it possible to test the allowToggle mode. 2012-10-07 10:12:56 -07:00
Robert Ewald
7785940304 Add testcases for TermKeyListener.
This change attempts full code coverage. However the Fn key
functionality cannot be reached by my emulator version. All the tests
with Function key fail.
2012-10-07 10:12:21 -07:00
Jack Palevich
230c04bbb1 A test program to help debug issue 149. 2012-09-28 22:45:39 -07:00
Jack Palevich
8ca143a5d8 Revert "robewald alt-sends-esc"
This reverts commit fd719e10d6, reversing
changes made to 113d77e5fa.

This change was reverted because it caused a regression in the way soft
keyboard modifier keys worked. (e.g. using the volume keys as control
keys.) I think the regression happened because the change introduced
multiple copies of TermKeyListener. There should be only one instance
of TermKeyListener for each terminal window.

I would still like the feature (of having Alt send Esc), but without the
regression to the soft keyboard.
2012-09-27 18:49:27 -07:00
Jack Palevich
2a7803017f Move to location that matches up with the issue database. 2012-09-23 15:12:22 -07:00
Jack Palevich
d12fb93f70 Add repro case for issue 145
(Which is an exception thrown while drawing UTF8 text)
2012-09-23 15:07:31 -07:00
Jack Palevich
332928b665 Fix bug in alt-key key processing.
Rename mCharcodes to mCharSequence (matches the public getter's name.)

Rename the public getter from getCharSequence to extractCharSequence, to
signify that each time you call it the current character sequence is
reset.

Bug repro:

Switch to Alt-key-does-not-send-ESC mode.
Press and release the letter X
Hold down the alt key.
Expected behavior: nothing happens.
Actual behavior: The letter x repeats as long as you hold down the Alt key.
2012-09-22 16:29:30 -07:00
Jack Palevich
6e254862d7 Reorganize tests. 2012-09-22 14:44:47 -07:00
Jack Palevich
cb90a419ff Add a simple test of combining characters and multi-plane characters. 2012-09-09 09:48:03 -07:00
Jack Palevich
09f3267e19 Fix color setting codes.
+ Add support for directly setting the "bright" 8 system colors.
2012-09-03 16:24:47 -07:00
Jack Palevich
258a7822e4 Improve text style handling.
Underlined, bold, and invisible text now working.
2012-09-03 13:37:32 -07:00
Jack Palevich
fe8f0cf773 Implement plumbing for setting the terminal window title text.
(It's not hooked up to the actual UI yet.)
2012-09-03 10:10:57 -07:00
Jack Palevich
841fcb924c Test file for 256-color escape sequences. 2012-09-02 16:00:28 -07:00