OSDN Git Service
vchtchetkine [Wed, 5 Aug 2009 23:57:18 +0000 (16:57 -0700)]
Split AdbWinApi.dll into two dlls to remove dependency on WINUSB.DLL
Move all WINUSB-dependent functionality into AdbWinUsbApi.dll in order to
enable ADB on condition that WINUSB has not been installed.
In this patch set new file (adb_winusb_api.h) has been added where I moved
typedef that broke the build. Aso, adb_api.cpp and AdbWinApi.cpp were changed
to include that new header file.
BUG
2033924
Raphael [Fri, 7 Aug 2009 03:51:11 +0000 (20:51 -0700)]
Revert "Split AdbWinApi.dll into two dlls to remove dependency on WINUSB.DLL"
which breaks the Windows SDK on Donut.
This reverts commit
f855c4e8469e31114fccca4c28aeb01a806a9a48.
Android (Google) Code Review [Fri, 7 Aug 2009 01:25:11 +0000 (18:25 -0700)]
Merge change 20379 into donut
* changes:
Fix some minor typo
Xavier Ducrohet [Fri, 7 Aug 2009 00:59:52 +0000 (17:59 -0700)]
Fix some minor typo
BUG:
2039797
Android (Google) Code Review [Fri, 7 Aug 2009 00:34:26 +0000 (17:34 -0700)]
Merge change 20196 into donut
* changes:
Split AdbWinApi.dll into two dlls to remove dependency on WINUSB.DLL
Android (Google) Code Review [Fri, 7 Aug 2009 00:13:39 +0000 (17:13 -0700)]
Merge change 20363 into donut
* changes:
Make android.bat copy commons-compress to tmp with the other jar files.
Xavier Ducrohet [Fri, 7 Aug 2009 00:09:11 +0000 (17:09 -0700)]
Make android.bat copy commons-compress to tmp with the other jar files.
BUG:
2039759
Raphael [Thu, 6 Aug 2009 19:51:22 +0000 (12:51 -0700)]
SDK Updater: Fix to allow install from directory URL (i.e. auto-guess the
repository.xml correctly.)
BUG
2039080
Also removed some misc Eclipse 3.5 warnings.
Raphael [Thu, 6 Aug 2009 18:39:39 +0000 (11:39 -0700)]
SDK Updater: fix main window to resize.
BUG
2038860
Xavier Ducrohet [Thu, 6 Aug 2009 02:25:35 +0000 (19:25 -0700)]
Fix comparison of 2 doc packages that have the same codename/revision.
This made the Donut_r1 doc show up as upgrade to the donut_r1 doc.
BUG:
2037448
Android (Google) Code Review [Thu, 6 Aug 2009 00:22:04 +0000 (17:22 -0700)]
Merge change 20200 into donut
* changes:
Fix NPE that prevented any package w/o license to be installed.
vchtchetkine [Wed, 5 Aug 2009 23:57:18 +0000 (16:57 -0700)]
Split AdbWinApi.dll into two dlls to remove dependency on WINUSB.DLL
Move all WINUSB-dependent functionality into AdbWinUsbApi.dll in order to
enable ADB on condition that WINUSB has not been installed.
Xavier Ducrohet [Thu, 6 Aug 2009 00:09:35 +0000 (17:09 -0700)]
Fix NPE that prevented any package w/o license to be installed.
java.util.Properties#setProperty() doesn't like it when the value is null
which was the case when a package had no license.
Made sure it won't happen on other properties than the license as well.
Also improved error display when an unexpected Throwable is thrown during
install (Stack Call is now display if the Throwable has no message).
BUG:
2037085
David Warren [Tue, 4 Aug 2009 23:03:59 +0000 (16:03 -0700)]
Fixed bad link in intro text.
Android (Google) Code Review [Tue, 4 Aug 2009 17:58:59 +0000 (10:58 -0700)]
Merge change 9552 into donut
* changes:
Import revised translations. DO NOT MERGE
Xavier Ducrohet [Tue, 4 Aug 2009 01:54:52 +0000 (18:54 -0700)]
ApiDemos Clean up
- Add missing @Override
- Remove (some) unused imports
- Add some missing headers
BUG:
2031807
Eric Fischer [Mon, 3 Aug 2009 23:05:36 +0000 (16:05 -0700)]
Import revised translations. DO NOT MERGE
Android (Google) Code Review [Mon, 3 Aug 2009 21:26:37 +0000 (14:26 -0700)]
Merge change 9535 into donut
* changes:
Fix the DeviceChooserDialog table issues.
Xavier Ducrohet [Mon, 3 Aug 2009 21:23:16 +0000 (14:23 -0700)]
Fix the DeviceChooserDialog table issues.
On Linux, the gtk table seems to resize itself automatically when the
layout is computed and forces the last column to resize itself at +18 pixels.
This has a problematic impact on this dialog as it is not resizable and is
made to match the size of the content. As the dialog is used time after time
the last column grows by 18 pixels at every use up to a point where it
doesn't fit the screen.
Since storing the columns size is not that useful and I couldn't find a
way to ignore this first resize, I'm just removing the width storage.
Xavier Ducrohet [Mon, 3 Aug 2009 20:46:27 +0000 (13:46 -0700)]
Fix PlatformTarget#compareTo(IAndroidTarget) again.
Xavier Ducrohet [Sat, 1 Aug 2009 00:35:24 +0000 (17:35 -0700)]
Minor fix to the plug-ins license.
Android (Google) Code Review [Fri, 31 Jul 2009 18:01:45 +0000 (11:01 -0700)]
Merge change 9352 into donut
* changes:
ADT: fix PreCompilerBuilder to use minSdkVersion as a string, not an int.
Android (Google) Code Review [Fri, 31 Jul 2009 17:55:10 +0000 (10:55 -0700)]
Merge change 9239 into donut
* changes:
Since bug
1966269 is fixed, marking calprov tests as continuous=true
Raphael [Fri, 31 Jul 2009 17:17:52 +0000 (13:17 -0400)]
ADT: fix PreCompilerBuilder to use minSdkVersion as a string, not an int.
Android (Google) Code Review [Thu, 30 Jul 2009 23:31:12 +0000 (16:31 -0700)]
Merge change 9237 into donut
* changes:
Move legacy driver binaries to the legacy driver directory
vchtchetkine [Thu, 30 Jul 2009 21:55:53 +0000 (14:55 -0700)]
Move legacy driver binaries to the legacy driver directory
Swarna Kumar [Thu, 30 Jul 2009 22:03:25 +0000 (15:03 -0700)]
Since bug
1966269 is fixed, marking calprov tests as continuous=true
Xavier Ducrohet [Thu, 30 Jul 2009 21:51:37 +0000 (14:51 -0700)]
Remove section about USB driver as not everything is directly available anymore
See development/host/windows/usb/readme.txt
Android (Google) Code Review [Thu, 30 Jul 2009 19:29:27 +0000 (12:29 -0700)]
Merge change 9208 into donut
* changes:
Support packages with no license.
Xavier Ducrohet [Thu, 30 Jul 2009 19:28:17 +0000 (12:28 -0700)]
Support packages with no license.
vchtchetkine [Thu, 30 Jul 2009 17:19:02 +0000 (10:19 -0700)]
Add .inf file needed for WinUsb framework installation
vchtchetkine [Thu, 30 Jul 2009 00:44:36 +0000 (17:44 -0700)]
Bump up AdbWinApi.dll version and submit prebuilt AdbWinApi.dll
Android (Google) Code Review [Thu, 30 Jul 2009 01:38:17 +0000 (18:38 -0700)]
Merge change 9077 into donut
* changes:
Make GestureBuilder build under the SDK.
Xavier Ducrohet [Thu, 30 Jul 2009 01:31:37 +0000 (18:31 -0700)]
Make GestureBuilder build under the SDK.
Android (Google) Code Review [Thu, 30 Jul 2009 01:02:23 +0000 (18:02 -0700)]
Merge change 9072 into donut
* changes:
Make changes to enable driver build in new location
vchtchetkine [Thu, 30 Jul 2009 00:55:53 +0000 (17:55 -0700)]
Make changes to enable driver build in new location
Android (Google) Code Review [Thu, 30 Jul 2009 00:45:11 +0000 (17:45 -0700)]
Merge change 9062 into donut
* changes:
Adds call back to the SDK updater for SDK content notifications.
Xavier Ducrohet [Thu, 30 Jul 2009 00:36:21 +0000 (17:36 -0700)]
Adds call back to the SDK updater for SDK content notifications.
Make ADT reload the SDK when a new package is installed/removed through the
SDK Updater.
vchtchetkine [Wed, 29 Jul 2009 23:25:34 +0000 (16:25 -0700)]
Copy legacy driver source code as a sample for custom USB drivers
The primary usage for this code is to provide vendors / customers who for some
reasons are not satisfied with WinUsb, with a sample custom driver code that is
compliant with our AdbWinApi.dll. So vendors / customers can build their own
custom USB driver that can be recognized by AdbWinApi, and can be accessible from
adb.exe
David 'Digit' Turner [Wed, 29 Jul 2009 17:04:44 +0000 (19:04 +0200)]
Look for Android.mk in $(APP_PROJECT_PATH)/jni by default.
This gets rid of the 'sources' directory and allows all sources
of a given Android application to be in the same directory tree
without using a symlink trick.
Note that apps/<name>/Application.mk is still required though.
A later release of the NDK will get rid of it too, but the change
is too drastic for the upcoming release.
The change moves various source files from sources into their
app/<name>/project/jni directory as well.
The whole documentation is updated to reflect the change.
David 'Digit' Turner [Wed, 29 Jul 2009 17:02:21 +0000 (19:02 +0200)]
Add sample "san-angeles" program to demo OpenGL ES from native code.
Note that the app will only build against an android-4 SDK.
(Interestingly, the resulting binary runs very well under android-3).
This also adds missing license headers to the 'two-libs' sample.
David 'Digit' Turner [Mon, 27 Jul 2009 14:23:42 +0000 (16:23 +0200)]
Add OpenGL ES headers to the android-4 platform/stable APIs.
David 'Digit' Turner [Wed, 29 Jul 2009 00:26:31 +0000 (02:26 +0200)]
Add android-4 sysroot and use project's default.properties to get the right target.
Note that for now, android-4 contains the same things than android-3.
Another patch will add OpenGL ES headers and libraries to it.
Xavier Ducrohet [Tue, 28 Jul 2009 23:28:09 +0000 (16:28 -0700)]
Fix minor typo and duplicated entry in sdk.atree
Android (Google) Code Review [Tue, 28 Jul 2009 23:20:13 +0000 (16:20 -0700)]
Merge change 8885 into donut
* changes:
Add notice file to platform folder.
Xavier Ducrohet [Tue, 28 Jul 2009 23:19:23 +0000 (16:19 -0700)]
Add notice file to platform folder.
Android (Google) Code Review [Tue, 28 Jul 2009 22:00:12 +0000 (15:00 -0700)]
Merge change 8637 into donut
* changes:
Add host check for nawk/gawk in build/host-setup.sh
Android (Google) Code Review [Tue, 28 Jul 2009 22:00:00 +0000 (15:00 -0700)]
Merge change 8623 into donut
* changes:
Add a "unit-tests" sample application to perform unit testing.
Android (Google) Code Review [Tue, 28 Jul 2009 21:59:44 +0000 (14:59 -0700)]
Merge change 8622 into donut
* changes:
Fix LOCAL_CFLAGS/CPPFLAGS handling to match full Android build system.
vchtchetkine [Tue, 28 Jul 2009 19:45:33 +0000 (12:45 -0700)]
Add classes encapsulatinglegacy USB API
Added implementation for endpoints and overlapped I/O support for legacy API support.
Android (Google) Code Review [Tue, 28 Jul 2009 18:00:39 +0000 (11:00 -0700)]
Merge change 8804 into donut
* changes:
Fix SDK build break caused by including legacy support header into main API header
vchtchetkine [Tue, 28 Jul 2009 17:01:52 +0000 (10:01 -0700)]
Fix SDK build break caused by including legacy support header into main API header
usb_windows.c doesn't build with adb_legacy_api.h included into adb_api.h
Since adb_legacy_api.h is not used anywhere outside AdbWinApi.dll project, the simplest
fix would be to remove its inclusion from adb_api.h
Android (Google) Code Review [Mon, 27 Jul 2009 23:25:47 +0000 (16:25 -0700)]
Merge change 7938 into donut
* changes:
New ntro image for camera.html that shows flow for video capture.
Xavier Ducrohet [Mon, 27 Jul 2009 22:39:42 +0000 (15:39 -0700)]
Prevent SDK Updater progress dialog from showing off screen.
Android (Google) Code Review [Mon, 27 Jul 2009 22:26:38 +0000 (15:26 -0700)]
Merge change 8699 into donut
* changes:
Prevent SDK updater dialog from showing offscreen.
Xavier Ducrohet [Mon, 27 Jul 2009 22:24:38 +0000 (15:24 -0700)]
Prevent SDK updater dialog from showing offscreen.
Android (Google) Code Review [Mon, 27 Jul 2009 18:43:49 +0000 (11:43 -0700)]
Merge change 8516 into donut
* changes:
Refactor API classes to support both, WinUsb and Legacy API
David 'Digit' Turner [Mon, 27 Jul 2009 13:47:09 +0000 (15:47 +0200)]
Add host check for nawk/gawk in build/host-setup.sh
Store the result as HOST_AWK in out/host/config.mk
David 'Digit' Turner [Mon, 27 Jul 2009 10:26:17 +0000 (12:26 +0200)]
Add a "unit-tests" sample application to perform unit testing.
David 'Digit' Turner [Mon, 27 Jul 2009 10:24:58 +0000 (12:24 +0200)]
Fix LOCAL_CFLAGS/CPPFLAGS handling to match full Android build system.
Also improve BUILD_SYSTEM directory detection logic in build/core/main.mk
vchtchetkine [Fri, 24 Jul 2009 18:30:41 +0000 (11:30 -0700)]
Refactor API classes to support both, WinUsb and Legacy API
To support both, WinUsb and Legacy driver APIs we need to abstract classes
that depend on driver API details and then implement two sets of the
actual classes: one for WinUsb, and another for the Legacy drivers, so
we can choose in runtime which objects should be instantiated, depending
on what type of driver we have underneath this API.
Android (Google) Code Review [Sat, 25 Jul 2009 16:10:50 +0000 (09:10 -0700)]
Merge change 8502 into donut
* changes:
Rename ndk/build/platforms/android-1.5 into android-3 to match API levels
Android (Google) Code Review [Sat, 25 Jul 2009 16:10:27 +0000 (09:10 -0700)]
Merge change 8501 into donut
* changes:
Handle LOCAL_CPPFLAGS/CFLAGS/CXXFLAGS as claimed by the documentation.
Xavier Ducrohet [Sat, 25 Jul 2009 02:19:32 +0000 (19:19 -0700)]
First pass at a WVGA skin.
Xavier Ducrohet [Sat, 25 Jul 2009 01:01:28 +0000 (18:01 -0700)]
Delete non rotating skins and create a QVGA rotating skin.
HVGA-P and HVGA-L were redundant with HVGA which supports both orientations.
QVGA-P and QVGA-L has been replaced with QVGA which supports both orientations.
Xavier Ducrohet [Sat, 25 Jul 2009 00:17:38 +0000 (17:17 -0700)]
Add Apache Commons Compress to ADT (required by sdklib)
Android (Google) Code Review [Fri, 24 Jul 2009 20:40:35 +0000 (13:40 -0700)]
Merge change 8528 into donut
* changes:
Allow override of default symbol location for native heap library resolution
Android (Google) Code Review [Fri, 24 Jul 2009 20:40:05 +0000 (13:40 -0700)]
Merge change 8537 into donut
* changes:
Fix the update check for doc packages.
Xavier Ducrohet [Fri, 24 Jul 2009 20:36:07 +0000 (13:36 -0700)]
Fix the update check for doc packages.
Android (Google) Code Review [Fri, 24 Jul 2009 20:28:09 +0000 (13:28 -0700)]
Merge change 5271 into donut
* changes:
Script to strip out unused translations when you change the base strings.xml.
Xavier Ducrohet [Fri, 24 Jul 2009 20:19:24 +0000 (13:19 -0700)]
Allow override of default symbol location for native heap library resolution
Default location of the symbols is $ANDROID_PRODUCT_OUT/symbols.
Setting the env variable ANDROID_SYMBOLS allows you to override this location
so that DDMS goes look for the symbol in a different location when
resolving native heap addresses.
David 'Digit' Turner [Fri, 24 Jul 2009 15:56:51 +0000 (17:56 +0200)]
Rename ndk/build/platforms/android-1.5 into android-3 to match API levels
David 'Digit' Turner [Fri, 24 Jul 2009 15:42:21 +0000 (17:42 +0200)]
Handle LOCAL_CPPFLAGS/CFLAGS/CXXFLAGS as claimed by the documentation.
The previous code did only use LOCAL_CFLAGS for both C and C++ sources.
Xavier Ducrohet [Fri, 24 Jul 2009 01:25:41 +0000 (18:25 -0700)]
Add default version files into the SDK for docs/tools/platforms.
Xavier Ducrohet [Fri, 24 Jul 2009 01:02:07 +0000 (18:02 -0700)]
Also filter the list of Archives to only show the compatible ones.
Android (Google) Code Review [Fri, 24 Jul 2009 00:08:46 +0000 (17:08 -0700)]
Merge change 8438 into donut
* changes:
Add a checkbox to only show packages that are updates or new.
Xavier Ducrohet [Thu, 23 Jul 2009 23:58:54 +0000 (16:58 -0700)]
Add a checkbox to only show packages that are updates or new.
Android (Google) Code Review [Thu, 23 Jul 2009 22:35:12 +0000 (15:35 -0700)]
Merge change 8402 into donut
* changes:
Add test application
vchtchetkine [Thu, 23 Jul 2009 21:56:35 +0000 (14:56 -0700)]
Add test application
Xavier Ducrohet [Thu, 23 Jul 2009 21:43:49 +0000 (14:43 -0700)]
Fix loading of user repository and add refresh when adding/removing.
Android (Google) Code Review [Thu, 23 Jul 2009 21:11:42 +0000 (14:11 -0700)]
Merge change 8377 into donut
* changes:
Use Apache Commons Compress instead of java.util.zip
vchtchetkine [Thu, 23 Jul 2009 20:38:37 +0000 (13:38 -0700)]
Add build instructions, ignore list and remove obsolete .sln file
Xavier Ducrohet [Thu, 23 Jul 2009 19:59:42 +0000 (12:59 -0700)]
Use Apache Commons Compress instead of java.util.zip
When the SDK installer unarchives the zip files, it is important to keep
the permissions for executable (Linux/MacOS) or the tools required to
build applications (aapt, aidl, ...) won't work.
Since java.util.zip does not provide support for permissions, we now
use the Apache Commons Compress component that allows us to read the
permission from the archive.
vchtchetkine [Thu, 23 Jul 2009 17:41:24 +0000 (10:41 -0700)]
Delete files irrelevant for the new driver model
:x
Android (Google) Code Review [Thu, 23 Jul 2009 16:37:13 +0000 (09:37 -0700)]
Merge change 8232 into donut
* changes:
Refactor ADB API dll to support WinUsb
Android (Google) Code Review [Thu, 23 Jul 2009 08:26:26 +0000 (01:26 -0700)]
Merge change 8178 into donut
* changes:
Ensure LOCAL_LDLIBS is cleared by the $(CLEAR_VARS) script
Android (Google) Code Review [Thu, 23 Jul 2009 03:01:20 +0000 (20:01 -0700)]
Merge change 8298 into donut
* changes:
Minor NPE fix.
Xavier Ducrohet [Thu, 23 Jul 2009 02:51:10 +0000 (19:51 -0700)]
Minor NPE fix.
Xavier Ducrohet [Thu, 23 Jul 2009 01:37:33 +0000 (18:37 -0700)]
Move ADT/DDMS plug-ins to 0.9.2
Xavier Ducrohet [Thu, 23 Jul 2009 00:39:44 +0000 (17:39 -0700)]
Add support for add-on based on preview of platforms.
Xavier Ducrohet [Wed, 22 Jul 2009 22:47:57 +0000 (15:47 -0700)]
Add GestureBuilder to the samples.
Xavier Ducrohet [Wed, 22 Jul 2009 21:08:07 +0000 (14:08 -0700)]
Fix erroneous assert.
vchtchetkine [Wed, 22 Jul 2009 20:34:53 +0000 (13:34 -0700)]
Refactor ADB API dll to support WinUsb
Android (Google) Code Review [Wed, 22 Jul 2009 16:44:57 +0000 (09:44 -0700)]
Merge change 8196 into donut
* changes:
Refactored AndroidXPathFactory into sdklib.
Xavier Ducrohet [Wed, 22 Jul 2009 16:42:20 +0000 (09:42 -0700)]
Refactored AndroidXPathFactory into sdklib.
David 'Digit' Turner [Wed, 22 Jul 2009 11:34:54 +0000 (13:34 +0200)]
Ensure LOCAL_LDLIBS is cleared by the $(CLEAR_VARS) script
Android (Google) Code Review [Wed, 22 Jul 2009 10:13:22 +0000 (03:13 -0700)]
Merge change 8016 into donut
* changes:
Fix compilation of assembly files (e.g. foo.S), by removing a typo.
Android (Google) Code Review [Wed, 22 Jul 2009 01:51:25 +0000 (18:51 -0700)]
Merge change 8137 into donut
* changes:
Enforce codename value for minSdkVersion in the Ant build.
Xavier Ducrohet [Wed, 22 Jul 2009 01:34:15 +0000 (18:34 -0700)]
Enforce codename value for minSdkVersion in the Ant build.
If the Ant project is targetting a preview platform, the manifest must
declare minSdkVersion to be the platform codename.
Yu Shan Emily Lau [Mon, 20 Jul 2009 22:20:13 +0000 (15:20 -0700)]
Add the test definition of the vpn tests.