Xavier Ducrohet
98198685fd
Use the same lock for Sdk class than the one used for loading the SDK.
...
This will prevent deadlocks when launching Eclipse.
2009-06-09 15:38:45 -07:00
Xavier Ducrohet
0d33d5a5cc
Move the custom widgets for avd/targets/apk-config into internal.widgets
2009-06-09 13:49:51 -07:00
Raphael
0104d05f40
ADT: make sure to log exceptions that might happen when
...
loading the SDK.
2009-06-04 15:13:28 -07:00
Android (Google) Code Review
3c502eb060
Merge changes 2853,2885 into donut
...
* changes:
Misc updates on the Sdklib.
Export all ADT packages.
2009-06-02 11:56:59 -07:00
Xavier Ducrohet
8a0c221a20
Export all ADT packages.
2009-06-01 14:38:29 -07:00
Android (Google) Code Review
595a016713
Merge change 2771 into donut
...
* changes:
SDK Updater: parse local packages, download and install remote packages.
2009-06-01 12:04:59 -07:00
Raphael
2382dd7514
SDK Updater: parse local packages, download and install remote packages.
...
The install phase is still work in progress.
The local part needs to display descriptions.
Buttons callback are generally not implemented yet.
2009-06-01 11:38:51 -07:00
Xavier Ducrohet
3106768f31
Make CompiledResourcesMonitor#getRClassName more error proof.
2009-05-29 15:18:24 -07:00
Android (Google) Code Review
e0fbae303c
Merge change 2472 into donut
...
* changes:
ADT #1877529 : Fixes a couple potential NPEs in content assists.
2009-05-26 15:26:00 -07:00
Xavier Ducrohet
ce803ae7b9
Update some class names in plugin.xml that were not updated by the refactoring.
2009-05-26 15:09:02 -07:00
Raphael
6235bff51d
ADT #1877529 : Fixes a couple potential NPEs in content assists.
...
Can't reproduce the NPE in ContentAssist listed in the
bug. However if things go really wrong there are a couple
objects that can be null so let's be defensive about them.
2009-05-26 15:08:33 -07:00
Xavier Ducrohet
ca2281d885
Fix wrong path to externalized string file.
...
This is from the big refactoring that moved everything into internal.
2009-05-26 13:44:02 -07:00
Xavier Ducrohet
114b9b7b31
Make the ddmlib API use IDevice instead of Device
...
Device is now private. All the API is using IDevice.
Updated ddms, ADT, hierarchyviewer and other tools that relied on ddmlib.
2009-05-15 14:01:12 -07:00
Android (Google) Code Review
71f5d130f5
Merge change 1739 into donut
...
* changes:
Fix an NPE in the New Project Wizard when no test project is specified on the second NPW page.
2009-05-14 19:36:03 -07:00
Raphael
9c19555d2d
Fix an NPE in the New Project Wizard when no test project is specified
...
on the second NPW page.
2009-05-14 19:17:39 -07:00
Android (Google) Code Review
83674be98d
Merge change 1699 into donut
...
* changes:
Make IDevice#getSyncService() throws an IOException.
2009-05-14 16:00:17 -07:00
Xavier Ducrohet
2d83a425c2
Make IDevice#getSyncService() throws an IOException.
...
This lets callers differentiate between errors when connecting to adb and
errors because adb couldn't talk to the device.
2009-05-14 15:18:56 -07:00
Xavier Ducrohet
e9b9596bd6
Remove duplicate initialization in AdtPlugin.
...
The is a remnant of the old #start() method of the Editors Plugin class.
2009-05-14 13:31:11 -07:00
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
Raphael
0b62151cda
ADT #1715616 : "New Android Test Project" wizard.
...
Also updates eclipse/changes.txt
2009-05-08 14:06:44 -07:00
Raphael
1bb52f2587
Fix ADT junit test for AndroidManifestParser following API change.
2009-05-05 13:41:59 -07:00
Raphael
816ba073c6
ADT #1825491 : Provide default choices for <uses-library>
...
We currently hardcode a list in the PlatformTarget and propagate
it to the UI via the AndroidTargetParser. This way we can later
decide to actually get the info from some kind of manifest.
2009-05-04 15:37:40 -07:00
Raphael
beb3214b46
ADT #1823896 : Ability to add an "extra" action to the AVD Selector.
...
Used to display the AVD Manager from the Device Chooser/Launch config.
Used to delete AVDs from the AVD Manager.
In AVD Manager, also hide the Cancel button since actions are
immediate and not cancelable.
2009-05-01 13:58:31 -07:00
Raphael
e940a1cad7
ADT #1823896 : AVD Manager button in the AVD Selector.
...
Device chooser: avd manager callback + avd list refresh.
Device chooser: dialog title.
Device launcher tab: avd manager callaback + avd list refresh.
2009-04-30 17:14:58 -07:00
Xavier Ducrohet
7bfac3d8c7
Display the AVD manager wizard during launches where no compatible AVDs exist.
2009-04-30 14:20:33 -07:00
Android (Google) Code Review
9e2993ed2e
Merge change 770 into donut
...
* changes:
ADT 1603194: Android Package browser for Instrumentation nodes.
2009-04-30 11:59:01 -07:00
Raphael
1a93c942f0
ADT 1603194: Android Package browser for Instrumentation nodes.
2009-04-29 17:36:39 -07:00
Xavier Ducrohet
70fc6e96af
Make sure that any exception during the final packaging properly put an error marker on the project (since build failed.
2009-04-29 14:38:30 -07:00
Raphael
b7327498cb
ADT #1820114 : Provide a quick UI to edit AVD.
...
This is temporary and will be replaced once we get the standalone AVD UI.
2009-04-29 11:29:55 -07:00
Android (Google) Code Review
594999277e
Merge change 627 into donut
...
* changes:
Fix a bunch of issues related to packaging the content of libs (NPE with files with no extension, not ignoring ignorable folders). Also fixed an issue when parsing Manifest with <uses-sdk />
2009-04-28 11:02:14 -07:00
Xavier Ducrohet
1ec5e2f4bb
Move ADT to 0.9.1
2009-04-27 19:02:03 -07:00
Xavier Ducrohet
d1e88a3fcb
Fix a bunch of issues related to packaging the content of libs (NPE with files with no extension, not ignoring ignorable folders). Also fixed an issue when parsing Manifest with <uses-sdk />
2009-04-27 18:52:49 -07:00
Xavier Ducrohet
fe3af81580
Fix the opt-in window for usage stat so that it works when running from ADT.
2009-04-27 15:05:06 -07:00
Raphael
aa8c266ed0
Split development/.gitignore into separate gitignore files per project.
...
Added missing gitignore for layoutlib_utils.
Changed mkstubs build path to use prebuilt/asm-3.1 instead of asm-3.1 project.
2009-04-26 18:12:36 -07:00
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
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
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
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
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
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