aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins/com.android.ide.eclipse.traceview/src/com
Commit message (Collapse)AuthorAgeFilesLines
* SourceRevealer: Unify fqmn and file name based searches.Siva Velusamy2012-04-191-1/+1
| | | | | | | | | | | | | | | | | | | | logcat provides two different ways to resolve the source corresponding to a stacktrace: the primary method is to search for file name and line number, and the secondary method is to search for the fully qualified method name. Which method is used depends on a preference setting. This patch makes the following changes: - Resolution now uses both the methods - it first tries to resolve using the fqmn, and then improves the result using the filename/ linenumber if that is available. - Since both methods are used, the preference setting can be removed. - If there are multiple search results, rather than always jumping to the first result, user will be prompted to select a result This fixes http://code.google.com/p/android/issues/detail?id=18514 Change-Id: I1abdfe5f7e70423fb04d62f1092e1a8037537837
* Switch Perspective before opening source files.Siva Velusamy2012-02-291-1/+1
| | | | | | | | Currently, source revealers just reveal a file in the current perspective. This changeset adds an option to first switch perspectives before revealing the source file. Change-Id: I5e89a89276f48ba41504434a1d2bb417f9ba541c
* Update SDK codebase to JDK 6Tor Norbye2011-12-212-2/+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
* Remove JDT dependency from DDMS & TraceView.Siva Velusamy2011-12-201-50/+2
| | | | | | | | | | | | | | | | | | | | | | Currently, there are three locations that require the ability to open a Java file containing a particular method: DDMS stack trace, logcat and traceview. The logcat and traceview panels use JDT to open up a Java editor on a method. As a result, these plugins have a dependency on JDT. The stack trace panel uses the DDMS plugin's sourceRevealer extension point to achieve the same purpose. ADT plugin provides an implementation of the sourceRevealer plugin. As a result, this introduces a JDT dependency only on the ADT plugin. This patch makes both the logcat & trace view code to use the same sourceRevealer extension point. As a result, all source code involved in revealing the source of a Java method is present in a single place, and DDMS & Traceview plugins don't depend on JDT anymore. Change-Id: I5b840dc4d6ad45e5611a80cff740101c484a99dd
* Remove System.exit from traceview code running in Eclipse.Xavier Ducrohet2011-07-081-32/+46
| | | | | | | These are remnants of the standalone traceview version and they can bring Eclipse down if the trace file can't be read. Change-Id: Ic9a0171f307bc991cd000fa4d35d5c37b47e93b2
* Added "Save As..." option for .trace files.Pierre Zurek2011-02-071-3/+156
| | | | Change-Id: I852a3d68299629addf53890a8b42d5c0e72579f3
* Add support for CTRL+click on the method in Traceview.Xavier Ducrohet2011-02-011-2/+62
| | | | | | This will open the method declaration in an editor. Change-Id: I79e160bf565ac563e423132e010b7e51ab531673
* Let the Traceview plug-in open the trace file created through DDMS.Xavier Ducrohet2011-02-011-0/+75
| | | | | | | | | | | | | | | | 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
* Put the Traceview plugin UI in an editor instead of a view.Pierre Zurek2011-02-011-32/+54
| | | | | | The editor is associated with the .atv extension (Android TraceView). Change-Id: I5133932804a0c24a52ba53617942c2ca65b9345b
* Traceview integration into Eclipse.Pierre Zurek2011-01-302-0/+180
New plugin which adds a Traceview view to Eclipse. Change-Id: I3001dfde6ed28db3de8a75715a0ba0743f5c29b0