aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge "Pass -target-api to the renderscript compiler."Xavier Ducrohet2011-09-167-31/+78
|\ \ | |/ |/|
| * Pass -target-api to the renderscript compiler.Xavier Ducrohet2011-09-157-31/+78
| | | | | | | | | | | | | | This allows to use a single llvm executable to target all API versions. Change-Id: Ib27f7fc9e54c548d31fc98fc323f439cb99218d5
* | Merge "Use atree for the Windows SDK. Strip binaries."Raphael2011-09-163-50/+129
|\ \
| * | Use atree for the Windows SDK. Strip binaries.Raphael2011-09-153-50/+129
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This moves the copy/strip/rm logic for the Windows SDK fro mthe patch_windows_sdk.sh to a regular tools.windows.atree. The bash script is still here to invoke atree and do whatever cleanup we might want to do later. This should make it easier to maintain the Windows SDK by providing a structure similar to tools.atree. This change requires build.git Change-Id: I22aae7a8 to have rm/strip support in atree. Change-Id: Ie6c30979454fb71fc1cb26ab3f6c38acd47bae57
* | AVD Launcher.exe for the Windows SDK.Raphael2011-09-169-10/+562
| | | | | | | | | | | | | | | | | | | | | | In Tools R14, the Windows SDK will have 2 icons in the root of the SDK: one to launch the AVD window, and a different one to launche the SDK Manager window. I'll need to change the icon in a later CL. I don't have any ICO editor at hand right now. Change-Id: Ic651e3c3d71c2eac5fe851fba8ea2782eca5e594
* | SDK Manager: fix reload issue.Raphael2011-09-152-8/+128
|/ | | | | | | | | | From time to time the sdk manager wasn't properly refreshing its list. This was due to its reload operation not properly clearing the platform/addons targets listed by the SdkManager instance. Clearing them forces the LocalPackageParser to really reparse directories on disk. Change-Id: I99bcb4a78749d673db5b1ec2436a1af7538e48ee
* Merge "Allow custom run name in IRemoteAndroidTestRunner."Brett Chabot2011-09-152-3/+20
|\
| * Allow custom run name in IRemoteAndroidTestRunner.Brett Chabot2011-09-142-3/+20
| | | | | | | | Change-Id: I6a332ea16243f43d080e4d88e914d6b2e940ce97
* | Merge "Default HPROF dump action should be to save hprof file."Siva Velusamy2011-09-151-1/+1
|\ \
| * | Default HPROF dump action should be to save hprof file.Siva Velusamy2011-09-131-1/+1
| | | | | | | | | | | | Change-Id: I3ade32621326456f030d9aaa581b011420fe4413
* | | Use default system font size.Siva Velusamy2011-09-141-3/+19
| | | | | | | | | | | | | | | | | | | | | And make sure that the default logcat table row height is high enough for the currently used font. Change-Id: Ibfabb05b92add42c6d0acb2b79668f93b833057f
* | | Merge "Fix SDK target selector to avoid horizontal scrollbar"Tor Norbye2011-09-142-4/+34
|\ \ \
| * | | Fix SDK target selector to avoid horizontal scrollbarTor Norbye2011-09-142-4/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset works around a Mac SWT issue where a checkbox table will not take into account the size of the checkbox column, so you end up with a horizontal scrollbar. To work around this, we compute the size of checkboxes and subtract it from the available width when distributing column sizes. Change-Id: I9c03b987f57bc992487b67d24215134ae0d5b0b8
* | | | Merge "Copy OpenGLES emulation libraries to SDK installation."David Turner2011-09-143-0/+18
|\ \ \ \
| * | | | Copy OpenGLES emulation libraries to SDK installation.David 'Digit' Turner2011-09-133-0/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch ensures that the following host shared libraries are copies to $SDK/tools/lib, when building the SDK: - libOpenglRender - libEGL_translator - libGLES_CM_translator - libGLES_V2_translator Note that the Windows DLL must be copied manually in patch_windows_sdk.sh I didn't find a way to make it work using tools.atree. This has been tested to build the Linux, Windows and OS X SDK images. Change-Id: Idae8fe705befbbcc31e8d4ff71998ea0803b32f1
* | | | | Merge changes I74718caa,I5811c160Raphael2011-09-135-10/+62
|\ \ \ \ \ | |_|/ / / |/| | | | | | | | | | | | | | | | | | | * changes: SdkManager: double selection on tree viewer. Tweak sdk manager progress bar.
| * | | | SdkManager: double selection on tree viewer.Raphael2011-09-133-2/+48
| | | | | | | | | | | | | | | | | | | | Change-Id: I74718caa48a59f132b6d37988625376c312bba27
| * | | | Tweak sdk manager progress bar.Raphael2011-09-133-8/+14
| | |/ / | |/| | | | | | | | | | Change-Id: I5811c1601578a9e6e53d59f13ba469d2ce7d767f
* | | | Improve validation error messages when SDKs are loadingTor Norbye2011-09-132-3/+15
| |_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If you bring up the "Create New Sample Project" wizard in an Eclipse that has no open editors (so nothing has triggered an SDK load yet), you will get an error message that is a bit misleading (that the selected SDK has no samples), and even when the SDK finishes loading the validation isn't updated. This changeset improves this situation such that there is a message during loading stating to wait, which gets cleared once it's done. Change-Id: I5d0798eff3b4fea9c8835c2f88c5bc430110aac0
* | | New Project Wizard overhaulTor Norbye2011-09-1321-4797/+3967
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset splits the New Project Wizard into multiple logical wizards (a separate one for samples, testing and plain projects), and each wizard contains multiple pages - such as a separate page for SDK selection, a separate page for Sample selection, a separate page for Test target selection, and so on. In addition, sample projects are now copied into the workspace itself such that they can be modified and deleted without affecting the mater copy in the SDK install directory. Samples can also be accessed from a new separate entry in the New wizard. The SWT code is now maintained with WindowBuilder. Most of the code in NewProjectWizard was related to actually building the projects, and this code is preserved in the new NewProjectCreator class which is used by unit tests etc such that we don't need to create a stub wizard and stub wizard page anymore. Change-Id: I64872722e320a109870403d25fdf051270b526ed
* | | Merge "Change Project selector button to be a Combobox instead"Tor Norbye2011-09-133-57/+73
|\ \ \ | |/ / |/| |
| * | Change Project selector button to be a Combobox insteadTor Norbye2011-09-123-57/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset changes the widget used for project selection from a button to a combobox. It also fixes a couple of bugs in the New XML File Wizard: - First, changing a project would clear out the root types table - Second, the copy to clipboard button didn't work; the event handler was missing. - Third, validate fields in visual order Change-Id: Ibf4899fc3f9c9ec343d97532870df8e32a49bee0
* | | Fix scroll behavior on Win 7.Siva Velusamy2011-09-131-1/+6
| |/ |/| | | | | | | | | | | The windows scrollbar never actually touches the bottom of the scroll area. Compensate for that in the shouldScrollToLatestLog() function. Change-Id: If3178d0519cac262d9208d3cd486588f895936ff
* | Merge "Do not add a border for the filters toolbar."Siva Velusamy2011-09-121-1/+1
|\ \
| * | Do not add a border for the filters toolbar.Siva Velusamy2011-09-121-1/+1
| |/ | | | | | | Change-Id: I5e3f5f859905b77e9a2af7d38d970ff6b8e3172b
* | Fix a couple potential NPEs in ADT and AVD Manager.Raphael2011-09-122-4/+9
|/ | | | | | | | | | In ADT, fix a potential NPE when reading manifest data. In AVD Manager, fix a potential NPE if the AVD manager tries to print the path of the AVD folder but AndroidPrefs failed to find a suitable location. Change-Id: Ib2df005b270bcd11e96f16430d2983474478d9eb
* Create logcat table with SWT.VIRTUAL.Siva Velusamy2011-09-092-140/+83
| | | | | | | | | | | 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
* Reconcile with honeycomb-LTE-releaseJean-Baptiste Queru2011-09-090-0/+0
|\ | | | | | | Change-Id: I3edd22663f45ee9a29ab95aab006627217875bd9
| * merge in honeycomb-LTE-release history after reset to honeycomb-LTEThe Android Automerger2011-08-110-0/+0
| |\
* | | Fix build of ADT tests.Raphael2011-09-081-5/+6
| | | | | | | | | | | | Change-Id: Ie1627d420c862dceff2197639f4006f61f7442c2
* | | Merge "Misc GridLayout interaction fixes"Tor Norbye2011-09-083-5/+30
|\ \ \
| * | | Misc GridLayout interaction fixesTor Norbye2011-09-063-5/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A couple of fixes to the interaction support for GridLayouts. If you resize within a GridLayout and drag only a horizontal or vertical edge, then make the resize message only list the current new size in the resized dimension. In other words, if you drag the right hand side edge, it might say "wrap_content", but if you drag the bottom right corner, it might say "50dp x wrap_content". This is similar to what is done in for example the LinearLayout during resizing. Second, prefer matching with an existing row or column over adding a new row/column adjacent to a right edge. Third, fix drag feedback messages to be more accurate when dealing with adjacent matches. Change-Id: I2e09731712c961dfd8b9c60fb33d37f0bc0a1cc4
* | | | Merge "Support for palette configurations in Change Layout Refactoring"Tor Norbye2011-09-085-10/+89
|\ \ \ \
| * | | | Support for palette configurations in Change Layout RefactoringTor Norbye2011-09-075-10/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some items in the palette are just variations of other items with some different initial attributes. The Wrap In refactoring already supports these, but the Change Layout did not - so for example converting to a Vertical Linear Layout would not set the orientation="vertical" attribute. This changeset adds support for these in the change layout refactoring as well. Change-Id: I9b44a57ebf5cddba7ae381b48b666e53f7f41ab0
* | | | | Merge "Add/Remove wrap_content when converting GridLayouts"Tor Norbye2011-09-0813-49/+242
|\ \ \ \ \ | |/ / / /
| * | | | Add/Remove wrap_content when converting GridLayoutsTor Norbye2011-09-0713-49/+242
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | In GridLayout, the layout_width and layout_height attributes use wrap_content by default. We already avoid setting these on the elements themselves when dragging into the layout, but this changeset makes the Change Layout refactoring remove wrap_content attributes when converting to GridLayout, and adding them when converting from a GridLayout. When changing layouts, any layout params that are supported on the old parent layout, but not the new layout, are removed. However, this was not done for the non-layout attributes on the parent layout. This changeset also fixes that bug, so for example after converting a horizontal LinearLayout to a RelativeLayout, the "orientation" attribute is removed. Change-Id: Id25b80b567578bd5882c527bbe23115577ff7d61
* | | | | Merge "Support property sheet customizers on Linux (issue #18348)"Tor Norbye2011-09-081-28/+58
|\ \ \ \ \
| * | | | | Support property sheet customizers on Linux (issue #18348)Tor Norbye2011-09-071-28/+58
| |/ / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Linux, clicking on the "..." button to open the customizer dialogs for references or flags would simply not work. This seems to be due to how focus is handled on Linux, and in particular, the selection dispatch is never called on the button because the focus loss event handling disables it. This changeset works around this by removing deactivation from focus loss events, on Linux only. Change-Id: Idb256e490279c3f0234bbb09342e89802b09fdc3
* | | | | Load standalone system images in the SdkManager.Raphael2011-09-0818-159/+946
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This revamps the way system images are handled in the internal SdkManager class. Before, a given IAndroidTarget could provide a list of ABI strings it new about, discovered by parsing the SDK/platform/images/xyz or SDK/addon/images/xyz folder. This introduces the notion of System Image to an IAndroidTarget. A system image combines an ABI with a location strategy (legacy images folder, images sub-folder or standalone sdk/system-images folder) and an actual location path. Change-Id: If5b748aa9aef6788bc3c814818381c7918b40bca
* | | | | Merge "Add missing NON-NLS to SdkConstants."Raphael2011-09-071-91/+96
|\ \ \ \ \
| * | | | | Add missing NON-NLS to SdkConstants.Raphael2011-09-071-91/+96
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not stricly needed, but it's nice to uniformize the file. Change-Id: Ia3930f46d465588ccb1b071679661f567bea8bce
* | | | | | Merge "More support for standalone system image packages."Raphael2011-09-079-26/+146
|\ \ \ \ \ \ | |/ / / / /
| * | | | | More support for standalone system image packages.Raphael2011-09-069-26/+146
| | | | | | | | | | | | | | | | | | | | | | | | Change-Id: I084c3b4916b1ce69ba602ced5be308f0d215eff8
* | | | | | Merge "Fix SdkManager.UrlOpener to support file:// URLs."Raphael2011-09-071-0/+16
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Fix SdkManager.UrlOpener to support file:// URLs.Raphael2011-09-061-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new Apache HttpClient code doesn't support local file:// URLs. For any unsupported protocol, retry using the class java.net.Url.open method. Change-Id: Ie01499b372a3f5e1a217e0b51fd4a07c216164fb
* | | | | | Fix code completion filtering on Eclipse 3.7Tor Norbye2011-09-071-1/+7
| |/ / / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The builtin Eclipse XML code completion provides some bad results. For example, it will always offer the current value of the attribute, regardless of whether it is valid. When you are typing in a value and invoke code completion, this means it will offer you the prefix you've already typed. To get rid of this, we add our own "filtering" code completion which hides these results. We can't just completely replace the XML code completion providers since we want some results, such as template completion suggestions. Instead we look for the specific XML code completion provider and filter it out. In Eclipse 3.7, the class we're filtering out is no longer used and there's a new code completion provider. We need to filter that one out too, and that is what this changeset does. It cannot reference the new class directly since it does not exist in Eclipse 3.5, so we match by class name instead. Change-Id: Id8fae237a43a6b0dad34a148ee4f99729f1cbd63
* | | | | Change default launcher icon name in new Android projectsTor Norbye2011-09-0610-16/+15
| |/ / / |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When creating a new project, the default project template includes a launcher icon named "icon.png". This changeset changes the name of this default icon to "ic_launcher.png", in accordance with the recommended naming convention listed in http://developer.android.com/guide/practices/ui_guidelines/icon_design.html (The secondary motivation for this is that the Icon Set Wizard will suggest ic_launcher as a default launcher name, and it would be nice if going through the wizard with the default settings would replace the current project's launcher icon. Given the guidelines above I'd rather not change the wizard default name to "icon") Change-Id: I9f516c769019c2635edad4e1e6f01a5110d156fe
* | | | Merge "Only mark downstream projects for build when they are open"Tor Norbye2011-09-061-1/+6
|\ \ \ \
| * | | | Only mark downstream projects for build when they are openTor Norbye2011-09-061-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When a resource is modified in a library project, then all downstream projects which depends on this library project are also marked with a persistent property which indicates that they need to run aapt as part of their next build. However, if a parent project is closed, this would throw an exception since you can only set properties on open projects. Change-Id: I20f88bb28dde43b4f8bba427f45449245badbdb5
* | | | | Merge "Misc New Project Wizard fixes"Tor Norbye2011-09-065-10/+81
|\ \ \ \ \