History log of /sdk/ddms/libs/ddmuilib/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
2da27350e6d5226d5b61720d0d4fbdf32ee0f976 10-Sep-2012 Siva Velusamy <vsiva@google.com> ddms: report user id if available

The HELO and APNM packets may append the user id at the end of the
packet. If that data is available, display it as part of the
application name.

Change-Id: Ie353c2cc2895db649fc6ab6054f1c88f5d2f247f
rc/com/android/ddmuilib/DevicePanel.java
c0301a5278b6d179bc21df601f1a346f76fda578 19-Jul-2012 Siva Velusamy <vsiva@google.com> Fix classpath for ddmuilib-tests

Change-Id: Ie085ec76f9033d50acf086b89748e764b33f5f0c
ests/.classpath
2c6188187236e0147423c4e0cdc2faaeaf40d32c 23-Jun-2012 Michael Wright <michaelwr@google.com> Fixed DDMS network statistics parsing

Change-Id: I6238185edd10227a01ae2f5282de18b17edb26bc
rc/com/android/ddmuilib/net/NetworkPanel.java
ac7b42776fb6d479ea001b2c1392188c0fa80551 22-Jun-2012 Siva Velusamy <vsiva@google.com> logcat: fix potential NPE

Fix NPE that could happen if the device goes offline even before
logcat command is issued on it,

Change-Id: I334caae5e42d25eff396ce0b7b7a5e44c3ed4f61
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
b7f70835c533f0f07a1f52f75a1bbe783c32e010 12-Jun-2012 Siva Velusamy <vsiva@google.com> Provide readable device name rather than just serial number

There are a number of places where we need to display a device
name. Currently, DDMS shows the serial number + manufacturer/model
if available, but in other instances, we just show the serial
number.

This CL provides a getName() method in the IDevice interface so
that all the locations which require a human readable name can
use this.

The name is typically of the form manufacturer-model-serial.
If the manufacturer/model strings are not available, then those
fields are omitted, so it will show just the serial number.

Change-Id: I80ef7b48a4c7c8587042c1227c932251e18dba2e
rc/com/android/ddmuilib/DevicePanel.java
46e46005df47d0fbb8cf32d33e55064ae557a874 08-Jun-2012 Siva Velusamy <vsiva@google.com> Find Dialog: allow control over the default action.

This CL allows the default action to be either of the "Find Next"
or the "Find Previous" buttons in the find dialog.

Typically, in logcat you want to find previous, while in gltrace
view you want to find next.

Change-Id: Ie11cbd8a7987b8011ec2ee3664034e9ecfc4e24b
rc/com/android/ddmuilib/FindDialog.java
74b8747ea4acfe74aec3f15a544862340f62587b 07-Jun-2012 Siva Velusamy <vsiva@google.com> NetworkPanel: Update socket tag decoding

Change-Id: If2e89c894f5f11104e30d892bcae2b2daec17b08
rc/com/android/ddmuilib/net/NetworkPanel.java
af61d7692ef895192816a1c38f420c52423389e7 06-Jun-2012 Siva Velusamy <vsiva@google.com> Move base class for FindDialog to a common location.

Change-Id: Ie3b2e424a7dc9df73aca1c7914497f1c9a126901
rc/com/android/ddmuilib/AbstractBufferFindTarget.java
rc/com/android/ddmuilib/FindDialog.java
rc/com/android/ddmuilib/IFindTarget.java
rc/com/android/ddmuilib/logcat/FindDialog.java
rc/com/android/ddmuilib/logcat/IFindTarget.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/RollingBufferFindTarget.java
ests/src/com/android/ddmuilib/logcat/RollingBufferFindTest.java
b7e78783e6ea376a39ee3df272ef6c6325b72248 05-Jun-2012 Siva Velusamy <vsiva@google.com> logcat find dialog: Add missing trim()

Change-Id: I137994ea4723299461c695559d664230a98b082f
rc/com/android/ddmuilib/logcat/FindDialog.java
f6070eaead8aa560f556eeafcf4e326fd6fdb343 05-Jun-2012 Siva Velusamy <vsiva@google.com> logcat: Support searching through the message list.

This CL adds support for invoking a find dialog when
the logcat view is in focus. The dialog can be invoked
via Edit -> Find (Ctrl + F), or via the context menu.

The dialog provides a way to specify a search term and
allows the user to search forward or backward in the
list of messages.

Change-Id: I7e7c6b20a051c161f035b3b45aba5f119f2c11a9
rc/com/android/ddmuilib/logcat/FindDialog.java
rc/com/android/ddmuilib/logcat/IFindTarget.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/RollingBufferFindTarget.java
ests/src/com/android/ddmuilib/logcat/RollingBufferFindTest.java
eb1769cf775808619085ab0d04b930fe3647dc48 01-Jun-2012 Siva Velusamy <vsiva@google.com> Merge "logcat: Fix scroll lock icon"
639af9ec1b8fbe507ff5128e7601d5f160644b09 01-Jun-2012 Siva Velusamy <vsiva@google.com> logcat: Fix scroll lock icon

Change-Id: I3825ba3149c644e834744f347a3973e9c8cd07ce
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/images/pause_logcat.png
rc/images/scroll_lock.png
764d9297c9631f239c8ebafc64edc77db80ce3c2 01-Jun-2012 Tor Norbye <tnorbye@google.com> Fix warnings

First, update our various project-specific Eclipse compiler settings
configuration files to include the new Eclipse 4 flags.

Second, turn off the "Unchecked conversion from non-annotated type to
@NonNull" warnings; there are hundreds or thousands of these, and
there isn't much we can do about them when they're coming from
platform and library APIs.

Third, make the lint projects warning-clean again by addressing
various warnings Eclipse found (such as some unclosed resources and
some null handling issues; yesterday's null annotation fixes only
addressed errors, not warnings.)

Change-Id: If75f7401a1cbeef1bf58b47ccaa9ad17bede7f91
settings/org.eclipse.jdt.core.prefs
547c7761208632134d33eace29c81a4e60cd0a69 31-May-2012 Tor Norbye <tnorbye@google.com> Fix "Resource leak: <Foo> is never closed"

This changeset fixes various code fragments opening
resources without closing them.

Change-Id: I6ed48a32dc5de4c11cab394dd3883ebbb54d2938
rc/com/android/ddmuilib/log/event/EventLogPanel.java
rc/com/android/ddmuilib/logcat/LogPanel.java
rc/com/android/ddmuilib/net/NetworkPanel.java
c5d0356b589105c45f9badb34a537de9f6f0dce8 26-May-2012 Siva Velusamy <vsiva@google.com> logcat: Allow users to set colors for different priorities.

This patch enables users to customize the colors used for
log messages of different priority levels. These settings
are available in the Android -> Logcat -> Colors preference page.

This fixes: http://code.google.com/p/android/issues/detail?id=31494

Change-Id: I9430f573f84f09d00bfe25d6e53eeccf4e338e9d
rc/com/android/ddmuilib/logcat/LogCatPanel.java
eef4ed8effbf4b698f0ae683331d1c2fe2515d42 09-May-2012 Siva Velusamy <vsiva@google.com> Allow users more control over auto monitoring logcat.

To help users who don't know about logcat, we automatically monitor
logcat output to see if there are any errors from a user application,
and if so, display the logcat view.

This patch makes this feature a bit easier to use:
- The first time the logcat view is about to be displayed, a dialog
is shown that allows the users to enable/disable auto monitoring.
Note that this can also be done via logcat preferences.
- Users can now control the message priority that will trigger
auto monitoring.
- Once the logcat view has been displayed, we turn off auto monitoring
until the next launch. This reduces overhead and avoids unnecessary
change of focus in cases where the user is already interacting with
the logcat view.

Change-Id: I44a9ccea9148dea7bf6dc7d7864a1bb56a7376fe
rc/com/android/ddmuilib/logcat/LogCatPanel.java
6e8efa22a0b375e141daf7497272fe70c6425bc0 04-May-2012 Siva Velusamy <vsiva@google.com> logcat: Validate regex patterns before creating filters.

Currently, when users create regex based filters, any error in the
regex pattern is logged. When the error is logged, context switches
to the Eclipse console view. As a result, users have to switch back
to the logcat view and fix the error.

This patch validates the text on entry and sets the text color to
be red if the pattern is incorrect. There are no context switches
as a result.

This fixes issue: http://code.google.com/p/android/issues/detail?id=22019

Change-Id: I5b571e34c1517b0a78046b56ad83c2aa8632abdb
rc/com/android/ddmuilib/logcat/LogCatFilter.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
b12a40ecf16b2cb14eec42822efff3c9dc1e2188 04-May-2012 Siva Velusamy <vsiva@google.com> logcat: Add a device disconnected message.

When a device is disconnected, an explicit message informing
the user of this event is attached to the log.

See http://code.google.com/p/android/issues/detail?id=25830 for
the reason why this might be useful.

Change-Id: I969004cb72b877b8319a639607f82c1c9f9a8635
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
206b3513654dcc7765c5c7c6fe2ab2423cb76afe 04-May-2012 Siva Velusamy <vsiva@google.com> Add ability to right click on a message to create filter

This patch allows users to create logcat filters based on an
existing message. When a message is right clicked, it brings up
a menu with an entry that says "Filter similar messages..".
Selecting that will bring up the "Add new filter" dialog with
its input fields prefilled based on the message contents.

This fixes: http://code.google.com/p/android/issues/detail?id=25835

Change-Id: If324330cbf78b503be61c31ebcff053d0f869c1e
rc/com/android/ddmuilib/logcat/LogCatPanel.java
231d5ea266e58657282865b1166e329fd333dcd1 01-May-2012 Siva Velusamy <vsiva@google.com> logcat: Remove JFace TableViewer and use SWT Table directly

This patch fixes a bunch of outstanding issues related to
scrolling in the presence of a full buffer.

Currently, the logbuffer is provided as the input model to the
TableViewer, and ViewerFilter's are used to filter the data.

This patch removes the JFace toolkit and directly works on the
SWT Table. When log messages arrive, rather than refreshing the
entire table, we can now just delete the TableItems corresponding
to the logs that were pushed out, and add new TableItems for the
incoming logs.

At steady state, this implementation performs far less work than
the previous implementation. However, during startup, this
implementation will perform more work since it does not use the
SWT.VIRTUAL bit (as all TableItems are created anyway).

Also, zebra striping has been removed to avoid appearance of flicker
when scroll lock is on.

Auto scroll lock behavior has been removed, and scroll lock button
behaves exactly like the scroll lock button in an Eclipse console.

Change-Id: Ic14487f7ad41338a581aed0ba2d85d292a584950
rc/com/android/ddmuilib/logcat/ILogCatBufferChangeListener.java
rc/com/android/ddmuilib/logcat/ILogCatMessageEventListener.java
rc/com/android/ddmuilib/logcat/LogCatFilterContentProvider.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsDialog.java
rc/com/android/ddmuilib/logcat/LogCatMessageContentProvider.java
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatMessageList.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
rc/com/android/ddmuilib/logcat/LogCatViewerFilter.java
bcfb71ca12af511996cf5fc90c6bf38e6bb55a20 21-Apr-2012 Siva Velusamy <vsiva@google.com> Merge "Fixes unexpected rows are copied when LogCat paused."
82d381553aa80cdc80a776a45d803b615f3ea5ab 12-Apr-2012 Raphael Moll <ralf@android.com> SDK: Fix classpath for eclipse projects.

swt.jar must be found relative to the out/ dir
(as generated by create_all_symlinks.sh) to avoid
setting a platform-specific path.

swtmenubar was missing the new libs references.

Change-Id: I365cfa6e011ec831c4df87cb36b0df722caac2e4
classpath
957eea5115b9f72508c33942dbf02f3a54de1a7f 06-Apr-2012 Sebastian Roth <sebastian.roth@gmail.com> Ensure screenshots saved through DDMS end with .png.

This patch simply makes sure that the filename will have a .png extension when saving a screenshot through DDMS.

Change-Id: Idb00259ac456fcaf11ee99736663fc7ddbbc505b
Signed-off-by: Sebastian Roth <sebastian.roth@gmail.com>
rc/com/android/ddmuilib/ScreenShotDialog.java
60b85b4ced380973f627a5882b4faae0771f0d0b 05-Apr-2012 Tor Norbye <tnorbye@google.com> Switch libraries from Eclipse 3.4 to Eclipse 3.6.2

This reverts commit f3d3fa912a10e20cadae813b80a66e538f77131d.

Change-Id: I72e28e21db3c7f959040c1fbb9df14e4d85d0df4
classpath
ndroid.mk
tc/manifest.txt
ests/Android.mk
845fa5749353466013eb0f20c3d46733f33eba8e 05-Apr-2012 Xavier Ducrohet <xav@android.com> Update classpath for eclipse project due to prebuilt move.

Don't use User Libraries. It's easier to just hardcode them with
a classpath variable.

Change-Id: If8c1236199dd6766d48cf9b553fa2a9ee0d236e6
classpath
047400e2c752b070ca008d1b09db4e8778f8aaff 04-Apr-2012 Keiji Ariyama <keiji_ariyama@c-lis.co.jp> Fixes unexpected rows are copied when LogCat paused.

Issue: http://code.google.com/p/android/issues/detail?id=28253

Change-Id: If7b3c2a898b30834a8e76c5aad615a41ba5ecc04
rc/com/android/ddmuilib/logcat/LogCatMessageList.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
f3d3fa912a10e20cadae813b80a66e538f77131d 03-Apr-2012 Tor Norbye <tnorbye@google.com> Revert "Switch libraries from Eclipse 3.4 to Eclipse 3.6.2"

This reverts commit b0c819f896b3c579633849e3fa674a30e6978dd7.
ndroid.mk
tc/manifest.txt
ests/Android.mk
b0c819f896b3c579633849e3fa674a30e6978dd7 19-Mar-2012 Tor Norbye <tnorbye@google.com> Switch libraries from Eclipse 3.4 to Eclipse 3.6.2

This updates the org.eclipse.core.command, org.eclipse.jface and
org.eclipse.equinox libraries from Eclipse 3.4 to Eclipse 3.6.2.

It also updates SWT from 3.4 to 3.6.2 (and this drops the Carbon
support from the SwtMenuBar library since SWT 3.5 switched to Cocoa by
default.)

Change-Id: I7e8a6e3b8cb473f90eca3b90e3f3dc5fa5099b71
ndroid.mk
tc/manifest.txt
ests/Android.mk
240768b9433e3cb394fe6a8d35de0eb324bf799d 06-Mar-2012 Siva Velusamy <vsiva@google.com> logcat: support new format for "logcat -v long"

The thread id's output in "logcat -v long" used to be encoded in hex,
but not anymore. This fixes the logcat parser to accomodate both the
old and the new formats.

Change-Id: I0871a68f2f82c5e4660c404ec8970063d7b68a88
rc/com/android/ddmuilib/logcat/LogCatMessage.java
rc/com/android/ddmuilib/logcat/LogCatMessageParser.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterTest.java
ests/src/com/android/ddmuilib/logcat/LogCatMessageParserTest.java
29928a2b799230c6bc222152823cec0b6887695e 06-Feb-2012 Siva Velusamy <vsiva@google.com> logcat: Fix deadlock

LogCatReceiverFactory has a deadlock scenario that occurs like this:

1. When a device is disconnected, removeReceiverFor() is called from
a DDMS device monitor thread. This thread holds certain DDMS internal
locks. removeReceiverFor() is synchronized on LogCatReceiverFactory.
So we have:
DDMS thread - holds device lock
removeReceiverFor - waiting to obtain lock for "this" object.
2. At the same time, a separate thread could call newReceiver.
As part of creating a new receiver, we add a device change listener.
So we have:
newReceiver - holds "this" object.
create device change listener - waiting for device lock.

As a result, the system deadlocks. This patch fixes this condition by
calling the removeReceiverFor from a non DDMS thread since we don't
really care about DDMS locks here.

Change-Id: Ic4ef4589acdcd7980864da23cde760debc4cfbb8
rc/com/android/ddmuilib/logcat/LogCatReceiverFactory.java
21baa57758c8120bf85a409c3f8e7a83fb3f9234 02-Feb-2012 Jeff Sharkey <jsharkey@android.com> Pause network panel by default, handle devices.

Always start with network panel paused, letting user control start
and stop explicitly. Also pause when client is changed.

Handle devices without xt_qtaguid module by showing error dialog.

Change-Id: I4f6c81d8c52729c155b7f4a477bcec1857681da8
rc/com/android/ddmuilib/net/NetworkPanel.java
613f55001e7f39590d02227179f6f272ae8ab96f 28-Jan-2012 Jeff Sharkey <jsharkey@android.com> Show detailed network statistics from xt_qtaguid.

New panel that shows live network statistics by reading xt_qtaguid
proc file across adb. Shows all tags for selected UID on a chart
with 30 seconds of history. Each tag is presented as unique series,
with the overall usage in grey. Table below the chart shows running
totals of known tags.

Includes options to pause, reset, and change polling frequency.

Bug: 5194997
Change-Id: I72d43ab51aaf93ecfd6d45fcd452c7230cdee5b7
rc/com/android/ddmuilib/net/NetworkPanel.java
18bce12c5916331971b2e8108f8485cc56b696d3 06-Jan-2012 Tor Norbye <tnorbye@google.com> Fix locale handling of uppercase/lowercase

This changeset fixes issue
23747: i and İ character problem in turkish operating Systems...
and probably many other bugs in the Turkish locale.

Basically, we had a lot of String.toLowerCase() and
String.toUpperCase() calls. This performs locale sensitive
conversions, which in many cases is NOT what we want; for "machine
readable" conversions we should be using Locale.US which performs no
special cases.

For more, see
http://developer.android.com/reference/java/util/Locale.html#default_locale

Change-Id: I996b0e70fb377e8dae484c5811deb8bc9afb684c
rc/com/android/ddmuilib/AllocationPanel.java
820265da80f6aef2f95d94bbc329e30999ec794f 23-Dec-2011 Tor Norbye <tnorbye@google.com> Add @NonNull annotation and configure Eclipse settings

This changeset adds a new @NonNull annotation, to match our existing
@Nullable annotation, and it adds configuration settings for Eclipse
3.8 / Eclipse 4.2 which configures the new null analysis there to use
our own annotations. Note that the annotations only have source
retention so there is no extra size or class-loading overhead. (To use
findbugs you'll need to temporarily change retention to class-level.)

In upcoming CL's I'll use these annotations to clarify the Lint API
and other APIs.

Change-Id: I99096d8b8a7e25ef002624d592da7700195a5872
settings/org.eclipse.jdt.core.prefs
ab36f4e7488358dea4ab6b54ee2b7bef3da0232b 21-Dec-2011 Tor Norbye <tnorbye@google.com> Update SDK codebase to JDK 6

This changeset makes the SDK codebase compile with source=1.6 (which
means it also requires JDK 6). This means that methods implementing an
interface requires @Override's. It also means we can start using APIs
like the ArrayDeque class and methods like String#isEmpty().

This changeset looks big but the change is trivial: it's basically
adding @Override in all the places that need it, along with some other
automatic Eclipse cleanup in certain files (such as reordering imports
where they were incorrectly ordered (because older versions of Eclipse
didn't always handle inner classes right)), as well as cleaning up
trailing whitespace and removing some $NON-NLS-1$ markers on lines
where there aren't any string literals anymore.

This changeset also sets the source and target JDK level to 6 in the
Eclipse compiler .settings file, and synchronizes this file to all the
other Eclipse SDK projects.

Change-Id: I6a9585aa44c3dee9a5c00739ab22fbdbcb9f8275
settings/org.eclipse.jdt.core.prefs
rc/com/android/ddmuilib/AllocationPanel.java
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/EmulatorControlPanel.java
rc/com/android/ddmuilib/HeapPanel.java
rc/com/android/ddmuilib/InfoPanel.java
rc/com/android/ddmuilib/NativeHeapPanel.java
rc/com/android/ddmuilib/StackTracePanel.java
rc/com/android/ddmuilib/SyncProgressHelper.java
rc/com/android/ddmuilib/SyncProgressMonitor.java
rc/com/android/ddmuilib/SysinfoPanel.java
rc/com/android/ddmuilib/TableHelper.java
rc/com/android/ddmuilib/TablePanel.java
rc/com/android/ddmuilib/ThreadPanel.java
rc/com/android/ddmuilib/actions/ToolItemAction.java
rc/com/android/ddmuilib/explorer/DeviceContentProvider.java
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
rc/com/android/ddmuilib/explorer/FileLabelProvider.java
rc/com/android/ddmuilib/handler/BaseFileHandler.java
rc/com/android/ddmuilib/handler/MethodProfilingHandler.java
rc/com/android/ddmuilib/heap/NativeHeapDataImporter.java
rc/com/android/ddmuilib/heap/NativeHeapLabelProvider.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
rc/com/android/ddmuilib/heap/NativeHeapProviderByAllocations.java
rc/com/android/ddmuilib/heap/NativeHeapProviderByLibrary.java
rc/com/android/ddmuilib/heap/NativeLibraryAllocationInfo.java
rc/com/android/ddmuilib/heap/NativeStackContentProvider.java
rc/com/android/ddmuilib/heap/NativeStackLabelProvider.java
rc/com/android/ddmuilib/heap/NativeSymbolResolverTask.java
rc/com/android/ddmuilib/location/CoordinateControls.java
rc/com/android/ddmuilib/location/TrackContentProvider.java
rc/com/android/ddmuilib/location/TrackLabelProvider.java
rc/com/android/ddmuilib/location/WayPointContentProvider.java
rc/com/android/ddmuilib/location/WayPointLabelProvider.java
rc/com/android/ddmuilib/log/event/DisplayLog.java
rc/com/android/ddmuilib/log/event/EventDisplay.java
rc/com/android/ddmuilib/log/event/EventDisplayOptions.java
rc/com/android/ddmuilib/log/event/EventLogPanel.java
rc/com/android/ddmuilib/log/event/EventValueSelector.java
rc/com/android/ddmuilib/logcat/EditFilterDialog.java
rc/com/android/ddmuilib/logcat/LogCatFilterContentProvider.java
rc/com/android/ddmuilib/logcat/LogCatFilterLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsDialog.java
rc/com/android/ddmuilib/logcat/LogCatMessageContentProvider.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatPidToNameMapper.java
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
rc/com/android/ddmuilib/logcat/LogCatReceiverFactory.java
rc/com/android/ddmuilib/logcat/LogPanel.java
615441726b9a35b63a8db16af14729bc9fa72f14 21-Dec-2011 Siva Velusamy <vsiva@google.com> ddms: display manufacturer & model for devices.

DDMS displays only the serial number for connected devices.
This patch appends the manufacturer & model name to the serial
number.

Change-Id: I90400365fe984b0b0a198e3c21aaf25eb05aa930
rc/com/android/ddmuilib/DevicePanel.java
eae62907a30288c1c7b6b8ebb2c848c7394c9067 14-Dec-2011 Siva Velusamy <vsiva@google.com> logcat: Improve auto scroll lock behavior

Setting up scroll lock automatically is broken due to the highly
platform dependent nature of the scroll bar events. This patch
improves the current situation significantly, but may not be the
last word on this subject.

This patch does the following:
1. Sets up auto scroll lock on Windows and Linux.
2. Removes auto scroll locking on Mac. Users have to manually
press the Pause Logcat button.
3. Renames the "Scroll to latest" button to "Pause Logcat" to
more accurately reflect what is happening.

Change-Id: I1ce03371d7ac7aeaea218aa3c5c426c69c56a527
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/images/pause_logcat.png
rc/images/scroll_latest.png
daa5a5c9200708b09983bf3852b94bb8ebab1e27 13-Dec-2011 Siva Velusamy <vsiva@google.com> logcat: when copying items, index into filtered list.

The previous commit introduced a bug: The SWT table model is a list of
logcat messages before any filters are applied. But the user sees the
filtered messages. So when user selects items in the table, the
selection index will not match the index in the input model.

This patch applies all current filters to the input model and then
indexes this filtered list to get the same items that the user has
selected in the view.

Change-Id: If955bd5c22e1c587bcf5fe32092f513d53c0d8ef
rc/com/android/ddmuilib/logcat/LogCatPanel.java
4481c9d73bcbb7afb958a575d1d86dd2e2c21719 12-Dec-2011 Siva Velusamy <vsiva@google.com> logcat: fix npe & clear log in filtered view

1. Fix NPE when selecting all items: Issue is that in case of a
table with SWT.VIRTUAL, tableItem.getData() could return NULL if
the item hasn't been shown. So we have to rely on the original
model to retrieve the items.

2. When viewing items after applying a filter, clear log will
clear the full log but not the filtered view. To clear the filtered
view, the SWT ViewerFilters have to be reapplied.

Change-Id: I6c66be4e0e8abb6db114588f382bcd3b9fe8ee0f
rc/com/android/ddmuilib/logcat/LogCatPanel.java
cbd2d48dd776d9cbabd7f87e3fef08c4c56a152d 28-Nov-2011 Siva Velusamy <vsiva@google.com> logcat: bring up edit filter dialog on double click

When a saved filter is double clicked, bring up the 'Edit Filter'
dialog for the selected filter.

Change-Id: Idd6766ba95e0d2f228c664ffccf8dbfb5b93b0b8
rc/com/android/ddmuilib/logcat/LogCatPanel.java
3d5023281eb5d275fc66ab72b8f214bdb42280cd 28-Nov-2011 Siva Velusamy <vsiva@google.com> logcat: fix tooltip shift distance

Fix for http://code.google.com/p/android/issues/detail?id=22111 which is
OS X Lion specific. This fix hasn't actually been tested on OS X Lion!

Change-Id: Ifb4397e1482ebacc84cd90e83bb6837b883fbd08
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
b2645269bfab7c04243dc2a4bea03b33463bc6d1 06-Nov-2011 Siva Velusamy <vsiva@google.com> nativeheap: Do not clean up display if a client is killed.

Fix for Issue #21554. When a client process dies, the native
heap view is immediately cleared. This makes it impossible to
view the native heap snapshots for processes that are being
killed due to OOM errors.

Change-Id: I3b6c868832c6b48e591d31d1643db20887ff8c13
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
4820ea88f12c1635489371f587e9b6ab70f16672 02-Nov-2011 Siva Velusamy <vsiva@google.com> ddms-heap: Show atleast 1 row.

One some platforms, the table doesn't show any rows at all, and there is
no way to resize the table. This patch makes sure that there is one row
that is always displayed.

Change-Id: Ib93839c610926a7f8629436d26bb7ad9485431af
rc/com/android/ddmuilib/HeapPanel.java
1770fd67d8d426c145bbca9e181fef6d6f7ada69 02-Nov-2011 Siva Velusamy <vsiva@google.com> logcat: update scroll behavior when buffer is full.

When the logcat buffer is full, any received message will push out
an old message. As a result, the messages keep moving up the table,
which is annoying if you want to view a particular message.

Ideally, we'd keep the view constant, but only the scrollbar moves
up to indicate that we have received new messages. But this doesn't
work in an SWT table.

One solution would be to refresh the table and then scroll it to
remain in the same place. This causes a flicker and is annoying.

This patch stops refreshing the table when the user is viewing an
older item in the table, and starts auto refresh if the scroll bar
is again brought to the bottom. In addition it provides a toolbar
button that reflects the state of scrolling, similar to a scroll
lock checkbox.

The one downside to this is that since the scrollbar does not move,
the user does not have clue if new messages are being received.
The new messages will be noticed only if the user unselects the
scroll lock button, or manually moves the scrollbar down.

This is a fix for Issue #20805.

Change-Id: I12108789265fec38287a466d21505db85892594d
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/images/scroll_latest.png
796b6c0491833587ba096a33bd0d34329f6213c5 14-Oct-2011 Raphael <raphael@google.com> Code cleanup: make sure FileInputStreams are closed.

Various places of the code construct a new FileInputStream
on the fly and give it to another method. One many
occasions the stream is never properly closed, which can
lock files on Windows.

2 specific cases:
- Properties.load() doesn't seem to close its input
(when looking at the source bundled with the JRE).
- The doc of InputSource (used by various XML parsers like
the pull parser) indicates the caller should in general
not close the stream and the parser itself should do it.

Change-Id: I622b54a22f97ed2c9c8fdc56ccde331207d9d212
rc/com/android/ddmuilib/log/event/BugReportImporter.java
rc/com/android/ddmuilib/log/event/EventLogImporter.java
f19e453d85c3e44f64f55ccfa1105d3fbfbbbcbb 12-Oct-2011 Siva Velusamy <vsiva@google.com> Logcat autoscroll behavior update.

Rather than checking the position of the thumb every time entries
are added, we listen to the scroll bar being moved up or down by
the user.

In addition, also update the scrolling behavior whenever entries in
the table are selected. Auto scrolling will stop if anything but the
last entry is selected.

Change-Id: I7b32e9c42bc8e2ad01171b61a5a9ef09d8d0a7b1
rc/com/android/ddmuilib/logcat/LogCatPanel.java
235d6998cd7538f3e1c845e18c63ffc189a6c637 10-Oct-2011 Siva Velusamy <vsiva@google.com> Remove non-actionable log statement.

Change-Id: I18064d048603c61a5f7d046bbb4cdb39181159de
rc/com/android/ddmuilib/logcat/LogCatPanel.java
a6dc10887d24122fa8a9d8b590ac7eff2c36724c 10-Oct-2011 Siva Velusamy <vsiva@google.com> Fix NPE when getCurrentDevice() == null.

Change-Id: I0f9eaf599b5ab22487408ea74d597ea61a22793f
rc/com/android/ddmuilib/logcat/LogCatPanel.java
9d02c9ee4fa5a92420fa16e0e762d9cd079cee17 09-Oct-2011 Siva Velusamy <vsiva@google.com> Add a new implementation for symbol resolution.

The old implementation can still be used by setting the env variable
ANDROID_DDMS_OLD_SYMRESOLVER.

With the new one, all errors are collected, and displayed in the UI
at the end, grouping similar errors together.

Change-Id: Ibf2fa2122109b2eaf37579d65a3d0b18f475b436
rc/com/android/ddmuilib/DdmUiPreferences.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
rc/com/android/ddmuilib/heap/NativeSymbolResolverTask.java
1b27ad658ca34c0aff64eab9245847258a06b83b 10-Oct-2011 Siva Velusamy <vsiva@google.com> Add a whitespace character when scanning across tokens.

Change-Id: I6473c1e987c37fb69f808c26e2a7e0f451ab1d34
rc/com/android/ddmuilib/heap/NativeHeapDataImporter.java
1cb7304d90ddcc2c316ebb3410d232f0ed4fc369 06-Oct-2011 Siva Velusamy <vsiva@google.com> Minor refactor: keep sizes of snapshot ArrayList's in sync.

Change-Id: I30aef911df1146ff9a64c4d08c4371c2937d4e94
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
ed552915f84f9f6acb5c34f3b9e413d0b1534af3 06-Oct-2011 Siva Velusamy <vsiva@google.com> Add support for importing saved heap data.

Change-Id: I8552af1754f5093dcdb156f7f81e3beef776835a
rc/com/android/ddmuilib/heap/NativeHeapDataImporter.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
ests/src/com/android/ddmuilib/heap/NativeHeapDataImporterTest.java
9a8de7350e1f8fb3a99c62c769e448d8e277f8fb 30-Sep-2011 Siva Velusamy <vsiva@google.com> Model diff snapshot as a subtype of a regular snapshot.

Change-Id: Ic701255c586530214b51a1553b66aa60c6c7b538
rc/com/android/ddmuilib/Addr2Line.java
rc/com/android/ddmuilib/heap/NativeHeapDiffSnapshot.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
rc/com/android/ddmuilib/heap/NativeHeapSnapshot.java
c9192e375844e45ccb74ee69150717a31385564f 29-Sep-2011 Siva Velusamy <vsiva@google.com> Provide a way to show/hide the filters column.

Change-Id: I7c94daa006987a0983cdb3cee02a35f6e678d86e
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/images/displayfilters.png
3543c34223c4a876b8efc5bb0c7e8cb13b8f1dd1 29-Sep-2011 Siva Velusamy <vsiva@google.com> Use a text box instead of a browser in tooltip area.

Change-Id: Ica610ef4cefffaef3b6404a425c8b4551e741676
rc/com/android/ddmuilib/logcat/LogCatPanel.java
25f755d0f0f8a1c65d961a1d4a2ad508aacf8af8 29-Sep-2011 Siva Velusamy <vsiva@google.com> Display tooltips only for long messages.

Currently, the tooltips are displayed for all logcat messages.
This patch makes them show up only if the logcat messages are longer
than the width of the column in which they are displayed, i.e.,
tooltips will be displayed only for those messages that could be clipped.

Change-Id: Ib5bbce7d055656d2cc8063efdf5fed5910b24ad0
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
09aefc28c531b6e56010f3054d54568864fd200a 29-Sep-2011 Siva Velusamy <vsiva@google.com> Check for scrolling before refreshing the table.

Change-Id: Id65b11216a8240e3297072f0af094d69d924a8b3
rc/com/android/ddmuilib/logcat/LogCatPanel.java
c9797415f2b89db0518603d61c6bf6ad2a52c1cc 28-Sep-2011 Siva Velusamy <vsiva@google.com> Add support for exporting heap data.

Change-Id: Ica8de494934195f30b75b8295d0908e3aacdefff
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
91b2ef439e6e5b24c3a46eb49e2812ae38500e41 28-Sep-2011 Siva Velusamy <vsiva@google.com> Add support for Select All & Copy Paste.

Change-Id: I4b41b6ee5a7a5600ca3b37d3addf1dce7d1e072a
rc/com/android/ddmuilib/TablePanel.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
e9e7c4d8004fc3fffa2ead4b717a1a3b956af2a4 27-Sep-2011 Siva Velusamy <vsiva@google.com> Construct NativeStackCallInfo with full symbol address.

Addr2line constructs NativeStackCallInfo for a symbol using its
offset within the library as the address. This patch is a minor change
to make it use the address in the executable instead of the offset
in the library.

Change-Id: I3e3e960f6c5abefac83b670e3ab23a78c57a8e56
rc/com/android/ddmuilib/Addr2Line.java
rc/com/android/ddmuilib/NativeHeapPanel.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
a4750d27535d3b8e3ad5fe00a516bd2d88c6e66a 24-Sep-2011 Siva Velusamy <vsiva@google.com> Append prefix "Z" only for Zygote allocations.

Cross checked with vendor/google/tools/nativeheapdump and made sure
that output of both tools match.

Change-Id: I129791ec42e7c0f4197fd59f687477b3d82e4d20
rc/com/android/ddmuilib/heap/NativeHeapLabelProvider.java
rc/com/android/ddmuilib/heap/NativeHeapSnapshot.java
0959ba58cbbfa02f1980d5f3494d4362126652dd 23-Sep-2011 Siva Velusamy <vsiva@google.com> Provide ability to view just the new allocations.

Rather than viewing the entire snapshot, users can now view
just the allocations that have happened since the previous
snapshot.

Change-Id: I6115fdcd3928db775d8b77c078c9fce2539779ac
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
c5e163c96205a07da248b25afb1f49f6b882b689 23-Sep-2011 Siva Velusamy <vsiva@google.com> Add support for filtering out zygote allocations.

Maintain separate list of non zygote allocations and switch to
displaying the filtered list based on user input.

Change-Id: Ib1fbbcb2ada55255a2f9dad02f3cf1dea18cbeda
rc/com/android/ddmuilib/heap/NativeHeapLabelProvider.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
rc/com/android/ddmuilib/heap/NativeHeapProviderByAllocations.java
rc/com/android/ddmuilib/heap/NativeHeapProviderByLibrary.java
rc/com/android/ddmuilib/heap/NativeHeapSnapshot.java
58df9bbf4195747df6edf0eecc9cb6c8a27eb63f 22-Sep-2011 Siva Velusamy <vsiva@google.com> Show percentage of total heap size for each row.

Change-Id: Iabfb5f246ca5c22cf0097300e66ba128b5174562
rc/com/android/ddmuilib/heap/NativeHeapLabelProvider.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
a27ad80ba7b0384e9fc21de39296bbd9b7aa0c7f 22-Sep-2011 Siva Velusamy <vsiva@google.com> Make library to be the first column in the details view.

There are two reasons for this change:
1. When allocations are grouped by library, it is nice to have
the library in the first column immediately signifying the grouping.
2. The first column is always left aligned on some platforms (Linux).
This is not the right alignment for showing numbers (they should be
right aligned).

Change-Id: I36a3fef17265da41e3e6d709f38d3fd6e28d233b
rc/com/android/ddmuilib/heap/NativeHeapLabelProvider.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
34692855c8b9313b10e71b7ba13990167f1fcda1 22-Sep-2011 Siva Velusamy <vsiva@google.com> Support grouping of allocations by library.

Currently, all allocations are displayed as a list sorted by
the size of the allocation.

This patch set enables the toolbar checkbox to group the list of
allocations by library. When this is checked, the display refreshes
to show a tree with the root nodes being libraries, and their
children being the list of allocations made from that library.

Change-Id: Ibb61242db8c6e58d300f767f0b2b11b6b7a9530d
rc/com/android/ddmuilib/heap/NativeHeapContentProvider.java
rc/com/android/ddmuilib/heap/NativeHeapLabelProvider.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
rc/com/android/ddmuilib/heap/NativeHeapProviderByAllocations.java
rc/com/android/ddmuilib/heap/NativeHeapProviderByLibrary.java
rc/com/android/ddmuilib/heap/NativeHeapSnapshot.java
rc/com/android/ddmuilib/heap/NativeLibraryAllocationInfo.java
db0d88169bc8dd8e2f38090feab572336a72bc92 22-Sep-2011 Siva Velusamy <vsiva@google.com> Add support for user specifying search paths in the UI.

Fix Addr2line to use the search path to locate binaries.

Change-Id: I5ba901144faa70d4507d9286ade1cc49828d41ac
rc/com/android/ddmuilib/Addr2Line.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
45f50a382e46972d0e4830d27bc12077f5fbb393 22-Sep-2011 Siva Velusamy <vsiva@google.com> Findbugs fix: Use Character.toString()

Change-Id: I7a50c09b3cc7028caef2302154bfe6fea8bef556
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializer.java
651580079aad3918fa9d647fd7311fffeb8a76c9 21-Sep-2011 Siva Velusamy <vsiva@google.com> Resolve addresses to symbols in a separate thread.

After retrieving a heap dump, start a thread to resolve all the
addresses present in the dump. Refresh the UI with the resolved
symbols once the process is complete.

Change-Id: Iac2d24e91685b6c4e10985b3dfce00e79e1db10b
rc/com/android/ddmuilib/heap/NativeHeapLabelProvider.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
9ab5464b15ce50ec1fdd09c1d688afd1a5b25138 21-Sep-2011 Siva Velusamy <vsiva@google.com> Display stack trace for selected Heap Allocation.

Minor changes in a few other places to return List's instead of
arrays.

Change-Id: I25ddc25ebc1c91677d16e9d77dc0f8a51022bc1b
rc/com/android/ddmuilib/Addr2Line.java
rc/com/android/ddmuilib/NativeHeapPanel.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
rc/com/android/ddmuilib/heap/NativeStackContentProvider.java
rc/com/android/ddmuilib/heap/NativeStackLabelProvider.java
88ee5dd5573f9700f6d5983af524b8eaf82665be 20-Sep-2011 Siva Velusamy <vsiva@google.com> New implementation of native heap - layout only.

Address resolution to symbols to come in future CL's.
rc/com/android/ddmuilib/heap/NativeHeapContentProvider.java
rc/com/android/ddmuilib/heap/NativeHeapLabelProvider.java
rc/com/android/ddmuilib/heap/NativeHeapPanel.java
rc/com/android/ddmuilib/heap/NativeStackContentProvider.java
rc/images/diff.png
rc/images/groupby.png
rc/images/zygote.png
b5ddc9b1aae26ca194bf540717dd74470111e290 18-Sep-2011 Siva Velusamy <vsiva@google.com> Use foreach instead of iterator

Change-Id: I06c3f52313ae06ff2b51cbe6b302409bd4efca5b
rc/com/android/ddmuilib/NativeHeapPanel.java
38bd31650c8753fe392938e8e5904f9cead77577 15-Sep-2011 Siva Velusamy <vsiva@google.com> Use default system font size.

And make sure that the default logcat table row height is high
enough for the currently used font.

Change-Id: Ibfabb05b92add42c6d0acb2b79668f93b833057f
rc/com/android/ddmuilib/logcat/LogCatPanel.java
5fb78c360684c9f6396650344c9026d8528347c6 13-Sep-2011 Siva Velusamy <vsiva@google.com> Fix scroll behavior on Win 7.

The windows scrollbar never actually touches the bottom of the scroll area.
Compensate for that in the shouldScrollToLatestLog() function.

Change-Id: If3178d0519cac262d9208d3cd486588f895936ff
rc/com/android/ddmuilib/logcat/LogCatPanel.java
d0c06f981029e14f4282b4c0c4e001130a1133f8 13-Sep-2011 Siva Velusamy <vsiva@google.com> Do not add a border for the filters toolbar.

Change-Id: I5e3f5f859905b77e9a2af7d38d970ff6b8e3172b
rc/com/android/ddmuilib/logcat/LogCatPanel.java
4e987437c86a343fa59d42f739de8c43e2f1cfab 10-Sep-2011 Siva Velusamy <vsiva@google.com> Create logcat table with SWT.VIRTUAL.

Without SWT.VIRTUAL, the UI responsiveness goes down significantly
when large numbers of logcat messages are received.

Unfortunately, enabling it causes SWT to make all rows to be of
the same height, thereby clipping any long messages. In such a case,
the complete message can be viewed in the tooltip.

Change-Id: I78d6701ccac6ad94675e1ed707700eabfe34bce8
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
b01b72c7a868b4171f78569cace5c2f62e3a98c3 26-Aug-2011 Siva Velusamy <vsiva@google.com> Make search case insensitive by default.

Change-Id: Ib09281dea211cffbd5c6f8352c7002f95e99f019
rc/com/android/ddmuilib/logcat/LogCatFilter.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterTest.java
d51df69ca6809f5d75f42dee9a0239afa9675e86 26-Aug-2011 Siva Velusamy <vsiva@google.com> Display with transient filter selected on logcat errors.

When a error message is detected on logcat, display logcat view but
with a filter for the application selected so that only the relevant
messages are displayed.

Change-Id: Ic84c59b63519302eac286ae243b228a305288b3d
rc/com/android/ddmuilib/logcat/LogCatFilter.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializer.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializerTest.java
4f830e0754e925eb33bae188ade858d10dd9f2d3 25-Aug-2011 Siva Velusamy <vsiva@google.com> Activate logcat view at appropriate times.

- When applications are launched (run/debug) on a device, start
monitoring the logcat output on that device.
- If some important message comes across, and the logcat view is not
currently displayed, then activate it.

Change-Id: Ib88973badde4cb2860379129dfe0eb03a3f955dc
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
rc/com/android/ddmuilib/logcat/LogCatReceiverFactory.java
bfde12592b821ef00973e0eedf663752ca789087 25-Aug-2011 Siva Velusamy <vsiva@google.com> Move creation of LogCatReceiver to a separate factory.

Until now there was only one instance of LogCatReceiver. This
instance would listen to the logcat output from the currently
selected device.

This patch modifies this behavior to make one LogCatReceiver
responsible for listening to only one device. If there are multiple
devices, then multiple instances of LogCatReceivers are instantiated.
The instantiation is also moved to a separate factory.

This modification allows for the scenario where the LogCatReceiver's
can be instantiated independent of the UI, and are reused by the UI
whenever needed.

Change-Id: I46008cbd5ee41880372a62e7e09634ce2d2fc122
rc/com/android/ddmuilib/logcat/LogCatMessageParser.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatPidToNameMapper.java
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
rc/com/android/ddmuilib/logcat/LogCatReceiverFactory.java
ests/src/com/android/ddmuilib/logcat/LogCatMessageParserTest.java
58c55cdc5f9173f337fcb143105790f2affa5c6e 30-Aug-2011 Siva Velusamy <vsiva@google.com> Reduce the number of UI refreshes of the logcat table.

Currently, every time a logcat message is received, the UI is refreshed.
If multiple messages are received in close succession, multiple refreshes
are enqueued to the UI thread to be run. This results in the UI spending
all its time refreshing the table.

This patch adds a refresh to the queue only if there are no pending
refreshes. We can do so since any refresh automatically picks up the latest
state of the logcat messages received.

Change-Id: I2d9df679299710e54986c86a3610d3546924aba8
rc/com/android/ddmuilib/logcat/LogCatPanel.java
c82fac8344ee098db90e27d0cd635b8351aca908 28-Aug-2011 Tor Norbye <tnorbye@google.com> Findbugs cleanup.

Change-Id: I82229e75e5a33baa690ea6b0993a4d407713e7e5
rc/com/android/ddmuilib/NativeHeapPanel.java
rc/com/android/ddmuilib/log/event/EventDisplay.java
f35c5c55a2d644a7705637b4ff99aa6417d7577b 23-Aug-2011 Siva Velusamy <vsiva@google.com> Make the logcat fifo size user configurable.

Add a preference where users can set the size of the message list.
Defaults to 1000.

Change-Id: Ia888c3802f07607274bfbdca0ade8fbda009ba55
rc/com/android/ddmuilib/logcat/LogCatMessageList.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
55af75792cc4b2783b1ffda1ae204c4014ab1be3 20-Aug-2011 Siva Velusamy <vsiva@google.com> Make variable/method names consistent.

Always use mixed case for pid: change PID to Pid.
Rename getPidString() to getPid().
All changes are syntactical only..

Change-Id: I85309d46ff1a14510271f6402debdc1e17747928
rc/com/android/ddmuilib/logcat/LogCatFilter.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsDialog.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializer.java
rc/com/android/ddmuilib/logcat/LogCatMessage.java
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatPidToNameMapper.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializerTest.java
3ce01fe8f2ecbbd97042858cb2e099036b33a712 19-Aug-2011 Siva Velusamy <vsiva@google.com> Add support for filtering by application name.

Change-Id: I07be20ac89108c181cfb2793c90f5cf697a304e2
rc/com/android/ddmuilib/logcat/LogCatFilter.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsDialog.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializer.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializerTest.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterTest.java
8199117d535019188499d2ecaa8478cdf2ba73ba 18-Aug-2011 Siva Velusamy <vsiva@google.com> Store source application name in logcat messages.

logcat only provides the pid of the application that generated the
message. Map the pid back to the application's name, and store it
in the parsed logcat message.

Modify the logcat view to display the app name in addition to the pid.

Change-Id: I939ed9ca2389412473dc614bd2e0e1d302295924
rc/com/android/ddmuilib/logcat/LogCatMessage.java
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatMessageParser.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatPidToNameMapper.java
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterTest.java
ests/src/com/android/ddmuilib/logcat/LogCatMessageParserTest.java
8e9596d4455e0e74ce8d89ccac99cfbd7e8e2e06 19-Aug-2011 Siva Velusamy <vsiva@google.com> Dispose of font properly.

Change-Id: Ic00711ebfe13c9f4674e0570bd3dd28f35127d62
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
4f7dbc53dbf6879365e54ffd1f8d13de69fec3ac 19-Aug-2011 Siva Velusamy <vsiva@google.com> Add support for Select All and Copy to Clipboard actions.

Change-Id: Idbf3bc093f2a049b5e0e0cd9605a6f8bdc8f7723
rc/com/android/ddmuilib/logcat/LogCatPanel.java
0f72f32f6058d3ed11639c4353f37b67424333ed 18-Aug-2011 Siva Velusamy <vsiva@google.com> Wrap messages based on font size and col width.

Rather than wrapping messages at a certain size, detect the current
width of the column, and wrap them if the message will exceed that
width. Note that the width depends on the font used.

Change-Id: I26441c5b4b7fe3e6ab00b9287c4013493e2352f8
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
0629baa304442626dfa12ecca3760ead7e935af1 18-Aug-2011 Siva Velusamy <vsiva@google.com> Use PreferenceConverter to set default font.

Also use platform specific font.

Change-Id: I0bc50c2c79c8e0e21c779ad71f3b11b8c03e99d8
rc/com/android/ddmuilib/logcat/LogCatPanel.java
60eec5dbae4bbda5177009aa936dea9fd7574c7d 18-Aug-2011 Siva Velusamy <vsiva@google.com> Fix issue setting font, and invalid selection on Mac.

Font: fontdata should be created using PreferenceConverter.getFontData
List selection: On Mac, selecting a list widget outside the list contents
behaves differently than on Linux

Change-Id: I696996c8b92af8211dd767f5dd1552c34b68c327
rc/com/android/ddmuilib/logcat/LogCatPanel.java
50192fe103eacf358a399358f9945944fc142e44 17-Aug-2011 Siva Velusamy <vsiva@google.com> Goto source when user double clicks on stack trace.

Change-Id: Ia2693424f0106fb3aa1724c211a8e1273f3a0c28
rc/com/android/ddmuilib/logcat/ILogCatMessageSelectionListener.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatStackTraceParser.java
ests/src/com/android/ddmuilib/logcat/LogCatStackTraceParserTest.java
6c9ce2c59b38e8df28f19fad92e5cb3f512aa36e 16-Aug-2011 Siva Velusamy <vsiva@google.com> Use equals for value comparison

Change-Id: Ic83b797567a044ce08703d036329299ef64bcdea
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializer.java
124f447774b065c1dde88c7e3e9ecc18f13cb0d8 16-Aug-2011 Siva Velusamy <vsiva@google.com> Show count of unread messages associated with each filter.

Change-Id: I871ddc550b1d63844b8501a59c079b62f0de4cca
rc/com/android/ddmuilib/logcat/LogCatFilter.java
rc/com/android/ddmuilib/logcat/LogCatFilterLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
4d932c0e3fe3f0e3716ae9a32174fa6e4453aab8 16-Aug-2011 Siva Velusamy <vsiva@google.com> Refactor code for filtering into LogCatFilter class.

- Move the code out of LogCatViewerFilter into LogCatFilterSettings
- Rename LogCatFilterSettings to LogCatFilter as it now does the
filtering as well.
- Update tests appropriately.

Change-Id: I68840d8292cc7ad2b3ef5415bd7a0bdd56aa4da2
rc/com/android/ddmuilib/logcat/LogCatFilter.java
rc/com/android/ddmuilib/logcat/LogCatFilterContentProvider.java
rc/com/android/ddmuilib/logcat/LogCatFilterLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettings.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializer.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatViewerFilter.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializerTest.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterSettingsTest.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterTest.java
ests/src/com/android/ddmuilib/logcat/LogCatViewerFilterTest.java
3915987c9d9959e18fdcd3fa83d2db31cd14ccc5 16-Aug-2011 Siva Velusamy <vsiva@google.com> Add list<received messages> parameter to msgReceived event.

Change-Id: Ib66700806853564901f177694308add9a8d9d2d7
rc/com/android/ddmuilib/logcat/ILogCatMessageEventListener.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
c377e904d50b9ebd91ad2729888bd451062f1b22 16-Aug-2011 Siva Velusamy <vsiva@google.com> Save/Restore user created filters.

Change-Id: I4e5ba3d6c16889b0a1ac3195e616f0e53026f947
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializer.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterSettingsSerializerTest.java
12690b66d734385854e0c9dab384c8e509489b2f 15-Aug-2011 Siva Velusamy <vsiva@google.com> Minor refactor: use length() > 0 rather than !equals("")

Change-Id: Iec62efdd56bbb24fa1c473ccb74e529271f2dd7b
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsDialog.java
a58953374907a09015aab4c506e239cdee88e55b 13-Aug-2011 Siva Velusamy <vsiva@google.com> Add support for live filter/search bar.

A search bar at the top of the logcat view provides a quick way to
search for messages matching a certain pattern. By default, words in
the query are searched in the logcat message text. Other fields such
as pid or tag can be searched by using a prefix such as pid: or tag:.

Change-Id: I3f9f83697f84c30b0371beedfba457480001d71a
rc/com/android/ddmuilib/logcat/LogCatFilterSettings.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsDialog.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatViewerFilter.java
ests/src/com/android/ddmuilib/logcat/LogCatFilterSettingsTest.java
ests/src/com/android/ddmuilib/logcat/LogCatViewerFilterTest.java
afc6435e658b46219b91193977cc501274bb8b3e 12-Aug-2011 Siva Velusamy <vsiva@google.com> Always refresh logcat table from UI thread.

Change-Id: I8b11783de412a31baf37fc2d9efb8aafdb73a330
rc/com/android/ddmuilib/logcat/LogCatPanel.java
ec7f13dae12a4b1ddfd3ab8c21550b617b941a40 12-Aug-2011 Siva Velusamy <vsiva@google.com> Use fonts as specified in preferences.

Update DDMS preference dialog to show only font preference when using
the new logcat view. The font preference key is obtained from
LogCatPanel in the new view so that the Eclipse ddms plugin can
also reuse most of the code.

Change-Id: I61afba27cde45ff8214e83b6fadfe488f6c954bb
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
c9bd041b91bc4aa621ec82e2babe6a2b7e942bb6 12-Aug-2011 Siva Velusamy <vsiva@google.com> Add tests for LogCatMessageParser.

Change-Id: I2fc1f14cbf72117112a217b2f9effb00b3e040a0
rc/com/android/ddmuilib/logcat/LogCatMessageParser.java
ests/src/com/android/ddmuilib/logcat/LogCatMessageParserTest.java
421337231d14d2208759e5219a9beab13fa56105 11-Aug-2011 Siva Velusamy <vsiva@google.com> Support clearing all logcat messages from the table.

Change-Id: If7fb4b181974ddd0c1c41e54f7c76bfb6b2812bc
rc/com/android/ddmuilib/logcat/LogCatMessageList.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
a8af648c3d6cb37e80df4afcd8ea9d5874945bcd 11-Aug-2011 Siva Velusamy <vsiva@google.com> Support exporting selected logcat messages to a text file.

Change-Id: Ia9c61a5e16ef12907f4402a076a587cc9f62613c
rc/com/android/ddmuilib/logcat/LogCatPanel.java
32ddf80b7b881104a5cf92fcc1429458d54ce9db 11-Aug-2011 Siva Velusamy <vsiva@google.com> Fix logcat table scrolling behavior.

This patch makes the logcat table scroll behavior to be consistent
with other consoles/terminals: The table will scroll to reveal a
newly added message if and only if the last logcat message is
currently displayed (which is the same as saying if the scrollbar
is at the bottom of the table). If the user scrolls up the table
by moving the scroll thumb, then newly added messages will not
trigger a scroll.

Change-Id: Ia9c180b093de91406e8ced020589c71b4d2e1eb1
rc/com/android/ddmuilib/logcat/LogCatPanel.java
7f5017d626c272f96957f1c57a965b9a98f60ea4 10-Aug-2011 Siva Velusamy <vsiva@google.com> Create new project ddmuilib-tests

Change-Id: I62fbf052dead8f9c4378c42c1850851c51b794fc
ndroid.mk
ests/.classpath
ests/.project
ests/Android.mk
ests/src/com/android/ddmuilib/logcat/LogCatViewerFilterTest.java
ac6aaab3abe0e42f3090975c3a2d6f994bec8f2c 09-Aug-2011 Siva Velusamy <vsiva@google.com> Add support for filtering logcat messages.

In the logcat view, add a panel on the side where users can
create/edit/delete filters for logcat messages. Users can filter
by the message tag, pid or loglevel.

Change-Id: Ic85397794e5437b761b91a74adb0dd6a58bc74ed
rc/com/android/ddmuilib/logcat/LogCatFilterContentProvider.java
rc/com/android/ddmuilib/logcat/LogCatFilterLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettings.java
rc/com/android/ddmuilib/logcat/LogCatFilterSettingsDialog.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatViewerFilter.java
625b7ea2b82c3f4948bb8bae55f631f85e9c04a9 04-Aug-2011 Siva Velusamy <vsiva@google.com> Save/Restore the width of all columns in the LogCatPanel table.

Create all columns using TableHelper.createTableColumn which adds
listeners that save the column width whenever they are resized by
the user, and restores them on subsequent creations.

Change-Id: I35d09a981b94aa086899e3bf74f2243029c60b2b
rc/com/android/ddmuilib/logcat/LogCatPanel.java
2ecd3a82201d03a35ab124f466941dce4d4be637 03-Aug-2011 Siva Velusamy <vsiva@google.com> Initial implementation of the new logcat panel.

This logcat panel will show up in ddms if it is launched with -Dcom.android.ddms.useNewLogCatView.
Currently, this implementation only displays a table with a list of logcat messages. It lacks
features such as filters, go-to source of exception, export to log, user preferences, etc.
Future patches should enhance the UI to achieve feature parity with older UI.

Change-Id: I3dde3c590c839318ce57bb5f005627f580ebb06c
rc/com/android/ddmuilib/logcat/ILogCatMessageEventListener.java
rc/com/android/ddmuilib/logcat/LogCatMessage.java
rc/com/android/ddmuilib/logcat/LogCatMessageContentProvider.java
rc/com/android/ddmuilib/logcat/LogCatMessageLabelProvider.java
rc/com/android/ddmuilib/logcat/LogCatMessageList.java
rc/com/android/ddmuilib/logcat/LogCatMessageParser.java
rc/com/android/ddmuilib/logcat/LogCatPanel.java
rc/com/android/ddmuilib/logcat/LogCatReceiver.java
a09b6681b5850f4adca595aea25152e349fb1ef6 03-Aug-2011 Siva Velusamy <vsiva@google.com> Convert tabs to spaces

Change-Id: I7032663689943b22342b49736f0656df778cd456
rc/com/android/ddmuilib/ITableFocusListener.java
38282ecd49c2d02f771ae5f16560e126d4dbd193 28-Jul-2011 Raphael Moll <ralf@android.com> Style: space after synchronized (object) {...}

For keywords such as if, for, while, we put a space
between the keyword and the expression. Same should
go for synchronized (object) {}.

Change-Id: I5b145912f9346e3f4d8367865c2729abea68fdbc
rc/com/android/ddmuilib/log/event/EventLogPanel.java
7b04a527715099f7e584ff1e8650a0180b17bc94 19-Jul-2011 Xavier Ducrohet <xav@android.com> Various fixes to the DDMS Native heap panel.

Change-Id: I468be358b937f63adca3528fb66aa5d70e2e6827
rc/com/android/ddmuilib/Addr2Line.java
rc/com/android/ddmuilib/NativeHeapPanel.java
42b2f34604a3f8e8ac191831d8f01a0498760d38 09-Jun-2011 Tor Norbye <tnorbye@google.com> Fix various warnings

I ran the latest version of findbugs on our codebase and fixed some
(not all!) of the warnings.

I also ran with Eclipse 3.7 RC3 and updated our compiler warning
settings for the new warnings that are available.

I also fixed some DOS line endings in some files (formatted with CRLF
instead of LF).

Change-Id: I9a9d34a9b60f2cb609245793815d96a4587007b0
settings/org.eclipse.jdt.core.prefs
185782e15be0a3e56e53e950f522c11d0bf3d7f0 29-Apr-2011 Raphael Moll <ralf@android.com> Fix image reousrces in HierarchyViewer application.

Currently the HierarchyViewer application crashes when
trying to run it from Eclipse. The issue is that the
code looks for all the images in /images/ whereas the
source code places them in /resources/images/ and the
makefile was setup to "erase" the /resources part.

The fix is:
- move all images back to hierarchyviewerlib/src/images.
- adjust the makefile accordingly.

Another issue is that the about box JPEG files failed
to load (at least on Eclipse 3.5 under Win7). That's OK
we had a real icon in PNG that works, so we should be
using it for the about box anyway.

Change-Id: Id3edc3d714480d4251b190706371db2481a14b63
rc/com/android/ddmuilib/ImageLoader.java
d8a7887f62ad69d8124731e260de9955739ef84f 05-Apr-2011 Xavier Ducrohet <xav@android.com> Merge "Fix in MethodProfilingHandler."
9fd1167924dca792834cade14772e2be5a55b3d5 12-Feb-2011 Pierre Zurek <pierrezurek@gmail.com> Added a New Folder action in File Explorer.

This action allows the user to create a new folder if the current
selection in the tree is a folder. It executes the "mkdir" command
on the device. If an error occurs during execution, a popup is
displayed.

Change-Id: Id94485502849679ee9c753882b3e46f30e0edd1e
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
507c3322f76ea0dc6cd827022c183b60054fa4c0 21-Mar-2011 Tor Norbye <tnorbye@google.com> Merge "Applying the previous rotation state when refreshing screen image."
036d328378311a391611d6cf4b9ac1fc4a84874f 21-Mar-2011 Keiji Ariyama <keiji_ariyama@c-lis.co.jp> Applying the previous rotation state when refreshing screen image.

Change-Id: I04e81b591701e096bb553ac31af3226fa6d6b3f6
rc/com/android/ddmuilib/ScreenShotDialog.java
a923c6ab654299fa587800b7691ab01a90d4a640 18-Mar-2011 Xavier Ducrohet <xav@android.com> Merge "Add missing notice files."
c3478c2a13d1afd5d2d5dae699af55822d391cf8 16-Mar-2011 Raphael Moll <ralf@android.com> Disable the "unecessary else" warning.

This can be a matter of personal taste, but I find it a lot
more readable to write an if {} else {} sometimes, and it's
perfectly valid, so really it shouldn't be marked as a warning.

Change-Id: Iac1b9bd5f9602b5018f7432422e0a083f4836490
settings/org.eclipse.jdt.core.prefs
b26189333d3db21355daa3131b9f5e69f3044c2e 15-Mar-2011 Xavier Ducrohet <xav@android.com> Add missing notice files.

Also fix some makefiles to make sure the notices are
picked up.
- move the makefile outside of the source folder.
- resources are now in the source folder directly instead
of being inside src/resources. It's much simpler.

Change-Id: Ica8ee4c2bc8a9b035d23fc914d4137cdca7e567d
classpath
ndroid.mk
OTICE
rc/Android.mk
rc/images/add.png
rc/images/android.png
rc/images/backward.png
rc/images/capture.png
rc/images/clear.png
rc/images/d.png
rc/images/debug-attach.png
rc/images/debug-error.png
rc/images/debug-wait.png
rc/images/delete.png
rc/images/device.png
rc/images/down.png
rc/images/e.png
rc/images/edit.png
rc/images/empty.png
rc/images/emulator.png
rc/images/file.png
rc/images/folder.png
rc/images/forward.png
rc/images/gc.png
rc/images/halt.png
rc/images/heap.png
rc/images/hprof.png
rc/images/i.png
rc/images/importBug.png
rc/images/load.png
rc/images/pause.png
rc/images/play.png
rc/images/pull.png
rc/images/push.png
rc/images/save.png
rc/images/sort_down.png
rc/images/sort_up.png
rc/images/thread.png
rc/images/tracing_start.png
rc/images/tracing_stop.png
rc/images/up.png
rc/images/v.png
rc/images/w.png
rc/images/warning.png
rc/resources/images/add.png
rc/resources/images/android.png
rc/resources/images/backward.png
rc/resources/images/capture.png
rc/resources/images/clear.png
rc/resources/images/d.png
rc/resources/images/debug-attach.png
rc/resources/images/debug-error.png
rc/resources/images/debug-wait.png
rc/resources/images/delete.png
rc/resources/images/device.png
rc/resources/images/down.png
rc/resources/images/e.png
rc/resources/images/edit.png
rc/resources/images/empty.png
rc/resources/images/emulator.png
rc/resources/images/file.png
rc/resources/images/folder.png
rc/resources/images/forward.png
rc/resources/images/gc.png
rc/resources/images/halt.png
rc/resources/images/heap.png
rc/resources/images/hprof.png
rc/resources/images/i.png
rc/resources/images/importBug.png
rc/resources/images/load.png
rc/resources/images/pause.png
rc/resources/images/play.png
rc/resources/images/pull.png
rc/resources/images/push.png
rc/resources/images/save.png
rc/resources/images/sort_down.png
rc/resources/images/sort_up.png
rc/resources/images/thread.png
rc/resources/images/tracing_start.png
rc/resources/images/tracing_stop.png
rc/resources/images/up.png
rc/resources/images/v.png
rc/resources/images/w.png
rc/resources/images/warning.png
a0b25adffe1b53b360bbeae185c40e1ce55b3842 09-Mar-2011 Xavier Ducrohet <xav@android.com> Add specifc warnings config for most sdk eclipse projects.

Change-Id: I9837714c5673d43fa7108b16ab264f1017c4bd3d
settings/org.eclipse.jdt.core.prefs
e4cff6b4a40acfe9a48891a0ced86a1e515919c0 09-Mar-2011 Pierre Zurek <pierrezurek@gmail.com> Fix in MethodProfilingHandler.

The local and remote file paths were inverted.

Change-Id: Ibf83f236473c18b71ab59629199496889e717870
rc/com/android/ddmuilib/handler/MethodProfilingHandler.java
fda24dc116696fe937142b3a5819977cdab50d03 16-Feb-2011 Raphaël Moll <ralf@android.com> Merge "Add datetime postfix to default file name when showing save screen image dialog."
796a21508827c4f1f9c92f778b94241da9e3ccf5 15-Feb-2011 Keiji Ariyama <keiji_ariyama@c-lis.co.jp> Add validation messages to the DDMS edit filter dialog.

Fixing issue 3584.
http://code.google.com/p/android/issues/detail?id=3584

Change-Id: I689c0036f36678c92c08d05a6690610f95233c66
rc/com/android/ddmuilib/logcat/EditFilterDialog.java
664ca9f18e2db57f913e292ac0fea8116ebcfd37 11-Feb-2011 Keiji Ariyama <keiji_ariyama@c-lis.co.jp> Fixing Issue 14663

http://code.google.com/p/android/issues/detail?id=14663

Change-Id: I94b31e1adf57161480ae6853e4e502b043a3bcfd
rc/com/android/ddmuilib/logcat/LogFilter.java
rc/com/android/ddmuilib/logcat/LogPanel.java
14af6c2400440bf7fd88c2d232f79e3d22cad6ea 04-Feb-2011 Keiji Ariyama <keiji_ariyama@c-lis.co.jp> Add datetime postfix to default file name
when showing save screen image dialog.

Change-Id: I141124cddf211959b8f18846445663da0b9ad958
rc/com/android/ddmuilib/ScreenShotDialog.java
c8596f7a4719c2f6aac3e0aec86676da0cd6bbaa 02-Feb-2011 Xavier Ducrohet <xav@android.com> Let the Traceview plug-in open the trace file created through DDMS.

New DDMS extension: traceviewLauncher.

This allows another plug-in (traceview) to provide
a way to open traceview file. If this doesn't work
it revert to the default behavior of DDMS which is to
open the external traceview program.

also reverted the extension of traceview file
from .atv to .trace because earlier versions of
Android would automatically create those files
using this extension.

Change-Id: I2605ad47e501770ae100da2ace781b1d5d8cebc5
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
rc/com/android/ddmuilib/handler/BaseFileHandler.java
rc/com/android/ddmuilib/handler/MethodProfilingHandler.java
106c1ead81b9d429f2f403b5bafe1b5569a228cb 14-Jan-2011 Tor Norbye <tnorbye@google.com> Zoom Improvements

First, add a new "Zoom to Fit" toolbar action. This will look at the
size of the rendered image, as well as the size of the canvas area,
and compute the largest possible scale factor that will zoom the
rendered image while showing everything.

This is particularly useful when working with larger devices, such as
WXGA, where typically the rendering comes up showing only the top left
portion of the image, and the Zoom Out function often zooms out too
much since it does not have fine granularity.

Second, add icons to the various zooming functions. The zoom in/out
icons are from Eclipse WTP; the other three are minor derivations from
these icons (using = for emulate real size, 1 for 100% and an outline
for zoom to fit).

Third hook up zoom in, zoom out, zoom to 100% and zoom to fit to
keyboard shortcuts (applicable to the canvas only).

Finally, tweak some labels.

(Also updated the ddms screencapture icon, since there was a screen
capture icon in the same Eclipse WTP icon folder)

Change-Id: Idc118a58f418daeefb5835f40dc1fd518b0f99d1
rc/resources/images/capture.png
23da069e4f407df1b06e7db2324e3247496abe3d 05-Jan-2011 Tor Norbye <tnorbye@google.com> Fix NON-NLS tokens

There were a number of // $NON-NLS-1$ references in the codebase.
Eclipse's "Externalize Strings" functionality will not handle these
correctly; there must not be a space between the "//" and the "$NON"
tokens.

(I left AndroidXmlEditor.xml alone; it is the file I discovered
the problem in but I fixed those references as part of another
pending checkin.)

Change-Id: If185c88a667273af614f0bee5959fd2618756c05
rc/com/android/ddmuilib/EmulatorControlPanel.java
rc/com/android/ddmuilib/HeapPanel.java
rc/com/android/ddmuilib/log/event/EventDisplayOptions.java
rc/com/android/ddmuilib/logcat/EditFilterDialog.java
rc/com/android/ddmuilib/logcat/LogFilter.java
af47437d806484ba944338a981965b31d1bd81a6 19-Oct-2010 Tor Norbye <tnorbye@google.com> Fix ddms filechooser behavior and Mac accelerator

Fix a couple of issues in ddms:

First, fix the code to remember the path you last opened the file
chooser with; if there is nothing in $lastImageSaveDir, it should look
at $imageSaveDir (which is the variable the default setting
($user.home) is initialized into).

Second, and this seems to be Mac specific, the
FileDialog.getFilterPath() call does not return the path you have
navigated to, which means that on the Mac it never sets
$lastImageSaveDir correctly - it always sets it to the original
suggestion. The fix is trivial - use File#getParent instead which does
the String manipulation to extract the parent portion of a string
which represents a path.

Finally, on Macs (only), make the keybindings use the Command key
instead of the Control key since that's the norm.

Change-Id: I1b0f381606f5373ddad973754e49ce07856a9bae
rc/com/android/ddmuilib/ScreenShotDialog.java
1d660e085c4517fb97c76b0c526b21491c193965 08-Oct-2010 Tor Norbye <tnorbye@google.com> Fix a couple of bugs.

Using File.toURL() is dangerous because the reverse operation
(URLDecoder.decode, which for example is used by URLClassLoader to
produce a path from URLs) doesn't always succeed - for example on a
filename like "/tmp/te#st". Use File.toURI().toURL() instead.

The second problem looks like an unintentional || instead of &&.

Change-Id: Ib4e2ac13c914c002eff53455ed6d6ed898ce35fb
rc/com/android/ddmuilib/TablePanel.java
55287d3eb7e50e603358e99f9db9e706620c2bcf 08-Oct-2010 Tor Norbye <tnorbye@google.com> Merge "Fix various warnings"
0b607f02d3328705cc9298550ab4556dc2550249 26-Sep-2010 Pierre Zurek <pierrezurek@gmail.com> Go to problem in source from Logcat via Double-click.

The user can choose in the LogCat Preference Page what
will be the default behaviour (go to method declaration
or go to error line).

There are now 2 available actions in the LogCat View
instead of the unique "Go to Problem" (which is now
called "Go to Problem (method declaration)").

Change-Id: I769771b29d26b625cfd0250fa23e6627821be16d
rc/com/android/ddmuilib/logcat/LogPanel.java
0ac3325cdb4593b324ddd1e7863e8fedf8c3f09f 07-Oct-2010 Tor Norbye <tnorbye@google.com> Fix various warnings

Change-Id: I4864b89347ed8756b1eae83d97990555144fb93a
rc/com/android/ddmuilib/log/event/DisplaySync.java
rc/com/android/ddmuilib/log/event/DisplaySyncHistogram.java
rc/com/android/ddmuilib/log/event/DisplaySyncPerf.java
37c10087d3a7adf9764b9d83a922d280dccf3824 13-Sep-2010 Xavier Ducrohet <xav@android.com> Add alloc number in the alloc tracker.

This lets the user sort the allocation in the order they
happened (or reverse)

Change-Id: I85ca3b190f3a5d63828d78882ee833e5523c2154
rc/com/android/ddmuilib/AllocationPanel.java
756a317c02c016a621ae132faadcc834f12517d7 12-Sep-2010 Xavier Ducrohet <xav@android.com> Filter input in the alloc tracker panel.

Change-Id: Ib8f591022228d3ec2a8d50c0dc3d2caadca86e81
rc/com/android/ddmuilib/AllocationPanel.java
70878bf07f35b418e8552265831c1ebfef630127 12-Sep-2010 Xavier Ducrohet <xav@android.com> Allocation tracker content can now be sorted.

Change-Id: I9f4009e5634e0c4a2b871082c2c281f62a67ca2f
rc/com/android/ddmuilib/AllocationPanel.java
rc/resources/images/sort_down.png
rc/resources/images/sort_up.png
7f6caa30d6233e14d3e03dd2a0d60b6ba69ee23b 25-Aug-2010 Andy McFadden <fadden@android.com> Add "suspended" state to thread display.

Change-Id: Id13f96d1e490228a2fc9a7452a34cd4ac7e5aa46
rc/com/android/ddmuilib/ThreadPanel.java
e06f8f93f431ac4dacbecc2cdf3f61af08aafeab 27-Jul-2010 Xavier Ducrohet <xav@android.com> Update ddms (all) and 'android' (linux/mac) to user explicit classpath

They were still using the old method of providing a jar folder
through java.ext.dirs in which to look for jar files.

The jar dependency is now explicit in the manifest, which allows
us to target ddmlib explicitely and not ddmlib-prebuilt.

Change-Id: Ic3c5708ab327a3e1fb7a7cd86fffda96e0d988dd
tc/manifest.txt
rc/Android.mk
9db3286c710abeb2c9478c2f95657d945a55d176 21-Jul-2010 Xavier Ducrohet <xav@android.com> Update the ddmlib api for push/pull/install

The API now throws SyncException instead of returning SyncResult.

The IDevice API to install/uninstall now returns a single
InstallException that encapsulate all the other ddmlib
exception.

Also, the recently added exceptions now don't extend IOException
anymore.

Change-Id: Ib334c4157a6add1882233dfaaa032aea1910eede
rc/com/android/ddmuilib/ScreenShotDialog.java
rc/com/android/ddmuilib/SyncProgressHelper.java
rc/com/android/ddmuilib/SysinfoPanel.java
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
rc/com/android/ddmuilib/handler/BaseFileHandler.java
rc/com/android/ddmuilib/handler/MethodProfilingHandler.java
rc/com/android/ddmuilib/logcat/LogPanel.java
3849c69958ea66dc658f10f22cbd5b0a9aa6b31c 02-Jul-2010 Xavier Ducrohet <xav@android.com> Fix a possible deadlock in Eclipse/ADT.

The issue is that sometimes phones will stop responding to shell
commands launched through adb.

One of these commands is executed in DeviceMonitor#queryNewDeviceForInfo
However this is done from a loop that acquires a lock that is used in
other places, including building. This basically renders eclipse
useless as Eclipse will refuse to do anything until the build is
finished.

The fix is twofold:
First, move the call to queryNewDeviceForInfo outside of the
synchronized block.

This fixes the deadlock issue but this will not fix the problem
that the device monitor will still be stuck with a shell command
that never returns.

The second part of the fix is to add a timeout to shell command
execution. Additionnaly, this patch contains a lot of clean up
of the adb API in ddmlib, especially around exceptions thrown
during timeout.

Change-Id: Ice8ef787c825e0e7b535ff0bb939bf6f25e3d7e4
rc/com/android/ddmuilib/logcat/LogPanel.java
3b857be9581264f0aeb7caa0770c4b8b6ae3e382 29-Jun-2010 Raphael Moll <ralf@android.com> Fix ddms projects in Eclipse for Windows/Cygwin.

Change-Id: Ie68b8c0dd9eecbc14a2bb86247b767ea47c6842c
EADME
e312b2800018fcfe7fad0b1c883127f1364a17d0 23-Jun-2010 Xavier Ducrohet <xav@android.com> Make ddmlib/ddmuilib jar files inside the ddms plug-in instead of symlinks.

Also cleaned up the abstraction layer to load images from ddmuilib since
its image are now always located inside ddmuilib jar.

Change-Id: Id9d283df18a05b7b5593e4593e90dac6e5548b94
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/EmulatorControlPanel.java
rc/com/android/ddmuilib/HeapPanel.java
rc/com/android/ddmuilib/IImageLoader.java
rc/com/android/ddmuilib/ImageHelper.java
rc/com/android/ddmuilib/ImageLoader.java
rc/com/android/ddmuilib/ScreenShotDialog.java
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
rc/com/android/ddmuilib/log/event/EventDisplayOptions.java
rc/com/android/ddmuilib/log/event/EventLogPanel.java
rc/com/android/ddmuilib/logcat/EditFilterDialog.java
rc/com/android/ddmuilib/logcat/LogPanel.java
rc/resources/images/capture.png
0a2c7ef4fdc0e09a4d6f67e2b9670f2864688614 24-Jun-2010 Xavier Ducrohet <xav@android.com> Fix a crash in DDMS when parsing an unexpected sync event format due to a change in froyo.

Change-Id: I878911b3167ff12b48fa3ea3a7bfb9129466b9bd
rc/com/android/ddmuilib/log/event/DisplaySyncPerf.java
e3c65f3494e44e9a4b4a72a650f54e56ec0efdfc 09-Jun-2010 Xavier Ducrohet <xav@android.com> Properly handle float/double in loc control when locale is not en.

String.format uses the decimal point of the current locale which
we don't want since we pass the result to the emulator which expects
decimal point to be '.'

Double.parseDouble does not use the current locale and therefore
failed to read values put in the UI that used a decimal point
that is not '.'

Also simplified the GPS command to use geo fix instead of geo nmea

Change-Id: I275018e6a967c3d4fa37f25a149a840350e40bb8
rc/com/android/ddmuilib/location/CoordinateControls.java
17c93272d5f60398d397897edb58e010929bad54 13-Mar-2010 Xavier Ducrohet <xav@android.com> Fix symbol resolution for libc.

There's no libc_debug anymore. This prevented the
resolution from working for all libc addresses.

Change-Id: Id909719cd38170192b14d05f9ce5e47b640ea469
rc/com/android/ddmuilib/Addr2Line.java
44783788698204a0dc3b311f5b6add970fb40f40 30-Jan-2010 Xavier Ducrohet <xav@android.com> Add support for VMs that can stream hprof data through JDWP.

Change-Id: I0fcc8718685ddb7accd459e78821677f044135ba
rc/com/android/ddmuilib/InfoPanel.java
rc/com/android/ddmuilib/handler/BaseFileHandler.java
rc/com/android/ddmuilib/handler/MethodProfilingHandler.java
e089d046d1f8835237e5fa27b13e3c68ed5e35ab 28-Jan-2010 Xavier Ducrohet <xav@google.com> Merge "Display VM message on profiling error"
49d14bf54ac2393ae438a3f04cea7a88032f5208 28-Jan-2010 Xavier Ducrohet <xav@google.com> Merge "DDMS: Add support for profiling with VM able to send the result through JDWP."
1e722f56f7b84cbf1f6459a83118c3e8e216c461 28-Jan-2010 Xavier Ducrohet <xav@android.com> Display VM message on profiling error

Bug: 2160407
Change-Id: Ifcce3f12b9de8e07bc035c8b74f82911d81c490e
rc/com/android/ddmuilib/handler/MethodProfilingHandler.java
de0716ae5b7caf7766e656b93bff971ce75d94b6 28-Jan-2010 Xavier Ducrohet <xav@android.com> DDMS: Add support for profiling with VM able to send the result through JDWP.

Older VMs need to write the trace file on the SD Card which requires
the appropriate permission. This new mode directly streams the trace
file from the VM to DDMS.

Bug: 2160407

Change-Id: Ic0e0813d8453761caecb990d85ca7e3baf1d237a
rc/com/android/ddmuilib/InfoPanel.java
rc/com/android/ddmuilib/handler/MethodProfilingHandler.java
3d954a35333230acef771cf10a379564c651cf3f 28-Jan-2010 Xavier Ducrohet <xav@google.com> am d5c86740: am 56b4806f: Merge "resolves Issue #5280: Go to problem in source from Logcat." into eclair

Merge commit 'd5c8674015ef40b1356629d2e8dca3f9a8b18ee3'

* commit 'd5c8674015ef40b1356629d2e8dca3f9a8b18ee3':
resolves Issue #5280: Go to problem in source from Logcat.
214968fa233237b3ad97741dc58fef1e97512c10 26-Jan-2010 Karl Ostmo <kostmo@gmail.com> resolves Issue #5280: Go to problem in source from Logcat.

This is integrated from external/master/development.git in
order to not be lost when the development->sdk move is
merged into external/master

Change-Id: I36b6c467900c80b58342ee586f802979e8ce821c
http://android.git.kernel.org/?p=platform/development.git;a=commit;h=fa974da92bec6ea9bb03ac4511622d784f04d271
rc/com/android/ddmuilib/logcat/LogPanel.java
ffa745e097a4c5007208be8173600c99b0858db7 22-Jan-2010 Ken Shirriff <kens@google.com> Add com.android.calendar to sync authorities.

bug 2388178
rc/com/android/ddmuilib/log/event/SyncCommon.java
4112b0c98f2debc972b14c791aff29603f0a23b7 12-Nov-2009 Xavier Ducrohet <xav@android.com> Use SWT to write PNG screenshot now that we moved to SWT 3.3+

BUG 2256562

Change-Id: I9a181cb799b1eadc027d6357c100fc4dfb0db012
rc/com/android/ddmuilib/ScreenShotDialog.java
rc/com/android/ddmuilib/WritePng.java
9c4bc5cdb4d124544003bfbd9177cc4033f8d446 01-Oct-2009 Xavier Ducrohet <xav@android.com> UI to manage/create custom Layout Devices.

Change-Id: Idc447b4136a6f709d7a665321af68de552ec613a
rc/com/android/ddmuilib/TableHelper.java
4e5e82e3e4e3ceda36cf1142163691be8b15890a 01-Oct-2009 Xavier Ducrohet <xav@android.com> Add a copy button to the screenshot dialog.

This adds the screenshot to the clipboard.

Change-Id: I3509f2e5471588d749d67b70dd4d674cd0cd2057
rc/com/android/ddmuilib/ScreenShotDialog.java
40d94820823640354cdd7b45839dac0a7c2deb58 25-Sep-2009 Xavier Ducrohet <xav@android.com> Fix colSpan for screenshot display from 3 to 4 in DDMS.

Change-Id: I4cf92b2f6ee66cd6f8e9b224879d8459e82949b6
rc/com/android/ddmuilib/ScreenShotDialog.java
0f30c14088ef1ee37e19f36ccbee67f44ea79bac 24-Sep-2009 Xavier Ducrohet <xav@android.com> Fixed screenshot command line tool to deal with new RawImage

Also added a rotate method to DDMS.

Change-Id: I9ec2774ff0679b8b4f044341470b3dfa527f9680
rc/com/android/ddmuilib/ScreenShotDialog.java
e851d783ebe07c5bb13f4afac53cfe209fef795a 24-Sep-2009 Xavier Ducrohet <xav@android.com> Move the screenshot button above the image

This will help when taking screenshots of large screen devices
on laptop screens.

Change-Id: Ief7b03d2f1711970e76f4dfe6086e3ea0d606c99
rc/com/android/ddmuilib/ScreenShotDialog.java
4eaf2b3df2a3cdfd0ef21a51fad10ca5f584b7f1 16-Sep-2009 Xavier Ducrohet <xav@android.com> Add support for new framebuffer protocol over adb.

This is backward compatible with the original protocol.

Change-Id: I93e811cb7775a10af82e70f31ae66d4cd74636b5
rc/com/android/ddmuilib/ScreenShotDialog.java
223f7d34344e1f7da85f7c50f3f9ace7c80161b8 04-Sep-2009 Android (Google) Code Review <android-gerrit@google.com> Merge change 23909 into eclair

* changes:
Add ddms support for contacts.
2d936cf594472eddd5ee805c08e7f2c80c44881a 04-Sep-2009 Ken Shirriff <kens@google.com> Add ddms support for contacts.

Support the new contacts authname and the aggregation event.
rc/com/android/ddmuilib/log/event/DisplaySync.java
rc/com/android/ddmuilib/log/event/SyncCommon.java
bcf38645bef192b380f0d338b263aea075cd1aeb 03-Sep-2009 Xavier Ducrohet <xav@android.com> Add method profiling support to DDMS.

New button allows to start/stop tracing. When clicking stop, DDMS downloads
the trace file and starts Traceview.

Also refactored some common parts of the HPROF and tracing handlers into a
common class. The goal is to have a default, extensible implementation
of the HPROF handler that DDMS and the plug-in can reuse. This will reduce
duplicated code.

Change-Id: Ifc48926c7f6f1c3ea49a4aa94053664be83cbb06
classpath
rc/com/android/ddmuilib/AllocationPanel.java
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/HeapPanel.java
rc/com/android/ddmuilib/InfoPanel.java
rc/com/android/ddmuilib/NativeHeapPanel.java
rc/com/android/ddmuilib/ThreadPanel.java
rc/com/android/ddmuilib/handler/BaseFileHandler.java
rc/com/android/ddmuilib/handler/MethodProfilingHandler.java
rc/resources/images/tracing_start.png
rc/resources/images/tracing_stop.png
7ab724a2d101fb390a2622c3f0c90405c91f78fb 03-Sep-2009 Xavier Ducrohet <xav@android.com> Make DDMS log way less verbose.

All the Log.i() calls were in fact debug logging, so I moved them
to Log.d()

Change-Id: I47b9cd8e85e630d61506c8c2df3baf245a706e03
rc/com/android/ddmuilib/ScreenShotDialog.java
rc/com/android/ddmuilib/WritePng.java
2143c56c55f6ef9439b26070d7139b2c907ca3da 02-Sep-2009 Xavier Ducrohet <xav@android.com> Add "Dump HPROF file" to DDMS/DDMS plugin

This uses the (new in cupcake) VM command through JDWP.
Older VMs are detected through the (also new) 'FEAT' command that notifies
which features the VM supports.

The hprof file is right now saved in /sdcard. Due to donut+ apps not having
the SD Card permission by default, we may need to change this in the (near)
future.

Upon completion of the dump by the VM, DDMS will give the user a file selector
to choose a place to save the file on the host machine.

Future improvements: run (our own) hat, or hprof-conv and a standard hprof
tool (Eclipse MAT integration for instance). This should be configurable
by the user.

Change-Id: I33696b0263e3d0788ad5d90cedf3cd17393d2f9b
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/SyncProgressMonitor.java
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
rc/resources/images/hprof.png
a62ab1bf42fa310a4be441f07235d574b62af567 01-Sep-2009 Xavier Ducrohet <xav@android.com> DDMS now queries the VM for its features.

This is a first step to support method profiling on/off and hprof dump from
DDMS.

Change-Id: Id95767b458a8405a31bcbe295bb969597f0e6e03
rc/com/android/ddmuilib/InfoPanel.java
cbe942979c9308b162d24db33ac8228afa9c0048 24-Jul-2009 Xavier Ducrohet <xav@android.com> Allow override of default symbol location for native heap library resolution

Default location of the symbols is $ANDROID_PRODUCT_OUT/symbols.
Setting the env variable ANDROID_SYMBOLS allows you to override this location
so that DDMS goes look for the symbol in a different location when
resolving native heap addresses.
rc/com/android/ddmuilib/Addr2Line.java
f5e1cc8856d792d71f1455ae70316fc37cff4e7c 04-Jun-2009 Xavier Ducrohet <xav@android.com> Change the SDK, DDMS and Traceview to work with the new SWT libraries.

The SDK now contains 32 and 64 bit version of SWT. DDMS and Traceview
use the archquery java app to check the architecture of the VM to decide
which version of SWT should be used to run the apps.
rc/Android.mk
5542fe492293223a81e604a49aa6fa55b1719847 15-May-2009 Xavier Ducrohet <xav@android.com> Make the ddmlib API use IDevice instead of Device

Device is now private. All the API is using IDevice.
Updated ddms, ADT, hierarchyviewer and other tools that relied on ddmlib.
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/EmulatorControlPanel.java
rc/com/android/ddmuilib/ScreenShotDialog.java
rc/com/android/ddmuilib/SelectionDependentPanel.java
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
rc/com/android/ddmuilib/log/event/EventLogPanel.java
rc/com/android/ddmuilib/logcat/LogPanel.java
498c95249a4c98cbfceb5ce580699007f0ffc2be 15-May-2009 Xavier Ducrohet <xav@android.com> Make IDevice#getSyncService() throws an IOException.

This lets callers differentiate between errors when connecting to adb and
errors because adb couldn't talk to the device.
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
55a2c71f27d3e0b8344597c7f281e687cb7aeb1b 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
classpath
project
ndroid.mk
EADME
rc/Android.mk
rc/com/android/ddmuilib/Addr2Line.java
rc/com/android/ddmuilib/AllocationPanel.java
rc/com/android/ddmuilib/BackgroundThread.java
rc/com/android/ddmuilib/BaseHeapPanel.java
rc/com/android/ddmuilib/ClientDisplayPanel.java
rc/com/android/ddmuilib/DdmUiPreferences.java
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/EmulatorControlPanel.java
rc/com/android/ddmuilib/HeapPanel.java
rc/com/android/ddmuilib/IImageLoader.java
rc/com/android/ddmuilib/ITableFocusListener.java
rc/com/android/ddmuilib/ImageHelper.java
rc/com/android/ddmuilib/ImageLoader.java
rc/com/android/ddmuilib/InfoPanel.java
rc/com/android/ddmuilib/NativeHeapPanel.java
rc/com/android/ddmuilib/Panel.java
rc/com/android/ddmuilib/PortFieldEditor.java
rc/com/android/ddmuilib/ScreenShotDialog.java
rc/com/android/ddmuilib/SelectionDependentPanel.java
rc/com/android/ddmuilib/StackTracePanel.java
rc/com/android/ddmuilib/SysinfoPanel.java
rc/com/android/ddmuilib/TableHelper.java
rc/com/android/ddmuilib/TablePanel.java
rc/com/android/ddmuilib/ThreadPanel.java
rc/com/android/ddmuilib/WritePng.java
rc/com/android/ddmuilib/actions/ICommonAction.java
rc/com/android/ddmuilib/actions/ToolItemAction.java
rc/com/android/ddmuilib/annotation/UiThread.java
rc/com/android/ddmuilib/annotation/WorkerThread.java
rc/com/android/ddmuilib/console/DdmConsole.java
rc/com/android/ddmuilib/console/IDdmConsole.java
rc/com/android/ddmuilib/explorer/DeviceContentProvider.java
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
rc/com/android/ddmuilib/explorer/FileLabelProvider.java
rc/com/android/ddmuilib/location/CoordinateControls.java
rc/com/android/ddmuilib/location/GpxParser.java
rc/com/android/ddmuilib/location/KmlParser.java
rc/com/android/ddmuilib/location/LocationPoint.java
rc/com/android/ddmuilib/location/TrackContentProvider.java
rc/com/android/ddmuilib/location/TrackLabelProvider.java
rc/com/android/ddmuilib/location/TrackPoint.java
rc/com/android/ddmuilib/location/WayPoint.java
rc/com/android/ddmuilib/location/WayPointContentProvider.java
rc/com/android/ddmuilib/location/WayPointLabelProvider.java
rc/com/android/ddmuilib/log/event/BugReportImporter.java
rc/com/android/ddmuilib/log/event/DisplayFilteredLog.java
rc/com/android/ddmuilib/log/event/DisplayGraph.java
rc/com/android/ddmuilib/log/event/DisplayLog.java
rc/com/android/ddmuilib/log/event/DisplaySync.java
rc/com/android/ddmuilib/log/event/DisplaySyncHistogram.java
rc/com/android/ddmuilib/log/event/DisplaySyncPerf.java
rc/com/android/ddmuilib/log/event/EventDisplay.java
rc/com/android/ddmuilib/log/event/EventDisplayOptions.java
rc/com/android/ddmuilib/log/event/EventLogImporter.java
rc/com/android/ddmuilib/log/event/EventLogPanel.java
rc/com/android/ddmuilib/log/event/EventValueSelector.java
rc/com/android/ddmuilib/log/event/OccurrenceRenderer.java
rc/com/android/ddmuilib/log/event/SyncCommon.java
rc/com/android/ddmuilib/logcat/EditFilterDialog.java
rc/com/android/ddmuilib/logcat/LogColors.java
rc/com/android/ddmuilib/logcat/LogFilter.java
rc/com/android/ddmuilib/logcat/LogPanel.java
rc/resources/images/add.png
rc/resources/images/android.png
rc/resources/images/backward.png
rc/resources/images/clear.png
rc/resources/images/d.png
rc/resources/images/debug-attach.png
rc/resources/images/debug-error.png
rc/resources/images/debug-wait.png
rc/resources/images/delete.png
rc/resources/images/device.png
rc/resources/images/down.png
rc/resources/images/e.png
rc/resources/images/edit.png
rc/resources/images/empty.png
rc/resources/images/emulator.png
rc/resources/images/file.png
rc/resources/images/folder.png
rc/resources/images/forward.png
rc/resources/images/gc.png
rc/resources/images/halt.png
rc/resources/images/heap.png
rc/resources/images/i.png
rc/resources/images/importBug.png
rc/resources/images/load.png
rc/resources/images/pause.png
rc/resources/images/play.png
rc/resources/images/pull.png
rc/resources/images/push.png
rc/resources/images/save.png
rc/resources/images/thread.png
rc/resources/images/up.png
rc/resources/images/v.png
rc/resources/images/w.png
rc/resources/images/warning.png
82ea7a177797b844b252effea5c7c7c5d63ea4ac 04-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@135843
classpath
project
ndroid.mk
EADME
rc/Android.mk
rc/com/android/ddmuilib/Addr2Line.java
rc/com/android/ddmuilib/AllocationPanel.java
rc/com/android/ddmuilib/BackgroundThread.java
rc/com/android/ddmuilib/BaseHeapPanel.java
rc/com/android/ddmuilib/ClientDisplayPanel.java
rc/com/android/ddmuilib/DdmUiPreferences.java
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/EmulatorControlPanel.java
rc/com/android/ddmuilib/HeapPanel.java
rc/com/android/ddmuilib/IImageLoader.java
rc/com/android/ddmuilib/ITableFocusListener.java
rc/com/android/ddmuilib/ImageHelper.java
rc/com/android/ddmuilib/ImageLoader.java
rc/com/android/ddmuilib/InfoPanel.java
rc/com/android/ddmuilib/NativeHeapPanel.java
rc/com/android/ddmuilib/Panel.java
rc/com/android/ddmuilib/PortFieldEditor.java
rc/com/android/ddmuilib/ScreenShotDialog.java
rc/com/android/ddmuilib/SelectionDependentPanel.java
rc/com/android/ddmuilib/StackTracePanel.java
rc/com/android/ddmuilib/SysinfoPanel.java
rc/com/android/ddmuilib/TableHelper.java
rc/com/android/ddmuilib/TablePanel.java
rc/com/android/ddmuilib/ThreadPanel.java
rc/com/android/ddmuilib/WritePng.java
rc/com/android/ddmuilib/actions/ICommonAction.java
rc/com/android/ddmuilib/actions/ToolItemAction.java
rc/com/android/ddmuilib/annotation/UiThread.java
rc/com/android/ddmuilib/annotation/WorkerThread.java
rc/com/android/ddmuilib/console/DdmConsole.java
rc/com/android/ddmuilib/console/IDdmConsole.java
rc/com/android/ddmuilib/explorer/DeviceContentProvider.java
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
rc/com/android/ddmuilib/explorer/FileLabelProvider.java
rc/com/android/ddmuilib/location/CoordinateControls.java
rc/com/android/ddmuilib/location/GpxParser.java
rc/com/android/ddmuilib/location/KmlParser.java
rc/com/android/ddmuilib/location/LocationPoint.java
rc/com/android/ddmuilib/location/TrackContentProvider.java
rc/com/android/ddmuilib/location/TrackLabelProvider.java
rc/com/android/ddmuilib/location/TrackPoint.java
rc/com/android/ddmuilib/location/WayPoint.java
rc/com/android/ddmuilib/location/WayPointContentProvider.java
rc/com/android/ddmuilib/location/WayPointLabelProvider.java
rc/com/android/ddmuilib/log/event/BugReportImporter.java
rc/com/android/ddmuilib/log/event/DisplayFilteredLog.java
rc/com/android/ddmuilib/log/event/DisplayGraph.java
rc/com/android/ddmuilib/log/event/DisplayLog.java
rc/com/android/ddmuilib/log/event/DisplaySync.java
rc/com/android/ddmuilib/log/event/DisplaySyncHistogram.java
rc/com/android/ddmuilib/log/event/DisplaySyncPerf.java
rc/com/android/ddmuilib/log/event/EventDisplay.java
rc/com/android/ddmuilib/log/event/EventDisplayOptions.java
rc/com/android/ddmuilib/log/event/EventLogImporter.java
rc/com/android/ddmuilib/log/event/EventLogPanel.java
rc/com/android/ddmuilib/log/event/EventValueSelector.java
rc/com/android/ddmuilib/log/event/OccurrenceRenderer.java
rc/com/android/ddmuilib/log/event/SyncCommon.java
rc/com/android/ddmuilib/logcat/EditFilterDialog.java
rc/com/android/ddmuilib/logcat/LogColors.java
rc/com/android/ddmuilib/logcat/LogFilter.java
rc/com/android/ddmuilib/logcat/LogPanel.java
rc/resources/images/add.png
rc/resources/images/android.png
rc/resources/images/backward.png
rc/resources/images/clear.png
rc/resources/images/d.png
rc/resources/images/debug-attach.png
rc/resources/images/debug-error.png
rc/resources/images/debug-wait.png
rc/resources/images/delete.png
rc/resources/images/device.png
rc/resources/images/down.png
rc/resources/images/e.png
rc/resources/images/edit.png
rc/resources/images/empty.png
rc/resources/images/emulator.png
rc/resources/images/file.png
rc/resources/images/folder.png
rc/resources/images/forward.png
rc/resources/images/gc.png
rc/resources/images/halt.png
rc/resources/images/heap.png
rc/resources/images/i.png
rc/resources/images/importBug.png
rc/resources/images/load.png
rc/resources/images/pause.png
rc/resources/images/play.png
rc/resources/images/pull.png
rc/resources/images/push.png
rc/resources/images/save.png
rc/resources/images/thread.png
rc/resources/images/up.png
rc/resources/images/v.png
rc/resources/images/w.png
rc/resources/images/warning.png
c9432be76d50a527da232d518f633add2f76242b 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@132589
rc/com/android/ddmuilib/NativeHeapPanel.java
382f18c205f459fdd9ff6c0657beadcbfe3c5b01 03-Mar-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //depot/cupcake/@137055
rc/com/android/ddmuilib/NativeHeapPanel.java
4fd2474506c1ea3cb96e128d72db2a18ec1e258d 19-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@132276
rc/com/android/ddmuilib/DevicePanel.java
b58a893bf9ba96db9a544cd33af4828826b73061 13-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@131421
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/log/event/DisplaySync.java
rc/com/android/ddmuilib/log/event/DisplaySyncHistogram.java
rc/com/android/ddmuilib/log/event/DisplaySyncPerf.java
rc/com/android/ddmuilib/log/event/EventDisplay.java
rc/com/android/ddmuilib/log/event/EventDisplayOptions.java
rc/com/android/ddmuilib/log/event/SyncCommon.java
6990abcbc03c25aeff94da27ed6893e7993d2709 11-Feb-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@130745
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/log/event/DisplayFilteredLog.java
rc/com/android/ddmuilib/log/event/DisplayGraph.java
rc/com/android/ddmuilib/log/event/DisplayLog.java
rc/com/android/ddmuilib/log/event/DisplaySync.java
rc/com/android/ddmuilib/log/event/DisplaySyncHistogram.java
rc/com/android/ddmuilib/log/event/EventDisplay.java
rc/com/android/ddmuilib/log/event/EventDisplayOptions.java
rc/com/android/ddmuilib/log/event/EventLogImporter.java
a1514dae8668c48feae5436285e3db0ba2133ec3 10-Jan-2009 The Android Open Source Project <initial-contribution@android.com> auto import from //branches/cupcake/...@125939
rc/com/android/ddmuilib/DevicePanel.java
9ca1c0b33cc3fc28c21a915730797ec01e71a152 18-Dec-2008 The Android Open Source Project <initial-contribution@android.com> Code drop from //branches/cupcake/...@124589
EADME
rc/com/android/ddmuilib/SysinfoPanel.java
1506a206c0a5e3b593c4c61a62b8805b64e98daf 21-Oct-2008 The Android Open Source Project <initial-contribution@android.com> Initial Contribution
classpath
project
ndroid.mk
EADME
rc/Android.mk
rc/com/android/ddmuilib/Addr2Line.java
rc/com/android/ddmuilib/AllocationPanel.java
rc/com/android/ddmuilib/BackgroundThread.java
rc/com/android/ddmuilib/BaseHeapPanel.java
rc/com/android/ddmuilib/ClientDisplayPanel.java
rc/com/android/ddmuilib/DdmUiPreferences.java
rc/com/android/ddmuilib/DevicePanel.java
rc/com/android/ddmuilib/EmulatorControlPanel.java
rc/com/android/ddmuilib/HeapPanel.java
rc/com/android/ddmuilib/IImageLoader.java
rc/com/android/ddmuilib/ITableFocusListener.java
rc/com/android/ddmuilib/ImageHelper.java
rc/com/android/ddmuilib/ImageLoader.java
rc/com/android/ddmuilib/InfoPanel.java
rc/com/android/ddmuilib/NativeHeapPanel.java
rc/com/android/ddmuilib/Panel.java
rc/com/android/ddmuilib/PortFieldEditor.java
rc/com/android/ddmuilib/ScreenShotDialog.java
rc/com/android/ddmuilib/SelectionDependentPanel.java
rc/com/android/ddmuilib/StackTracePanel.java
rc/com/android/ddmuilib/SysinfoPanel.java
rc/com/android/ddmuilib/TableHelper.java
rc/com/android/ddmuilib/TablePanel.java
rc/com/android/ddmuilib/ThreadPanel.java
rc/com/android/ddmuilib/WritePng.java
rc/com/android/ddmuilib/actions/ICommonAction.java
rc/com/android/ddmuilib/actions/ToolItemAction.java
rc/com/android/ddmuilib/annotation/UiThread.java
rc/com/android/ddmuilib/annotation/WorkerThread.java
rc/com/android/ddmuilib/console/DdmConsole.java
rc/com/android/ddmuilib/console/IDdmConsole.java
rc/com/android/ddmuilib/explorer/DeviceContentProvider.java
rc/com/android/ddmuilib/explorer/DeviceExplorer.java
rc/com/android/ddmuilib/explorer/FileLabelProvider.java
rc/com/android/ddmuilib/location/CoordinateControls.java
rc/com/android/ddmuilib/location/GpxParser.java
rc/com/android/ddmuilib/location/KmlParser.java
rc/com/android/ddmuilib/location/LocationPoint.java
rc/com/android/ddmuilib/location/TrackContentProvider.java
rc/com/android/ddmuilib/location/TrackLabelProvider.java
rc/com/android/ddmuilib/location/TrackPoint.java
rc/com/android/ddmuilib/location/WayPoint.java
rc/com/android/ddmuilib/location/WayPointContentProvider.java
rc/com/android/ddmuilib/location/WayPointLabelProvider.java
rc/com/android/ddmuilib/log/event/BugReportImporter.java
rc/com/android/ddmuilib/log/event/EventDisplay.java
rc/com/android/ddmuilib/log/event/EventDisplayOptions.java
rc/com/android/ddmuilib/log/event/EventLogImporter.java
rc/com/android/ddmuilib/log/event/EventLogPanel.java
rc/com/android/ddmuilib/log/event/EventValueSelector.java
rc/com/android/ddmuilib/log/event/OccurrenceRenderer.java
rc/com/android/ddmuilib/logcat/EditFilterDialog.java
rc/com/android/ddmuilib/logcat/LogColors.java
rc/com/android/ddmuilib/logcat/LogFilter.java
rc/com/android/ddmuilib/logcat/LogPanel.java
rc/resources/images/add.png
rc/resources/images/android.png
rc/resources/images/backward.png
rc/resources/images/clear.png
rc/resources/images/d.png
rc/resources/images/debug-attach.png
rc/resources/images/debug-error.png
rc/resources/images/debug-wait.png
rc/resources/images/delete.png
rc/resources/images/device.png
rc/resources/images/down.png
rc/resources/images/e.png
rc/resources/images/edit.png
rc/resources/images/empty.png
rc/resources/images/emulator.png
rc/resources/images/file.png
rc/resources/images/folder.png
rc/resources/images/forward.png
rc/resources/images/gc.png
rc/resources/images/halt.png
rc/resources/images/heap.png
rc/resources/images/i.png
rc/resources/images/importBug.png
rc/resources/images/load.png
rc/resources/images/pause.png
rc/resources/images/play.png
rc/resources/images/pull.png
rc/resources/images/push.png
rc/resources/images/save.png
rc/resources/images/thread.png
rc/resources/images/up.png
rc/resources/images/v.png
rc/resources/images/w.png
rc/resources/images/warning.png