OSDN Git Service
David Li [Thu, 7 Apr 2011 01:20:12 +0000 (18:20 -0700)]
GLES2Dbg: organize calls into frames and contexts
Maintain a current state for each context updated by each call.
eglSwapBuffers Begins a new frame; clone current state.
Use clone to compute context for a call within that frame later on,
in the context tree view.
Signed-off-by: David Li <davidxli@google.com>
David Li [Wed, 30 Mar 2011 22:14:36 +0000 (15:14 -0700)]
GLES2Dbg: add more state tracking and snapshot of state per GL call
Use TreeView and Reflection to display the states per GL call.
Need to implement more state cloning and tacking.
Prepare to group calls by frame, and clone the context for each frame.
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 29 Mar 2011 00:55:56 +0000 (17:55 -0700)]
GLES2Dbg: use mesa glsl_compiler for syntax checking
Also switch to TabFolder for GUI
Signed-off-by: David Li <davidxli@google.com>
Siva Velusamy [Tue, 6 Sep 2011 21:00:44 +0000 (14:00 -0700)]
Merge "GLES2Dbg: improve protocol and error check after shader upload"
Siva Velusamy [Tue, 6 Sep 2011 21:00:28 +0000 (14:00 -0700)]
Merge "GLES2Dbg: implemented shader tracking and editing"
Siva Velusamy [Tue, 6 Sep 2011 21:00:18 +0000 (14:00 -0700)]
Merge "GLES2Dbg: use 256KB chunks for lzf compression"
Siva Velusamy [Tue, 6 Sep 2011 21:00:08 +0000 (14:00 -0700)]
Merge "GLES2Dbg: implemented MessageParser"
Siva Velusamy [Tue, 6 Sep 2011 20:59:59 +0000 (13:59 -0700)]
Merge "GLES2Dbg: added SETPROP expectResponse"
Siva Velusamy [Tue, 6 Sep 2011 20:59:48 +0000 (13:59 -0700)]
Merge "GLES2Dbg: change TableViewer to ListViewer"
Siva Velusamy [Tue, 6 Sep 2011 20:59:38 +0000 (13:59 -0700)]
Merge "GLES2Dbg: added reference frame for glReadPixels"
Siva Velusamy [Tue, 6 Sep 2011 20:59:26 +0000 (13:59 -0700)]
Merge "GLES2Dbg: use liblzf for compressing images"
Siva Velusamy [Tue, 6 Sep 2011 20:59:15 +0000 (13:59 -0700)]
Merge "GLES2Dbg: Remove spurious execute file permissions."
Siva Velusamy [Tue, 6 Sep 2011 20:59:03 +0000 (13:59 -0700)]
Merge "GLES2Dbg: Make command exchange async to improve performance."
Siva Velusamy [Tue, 6 Sep 2011 20:58:49 +0000 (13:58 -0700)]
Merge "GLES2Dbg: Added state tracking and vertex data capturing."
Siva Velusamy [Tue, 6 Sep 2011 20:58:27 +0000 (13:58 -0700)]
Merge "GLES2Dbg: Initial commit of OpenGL ES 2.0 Debugger Client"
Raphael [Sat, 3 Sep 2011 20:53:54 +0000 (13:53 -0700)]
Add SystemImagePackage definition to sdkmanager.
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
Raphael Moll [Thu, 1 Sep 2011 06:20:58 +0000 (23:20 -0700)]
SdkManager: support <included-abi> in platform packages.
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
Tor Norbye [Tue, 6 Sep 2011 14:37:25 +0000 (07:37 -0700)]
Merge "Add GridLayout support to the ChangeLayout refactoring"
Tor Norbye [Tue, 23 Aug 2011 21:19:26 +0000 (14:19 -0700)]
Add GridLayout support to the ChangeLayout refactoring
This changeset adds a generic-to-GridLayout converter to the "Change
Layout" refactoring. The converter arranges the views into a grid
based on their bounds, uses the sizes to determine row and column
spans, and then writes this out as the resulting grid.
Note that it does not yet consider existing layout knowledge to add
better constraints, such as gravity, or arranging vertically
overlapping views in a horizontal row into a same shared row.
Change-Id: I78e5fdf49d9e2a838a7229e2e31aa62e190032ad
Tor Norbye [Fri, 2 Sep 2011 22:43:46 +0000 (15:43 -0700)]
Merge "Eliminate GEF dependency"
David Li [Mon, 28 Mar 2011 17:24:07 +0000 (10:24 -0700)]
GLES2Dbg: improve protocol and error check after shader upload
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 29 Mar 2011 01:38:38 +0000 (18:38 -0700)]
GLES2Dbg: implemented shader tracking and editing
Next commit is improving the protocol and
checking errors after shader upload
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 22 Mar 2011 20:23:14 +0000 (13:23 -0700)]
GLES2Dbg: use 256KB chunks for lzf compression
Data format is u32 totalDecompressedSize, then repeat:
u32 chunkDecompressedSize, u32 chunkCompressedSize, chunk data.
If chunkCompressedSize == 0, then chunk is not compressed.
Also start fixing integer sizes on server.
On client, set endianness to match server.
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 22 Mar 2011 17:06:00 +0000 (10:06 -0700)]
GLES2Dbg: implemented MessageParser
To allow user to input GL function call
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 22 Mar 2011 17:05:05 +0000 (10:05 -0700)]
GLES2Dbg: added SETPROP expectResponse
To allow "stepping" in functions.
Also fix bug in reference frame.
Use reference frame for CopyTex(Sub)Image2D.
Change-Id: If5ef32ba97a6cf5bc43162dc41cf62c6494d2093
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 22 Mar 2011 21:56:09 +0000 (14:56 -0700)]
GLES2Dbg: change TableViewer to ListViewer
For much faster scrolling
Signed-off-by: David Li <davidxli@google.com>
David Li [Tue, 22 Mar 2011 17:02:51 +0000 (10:02 -0700)]
GLES2Dbg: added reference frame for glReadPixels
Change-Id: I9b74a2eaf3a0e15ff3e7addbca168acc1c9b2f44
Signed-off-by: David Li <davidxli@google.com>
David Li [Wed, 30 Mar 2011 19:43:55 +0000 (12:43 -0700)]
GLES2Dbg: use liblzf for compressing images
liblzf is in external/liblzf
Signed-off-by: David Li <davidxli@google.com>
Jamie Gennis [Tue, 22 Mar 2011 22:10:47 +0000 (15:10 -0700)]
GLES2Dbg: Remove spurious execute file permissions.
This change is just a chmod -x of some files that shouldn't aren't
executable.
David Li [Fri, 11 Mar 2011 19:11:41 +0000 (11:11 -0800)]
GLES2Dbg: Make command exchange async to improve performance.
In message loop, use select to check for available commands from client,
rather than always expecting commands in eglSwapBuffers.
Client can send commands at any time.
Signed-off-by: David Li <davidxli@google.com>
David Li [Wed, 9 Mar 2011 00:57:24 +0000 (16:57 -0800)]
GLES2Dbg: Added state tracking and vertex data capturing.
Change-Id: Iaf56a52240b84fef5689a03f96d613349a492b43
Signed-off-by: David Li <davidxli@google.com>
David Li [Sat, 5 Mar 2011 01:47:18 +0000 (17:47 -0800)]
GLES2Dbg: Initial commit of OpenGL ES 2.0 Debugger Client
Displays GL call parameters, textures, screen captures and shader source.
Server code is in frameworks/base/opengl/libs/GLES2_dbg.
Protobuf code is generated using generate_debugger_message_proto.py in server code.
Change-Id: Idf86af2b4087497ff723953a3fd0889f79c2e116
Signed-off-by: David Li <davidxli@google.com>
Raphael [Fri, 2 Sep 2011 21:26:12 +0000 (14:26 -0700)]
Cleanup javadoc references in sdklib.
Change-Id: I2173944aeb3f18fc58d19fcf80ec186743dba56a
Tor Norbye [Fri, 2 Sep 2011 21:13:20 +0000 (14:13 -0700)]
Eliminate GEF dependency
ADT used to depend on GEF (the Graphical Editing Framework in
Eclipse), but with GLE2 it no longer does. However, there were still a
couple of references left to GEF (a javadoc reference, some usages of
its Rectangle class, and a reference in the manifest).
Not all Eclipse distributions ship with GEF, which means some users
get a missing dependency error which is not immediately obvious to
those not familiar with Eclipse libraries.
Since we don't depend on GEF for anything important, eliminate the
last dependencies.
Change-Id: I5d1e11a195da496dc10c10fc7865df7e4d183629
Raphaël Moll [Fri, 2 Sep 2011 20:58:25 +0000 (13:58 -0700)]
Merge changes Ifbb7de6e,Ib3b26595
* changes:
Fix example URL used in UTs.
SDK Manager2: fix large downloads.
Tor Norbye [Fri, 2 Sep 2011 19:44:16 +0000 (12:44 -0700)]
Merge "Change CRLF to LF and remove execute permissions on source files"
Michael Zoech [Tue, 30 Aug 2011 22:36:24 +0000 (00:36 +0200)]
Escape string in "extract string" refactoring
When executing the "extract string" refactoring only single and double
quotes are escaped correctly.
This patch for the bug #19612 improves the method by escaping the
following characters:
* Spaces at beginning or end of string.
* @, ? at beginning of string.
* ', ", \, <, &, \n, \t anywhere in string.
Change-Id: Ia2939213bd5460399dc5e19f5ce413c3f5812ea8
Herculano Campos [Tue, 30 Aug 2011 10:40:29 +0000 (11:40 +0100)]
Added icons for toolbar and project folders
Tor Norbye [Fri, 2 Sep 2011 03:09:12 +0000 (20:09 -0700)]
Change CRLF to LF and remove execute permissions on source files
Change-Id: I8b2504b116c33100d702f5d910b5625d3a089b0f
Tor Norbye [Fri, 2 Sep 2011 17:40:57 +0000 (10:40 -0700)]
Clean up layout and menu file scanning code
This changeset fixes some issues around the new lazy scanning of
layout and menu files.
First, it partly fixes "19657: AAPT errors aren't shown when adding an
error to a valid XML file". With the new optimization of not running
aapt on layout files where no ids have changed, we would no longer
pick up changes where an invalid or nonexistent resource is added. We
now perform some basic validation of resources as well as XML parsing
errors.
Second, it fixes a bug in the id before and after comparison used to
determine if aapt needs to run: The code would call map.keySet()
before and after the ids were added, but this resolved to the same
keyset so the equals comparison was always true regardless of the
content.
Third, it fixes an infinite loop issue with library projects, and
avoids doing unnecessary classpath modifications when there are no
changed projects.
Finally, it changes the "needsId" flag. The state of whether aapt
needs to be run was stored per repository, and there is a bug where it
does not get cleared properly which can yield a compilation loop. This
changeset introduces a new "ScanningContext" object which is passed
down to the various resource file updater methods. This context object
now holds the needsId state object (which is renamed to
"needsFullAapt"), and it is also the object where errors can be
registered.
Change-Id: I5632612c2d93e2f10f0803e9223921adb67602be
Xavier Ducrohet [Fri, 2 Sep 2011 19:10:28 +0000 (12:10 -0700)]
Merge "Always reset the must-compile-res flag when aapt is run."
Xavier Ducrohet [Fri, 2 Sep 2011 19:10:22 +0000 (12:10 -0700)]
Merge "Make the dependency graph use extension restrictions per folder."
Xavier Ducrohet [Fri, 2 Sep 2011 19:06:58 +0000 (12:06 -0700)]
Merge "Disable post compiler for normal projects only."
Xavier Ducrohet [Fri, 2 Sep 2011 19:05:47 +0000 (12:05 -0700)]
Always reset the must-compile-res flag when aapt is run.
Change-Id: If526a8cf29399b85f98b39c7e7a2acf0ff8c6bbe
Tor Norbye [Fri, 2 Sep 2011 17:32:46 +0000 (10:32 -0700)]
Merge "Use project selector button in the New XML File wizard"
Tor Norbye [Fri, 2 Sep 2011 17:32:19 +0000 (10:32 -0700)]
Merge "Use project minimum SDK to generate fewer icons"
Tor Norbye [Fri, 2 Sep 2011 17:31:43 +0000 (10:31 -0700)]
Merge "Add support for remaining asset types in Asset Studio Wizard"
Tor Norbye [Fri, 2 Sep 2011 17:30:00 +0000 (10:30 -0700)]
Merge "A few warnings fixes"
Tor Norbye [Fri, 2 Sep 2011 17:29:08 +0000 (10:29 -0700)]
Merge "Fix NPE in ResourceFolder when deleting folders"
Brett Chabot [Fri, 2 Sep 2011 16:05:58 +0000 (09:05 -0700)]
Merge "Fix junit reported error in SdkManagerTestCase."
Raphael [Fri, 2 Sep 2011 05:49:19 +0000 (22:49 -0700)]
Fix example URL used in UTs.
Change-Id: Ifbb7de6e94a5be9864c7b033e129d140ada89b70
Raphael Moll [Thu, 1 Sep 2011 07:01:57 +0000 (00:01 -0700)]
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
Raphael Moll [Fri, 2 Sep 2011 04:37:05 +0000 (21:37 -0700)]
Merge "SDK Manager: allow manual install of incompatible archives."
Raphael Moll [Fri, 2 Sep 2011 04:36:57 +0000 (21:36 -0700)]
Merge "Unit test for XML with <extra old-path> attribute."
Raphael Moll [Fri, 2 Sep 2011 04:36:46 +0000 (21:36 -0700)]
Merge "Repository XSD: System Images Packages."
Raphael Moll [Fri, 2 Sep 2011 04:36:38 +0000 (21:36 -0700)]
Merge "Test ExtraPackage old_path in SDK Manager diff"
Raphael Moll [Fri, 2 Sep 2011 04:36:17 +0000 (21:36 -0700)]
Merge "SDK Manager: Unit tests for ArchiveInstaller."
Raphael Moll [Fri, 2 Sep 2011 04:36:05 +0000 (21:36 -0700)]
Merge "SDK Manager: remember window positions."
Raphael Moll [Fri, 2 Sep 2011 04:35:57 +0000 (21:35 -0700)]
Merge "Move ant project templates files to development.git"
Raphael Moll [Fri, 2 Sep 2011 04:35:47 +0000 (21:35 -0700)]
Merge "Repository XSD: New <old_paths> in Extra packages."
Raphael Moll [Fri, 2 Sep 2011 04:35:36 +0000 (21:35 -0700)]
Merge "Windows: look for Java in %ProgramFiles(x86)%."
Raphael Moll [Fri, 2 Sep 2011 04:35:29 +0000 (21:35 -0700)]
Merge "sdkman2: don't select Win USB driver on Mac/Linux."
Xavier Ducrohet [Fri, 2 Sep 2011 00:45:06 +0000 (17:45 -0700)]
Make the dependency graph use extension restrictions per folder.
Before there was a way to filter touched file by extension(s) but
this was for all input folders.
Now each input folder can have a different set of extension restrictions.
This will allow apkbuilder to use DependencyGraph and extension restriction
for all its input folders.
Also fixed an issue where aapt would not package the resources if an
xml files was touched. This is because it didn't make a difference
between compiling the resources for IDs and packaging the resource
values.
Change-Id: I797d3a24c6c1f999e9d412c4ff8aa826ed16fc09
Brett Chabot [Thu, 1 Sep 2011 23:43:33 +0000 (16:43 -0700)]
Merge "Add layoutlib_api.jar to sdk/tests/libtests."
Brett Chabot [Thu, 1 Sep 2011 23:29:55 +0000 (16:29 -0700)]
Add layoutlib_api.jar to sdk/tests/libtests.
Bug
5249969
Change-Id: I47c8672da6ab40a9ecb9e5e64b42d5f5f8924381
Brett Chabot [Thu, 1 Sep 2011 23:16:35 +0000 (16:16 -0700)]
Fix junit reported error in SdkManagerTestCase.
Bug
5250175
Change-Id: I101991158231b70e203d701f0db0c6972e305a66
Xavier Ducrohet [Thu, 1 Sep 2011 22:44:41 +0000 (15:44 -0700)]
Merge "Add proper dependency support in the dex step of the Ant-based build."
Xavier Ducrohet [Thu, 1 Sep 2011 22:44:31 +0000 (15:44 -0700)]
Merge "Add support for proper dependency detection in the aidl ant compilation step."
Xavier Ducrohet [Thu, 1 Sep 2011 22:20:13 +0000 (15:20 -0700)]
Disable post compiler for normal projects only.
The post compiler disabling shouldn't affect library projects.
Those still need to generate their jar file. They don't run dex,
aapt not apkbuilder anyway.
Change-Id: I7c97e5d6a2ff5f3e05c60ee1dc3b5986afde2bd6
Xavier Ducrohet [Fri, 26 Aug 2011 01:36:48 +0000 (18:36 -0700)]
Add proper dependency support in the dex step of the Ant-based build.
The dex step now generates a dependency file that is reused during
following builds to check whether dex should occur.
Also optimized the part that figures out if any dependencies have
been modified/have gone missing.
Change-Id: I7f6e915fc7b571ad973260daa506badced3a9c2a
Xavier Ducrohet [Tue, 23 Aug 2011 17:18:17 +0000 (10:18 -0700)]
Add support for proper dependency detection in the aidl ant compilation step.
Aidl compilation now generates dependency files that are reused on further
compilations to only recompile files that needs it based on source files
modifications.
Also clean up output (and dependency) files when a source file is deleted.
Change-Id: I3131463fd7939ffc4b5bbdfa49940e03f0249a28
Tor Norbye [Mon, 29 Aug 2011 22:41:51 +0000 (15:41 -0700)]
Use project selector button in the New XML File wizard
I changed the project chooser in the New Android Icon Wizard from a
text field to a button (which shows the project name and icon, and
when clicked brings up the project selector dialog). This helps draw
the focus down to the next text field (the name) so you don't
accidentally try to enter it in the project field, and with the icon
it's also more obvious that it's the place where the project appears.
This CL makes the same change to the New XML File wizard.
Change-Id: Ib6496cb5b803f36228eb94fb5b1b2d0441f82ff8
Tor Norbye [Sun, 28 Aug 2011 23:07:37 +0000 (16:07 -0700)]
Use project minimum SDK to generate fewer icons
This changeset makes the icon generator consider the project's minimum
SDK version, to only create necessary icons. For example, by default
the tab icon generator will generate different icons for v5 and newer
and folder older icons. With this CL, if the minimum SDK is 5 or
higher, then only the newer style icons are created (and they are
placed in the default drawable folder instead of a -v5 version of the
folder). Similarly, notification icons for v11, v9 and older are also
created conditionally.
Change-Id: Id96d572d4b8f23cd59d0f1b983c6aea85683eb0f
Tor Norbye [Thu, 25 Aug 2011 20:13:34 +0000 (13:13 -0700)]
Add support for remaining asset types in Asset Studio Wizard
This changeset ports the remaining graphic generators from the HTML5
version (notifications, tabs, action bar), and hooks up wizard support
for them.
It also adds unit tests for the generators which generates images and
compares them to known good versions. I ran these tests comparing them
to the output from the HTML5 version of Asset Studio and all but 3 of
the images varied less than 5% (and I verified the remaining manually
and they're all fine and the difference is due to the images being
aligned slightly differently.)
The icon wizard is now also hooked up to the "New" button in the
Resource Chooser for drawable resources, and this changeset also fixes
a few related issues ("New" didn't work for file-based resources, and
newly created resources weren't showing up in the selection list.)
Change-Id: I48c49f1d5de452aa5b78e491d9b07e7156397fa9
Tor Norbye [Mon, 29 Aug 2011 20:22:41 +0000 (13:22 -0700)]
A few warnings fixes
Change-Id: Ie230236444a5e1288d98feea208df5ce6508803d
Tor Norbye [Fri, 26 Aug 2011 22:31:14 +0000 (15:31 -0700)]
Fix NPE in ResourceFolder when deleting folders
This CL fixes an NPE I was hitting when deleting resource folders in
an Android project - looks like the children list is populated lazily
and dispose does not account for this
java.lang.NullPointerException
at ResourceFolder.dispose(ResourceFolder.java:131)
at ResourceRepository.removeFolder(ResourceRepository.java:146)
Change-Id: I96974c68b4ef13e6e348efd6269270d4525322ab
Siva Velusamy [Wed, 31 Aug 2011 21:44:14 +0000 (14:44 -0700)]
Maintain a cache of apps currently present in workspace.
This is needed primarily because of the huge volume of queries
from the logcat view. The cache listens to workspace updates to
keep it in sync with any workspace operations (open/close project).
Change-Id: I8179df3c14f10b114a53262ab1cf2f9b8666e329
Siva Velusamy [Thu, 25 Aug 2011 23:54:44 +0000 (16:54 -0700)]
Make search case insensitive by default.
Change-Id: Ib09281dea211cffbd5c6f8352c7002f95e99f019
Siva Velusamy [Thu, 25 Aug 2011 23:37:07 +0000 (16:37 -0700)]
Display with transient filter selected on logcat errors.
When a error message is detected on logcat, display logcat view but
with a filter for the application selected so that only the relevant
messages are displayed.
Change-Id: Ic84c59b63519302eac286ae243b228a305288b3d
Siva Velusamy [Thu, 25 Aug 2011 21:21:17 +0000 (14:21 -0700)]
Activate logcat view at appropriate times.
- When applications are launched (run/debug) on a device, start
monitoring the logcat output on that device.
- If some important message comes across, and the logcat view is not
currently displayed, then activate it.
Change-Id: Ib88973badde4cb2860379129dfe0eb03a3f955dc
Siva Velusamy [Thu, 25 Aug 2011 00:50:20 +0000 (17:50 -0700)]
Move creation of LogCatReceiver to a separate factory.
Until now there was only one instance of LogCatReceiver. This
instance would listen to the logcat output from the currently
selected device.
This patch modifies this behavior to make one LogCatReceiver
responsible for listening to only one device. If there are multiple
devices, then multiple instances of LogCatReceivers are instantiated.
The instantiation is also moved to a separate factory.
This modification allows for the scenario where the LogCatReceiver's
can be instantiated independent of the UI, and are reused by the UI
whenever needed.
Change-Id: I46008cbd5ee41880372a62e7e09634ce2d2fc122
Siva Velusamy [Mon, 29 Aug 2011 22:37:30 +0000 (15:37 -0700)]
Reduce the number of UI refreshes of the logcat table.
Currently, every time a logcat message is received, the UI is refreshed.
If multiple messages are received in close succession, multiple refreshes
are enqueued to the UI thread to be run. This results in the UI spending
all its time refreshing the table.
This patch adds a refresh to the queue only if there are no pending
refreshes. We can do so since any refresh automatically picks up the latest
state of the logcat messages received.
Change-Id: I2d9df679299710e54986c86a3610d3546924aba8
Raphael Moll [Thu, 1 Sep 2011 05:53:23 +0000 (22:53 -0700)]
SDK Manager: allow manual install of incompatible archives.
(where 'incompatible' means not intended for the host OS,
e.g. installing an archive flagged as Linux on Windows.)
By default, SDK Manager 2 doesn't show archives and
focuses on packages. However some vendors might want to
create e.g. an add-on with an OS-specific archive. Users
that do not have the OS need a way to still access and
install this. The way to do is to enable 'Show Archive
Details' in the Packages menu, manually select the
archive for any OS and install it.
SDK Bug: 19725
Change-Id: I619c9b882a4c56c0dc67b0073e6e3386f6a0e215
Raphael Moll [Wed, 31 Aug 2011 21:39:21 +0000 (14:39 -0700)]
Unit test for XML with <extra old-path> attribute.
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
Raphael Moll [Tue, 30 Aug 2011 06:20:32 +0000 (23:20 -0700)]
Repository XSD: System Images Packages.
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
Raphael Moll [Tue, 30 Aug 2011 17:58:13 +0000 (10:58 -0700)]
Test ExtraPackage old_path in SDK Manager diff
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
Raphael Moll [Tue, 23 Aug 2011 05:32:23 +0000 (22:32 -0700)]
SDK Manager: Unit tests for ArchiveInstaller.
Change-Id: I77b369a5bd3bb81da09f6e509b67c635b7b2e2e9
Raphael Moll [Tue, 30 Aug 2011 21:26:22 +0000 (14:26 -0700)]
SDK Manager: remember window positions.
Remember window positions & sizes for the
SDK Manager 2 and the AVD Manager 1.
When restoring the windows, make sure they
fit on the visible monitor(s) area.
Also fixed a race condition where closing the
AvdManager1 window would dispose some bitmaps
but it turns out the AVD Manager can be launched
from the SDK Manager and the latter still need
these bitmaps... Hilarity ensues.
Change-Id: I2312e760029bc32561355f557a621d23ec1b6916
Raphael Moll [Tue, 30 Aug 2011 20:29:02 +0000 (13:29 -0700)]
Move ant project templates files to development.git
Change-Id: I5b066d7944d04673d47fa5b9f9cba5b2077a91ad
Raphael Moll [Thu, 25 Aug 2011 06:35:45 +0000 (23:35 -0700)]
Repository XSD: New <old_paths> in Extra packages.
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
Raphael Moll [Fri, 26 Aug 2011 21:13:16 +0000 (14:13 -0700)]
Windows: look for Java in %ProgramFiles(x86)%.
Cf bug 19551.
Change-Id: Id5ce9b0e792e7e189f9fc12e0dcfc6a63e0e2704
Raphael Moll [Fri, 26 Aug 2011 22:32:01 +0000 (15:32 -0700)]
sdkman2: don't select Win USB driver on Mac/Linux.
This is enforced by making sure we don't select packages
that do not have any archive compatible with the current
platform.
Change-Id: I5a81bbb2e868898c91f2dd77a6c1cb83b191d76a
The Android Open-Source Project [Tue, 30 Aug 2011 00:54:36 +0000 (17:54 -0700)]
merge from open-source master
Change-Id: I7b7a0174af75b7b37b9f1c5dc0adf39ab5b9d332
Raphaël Moll [Mon, 29 Aug 2011 23:52:21 +0000 (16:52 -0700)]
Merge "Findbugs cleanup in sdkmanager projects"
Michael Zoech [Mon, 29 Aug 2011 16:49:56 +0000 (18:49 +0200)]
Findbugs cleanup in sdkmanager projects
Change-Id: Ie9cd51cbec851667954b672a8dadd345aee7a71f
Tor Norbye [Mon, 29 Aug 2011 20:54:49 +0000 (13:54 -0700)]
Merge "Findbugs cleanup."
Tor Norbye [Sun, 28 Aug 2011 03:49:35 +0000 (20:49 -0700)]
Findbugs cleanup.
Change-Id: I82229e75e5a33baa690ea6b0993a4d407713e7e5
Raphael Moll [Fri, 26 Aug 2011 21:03:33 +0000 (14:03 -0700)]
Merge "SDK Manager: Fix log printf calls."
Raphael Moll [Fri, 26 Aug 2011 19:09:08 +0000 (12:09 -0700)]
SDK Manager: Fix log printf calls.
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
The Android Open-Source Project [Fri, 26 Aug 2011 19:07:40 +0000 (12:07 -0700)]
merge from open-source master
Change-Id: Ibc17c1b227a6af2ce933040260d9b4a858eeca1d