Commit Graph

445 Commits

Author SHA1 Message Date
Xavier Ducrohet
c15ed2d771 Fix a double issue regarding interrupted builds due to pre-existing errors.
First, the ApkBuilder didn't cancel its run if the project had markers from JDT.
Second, the try/catch on ApkBuilder#build didn't properly test the
CoreException status severity (used getCode instead of getSeverity), so it did
not detect cancels being thrown by #abortOnBadSetup and displayed the error
in the console instead.
2009-05-13 18:03:14 -07:00
Xavier Ducrohet
20d4ecf2d7 ADT: remove an obsolete import from the manifest. 2009-05-13 17:41:07 -07:00
Xavier Ducrohet
770dfc5ed4 ADT: Refactoring classes dealing with android resources out of the editor.
Basically:
editors.resources.manager -> resources.manager
editors.resources.configurations -> resources.configurations

This is to make it less confusing between the "Resources editors" and the
class parsing/handling Android resources (either in a project or in the
framework).
Also moved the ResourceExplorerView out of the resources editors, and clean
up a few other misc classes.
2009-05-13 17:36:25 -07:00
Xavier Ducrohet
5bb7e1e0cd ADT: Move more packages into internal:
editors -> adt.internal.editors.

This also marks the final refactoring of combining previous editors/common
plugin under the adt package.
2009-05-13 17:23:00 -07:00
Xavier Ducrohet
9ed226af6a ADT: Move more packages into internal.
common.project -> adt.internal.project
adt.resources -> adt.internal.resources
adt.wizards.* -> adt.internal.wizards
adt.ui -> adt.internal.ui
2009-05-13 17:13:15 -07:00
Xavier Ducrohet
4cc22e5ebf ADT: Move more packages into internal
project.*
refactorings.*

Also: moved the export wizard from project.export to wizards.export, moved some
actions out of project into the new internal package actions.
2009-05-13 17:03:26 -07:00
Xavier Ducrohet
f127736264 ADT: Remove StreamHelper and integrate it in AdtPlugin.
StreamHelper was used before by AdtPlugin, DdmsPlugin and EditorsPlugin. It's now
only used by AdtPlugin, so the only 2 methods in it can go in AdtPlugin.
I merged the externalized string in the messages.properties file used by AdtPlugin.
2009-05-13 16:46:31 -07:00
Xavier Ducrohet
9eedccd52c Moved more ADT packages into internal.
adt.build
adt.launch.*
adt.preferences

Also started combining adt and common.
2009-05-13 16:37:55 -07:00
Xavier Ducrohet
2c83a9f10c Update ADT to use the refactored sdklib from previous patch. 2009-05-13 15:10:20 -07:00
Android (Google) Code Review
4b20aab799 Merge change 1571 into donut
* changes:
  Move some classes that have non ready APIs to internal packages
2009-05-13 15:04:17 -07:00
Xavier Ducrohet
68d017af64 Move some classes that have non ready APIs to internal packages
- com.android.sdklib.avd -> com.android.sdklib.internal.avd
- com.android.sdklib.project -> com.android.sdklib.internal.project
2009-05-13 15:00:01 -07:00
Gaurav Mathur
0910170f4a am c331aeb: AI 148799: New TOC for PDK -- should be less cluttered and u
Merge commit 'c331aeb8d65805a3a1129ecdea62567b6c7bb24b' into donut

* commit 'c331aeb8d65805a3a1129ecdea62567b6c7bb24b':
  AI 148799: New TOC for PDK -- should be less cluttered and uses folding to better
2009-05-13 13:57:23 -07:00
Gaurav Mathur
c331aeb8d6 AI 148799: New TOC for PDK -- should be less cluttered and uses folding to better
organize

Automated import of CL 148799
2009-05-13 13:53:51 -07:00
Jack Palevich
2f655fb365 am 24a8fe8: AI 148797: Back-port the new version of the Grid.java from D
Merge commit '24a8fe82dffacdfe2fab9d007b2a6538b5f511bc' into donut

* commit '24a8fe82dffacdfe2fab9d007b2a6538b5f511bc':
  AI 148797: Back-port the new version of the Grid.java from Donut.
2009-05-13 13:00:15 -07:00
Jack Palevich
24a8fe82df AI 148797: Back-port the new version of the Grid.java from Donut.
This new version uses "direct" java.nio.Buffer objects, which avoids a potential
  crash that may occur when "indirect" java.nio.Buffer objects are used.
  BUG=1849855

Automated import of CL 148797
2009-05-13 12:56:48 -07:00
David Warren
0687271a18 am 0355976: AI 148793: Integrating publicly posted Bluetooth content.
Merge commit '0355976f628857b2675377fa4f2de12b3b5a44aa' into donut

* commit '0355976f628857b2675377fa4f2de12b3b5a44aa':
  AI 148793: Integrating publicly posted Bluetooth content.
2009-05-13 12:09:32 -07:00
David Warren
7591406c35 am eb98133: AI 148792: 3 new pages: customization, early_suspend, and wa
Merge commit 'eb98133b0f66cca46ea2b8f54479fb745ddc478a' into donut

* commit 'eb98133b0f66cca46ea2b8f54479fb745ddc478a':
  AI 148792: 3 new pages: customization, early_suspend, and wakelock.
2009-05-13 12:09:32 -07:00
David Warren
0355976f62 AI 148793: Integrating publicly posted Bluetooth content.
Automated import of CL 148793
2009-05-13 12:02:27 -07:00
David Warren
eb98133b0f AI 148792: 3 new pages: customization, early_suspend, and wakelock.
Automated import of CL 148792
2009-05-13 12:00:07 -07:00
David Warren
5abeea833d am b755508: AI 148763: Adding STK to PDK.
Merge commit 'b755508480b626ab038e20259171c45af021b785' into donut

* commit 'b755508480b626ab038e20259171c45af021b785':
  AI 148763: Adding STK to PDK.
2009-05-12 18:49:38 -07:00
Xavier Ducrohet
03fd223a4d Remove the PlatformLibrary
This sample is not an application sample, but a framework sample.
It is moved to vendor/sample. A new "sample" vendor that will show how to create Android-based device
2009-05-12 17:55:35 -07:00
David Warren
b755508480 AI 148763: Adding STK to PDK.
Automated import of CL 148763
2009-05-12 15:44:40 -07:00
Android (Google) Code Review
e667fca809 Merge change 1392 into donut
* changes:
  Fixed bugs in the media player api demo application - release the MediaPlayer object when onPause - use onVideoSizeChanged listener to make sure that correct video size is known before starting playback
2009-05-11 18:35:42 -07:00
Android (Google) Code Review
bba5ffb847 Merge change 1347 into donut
* changes:
  Add a new program for checking the correctness of the computed stack from a trace.
2009-05-11 18:00:42 -07:00
Android (Google) Code Review
e14d320465 Merge change 1346 into donut
* changes:
  Better output for viewing the method trace.
2009-05-11 18:00:23 -07:00
Jack Veenstra
f55a4d1e9d Add a new program for checking the correctness of the computed stack from a trace.
The check_stack program checks that the generated stack that includes both
native functions and Java methods (generated from the emulator instruction
trace plus the method trace) is consistent with the stack of Java methods
that is computed from the method trace alone. (The method trace is
generated by the Dalvik interpreter).
2009-05-11 17:44:32 -07:00
Android (Google) Code Review
6b56383a3a Merge changes 1344,1345 into donut
* changes:
  Fix the tracing code that keeps track of the Java method stack.
  Add a "-d time" option to stack_dump to dump the stack at the given time.
2009-05-11 17:28:21 -07:00
Jack Veenstra
447a4e4fd6 Better output for viewing the method trace.
This now keeps track of the names of the methods on the stack instead
of just the addresses.  This makes it easier to debug when something goes
wrong.
2009-05-11 17:18:08 -07:00
Jack Veenstra
1298570eb8 Fix the tracing code that keeps track of the Java method stack.
This fixes a bug that was causing a "stack overflow" because it sometimes
wasn't popping off a Java method when it should have.  I also changed the
showStack() method so that instead of always printing to stderr, you can
pass in a FILE* object to print to.
2009-05-11 16:46:48 -07:00
Android (Google) Code Review
2822ae3711 Merge change 1343 into donut
* changes:
  Fix compiler warnings by changing "char*" to "const char*".
2009-05-11 15:13:07 -07:00
Xavier Ducrohet
60b2fc90b7 Update the NDK packaging script to generate zip archives for all platforms. 2009-05-11 13:58:02 -07:00
James Dong
bf4d838a88 Fixed bugs in the media player api demo application
- release the MediaPlayer object when onPause
- use onVideoSizeChanged listener to make sure that correct video size is known before starting playback
2009-05-11 13:51:43 -07:00
Android (Google) Code Review
ebcb72611b Merge change 1361 into donut
* changes:
  Remove hard-coded path to my home directory in build/tools/make-release.sh. Now you need to use the --prebuilt-path=<path> option to specify where to pick up the prebuilt toolchain tarballs instead, for example:
2009-05-11 11:54:41 -07:00
Android (Google) Code Review
3be3c99657 Merge change 1360 into donut
* changes:
  remove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES)
2009-05-11 11:33:21 -07:00
Android (Google) Code Review
37fa8d40fc Merge change 1359 into donut
* changes:
  Remove references to 'cupcake' in all of NDK (replace with 'android-1.5')
2009-05-11 11:32:53 -07:00
David 'Digit' Turner
b25cd5fb97 remove documentation for unsupported variable (LOCAL_STATIC_WHOLE_LIBRARIES) 2009-05-11 17:23:10 +02:00
David 'Digit' Turner
56266b2d59 Remove hard-coded path to my home directory in build/tools/make-release.sh.
Now you need to use the --prebuilt-path=<path> option to specify where to pick up
the prebuilt toolchain tarballs instead, for example:

   build/tools/make-release.sh --prebuilt-path=/home/digit/android/ndk

Add also some other options to change the package prefix / release number / etc
2009-05-11 17:20:26 +02:00
David 'Digit' Turner
b20725d4a0 Remove references to 'cupcake' in all of NDK (replace with 'android-1.5') 2009-05-11 16:37:42 +02:00
David 'Digit' Turner
a07dedea97 Add docs/LICENSES.TXT which indicates where to find the toolchain sources, as well as the GPL/LGPL text files.
Note: the prebuilt binary packages used by "make-release.sh" have
been updated to include the COPYING and COPYING.LIB files.

After this patch is commited, you should be able to run "make-release.sh"
to re-generate release packages that contain docs/LICENSES.TXT as well as COPYING and COPYING.LIB
2009-05-10 01:05:25 +02:00
Jack Veenstra
ad6f253016 Add a "-d time" option to stack_dump to dump the stack at the given time. 2009-05-09 11:44:53 -07:00
Jack Veenstra
166d76cf4c Fix compiler warnings by changing "char*" to "const char*". 2009-05-09 11:33:44 -07:00
Xavier Ducrohet
3d25a3b264 More Clean up in the NDK Overview doc 2009-05-08 17:47:46 -07:00
Xavier Ducrohet
ba1aad8339 Remove unwanted comments in the NDK Overview doc. 2009-05-08 17:36:51 -07:00
Xavier Ducrohet
ad73286470 Fix source download location 2009-05-08 17:31:55 -07:00
Android (Google) Code Review
010c2ee6b8 Merge change 1307 into donut
* changes:
  Remove the ROADMAP NDK file as it shouldn't be packaged with the NDK
2009-05-08 17:24:44 -07:00
Xavier Ducrohet
5b6da2b185 Remove the ROADMAP NDK file as it shouldn't be packaged with the NDK 2009-05-08 17:21:58 -07:00
Android (Google) Code Review
9f6a426453 Merge change 1237 into donut
* changes:
  ADT #1715616: "New Android Test Project" wizard.
2009-05-08 16:43:03 -07:00
Raphael
0b62151cda ADT #1715616: "New Android Test Project" wizard.
Also updates eclipse/changes.txt
2009-05-08 14:06:44 -07:00
Android (Google) Code Review
9cd49a4416 Merge change 1160 into donut
* changes:
  Add ability to specify relative class paths when using runtest -c
2009-05-08 11:30:54 -07:00
Xavier Ducrohet
1f012b193f Fix the host setup script to work on mac 2009-05-07 19:00:00 -07:00