Commit Graph

2052 Commits

Author SHA1 Message Date
Raphael
fc033f2836 ADT GLE: support multiple selection and alternate selection.
Change-Id: Ia7ce5fb2365898fdcae73eacbaf6d08b091d7586
2009-09-09 23:53:01 -07:00
Piotr Gurgul
4a98bd0286 am f4c4102c: Merge change 23594 into eclair
Merge commit 'f4c4102ca9ee50b4dc157af752200a2df8c50a7b' into eclair-plus-aosp

* commit 'f4c4102ca9ee50b4dc157af752200a2df8c50a7b':
  Add ant-based code coverage support to Android SDK
2009-09-09 19:11:35 -07:00
Android (Google) Code Review
f4c4102ca9 Merge change 23594 into eclair
* changes:
  Add ant-based code coverage support to Android SDK
2009-09-09 22:00:52 -04:00
Piotr Gurgul
6edb5a108e Add ant-based code coverage support to Android SDK
Target 'run-tests' launches all the unit tests against the tested project.
Target 'coverage' emma-instruments the tested project's classes,
runs the tests against instrumented classes, collects code coverage data
and extracts it to human-readable form as report.html.
android_test_rules.xml contain additional rules for test projects.
Test projects are auto-recognized by presence of the tested.project.dir
property, which will be auto-generated for tests projects. Temporarily,
please add this property manually to the build.properties file.
Current version is mainly tested with default, android generated test projects.
This version includes also fixing relative to absolute paths for
properties which are most likely to be changed by user in external
property file.
2009-09-09 18:32:03 -07:00
Xavier Ducrohet
e17ff22563 Support for hardware.ini per skin in add-ons.
Change-Id: Iab230f09504a7df34faa6a27c121a79ef1ffd603
2009-09-09 16:25:44 -07:00
Debajit Ghosh
8fdcde0f12 am e8bb54b5: Merge change 23595 into eclair
Merge commit 'e8bb54b5b79816b43d9d1652d3dac9dc7b3d7e2d' into eclair-plus-aosp

* commit 'e8bb54b5b79816b43d9d1652d3dac9dc7b3d7e2d':
  fixing NPE that i see on my Mac when running idegen.sh
2009-09-09 15:51:41 -07:00
Android (Google) Code Review
e8bb54b5b7 Merge change 23595 into eclair
* changes:
  fixing NPE that i see on my Mac when running idegen.sh
2009-09-09 18:42:18 -04:00
Xavier Ducrohet
7e4abfc52b am 171125f6: Add preferences to DDMS (plug-in/standalone) for adb time out.
Merge commit '171125f67834d992db9a45eb35775d2b87b9b189' into eclair-plus-aosp

* commit '171125f67834d992db9a45eb35775d2b87b9b189':
  Add preferences to DDMS (plug-in/standalone) for adb time out.
2009-09-08 15:43:50 -07:00
Xavier Ducrohet
2789799763 am 2589180d: First pass at making adb connection timeout configurable.
Merge commit '2589180d6d095659c1f16f8747186aec58b14ea8' into eclair-plus-aosp

* commit '2589180d6d095659c1f16f8747186aec58b14ea8':
  First pass at making adb connection timeout configurable.
2009-09-08 14:49:03 -07:00
Xavier Ducrohet
171125f678 Add preferences to DDMS (plug-in/standalone) for adb time out.
Change-Id: Ia48221e33ee5ffae4f381aa29bd99a62b148108e
2009-09-08 14:44:02 -07:00
Xavier Ducrohet
2589180d6d First pass at making adb connection timeout configurable.
ddmlib has its own preference class, so the timeout will be read from there.

Change-Id: Id492372caceca0ee2c38bcfa7423bd40d20d5648
2009-09-08 13:45:23 -07:00
Xavier Ducrohet
7add0bbe68 am 2cc97240: GLE: remove mcc/mnc, add clipping support.
Merge commit '2cc9724024802300653c04b4d1a068f7346644ec' into eclair-plus-aosp

* commit '2cc9724024802300653c04b4d1a068f7346644ec':
  GLE: remove mcc/mnc, add clipping support.
2009-09-08 13:37:37 -07:00
Xavier Ducrohet
2cc9724024 GLE: remove mcc/mnc, add clipping support.
Change-Id: I9fc2ee167436ba234c6f09b1635f45b34b461c2e
2009-09-08 11:27:56 -07:00
Raphael
64fde38e2f am 9135db11: ADT: Display selection and mouse hover in GLE canvas.
Merge commit '9135db1149f457d75be0492f510344b03bcf18bc' into eclair-plus-aosp

* commit '9135db1149f457d75be0492f510344b03bcf18bc':
  ADT: Display selection and mouse hover in GLE canvas.
2009-09-04 19:20:10 -07:00
Raphael
9135db1149 ADT: Display selection and mouse hover in GLE canvas.
Change-Id: Icc2f8331a099905d6e1aaa52b36cc17a7190cc4b
2009-09-04 17:59:56 -07:00
Raphael
9a3dcdea2f am 0eb96d64: Merge change 24047 into eclair
Merge commit '0eb96d6433325b54678272b485bd2b88df3b74cb' into eclair-plus-aosp

* commit '0eb96d6433325b54678272b485bd2b88df3b74cb':
  ADT: fix an NPE that can happen when an XML file resource is being
2009-09-04 17:58:54 -07:00
Android (Google) Code Review
0eb96d6433 Merge change 24047 into eclair
* changes:
  ADT: fix an NPE that can happen when an XML file resource is being refreshed by Eclipse whilst the SDK is not finished loading.
2009-09-04 17:56:34 -07:00
Raphael
6e1ee87955 ADT: fix an NPE that can happen when an XML file resource is being
refreshed by Eclipse whilst the SDK is not finished loading.

Change-Id: I970255925d98f7b84a726fa37bf1fef3d25ab520
2009-09-04 17:14:37 -07:00
Xavier Ducrohet
7d5a0a5b84 am 0b8d6908: Merge change 24031 into eclair
Merge commit '0b8d690837afaac4077150c85c854fdefb076885' into eclair-plus-aosp

* commit '0b8d690837afaac4077150c85c854fdefb076885':
  Update revision of the tools source.properties file.
2009-09-04 16:38:48 -07:00
Android (Google) Code Review
0b8d690837 Merge change 24031 into eclair
* changes:
  Update revision of the tools source.properties file.
2009-09-04 16:36:27 -07:00
Xavier Ducrohet
76140555b0 Update revision of the tools source.properties file.
Change-Id: I02d257baf1e28ee02db262ba4772645002ea0020
2009-09-04 15:26:39 -07:00
Ken Shirriff
0d64d33970 am 1c3a3c3a: Merge change 23909 into eclair
Merge commit '1c3a3c3a6173d3a647e5145730635a7d553c38d4' into eclair-plus-aosp

* commit '1c3a3c3a6173d3a647e5145730635a7d553c38d4':
  Add ddms support for contacts.
2009-09-04 14:13:47 -07:00
Android (Google) Code Review
1c3a3c3a61 Merge change 23909 into eclair
* changes:
  Add ddms support for contacts.
2009-09-04 14:11:50 -07:00
Jean-Baptiste Queru
0c16fb3262 merge from open-source master 2009-09-04 07:50:44 -07:00
Ken Shirriff
a0b2bacaa4 Add ddms support for contacts.
Support the new contacts authname and the aggregation event.
2009-09-03 17:58:28 -07:00
Xavier Ducrohet
5b6c9944d6 am 3ce85131: Add method profiling support to DDMS.
Merge commit '3ce85131be916ea334012276d136a28cf111d123' into eclair-plus-aosp

* commit '3ce85131be916ea334012276d136a28cf111d123':
  Add method profiling support to DDMS.
2009-09-03 16:38:48 -07:00
Xavier Ducrohet
3ce85131be Add method profiling support to DDMS.
New button allows to start/stop tracing. When clicking stop, DDMS downloads
the trace file and starts Traceview.

Also refactored some common parts of the HPROF and tracing handlers into a
common class. The goal is to have a default, extensible implementation
of the HPROF handler that DDMS and the plug-in can reuse. This will reduce
duplicated code.

Change-Id: Ifc48926c7f6f1c3ea49a4aa94053664be83cbb06
2009-09-03 16:01:27 -07:00
Jean-Baptiste Queru
4b4bcaf08c merge from donut 2009-09-03 14:12:47 -07:00
Xavier Ducrohet
56c2f20a88 am 2b6f5d17: Merge change 23740 into eclair
Merge commit '2b6f5d17a3c3eff47cb804b1a6210cfd8a640a3d' into eclair-plus-aosp

* commit '2b6f5d17a3c3eff47cb804b1a6210cfd8a640a3d':
  Add support for opening HPROF files in Eclipse.
2009-09-02 20:20:33 -07:00
Android (Google) Code Review
2b6f5d17a3 Merge change 23740 into eclair
* changes:
  Add support for opening HPROF files in Eclipse.
2009-09-02 20:18:12 -07:00
Xavier Ducrohet
be6e83d5b8 Add support for opening HPROF files in Eclipse.
The action taken on successful HPROF dump can now be configured from
the plug-in preference to be either "save to disk" or "open in eclipse".

If a plug-in supporting .hprof files (such as Eclipse Memory Analyzer Tool)
is present then the file will just be opened in the tool.

"save to disk" does not convert the file, "open in eclipse" does convert
the hprof file (using hprof-conv present in the SDK)

Change-Id: Iceb347abb2af5a2979b6028c22dcbdc3bc7250ca
2009-09-02 20:16:12 -07:00
Xavier Ducrohet
9fbff8f718 am 46093a92: Make DDMS log way less verbose.
Merge commit '46093a9204309a241b4e83dca4b7fbcba8768959' into eclair-plus-aosp

* commit '46093a9204309a241b4e83dca4b7fbcba8768959':
  Make DDMS log way less verbose.
2009-09-02 20:08:11 -07:00
Xavier Ducrohet
46093a9204 Make DDMS log way less verbose.
All the Log.i() calls were in fact debug logging, so I moved them
to Log.d()

Change-Id: I47b9cd8e85e630d61506c8c2df3baf245a706e03
2009-09-02 18:03:01 -07:00
Raphael
04a7d9c640 am a7bb36d1: SDK Updter: change window title to match ADT
Merge commit 'a7bb36d181639ffc1bafa9e4080ca4f5691043ba' into eclair-plus-aosp

* commit 'a7bb36d181639ffc1bafa9e4080ca4f5691043ba':
  SDK Updter: change window title to match ADT
2009-09-02 15:34:42 -07:00
Raphael
a7bb36d181 SDK Updter: change window title to match ADT
Also change the name displayed by the "android" wrapping scripts.

Change-Id: I663e1dcadfef7caf2e42138e39b1237f08091c77
2009-09-02 15:17:22 -07:00
Omari Stephens
c594a15b38 am a43c57a8: Merge change 23664 into eclair
Merge commit 'a43c57a870ee74fe899a0e92beb2f1ac40150387' into eclair-plus-aosp

* commit 'a43c57a870ee74fe899a0e92beb2f1ac40150387':
  Add ContactsProvider tests to runtest as 'contactsprov'
2009-09-02 14:20:30 -07:00
Android (Google) Code Review
a43c57a870 Merge change 23664 into eclair
* changes:
  Add ContactsProvider tests to runtest as 'contactsprov'
2009-09-02 14:19:07 -07:00
Raphael
846c7d8b2e am b1e9793d: ADT GLE: change error display to a separate sash.
Merge commit 'b1e9793d6620ef973552f4d8672578f1276d68c2' into eclair-plus-aosp

* commit 'b1e9793d6620ef973552f4d8672578f1276d68c2':
  ADT GLE: change error display to a separate sash.
2009-09-02 14:05:53 -07:00
Omari Stephens
a341046b9d Add ContactsProvider tests to runtest as 'contactsprov'
Also, move GoogleContactsProvider tests from 'contactsprov' to 'gcontactsprov'
Finally, switch the gcontactsprov test to the right coverage class
2009-09-02 13:01:11 -07:00
Raphael
b1e9793d66 ADT GLE: change error display to a separate sash.
This allows GEP to display both the latest error and the latest
successful rendering. The error still needs an icon and the
canvas will need to be grayed or something.

Also the LayoutCanvas will directly use the ILayoutResult and we
won't need to custom EditData in UiElementNode so the correspond
method is @deprecated (but obviously still supported for GLE1.)

Change-Id: Ia3afed836755dbd84a4511eaed0782c85a383ac9
2009-09-02 12:39:24 -07:00
Xavier Ducrohet
76c794b224 am 34103a59: Merge change 23640 into eclair
Merge commit '34103a59621db1de67a42f45dbeed50421ed3bce' into eclair-plus-aosp

* commit '34103a59621db1de67a42f45dbeed50421ed3bce':
  Remove unused git files.
2009-09-02 11:20:50 -07:00
Android (Google) Code Review
34103a5962 Merge change 23640 into eclair
* changes:
  Remove unused git files.
2009-09-02 11:17:32 -07:00
Xavier Ducrohet
43713c575e Remove unused git files.
Change-Id: I1501ae5bc5d8608f149f9d404e198aa9398b665b
2009-09-02 11:14:04 -07:00
Xavier Ducrohet
4f05812048 am 5a0b7395: Merge change 23546 into eclair
Merge commit '5a0b7395be0fc57f168fdc68bb3af68c810abcfe' into eclair-plus-aosp

* commit '5a0b7395be0fc57f168fdc68bb3af68c810abcfe':
  Add "Dump HPROF file" to DDMS/DDMS plugin
2009-09-02 11:02:51 -07:00
Android (Google) Code Review
5a0b7395be Merge change 23546 into eclair
* changes:
  Add "Dump HPROF file" to DDMS/DDMS plugin
2009-09-02 10:54:54 -07:00
Debajit Ghosh
5f2ff00773 fixing NPE that i see on my Mac when running idegen.sh 2009-09-01 22:20:31 -07:00
Eric Fischer
9f74298611 am 0c12e21a: Merge change 23532 into eclair
Merge commit '0c12e21a3152b62fb330c86b5ea544e927300608' into eclair-plus-aosp

* commit '0c12e21a3152b62fb330c86b5ea544e927300608':
  Add backslashes before apostrophes so they don't get lost.
2009-09-01 17:33:25 -07:00
Android (Google) Code Review
0c12e21a31 Merge change 23532 into eclair
* changes:
  Add backslashes before apostrophes so they don't get lost.
2009-09-01 17:30:51 -07:00
Xavier Ducrohet
d2d24351d3 Add "Dump HPROF file" to DDMS/DDMS plugin
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
2009-09-01 16:29:18 -07:00
Piotr Gurgul
8899d822de am 56098693: Merge change 23515 into eclair
Merge commit '56098693d29346fc3bf995a125e12fb2d3e1523d' into eclair-plus-aosp

* commit '56098693d29346fc3bf995a125e12fb2d3e1523d':
  Update apkbuilder to support new property names
2009-09-01 15:54:39 -07:00