Commit Graph

1021 Commits

Author SHA1 Message Date
Jack Palevich
310ad8fef2 Merge branch 'Alexander---session-cleanup' 2015-04-14 08:14:53 -07:00
Jack Palevich
e68b37576d Merge branch 'session-cleanup' of github.com:Alexander--/Android-Terminal-Emulator into Alexander---session-cleanup 2015-04-14 08:09:20 -07:00
Jack Palevich
6a6e116c53 Update to Android Studio 1.2 beta 3 2015-04-14 08:08:42 -07:00
AlexanderR
8a8c017ef2 Fixed an issue with UTF-8 ioctl "failing"
The exercise of finding out, which ioctl was triggered and why was it "failing"
is left up to the reader
2015-04-06 20:59:49 +10:00
Jack Palevich
3db5b9985f Merge pull request #420 from sssemil/patch-1
Fix crashing on android wear
2015-04-05 09:32:24 -07:00
Jack Palevich
9d8b68447a Merge pull request #417 from jspricke/fix_install-sdk-packages2
Install current sdk packages when installing on CLI
2015-04-05 08:52:32 -07:00
Emil Suleymanov
05a88e9452 Fix crashing on android wear 2015-04-05 18:38:02 +05:00
AlexanderR
db90fa90db Moved most stuff out of Exec to allow proper handling of pty ioctl failures.
Moved all devpts-centered logic to GenericTermSession. Moved process
group hangup to ShellTermSession. Throw exceptions from pty-related
methods during initialization of BoundSession.
2015-04-04 22:29:00 +10:00
AlexanderR
20d34e0cad Eliminated maddening code duplication in Term.
Fixes failure to display title of BoundTermSession. Fixes issues
with closing windows, created via AIDL
2015-04-04 22:17:43 +10:00
AlexanderR
961760991d Use android-sdk-manager plugin to automate downloading Android SDK components. 2015-04-04 22:08:20 +10:00
Jochen Sprickerhof
01c6509607 Install current sdk packages when installing on CLI 2015-04-04 10:34:54 +02:00
Jack Palevich
fa7d39b94a Merge pull request #414 from jspricke/hide_material_design_action_bar
Allow hiding of Material Design ActionBar
2015-04-03 22:37:02 -07:00
Jack Palevich
e14d3588df Merge pull request #413 from jspricke/fix_install-sdk-packages
Install Android Support Repository when installing from CLI
2015-04-03 16:51:02 -07:00
Jochen Sprickerhof
351257f006 Allow hiding of Material Design ActionBar 2015-04-03 21:42:11 +02:00
Jochen Sprickerhof
8c1a2ce3e8 Install Android Support Repository when installing from CLI
Fixes #400, error message:

Could not resolve all dependencies for configuration ':libtermexec:_debugCompile'.
2015-04-03 19:15:33 +02:00
Jack Palevich
a074384874 Increment version number to v1.0.69 2015-04-02 09:46:23 -07:00
Jack Palevich
aa714a6888 Merge branch 'master' of github.com:jackpal/Android-Terminal-Emulator 2015-04-02 09:43:09 -07:00
Jack Palevich
acf220e12d Make V11-V20 show/hide actionbar overlay work again.
The actionbar overlay show/hide works by swapping the main view
between two custom styles, Theme.Holo and Theme.Holo.ActionBarOverlay.

It turns out that action bar styles must show the window title,
otherwise the actionBar will be invisible and code that calls
getActionBar will get a null action bar.

The bug was that when I updated the custom themes to support Material
Design, I mistakenly changed the custom theme Theme.Holo to inherit
from the custom theme Theme, which hides the window title.

Hence, the window had a theme which hid the window title, and
getActionBar() returned null.

Fixed by undoing the earlier change of theme inheritance. Now the
custom Theme.Holo theme inherits from the system
android:style/Theme.Holo (as it did originally) and this means that
the code gets a non-null action bar, and the actionbar can be
shown/hidden again.

Fixes issue #409 "action bar issue". Tested on emulator running
API level 19.

Fixes issue #410. "Pressing the back button when no soft keyboard is
displayed cause a NullPointerException"

I'm going to leave the extra actionBar == null checks that people
added to work around this bug. They're harmless and will help in
case there's ever some other reason that actionBar is null.
2015-04-02 09:42:20 -07:00
Jack Palevich
b53de6e395 Make V11-V20 show/hide actionbar overlay work again.
The actionbar overlay show/hide works by swapping the main view
between two custom styles, Theme.Holo and Theme.Holo.ActionBarOverlay.

It turns out that action bar styles must show the window title,
otherwise the actionBar will be invisible and code that calls
getActionBar will get a null action bar.

The bug was that when I updated the custom themes to support Material
Design, I mistakenly changed the custom theme Theme.Holo to inherit
from the custom theme Theme, which hides the window title.

Hence, the window had a theme which hid the window title, and
getActionBar() returned null.

Fixed by undoing the earlier change of theme inheritance. Now the
custom Theme.Holo theme inherits from the system
android:style/Theme.Holo (as it did originally) and this means that
the code gets a non-null action bar, and the actionbar can be
shown/hidden again.

Fixes issue #409 "action bar issue". Tested on emulator running
API level 19.

I'm going to leave the extra actionBar == null checks that people
added to work around this bug. They're harmless and will help in
case there's ever some other reason that actionBar is null.
2015-04-02 09:28:56 -07:00
Jack Palevich
a703fcaa0f Merge pull request #411 from dvhh/master
check for null value in mActionBar when pressing the back key
2015-04-02 08:52:06 -07:00
Jack Palevich
fabb30bad3 Merge pull request #408 from larsgrefer/german
Improved german translation
2015-04-02 08:50:46 -07:00
dvhh
4d729d863e check for null value in mActionBar when pressing the back key 2015-04-02 13:54:34 +09:00
Lars Grefer
3d344bed1e removed obsolete translations 2015-03-30 00:45:44 +02:00
Lars Grefer
faa6155554 improved germen translation 2015-03-29 23:45:00 +02:00
Jack Palevich
11650363ae Increment version number to 1.0.68 2015-03-29 11:45:36 -07:00
Jack Palevich
3b10abe267 Add minimal Material Design support
The Material theme is only used for API level 21+ aka Android 5.0 Lollipop
2015-03-29 11:37:57 -07:00
Jack Palevich
202248141a Make library work with Bionic API level 4 again. 2015-03-29 11:06:04 -07:00
Jack Palevich
245138af59 Revert Material Design changes.
Needs more thougth, specifically around show/hide action bar.
2015-03-28 16:32:51 -07:00
Jack Palevich
3c41dd71d3 Hide "Show/Hide Action Bar" preference for Material Design.
There's no way to unhide the action bar, so don't let the user hide it.

Added github issue #389 to implement magic material design
scrolling-hides-the-action-bar.

Hide rather than disable the preference for pre-Holo devices. No
reason to show the user a preference that they can't use.
2015-03-28 12:13:34 -07:00
Jack Palevich
964035a0fe Make v21 style more closely match pre-v21 style. 2015-03-28 12:12:28 -07:00
Jack Palevich
2aa45b30e4 Remove unused local variable. 2015-03-28 12:12:06 -07:00
Jack Palevich
243e292058 Improve change detection logic.
Notify the base class whenever the list of items might have changed. Previously
we did not notfiy for the case where the list of items was deleted.

Fixes an NPE on Nexus 9 running 5.0.1. Could in theory have caused problems
on any device, but for some reason simulated devices don't exhibit the bug.
2015-03-28 12:11:53 -07:00
Jack Palevich
3140b57b1d Put back in customizations from old styles. 2015-03-28 12:11:24 -07:00
Jack Palevich
0e293cab4c Style preferences activity. 2015-03-28 12:10:38 -07:00
Jack Palevich
41236b0e9a Initial Material Design support 2015-03-28 12:08:19 -07:00
Jack Palevich
1b643bcec3 Update TargetSDK to 22. MinSDK to 4 2015-03-28 12:06:34 -07:00
Jack Palevich
e626fa68d5 Increment version number to v1.0.67 2015-03-28 10:26:07 -07:00
Jack Palevich
68d35ad8c0 Update FileCompat for new shared library name. 2015-03-28 10:23:56 -07:00
Jack Palevich
c61947a483 Update release checklist. 2015-03-28 10:04:22 -07:00
Jack Palevich
9e67967845 Fix crash when tapping on Window button in action bar when using Material Design 2015-03-28 09:36:29 -07:00
Jack Palevich
505b073b3a Merge pull request #406 from Alexander--/libtermexec-cleanup
A bit of cleanup and refactoring in libtermexec and related native code.
2015-03-27 08:38:02 -07:00
Jack Palevich
645bb001eb Update README.md
Direct to download page that has multiple versions on it, rather than to the most recent version APK.
2015-03-27 08:20:43 -07:00
Alexander Rvachev
fb9872145a A bit of cleanup and refactoring.
Moved former native hangupProcessGroup into TermExec as sendSignal. Added some documentation,
that was accidentally removed in 13a90130e1. Bump version numbers
of native libraries to fix #401 and #403 (an ABI compatibility issue, encountered by firmware
developers and people, using ATE as a system app).
2015-03-27 08:29:08 +10:00
Jack Palevich
7dadc8cf14 Update launcher icons.
Previous version had non-zero alpha value in the border area,
especially noticable in the top-left corner.

Fixes issue #402
2015-03-25 18:30:40 -07:00
Jack Palevich
7f6c9c8283 New tool to help import launcher icons. 2015-03-25 18:30:05 -07:00
Jack Palevich
6548007132 Update Feature Graphic for new icon 2015-03-22 19:14:58 -07:00
Jack Palevich
c869ad6c15 Improve formatting of release checklist. 2015-03-22 17:07:42 -07:00
Jack Palevich
613a0646c3 Increment version number to v1.0.66 2015-03-22 17:01:39 -07:00
Jack Palevich
3055d26ca9 Use material design style launcher icon.
Courtesy Nathanel Titane.
2015-03-22 10:40:20 -07:00
Jack Palevich
fd70d93a7e Update Russian localization
courtesy Timofey Lisunov.
2015-03-22 10:19:00 -07:00