aboutsummaryrefslogtreecommitdiffstats
path: root/hierarchyviewer2
Commit message (Collapse)AuthorAgeFilesLines
* Update compiler flags.Tor Norbye2012-10-262-4/+4
| | | | | | | | | | 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
* More refactoring.Xavier Ducrohet2012-08-133-1/+3
| | | | | | | Move stuff out of sdklib into common and ide_common. Remove androidprefs and move the one class into common. Change-Id: I71d126a13cf2ba413692e29616f4968a37d7b33a
* hv: Add more logging for when things go wrong.Siva Velusamy2012-08-092-0/+4
| | | | Change-Id: Idbb0a32507c19aadb11544342d73e1be7d1d4272
* Add deprecation warnings for ddms, hierarchyviewer and traceview.Siva Velusamy2012-06-202-0/+4
| | | | Change-Id: Ib7b0ee2986d2a7273a23c2e3d6c7a0aa7afc20fb
* Fix warningsTor Norbye2012-06-012-0/+10
| | | | | | | | | | | | | | | | | 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-2/+2
| | | | | | SDK Bug: b/6043405 Change-Id: I2c189ef30d68738de8becff874343296ad9c412b
* am c2d5ffe0: Merge changes I6708bd40,I72e28e21Tor Norbye2012-04-066-12/+12
|\ | | | | | | | | | | * 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-056-12/+12
| | | | | | | | | | | | This reverts commit f3d3fa912a10e20cadae813b80a66e538f77131d. Change-Id: I72e28e21db3c7f959040c1fbb9df14e4d85d0df4
* | am c12302ae: Merge "Update classpath for eclipse project due to prebuilt move."Xavier Ducrohet2012-04-062-2/+8
|\ \ | |/ | | | | | | * commit 'c12302ae5385828ce385d90c49c69cad504dd98d': Update classpath for eclipse project due to prebuilt move.
| * Update classpath for eclipse project due to prebuilt move.Xavier Ducrohet2012-04-052-2/+8
| | | | | | | | | | | | | | 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-034-6/+6
| | | | This reverts commit b0c819f896b3c579633849e3fa674a30e6978dd7.
* Switch libraries from Eclipse 3.4 to Eclipse 3.6.2Tor Norbye2012-04-024-6/+6
| | | | | | | | | | | 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
* hierarchyviewer: Use System Font.Siva Velusamy2012-02-061-19/+0
| | | | | | | | Hierarchy Viewer explicitly sets the property tree to use a size 8 font which happens to be too small on OSX Lion. This patch removes that setting - so the tree will just use the default system font. Change-Id: I98aba45937b34e612324803a7662f9a4b24b41a5
* Make some SDK project compile under Java 1.6Xavier Ducrohet2012-02-0246-9/+530
| | | | Change-Id: I97189bda85530decff2ef8c4da3c43f186a6dba0
* Prevent NPE when server is not running.Romain Guy2011-05-241-2/+5
| | | | Change-Id: Iea1ba8fd78aca61611e73a29fe8b08b96783b248
* Allow HV to work on user builds.Romain Guy2011-05-201-0/+3
| | | | Change-Id: If0f2a79b54abf9a9d8782827b083f10d5d2f2a7e
* Fix launchers for SDK tools using swtmenubar.Raphael Moll2011-05-052-3/+7
| | | | Change-Id: Iba5860db0a56ab508d1ce155d0e079ab37eb2bc9
* hierarchyviewer can dump displaylists for selected nodes.Chet Haase2011-05-046-10/+141
| | | | | | | | In hierarchyviewer (and hierarchyviewer1): The displaylist for the selected node (if there is one) is output into logcat when the "Dump DisplayList" button is clicked. Change-Id: I1996bbd1cbe32d8bc25708453c777800385fe444
* 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-284-33/+113
| | | | Change-Id: I5f61e0c238520d8582e9bef8fa69c354a1165475
* Fix image reousrces in HierarchyViewer application.Raphael Moll2011-04-2837-4/+4
| | | | | | | | | | | | | | | | | | | 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
* New application icons for the various SDK toolsTor Norbye2011-04-052-1/+1
| | | | | | | | | | | | | | | | This changeset integrates a new set of application icons by Roman Nurik for the various SDK tools: DDMS, Hierarchyviewer, Traceview, the SDK manager, and the Eclipse about box icon. We have new icons with the same visual look for draw9patch and emulator as well, which are not integrated here. Draw9patch is written in Swing, so it doesn't have a way to set a dock icon on the Mac (other than with a startup script modification to pass -Xdock:icon, which means we also need to bundle the .icns image outside its .jar). I couldn't find the place the emulator dock image is set so I will ask around and file a separate CL for that. Change-Id: Idbb2212b8d0d5f1bd2d41b3576079ff409c7e9c8
* Add missing notice files.Xavier Ducrohet2011-03-154-36/+403
| | | | | | | | | | 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
* Fix DDMS and HierarchyViewer .bat files on WindowsRaphael Moll2010-12-151-1/+4
| | | | | | | | | | | | | | | These were not setting the "bin dir" properpty correctly, and as a consequence the tools complain they can't find adb.exe. The fix is to set it to the directory of the script but to avoid spaces-in-path issues we use the "~fs" modifier to get a space-free short name for the %cd% value. And since we can't use use %cd% combined with ~fs, we use a for loop trick to set it. Note that ddms.bat was in unix end-of-line mode so I changed it back to DOS end-of-line mode. Change-Id: Ic9e55643b551898043add27c12193a0949f40bb0
* Fix HV.bat for swt layout issue.Raphael Moll2010-11-171-69/+70
| | | | | | SDK Bug 3185449 Change-Id: I88dfaeb287fdef5cf82a0bc3da286c6c4493f910
* Make the tools work with the new location of adb.Xavier Ducrohet2010-09-271-0/+11
| | | | | | | | | | | | adb has been moved to the platform-tools folder. This changes ADT, DDMS, HierarchyViewer which all care where adb is (to launch it). Also fixed the local SDK parser of the SDK Updater to find the platform-tools package. Change-Id: I3c869159d7b0e0ad9aaea06f376b7ba3e53bfc7f
* Fix max memory to be 512, not 5126Xavier Ducrohet2010-09-081-1/+1
| | | | Change-Id: Ibf1d070d89514a5faf1ed4f33f72dd6385ff534e
* DDMS now receives the adb location through an extension point.Xavier Ducrohet2010-09-032-24/+8
| | | | | | | | | | | | | | | | | | Previously DDMS received the adb location through a normal Java API which requires the other plug-in to be actually running (This was done in the the start method of ADT). The new change allows DDMS to start a plug-in (by loading an extension provided by the plug-in) to query for the location of adb. This allows us to have plug-ins with no UI able to provide the location of ADB (ie a "platform" plug-in that has no UI besides a pref page, that is started by DDMS indirectly). Also cleaned up how HierarchyViewer use the AndroidDebugBridge. Change-Id: I8e842a294eea94c06417149144a2ce435e719cfd
* Previous commit lacked this change to hierarchyviewer.Xavier Ducrohet2010-09-011-2/+1
| | | | | | This is meant to be part of the fix for MacOs X. Change-Id: Ic2090cd7806f4ae7801851aa0b3f9b8975f150af
* Fix HierarchyViewer2 to run on MacOS X correctly.Xavier Ducrohet2010-08-318-79/+76
| | | | | | | | | | This also fix the issue with the app never closing correctly (throwing an exception). Also updated the launcher script to match the new ones we use in the other Java based tools. Change-Id: I851f0732a78c6e6c072728f05e611f01eee8fc19
* Make the HierarchyViewer plug-in not screw up DDMS.Xavier Ducrohet2010-08-312-2/+50
| | | | | | | | | | | The HV plug-in behaved like the standalone app and initialized the AndroidDebugBridge with no client support (even though this init is handled by DDMS) and would recreate the bridge object destroying the one created by DDMS. This completely broke DDMS. Change-Id: Ife1187c74daef69607d508aabb1f7234507a170f
* Adding a smaller timeout to capturing nodes. This is so that it doesn't get ↵Konstantin Lopyrev2010-08-271-0/+1
| | | | | | stuck. Change-Id: Ie2fd89d74a2a044334b45ba050f2c3150f63a8e7
* Renaming and adding //$NON-NLS-?$Konstantin Lopyrev2010-08-2749-1790/+1790
| | | | Change-Id: I9f5fa1625af4b35499cfc87996d0b3a39841ba31
* Refactoring and integrating into EclipseKonstantin Lopyrev2010-08-2742-471/+1004
| | | | Change-Id: I1fd3c3828fb2474f2f7394ee2831fcd7eb675878
* Making the profiling box slightly transparentKonstantin Lopyrev2010-08-271-1/+5
| | | | Change-Id: I886a8b1c61db11d521657ec776152b07e7f9fabb
* Bug fixes and reducing timeout.Konstantin Lopyrev2010-08-273-2/+5
| | | | Change-Id: Ibfa23734679d0337aa7f6e250a621026b13a70f0
* RenamingKonstantin Lopyrev2010-08-273-1/+1
| | | | Change-Id: I10c8b1cf1be3b66fe0b7527ffb72501d8d61ebb3
* Commentary, getting rid of bad about image, and some clean-up.Konstantin Lopyrev2010-08-2713-168/+199
| | | | Change-Id: I9dad056de8e7e208f156bbedbced47dd49b61fcb
* Making the profiling stuff appear in a cool place.Konstantin Lopyrev2010-08-275-84/+356
| | | | Change-Id: Id28e1a2a01ec88210a7024e2ad115131c9e4d34e
* Creating the applicationKonstantin Lopyrev2010-08-2778-602/+4263
| | | | Change-Id: I8f2fce7328cc1d93caed1cf003f04e41204f864c
* Tweaking and moving.Konstantin Lopyrev2010-08-2735-714/+1771
| | | | Change-Id: I9906268a91c53c7b9e938b9c969cedeae2a4303a
* Adding property and profile viewers + miscKonstantin Lopyrev2010-08-1712-44/+664
| | | | Change-Id: I04b7e6045047d303b3434dc64662ffeb36c48c24
* Increasing the changes of a device connecting properly and making sure ↵Konstantin Lopyrev2010-08-179-62/+116
| | | | | | things are disposed of properly. Change-Id: Ib1190c65c8ac9795fc0b97beacd7fd102cb95abf
* Adding the new tree view.Konstantin Lopyrev2010-08-1716-100/+1293
| | | | Change-Id: I490f475fadaec5625352a49524ec8cb3a6e9b7d4
* Adding pixel perfect view, loupe and tree.Konstantin Lopyrev2010-08-1711-14/+1358
| | | | Change-Id: I9be3e9037dec5eeb240608ba8c6329fd77689bbe
* Handling adb exceptions properlyKonstantin Lopyrev2010-07-261-0/+20
| | | | Change-Id: I1209ee81adc99c232280371aa6206345e87a1094
* Merge "Device Selector code."Konstantin Lopyrev2010-07-2622-13/+1493
|\
| * Device Selector code.Konstantin Lopyrev2010-07-2322-13/+1493
| | | | | | | | Change-Id: I944315e75b72ef285bed53e5801761886f48cb24
* | Update the ddmlib api for push/pull/installXavier Ducrohet2010-07-261-0/+4
|/ | | | | | | | | | | | | 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