summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* release-request-2fc80fb4-5a6a-4db9-97b2-5d042a5af5cf-for-git_oc-dr1-release- ↵staging/lineage-15.0_rebase-android-8.0.0_r23android-build-team Robot2017-05-243-29/+23
|\ | | | | | | | | | | 4038177 snap-temp-L01900000067217063 Change-Id: I47dd060e0e58c6b190f285dcb3677628c9b942c7
| * libjni_terminal: Android.mk -> Android.bp am: e71d9d40b5 am: 8cf75ff36c am: ↵Steven Moreland2017-05-233-29/+23
|/| | | | | | | | | | | | | | | f1fac4738b am: 9825e26195 Change-Id: I51cdb1e07d91395f616e024ff6e2ff333848e7d2
| * libjni_terminal: Android.mk -> Android.bp am: e71d9d40b5 am: 8cf75ff36cSteven Moreland2017-05-233-29/+23
|/| | | | | | | | | | | am: f1fac4738b Change-Id: Idba83282f8b193f96e1eadee77a828d95b4da96f
| * libjni_terminal: Android.mk -> Android.bp am: e71d9d40b5Steven Moreland2017-05-233-29/+23
| |\ | | | | | | | | | | | | | | | am: 8cf75ff36c Change-Id: I98567138966671361ba7d6687324ad886104162c
| | * libjni_terminal: Android.mk -> Android.bpSteven Moreland2017-05-233-29/+23
| |/| | | | | | | | | | | | | | | | am: e71d9d40b5 Change-Id: I99b76e09615e6414d15d1a2a149287bdc5d0a04d
| | * libjni_terminal: Android.mk -> Android.bpSteven Moreland2017-05-173-29/+23
| |/ | | | | | | | | | | | | | | | | Note: removed include dirs: - frameworks/base/include doesn't exist - external/libvterm/include is now properly exported Test: links Change-Id: Ibcea0bc2ffe17180d55a5f5b534f05dc3a52fe9f
* | Remove libcore/include/ from Terminal's include path. am: 3cb5403b8d am: ↵Elliott Hughes2016-09-141-1/+0
|\| | | | | | | | | | | | | | | 31daf87a58 am: 62a4840e34 am: 2c4b6548ff Change-Id: Ie8baa145961c02162e92da615367cba81a0b80d9
| * Remove libcore/include/ from Terminal's include path. am: 3cb5403b8d am: ↵Elliott Hughes2016-09-141-1/+0
| |\ | | | | | | | | | | | | | | | | | | | | | 31daf87a58 am: 62a4840e34 Change-Id: Ia6043d110f45372dd509d46b8e8462790cf887a7
| | * Remove libcore/include/ from Terminal's include path. am: 3cb5403b8dElliott Hughes2016-09-141-1/+0
| | |\ | | | | | | | | | | | | | | | | | | | | am: 31daf87a58 Change-Id: I91bb83b92acd7d83bf809e1403595feb0d60757b
| | | * Remove libcore/include/ from Terminal's include path.Elliott Hughes2016-09-141-1/+0
| | |/| | | | | | | | | | | | | | | | | | | | | am: 3cb5403b8d Change-Id: Ica3d52cee2a2a275e35056627ba71abecc201708
| | | * Remove libcore/include/ from Terminal's include path.Elliott Hughes2016-09-131-1/+0
| | |/ | | | | | | | | | Change-Id: I7db697df3c4651b3caa12d4eb85aed696d84ea19
* | | Remove useless #includes. am: 5637b60e63 am: cf2ca4f01f am: 40d6a76e73Elliott Hughes2016-04-301-2/+0
|\| | | | | | | | | | | | | | | | | | | | | | | | | | am: 05a5af8a2b * commit '05a5af8a2bdc294198485957121d55a95b34b671': Remove useless #includes. Change-Id: Ic4284e9fe2592ca65269677fa8973a43cb935c56
| * | Remove useless #includes. am: 5637b60e63 am: cf2ca4f01fElliott Hughes2016-04-301-2/+0
|/| | | |/ | | | | | | | | | | | | | | am: 40d6a76e73 * commit '40d6a76e7320e0ab0cf2449826d63920e8fcf666': Remove useless #includes. Change-Id: Ie18d3872557134590f8bfa7c97aa7bdbc6dc4703
| * Remove useless #includes. am: 5637b60e63Elliott Hughes2016-04-301-2/+0
|/| | | | | | | | | | | | | | | | | am: cf2ca4f01f * commit 'cf2ca4f01fd17f49edd77490517c83fd9c0f7e2a': Remove useless #includes. Change-Id: I44969471c45478ee08082c16006784a6fef5070f
| * Remove useless #includes.Elliott Hughes2016-04-301-2/+0
|/| | | | | | | | | | | | | | | | | am: 5637b60e63 * commit '5637b60e6311bde3458e2ed4be86644ce04c6cce': Remove useless #includes. Change-Id: I8393708de230beca5e60f144a965552d1e9b79f9
| * Remove useless #includes.Elliott Hughes2016-04-291-2/+0
|/ | | | | | | <util.h> is an empty file, and <utmp.h> isn't used by this code. Bug: http://b/28432688 Change-Id: Ibfd21643c55dc7c0e3ec4a9d89d351ee350995a4
* Show cursorTom Marshall2015-01-063-0/+44
| | | | Change-Id: I31e99d20f3c0fa887f057b352e69969cb805016e
* Remove rows/cols from nativeInitTom Marshall2014-12-312-10/+9
| | | | | | * 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
* Update and fix Terminal.Elliott Hughes2014-12-044-117/+15
| | | | | | | | | As of today, bionic has <pty.h>, so there's no need to have another here. Also fix bugs introduced in attempts to make this code 64-bit clean. Change-Id: I40746920764e84a829a3d1df5a900a419589b84a
* Now LOCAL_JNI_SHARED_LIBRARIES works for both bundled and unbundled build.Ying Wang2014-04-171-8/+1
| | | | Change-Id: I70f31f5cf4fa86f94fa1cdcd212f6e0ade3c549e
* Terminal: fix compiling for 64-bitColin Cross2014-04-082-32/+32
| | | | | | Use jlong to store the native pointer. Change-Id: I0d35871da53f08b8835c35a3675fb958e9ec230a
* Remove persistent flag from manifestMichael Wright2013-05-141-1/+0
| | | | | Bug: 8967660 Change-Id: I740dee44d7f3471e26183ba29b19e9f1609784d0
* Add scrollback support.Jeff Sharkey2013-04-2511-379/+625
| | | | | | | | | | | | | | | | | | | | | 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
* Add liblog.Ying Wang2013-04-101-1/+2
| | | | | Bug: 8580410 Change-Id: I345b43f305dc99a29da73e1f08185af5741eae76
* Include JNI in both system and unbundled apps.Jeff Sharkey2013-04-051-1/+8
| | | | Change-Id: Ib7767c9c0be07476960f6cf3fa8f15d0ded00ff8
* Disable ProGuard for development.Jeff Sharkey2013-03-281-1/+3
| | | | Change-Id: If082e282907b02abb3529d30b9d200fb5be2a2b2
* Terminal app disabled by default.Jeff Sharkey2013-03-051-1/+2
| | | | Change-Id: Ia8b3ef9976c97ca19ad79f39d24e3a24c1e7dcfb
* Decode UTF-32 chars.Jeff Sharkey2013-03-051-11/+13
| | | | | | Tested with emoji! Change-Id: I1b3b45f7fdb950c3c29ddad1d80c082c1175a68a
* Added input error handling and enabled keyboard inputMichael Wright2013-02-264-28/+26
| | | | Change-Id: Ie74da0b39d9002802c76dc3ceecd5082e7504f26
* Remove unnecessary castMichael Wright2013-02-251-1/+1
| | | | Change-Id: Ic10fb897be4002a151c898a7afc12e30114789fc
* Start hooking up keyboard input to viewMichael Wright2013-02-252-4/+91
| | | | Change-Id: I37fb55f8fadd79bf4f32f55bee83f879d4d90680
* Add jni hooks for key dispatchingMichael Wright2013-02-252-2/+51
| | | | Change-Id: I51b32fa8635c54418bea73ad7a1fa0c8213cfd32
* Add support for conversion from Android to libvterm keysMichael Wright2013-02-251-0/+165
| | | | Change-Id: I06b7f78aabe64b223c136bb452c9952daaba543b
* Updated proguard flagsMichael Wright2013-02-231-0/+1
| | | | Change-Id: I9b7148e2dd51d3ec8b52379829c33f5c43d46b87
* Service to host long-lived terminals, tab UI.Jeff Sharkey2013-02-2310-21/+372
| | | | | | | | | | | 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-233-10/+44
| | | | | | | 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-234-23/+34
| | | | | | | | | 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
* Fixed proguard issues on non-eng buildsMichael Wright2013-02-222-0/+3
| | | | Change-Id: Idbfd06cf53c7085081f76873894474cbdbeee874
* Start hooking up damage, shell script to test.Jeff Sharkey2013-02-213-13/+72
| | | | | | | 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-214-56/+53
| | | | | | Also switch to ScopedCharArrayRW. Change-Id: I1e22a166c48ba7209e624fc49bee8618e9b36f0d
* Add CellRun to speed up cell rendering.Jeff Sharkey2013-02-203-39/+92
| | | | | | | | | | | 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-202-4/+52
| | | | | | This also gives us the first glimpse of real rendered text. Change-Id: If05344f1deec6f9c469220861a13442287ce23bf
* Properly configure ptys on Terminal constructionMichael Wright2013-02-201-44/+50
| | | | Change-Id: Ia656feda07a752c66d56f72c9b8559b5d3543cf8
* Add forkpty functionMichael Wright2013-02-203-1/+106
| | | | Change-Id: I2eaac8c2c5c50f870a5a56806d0fd19dc5f386a1
* TerminalView to draw session contents.Jeff Sharkey2013-02-194-14/+299
| | | | | | | | | | | 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-192-6/+95
| | | | Change-Id: I5bd867a0ab5aaf138da75cedd5352a8876c61194
* Add callbacksKenny Root2013-02-194-35/+232
| | | | Change-Id: I0702f4ce4be69f86995956f98a0da52f47026f90
* Initial code for Terminal app, with JNI glue.Jeff Sharkey2013-02-199-0/+354
| | | | Change-Id: I4b2ecb2eef9bef7a8236391d19a3708751a7c71d