Commit Graph

100 Commits

Author SHA1 Message Date
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
David Turner
b2cd5057ed AI 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)
  BUG=1750126,1731936

Automated import of CL 144595
2009-04-05 14:23:15 -07:00
Xavier Ducrohet
57a70ad700 AI 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
  BUG=1596727

Automated import of CL 144565
2009-04-03 17:48:40 -07:00
Xavier Ducrohet
dcb36ed62d AI 144533: Reformat JetBoy samples to match code style.
BUG=1596727

Automated import of CL 144533
2009-04-03 16:23:56 -07:00
Jean-Michel Trivi
e7837ffa1f AI 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.
BUG=1596727

Automated import of CL 144509
2009-04-03 15:01:10 -07:00
Raphael Moll
d7c946dcef AI 144487: ADT: Add "New String" refactoring to the other Resource Chooser.
BUG=1722971

Automated import of CL 144487
2009-04-03 13:33:43 -07:00
Raphael Moll
bc659bb756 AI 144486: ADT: Call the Extract String Refactoring to create a new XML String
ID when selecting a string reference.
  BUG=1722971

Automated import of CL 144486
2009-04-03 13:32:32 -07:00
Xavier Ducrohet
01cdf8fe24 AI 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.
  BUG=1736754

Automated import of CL 144366
2009-04-02 21:44:15 -07:00
Eric Fischer
d1bc5b4177 AI 144355: Automated g4 rollback of changelist 144335.
*** Reason for rollback ***
  Roll back US Spanish import because it made the build too big.
  *** Original change description ***
  Import US Spanish translations, and a few Japanese changes.

Automated import of CL 144355
2009-04-02 21:42:02 -07:00
Eric Fischer
c203e21123 AI 144335: Import US Spanish translations, and a few Japanese changes.
Automated import of CL 144335
2009-04-02 16:39:19 -07:00
Brett Chabot
979e0dc0c5 AI 144320: ADT: Fix debugger launch connection when debugging Android JUnit
BUG=1753089

Automated import of CL 144320
2009-04-02 15:36:04 -07:00
Raphael Moll
b41d8daf77 AI 144283: ADT: Enhance Resource Chooser with ability to create new XML strings.
That's a first pass. There's a fair bit of refactoring
  involved, so it's split in two CLs. Next CL will add more
  functionality.
  BUG=1722971

Automated import of CL 144283
2009-04-02 13:42:29 -07:00
Brett Chabot
ad41d46aa3 AI 144260: Add constant for test file name in runtest.
Automated import of CL 144260
2009-04-02 11:50:35 -07:00
Xavier Ducrohet
a248b46de4 AI 144252: Reload AVDs when displaying the run/debug launch dialog (bug #1683892)
BUG=1683892

Automated import of CL 144252
2009-04-02 11:32:07 -07:00
Mike Ritter
dfa5494492 AI 144164: Adding droiddocs/javadocs usage to Pdk-docs to get correct style.
BUG=1646802

Automated import of CL 144164
2009-04-01 17:30:12 -07:00
Raphael Moll
8a2dece67d AI 144048: ADT #1743364: Uncomment the system resource chooser code.
Rationale: we want to keep that code around, so we need to compile
  it to make sure it doesn't use obsoleted APIs. That does it.
  BUG=1743364

Automated import of CL 144048
2009-04-01 12:29:32 -07:00
Brett Chabot
09f36bfffb AI 143917: ADT Android JUnit: Change logic to provide an explicit project or package to run to the device InstrumentationTestRunner, instead of providing the potentially huge list of test classes. Discontinue support for running all tests in a source folder.
BUG=1749513

Automated import of CL 143917
2009-03-31 19:13:57 -07:00
Raphael Moll
0f25507fb0 AI 143882: ADT #1743364: Refactor misc UI widgets together in package adt.ui.
BUG=1743364

Automated import of CL 143882
2009-03-31 17:22:27 -07:00
Raphael Moll
c01f497ad9 AI 143881: AVD #1703143: delete AVDs not loaded correctly.
This covers the case where an AVD has an invalid target
  or is missing its AVD folder or the config.ini in it.
  Made some cosmetic cleanup too.
  BUG=1703143

Automated import of CL 143881
2009-03-31 17:21:21 -07:00
Raphael Moll
058dad6d77 AI 143876: Include hprof-conv in SDK (bug #1640225)
BUG=1640225

Automated import of CL 143876
2009-03-31 17:16:46 -07:00
Jeffrey Sharkey
e64360f76a AI 143864: Fix SDK example to correctly pass back newly-configured appWidgetId.
BUG=1725041

Automated import of CL 143864
2009-03-31 16:55:19 -07:00
Brett Chabot
a1ca267d26 AI 143765: Rename tests.xml to test_defs.xml
BUG=1746304

Automated import of CL 143765
2009-03-31 13:35:13 -07:00
Raphael Moll
e529390a9c AI 143754: SdkManager: list unknown AVDs and why they didn't load.
BUG=1703143

Automated import of CL 143754
2009-03-31 12:39:09 -07:00
Yu Shan Emily Lau
1a43129cfa AI 143596: Removed all the obsoleted media related functional test suite. (incl, very old meidaProvider,
RingToneSettings and the flaky Music Player test.
  BUG=1683748,1678380

Automated import of CL 143596
2009-03-30 21:14:52 -07:00
Brett Chabot
f7dd570dec AI 143562: Usability fixes for runtest.py
BUG=1743678

Automated import of CL 143562
2009-03-30 17:00:24 -07:00
Xavier Ducrohet
9738144670 AI 143499: Fix the icon for the JUnit launch shortcut
BUG=866690

Automated import of CL 143499
2009-03-30 12:31:27 -07:00