aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Fix implementatation of IAndroidTarget to use new API.Xavier Ducrohet2013-04-121-0/+6
| | | | Change-Id: Ife9795dca5d3de7de0cba64b8acc2d9239904564
* Merge "Update plugin with refactored sdk-common API."Xavier Ducrohet2013-04-117-12/+16
|\
| * Update plugin with refactored sdk-common API.Xavier Ducrohet2013-04-107-12/+16
| | | | | | | | Change-Id: I401ec02d4674739b5f160fc0cf61aebdb9fa6cbf
* | Use custom form layout for Eclipse intro.Siva Velusamy2013-04-1010-301/+199
|/ | | | | | | | | | | | | | The current intro mechanism suffers from a number of issues around html rendering. The URL links don't work on a bunch of different platforms as per bug 41109. https://code.google.com/p/android/issues/detail?id=41109 This CL uses SWT forms to render a simple page that provides: 1. A button that opens the new project wizard. 2. Links to documentation for first time users. Change-Id: I9b5cf921b3cceb666e4e181e9e84109597731523
* ADT: Fix version check.Raphael Moll2013-04-081-1/+2
| | | | | | | | | The preview part of the Tools version check should be ignored. Otherwise we'll get an error such as "ADT 22.0.0 can't use Tools 22.0.0 rc1" (because technically a preview is lower than its final version.) Change-Id: I2f91e1f2e2864d43518a23dfc2a9e45ae5d0f6af
* Misc bug fixesTor Norbye2013-04-013-5/+6
| | | | | | | | | | | | | | | First, when computing the fully qualified package names of activities to store the activity to theme mapping in the ManifestInfo, also allow activities to not be prefixed by a dot and still prefix the package path provided there are no dots in the activity name. Second, escape string values specified in the Add Translation Dialog when creating the corresponding resources. Third, soon the ResourceRepository will no longer provide a protected mWrapper field, so replicate it inside ProjectResources. Change-Id: I7660aa6921e3b667e63a25c645ca21efc443b7ce
* Add more version checks.Xavier Ducrohet2013-03-281-1/+1
| | | | Change-Id: I514cf4bc0c16c59073ad278c2645797a7654051b
* Add missing @NonNull annotations on overridden methodTor Norbye2013-03-261-2/+5
| | | | Change-Id: I101754947c6e96c579ee00cd265f59b157508544
* Merge "Reuse device display code from sdk-common"Tor Norbye2013-03-251-102/+8
|\
| * Reuse device display code from sdk-commonTor Norbye2013-03-221-102/+8
| | | | | | | | Change-Id: I49b5cd8352587a723d91d660a3f782322aa33033
* | Merge "Fix project files for DeviceConfig"Tor Norbye2013-03-221-0/+2
|\ \ | |/
| * Fix project files for DeviceConfigTor Norbye2013-03-221-0/+2
| | | | | | | | | | | | | | Also round screen dimensions for Nexus devices to nearest tenth so for the N10 we show 10.1, not 10.0055 Change-Id: I5ef7377e24713dc6e323f5152f8f515b1c12237b
* | Add support for build-tools in ADT.Xavier Ducrohet2013-03-2116-77/+273
| | | | | | | | | | | | | | To be compatible with older projects, the projects do not have to declare which build-tools to use and instead use the lastest. Change-Id: Ic09a4a8f53109f36c4fed60b8f848f9b4db686c4
* | 52407: should add a newline at the end of autogenerated xml filesTor Norbye2013-03-197-13/+58
|/ | | | Change-Id: Ia7a910e4426cf73f9ed25de9dfaf3df63cb88116
* Fix dependencies of adt plugins to depend on the right prebuilts.Xavier Ducrohet2013-03-184-9/+10
| | | | Change-Id: Ibf8919eb96d9d026988bd2d97972e35aa0c9ae2f
* Add BouncyCastle to adt-base.Xavier Ducrohet2013-03-162-1/+5
| | | | | | This is now needed by sdklib for signing. Change-Id: I804d8d2ca2d5a939c24e977ea48a2a5ad4fa7501
* Rename project libraries.Raphael Moll2013-03-157-26/+26
| | | | Change-Id: I324a5cb5c9c34ec4a8c2e4438bba8ebd56a693e6
* Fix ADT test compile error.Raphael Moll2013-03-141-0/+7
| | | | Change-Id: Ib897ae33d2bb0797ad8da94abedcfa55e6a85787
* Build SDK using prebuilts/devtools.Raphael Moll2013-03-132-2/+2
| | | | Change-Id: I4c1979f8f07d24573b3ff7d7a1fa22d6ea87e5e3
* 53031 and 53032: XML formatting line separator fixTor Norbye2013-03-131-2/+13
| | | | Change-Id: I62208c275eb13ec18e3c5f8078fd4aad524534df
* Merge "Fix nullness annotation"Tor Norbye2013-03-131-1/+1
|\
| * Fix nullness annotationTor Norbye2013-03-061-1/+1
| | | | | | | | | | | | | | Method which is marked @NonNull delegates to a different method in tools/base which is marked @Nullable. Change-Id: I45810dc805e5d638d2d03929ceb580f6d7ec58f9
* | 52887: Unable to format xml documents that begin with commentsTor Norbye2013-03-121-0/+16
| | | | | | | | Change-Id: Ia3bb2658474760de51b8af4d2f74d3c4771151c7
* | Use the SDK common XmlPrettyPrinterTor Norbye2013-03-1227-1528/+400
|/ | | | | | | | | | | | | | The XML pretty printer was moved up from the Eclipse plugin into common (such that for example the resource merger can use it). This CL removes the old XML pretty printer and replaces it by a subclass which customizes the formatter slightly (in particular, taking advantage of the Eclipse DOM's ability to remember whether an XML tag was an empty tag such at <this/> rather than <this></this>.) Change-Id: Ie0865c3c35f1340fa4dcaf42253599f278ce4997
* Fix ADT after FullRevision package change.Raphael Moll2013-02-151-1/+1
| | | | Change-Id: Ia533b1ebf15dce8510654fb1c3838f38ee6fd122
* Update nullness annotationsTor Norbye2013-02-084-5/+6
| | | | | | Also remove test dependency on ddmuilib project Change-Id: I90c62bcfeca86110a6604ebda4425369aa3cc889
* Track tools/base API changesTor Norbye2013-02-088-16/+37
| | | | Change-Id: I97f785fdeafebf7c87d180e6b9905b08f7e3b72e
* Fix sdkcommon/lint API usage in ADT.Raphael Moll2013-02-084-10/+17
| | | | Change-Id: I4672ec7504daf1bf1e5c0880e5aa2003c082e7da
* Fix import paths for LogCatMessageSiva Velusamy2013-02-082-2/+2
| | | | Change-Id: If1068713f3faa60db2a22e7dc6464a2af4928743
* Fix ADT after sdkuilib->sdklib reorgRaphael Moll2013-02-061-1/+1
| | | | Change-Id: I92a353806e942227af1f49df8de5dd976766f567
* Fix generation of R classes for libraries to support any package name.Xavier Ducrohet2013-02-013-85/+39
| | | | Change-Id: I0e4f2c0d56285b911f0210a3cddbed0f5ec05ecc
* Merge "43194: Fix NPE when preferred avd is null"Siva Velusamy2013-01-301-0/+3
|\
| * 43194: Fix NPE when preferred avd is nullSiva Velusamy2013-01-291-0/+3
| | | | | | | | Change-Id: If80929f0cf90bbc15f8bb1b065450058f1fb2e96
* | Merge "Add dependency from hv plugin to base plugin"Siva Velusamy2013-01-291-1/+2
|\ \ | |/ |/|
| * Add dependency from hv plugin to base pluginSiva Velusamy2013-01-291-1/+2
| | | | | | | | | | | | hierarchy viewer now requires guava Change-Id: Ice7bacdde9ec4692b75ff59dec5ca083bf72a9cc
* | 43409: NPE when trying to rename the application package identifierTor Norbye2013-01-291-4/+4
|/ | | | Change-Id: I909048c37553b2c0ac8292e31f13933e8b103862
* Merge "Displaying the debug certificate MD5&SHA1 fingerprint on Build ↵Xavier Ducrohet2013-01-216-19/+299
|\ | | | | | | preference. Printing the created certificate fingerprint to Android Console. Showing the certificate fingerprint on ExportWizard."
| * Displaying the debug certificate MD5&SHA1 fingerprint on Build preference.Keiji Ariyama2013-01-136-19/+299
| | | | | | | | | | | | | | | | | | Printing the created certificate fingerprint to Android Console. Showing the certificate fingerprint on ExportWizard. Related issue: http://code.google.com/p/android/issues/detail?id=19035 Change-Id: Ie88760f19d5d20a4660035dae1e9598c636e25da
* | Add support for hv protocol that works via DDMSiva Velusamy2013-01-161-0/+3
| | | | | | | | Change-Id: Ia88d107811abd8e36a0f980938c584d79565ac42
* | Update Eclipse Add Target API annotations for new InlinedApi checkTor Norbye2013-01-142-2/+4
| | | | | | | | Change-Id: I180cba4a0f71d86ae7b61643bd0b36cc8c4c6b28
* | 39612: Question Mark causes Eclipse Graphical Layout Editor to Freak OutTor Norbye2013-01-146-147/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Handle string values starting with ? and @ even if they do not correspond to actual theme or resource URLs. Also fix the code which handles processing strings read from XML files; apply unescaping rules (for unicode, newlines and tabs, removing quotes, etc). Also make the style warning include the full resource URI (it was only logging the stripped URI). Change-Id: I9b9a87ac4841faeacd1d94a43fa091702e60f4d8
* | hv: Refactor to interact with the device via IHvDeviceSiva Velusamy2013-01-131-3/+3
|/ | | | | | | | | | | | | | | | | | | | Hierarchy Viewer currently interacts with a View Server that is present on the device. This is available only on eng devices due to security restrictions on the View Server. Rather than use this custom view server, we ought to use DDM for communication with the device. Such a scheme has a number of benefits apart from security. This CL is primarily just a refactoring of the existing host side code. The main objective is to hide the communication to the device behind a IHvDevice interface. The ViewServerDevice implementation of this interface allows communicating with existing devices that use the ViewServer implementation on the device. A subsequent CL will provide a new implementation of this interface that communicates via DDM. Change-Id: I7d63e5a59c6ec9c96dbd07af9dc03f93779fd2ec
* Fix attribute validationTor Norbye2013-01-042-5/+23
| | | | | | | This is used when incrementally validating XML attributes when a file is saved in the IDE. Change-Id: I37d37ab8ac64aec72455c3bfbabc7bbd65595a94
* Merge "Update master version from 21.0.0 to 22.0.0"Tor Norbye2013-01-0416-16/+16
|\
| * Update master version from 21.0.0 to 22.0.0Tor Norbye2012-11-2616-16/+16
| | | | | | | | Change-Id: I3cff176281b4949f814023f0c7ecda897bc1354b
* | 42051: Subversion folder causes NPE in PreCompilerBuilderTor Norbye2013-01-031-4/+5
| | | | | | | | Change-Id: Ie2846fdd25a4ea05b798c62ec6512bffa84819f9
* | Ensure streams are closed after parsingTor Norbye2013-01-032-8/+12
| | | | | | | | | | | | | | | | | | | | | | Just read in full contents of XML file up front such that the stream can be closed. Also switch from InputStream to Reader since that's the native format KXml wants anyway (inside setInput() it creates one from the input stream if it doesn't already have one) Change-Id: I69e1602702ac771d29f988169cb7adafefc0198c
* | Merge "Template unit test fix"Tor Norbye2012-12-271-2/+2
|\ \
| * | Template unit test fixTor Norbye2012-12-271-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | When iterating over all the possible API versions, include the max version too, not just all versions smaller than it. Change-Id: I8f7bfa18dafff445bc2f9080ed6275355342a6c5
* | | Unit test fixTor Norbye2012-12-271-1/+0
|/ / | | | | | | Change-Id: Iaaede955589ce962b33eb4e326fc012a4fa7b591