aboutsummaryrefslogtreecommitdiffstats
path: root/sdkmanager
Commit message (Collapse)AuthorAgeFilesLines
* merge from tools_r8The Android Open Source Project2010-11-0411-81/+249
|\ | | | | | | Change-Id: I7bc7385266c44927db9dc66eed3b06e92eaf99e1
| * SDK Repo Schema: <vendor> for <extra> elements.Raphael Moll2010-11-0311-81/+249
| | | | | | | | Change-Id: I8fa13d28b787e3ecb8bd96896e6410313e2a66a9
* | merge from tools_r8The Android Open Source Project2010-10-295-22/+89
|\ \ | |/ | | | | Change-Id: If932f5db0eb1d3b8caf49a2f18bc94b84eab9e3f
| * SDK Manager: fix suggestions of new platforms.Raphael Moll2010-10-285-22/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | I accidentally broke the way the SDK Manager was suggesting new platforms when I "optimized" the way it was fetching new sources when resolving dependencies. The fix is that even if we don't need to refresh or fetch a source, we still need to report the packages we know it contains. Also made the Archive and ArchiveInfo implement Comparable and defer their comparison to the one of Package. This way we can sort the archives in the install window. Change-Id: Ic3b39e49e8143541b19b00de09468c1b3f01b0d7
* | merge from tools_r8The Android Open Source Project2010-10-272-1/+3
|\ \ | |/ | | | | Change-Id: Id7dbdfae280b98547f9a80e07cc5d80d7f9f92f7
| * Fix resource issues in ADT.Raphael2010-10-272-1/+3
| | | | | | | | Change-Id: I744833ec03d0d379ea526c193549f99f25f6811a
| * Integrate 9174add7 into tools_r8. DO NOT MERGERaphael Moll2010-10-191-1/+5
| | | | | | | | | | | | | | | | SDK Manager fix: message to restart after tools update. The latest CL made this appear after a platform-tools update instead. Change-Id: Ib52cf88adfb1557c112c3a8153dad536c5932fa3
| * Integrate 5b6aa7d0 into tools_r8. DO NOT MERGE.Raphael Moll2010-10-191-1/+4
| | | | | | | | | | | | SDK Manager: addon schema version number in about box. Change-Id: I35d4e1db042282e269e3d1247d36ffa0e44291d5
| * Integrate 11357696 into tools_r8. DO NOT MERGERaphael Moll2010-10-181-10/+9
| | | | | | | | | | | | SDK Manager: Restart ADB after platform-tools update. Change-Id: Ie59201a3f303e1a9a837e82cbf4a83f620b4e7f2
* | Support 3rd party layout rule loading, and rip out Groovy supportTor Norbye2010-10-261-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add support for loading 3rd party .jars providing additional layout rules. This can be configured by adding a property referencing the jars to be loaded as part of your build.properties, like this: default.properties: ... layoutrules.jars=chart-rules.jar:graph-rules.jar ... This will create a class loader referencing chart-rules.jar and graph-rules.jar (as well as the visual editor's plugin class loader as a fallback), and this class loader is used to load IViewRule implementations. In addition, this plugin rips out the various remaining Groovy hooks and references that were earlier used to load Groovy scripts as layout rules, and removes groovy from the load path and build symlinking scripts. Change-Id: Ia17a60259559ec86270726add258382a879117dc
* | SDK Manager fix: message to restart after tools update.Raphael Moll2010-10-191-1/+5
| | | | | | | | | | | | The latest CL made this appear after a platform-tools update instead. Change-Id: I5e27612b3fa6fd7e53cd10a369b2d5eba19a168b
* | SDK Manager: addon schema version number in about box.Raphael Moll2010-10-191-1/+4
| | | | | | | | Change-Id: I2a54180f46e52cba931154ae57826c6df22b6a07
* | Update application icons for sdkmanager and ddmsTor Norbye2010-10-181-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update the dock icon used on Macs for the sdkmanager to one that has transparency, just as the emulator icon already does. This is the norm on Macs. Update the application icon used for ddms to be an android with a wrench, in a similar style to the other tool icons. This icon is also transparent, which I hope will work on Windows - it would be great if Raphael could verify that (and I should probably try to get a Windows image into my VMWare install so I can do these checks myself in the future.) Change-Id: Icd0954cb77ba0845034a79bf9df6dd271019632e
* | SDK Manager: Restart ADB after platform-tools update.Raphael Moll2010-10-181-10/+9
|/ | | | Change-Id: Ie4e21e2922d2b281723a4ee3b5aeb1c3c646beba
* DexWrapper is now loaded by the SDK instead of the platforms.Xavier Ducrohet2010-10-181-2/+6
| | | | | | | | | | | Since tools_r8, dx.jar is now located in platform-tools. instead of platforms/android-<API>/tools/lib/. There is therefore no need for all the platforms to load their own dx.jar through reflection into DexWrapper. The SDK now does it for all, and the builders query the SDK for the wrapper. Change-Id: Ia79ccaf95237f2b25b43f26241e6335acc7050a3
* Merge "SDK Manager: refuse to not install dependencies."Raphael Moll2010-10-184-39/+97
|\
| * SDK Manager: refuse to not install dependencies.Raphael Moll2010-10-154-39/+97
| | | | | | | | | | | | | | | | | | | | | | In the case the SDK Manager found a package that would fix a broken dependency of the currently installed packages (e.g. user has Tools but not Platform-Tools), it will refuse to not install the package that would fix that dependency. Bug: 3092907 Change-Id: Iea21c69d726b7c859bfbbffc74ba61b690c4afe0
* | Merge "SDK Manager: display URL host in source tree."Raphael Moll2010-10-151-3/+12
|\ \ | |/
| * SDK Manager: display URL host in source tree.Raphael Moll2010-10-151-3/+12
| | | | | | | | Change-Id: I2fd27d931fe9011cc2894c7179e2e14327867b94
* | Merge "SDK Manager: Fix dependencies when installing selected packages."Raphael Moll2010-10-159-11/+145
|\ \ | |/
| * SDK Manager: Fix dependencies when installing selected packages.Raphael Moll2010-10-159-11/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In the SDK Manager, when you select a specific package from an available repository to install it, it used to not notice if there was a broken depedency. This fixes it. It means we have to force loading all known available repo sources to find them if necessary. This CL fixes a minor issue: trim all URLs before trying to use them. The CL is voluntarily a bit defensive for that. This can happen when we load URLs from external addon sites which we do not control. Change-Id: I652e1fa0e74b4384d0e95819970a59519fafa05a
* | Merge "Connect the resolution chooser to the zoom control in GLE"Xavier Ducrohet2010-10-151-3/+3
|\ \
| * | Connect the resolution chooser to the zoom control in GLEXavier Ducrohet2010-10-151-3/+3
| |/ | | | | | | | | | | | | | | | | | | | | When using the Real-Life zoom control the first time, it will display the Resolution chooser (from the AVD start dialog) to let the user figure out their monitor dpi. Next Step: add the actual density to a prefs panel so that it can be manually tweaked. Change-Id: If2322dd077b657386ab0452f9c507cb3c0730c32
* | Merge "Project property cleanup."Xavier Ducrohet2010-10-153-24/+36
|\ \ | |/ |/|
| * Project property cleanup.Xavier Ducrohet2010-10-153-24/+36
| | | | | | | | | | | | | | | | | | | | | | Remove obsolete sdk-location on project update, don't use it as backup location anymore (main_rules.xml won't work with it anyway). Remove the old application.package properties since older platforms will use the new rules anyway. Change-Id: I5a5ec3d1289cf793dd0f98fb778bd84086976c52
* | Ensure FolderWrapper only lists files and directories.Raphael Moll2010-10-122-4/+15
|/ | | | | | | | This matches the description of the original File.list better and avoid us seeing non-file objects that we can't deal with (e.g. pipes, etc.) Change-Id: Ie47c9926c2db4cd2605d277fe847c6a60e180d09
* SDK Manager: fix to suggest platform-tools install.Raphael Moll2010-10-122-18/+132
| | | | | | | | | | | | | | | | | The way the updater currently works, it will only generate the source.props of a new package based on the attributes it knows from that package. That means mean Tools r7 is updating tools, it will not add the proper min-platform-tools-rev to the new Tools r8 package. When "Update All" is selected, we try to do 2 new things: - make sure to lool at local *existing* packages for potential missing dependencies, and suggest them for install. - if a package doesn't have a min-platform-tools-rev set, suggest the higest revision available. Change-Id: I76cdbc2818133429b2726d3127eedd7e65579a7e
* SDK Manager: fix File.listfiles()Raphael Moll2010-10-127-17/+91
| | | | | | | | | | | This fixes a couple instances of File.listfiles() that were not validating that either a/ the file is a directory or b/ the list is not null. This also adds a couple toString() methods to some repo classes, which are nice when debugging. Change-Id: I8912d12c5344c8b511d84a58fe4693632315dff0
* SDK Manager: local package list can be empty.Raphael Moll2010-10-111-23/+25
| | | | Change-Id: I44a063ffb69002b10c7db5141036e82f23e7da49
* SDK Manager: simplify getenv var to override URLs.Raphael Moll2010-10-119-47/+85
| | | | | | | | | | | SDK_TEST_URLS is a semicolon-separated list of URLs that can be used to seed the SDK Updater list. This is only meant as a debugging and QA testing tool and not for user usage. To be used, the URLs must either end with the / or end with the canonical filename expected for an addon list, addon repo or full repo. This lets QA use URLs ending with / to cover all cases. Change-Id: Ia7232d5d8a5b6e85d98e735b93a969e42624e919
* SDK Manager: manage URL sites grouped in categories.Raphael Moll2010-10-1018-119/+451
| | | | | | | | | | | | | | | | | | | | | Sources are now grouped in categories: - android official site - all 3rd party addons which list is remotely fetched - local overrides (from getenv SDK_UPDATER_(USER_)URLS) - user-added add-on URLs SdkSources (plural Sources) is the collection of all URL sites (each one being an SdkSource that contains a collection of packages). SdkSourceCategory is the category of a given SdkSource. Each source has its download URL but also an UI-visible name which is displayed if known -- this is used for our default android source and for 3rd party remote addons. For all source overrides (e.g. user added or from the getenv vars) we'll simply display the URL in the tree. Change-Id: Idc3e9ba3395818e33fc7505ead7b0bd0be867ea3
* SDK Manager: remove userCanChangeSdkRoot flag.Raphael Moll2010-10-097-65/+23
| | | | | | | | We've never enabled the UI for it as the SDK path is dicated by where the manager is started from, so it's time to clean it up. Change-Id: I97d7ede19e869b970e649ea8a6f9b94045a71269
* SDK Repo: Remove useless xsi namespace from unit-test XMLs.Raphael Moll2010-10-095-5/+0
| | | | | | | | | All the sample XMLs still declare a line xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance We don't use that namespace anymore so we don't need that line. Change-Id: I620680d1f1fb7e8196ddf0cbc13836439f3e6a6a
* SDK Manager: XML schema for addons-list.Raphael Moll2010-10-0814-137/+942
| | | | Change-Id: I64db42737bf70365c7016c1292087ebbf505cea7
* Merge "Proguard default config file."Xavier Ducrohet2010-10-082-5/+30
|\
| * Proguard default config file.Xavier Ducrohet2010-10-082-5/+30
| | | | | | | | | | | | | | | | It is located in $SDK/tools/lib/proguard.cfg and automatically put in Ant project (create and update if project is not already setup for proguard). Change-Id: I9bcb2a5aafec1329b0c001799f4ba34c61569c3a
* | Merge "SDK Manager: support separate addon.xml schema"Raphael Moll2010-10-0741-737/+2108
|\ \ | |/ |/|
| * SDK Manager: support separate addon.xml schemaRaphael Moll2010-10-0641-737/+2108
| | | | | | | | | | | | | | | | | | | | | | | | This splits sdk-repository-3.xsd into 2 XML schemas, one for the sdk-repository and one for the sdk-addon. The SDK Manager is then modified to only load <addon> and <extra> from the sdk-addon whils the <sdk-repository> supports everything (including <addon> if the old v1 or v2 schemas are being used). Change-Id: I30b263f2ab48dd3ea7b70d3006fb6516291736d0
* | Add proguard support in the release build mode of ADT.Xavier Ducrohet2010-10-062-2/+15
|/ | | | | | | This is only activated if default.properties contains a proguard.config property. Change-Id: I9921b2796a423330bffa37e795399cf5cec948ab
* In some cases release build is actually a debug build.Xavier Ducrohet2010-09-291-0/+25
| | | | | | | If the manifest sets debuggable=true then this override the release build to be a debug build instead. Change-Id: Ib66bf9053cecfa7c19a02cefdbf187a20bd6da37
* Make the tools work with the new location of adb.Xavier Ducrohet2010-09-272-5/+55
| | | | | | | | | | | | 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
* Work around a bug in the jar verifier of Android.Xavier Ducrohet2010-09-241-1/+17
| | | | | | | | | | | | | up to Android 1.6, if the signature file of an apk was a multiple of 1024 the jar verification failed. This make sure the signing code in ADT/Ant does not generate such a signature file by adding an extra CRLF at the end. See http://b.android.com/830 Change-Id: Ia9ec0563d2abfaa6402ca4d19ca27335e9ba57a3
* Fix target loading when sdk.properties is not present.Xavier Ducrohet2010-09-241-2/+4
| | | | | | | | Older (obsolete) targets would fail to load if sdk.properties was not present. Since the content is optional anyway, it's ok to load the target. Change-Id: I6539be1450e72096de7b651e1c9137b41060e315
* SDK: Use Android's SparseArray classes.Raphael Moll2010-09-103-0/+703
| | | | | | | These are a fantastic replacement for Map when you have int keys. Change-Id: Ied0feaa9e723ede3372c5a156a72929daa5797e0
* Manifest process name can start with :Xavier Ducrohet2010-09-071-1/+5
| | | | | | | | | | When an activity (or other component) starts with : the actual process name become <package>:<name>. This needs to be done in the manifest parser so that matches can be found. Change-Id: Ib4407bc7e3f9f73f60aa9f7e391bc90e0aebf35f
* Merge "Doc Change: Updated usage doc for android tool"Xavier Ducrohet2010-09-031-13/+14
|\
| * Doc Change: Updated usage doc for android toolJoe Malin2010-08-301-13/+14
| | | | | | | | Change-Id: I7aefc6551d07005050991c29e6f1d06a33747dc5
* | Merge "Doc Change: Updated usage help for Android tool"Xavier Ducrohet2010-09-031-34/+34
|\ \ | |/
| * Doc Change: Updated usage help for Android toolJoe Malin2010-08-301-34/+34
| | | | | | | | Change-Id: Ie23d54738ba5f20da57431b81aadcc4f21ca85b0
* | Merge "New test projects."Xavier Ducrohet2010-09-021-5/+5
|\ \