| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
Move folders around to match default gradle/maven
folder structure.
The custom structure confused some IDEs when importing
the project as a Gradle project.
Change-Id: Ibcee26e6c07d7a53a5d96a33a1e290832ee9928d
|
|
|
|
| |
Change-Id: I483f1e3dd02a1ac61a06707bcf33ca1c9bb6f034
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
SDK Bug: 36987
Bug was that TaskHelper would fail when parsing a pk
revision with an RC value. A quick fix was done in CL
6d266a1bf5992d27fff4400c5d2bd30681c65c3d a while ago.
Revisit the fix by using the new FullRevision object
to parse the value and create a DeweyDecimal; should
avoid us trouble if we later change the format.
Change-Id: I5ad1449ebd2606255c27485e60b714b5cf83a308
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
One issue is that when there was only one instance of platform-tools possible,
the computeUpdates() code would pick the first one. But now there can be 2 of
them (preview, non-preview) and thus we need to pick up the higher one even if
it's not the first choice.
Same issue with tools: if a platform depends on tools and there are none
installed, we need to pick the highest version of the available preview
or final package that satisfies the dependency.
Note that in both cases the issue does not arise if there's already
a tools or platform-tools installed.
Change-Id: I61db2881274dafa32c5c303c0b3569fc336b8e92
|
|
|
|
| |
Change-Id: Ide586077b63accc17cc3c4c68e0b62f06fe83b66
|
|
|
|
| |
Change-Id: I5b85b01fb62d659ed75ee998da780feaea75c51c
|
|\ |
|
| |
| |
| |
| | |
Change-Id: Ib2bb0b69e08a639b7469f1c9a67e97e8cdd6eb48
|
| |
| |
| |
| | |
Change-Id: I630cb4fc123e3d6b6efc36eea543f7556b2ccc87
|
|/
|
|
|
|
|
|
|
| |
A simple unit test to display that an update is available.
This will get more complex later. The cache is mocked and
the whole test should be independant of the user's actual
settings and local cache, with no network access.
Change-Id: I58ff45895916a14a10f501a9bd664782d777ed42
|
|
|
|
|
|
| |
Required when using Eclipse 4.
Change-Id: Ie5f95794392ce46e0b04ae67b5eaf07efb19fbac
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I248194b5764cf801e52ebd35c6b5963facf31a3e
|
|/
|
|
|
|
|
|
|
|
|
| |
Eclipse 3.8/4.2 requires that any method which overrides another
method with a @NonNull parameter (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=381443).
This changeset adds @NonNull on various overriding methods in newly
added code such that Eclispe 4.2 doesn't show errors.
Change-Id: Ice4a4b4dc31ba68c4e0911bb37c15da090076a0d
|
|
|
|
|
|
|
|
|
|
| |
Removed ILogger from ide_common
Removed ISdkLog (and implementations) from sdklib
Moved all existing code to com.android.utils.ILogger
which is located in common.
Change-Id: Icd674d4b8d10f6ae8b60a83acb43cc53c7a52137
|
|
|
|
|
|
|
| |
Move stuff out of sdklib into common and ide_common.
Remove androidprefs and move the one class into common.
Change-Id: I71d126a13cf2ba413692e29616f4968a37d7b33a
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Move resources and com.android.util.Pair into layoutlib_api
where they belong since layoutlib depends on them and we need
to control the API.
Made a copy of Pair to stay in common.jar but moved it to
com.android.utils.Pair (the one in com.android.util.Pair is
marked as deprecated to prevent usage where applicable).
Also moved XmlUtil and PositionXmlParser to com.android.utils
to match Pair.
Change-Id: I21d7057d3f2ce604f86a3bb1fa3c130948c93b89
|
|/
|
|
| |
Change-Id: I7d53dd01cc9fc25794ed10bf053f093a4dda9af3
|
|
|
|
|
|
|
|
| |
This is just a "dos2unix" applied to all the sdklib *.java
files. I meant to clean that a while ago.
I'll do sdkuilib in a different CL.
Change-Id: I5c7d65cea9205d8765961db0fea42d8b3dbd58eb
|
|
|
|
| |
Change-Id: I994ea6499c542fe43b16037e4a8cf184b95f91de
|
|
|
|
| |
Change-Id: Ibbe574716b59c4ccfba93eccd6e3df895063c889
|
|
|
|
| |
Change-Id: I6c9a162bc414d3d8252dbbb5a37bb4d2ed1d6058
|
|
|
|
| |
Change-Id: Icede9eaaf0a38924397e7ea49775a6aef9701391
|
|
|
|
| |
Change-Id: I8d37398581023808eac19ad21ce864eaba69ae3b
|
|
|
|
| |
Change-Id: Ib8a4a750b56f9ea94abd21c445958726343e760c
|
|
|
|
|
|
|
| |
Apparently that's not even needed anymore, it might
be a left-over from a previous test.
Change-Id: I622fbba13975d14cd45a4724751abdd33756824f
|
|
|
|
|
|
|
|
|
|
| |
This extends the addons_list XSD to support both
addons sites and OEM's system-image sites.
Then this defines a new schema "sys-img" XSD for
a site that offers only system images.
Change-Id: I77ff56c4c70f57ab8ea44cf4ea3094125653737b
|
|
|
|
|
|
|
| |
This changeset fixes various code fragments opening
resources without closing them.
Change-Id: I6ed48a32dc5de4c11cab394dd3883ebbb54d2938
|
|
|
|
|
|
|
|
| |
Support full revision for:
- tools: min-platform-tools-rev
- platform + sample + extra: min-tools-rev
Change-Id: I2c699683c1a3c02c99654dba7c39c7a1e5cd042e
|
|
|
|
| |
Change-Id: I6891dcaa42990d80982bbd48859f99709aa62931
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Instead of storing the full revision as 4 separate
properties, this stores it using the legacy
"Pkg.Revision" property with the "1.2.3 rc4"
format. It reduces the number of properties to
maintain, it's more human-readable and it's
easier when we want to have min-tools-rev be
a full revision in the next CL (otherwise it
means 4 more properties, etc.)
Change-Id: I94ebc4786e83c5b565a6d3a33d11efdfda6f72c5
|
|
|
|
| |
Change-Id: Iee113eb3341f6aab65d65654505c5fedcfaff9a1
|
|
|
|
|
|
|
|
|
|
|
| |
This changes the XML schema for repository-7 to put the
"full revision" in its own <revision> element with 4
sub-elements (major/minor/micro and preview).
Next step is to reuse this for min-[plat-]tools-rev
for dependencies.
Change-Id: I644f08e7383987682f8b0b31175ce58d02fd8751
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2 things in this CL:
- There's a bit of refactoring:
- PreviewVersion becomes FullVersion (which is
a full major.minor.micro.preview)
- And I introduce a MajorRevision (which is just
a major number)
- Package.getRevision() returns one of these
revision objects instead of an integer which
leads to a multide of small boring changes.
- Changed the PackageDiffLogic and its test to
adequately use the new revision; "tools preview"
packages are placed in their own category and
releases can update previews but not the reverse.
Change-Id: Ia80fd9a3791919e827ce0d183c0f297f0d27f2e6
|
|
|
|
|
|
|
|
|
|
|
| |
For tools and platform-tools, we'll support a revision
in the form "major.minor.micro rc#". The fourth one
is a preview/release candidate number.
This allows us to have revisions 18, 18.1, 18.0.1 and
18 rc1, etc.
Change-Id: I8a41491d4cd8798f1b71ed7f3484d9293fee81bc
|
|
|
|
|
|
| |
This would be used later by the NPW.
Change-Id: Iec6f24182f234d83217d83f0087aa92eabb7609d
|
|
|
|
|
|
|
|
|
|
|
| |
This splits the sdklib repository in 3 sub-packages
for archives, packages and sources.
There are a lot of files moved around but its just
a move refactoring and the only thing changes are
imports and a few methods made public.
Change-Id: I6ce0e872ac7afea2a6a4eb70ee7bbad0c04b6678
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
It supports:
- A local binary cache + a few http headers are saved
- If ETag is present, generates a GET with If-None-Match
- If Last-Modified is present, generates a GET with If-Modified-Since
- Ability to configure the cache to be direct (don't cache),
or serve without checkout or serve with a server check.
- Doesn't check cached files if newer than 10 minutes.
- For servers with no ETag/LastModified support, check files
every 4 hours (no pref to change this yet.)
Change-Id: I515e77291fb6810453e82e73f6508cfc60b2f422
|
|
|
|
|
|
| |
Also fix a name changed in the SdkUiLib test.
Change-Id: I30fa83ac607fc4735af161604514f09c2aff6a93
|
|
|
|
|
|
|
| |
(based on ae7878a5426e5df22634b449a76d59626d038713
and adapted to tools_r17.)
Change-Id: If8312af7f385cbe6e066657ef7e63ab8fd758424
|
|
|
|
|
|
|
|
|
|
|
|
| |
Changes:
- the SdkManager can now list extras that
contain a "samples" directory.
- The NPW uses that to list samples from extras
that match the requested API level. The name
of the sample in the list also indicates the
extra's display name.
Change-Id: Id6609f53b9ba84126e36bc33e5675ec6a0284814
|
|
|
|
|
|
|
|
| |
SDK Bug: 21942, part 2 of 3.
(part 3 is replacing manifest.ini by source.props)
Change-Id: I96be0d8210120927744224d909f7ee7184ebfecf
|
|
|
|
|
|
| |
SDK Bug: 21942, part 1 of 2.
Change-Id: Id9c026965b365e57302c56620f4ec8f88573d633
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
To simplify and avoid XSD duplication, remove extra
packages from the repository.xsd. Instead they should
be defined via an addon.xml.
Note that -repository-6.xsd is prefixed with a dash,
meaning the SDK Manager 17 knows about it and can enforce
it but the build server will continue creating repos
in v5 for now. Once r17 is deployed, we can make the
xsd v6 mandatory for r18.
Change-Id: I00d4644378bcc95bfd9ceb7eede0c8c720926f74
|
|
|
|
|
|
|
|
| |
Extract Java sources from source packages as read-only.
When such sources are added to the target build path in
Eclipse it prevents users from modifying them by mistake.
Change-Id: I271d1d55e35ba275494b9d5d899817a7d0ad0361
|
|
|
|
| |
Change-Id: Iae9033f04654e03151c206b5dfb1fd8f47eea8f2
|
|
|
|
|
|
|
|
|
| |
This allows the parser to process an input such as:
$ cmd verb --arg1 value1 --arg2 value2 value3 value4
or
$ cmd verb --arg1 value1 --arg2 value2 -- -value3 --value4
Change-Id: I7ea6c019c2bb4ee5003bdba1f0774f3c062322c2
|
|
|
|
| |
Change-Id: I4413efea2887436d167ce44db6f0cd711bdf8fdd
|