OSDN Git Service
summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Jack Palevich [Sat, 27 Aug 2011 18:38:01 +0000 (11:38 -0700)]
Ignore local.properties
contains machine-specific information, not useful to save in repo.
Jack Palevich [Tue, 23 Aug 2011 03:53:29 +0000 (20:53 -0700)]
Shrink market icon to match "safe" bounds
See http://www.google.com/support/androidmarket/developer/bin/answer.py?answer=
1078870
Jack Palevich [Tue, 23 Aug 2011 03:39:40 +0000 (20:39 -0700)]
Improve market icon.
Shinier, and more like a terminal.
Jack Palevich [Sun, 21 Aug 2011 23:44:04 +0000 (16:44 -0700)]
Updated translations
Thanks to fireb33@gmail.com
Jack Palevich [Sat, 25 Jun 2011 12:11:04 +0000 (20:11 +0800)]
Increment version number.
Jack Palevich [Sat, 25 Jun 2011 12:09:29 +0000 (20:09 +0800)]
Update in-app documentation for special keys
Contributed by Steven Luo steven+android@steven676.net
Jack Palevich [Sat, 25 Jun 2011 12:07:44 +0000 (20:07 +0800)]
Add F1-F12 and Ins/Del/Home/End keys
Contributed by Steven Luo steven+android@steven676.net who writes:
The mapping is as follows:
Fn-[1-9]: F1-F9
Fn-0: F10
Ctrl-9: F11
Ctrl-0: F12
Fn-I: Ins
Fn-X: Del
Fn-H: Home
Fn-F: End
It should be noted that a real VT100 does not have Home/End keys, and as
such, the terminfo entry for TERM=vt100 doesn't contain escape codes for
Home and End. This bothers some applications, but not others. The
codes generated match those sent by the Linux console (TERM=linux),
which appears to work fine as a TERM setting since the emulation fixes
in 1.0.30. xterm sends different escape codes, though; I left the
escape codes at their present values because TERM=xterm causes problems
with some applications.
Addresses GitHub issue #9.
---
I'm unhappy with the reintroduction of different behaviors for the Ctrl
key, but I couldn't think of another choice that's guaranteed to make
sense on any soft keyboard layout. (Fn-J/K and Fn-(/) are the two other
possibilities that occurred to me.) Feel free to change.
Jack Palevich [Sat, 25 Jun 2011 12:03:30 +0000 (20:03 +0800)]
Fix behavior of Ctrl-[0-9]
Patch contributed by Steven Luo. steven+android@steven676.net
Steven writes:
In xterm on my Debian system, the Ctrl-[0-9] combinations appear to map
to the following:
Ctrl-2: ^@ (NUL)
Ctrl-3: ^[ (ESC)
Ctrl-4: ^\
Ctrl-5: ^]
Ctrl-6: ^^
Ctrl-7: ^_
Ctrl-8: \177 (DEL)
Ctrl-1, Ctrl-9, and Ctrl-0 appear to send 1, 9, and 0 respectively.
I have no idea whether anyone actually seriously uses these, but make
these key combinations behave in that manner, and remove the bogus
Ctrl-[0-9] and superfluous Fn-[234] combos.
Jack Palevich [Sat, 25 Jun 2011 12:00:54 +0000 (20:00 +0800)]
Make Ctrl/Fn-[A-Z] work with uppercase as well as lowercase letters
Patch courtesy Steven Luo steven+android@steven676.net
Steven says:
For Ctrl-[A-Z], this matches the behavior of xterm running on my Debian
box; for Fn-[A-Z], there are no possible compatibility issues and it
seems like the most natural thing to do.
Jack Palevich [Sat, 25 Jun 2011 11:50:56 +0000 (19:50 +0800)]
Add link to Downloads page to README file.
Jack Palevich [Sat, 25 Jun 2011 11:45:32 +0000 (19:45 +0800)]
Enable an initial command string to be passed as part of the intent.
Thanks to Christoph Schmidt-Hieber, M.D., c.schmidt-hieber@ucl.ac.uk
for the idea and the patch.
Jack Palevich [Sat, 25 Jun 2011 11:35:39 +0000 (19:35 +0800)]
Update Italian localization
Thanks to fireb33@gmail.com
Jack Palevich [Sat, 18 Jun 2011 11:43:58 +0000 (19:43 +0800)]
Increment version number.
Jack Palevich [Sat, 18 Jun 2011 13:16:32 +0000 (21:16 +0800)]
Implement a "None" setting for control and function keys.
Thanks to Eli Grey <me@eligrey.com> for the idea.
Also made the "Special keys" dialog text localizable.
Jack Palevich [Sat, 18 Jun 2011 13:11:42 +0000 (21:11 +0800)]
Rename the rt tool to pushAndRun
This tool is used to build and test the terminal emulator.
Jack Palevich [Sat, 18 Jun 2011 11:43:22 +0000 (19:43 +0800)]
Allow application to be installed on the SD Card.
Jack Palevich [Sat, 18 Jun 2011 11:40:54 +0000 (19:40 +0800)]
Fix insert and delete line code.
Thanks to Sam Jacobson <sam.jacobson@snitchinc.com> for the
bug report and fix!
Jack Palevich [Sat, 18 Jun 2011 11:37:15 +0000 (19:37 +0800)]
Implement missing SGR escape codes
Thanks to Sam Jacobson <sam.jacobson@snitchinc.com> for the bug report!
Jack Palevich [Sat, 18 Jun 2011 13:17:09 +0000 (21:17 +0800)]
Escape single quote character so string resource compiles.
Jack Palevich [Sat, 18 Jun 2011 11:02:36 +0000 (04:02 -0700)]
Merge pull request #20 from cpasmoi/master
missing translations
cpasmoi [Mon, 30 May 2011 00:51:05 +0000 (17:51 -0700)]
missing translations
cpasmoi [Mon, 30 May 2011 00:38:40 +0000 (17:38 -0700)]
missing translations
Jack Palevich [Tue, 24 May 2011 22:51:17 +0000 (06:51 +0800)]
Increment version number.
Jack Palevich [Tue, 24 May 2011 22:49:02 +0000 (06:49 +0800)]
Use a global reference to hold onto a class object between JNI calls.
This bug was detected by using CheckJNI
(setprop dalvik.vm.checkjni true; stop; start).
Jack Palevich [Tue, 24 May 2011 12:15:51 +0000 (20:15 +0800)]
Update local properties for building on a new machine.
(Maybe I shouldn't check this file in at all.)
Jack Palevich [Tue, 24 May 2011 12:15:15 +0000 (20:15 +0800)]
Increment version number.
Steven Luo [Tue, 24 May 2011 07:39:15 +0000 (00:39 -0700)]
Change shared library name (again) to make sure our copy takes precedence on CyanogenMod
Commit
28d47b8... ("Fix java.lang.UnsatisfiedLinkError error.") changed
the name of the shared library from libandroidterm to libandroidterm2,
to avoid a potential library conflict with API/ABI incompatible versions
being shipped in some custom firmwares. Unfortunately, CyanogenMod also
uses the name libandroidterm2:
https://github.com/CyanogenMod/android_packages_apps_AndroidTerm/commit/
7d0de89f0ed5231a7d7eb3ca7917accb83c8eaee
Change the name again, this time to something that should hopefully be
unique, which should fix the problems that CyanogenMod users have been
reporting in the Android Market comments. (A big scary warning to
firmware distributors that the shared library ABI must not be modified
without consulting upstream might be appropriate somewhere ...)
Signed-off-by: Jack Palevich <jackpal@google.com>
Jack Palevich [Mon, 25 Apr 2011 17:27:50 +0000 (10:27 -0700)]
Bump version number.
Jack Palevich [Mon, 25 Apr 2011 17:27:33 +0000 (10:27 -0700)]
Fix java.lang.UnsatisfiedLinkError error.
Change shared library name from libandroidterm to libandroidterm2
My theory is that this bug is happening on systems that have
system versions of the libandroidterm shared library.
Version 1.0.26 of Android Terminal Emulator added a new API,
hangupProcessGroup, to the libandroidterm library.
I think on devices that have libandroidterm in their system library,
that version takes precedence over the version in the application,
and so the hangupProcessGroup API is not found.
By changing the name of the libandroidterm library to libandroidterm2
we should avoid loading the system version of the
libandroidterm library.
Jack Palevich [Mon, 25 Apr 2011 17:13:02 +0000 (10:13 -0700)]
Housekeeping odds-and-ends.
Make sure the release build is a clean build.
Regenerate build.xml
Add update.sh script for regenerating build.xml
Jack Palevich [Sat, 23 Apr 2011 19:15:23 +0000 (12:15 -0700)]
Rename buld tool, and make it build the JNI code as well.
Jack Palevich [Sat, 23 Apr 2011 18:39:59 +0000 (11:39 -0700)]
Bump version number.
Jack Palevich [Sat, 23 Apr 2011 18:37:01 +0000 (11:37 -0700)]
Add commitCorrection() to our InputConnection
Required in order to compile under API level 10.
Jack Palevich [Sat, 23 Apr 2011 18:29:57 +0000 (11:29 -0700)]
Add setComposingRegion() and getSelectedText() to our InputConnection
The definition of the InputConnection interface for SDK version >= 9
includes new functions setComposingRegion() and getSelectedText(). If
we don't include them in our implementation, the build fails with
[javac] /home/steven/devel/android-terminal-emulator/src/jackpal/androidterm/Term.java:2955: <anonymous jackpal.androidterm.EmulatorView$4> is not abstract and does not override abstract method setComposingRegion(int,int) in android.view.inputmethod.InputConnection
(at least when building with SDK 10).
Jack Palevich [Sat, 23 Apr 2011 18:21:27 +0000 (11:21 -0700)]
Make the Terminal activity singleTask instead of singleInstance
With the Terminal activity's launchMode set to singleInstance, the
Preferences activity starts a new task, which can lead to some very
strange back stack behavior. Set launchMode to singleTask instead,
which will allow the Preferences activity into the same task.
Jack Palevich [Sat, 23 Apr 2011 18:17:29 +0000 (11:17 -0700)]
Add menu options to take WakeLock and WifiLock
It can be very useful to prevent the device from sleeping or from
turning off the wifi radio -- but in a general terminal application it's
difficult to guess when this is wanted. Consider the following:
(1) Nothing is happening. We don't want to hold either a WakeLock or
WifiLock.
(2) The user is logged into a remote system via SSH on wifi. We don't
need to hold a WakeLock, but should take a WifiLock to prevent the SSH
session from being disconnected.
(3) The user is doing some long-running computation (locally on the
device) in the shell. We should take a WakeLock, but not a WifiLock.
(4) The user is doing apt-get dist-upgrade in her Debian chroot on the
device. We should hold both a WakeLock and a WifiLock.
Therefore, assume the user knows best, and add menu options to take/drop
a WakeLock and a WifiLock. Note that this requires adding WAKE_LOCK to
the set of permissions we use.
Jack Palevich [Sat, 23 Apr 2011 18:13:25 +0000 (11:13 -0700)]
Add a service to prevent Android from killing our process
By default, an Android process is liable to be killed whenever it's
not in the foreground. When this happens to us, it leaves the user
unable to resume her terminal session, which is still running.
By starting a service in our process (even one which, like this one,
does nothing at all) and marking it as a foreground service, we prevent
the system from killing our process except in out-of-memory situations.
Jack Palevich [Sat, 23 Apr 2011 18:04:59 +0000 (11:04 -0700)]
Add an Fn key for easier access to extra keys
Instead of overloading the Ctrl key to provide arrow keys and send some
control characters, add a new "Fn" key (defaulting to Volume Up) to
provide these functions. By splitting Ctrl and Fn, we can reach these
functions via the more easily-accessible letters, and also provide
access to more useful keys (such as PageUp/Down and Tab).
The mapping is this:
Fn-W/A/S/D: Up/Left/Down/Right
Fn-P/N: PageUp/PageDown
Fn-T: Tab
Fn-L: |
Fn-U: _
Fn-E: Ctrl-[ (Esc)
Fn-.: Ctrl-\
Fn-2: Ctrl-_
Fn-3: Ctrl-^
Fn-4: Ctrl-]
Jack Palevich [Sat, 23 Apr 2011 17:55:56 +0000 (10:55 -0700)]
Kill the started process group in onDestroy
As it stands now, if the user presses the Back button without closing
her shell, it will keep running unattached to any tty. Over time, this
leads to a buildup of shells, each inaccessible to the user.
Fix this by doing what xterm and other terminals do -- send SIGHUP to
the process group of the started process when quitting.
Steven Luo [Sat, 23 Apr 2011 17:17:13 +0000 (10:17 -0700)]
Remove unused variable in native implementation of Exec.close()
Jack Palevich [Sun, 17 Apr 2011 14:51:03 +0000 (07:51 -0700)]
Turkish localization
Provided by Doğukan Korkmaztürk <d.korkmazturk@gmail.com>
Jack Palevich [Sun, 10 Apr 2011 23:28:30 +0000 (16:28 -0700)]
Declare SDK target 10 (Gingerbread) rather than 11 (Honeycomb)
Otherwise the Options menu key doesn't appear on Honeycomb devices.
Jack Palevich [Sun, 10 Apr 2011 22:43:28 +0000 (15:43 -0700)]
Declare that we don't require a touchscreen.
Jack Palevich [Sun, 10 Apr 2011 22:24:05 +0000 (15:24 -0700)]
Add support for Android 1.5
+ set minSdkVersion to 3, so we run on Android 1.5
+ set targetSdkVersion to 11, so we run without compatability hacks.
- otherwise the terminal emulator screen size calculation is
incorrect and scrolling doesn't work on Android 2.3 devices.
+ add a res/drawable/app_terminal.png file, so that we get a
custom launcher icon on Android 1.5 devices.
+ bump version name to 1.0.22.
+ add files to support building from command line using "ant".
Jack Palevich [Wed, 9 Feb 2011 17:00:41 +0000 (09:00 -0800)]
Mark this module optional.
Jack Palevich [Tue, 8 Feb 2011 18:18:35 +0000 (10:18 -0800)]
Add Android.mk file
To help people trying to incorporate AndroidTerm in their own custom
ROMs.
(This hasn't been tested, but it might work.)
Jack Palevich [Sun, 9 Jan 2011 18:31:17 +0000 (10:31 -0800)]
Add '|' and arrow keys to "Special Chars"
Add 'Camera' button as a possible Control key
Make 'Volume Down' the default control key.
Jack Palevich [Sun, 9 Jan 2011 01:08:41 +0000 (17:08 -0800)]
Ignore a png file that's a documentation build artifact.
Jack Palevich [Sun, 9 Jan 2011 01:07:11 +0000 (17:07 -0800)]
Add a white background layer.
Jack Palevich [Sun, 9 Jan 2011 00:37:29 +0000 (16:37 -0800)]
We don't require a touch screen, even though we use the feature.
Jack Palevich [Sun, 9 Jan 2011 00:15:46 +0000 (16:15 -0800)]
Bump version number.
Jack Palevich [Sun, 9 Jan 2011 00:15:36 +0000 (16:15 -0800)]
Handle composing text.
Jack Palevich [Sat, 1 Jan 2011 17:57:07 +0000 (09:57 -0800)]
Translation strings courtesy CyanogenMod:
https://github.com/CyanogenMod/android_packages_apps_AndroidTerm
Jack Palevich [Sat, 1 Jan 2011 17:50:35 +0000 (09:50 -0800)]
Modify text selection algorithm to work better:
+ Use drag to select rather than two taps.
+ Text selection is now a spring-loaded mode: It only lasts for
one drag session.
+ Add a verical offset so you can see what you're selecting.
Jack Palevich [Sat, 1 Jan 2011 16:05:58 +0000 (08:05 -0800)]
Fix style of text selection patch.
Jack Palevich [Sat, 1 Jan 2011 15:37:21 +0000 (07:37 -0800)]
Merge branch 'master' of https://github.com/pelya/Android-Terminal-Emulator into pelya-master
Jack Palevich [Sat, 1 Jan 2011 15:35:40 +0000 (07:35 -0800)]
Update docs for current build environment.
pelya [Mon, 27 Dec 2010 14:16:43 +0000 (14:16 +0000)]
Added an option for selecting part of the text on the screen with two screen touches.
Jack Palevich [Sun, 28 Nov 2010 05:27:42 +0000 (21:27 -0800)]
Bump version number.
Jack Palevich [Sun, 28 Nov 2010 04:34:19 +0000 (20:34 -0800)]
Add support for full PC keyboards.
Tested with a Logitech Bluetooth keyboard.
Jack Palevich [Mon, 22 Nov 2010 14:48:08 +0000 (06:48 -0800)]
Adobe Photoshop file for high-resolution icon for Android Market.
Jack Palevich [Fri, 19 Nov 2010 10:28:02 +0000 (02:28 -0800)]
Avoid potential memory leak in String8::set
(Not an actual memory leak because the current clients of String8
never call set more than once for the same object. But you never
know who might use String8 in the future.)
Jack Palevich [Fri, 19 Nov 2010 10:25:22 +0000 (02:25 -0800)]
Bump version number.
(I think this change was made a long time ago, just forgot to publish it.)
Todd Musall [Sat, 11 Sep 2010 15:58:15 +0000 (11:58 -0400)]
Support swype delete key long press
Jack Palevich [Sun, 12 Sep 2010 16:41:10 +0000 (09:41 -0700)]
Bump version number.
Todd Musall [Sun, 5 Sep 2010 14:53:06 +0000 (10:53 -0400)]
IME arrow key support
Jack Palevich [Sat, 4 Sep 2010 15:19:17 +0000 (08:19 -0700)]
Moved updates to a new page.
Jack Palevich [Sat, 4 Sep 2010 15:11:14 +0000 (08:11 -0700)]
Improve formating.
Jack Palevich [Sat, 4 Sep 2010 15:09:00 +0000 (08:09 -0700)]
Give proper extension for markdown.
Jack Palevich [Sat, 4 Sep 2010 15:07:20 +0000 (08:07 -0700)]
Edit markup.
Jack Palevich [Sat, 4 Sep 2010 14:42:10 +0000 (07:42 -0700)]
Support Swype IME backspace key.
Thanks to Julian Brost (who fixed the same bug in the connectbot project),
and thanks to Todd Musall for spotting the bug fix in the connectbot
tracker, and tried it out in Android Term.
In general we now support any IME trying to delete text to the left of
the cursor by calling InputConnector.deleteSurroundingText(). We generate
one "del" key event for each character of text that is to be deleted.
We don't support deleting text to the right of the cursor. If this
becomes an issue we can experiment with forward-cursor followed by del.
Jack Palevich [Sat, 4 Sep 2010 13:57:29 +0000 (06:57 -0700)]
Import sources from code.google.com/p/androidterm
Jack Palevich [Sat, 4 Sep 2010 13:50:53 +0000 (06:50 -0700)]
imported readme
Jack Palevich [Sat, 4 Sep 2010 13:49:00 +0000 (06:49 -0700)]
first commit