| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I566b6945b7d31c3bfe52b834014beb3f37a098d8
|
|/
|
|
| |
Change-Id: I4affda9be00c37c4a801816625f57f7eda585ef4
|
|
|
|
|
|
|
|
|
|
|
| |
This fixes the bug in the current code.
We're going to switch to a different upgrade mechanism,
rendering this code useless, but I'd still have this
checked in for the record: the issue is that the
temporary node is mixed up and the attributes use the
element name instead of their attribute names.
Change-Id: I3abcfd476494ee2ddb8b75789b346e86556d8d85
|
|\ |
|
| |
| |
| |
| |
| |
| | |
SDK Bug: 20430
Change-Id: Id427390c799165a1dff07530c6fce48488193055
|
|/
|
|
| |
Change-Id: Ib8df984ddbad0bb6f0eb4c2fb0bd4b9c49b334cc
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I7230a2aa3df5fab8b420f1ed2f359621fbda7f5a
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Change-Id: Ifaa1b4653ea6c1b311e711bd285d08afb0d3e12c
|
|/ /
| |
| |
| |
| |
| |
| |
| |
| | |
The BrokenPackage contains a "long description" that
contains the error (why it is broken). We need to use
that and not override it with the base package
description.
Change-Id: I3eff79f2f9aabd54c2f1eaf7b671bdfe929627df
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This requires development.git Change-Id If3beb09a to build.
Manual cherry-pick of b889a8783158f156bc95ec3c63cccd60e210f1d1.
Apparently it wasn't auto-merged automatically.
Change-Id: I12f9da8e5348e8524294866f3e400110926e8317
|
|/
|
|
|
|
|
|
|
| |
This change the system image packages to not care
about the directory name of where they are located
and instead enforce the presence of a source.properties
file.
Change-Id: I580a0c04a453297ae7ddf9de8e012fd65d34d776
|
|
|
|
|
|
|
|
|
|
| |
The SDK Manager uses specific constants to save
local source.properties files in installed packages.
This moves all these constants in a common constant
class and makes it explicit that these constants
form some kind of API that can't be changed arbitrarily.
Change-Id: I005f13f53768fbcc677edf94be0b4c13e19e3ec8
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changes 'android list sdk' to output deterministic
install IDs. These IDs can then be give to 'android update sdk'.
Example of usage:
$ android list sdk --extended
Refresh Sources: [...]
----------
id: 2 or "android-13"
Type: Platform
Desc: Android SDK Platform 3.2, revision 1
[...]
----------
id: 41 or "extra-google-usb_driver"
Type: Extra
Desc: USB Driver for Windows, revision 4
$ android update sdk --no-ui --filter android-13,extra-google-usb_driver
=> This installs the platform API 13 and the USB Driver.
SDK Bug: 19504
Change-Id: I3109c90371d292df4e9cf845208bf8efe774233f
|
|\
| |
| |
| |
| |
| | |
* changes:
SdkManager: double selection on tree viewer.
Tweak sdk manager progress bar.
|
| |
| |
| |
| | |
Change-Id: I74718caa48a59f132b6d37988625376c312bba27
|
| |
| |
| |
| | |
Change-Id: I5811c1601578a9e6e53d59f13ba469d2ce7d767f
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| |
| | |
Not stricly needed, but it's nice to uniformize the file.
Change-Id: Ia3930f46d465588ccb1b071679661f567bea8bce
|
|\ \
| |/ |
|
| |
| |
| |
| | |
Change-Id: I084c3b4916b1ce69ba602ced5be308f0d215eff8
|
|\ \
| |/ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
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
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
This just adds the type and check we can parse it out
a sample XML. This CL does not yet use the system image
package where needed.
Change-Id: Id2d83c9e216256c329a88dced9e274da0ab651f0
|
|
|
|
|
|
|
|
|
|
|
| |
This is part of a series of CL to add support for
system-image packages separated from platform packages.
In this small CL we just add the <included-abi> element
to platform packages, load/save it and test by loading
a sample XML.
Change-Id: Icbf554ea398bbcfe5cf760f9d25aec3de088937a
|
|
|
|
| |
Change-Id: I2173944aeb3f18fc58d19fcf80ec186743dba56a
|
|\
| |
| |
| |
| |
| | |
* changes:
Fix example URL used in UTs.
SDK Manager2: fix large downloads.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
UrlOpener was using a BufferedHtmlEntity reader.
As a consequence its getContent() was loading large packages
in memory and resulting in OutOfMemory exceptions, whilst at
the same time blocking and thus rendering the download
progress report useless. This fixes it by simply passing
through in the underlying stream and freeing resources when
the stream is closed.
Change-Id: Ib3b265953931fecdf202197230ee9f24d8178faa
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| | |
Bug 5250175
Change-Id: I101991158231b70e203d701f0db0c6972e305a66
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
3 independant things here:
- Added actual XML samples for XSD addon-3 and repo-5
that check we can validate and load the <extra old-paths>.
- Fixed type in Extra package, new attribute should be
named <old-paths>, not <old_paths>, for consistency.
- Split the SdkRepositoryTest in 3 (repo + addon + capture handler)
because it was started to get a bit large.
Change-Id: I0ebfe862d5131a4fa214603e071576bc9108137f
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The underlying idea is to split system images archives
out of platforms, to reduce download size and be more
flexible in the future.
Code+unit tests are in a separate CL.
Change-Id: I9598fcab2c74e696446ebd1f6fce03832bfb711f
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
One more unit-test, this time we check that when the
SDK Manager updates its package list it properly
identifies ExtraPackages that use the old_paths
attribute as an update rather than a new package.
Change-Id: I7d5a642ae3287f46a0194b9d4597206f85d2772c
|
| |
| |
| |
| | |
Change-Id: I77b369a5bd3bb81da09f6e509b67c635b7b2e2e9
|
|/
|
|
|
|
|
|
|
|
|
| |
This has some basic unit tests to check the presence
of the new schema, as well as path comparison done
by the ExtraPackage.
Tests for the ArchiveInstaller have been extracted
in a different CL to reduce the clutter here.
Change-Id: Iefadcbf950a56834ff09c0d1ce689411957b666e
|
|
|
|
| |
Change-Id: Ie9cd51cbec851667954b672a8dadd345aee7a71f
|
|
|
|
|
|
|
|
|
|
|
|
| |
The SDK manager used to have log(String) calls which were
replaced by log(printfFormat, printfArgs..) calls in R12.
In a few places, we pass a string to the printf format that
comes from some user variable or URL or another method and
this string might contain % occurences that should not be
taken as formatters.
Change-Id: Ida29a18ba70d869a4f9d66f1d66edc010d9ec62d
|
|
|
|
| |
Change-Id: If15a8521f6efc25e31cf64d984a0279fd3b153e6
|
|
|
|
|
|
|
| |
Opening projects in Eclipse will rename the file and
"android update project" will do the same.
Change-Id: I251881897c251eb07c9704eb9c2448cab47e5b83
|
|
|
|
| |
Change-Id: Ib610456aab10991818c18cd01d8680c9dc3ccd14
|
|
|
|
| |
Change-Id: Ia40c3ff899c2641ab18c3aaad6edbc0856a0534e
|
|
|
|
|
|
|
|
|
|
|
| |
New mechanism to embed a build version into build.xml to figure out
whether the build.xml file is obsolete or not.
Use the version-tag: custom case to prevent erase user modifications.
Fixed some issues with the name of the project (put in build.xml) for
test projects which don't have any activity.
Change-Id: Ib0333d15ca9558fffe24a718e704fcf4176c9014
|
|
|
|
|
|
|
|
|
| |
This changes PlatformTarget to parse the Layoutlib Version
(API + revision) stored by the SDK Manager in the source.properties
of the platform on disk. Then this introduces an helper method
in SdkManager to find the highest available layoutlib version.
Change-Id: I94990dabed6c7e5ad3f8f06ff3b16696edca8653
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Libraries now generate a jar file that is used by the projects
referencing them, instead of having the main projects compile
the library source code themselves.
This means we can remove the link mechanism that created linked
folder in ADT and instead use a container that is lazily initalized
to be all the jar files of the libraries.
Also merged all 3 Ant build files (main_rules, lib_rules, test_rules)
into a single build.xml that can build any kind of projects.
Lot's of improvement in there too. Much cleaner.
Change-Id: I98307e25cd76722e8595938528e6ef57a7e226ad
|
|
|
|
|
|
|
|
|
| |
The SdkLib unit tests had the annoying side effect
of writing an XML schema validation error on stderr.
This patch uses an XML Error Handler to capture the
error and actually test for it too.
Change-Id: I129804c6f9cb4ba3dfc25db4f3313553fb01df63
|