summaryrefslogtreecommitdiffstats
path: root/tools
Commit message (Collapse)AuthorAgeFilesLines
* Add "Dump HPROF file" to DDMS/DDMS pluginXavier Ducrohet2009-09-0112-57/+455
| | | | | | | | | | | | | | | | | | | This uses the (new in cupcake) VM command through JDWP. Older VMs are detected through the (also new) 'FEAT' command that notifies which features the VM supports. The hprof file is right now saved in /sdcard. Due to donut+ apps not having the SD Card permission by default, we may need to change this in the (near) future. Upon completion of the dump by the VM, DDMS will give the user a file selector to choose a place to save the file on the host machine. Future improvements: run (our own) hat, or hprof-conv and a standard hprof tool (Eclipse MAT integration for instance). This should be configurable by the user. Change-Id: I33696b0263e3d0788ad5d90cedf3cd17393d2f9b
* DDMS now queries the VM for its features.Xavier Ducrohet2009-08-314-21/+72
| | | | | | | This is a first step to support method profiling on/off and hprof dump from DDMS. Change-Id: Id95767b458a8405a31bcbe295bb969597f0e6e03
* ADT: GraphicalEditorPart is the new GLE2.Raphael2009-08-279-202/+1330
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | This CL represents the base for the new "Graphical Editor Part". First, GLE2 has been renamed in GraphicalEditorPart. That's the final name, I swear I won't change it again (until next month that is.) The editor part has 3 composites: the top ConfigConfiguration (same as usual, reused as-is), a new PaletteComposite and a new LayoutCanavas. This last one displays the rendering image and will deal with interactivity. The LayoutCanvas is actually stacked with a label which displays the rendering error. After a rendering, either the error or the canvas is visible, depending on the success of the operation. That would make it easier to have a different mechanism, for example the error could be next to the last known rendering, they don't have to be mutually exclusive. It is worth noting that GraphicalEditorPart is 95% similar to the GLE1, reusing all the glue code that we had to handle layout requestes, refresh requests, sdk/framework load listeners, configuration and file input changes, etc. Both PaletteComposite and LayoutCanvas are currently embryonic at best, just to make sure the editor part is structured correctly. Change-Id: I36c2ae4d85a68e68a349adc63a718f06375e12c5
* Make ApkBuilder create filenames supported by older rules.Xavier Ducrohet2009-08-263-20/+31
| | | | | | | | | | | | | | 'ant install' must know the debug apk filename so newer naming scheme breaks on older rule files (1.5 and earlier). The fix is to check for the presence of the property naming the debug, signed, unaligned package. If the property is present, then we use the new naming scheme ({base}[-{config}]-debug-unaligned.apk), else we use the old one ({base}-[-{config}]-debug.apk). Also merge the install/reinstall targets, since 'adb install -r <file>' works even if the apk was not yet installed. Change-Id: Id0670610a6539a3f48c955756955f950039c3cd0
* am 3a92963b: Merge change 22652 into donutXavier Ducrohet2009-08-264-0/+16
|\ | | | | | | | | | | | | Merge commit '3a92963bf3865330e89b3e7a66b66dd9cfc8792b' into eclair * commit '3a92963bf3865330e89b3e7a66b66dd9cfc8792b': Cleanup SDK packaging: remove alias build files.
| * Merge change 22652 into donutAndroid (Google) Code Review2009-08-264-0/+16
| |\ | | | | | | | | | | | | * changes: Cleanup SDK packaging: remove alias build files.
| | * Cleanup SDK packaging: remove alias build files.Xavier Ducrohet2009-08-264-0/+16
| | |
| * | Make ApkBuilder create filenames supported by older rules.Xavier Ducrohet2009-08-262-18/+28
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | 'ant install' must know the debug apk filename so newer naming scheme breaks on older rule files (1.5 and earlier). The fix is to check for the presence of the property naming the debug, signed, unaligned package. If the property is present, then we use the new naming scheme ({base}[-{config}]-debug-unaligned.apk), else we use the old one ({base}-[-{config}]-debug.apk). Also merge the install/reinstall targets, since 'adb install -r <file>' works even if the apk was not yet installed. DO NOT MERGE
* | Make sure older rules files can find the SDK Location.Xavier Ducrohet2009-08-251-1/+6
| | | | | | | | Change-Id: Idb2463f07c233015927181e79955ae71e10dcb19
* | Merge change 22697 into eclairAndroid (Google) Code Review2009-08-251-2/+8
|\ \ | | | | | | | | | | | | * changes: Ant clean target added
| * | Ant clean target addedPiotr Gurgul2009-08-251-2/+8
| | | | | | | | | | | | Removes output files created by other targets.
* | | Move from arbitrary resource filters to fix onesXavier Ducrohet2009-08-2511-632/+245
|/ / | | | | | | | | | | | | | | | | | | Resource filters are used when generating additional APK containing only specific resources. The previous UI allowed for any type of filters, but we are moving to a simpler way with fixed filters. The first one is the density. Selecting the filter will generate 4 APKs per application: default (all resources), hdpi (only hdpi/nodpi and default resources), mdpi, ldpi.
* | Merge change 22676 into eclairAndroid (Google) Code Review2009-08-252-5/+27
|\ \ | | | | | | | | | | | | * changes: Ant properties names legacy support
| * | Ant properties names legacy supportPiotr Gurgul2009-08-252-5/+27
| | | | | | | | | | | | | | | Support for old property names in SetupTask.java, in order to maintain compatibility with Donut and earlier.
* | | ADT: Fix some potential NPE in the configuration composite.Raphael2009-08-251-10/+20
| | | | | | | | | | | | | | | | | | | | | This is just based on Eclipse static analysis of potential null pointers. It doesn't mean we were ever going to have any NPE there. Change-Id: I2a326048d2eb6afff7598f9300f48e35495ff3c2
* | | ADT: Tag classes with "@since GLE1"Raphael2009-08-2520-146/+186
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a @since GLE1 to all classes involved in the current GLE and a @since GLE2 to the new classes. The idea is that both classes are going to be mixed in the same packages and it will help later to remove the old GLE by just searching for this specific tag. The alternative would be to move the classes in a sub-package layout.gle1 vs layout.gle2, but that seems unecessary. Change-Id: I577cd81819db4c6e0209ebbd910a393fc2182619
* | | Merge change 22555 into eclairAndroid (Google) Code Review2009-08-255-141/+317
|\ \ \ | |/ / |/| | | | | | | | * changes: ADT: Skeleton for GLE2.
| * | ADT: Skeleton for GLE2.Raphael2009-08-245-141/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This refactors the GLE base class into an interface, to make it possible to not depend on GEF at all. The GLE2 editor part displays and does nothing. It's just an empty shell. To enable, setenv USE_GLE2 to anything. Unset to remove it. Change-Id: I7a95b4a1a5a8ddf5a3f18acf7a04b1f9b3439655
* | | Alias rules properties names updatePiotr Gurgul2009-08-252-16/+16
| | | | | | | | | | | | | | | | | | | | | | | | android-tools change to android.tools.dir sdk-folder to sdk.dir resource-dir to resource.dir out-package to out.package Some minor style changes introduced.
* | | Ant properties names changedPiotr Gurgul2009-08-244-39/+39
|/ / | | | | | | | | | | | | | | | | | | | | application-package to application.package sdk-location to sdk.dir android-jar to android.jar android-aidl to android.aidl in order to make their names compliant with the ant standards and rest of the property names. Properties names in alias rules deliberately ommited in this CL. Some minor style changes introduced.
* | Updated build.xml templatePiotr Gurgul2009-08-221-9/+9
| | | | | | | | | | build.template file has been updated to make it up-to-date with new android_rules.xml file. Besides, some minor style changes have been introduced.
* | Refactoring of android_rules.xml filePiotr Gurgul2009-08-221-111/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This is a new CL because of merge conflict in the old one. Naming changed to 'property.name' style for property names. Property 'value' attributes changed to 'location' for props containing location. Suffix '.dir' added to properties' names indicating directories. '-description' prefix added to intermediate/internal targets. '*.location' properties removed, as 'location' attribute should take care of full paths, adding $basedir implicitly, so hopefully there is no need to define them explicitly. External property names (taken from other files or hardcoded somewhere) stayed untouched in this CL. Some minor improvements to comments in order to make them more consistent.
* | am e95a86cf: Merge change 22346 into donutXavier Ducrohet2009-08-221-0/+3
|\| | | | | | | | | | | | | Merge commit 'e95a86cfec18836ddbff149690a13766bfc9ada3' into eclair * commit 'e95a86cfec18836ddbff149690a13766bfc9ada3': Fix target for ApiDemos (API is now 4)
| * Fix target for ApiDemos (API is now 4)Xavier Ducrohet2009-08-211-0/+3
| | | | | | | | Also add some progress output to the ant rules.
* | Device hardware profile for config selector in GLEXavier Ducrohet2009-08-2112-784/+407
| | | | | | | | | | | | | | | | | | - Built-in device list for now - Config selector in GLE is changed to only have - MCC/MNC - Locale - Device List - Device config.
* | Add basic support for full height rendering.Xavier Ducrohet2009-08-211-8/+17
| |
* | am c7d0cec7: Merge change 22040 into donutXavier Ducrohet2009-08-191-1/+1
|\| | | | | | | | | | | | | Merge commit 'c7d0cec7e83d5194c35e88b17d3acc937fa87511' into eclair * commit 'c7d0cec7e83d5194c35e88b17d3acc937fa87511': Fix broken XML generated during "Extract string"
| * Merge change 22040 into donutAndroid (Google) Code Review2009-08-191-1/+1
| |\ | | | | | | | | | | | | * changes: Fix broken XML generated during "Extract string"
| | * Fix broken XML generated during "Extract string"Xavier Ducrohet2009-08-191-1/+1
| | | | | | | | | | | | BUG: 2066455
* | | Move ConfigComposite in its own package.Xavier Ducrohet2009-08-192-74/+80
| | |
* | | Refactor Config UI out of Layout Editor.Xavier Ducrohet2009-08-192-1148/+1303
| | |
* | | am a457ef41: Merge change 21988 into donutXavier Ducrohet2009-08-191-13/+41
|\| | | | | | | | | | | | | | | | | | | | Merge commit 'a457ef41e82b67a31a06f6ffb602cd39c43a1018' into eclair * commit 'a457ef41e82b67a31a06f6ffb602cd39c43a1018': Add OS version to ping service (win/mac only)
| * | Merge change 21988 into donutAndroid (Google) Code Review2009-08-191-13/+41
| |\ \ | | | | | | | | | | | | | | | | * changes: Add OS version to ping service (win/mac only)
| | * | Add OS version to ping service (win/mac only)Xavier Ducrohet2009-08-191-13/+41
| | |/
* | | Update some version number for Eclair SDK.Xavier Ducrohet2009-08-1810-14/+17
| | |
* | | am d271d9a5: Merge change 21763 into donutRamanan Rajeswaran2009-08-181-5/+9
|\| | | | | | | | | | | | | | | | | | | | Merge commit 'd271d9a503b181b240250ce2664ff22fbf4e763b' into eclair * commit 'd271d9a503b181b240250ce2664ff22fbf4e763b': Enable adb forwarding and starting up of monkey server
| * | Merge change 21763 into donutAndroid (Google) Code Review2009-08-181-5/+9
| |\ \ | | |/ | |/| | | | | | | * changes: Enable adb forwarding and starting up of monkey server
| | * Enable adb forwarding and starting up of monkey serverRamanan Rajeswaran2009-08-181-5/+9
| | |
* | | am 9a7b2700: Merge change 21645 into donutXavier Ducrohet2009-08-181-0/+3
|\| | | | | | | | | | | | | | | | | | | | Merge commit '9a7b2700fd015252f59a25524f8f6231f9bb1fc4' into eclair * commit '9a7b2700fd015252f59a25524f8f6231f9bb1fc4': Make SSL error a bit more human readable.
| * | Merge change 21645 into donutAndroid (Google) Code Review2009-08-181-0/+3
| |\ \ | | | | | | | | | | | | | | | | * changes: Make SSL error a bit more human readable.
| | * | Make SSL error a bit more human readable.Xavier Ducrohet2009-08-171-0/+3
| | | |
* | | | am b172b1a5: Merge change 21617 into donutXavier Ducrohet2009-08-185-116/+262
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | Merge commit 'b172b1a5b041394cfdfc11bdadb10ef051f86c08' into eclair * commit 'b172b1a5b041394cfdfc11bdadb10ef051f86c08': ADT Export wizard now calls ZipAlign
| * | | Merge change 21617 into donutAndroid (Google) Code Review2009-08-175-116/+262
| |\ \ \ | | |/ / | |/| | | | | | | | | | * changes: ADT Export wizard now calls ZipAlign
| | * | ADT Export wizard now calls ZipAlignXavier Ducrohet2009-08-175-116/+262
| | |/
* | | am b19a49d1: Merge change 21445 into donutRaphael2009-08-186-16/+378
|\| | | | | | | | | | | | | | | | | | | | Merge commit 'b19a49d1e6214df73d71db5a2341b67760cfdc6a' into eclair * commit 'b19a49d1e6214df73d71db5a2341b67760cfdc6a': SDK Updater, restart ADB after updating tool/addon package.
| * | SDK Updater, restart ADB after updating tool/addon package.Raphael2009-08-176-16/+378
| |/ | | | | | | | | | | There's a new setting for this too. BUG 1922590
* | am ecc1a3d0: Merge change 21463 into donutRaphael2009-08-1810-51/+86
|\| | | | | | | | | | | | | Merge commit 'ecc1a3d0cf3af3dbbf4c190e1060fc1c0f8fb8a6' into eclair * commit 'ecc1a3d0cf3af3dbbf4c190e1060fc1c0f8fb8a6': BUG 1922588: SDK Updater, Needs better license display
| * Merge change 21463 into donutAndroid (Google) Code Review2009-08-1710-51/+86
| |\ | | | | | | | | | | | | * changes: BUG 1922588: SDK Updater, Needs better license display
| | * BUG 1922588: SDK Updater, Needs better license displayRaphael2009-08-1610-51/+86
| | |
* | | am 5aa76327: Add monkeyrunner to code baseRamanan Rajeswaran2009-08-189-0/+908
|\| | | | | | | | | | | | | | | | | | | | Merge commit '5aa76327f5292ce1d1d23e96381b93c0272e4a2c' into eclair * commit '5aa76327f5292ce1d1d23e96381b93c0272e4a2c': Add monkeyrunner to code base