aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* SDK Manager: list/update sdk --allRaphael2011-12-165-48/+89
| | | | | | | | | | This renames the list/update sdk --obsolete flag to --all (-a shortcut) to better reflect what the code actually does. SDK Bug: 23004 Change-Id: Ide60f3de97767283e7574a92d4ec96b0e5d4fd86
* Merge "gltrace: show context id corresponding to gl functions"Siva Velusamy2011-12-154-6/+43
|\
| * gltrace: show context id corresponding to gl functionsSiva Velusamy2011-12-154-6/+43
| | | | | | | | | | | | | | Add a column in the GL function trace view that shows the GL Context in which the function was called. Change-Id: Idedc821c66ec57eb2d4c997ad4cc936e1fe472b8
* | Merge "gltrace: Add current FB binding to GL state"Siva Velusamy2011-12-153-4/+32
|\ \ | |/
| * gltrace: Add current FB binding to GL stateSiva Velusamy2011-12-153-4/+32
| | | | | | | | | | | | | | Add the currently bound framebuffer setting to the GL state. Set it appropriately based on the glBindFramebuffer() call. Change-Id: I9dfc5154cd7801c2aa06920f67e31de45c63e6f7
* | Memory fix for the lint cli driverTor Norbye2011-12-151-1/+18
|/ | | | | | | | | The Lint CLI driver stashes file contents (used to show code snippets with the errors). However, for repeated errors in the same file this could lead to a lot of extra memory usage (and OOM for large code bases). This adds a file cache for the CLI driver. Change-Id: Icfbca31457a6cf0b33c89a5ffd04b5079f8fed09
* Fix Run Lint toolbar action to pick up more selection contextsTor Norbye2011-12-143-10/+73
| | | | | | | | | | | | | | | | | | You currently have to select a project in the package explorer before you click on the Run Lint toolbar action. This changeset makes the action look harder for which project to run lint for: - As before, look for the current selection and check whether it provides a selection - If there's an active editor, use its project. - If not, if there's just one available Android project, use it. - If not, if there's just one non-library Android project, use it. Finally, display a warning dialog if no project can be found, or if the selected project is not an Android project, such that it's apparent why nothing happens. Change-Id: I92daa080db0bd815bc3d51fe9e458df12e6cc50f
* Merge "logcat: Improve auto scroll lock behavior"Siva Velusamy2011-12-143-46/+79
|\
| * logcat: Improve auto scroll lock behaviorSiva Velusamy2011-12-143-46/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Always run png crunch from Eclipse.Xavier Ducrohet2011-12-142-56/+18
|/ | | | | | | | | | | png crunch is done by aapt which does it only on the files that need it (new or updated file). So it's safer to always call it from eclispe rather than trying to figure out if it's needed from the resource delta (which could be incomplete). In particular, right now, the resource delta only checks for the source folder. Change-Id: I74448eee2f826346ca5a67e8894fafa414eba559
* Merge "Fix 22848: Lint: Bogus suggestion and fix for flattening layout"Tor Norbye2011-12-133-9/+54
|\
| * Fix 22848: Lint: Bogus suggestion and fix for flattening layoutTor Norbye2011-12-133-9/+54
| | | | | | | | | | | | TabHosts etc should not be eligible as parents for an unused layout. Change-Id: Ic934046530a5c8a4ff84a873e63230819f4fd4a5
* | Merge "Clarify wording for the frame-to-merge-tag issue"Tor Norbye2011-12-131-3/+5
|\ \
| * | Clarify wording for the frame-to-merge-tag issueTor Norbye2011-12-131-3/+5
| | | | | | | | | | | | Change-Id: I7cdc3f92fa58f2702288476443bacc4a7b17e0b3
* | | Merge "Never abandon a build before recording the resource delta."Xavier Ducrohet2011-12-131-3/+4
|\ \ \ | |/ / |/| |
| * | Never abandon a build before recording the resource delta.Xavier Ducrohet2011-12-131-3/+4
| | | | | | | | | | | | Change-Id: Idf55cd31705b9c122577c3aeabdb09bbe373b963
* | | Merge "New lint rule for invalid @+id references"Tor Norbye2011-12-1313-54/+536
|\ \ \
| * | | New lint rule for invalid @+id referencesTor Norbye2011-12-1313-54/+536
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds a new layout rule which finds cases where you have RelativeLayout attributes pointing to id names that do not exist, such as layout_alignLeft="@+id/navbar" The +id/ syntax here creates the id on the fly, so aapt does not complain, but the new lint rule makes sure that at least one layout actually defines this id as its id. If no match is found, it looks for spelling mistakes and suggests other similar ids in the error message. This condition is flagged as an error. The detector also issues a related warning if it finds an id reference that is not defined in the same layout. This is sometimes okay (where you have deliberately referred to an element which will be included into this layout, or is in a layout including this one), but it's usually an accident. Change-Id: I7f3fa6f4cb5cef6dcd307256050fb9580887addd
* | | | Fix unused resource detector for R.attr resourcesTor Norbye2011-12-135-1/+46
| |_|/ |/| | | | | | | | | | | | | | | | | | | | When you use R.attr attributes from layouts as custom attributes, these need to be recorded as references such that the attrs are not considered unused. Change-Id: I15755cce084dbc71557066167b954ba3df395e55
* | | Merge "Update Lint View when rerunning lint after changing options"Tor Norbye2011-12-131-0/+3
|\ \ \
| * | | Update Lint View when rerunning lint after changing optionsTor Norbye2011-12-131-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes 22842: Problem changing lint settings on Windows Eclipse Helios SR2 Change-Id: Ie937410c9e0bf47f345cd305f96dd28cd990196f
* | | | Merge "Fix unused resource check to handle @string references in arrays"Tor Norbye2011-12-133-2/+23
|\ \ \ \ | |/ / / | | | / | |_|/ |/| |
| * | Fix unused resource check to handle @string references in arraysTor Norbye2011-12-133-2/+23
| |/ | | | | | | | | | | This fixes 22850: lint incorrectly reports resources as unused. Change-Id: I4dc2e82319fcda8c59754911a67f871d5aa00fbc
* | Merge "Fix lint view comparator"Tor Norbye2011-12-131-3/+4
|\ \
| * | Fix lint view comparatorTor Norbye2011-12-131-3/+4
| |/ | | | | | | | | | | | | This changeset fixes 22501: invalid Comparator passed to Collections.sort by ADT's LintList Change-Id: I265a2f9d5901caf9c3f6fb45009ba25a72b05d29
* | Merge "Use a custom timeout for IDevice.getBatteryLevel."Brett Chabot2011-12-131-1/+2
|\ \ | |/ |/|
| * Use a custom timeout for IDevice.getBatteryLevel.Brett Chabot2011-12-091-1/+2
| | | | | | | | | | | | Bug 5697543 Change-Id: I6ce33dd2c8416f5ccfb55b26120edb6a0acf5ad7
* | logcat: when copying items, index into filtered list.Siva Velusamy2011-12-131-7/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | Merge "Implements an app that captures touch events and transfers them to ↵Vladimir Chtchetkine2011-12-139-0/+354
|\ \ | | | | | | | | | emulator."
| * | Implements an app that captures touch events and transfers them to emulator.Vladimir Chtchetkine2011-12-129-0/+354
| | | | | | | | | | | | | | | | | | This application is intended to provide realistic multi-touch emulation. Change-Id: I7bc477d99eea811a349ecc640f32cb4167d3ce18
* | | Merge "rcp: create monitor plugin & build scripts"Siva Velusamy2011-12-1217-15/+582
|\ \ \
| * | | rcp: create monitor plugin & build scriptsSiva Velusamy2011-12-0817-15/+582
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The monitor plugin defines the entry point for the monitor RCP application, and also defines the monitor.product product configuration. The build scripts in eclipse/scripts/rcp show how to build the RCP app from the command line. Currently, these are not built on the build server. That will happen once we figure out where to put the prebuilts. Change-Id: Idc96b2c011dba55c0d6792e916193017df6ce1c1
* | | | Merge "logcat: fix npe & clear log in filtered view"Siva Velusamy2011-12-121-2/+17
|\ \ \ \ | |_|/ / |/| | |
| * | | logcat: fix npe & clear log in filtered viewSiva Velusamy2011-12-121-2/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge "A few misc lint fixes"Tor Norbye2011-12-0922-84/+188
|\ \ \ \
| * | | | A few misc lint fixesTor Norbye2011-12-0922-84/+188
| |/ / / | | | | | | | | | | | | Change-Id: Idc81f7a2d033675a03209eeabda0216babc35ebe
* | | | gltrace: add gltrace perspectiveSiva Velusamy2011-12-094-21/+75
|/ / / | | | | | | | | | | | | | | | | | | - Add a new perspective. - Move existing GL related items to show up only in this perspective Change-Id: I50d8f2f78d983e54af03ceacad97de459fd9e745
* | | Merge "SDK Manager: fix SWTException disposed when closing during a download."Raphael2011-12-081-16/+20
|\ \ \
| * | | SDK Manager: fix SWTException disposed when closing during a download.Raphael2011-12-081-16/+20
| | | | | | | | | | | | | | | | | | | | | | | | SDK Bug: 21312 Change-Id: I49462d9750c4f64f92372793dee65d28f23e94ab
* | | | Merge "gltrace: remove old files not used anymore"Siva Velusamy2011-12-088-732/+0
|\ \ \ \
| * | | | gltrace: remove old files not used anymoreSiva Velusamy2011-12-088-732/+0
| | | | | | | | | | | | | | | | | | | | Change-Id: Ie460401bcf83b3902658e05dcb6dfcec515c8b90
* | | | | Merge "gltrace: FB view enhancements"Siva Velusamy2011-12-082-2/+195
|\ \ \ \ \ | |/ / / / | | / / / | |/ / / |/| | |
| * | | gltrace: FB view enhancementsSiva Velusamy2011-12-082-2/+195
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1. Currently, the FB image is just set as the background image on the canvas. As a result, the image will be tiled if the view area is larger than the FB image. This patch fixes it so that the image is displayed correctly. 2. Add a scale image to fit canvas option. Change-Id: Ic56bacd416645a3c84673371d68fc067873a2f8e
* | | | SDK Manager: shutdown httpclient to abort download.Raphael2011-12-081-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a user aborts a download in the SDK Manager, we call the HttpClient InputStream.close(). It turns out this blocks till the download is complete. Issuing the client shutdown first makes it really close the connection, as indicated in the javadoc. SDK Bug: 21167 Change-Id: Ie68a60d60f482a0f7abaea084ffbf6700a0a9a3d
* | | | Merge "Add the Guava library to the tools"Tor Norbye2011-12-0766-141/+243
|\ \ \ \
| * | | | Add the Guava library to the toolsTor Norbye2011-12-0566-141/+243
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds the Guava library to ADT and lint. (It is also a prerequisite for the Lombok AST library which is added by a later CL.) This changeset also uses the library in a few simple ways: It replaces some custom I/O and collections code with calls into the equivalent Guava methods, and it also adds the @Beta annotation on the various "API" classes which are not yet stable. Change-Id: I2f50febfa075c32818404e888578a2e1e447d408
* | | | | Merge "Add Java Classfile support"Tor Norbye2011-12-0727-12/+887
|\ \ \ \ \ | |/ / / / | | | / / | |_|/ / |/| | |
| * | | Add Java Classfile supportTor Norbye2011-12-0527-12/+887
| | | | | | | | | | | | | | | | Change-Id: Ifcc1d88dabb07dc05b2e5c934743ad52f9b6dc1d
* | | | Merge "gltrace: do not store images in memory"Siva Velusamy2011-12-0616-1927/+3231
|\ \ \ \ | | |/ / | |/| |
| * | | gltrace: do not store images in memorySiva Velusamy2011-12-0616-1927/+3231
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Protocol buffer messages can optionally contain the contents of the framebuffer. These messages are then really large in size. Rather than storing all of these messages in memory, we remove the image data from the message and store a pointer (offset in file) to the image in file. When needed, the trace file is read again to retrieve the image. Change-Id: I3d0c65026bba29efc5e31d8c251582fdaa068c64