summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Terminal: add runtime permissionsjrizzoli2015-11-171-0/+11
| | | | | Change-Id: I31a8dd691ef2d2e300c4205278f2bff530b14b11 Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
* TerminalKeys: Disable debugRicardo Cerqueira2015-02-141-1/+1
| | | | | | Nice keylogger you got there, mr logcat... :( Change-Id: I0582ab289987dca2a493daf86fb429094b1e06b0
* Terminal: Convert CheckBoxPreference to SwitchPreferenceMichael Bestas2015-02-011-3/+3
| | | | Change-Id: I84e4db497393069e01c65d1eabe33223653420de
* Some cleanup.Danny Baumann2015-01-143-62/+21
| | | | Change-Id: Ifac675898046550cb9e8abd6e7bde7de5bd55a47
* Term: materializelinuxx2015-01-143-4/+18
| | | | | | | | * New icon * Material UI * Vectors Change-Id: Ia5c3c9027662edd51021bf2183cd203d25bb7474
* Also use set colors for scrollback lines that aren't filled yet.Danny Baumann2015-01-141-0/+2
| | | | Change-Id: I3848eada46ae8df05c72a31c5a8a15b71d06fe76
* Add settings for fullscreen, orientation, font size, colorTom Marshall2014-12-314-4/+222
| | | | Change-Id: Id631fce7fc6a40a8f982097e3b90e7c58c2cd889
* Show cursorTom Marshall2014-12-313-1/+47
| | | | Change-Id: I31e99d20f3c0fa887f057b352e69969cb805016e
* Remove rows/cols from nativeInitTom Marshall2014-12-311-2/+2
| | | | | | * These are hardcoded, no sense passing them as arguments. Change-Id: I40c26b894b2e668bbebfb779ec5d83a1f34dc0a8
* Show soft keyboad on clickTom Marshall2014-12-311-0/+14
| | | | Change-Id: Ieb87e7a8b4217c21eb3ba2738d253125c14d7bc0
* Fix focus on initial startTom Marshall2014-12-311-0/+1
| | | | Change-Id: I77e3cf2f8d4bdc19b2830bf632b54ed46a3d58c3
* Terminal: fix compiling for 64-bitColin Cross2014-04-081-11/+11
| | | | | | Use jlong to store the native pointer. Change-Id: I0d35871da53f08b8835c35a3675fb958e9ec230a
* Add scrollback support.Jeff Sharkey2013-04-257-222/+361
| | | | | | | | | | | | | | | | | | | | | Switch terminal rendering to use ListView, splitting each row into a TerminalLineView item. This leverages existing ListView display list optimizations when scrolling, and gives us fling and overscroll for free. However, the simple case of a single line scrolling requires an entire screen rebind. Added locking between I/O thread and UI thread to provide consistent view of terminal state. Snap to current upstream libvterm, which has updated scrollback API. Examine full cell style when building runs. Address terminals using "keys" instead of indicies, since ordering can shift. Save and restore instance state to remember scrollback position. Avoid crashing after closing last terminal. Remove unused callbacks. Bug: 8332387 Change-Id: I06468d16ae8e1ff8ac79b7115c7cb3f9434b3c0d
* Added input error handling and enabled keyboard inputMichael Wright2013-02-262-10/+8
| | | | Change-Id: Ie74da0b39d9002802c76dc3ceecd5082e7504f26
* Start hooking up keyboard input to viewMichael Wright2013-02-252-4/+91
| | | | Change-Id: I37fb55f8fadd79bf4f32f55bee83f879d4d90680
* Add jni hooks for key dispatchingMichael Wright2013-02-251-0/+12
| | | | Change-Id: I51b32fa8635c54418bea73ad7a1fa0c8213cfd32
* Add support for conversion from Android to libvterm keysMichael Wright2013-02-251-0/+165
| | | | Change-Id: I06b7f78aabe64b223c136bb452c9952daaba543b
* Service to host long-lived terminals, tab UI.Jeff Sharkey2013-02-234-14/+258
| | | | | | | | | | | Bind to new TerminalService when UI is running, and keep service started as long as terminals are active. Use ViewPager to show multiple active terminals, and menu items to open/close terminals. Anti-alias terminal text. Reduce callback logging. Add method to stop a running shell; still need to kill child process. Change-Id: I8efcb43aeaf8813762cd0ceebcd5388fc51ebaab
* Correctly resize terminal, hook up colors.Jeff Sharkey2013-02-232-4/+4
| | | | | | | Resize needed to kick the vterm library. Hook up colors to CellRun and cluster cells into single run until style changes. Change-Id: Ib2984d8eedaf6085aba98df7997104b59a832967
* Working damage!Jeff Sharkey2013-02-233-17/+23
| | | | | | | | | Flushing damage to the UI is now driven by the read() thread, and moverect() data is now passed across JNI. TerminalView currently treats moverect() as invalidating the union of the two rects, which repaints everything correctly, yay! Change-Id: I0d38e5c7755d3da06a23802c03fd2e2839aa1a02
* Start hooking up damage, shell script to test.Jeff Sharkey2013-02-212-12/+50
| | | | | | | It's still pretty broken and I need to grok how damage and moveRect play together. Avoid allocations inside onDraw(). Change-Id: I0fca467439178d902c4d11ff1523a0ec25c2dd39
* Split init() and run().Jeff Sharkey2013-02-213-9/+20
| | | | | | Also switch to ScopedCharArrayRW. Change-Id: I1e22a166c48ba7209e624fc49bee8618e9b36f0d
* Add CellRun to speed up cell rendering.Jeff Sharkey2013-02-202-16/+43
| | | | | | | | | | | Change to using CellRun class, and ask JNI to fill it until text style changes. Switch to drawPosText(), which paints an entire run at once. Together these changes improve screen rendering times from 170ms to only 7ms! Change-Id: I62f12ffbb746c0c54191a15f395bbb80229cc959
* Initial pass at read() loop.Jeff Sharkey2013-02-201-0/+9
| | | | | | This also gives us the first glimpse of real rendered text. Change-Id: If05344f1deec6f9c469220861a13442287ce23bf
* TerminalView to draw session contents.Jeff Sharkey2013-02-193-7/+236
| | | | | | | | | | | View sets terminal dimensions to match screen, and handles any draw requests for dirty regions. damage() calls from below are translated into normal View invalidates. For now makes separate getCell() calls for each cell while drawing across screen. This currently costs about 130ms for a 38x59 shell. Change-Id: I2d106a8aeb18e9d6993f30cfb02438e85ee63c65
* Start hooking up forkpty()Jeff Sharkey2013-02-191-0/+5
| | | | Change-Id: I5bd867a0ab5aaf138da75cedd5352a8876c61194
* Add callbacksKenny Root2013-02-192-2/+68
| | | | Change-Id: I0702f4ce4be69f86995956f98a0da52f47026f90
* Initial code for Terminal app, with JNI glue.Jeff Sharkey2013-02-192-0/+69
Change-Id: I4b2ecb2eef9bef7a8236391d19a3708751a7c71d