1. 06 Jan, 2015 1 commit
    • Tom Marshall's avatar
      Show cursor · 5b68e8ad
      Tom Marshall authored
      Change-Id: I31e99d20f3c0fa887f057b352e69969cb805016e
      5b68e8ad
  2. 31 Dec, 2014 3 commits
  3. 05 Dec, 2014 1 commit
    • Elliott Hughes's avatar
      Update and fix Terminal. · ffbad51d
      Elliott Hughes authored
      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
      ffbad51d
  4. 18 Apr, 2014 1 commit
  5. 08 Apr, 2014 1 commit
  6. 14 May, 2013 1 commit
  7. 25 Apr, 2013 1 commit
    • Jeff Sharkey's avatar
      Add scrollback support. · 00b00812
      Jeff Sharkey authored
      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
      00b00812
  8. 10 Apr, 2013 1 commit
    • Ying Wang's avatar
      Add liblog. · a816285f
      Ying Wang authored
      Bug: 8580410
      Change-Id: I345b43f305dc99a29da73e1f08185af5741eae76
      a816285f
  9. 06 Apr, 2013 1 commit
  10. 28 Mar, 2013 1 commit
  11. 06 Mar, 2013 2 commits
  12. 26 Feb, 2013 3 commits
  13. 25 Feb, 2013 2 commits
  14. 24 Feb, 2013 1 commit
  15. 23 Feb, 2013 4 commits
    • Jeff Sharkey's avatar
      Service to host long-lived terminals, tab UI. · de15e79a
      Jeff Sharkey authored
      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
      de15e79a
    • Jeff Sharkey's avatar
      Correctly resize terminal, hook up colors. · cedf158c
      Jeff Sharkey authored
      Resize needed to kick the vterm library.  Hook up colors to CellRun
      and cluster cells into single run until style changes.
      
      Change-Id: Ib2984d8eedaf6085aba98df7997104b59a832967
      cedf158c
    • Jeff Sharkey's avatar
      Working damage! · 6a142b6d
      Jeff Sharkey authored
      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
      6a142b6d
    • Michael Wright's avatar
      Fixed proguard issues on non-eng builds · fa50ddd4
      Michael Wright authored
      Change-Id: Idbfd06cf53c7085081f76873894474cbdbeee874
      fa50ddd4
  16. 22 Feb, 2013 2 commits
  17. 21 Feb, 2013 4 commits
  18. 20 Feb, 2013 4 commits
    • Jeff Sharkey's avatar
      TerminalView to draw session contents. · 410e0da3
      Jeff Sharkey authored
      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
      410e0da3
    • Jeff Sharkey's avatar
      Start hooking up forkpty() · 5d4b3955
      Jeff Sharkey authored
      Change-Id: I5bd867a0ab5aaf138da75cedd5352a8876c61194
      5d4b3955
    • Kenny Root's avatar
      Add callbacks · 8c040334
      Kenny Root authored
      Change-Id: I0702f4ce4be69f86995956f98a0da52f47026f90
      8c040334
    • Jeff Sharkey's avatar
      Initial code for Terminal app, with JNI glue. · ef946f3a
      Jeff Sharkey authored
      Change-Id: I4b2ecb2eef9bef7a8236391d19a3708751a7c71d
      ef946f3a
  19. 19 Feb, 2013 1 commit