aboutsummaryrefslogtreecommitdiffstats
path: root/ddms/app
Commit message (Collapse)AuthorAgeFilesLines
* SDK: Delete projects moved to tools/base or tools/swt.Raphael Moll2013-03-1320-4780/+0
| | | | Change-Id: Iba15f82cb00d19217382c78d8ff37dda1e97ea59
* Include guava in ddms manifestSiva Velusamy2013-02-111-1/+1
| | | | Change-Id: I71a829fa4043cfd810eaccc216f0ce442bbe0ccd
* update classpath to point to new project namesSiva Velusamy2013-01-131-1/+1
| | | | Change-Id: Ic912fdd4b900f42ba6e406b27b911802b8337195
* Suggest using monitor only if it is available.Siva Velusamy2012-12-041-2/+4
| | | | | | | | This is so that users who run tools out of the Android source tree built for a particular device don't see the suggestion, since monitor is not yet built during device builds. Change-Id: I8d68a52f950f928a6a6a349bc5cf4c40b1d2e474
* Install host tools in debug mode.Ying Wang2012-11-302-1/+3
| | | | Change-Id: I25cbf7fceffb521d63f766e37b1788f8a85e6fc4
* Update compiler flags.Tor Norbye2012-10-261-2/+2
| | | | | | | | | | Turns off the ability to use @SuppressWarnings with optional errors is available, but off by default (see Eclipse issue 392875). This turns that off, makes missing enums in switch statements a warning, and synchronizes the settings file to all projects (except tests.) Change-Id: Iad7060523b6ee2cbbca97e0a6ffedb264b185222
* logcat: Support auto scroll lock.Siva Velusamy2012-09-281-0/+6
| | | | | | | | | | | | | | Another go at adding support for automatically enabling/disabling scroll lock. Past attempts have been brittle because of differences in how Windows, Linux and Mac handle the scrollbar. The key to getting this work consistently across platforms seems to be in explicitly setting the range of values for the scrollbar. Setting the maximum to be a high enough value relative to the thumb allows accurate detection of even minor movements away from the bottom of the scrollbar. Change-Id: Ic3259cc4e2e8a20f3a87ce4bf234217cea792f88
* Fix manifest for ddms.jar due to refactoring.Xavier Ducrohet2012-08-151-1/+1
| | | | Change-Id: I41a8414669ba82f6053d2f5b7d582dbf32ba6e72
* More refactoring.Xavier Ducrohet2012-08-133-3/+3
| | | | | | | Move stuff out of sdklib into common and ide_common. Remove androidprefs and move the one class into common. Change-Id: I71d126a13cf2ba413692e29616f4968a37d7b33a
* Add deprecation warnings for ddms, hierarchyviewer and traceview.Siva Velusamy2012-06-202-0/+4
| | | | Change-Id: Ib7b0ee2986d2a7273a23c2e3d6c7a0aa7afc20fb
* Merge "SDK: Send android gl info with ping emulator stats."Raphael Moll2012-06-061-1/+1
|\
| * SDK: Send android gl info with ping emulator stats.Raphael Moll2012-05-301-1/+1
| | | | | | | | | | | | Related emulator change: 733fffaac9ccebfc424fccf9467b22475f71a2f8 Change-Id: Ie7948a9be6c1289306968cda91d1e0f0cf7cb61c
* | Fix warningsTor Norbye2012-06-011-0/+5
|/ | | | | | | | | | | | | | | | | 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
* SDK: Update about box for 2012.Raphael Moll2012-05-141-1/+2
| | | | | | SDK Bug: b/6043405 Change-Id: I2c189ef30d68738de8becff874343296ad9c412b
* SDK: Fix classpath for eclipse projects.Raphael Moll2012-04-121-1/+1
| | | | | | | | | | 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
* am c2d5ffe0: Merge changes I6708bd40,I72e28e21Tor Norbye2012-04-064-8/+8
|\ | | | | | | | | | | * commit 'c2d5ffe0b9baa1c24a62459b82bb21df08f4250b': Add support for the WindowBuilder Property Sheet Switch libraries from Eclipse 3.4 to Eclipse 3.6.2
| * Switch libraries from Eclipse 3.4 to Eclipse 3.6.2Tor Norbye2012-04-054-8/+8
| | | | | | | | | | | | This reverts commit f3d3fa912a10e20cadae813b80a66e538f77131d. Change-Id: I72e28e21db3c7f959040c1fbb9df14e4d85d0df4
* | am c12302ae: Merge "Update classpath for eclipse project due to prebuilt move."Xavier Ducrohet2012-04-061-2/+5
|\ \ | |/ | | | | | | * commit 'c12302ae5385828ce385d90c49c69cad504dd98d': Update classpath for eclipse project due to prebuilt move.
| * Update classpath for eclipse project due to prebuilt move.Xavier Ducrohet2012-04-051-2/+5
| | | | | | | | | | | | | | Don't use User Libraries. It's easier to just hardcode them with a classpath variable. Change-Id: If8c1236199dd6766d48cf9b553fa2a9ee0d236e6
* | Fix in-android-tree launch script for SWT based tools.Xavier Ducrohet2012-04-051-1/+1
|/ | | | Change-Id: If39d1d21baef72cdd2a8a0f2ced1ebbe6e02c891
* Revert "Switch libraries from Eclipse 3.4 to Eclipse 3.6.2"Tor Norbye2012-04-033-5/+5
| | | | This reverts commit b0c819f896b3c579633849e3fa674a30e6978dd7.
* Switch libraries from Eclipse 3.4 to Eclipse 3.6.2Tor Norbye2012-04-023-5/+5
| | | | | | | | | | | 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
* Show detailed network statistics from xt_qtaguid.Jeff Sharkey2012-02-011-3/+8
| | | | | | | | | | | | | 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
* Add @NonNull annotation and configure Eclipse settingsTor Norbye2011-12-221-1/+13
| | | | | | | | | | | | | | 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
* Update SDK codebase to JDK 6Tor Norbye2011-12-218-9/+65
| | | | | | | | | | | | | | | | | | | | | 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
* Code cleanup: make sure FileInputStreams are closed.Raphael2011-10-131-1/+13
| | | | | | | | | | | | | | | | 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
* DDMS: Fix menu to not say "SWT"Raphael2011-10-132-3/+7
| | | | | | SDK Bug: 20615 Change-Id: Id59b96bb8b1beb92c3887b1581bd7969cae4262f
* Make the new heap panel to be the default.Siva Velusamy2011-10-091-3/+3
| | | | | | | The old implementation can be used via the env var ANDROID_DDMS_OLD_HEAP_PANEL=1 Change-Id: Iaf6320d3af73d94d0712e476f8a33d07349f415a
* Update default addr2line to use.Siva Velusamy2011-09-271-1/+1
| | | | Change-Id: I17a1b29039e50e0256f37519b3fd8781b88f5e39
* Extract DDMS PreferenceStore.Raphael2011-09-222-77/+83
| | | | | | | | | | | | Splits DDMS PreferenceStore management in a separate class and add the methods we need for ADT first-time wizard. Various pieces of DDMS access the pref store via the PrefsDialog. This could use a cleanup eventually later. Change-Id: Ie1e90b9a4d7e4c9b057b506eae239ba7e8ece37d
* New implementation of native heap - layout only.Siva Velusamy2011-09-201-3/+9
| | | | Address resolution to symbols to come in future CL's.
* Update year in copyright notices to 2011.Siva Velusamy2011-09-161-1/+1
| | | | Change-Id: Ibe1042437e4f320a034be176b0b8efc7d205f79b
* Move creation of LogCatReceiver to a separate factory.Siva Velusamy2011-09-011-2/+1
| | | | | | | | | | | | | | | | | 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
* Make the logcat fifo size user configurable.Siva Velusamy2011-08-232-1/+10
| | | | | | | Add a preference where users can set the size of the message list. Defaults to 1000. Change-Id: Ia888c3802f07607274bfbdca0ade8fbda009ba55
* Use SWT Label's instead of Link's for proper wrap behavior.Siva Velusamy2011-08-231-2/+5
| | | | | | | | | On Mac, Link widgets to not enforce SWT.WRAP style. As a result, text is just clipped instead of being wrapped. Split the privacy policy text into two separate components - one with the text, and one with the link, and use Label's for the longer text content. Change-Id: Ic667b9ec62c0ce26c43611b97e0bbdc89dbc68d6
* Open SDK stats dialog from an existing shell.Siva Velusamy2011-08-223-7/+17
| | | | | | | | | | | | | | This patch addresses Issue #15267. The primary issue is that the SDK stats permission dialog was opened from a separate Job, and this dialog shows up when the user opens the preference page for the first time. Since both of them happen to be modal dialogs, the behavior is inconsistent, and many times results in a blocked UI. The patch fixes this issue by opening up the stats dialog as a child of the preference page dialog within ADT, and as a child of a new shell within DDMS. Change-Id: I8c9ed9e9bbfac855435690f287b4f60975f336fb
* Change way we report Eclipse version in stat ping.Raphael Moll2011-08-191-2/+2
| | | | | | | | | | | | This reverts the way Change I14dba0dd was sending the Eclipse version. Instead of passing a new attribute, we reuse the existing "app=>version" format, with a specific app name of "eclipse". Since versions are reformated in 4 parts, it will report something like "3.5.0.0" (only major+minor and 2 zero sub parts). We don't send more details than that (e.g. Milestones). Change-Id: Id01e3ed6b96ea4ce4e1b4f643d08a050291a6e7b
* Add support for Select All and Copy to Clipboard actions.Siva Velusamy2011-08-181-5/+7
| | | | Change-Id: Idbf3bc093f2a049b5e0e0cd9605a6f8bdc8f7723
* Make new logcat view to be the default in DDMS.Siva Velusamy2011-08-171-3/+3
| | | | | | | The old view can be activated by setting the env variable ANDROID_USE_OLD_LOGCAT_VIEW. Change-Id: I006aaba26f323b12b6da70f22f8584ad76fb5041
* Use fonts as specified in preferences.Siva Velusamy2011-08-112-14/+23
| | | | | | | | | 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
* Save/Restore the width of all columns in the LogCatPanel table.Siva Velusamy2011-08-091-1/+2
| | | | | | | | 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
* Merge "Add eclipse version to usage stat ping."Xavier Ducrohet2011-08-041-2/+2
|\
| * Add eclipse version to usage stat ping.Xavier Ducrohet2011-08-041-2/+2
| | | | | | | | Change-Id: I14dba0dd7cb900c2e700e4da055aee7bb7d1f9cd
* | Initial implementation of the new logcat panel.Siva Velusamy2011-08-041-0/+16
| | | | | | | | | | | | | | | | | | 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
* | Conditionally create old logcat view.Siva Velusamy2011-08-041-5/+24
|/ | | | | | | | | As a first step towards replacing the logcat view, wrap the code that creates and manages the current logcat view to first check which implementation to use. The old implementation is used unless a JVM property "com.android.ddms.useNewLogCatView" is set. Change-Id: Idbdfcc55f0f5f28f7004b010875b89de8a4cea12
* Add a preference for the profiler buffer size.Jeff Brown2011-06-271-0/+11
| | | | | | 8MB is getting to be too small for some purposes. Change-Id: Ic711c426febf2e42634bd73a5be6211cfe66f4c0
* Fix various warningsTor Norbye2011-06-091-1/+8
| | | | | | | | | | | | | 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
* Fix launchers for SDK tools using swtmenubar.Raphael Moll2011-05-052-5/+7
| | | | Change-Id: Iba5860db0a56ab508d1ce155d0e079ab37eb2bc9
* Fix typos in READMEs.Raphael Moll2011-05-021-1/+1
| | | | | | This addresses some CL feedback from last week. Change-Id: I1a121b3f294a395eb0f660d962c65c48d1760d7b
* Use SwtMenuBar in HierarchyViewer application.Raphael Moll2011-04-281-0/+8
| | | | Change-Id: I5f61e0c238520d8582e9bef8fa69c354a1165475