Commit Graph

125 Commits

Author SHA1 Message Date
Raphael Moll
08c6a7853a AI 147175: ADT #1801951: "adb.exe" misses the dot in android_rules.xml
BUG=1801951

Automated import of CL 147175
2009-04-21 13:04:52 -07:00
Raphael Moll
6aafcdf7c4 AI 147174: ADT #1801919: Make default options output a bit more friendly.
BUG=1801919

Automated import of CL 147174
2009-04-21 13:03:55 -07:00
Andy Stadler
fc707349cc AI 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.
  BUG=1783981

Automated import of CL 147162
2009-04-21 11:48:53 -07:00
Raphael Moll
488317422b AI 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.
  BUG=1795718

Automated import of CL 147025
2009-04-20 16:13:19 -07:00
Raphael Moll
e5497a1a71 AI 147012: A readme describing the usage and limitations of MkStubs.
BUG=1778786

Automated import of CL 147012
2009-04-20 15:40:40 -07:00
Xavier Ducrohet
ea690c2a8f AI 146980: Fix the display of the target hash string when displaying unresolved target errors.
BUG=1800971

Automated import of CL 146980
2009-04-20 14:09:05 -07:00
Raphael Moll
9d6afd51c8 AI 146969: Windows SDK fixes for JetCreator
BUG=1793093

Automated import of CL 146969
2009-04-20 13:21:23 -07:00
Xavier Ducrohet
c6a9036940 AI 146943: Move JetCreator into tools/Jet/JetCreator. Add demo content and Logic templates in tools/Jet/
BUG=1793093

Automated import of CL 146943
2009-04-20 10:59:21 -07:00
Raphael Moll
0cb5e26dab AI 146865: Final pass on stubber: properly filter fields and methods.
BUG=1778786

Automated import of CL 146865
2009-04-19 09:41:25 -07:00
Raphael Moll
b0b773fccd AI 146862: Fix Windows SDK build.
BUG=1793093

Automated import of CL 146862
2009-04-19 09:39:22 -07:00
Xavier Ducrohet
0259b7ce07 AI 146845: Fix detecting "home" activities when parsing the Android Manifest
BUG=1798186

Automated import of CL 146845
2009-04-17 17:37:23 -07:00
Xavier Ducrohet
719745bad9 AI 146806: Make sure we check buffer length when removing escaped chars (like unicode) when parsing Value XML files.
BUG=1797920

Automated import of CL 146806
2009-04-17 16:13:41 -07:00
Xavier Ducrohet
2aff1aad1d AI 146783: Update New project wizard with the less confusing "Build Target" label.
BUG=1795612

Automated import of CL 146783
2009-04-17 14:13:15 -07:00
Xavier Ducrohet
1bce95ed41 AI 146776: fix NPE in AvdManager
BUG=1791664

Automated import of CL 146776
2009-04-17 14:06:15 -07:00
Raphael Moll
546c9c9d41 AI 146770: ADT #1797369 fix error "ant windows: com.android.ant.SetupTask cannot be found"
The path in local.properties should be double-backslashed.
  BUG=1797369

Automated import of CL 146770
2009-04-17 14:01:49 -07:00
Xavier Ducrohet
bcc0b044fd AI 146747: Add the JetCreator tools and docs to the SDK (mac/windows only).
BUG=1793093

Automated import of CL 146747
2009-04-17 11:10:20 -07:00
Raphael Moll
42c230dd91 AI 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.
  BUG=1778786

Automated import of CL 146720
2009-04-17 08:00:06 -07:00
Xavier Ducrohet
5ca1e5e36b AI 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.
BUG=1795815,1791666

Automated import of CL 146692
2009-04-16 20:14:14 -07:00
Xavier Ducrohet
fd8601d289 AI 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)
BUG=1791664

Automated import of CL 146689
2009-04-16 19:32:36 -07:00
Xavier Ducrohet
1313b05655 AI 146674: "Target" nomenclature fixes
BUG=1795612

Automated import of CL 146674
2009-04-16 18:39:57 -07:00
Jean-Michel Trivi
3e58000c21 AI 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.
  BUG=1596727

Automated import of CL 146643
2009-04-16 16:56:18 -07:00
Raphael Moll
a43533117c AI 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.
  BUG=1793333

Automated import of CL 146631
2009-04-16 15:59:55 -07:00
Raphael Moll
550c75344b AI 146595: ADT #1794560: prevent from loading more than one SDK at once.
BUG=1794560

Automated import of CL 146595
2009-04-16 12:08:00 -07:00
Jeffrey Sharkey
28a20dae3e AI 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.
  BUG=1792887

Automated import of CL 146394
2009-04-15 17:15:21 -07:00
Jean-Michel Trivi
b1196f91f5 AI 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.
BUG=1596727

Automated import of CL 146372
2009-04-15 14:27:48 -07:00
Xavier Ducrohet
bc88010503 AI 146351: Fix aidl 2 issues: aidl file change for parcelable didnt trigger a recompilation. Folder creation failed if parent folder didn't exist.
BUG=1789903

Automated import of CL 146351
2009-04-15 11:42:45 -07:00
Raphael Moll
5acf706a10 AI 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.)
  BUG=1603194

Automated import of CL 146335
2009-04-15 11:14:04 -07:00
David Turner
06d14b5a6c AI 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
  BUG=1787254

Automated import of CL 146314
2009-04-15 06:49:26 -07:00
Raphael Moll
f10beab9c8 AI 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.
  BUG=1761064

Automated import of CL 146238
2009-04-14 16:14:38 -07:00
Raphael Moll
7650bff067 AI 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.
  BUG=1789339

Automated import of CL 146237
2009-04-14 16:13:37 -07:00
Xavier Ducrohet
2bd33b8f87 AI 146233: Update Eclipse feature licenses to mention embedded jar files licences.
BUG=1789489

Automated import of CL 146233
2009-04-14 16:02:51 -07:00
Xavier Ducrohet
54ed5a2f90 AI 146229: Fix aidl error parsing (BUG #1789273)
BUG=1789273

Automated import of CL 146229
2009-04-14 15:57:23 -07:00
Mike Ritter
0025ca45b6 AI 146203: New .jd files, modified Pdk.mk to fix doxygen </div> bug on line 25 of *-source.html files, removed extraneous SDK examples.
BUG=1646802

Automated import of CL 146203
2009-04-14 13:36:43 -07:00
Raphael Moll
833361cdb5 AI 146034: ADT #1786173: NPW should not overwritte user-customized path
BUG=1786173

Automated import of CL 146034
2009-04-13 17:12:59 -07:00
Xavier Ducrohet
ae600adcd5 AI 146023: Make the add-on implement getPath for IAndroidTarget.SAMPLES (only if the add-on actually has samples) (BUG #1781751)
BUG=1781751

Automated import of CL 146023
2009-04-13 16:40:06 -07:00
Raphael Moll
a2c0ebd1ed AI 145929: ADT #1781076: fix missing \n in "android delete avd"
BUG=1781076

Automated import of CL 145929
2009-04-13 14:16:10 -07:00
Raphael Moll
6c0d467cc2 AI 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.
  BUG=1778786

Automated import of CL 145911
2009-04-13 12:53:34 -07:00
Xavier Ducrohet
b20c95f355 AI 145394: Fix 'android create project': it was swapping activity and package names (bug #1781137)
BUG=1781137

Automated import of CL 145394
2009-04-09 12:55:15 -07:00
Dianne Hackborn
be5fc8d7c0 AI 145382: API review: change new media keycode names to avoid ambiguity.
Updates the key maps.  During this I noticed that the dream keymap didn't have all of the media buttons like the sapphire key map...!  So this is now changed to match.
  BUG=1779435

Automated import of CL 145382
2009-04-09 12:31:12 -07:00
Xavier Ducrohet
7215471a97 AI 145380: Fixes for add-on build
Automated import of CL 145380
2009-04-09 12:21:52 -07:00
Xavier Ducrohet
55081c290b AI 145229: Make the mismatch API level/minSdkVersion a warning instead of an error.
BUG=1779278

Automated import of CL 145229
2009-04-08 18:44:51 -07:00
Raphael Moll
a49714f9b9 AI 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.
  BUG=1761137

Automated import of CL 145204
2009-04-08 15:16:47 -07:00
Raphael Moll
931838e07e AI 145083: ADT #1777728: fix NPE when AVD list is empty
BUG=1777728

Automated import of CL 145083
2009-04-08 12:43:22 -07:00
Yu Shan Emily Lau
28ac69a6e6 AI 145062: Took out the muisc player test from the continuous build test.
BUG=1683748,1678380

Automated import of CL 145062
2009-04-08 10:14:18 -07:00
Raphael Moll
0a7d0399c6 AI 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.
  BUG=1761064

Automated import of CL 145004
2009-04-07 20:31:00 -07:00
Raphael Moll
7bfaaa8c46 AI 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.
  BUG=1722971

Automated import of CL 144940
2009-04-07 16:30:57 -07:00
Xavier Ducrohet
6778fc22a4 AI 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).
  BUG=1775936

Automated import of CL 144938
2009-04-07 16:27:46 -07:00
Xavier Ducrohet
1d0c9f3363 AI 144935: ApiDemos contains new API, and we must force the target to cupcake.
BUG=1575649

Automated import of CL 144935
2009-04-07 16:04:04 -07:00
Xavier Ducrohet
5993ade9b0 AI 144921: Fix add-on javadoc display in Eclipse (bug #1775744)
BUG=1775744

Automated import of CL 144921
2009-04-07 14:24:32 -07:00
Brett Chabot
1d8b77c7bf AI 144902: Fix default src lookup for code coverage.
Automated import of CL 144902
2009-04-07 12:48:44 -07:00