Commit Graph

144 Commits

Author SHA1 Message Date
Raphael Moll
faffd247ee AI 147264: am: CL 147262 ADT #1761055: Pre-select node types when adding node in manifest & resource based on context
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147264
2009-04-21 15:49:49 -07:00
Jeff Hamilton
136d537b79 AI 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/...

Automated import of CL 147247
2009-04-21 15:09:35 -07:00
Raphael Moll
ee8f65c4f7 AI 147193: am: CL 147190 Javadoc for MkStubs.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147193
2009-04-21 13:22:51 -07:00
Raphael Moll
01c1ad4af5 AI 147177: am: CL 147175 ADT #1801951: "adb.exe" misses the dot in android_rules.xml
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147177
2009-04-21 13:07:50 -07:00
Raphael Moll
c23e021f02 AI 147176: am: CL 147174 ADT #1801919: Make default options output a bit more friendly.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147176
2009-04-21 13:04:49 -07:00
Andy Stadler
651794b606 AI 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/...

Automated import of CL 147167
2009-04-21 11:51:42 -07:00
Raphael Moll
a2c6807bd6 AI 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/...

Automated import of CL 147027
2009-04-20 16:15:15 -07:00
Raphael Moll
6aa2c4996b AI 147013: am: CL 147012 A readme describing the usage and limitations of MkStubs.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 147013
2009-04-20 15:41:59 -07:00
Xavier Ducrohet
1d2e8e7de7 AI 146983: am: CL 146980 Fix the display of the target hash string when displaying unresolved target errors.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146983
2009-04-20 14:11:22 -07:00
Raphael Moll
4cdf12c33e AI 146970: am: CL 146969 Windows SDK fixes for JetCreator
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146970
2009-04-20 13:22:55 -07:00
Xavier Ducrohet
1a2b2f08e2 AI 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/...

Automated import of CL 146944
2009-04-20 11:01:18 -07:00
Raphael Moll
32557b47c5 AI 146870: am: CL 146865 Final pass on stubber: properly filter fields and methods.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146870
2009-04-19 09:47:11 -07:00
Raphael Moll
00e25d419c AI 146863: am: CL 146862 Fix Windows SDK build.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146863
2009-04-19 09:42:01 -07:00
Xavier Ducrohet
a4bdb32554 AI 146847: am: CL 146845 Fix detecting "home" activities when parsing the Android Manifest
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146847
2009-04-18 12:23:40 -07:00
Xavier Ducrohet
922b7f3289 AI 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/...

Automated import of CL 146808
2009-04-18 12:15:12 -07:00
Xavier Ducrohet
2013a91fad AI 146784: am: CL 146783 Update New project wizard with the less confusing "Build Target" label.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146784
2009-04-18 12:05:57 -07:00
Xavier Ducrohet
2eeb203c31 AI 146778: am: CL 146776 fix NPE in AvdManager
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146778
2009-04-18 12:02:53 -07:00
Raphael Moll
08bb0ab656 AI 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/...

Automated import of CL 146771
2009-04-18 11:56:49 -07:00
Xavier Ducrohet
2e82cdc301 AI 146750: am: CL 146747 Add the JetCreator tools and docs to the SDK (mac/windows only).
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146750
2009-04-17 11:41:48 -07:00
Raphael Moll
323557aaf9 AI 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/...

Automated import of CL 146744
2009-04-17 11:33:07 -07:00
Xavier Ducrohet
08ceafea54 AI 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/...

Automated import of CL 146740
2009-04-17 11:21:13 -07:00
Xavier Ducrohet
62ca2ce538 AI 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/...

Automated import of CL 146739
2009-04-17 11:18:24 -07:00
Xavier Ducrohet
268c824eb1 AI 146736: am: CL 146674 "Target" nomenclature fixes
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146736
2009-04-17 11:08:12 -07:00
Jean-Michel Trivi
38d88bfb49 AI 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/...

Automated import of CL 146645
2009-04-16 16:59:25 -07:00
Raphael Moll
06803ce63d AI 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/...

Automated import of CL 146634
2009-04-16 16:02:29 -07:00
Raphael Moll
568b71576e AI 146597: am: CL 146595 ADT #1794560: prevent from loading more than one SDK at once.
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146597
2009-04-16 12:59:01 -07:00
Jeffrey Sharkey
f7f1c36f61 AI 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/...

Automated import of CL 146481
2009-04-16 12:32:29 -07:00
Jean-Michel Trivi
780ba517cf AI 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/...

Automated import of CL 146478
2009-04-16 10:46:34 -07:00
Xavier Ducrohet
5df2a49717 AI 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/...

Automated import of CL 146352
2009-04-15 11:43:56 -07:00
Raphael Moll
6ba21b98a1 AI 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/...

Automated import of CL 146336
2009-04-15 11:15:19 -07:00
David Turner
240094a972 AI 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/...

Automated import of CL 146315
2009-04-15 06:50:15 -07:00
Raphael Moll
e8d5ba4bd5 AI 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/...

Automated import of CL 146250
2009-04-14 16:57:57 -07:00
Raphael Moll
9afdd15ac6 AI 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/...

Automated import of CL 146249
2009-04-14 16:55:07 -07:00
Xavier Ducrohet
3ff0768af1 AI 146248: am: CL 146233 Update Eclipse feature licenses to mention embedded jar files licences.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146248
2009-04-14 16:52:16 -07:00
Xavier Ducrohet
666cfd70e0 AI 146247: am: CL 146229 Fix aidl error parsing (BUG #1789273)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 146247
2009-04-14 16:48:35 -07:00
Mike Ritter
843a6d8b7d AI 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/...

Automated import of CL 146204
2009-04-14 13:57:14 -07:00
Raphael Moll
6e00361920 AI 146035: am: CL 146034 ADT #1786173: NPW should not overwritte user-customized path
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 146035
2009-04-13 18:48:47 -07:00
Xavier Ducrohet
56565ee9f0 AI 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/...

Automated import of CL 146024
2009-04-13 18:40:32 -07:00
Raphael Moll
1bb311cc2f AI 145985: am: CL 145929 ADT #1781076: fix missing \n in "android delete avd"
Original author: raphael
  Merged from: //branches/cupcake/...

Automated import of CL 145985
2009-04-13 18:26:49 -07:00
Raphael Moll
1297169e09 AI 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/...

Automated import of CL 145983
2009-04-13 18:21:16 -07:00
Xavier Ducrohet
ca7264c7b7 AI 145844: am: CL 145394 Fix 'android create project': it was swapping activity and package names (bug #1781137)
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145844
2009-04-13 08:25:32 -07:00
Andy Stadler
e1a5a9bf5d AI 145778: Manual merge changes 145382-145384 from cupcake.
Automated import of CL 145778
2009-04-10 16:24:46 -07:00
Xavier Ducrohet
a3ebac2c53 AI 145622: am: CL 145380 Fixes for add-on build
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145622
2009-04-09 19:42:09 -07:00
Xavier Ducrohet
83d648605c AI 145520: am: CL 145229 Make the mismatch API level/minSdkVersion a warning instead of an error.
Original author: xav
  Merged from: //branches/cupcake/...

Automated import of CL 145520
2009-04-09 14:45:56 -07:00
Raphael Moll
7ccced6c20 AI 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/...

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

Automated import of CL 145468
2009-04-09 14:10:03 -07:00
Yu Shan Emily Lau
6ae4dd48b6 AI 145444: am: CL 145062 Took out the muisc player test from the continuous build test.
Original author: yslau
  Merged from: //branches/cupcake/...

Automated import of CL 145444
2009-04-09 13:55:20 -07:00
Raphael Moll
d4ee68f401 AI 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/...

Automated import of CL 145402
2009-04-09 13:09:46 -07:00
Raphael Moll
c3e4be85ab AI 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/...

Automated import of CL 145099
2009-04-08 13:39:28 -07:00
Xavier Ducrohet
89f2842e04 AI 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/...

Automated import of CL 145098
2009-04-08 13:36:48 -07:00