Commit Graph

1211 Commits

Author SHA1 Message Date
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
Jack Palevich
d3bce69271 Use ptsname_r instead of ptsname
This avoids a warning when compiling.
2015-03-22 09:54:34 -07:00
Jack Palevich
77aabc2277 Fix compiler warning.
NULL is not an integer in C++. Use 0.
2015-03-22 08:59:26 -07:00
Jack Palevich
df30b34905 Update Android Studio project files 2015-03-22 08:52:12 -07:00
Jack Palevich
c96848a15b Ignore .iml files
These are generated by Android Studio.
2015-03-22 08:50:49 -07:00
Jack Palevich
4b9c8d8647 Don't track IML files in the project history.
These are automatically generated by Android Studio.
2015-03-22 08:49:23 -07:00
Jack Palevich
c45393cc12 Close non-standard file descriptors when execing.
Fixes issue #399.
2015-03-22 08:47:03 -07:00
Jack Palevich
6cd994870d Merge branch 'Alexander---upstream-merge' 2015-03-22 08:04:26 -07:00
Jack Palevich
31a218bd3f Merge branch 'upstream-merge' of github.com:Alexander--/Android-Terminal-Emulator into Alexander---upstream-merge 2015-03-22 07:58:29 -07:00
Alexander Rvachev
01369b17fc Do not use multi-catch for reflection-related exceptions — it somehow compiles into
closest common parent, which is a ReflectiveOperationException, not supported on old
Android versions.
2015-03-16 11:38:33 +10:00
Jack Palevich
15255f81e3 Merge branch 'upstream-merge' of github.com:Alexander--/Android-Terminal-Emulator into Alexander---upstream-merge 2015-03-15 17:01:04 -07:00