OSDN Git Service

android-x86/sdk.git
13 years agoMerge "Precompilation only executes AAPT when necessary"
Josiah Gaskin [Thu, 18 Aug 2011 21:28:16 +0000 (14:28 -0700)]
Merge "Precompilation only executes AAPT when necessary"

13 years agoPrecompilation only executes AAPT when necessary
Josiah Gaskin [Thu, 18 Aug 2011 18:39:50 +0000 (11:39 -0700)]
Precompilation only executes AAPT when necessary

This change adds resource tracking to the ResourceManager.
Each ResourceRepository now has new methods:

void markForIdRefresh() to set the repository as "dirty"
boolean needsIdRefresh() to check whether the repository is dirty
void setIdsRefreshed() to set the repository as "clean"

During the precompilation step, the PreCompiler will query the
ResourceManager to see if any of the repositories included in the build
are marked as dirty. AAPT will only be run if one or more dirty repositories
are found.

Repositories are marked as clean when R.java is regenerated and IDs are
set in ProjectResources.

Change-Id: I575ab819702508eacd247b282c3de8979f2f0ab9

13 years agoMerge "Use Eclipse XML parser instead of JDK parser when formatting"
Tor Norbye [Thu, 18 Aug 2011 20:26:48 +0000 (13:26 -0700)]
Merge "Use Eclipse XML parser instead of JDK parser when formatting"

13 years agoMerge "Add ability to pass options to IDevice.installPackage."
Brett Chabot [Thu, 18 Aug 2011 19:43:35 +0000 (12:43 -0700)]
Merge "Add ability to pass options to IDevice.installPackage."

13 years agoUse Eclipse XML parser instead of JDK parser when formatting
Tor Norbye [Thu, 18 Aug 2011 15:50:27 +0000 (08:50 -0700)]
Use Eclipse XML parser instead of JDK parser when formatting

This changeset adds a utility method which parses an XML string using
the Eclipse structured model instead of the JDK parser. The resulting
document has some extra metadata which the XML formatter can use. In
particular, it distinguishes between empty tags and tags without
children.

Now that this is fixed the formatting on project creation code
includes manifest files, which I excluded previously because it made
the <uses-sdk> element look ugly.

Change-Id: I7069fa43df33d874303435b3625f1c7b20f5b3d3

13 years agoMerge "Remove from tools.atree a file I just removed."
Xavier Ducrohet [Thu, 18 Aug 2011 02:33:36 +0000 (19:33 -0700)]
Merge "Remove from tools.atree a file I just removed."

13 years agoRemove from tools.atree a file I just removed.
Xavier Ducrohet [Thu, 18 Aug 2011 02:32:57 +0000 (19:32 -0700)]
Remove from tools.atree a file I just removed.

Change-Id: I181655095b2562cf8ddca81678d907ef9233c9bc

13 years agoMerge "Fix issues related to the new output folder for ADT and JDT."
Xavier Ducrohet [Thu, 18 Aug 2011 02:31:23 +0000 (19:31 -0700)]
Merge "Fix issues related to the new output folder for ADT and JDT."

13 years agoMerge "Remove some more unused code."
Xavier Ducrohet [Thu, 18 Aug 2011 02:31:01 +0000 (19:31 -0700)]
Merge "Remove some more unused code."

13 years agoFix issues related to the new output folder for ADT and JDT.
Xavier Ducrohet [Thu, 18 Aug 2011 02:07:53 +0000 (19:07 -0700)]
Fix issues related to the new output folder for ADT and JDT.

The android output folder is hard-coded to bin/ for now
The Java output folder is hard-coded to bin/classes.

Projects that are opened and that don't have that exact setup
are converted.

Also make sure bin/res is created when the builders are run.

Change-Id: Id5de887710ed951b53218a73e5962a9b079cb176

13 years agoMerge "Use PreferenceConverter to set default font."
Siva Velusamy [Thu, 18 Aug 2011 02:14:03 +0000 (19:14 -0700)]
Merge "Use PreferenceConverter to set default font."

13 years agoUse PreferenceConverter to set default font.
Siva Velusamy [Thu, 18 Aug 2011 01:53:30 +0000 (18:53 -0700)]
Use PreferenceConverter to set default font.

Also use platform specific font.

Change-Id: I0bc50c2c79c8e0e21c779ad71f3b11b8c03e99d8

13 years agoRemove some more unused code.
Xavier Ducrohet [Thu, 18 Aug 2011 01:44:58 +0000 (18:44 -0700)]
Remove some more unused code.

Change-Id: I6aa1c4f0158fc86d85d922e33dd5bf47de6f377d

13 years agoMerge "Fix issue setting font, and invalid selection on Mac."
Siva Velusamy [Thu, 18 Aug 2011 01:36:54 +0000 (18:36 -0700)]
Merge "Fix issue setting font, and invalid selection on Mac."

13 years agoFix issue setting font, and invalid selection on Mac.
Siva Velusamy [Thu, 18 Aug 2011 01:29:39 +0000 (18:29 -0700)]
Fix issue setting font, and invalid selection on Mac.

Font: fontdata should be created using PreferenceConverter.getFontData
List selection: On Mac, selecting a list widget outside the list contents
behaves differently than on Linux

Change-Id: I696996c8b92af8211dd767f5dd1552c34b68c327

13 years agoMerge "Fix missing import"
Xavier Ducrohet [Thu, 18 Aug 2011 01:29:10 +0000 (18:29 -0700)]
Merge "Fix missing import"

13 years agoMerge "Remove obsolete code."
Xavier Ducrohet [Thu, 18 Aug 2011 01:29:04 +0000 (18:29 -0700)]
Merge "Remove obsolete code."

13 years agoMerge "Package in tools/lib all the new libs required by the new SDKManager."
Xavier Ducrohet [Thu, 18 Aug 2011 01:28:54 +0000 (18:28 -0700)]
Merge "Package in tools/lib all the new libs required by the new SDKManager."

13 years agoFix missing import
Xavier Ducrohet [Thu, 18 Aug 2011 01:28:11 +0000 (18:28 -0700)]
Fix missing import

Change-Id: I52baf6cf59ff5ab73ad5251bfb6f98bbdadadf15

13 years agoRemove obsolete code.
Xavier Ducrohet [Thu, 18 Aug 2011 01:09:34 +0000 (18:09 -0700)]
Remove obsolete code.

Change-Id: I2881d7b5f01229b9da81c6134fc5dfdfb4aacff8

13 years agoMerge "Rename main_rules.xml to build.xml"
Xavier Ducrohet [Thu, 18 Aug 2011 00:38:52 +0000 (17:38 -0700)]
Merge "Rename main_rules.xml to build.xml"

13 years agoMerge "New library project mechanism."
Xavier Ducrohet [Thu, 18 Aug 2011 00:38:33 +0000 (17:38 -0700)]
Merge "New library project mechanism."

13 years agoRename main_rules.xml to build.xml
Xavier Ducrohet [Thu, 18 Aug 2011 00:35:57 +0000 (17:35 -0700)]
Rename main_rules.xml to build.xml

This is the final name. I kept main_rules to make the previous
review easier.

Change-Id: I3dfcd36a49f2893665e712ed9391acb4486d713e

13 years agoPackage in tools/lib all the new libs required by the new SDKManager.
Xavier Ducrohet [Thu, 18 Aug 2011 00:31:42 +0000 (17:31 -0700)]
Package in tools/lib all the new libs required by the new SDKManager.

Change-Id: If430e817dc82b361c275a98ee38ecbc38348e1ce

13 years agoNew library project mechanism.
Xavier Ducrohet [Mon, 14 Feb 2011 23:52:12 +0000 (15:52 -0800)]
New library project mechanism.

Libraries now generate a jar file that is used by the projects
referencing them, instead of having the main projects compile
the library source code themselves.

This means we can remove the link mechanism that created linked
folder in ADT and instead use a container that is lazily initalized
to be all the jar files of the libraries.

Also merged all 3 Ant build files (main_rules, lib_rules, test_rules)
into a single build.xml that can build any kind of projects.
Lot's of improvement in there too. Much cleaner.

Change-Id: I98307e25cd76722e8595938528e6ef57a7e226ad

13 years agoMerge "Make new logcat view to be the default in DDMS."
Siva Velusamy [Wed, 17 Aug 2011 20:18:58 +0000 (13:18 -0700)]
Merge "Make new logcat view to be the default in DDMS."

13 years agoMerge "Goto source when user double clicks on stack trace."
Siva Velusamy [Wed, 17 Aug 2011 20:18:47 +0000 (13:18 -0700)]
Merge "Goto source when user double clicks on stack trace."

13 years agoMerge "Add new logcat view to Eclipse."
Siva Velusamy [Wed, 17 Aug 2011 20:18:30 +0000 (13:18 -0700)]
Merge "Add new logcat view to Eclipse."

13 years agoMerge "Add missing qualifier icons"
Tor Norbye [Wed, 17 Aug 2011 19:31:15 +0000 (12:31 -0700)]
Merge "Add missing qualifier icons"

13 years agoMake new logcat view to be the default in DDMS.
Siva Velusamy [Wed, 17 Aug 2011 00:54:35 +0000 (17:54 -0700)]
Make new logcat view to be the default in DDMS.

The old view can be activated by setting the env variable
ANDROID_USE_OLD_LOGCAT_VIEW.

Change-Id: I006aaba26f323b12b6da70f22f8584ad76fb5041

13 years agoGoto source when user double clicks on stack trace.
Siva Velusamy [Wed, 17 Aug 2011 00:33:17 +0000 (17:33 -0700)]
Goto source when user double clicks on stack trace.

Change-Id: Ia2693424f0106fb3aa1724c211a8e1273f3a0c28

13 years agoAdd new logcat view to Eclipse.
Siva Velusamy [Tue, 16 Aug 2011 21:42:00 +0000 (14:42 -0700)]
Add new logcat view to Eclipse.

The existing logcat view has been renamed to OldLogCatView. It is
still accessible from the Views menu with the title:
"LogCat (deprecated)".

The new view is the default. The only missing feature compared to
the old view is the lack of double click handler. Subsequent CL's
add this feature.

Change-Id: If8ce594539f3f82c0c47ebb2d46159d6feed5a21

13 years agoMerge "Use equals for value comparison"
Siva Velusamy [Wed, 17 Aug 2011 16:44:59 +0000 (09:44 -0700)]
Merge "Use equals for value comparison"

13 years agoAdd missing qualifier icons
Tor Norbye [Wed, 17 Aug 2011 15:07:28 +0000 (08:07 -0700)]
Add missing qualifier icons

The Available Width, Available Height and Smallest Width qualifiers
were missing icons (which are shown in for exmaple the Create
Configuration dialog).  This changeset adds icons for these (which
also makes ResourceHelper.testGetIcon pass.)

Change-Id: I42c4e357245adc0b80320bac5fe1e173d1d0eaf3

13 years agoUse equals for value comparison
Siva Velusamy [Tue, 16 Aug 2011 20:52:23 +0000 (13:52 -0700)]
Use equals for value comparison

Change-Id: Ic83b797567a044ce08703d036329299ef64bcdea

13 years agoAdd ability to pass options to IDevice.installPackage.
Brett Chabot [Tue, 16 Aug 2011 19:15:11 +0000 (12:15 -0700)]
Add ability to pass options to IDevice.installPackage.

Change-Id: I79328a3ab0c3e113103615b11d9ec85726513adc

13 years agoMerge "Pull View Rules API into a separate library"
Tor Norbye [Tue, 16 Aug 2011 19:39:04 +0000 (12:39 -0700)]
Merge "Pull View Rules API into a separate library"

13 years agoMerge "Show count of unread messages associated with each filter."
Siva Velusamy [Tue, 16 Aug 2011 17:49:26 +0000 (10:49 -0700)]
Merge "Show count of unread messages associated with each filter."

13 years agoShow count of unread messages associated with each filter.
Siva Velusamy [Tue, 16 Aug 2011 16:57:18 +0000 (09:57 -0700)]
Show count of unread messages associated with each filter.

Change-Id: I871ddc550b1d63844b8501a59c079b62f0de4cca

13 years agoMerge "Refactor code for filtering into LogCatFilter class."
Siva Velusamy [Tue, 16 Aug 2011 17:40:46 +0000 (10:40 -0700)]
Merge "Refactor code for filtering into LogCatFilter class."

13 years agoMerge "Add list<received messages> parameter to msgReceived event."
Siva Velusamy [Tue, 16 Aug 2011 17:39:09 +0000 (10:39 -0700)]
Merge "Add list<received messages> parameter to msgReceived event."

13 years agoMerge "Save/Restore user created filters."
Siva Velusamy [Tue, 16 Aug 2011 17:38:48 +0000 (10:38 -0700)]
Merge "Save/Restore user created filters."

13 years agoMerge "Minor refactor: use length() > 0 rather than !equals("")"
Siva Velusamy [Tue, 16 Aug 2011 17:37:59 +0000 (10:37 -0700)]
Merge "Minor refactor: use length() > 0 rather than !equals("")"

13 years agoRefactor code for filtering into LogCatFilter class.
Siva Velusamy [Tue, 16 Aug 2011 00:31:35 +0000 (17:31 -0700)]
Refactor code for filtering into LogCatFilter class.

- Move the code out of LogCatViewerFilter into LogCatFilterSettings
- Rename LogCatFilterSettings to LogCatFilter as it now does the
filtering as well.
- Update tests appropriately.

Change-Id: I68840d8292cc7ad2b3ef5415bd7a0bdd56aa4da2

13 years agoAdd list<received messages> parameter to msgReceived event.
Siva Velusamy [Mon, 15 Aug 2011 22:48:23 +0000 (15:48 -0700)]
Add list<received messages> parameter to msgReceived event.

Change-Id: Ib66700806853564901f177694308add9a8d9d2d7

13 years agoSave/Restore user created filters.
Siva Velusamy [Mon, 15 Aug 2011 22:09:16 +0000 (15:09 -0700)]
Save/Restore user created filters.

Change-Id: I4e5ba3d6c16889b0a1ac3195e616f0e53026f947

13 years agoMinor refactor: use length() > 0 rather than !equals("")
Siva Velusamy [Mon, 15 Aug 2011 17:31:33 +0000 (10:31 -0700)]
Minor refactor: use length() > 0 rather than !equals("")

Change-Id: Iec62efdd56bbb24fa1c473ccb74e529271f2dd7b

13 years agoMerge "ADT: Fix manifest editor marking files as dirty on open."
Raphael Moll [Mon, 15 Aug 2011 23:29:16 +0000 (16:29 -0700)]
Merge "ADT: Fix manifest editor marking files as dirty on open."

13 years agoADT: Fix manifest editor marking files as dirty on open.
Raphael Moll [Mon, 15 Aug 2011 22:36:01 +0000 (15:36 -0700)]
ADT: Fix manifest editor marking files as dirty on open.

Originally this was supposed to be about fixing
issue 18689 (can't edit/save minSdkVersion) but I
can't repro that anymore, so instead I focused on
fixing the marked-dirty not going away. That one is
due to the manifest descriptor lacking the XMLNS
for "android". Upon loading a custom hidden attribute
was created and marked as dirty, which is wrong.

Change-Id: I9f0d3809632fdbeef8c8a39f79c62914818b1efe

13 years agoPull View Rules API into a separate library
Tor Norbye [Mon, 15 Aug 2011 22:02:28 +0000 (15:02 -0700)]
Pull View Rules API into a separate library

This changeset pulls out the API classes from the plugin sources and
into a separate standalone .jar library. The library depends on the
common.jar library.

With the separate view API it should be possible to build designtime
helpers (view rules) for custom views to improve editing behavior in
the layout editor.

Change-Id: I20bb511668de2fe52910e5fe0bbd3ec2a18b5a08

13 years agoMerge "Action API improvements"
Tor Norbye [Mon, 15 Aug 2011 21:15:09 +0000 (14:15 -0700)]
Merge "Action API improvements"

13 years agoMerge "Expose version.name property for aapt task."
Xavier Ducrohet [Mon, 15 Aug 2011 20:00:44 +0000 (13:00 -0700)]
Merge "Expose version.name property for aapt task."

13 years agoExpose version.name property for aapt task.
Tero Saarni [Thu, 2 Jun 2011 17:22:12 +0000 (20:22 +0300)]
Expose version.name property for aapt task.

The new property makes it possible to create ant build scripts
that programmatically determine and set the versionName attribute
during build.  Similar property already exists for versionCode.

Signed-off-by: Tero Saarni <tero.saarni@gmail.com>
Change-Id: Ia36632ae029785563fc7c1bc8937034963016852

13 years agoAction API improvements
Tor Norbye [Tue, 9 Aug 2011 22:58:34 +0000 (15:58 -0700)]
Action API improvements

This changeset changes the Actions mechanism for view rules to add
support for the following:

* Delayed computation of submenu contents. Before this, a view rule
  would have to produce the full tree of actions to be shown in menus
  and submenus - for example including all the properties, and in turn
  all the enumerated values for those properties and so on.  Now
  there's a Provider interface which can be used to compute these menu
  items only when the menu is actually opened. The properties menu now
  takes advantage of this.

  This was also necessary to implement the following new feature:

  * The layout editor context menu now also lists not just the
    properties for the currently selected views, but also the
    properties for the parents. For example, if you open the context
    menu, you'll see the properties for the button you just right
    clicked on, but there will also be a "frameLayout1" submenu
    containing the actions for the <FrameLayout> parent of the button,
    and a "linearLayout1" submenu for the parent linear layout. This
    is useful when a parent layout doesn't have blank space on its own
    so it is difficult to target.

  A future CL will use the lazy initialization to add more options to
  the properties menu.

* Support for arbitrary nesting. Submenus can contain submenus can
  contain other submenus etc.

* Custom ordering. This changeset moves the "sort priority" concept
  (which was already used for layout actions) up to all actions, which
  makes it easier for rules to cooperate on ordering because instead
  of appending or prepending to the superclass' context menu result,
  actions can now just be initialized with a sorting priority value
  which makes it trivial to interleave actions regardless of who adds
  them. This also makes it a lot easier to use custom ordering in
  choice menus where the ordering used to be alphabetically sorting on
  keys.

* Improved support for multiselection. The callback interface now
  takes a list of nodes to apply the callback to, and actions can
  indicate whether they support multiple nodes. This makes it possible
  for actions to more directly support the case where you apply an
  action to multiple nodes. As before, the available actions in the
  context menu is limited such that it only shows the actions common
  to all. But now those actions can do something specific.  For
  example, if you select "Edit Text..." on many nodes, you will get
  the input-string dialog once, and then the value is applied to
  all. Similarly, if you select "Edit Id..." it will ask for a
  separate id for each value (and you can cancel out of this loop).

There are various API changes too. Since the Choices action (which had
a map-based set of values) was removed, the OrderedChoices is now
renamed Choices. The Actions subclass of MenuAction which all actions
also extended has simply been moved up to the top level MenuAction.
And MenuAction has been renamed to RuleActions since they are used
not just for menus but for toolbars etc and the key thing about this
interface is that they are intended for use by rules.
Change-Id: If49f75213f2041ebfef7e84254d70d219bb766ab

13 years agoMerge "Add support for live filter/search bar."
Siva Velusamy [Mon, 15 Aug 2011 15:09:37 +0000 (08:09 -0700)]
Merge "Add support for live filter/search bar."

13 years agoMerge "Always refresh logcat table from UI thread."
Siva Velusamy [Mon, 15 Aug 2011 15:09:21 +0000 (08:09 -0700)]
Merge "Always refresh logcat table from UI thread."

13 years agoMerge "SDK Man2: fix bug when deleting a local package."
Raphael Moll [Mon, 15 Aug 2011 04:16:48 +0000 (21:16 -0700)]
Merge "SDK Man2: fix bug when deleting a local package."

13 years agoSDK Man2: fix bug when deleting a local package.
Raphael Moll [Fri, 12 Aug 2011 22:06:00 +0000 (15:06 -0700)]
SDK Man2: fix bug when deleting a local package.

When deleting a local package, the model was still
retaining the info of the previously installed package
and was thus not offering it again for install.

Also fixes a case where selecting something for
install and then cancelling would trigger an
unecessary list refresh.

Change-Id: I0889e2c19c721325f921d8681a429210f76b490b

13 years agoAdd support for live filter/search bar.
Siva Velusamy [Fri, 12 Aug 2011 22:01:54 +0000 (15:01 -0700)]
Add support for live filter/search bar.

A search bar at the top of the logcat view provides a quick way to
search for messages matching a certain pattern. By default, words in
the query are searched in the logcat message text. Other fields such
as pid or tag can be searched by using a prefix such as pid: or tag:.

Change-Id: I3f9f83697f84c30b0371beedfba457480001d71a

13 years agoAlways refresh logcat table from UI thread.
Siva Velusamy [Fri, 12 Aug 2011 16:00:53 +0000 (09:00 -0700)]
Always refresh logcat table from UI thread.

Change-Id: I8b11783de412a31baf37fc2d9efb8aafdb73a330

13 years agoMerge "Fix SdkLib unit test to not print on stderr."
Raphael Moll [Fri, 12 Aug 2011 20:08:53 +0000 (13:08 -0700)]
Merge "Fix SdkLib unit test to not print on stderr."

13 years agoMerge "Add-ons do not support codenames."
Raphael Moll [Fri, 12 Aug 2011 20:08:42 +0000 (13:08 -0700)]
Merge "Add-ons do not support codenames."

13 years agoFix SdkLib unit test to not print on stderr.
Raphael Moll [Fri, 12 Aug 2011 18:51:07 +0000 (11:51 -0700)]
Fix SdkLib unit test to not print on stderr.

The SdkLib unit tests had the annoying side effect
of writing an XML schema validation error on stderr.
This patch uses an XML Error Handler to capture the
error and actually test for it too.

Change-Id: I129804c6f9cb4ba3dfc25db4f3313553fb01df63

13 years agoAdd-ons do not support codenames.
Raphael Moll [Fri, 12 Aug 2011 17:27:15 +0000 (10:27 -0700)]
Add-ons do not support codenames.

There was a typo in the repository XSD and the addon XSD
that had an optional 'codename' element to the addon type.
Since it's optional and (should have) never beend used,
it's safe to remove it and document why we're removing it
without spinning a new XSD version.
Also added a unit-test to enforce it's invalid to have.

Change-Id: Id3c5725c022d86ac0f46532efe25ac5c000c1af7

13 years agoMerge "Experimental Java-version of the sdk launcher."
Raphael Moll [Fri, 12 Aug 2011 16:44:14 +0000 (09:44 -0700)]
Merge "Experimental Java-version of the sdk launcher."

13 years agoMerge "SdkMan2 Log window tweaks."
Raphael Moll [Fri, 12 Aug 2011 16:28:45 +0000 (09:28 -0700)]
Merge "SdkMan2 Log window tweaks."

13 years agoMerge "SDK Manager: don't retry source if http auth canceled by user."
Raphael Moll [Fri, 12 Aug 2011 16:28:03 +0000 (09:28 -0700)]
Merge "SDK Manager: don't retry source if http auth canceled by user."

13 years agoSdkMan2 Log window tweaks.
Raphael Moll [Fri, 12 Aug 2011 06:20:31 +0000 (23:20 -0700)]
SdkMan2 Log window tweaks.

- Change the toggle button icon (looks like a little
  log sheet, grayed or enabled). This replaces the ugly
  blue thingy.
- Add support for tooltips to the toggle button widget.
- When logging an error, auto-raise the log window. This
  was done using a crude hack in the first version by
  having the window raise itself. Now this is more properly
  done by having the controller (i.e. the SDK Main Windows)
  raise it when it detects an error in the log. This way it
  can properly adjust the toggle button state.

Change-Id: I4a444651da4ba3b9022484344b526d8a1b3be3c3

13 years agoSDK Manager: don't retry source if http auth canceled by user.
Raphael Moll [Fri, 12 Aug 2011 00:28:12 +0000 (17:28 -0700)]
SDK Manager: don't retry source if http auth canceled by user.

This fixes a minor workflow issue the case of an
SDK source using a Basic HTTP Auth: if the user cancels
the login dialog, we don't try to be smart and try
alternate URLs. It actually means the URL was just fine
but the user didn't want to authenticate.

Change-Id: If85dc2e01e30ff26decb78088bd912da785a89f9

13 years agoMerge "SdkMan2, log window comments & auto-scroll"
Raphael Moll [Fri, 12 Aug 2011 16:11:09 +0000 (09:11 -0700)]
Merge "SdkMan2, log window comments & auto-scroll"

13 years agoMerge "Cleanup a few warnings in SdkLib."
Raphael Moll [Fri, 12 Aug 2011 16:10:58 +0000 (09:10 -0700)]
Merge "Cleanup a few warnings in SdkLib."

13 years agoMerge "Remove @Override from methods implementing an interface"
Tor Norbye [Fri, 12 Aug 2011 15:55:28 +0000 (08:55 -0700)]
Merge "Remove @Override from methods implementing an interface"

13 years agoMerge "Use fonts as specified in preferences."
Siva Velusamy [Fri, 12 Aug 2011 14:51:45 +0000 (07:51 -0700)]
Merge "Use fonts as specified in preferences."

13 years agoMerge "Add tests for LogCatMessageParser."
Siva Velusamy [Fri, 12 Aug 2011 14:51:32 +0000 (07:51 -0700)]
Merge "Add tests for LogCatMessageParser."

13 years agoCleanup a few warnings in SdkLib.
Raphael Moll [Fri, 12 Aug 2011 05:03:43 +0000 (22:03 -0700)]
Cleanup a few warnings in SdkLib.

Change-Id: Ie8429f077b7e3a2a7166b6fcd7b9454c9bc47088

13 years agoRemove @Override from methods implementing an interface
Tor Norbye [Fri, 12 Aug 2011 02:46:08 +0000 (19:46 -0700)]
Remove @Override from methods implementing an interface

@Override'ing methods from an interface requires JDK 6.

Change-Id: I78dcf84dc690e5928f05a4d1a20e24a4e10d7eae

13 years agoUse fonts as specified in preferences.
Siva Velusamy [Fri, 12 Aug 2011 00:37:04 +0000 (17:37 -0700)]
Use fonts as specified in preferences.

Update DDMS preference dialog to show only font preference when using
the new logcat view. The font preference key is obtained from
LogCatPanel in the new view so that the Eclipse ddms plugin can
also reuse most of the code.

Change-Id: I61afba27cde45ff8214e83b6fadfe488f6c954bb

13 years agoSdkMan2, log window comments & auto-scroll
Raphael Moll [Thu, 11 Aug 2011 22:46:42 +0000 (15:46 -0700)]
SdkMan2, log window comments & auto-scroll

Fixes some missing comments in the LogWindow class.
Also implement a rudimentary auto-scroll based on the
caret position being at the end when we append text.

Change-Id: Ie1dfecc2dc048113f786bc120c8f267eea955e0b

13 years agoMerge "Fix a few XML comment formatting corner cases"
Tor Norbye [Fri, 12 Aug 2011 00:19:35 +0000 (17:19 -0700)]
Merge "Fix a few XML comment formatting corner cases"

13 years agoMerge "Add various getProperty methods."
Brett Chabot [Fri, 12 Aug 2011 00:08:07 +0000 (17:08 -0700)]
Merge "Add various getProperty methods."

13 years agoAdd tests for LogCatMessageParser.
Siva Velusamy [Thu, 11 Aug 2011 22:22:29 +0000 (15:22 -0700)]
Add tests for LogCatMessageParser.

Change-Id: I2fc1f14cbf72117112a217b2f9effb00b3e040a0

13 years agoMerge "Support clearing all logcat messages from the table."
Siva Velusamy [Thu, 11 Aug 2011 22:34:30 +0000 (15:34 -0700)]
Merge "Support clearing all logcat messages from the table."

13 years agoMerge "Support exporting selected logcat messages to a text file."
Siva Velusamy [Thu, 11 Aug 2011 22:34:18 +0000 (15:34 -0700)]
Merge "Support exporting selected logcat messages to a text file."

13 years agoMerge "Fix logcat table scrolling behavior."
Siva Velusamy [Thu, 11 Aug 2011 22:34:02 +0000 (15:34 -0700)]
Merge "Fix logcat table scrolling behavior."

13 years agoMerge "SdkMan2: Log window."
Raphael Moll [Thu, 11 Aug 2011 22:20:51 +0000 (15:20 -0700)]
Merge "SdkMan2: Log window."

13 years agoSdkMan2: Log window.
Raphael Moll [Tue, 9 Aug 2011 23:02:25 +0000 (16:02 -0700)]
SdkMan2: Log window.

Change-Id: I97d173679519a1f535ec303ed1c996f16dd33c24

13 years agoMerge "Add support for authenticated add-on servers."
Raphaël Moll [Thu, 11 Aug 2011 22:03:12 +0000 (15:03 -0700)]
Merge "Add support for authenticated add-on servers."

13 years agoMerge "Add Apache Http-Client library files to ADT."
Raphael Moll [Thu, 11 Aug 2011 22:01:56 +0000 (15:01 -0700)]
Merge "Add Apache Http-Client library files to ADT."

13 years agoFix a few XML comment formatting corner cases
Tor Norbye [Thu, 11 Aug 2011 21:17:51 +0000 (14:17 -0700)]
Fix a few XML comment formatting corner cases

The cases are covered by the new unit tests.

Change-Id: I165def59dad59de7e8e1c4e5516c567722aa254e

13 years agoAdd various getProperty methods.
Brett Chabot [Thu, 11 Aug 2011 02:44:46 +0000 (19:44 -0700)]
Add various getProperty methods.

Bug 5148643

Change-Id: I8efefdf07e8524f95dcb043a4eae1812b97b2739

13 years agoSupport clearing all logcat messages from the table.
Siva Velusamy [Thu, 11 Aug 2011 18:50:33 +0000 (11:50 -0700)]
Support clearing all logcat messages from the table.

Change-Id: If7fb4b181974ddd0c1c41e54f7c76bfb6b2812bc

13 years agoSupport exporting selected logcat messages to a text file.
Siva Velusamy [Thu, 11 Aug 2011 18:38:40 +0000 (11:38 -0700)]
Support exporting selected logcat messages to a text file.

Change-Id: Ia9c61a5e16ef12907f4402a076a587cc9f62613c

13 years agoAdd support for authenticated add-on servers.
Pablo Leite [Mon, 30 May 2011 18:14:14 +0000 (15:14 -0300)]
Add support for authenticated add-on servers.

Displays a login prompt if necessary.
Note: This code depends on Apache http-client libraries.
Build files had been modified in order to add this dependency.
http-client libraries had also be added on prebuilt project.
    prebuilt changeID=I084d78dd09a431bc3a2d77e77810b84c693bdcb7
             GerritLink=https://review.source.android.com/#change,23387

Change-Id: Icada9b41a21fe3aacef9a1eff209a3fe5591a4e0

13 years agoMerge "Added view introspection to ChimpChat and MonkeyRunner"
Bill Napier [Thu, 11 Aug 2011 19:21:25 +0000 (12:21 -0700)]
Merge "Added view introspection to ChimpChat and MonkeyRunner"

13 years agoAdd Apache Http-Client library files to ADT.
Raphael Moll [Wed, 10 Aug 2011 17:24:06 +0000 (10:24 -0700)]
Add Apache Http-Client library files to ADT.

This is a follow up to Change I084d78dd from prebuilt.git
to add the files required by sdklib to ADT.

Change-Id: I651ddf8f6dec480843c5bccd7d3296227b262937

13 years agoFix logcat table scrolling behavior.
Siva Velusamy [Thu, 11 Aug 2011 17:55:24 +0000 (10:55 -0700)]
Fix logcat table scrolling behavior.

This patch makes the logcat table scroll behavior to be consistent
with other consoles/terminals: The table will scroll to reveal a
newly added message if and only if the last logcat message is
currently displayed (which is the same as saying if the scrollbar
is at the bottom of the table). If the user scrolls up the table
by moving the scroll thumb, then newly added messages will not
trigger a scroll.

Change-Id: Ia9c180b093de91406e8ced020589c71b4d2e1eb1

13 years agoMerge "Create new project ddmuilib-tests"
Siva Velusamy [Thu, 11 Aug 2011 05:16:38 +0000 (22:16 -0700)]
Merge "Create new project ddmuilib-tests"

13 years agoMerge "Add support for filtering logcat messages."
Siva Velusamy [Thu, 11 Aug 2011 05:13:55 +0000 (22:13 -0700)]
Merge "Add support for filtering logcat messages."

13 years agoCreate new project ddmuilib-tests
Siva Velusamy [Tue, 9 Aug 2011 23:28:19 +0000 (16:28 -0700)]
Create new project ddmuilib-tests

Change-Id: I62fbf052dead8f9c4378c42c1850851c51b794fc

13 years agoAdd support for filtering logcat messages.
Siva Velusamy [Tue, 9 Aug 2011 20:31:40 +0000 (13:31 -0700)]
Add support for filtering logcat messages.

In the logcat view, add a panel on the side where users can
create/edit/delete filters for logcat messages. Users can filter
by the message tag, pid or loglevel.

Change-Id: Ic85397794e5437b761b91a74adb0dd6a58bc74ed