Commit Graph

133 Commits

Author SHA1 Message Date
Xavier Ducrohet
f065b3f626 AI 146839: am: CL 146784 am: CL 146783 Update New project wizard with the less confusing "Build Target" label.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146839
2009-04-18 23:15:16 -07:00
Xavier Ducrohet
0f36a502d3 AI 146838: am: CL 146778 am: CL 146776 fix NPE in AvdManager
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146838
2009-04-18 23:12:22 -07:00
Raphael Moll
566eb7b82b AI 146836: am: CL 146771 am: CL 146770 ADT #1797369 fix error "ant windows: com.android.ant.SetupTask cannot be found"
The path in local.properties should be double-backslashed.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146836
2009-04-18 23:09:36 -07:00
Xavier Ducrohet
afb3dbd5c0 AI 146831: am: CL 146750 am: CL 146747 Add the JetCreator tools and docs to the SDK (mac/windows only).
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146831
2009-04-18 22:55:28 -07:00
Raphael Moll
a4335fbe02 AI 146829: am: CL 146744 am: CL 146720 ADT Jar Stubber: generate stubbed jar.
This also reorganizes some source so it's 90% refactoring.
  There will be more filtering to do in another CL.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146829
2009-04-18 22:50:00 -07:00
Xavier Ducrohet
b4432f4dea AI 146826: am: CL 146740 am: CL 146692 Clean up the output of "android list targets" and fix the image.sysdir.# to only be present if the image folders really contain *.img files.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146826
2009-04-18 22:41:47 -07:00
Xavier Ducrohet
20ae70599f AI 146825: am: CL 146739 am: CL 146689 Broken AVDs are now loaded by default, and we provide a way to fix one (new) type of error (wrong paths to the system image)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146825
2009-04-18 22:39:06 -07:00
Xavier Ducrohet
a3dfdef1b8 AI 146822: am: CL 146736 am: CL 146674 "Target" nomenclature fixes
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146822
2009-04-18 22:31:03 -07:00
Jean-Michel Trivi
477c7f5a52 AI 146646: am: CL 146645 am: CL 146643 Clean up and commenting of the JetBoy JET demo code:
Fixed JetPlayer initialization code and pause when the app loses focus.
  Removed mute mask hack.
  Cleaned up event ID declaration and check (event value is a byte, not a String).
  Add extensive comments for the JetPlayer code.
  Original author: jmtrivi
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146646
2009-04-18 22:17:27 -07:00
Raphael Moll
e2404ec9d7 AI 146638: am: CL 146634 am: CL 146631 ADT #1793333: fix Widget disposed in SdkTargetSelector.
This happens when you open the Windows > Prefs > Android panel
  while an SDK is initially loading or when you change the
  SDK in the pref panel. The target change listener was not
  properly removed since the field was not properly disposed.
  This also removed the multiple selection handling in the
  SdkTargetSelector, which we never use. In the unlikely event
  we want to use it later, it would be trivial to add it back.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146638
2009-04-18 22:12:06 -07:00
Raphael Moll
7ceec5e103 AI 146600: am: CL 146597 am: CL 146595 ADT #1794560: prevent from loading more than one SDK at once.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146600
2009-04-18 21:55:54 -07:00
Jeffrey Sharkey
9a77fe7c1b AI 146582: am: CL 146481 am: CL 146394 Add ExampleAppWidgetConfigure to manifest and correct update issues.
This adds widget configuration to manifest so we don't crash when trying to insert.  We also correctly push a second update once prefix title has been saved; previously we showed a stale title until next widget update.  Also return the title prefix correctly for a given appWidgetId.
  Original author: jsharkey
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146582
2009-04-18 21:31:31 -07:00
Jean-Michel Trivi
24bcc1edd9 AI 146580: am: CL 146478 am: CL 146372 Add audio assets used for the generation of the JET data that is used in the JET SDK sample "JetBoy". This includes the JetCreator project and the Logic file for the music.
Original author: jmtrivi
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146580
2009-04-18 21:26:04 -07:00
Xavier Ducrohet
17c6f4deb6 AI 146576: am: CL 146352 am: CL 146351 Fix aidl 2 issues: aidl file change for parcelable didnt trigger a recompilation. Folder creation failed if parent folder didn't exist.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146576
2009-04-18 21:17:49 -07:00
Raphael Moll
0930502ee4 AI 146570: am: CL 146336 am: CL 146335 ADT: Rework the Manifest class browser.
For ADT #1603194, it is desirable to select the Instrumentation
  Runner class from the android.jar. The class browser was filtering
  it out. The class browser has been changed like this:
  - include all source & jar package roots
  - a checkbox let the user toggle between searching only sources
  (of the project) or anything in the classpath (thus include jars.)
  The default is to include everything for the instrumentation and only
  the source for other browsers.
  Also improved a bit the filter by not iterating over the hierarchy
  and filtering out abstract classes (which was not needed before.)
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146570
2009-04-18 21:01:33 -07:00
David Turner
d3b2e5bb5e AI 146565: am: CL 146315 am: CL 146314 modify GSM emulation to accomodate 1.0 and 1.1 system images.
without this, networking doesn't work well when using the 1.1 add-on with
  the cupcake sdk
  Original author: digit
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146565
2009-04-18 20:50:39 -07:00
Raphael Moll
bc15cfa7d2 AI 146555: am: CL 146250 am: CL 146238 ADT #1761064: Properly refresh UiTreeBlock when SDK is reloaded.
The fix I did last week was just refreshing the UiRootNode
  but it turns out we need to refresh the DescriptorFilters too
  (since they are null when there's no SDK.) So the old fix was
  wrong, what we need is to generate a new tree model when the
  SDK is reloaded.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146555
2009-04-18 16:08:17 -07:00
Raphael Moll
aa4c92d8e7 AI 146554: am: CL 146249 am: CL 146237 ADT #1789339: Manifest editor now displays all extra sub-elements.
Bug description is to add support for <uses-configuration>.
  Currently the Manifest editor already supports <uses-sdk> (which is an
  element node, not an attribute) by exposing it as a manifest attribute.
  That doesn't scale. So instead just provide a tree for all <manifest>
  child elements that are not handled in other pages. Currently that
  contains uses-sdk and uses-configuration but the nice part of it is that
  it will pick up automatically any new manfiest sub elements in the future.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146554
2009-04-18 16:05:38 -07:00
Xavier Ducrohet
5540de28e2 AI 146553: am: CL 146248 am: CL 146233 Update Eclipse feature licenses to mention embedded jar files licences.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146553
2009-04-18 16:02:59 -07:00
Xavier Ducrohet
6584643ee7 AI 146552: am: CL 146247 am: CL 146229 Fix aidl error parsing (BUG #1789273)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146552
2009-04-18 16:00:05 -07:00
Mike Ritter
fd46c2cf5a AI 146546: am: CL 146204 am: CL 146203 New .jd files, modified Pdk.mk to fix doxygen </div> bug on line 25 of *-source.html files, removed extraneous SDK examples.
Original author: mritter
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146546
2009-04-18 15:46:37 -07:00
Raphael Moll
fb9412141e AI 146508: am: CL 146035 am: CL 146034 ADT #1786173: NPW should not overwritte user-customized path
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146508
2009-04-16 11:44:28 -07:00
Xavier Ducrohet
eabaca062a AI 146504: am: CL 146024 am: CL 146023 Make the add-on implement getPath for IAndroidTarget.SAMPLES (only if the add-on actually has samples) (BUG #1781751)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146504
2009-04-16 11:11:48 -07:00
Raphael Moll
75001e746c AI 146500: am: CL 145985 am: CL 145929 ADT #1781076: fix missing \n in "android delete avd"
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146500
2009-04-16 11:00:30 -07:00
Raphael Moll
9cdcde3017 AI 146498: am: CL 145983 am: CL 145911 ADT #1778786: tool to generate stubbed jar file.
This is only a preliminary CL. More will follow but this is
  a good start, with the following caveats:
  What it does:
  - take an input jar, a list of includes, a list of excludes.
  - generate actual Java source for the filtered classes.
  What it doesn't do yet:
  - some more work on filtering inner elements (methods, etc.)
  - properly generate inner classes.
  - hide synthetic fields.
  - some classes body are missing
  - directly generate a stubbed bytecode/jar rather than source.
  I'll likely want to keep the source generator for debugging
  purposes or if we want to integrate with a build system instead.
  - classpath will be changed in the final CL to refer to the external
  ASM lib rather than the project. I need the source for debugging
  rigth now.
  - will review comments before submitting.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146498
2009-04-16 10:54:10 -07:00
Xavier Ducrohet
01bd6306ac AI 146001: am: CL 145844 am: CL 145394 Fix 'android create project': it was swapping activity and package names (bug #1781137)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146001
2009-04-13 16:26:45 -07:00
Dianne Hackborn
171499090f AI 145994: Integrate #145778 from Donut.
Automated import of CL 145994
2009-04-13 16:11:52 -07:00
Xavier Ducrohet
26e6ad9c76 AI 145660: am: CL 145622 am: CL 145380 Fixes for add-on build
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145660
2009-04-09 20:46:34 -07:00
Xavier Ducrohet
687532081f AI 145529: am: CL 145520 am: CL 145229 Make the mismatch API level/minSdkVersion a warning instead of an error.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145529
2009-04-09 14:48:37 -07:00
Raphael Moll
0ed9b876f6 AI 145498: am: CL 145487 am: CL 145204 ADT #1761137: collect_sources_for_sdk.sh fails on the Mac
It's really time to let the hackish bash/sed version go away,
  especially since it's really really slow, and provide a
  better python version instead.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145498
2009-04-09 14:26:09 -07:00
Raphael Moll
aadd2c9c41 AI 145488: am: CL 145468 am: CL 145083 ADT #1777728: fix NPE when AVD list is empty
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145488
2009-04-09 14:09:37 -07:00
Yu Shan Emily Lau
d17eb0b21a AI 145469: am: CL 145444 am: CL 145062 Took out the muisc player test from the continuous build test.
Original author: yslau
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145469
2009-04-09 13:55:00 -07:00
Raphael Moll
39128f9aee AI 145419: am: CL 145402 am: CL 145004 ADT #1761064: Properly refresh manifest activity list on framework reload.
Issue: when the SDK gets (re)loaded, the uiRootNode changes
  in the UiTreeBlock. However the TreeViewer is using a
  content provider which root node was not updated. The fix is
  to make the content provider dynamically ask for the root
  node to the tree block. Instead of depending on the class
  directly, a new interface is passed for this.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145419
2009-04-09 13:09:46 -07:00
Raphael Moll
a8b79aee32 AI 145170: am: CL 145099 am: CL 144940 ADT #1722971: Fix refactoring menu contribution for Eclipse 3.3/3.4 on Linux/Mac.
The fix is that a menu contribution should redefine the menu that it is
  contributing too. In this case it seems the JDT is not yet loaded or at
  least hasn't defined the menu that we're contributing too, so we need to
  define it. This definition is extracted from the jdt.ui/plugin.xml from
  3.4 in order to define the same group names in the same order.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145170
2009-04-08 19:07:04 -07:00
Xavier Ducrohet
2ae3b8f24b AI 145169: am: CL 145098 am: CL 144938 Fix the classpath container cache for project targeting add-ons (bug #1775936).
Also renamed the container for add-ons to include the base platform name (so that at least a version is displayed).
  Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145169
2009-04-08 19:04:11 -07:00
Xavier Ducrohet
c71c173e07 AI 145166: am: CL 145097 am: CL 144935 ApiDemos contains new API, and we must force the target to cupcake.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145166
2009-04-08 19:01:04 -07:00
Xavier Ducrohet
29d2a8ded5 AI 145163: am: CL 145096 am: CL 144921 Fix add-on javadoc display in Eclipse (bug #1775744)
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145163
2009-04-08 18:57:57 -07:00
Brett Chabot
eb42174923 AI 145161: am: CL 145095 am: CL 144902 Fix default src lookup for code coverage.
Original author: brettchabot
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 145161
2009-04-08 18:55:01 -07:00
Brett Chabot
c28739a303 AI 145141: am: CL 144980 Fix runtest --coverage.
Original author: brettchabot

Automated import of CL 145141
2009-04-08 13:43:14 -07:00
Evan Millar
fb7c34758a AI 145122: am: CL 144927 Fix throttling in scripted monkeys (bug #1739843).
Original author: emillar

Automated import of CL 145122
2009-04-08 13:28:35 -07:00
David Turner
d4e48c3aa4 AI 144597: am: CL 144596 am: CL 144595 Fix the AVD configuration code to support "sdcard.path" in config.ini to indicate an explicit SD Card image file (instead of using the one in the content directory)
Note that this also fix a bug where the SD Card image was not properly locked in the previous implementation.
  Allow the http-proxy support code to actually manage to receive chunked encoding data, instead of complaining needlessly.
  Introduce a new CharBuffer object that is used indirectly by "-radio <hostdevice>" and "-gps <hostdevice>" options
  Add new documentation for QEMUD and CharDriverState objects
  Update the Audio documentation with ASCII graphics (because I'm an artist too)
  Original author: digit
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144597
2009-04-05 14:23:05 -07:00
Xavier Ducrohet
c775995df3 AI 144568: am: CL 144567 am: CL 144565 Improve the JetBoy samples
- use theme instead of window feature to remove titlebar
  - remove useless Layouts
  - Make custom view works in layout editor.
  - remove some warnings
  Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144568
2009-04-03 17:49:30 -07:00
Xavier Ducrohet
dfd26a838a AI 144542: am: CL 144539 am: CL 144533 Reformat JetBoy samples to match code style.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144542
2009-04-03 16:28:23 -07:00
Jean-Michel Trivi
cfe4476f03 AI 144511: am: CL 144510 am: CL 144509 Checking in Sonivox' JetBoy code sample. The java code still has a FIXME for cleanup and review to be done before final SDK build.
Original author: jmtrivi
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144511
2009-04-03 15:04:27 -07:00
Niko Catania
55ebbc4e1a AI 144501: am: CL 144500 Added support for some extra make arguments for some testsuite.
For instance the libstdc++ testsuite requires BIONIC_TESTS=1 to
  actually build the tests.
  * development/testrunner/test_defs.py:
  Parse the new extra_make_args attribute.
  * development/testrunner/runtest.py:
  Added support for extra make arguments. Some testsuite requires this to actually be built.
  Changed the log statement to log what is actually being done.
  * development/testrunner/test_defs.xml:
  Added extra make argument to enable the libstdc++ tests.
  Original author: niko

Automated import of CL 144501
2009-04-03 14:13:05 -07:00
Raphael Moll
085bd7bd57 AI 144491: am: CL 144489 am: CL 144487 ADT: Add "New String" refactoring to the other Resource Chooser.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144491
2009-04-03 13:37:10 -07:00
Raphael Moll
45857dfe38 AI 144490: am: CL 144488 am: CL 144486 ADT: Call the Extract String Refactoring to create a new XML String
ID when selecting a string reference.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144490
2009-04-03 13:34:00 -07:00
Xavier Ducrohet
17915d4e6d AI 144419: am: CL 144382 am: CL 144366 Activity Launcher filters out unlauncheable activity (bug #1736754)
Activities that do not have an action, or that are set to not be exported cannot be launched from 'am start...' so they should not be considered when finding an activity to launch.
  Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 144419
2009-04-02 23:52:36 -07:00
Mike Lockwood
8dc883fe46 AI 144415: am: CL 144372 Cleanup Settings support for enabling and disabling location providers:
LocationManagerService now listens for changes to settings,
  making LocationManager.updateProviders() unnecessary.
  Removed LocationManager.updateProviders()
  Added Settings.Secure.setLocationProviderEnabled(), which is a thread-safe way
  of enabling or disabling a single location provider.
  This is safer than reading, modifying and writing the LOCATION_PROVIDERS_ALLOWED directly.
  BUG=1729031
  Original author: lockwood

Automated import of CL 144415
2009-04-02 23:41:32 -07:00
Niko Catania
247286697f AI 144412: am: CL 144340 Added support to run native tests on the device.
The tests name must start with 'test_'.
  Tests should return 0 on success, 1 on failure.
  * development/testrunner/test_defs.xml:
  Added new element to represent native tests.
  * development/testrunner/test_defs.py:
  Added handling of the new <test-native> element.
  The testsuite has new IsNative method.
  TestDefinition's iterator is ordered by test names.
  Added GetDescription() method to access the optional description.
  * development/testrunner/runtest.py:
  Print the description next to the test name if applicable
  (runtest_py -l)
  Added a _RunNativeTest method to run a test on the target, report
  the status and clean up the test after the run.
  Added
  Original author: niko

Automated import of CL 144412
2009-04-02 23:33:53 -07:00