Commit Graph

147 Commits

Author SHA1 Message Date
Jeff Hamilton
cb1b6e1a74 AI 147251: am: CL 147247 am: CL 147243 Make the API sample check to see if there is anything installed to handle the recognition intent.
Original author: jham
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147251
2009-04-21 15:12:09 -07:00
Raphael Moll
adf4543e57 AI 147194: am: CL 147193 am: CL 147190 Javadoc for MkStubs.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147194
2009-04-21 13:25:35 -07:00
Raphael Moll
4b989129e2 AI 147181: am: CL 147177 am: CL 147175 ADT #1801951: "adb.exe" misses the dot in android_rules.xml
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147181
2009-04-21 13:10:40 -07:00
Raphael Moll
4df53adc8d AI 147180: am: CL 147176 am: CL 147174 ADT #1801919: Make default options output a bit more friendly.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147180
2009-04-21 13:06:35 -07:00
Andy Stadler
1874be3ce7 AI 147169: am: CL 147167 am: CL 147162 Emphasize in the javadoc that the "pkg" parameters to
InstrumentationTestCase and its descendants should be the
  package manager package name (not the java package name, and
  not the test package) of the package holding the Activity
  under test.
  Added similar notations to the ApiDemos call sites.
  JAVADOC ONLY - should be safe change for cupcake sdk.
  Original author: stadler
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147169
2009-04-21 11:54:13 -07:00
Raphael Moll
4b1f6975a9 AI 147029: am: CL 147027 am: CL 147025 ADT #1795718: disable --mode in "android create project".
The alias build rules do not work and the flag wasn't even used
  by ProjectCreator anyway. Will reintroduce later.
  Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147029
2009-04-20 16:18:59 -07:00
Raphael Moll
7ab08f81a6 AI 147015: am: CL 147013 am: CL 147012 A readme describing the usage and limitations of MkStubs.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 147015
2009-04-20 15:42:50 -07:00
Xavier Ducrohet
00dfaa941a AI 146986: am: CL 146983 am: CL 146980 Fix the display of the target hash string when displaying unresolved target errors.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146986
2009-04-20 14:12:14 -07:00
Raphael Moll
4394c9b060 AI 146972: am: CL 146970 am: CL 146969 Windows SDK fixes for JetCreator
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146972
2009-04-20 13:23:51 -07:00
Xavier Ducrohet
82ac685f65 AI 146949: am: CL 146944 am: CL 146943 Move JetCreator into tools/Jet/JetCreator. Add demo content and Logic templates in tools/Jet/
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146949
2009-04-20 11:02:00 -07:00
Raphael Moll
995b5ac934 AI 146872: am: CL 146870 am: CL 146865 Final pass on stubber: properly filter fields and methods.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146872
2009-04-19 09:47:36 -07:00
Raphael Moll
9ddd8a3d73 AI 146864: am: CL 146863 am: CL 146862 Fix Windows SDK build.
Original author: raphael
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146864
2009-04-19 09:43:12 -07:00
Xavier Ducrohet
8317a67c2e AI 146848: am: CL 146847 am: CL 146845 Fix detecting "home" activities when parsing the Android Manifest
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146848
2009-04-18 23:32:15 -07:00
Xavier Ducrohet
03a7e70160 AI 146842: am: CL 146808 am: CL 146806 Make sure we check buffer length when removing escaped chars (like unicode) when parsing Value XML files.
Original author: xav
  Merged from: //branches/cupcake/...
  Original author: android-build

Automated import of CL 146842
2009-04-18 23:23:41 -07:00
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