History log of /sdk/sdkmanager/libs/sdkuilib/src/com/android/sdkuilib/internal/tasks/TaskMonitorImpl.java
Revision Date Author Comments
09407f74000f057774f85cfd414e86909022eca0 21-Aug-2012 Tor Norbye <tnorbye@google.com> Fix nullability annotations

Eclipse 3.8/4.2 requires that any method which overrides another
method with a @NonNull parameter (see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=381443).

This changeset adds @NonNull on various overriding methods in newly
added code such that Eclispe 4.2 doesn't show errors.

Change-Id: Ice4a4b4dc31ba68c4e0911bb37c15da090076a0d
ae6a209f6f4030e1ebe20118f9455547e4cd50fc 17-Aug-2012 Xavier Ducrohet <xav@android.com> Unify all loggers in the sdk tools.

Removed ILogger from ide_common
Removed ISdkLog (and implementations) from sdklib

Moved all existing code to com.android.utils.ILogger
which is located in common.

Change-Id: Icd674d4b8d10f6ae8b60a83acb43cc53c7a52137
70c222d49c0a75e30b05337dbbb8110a39635aaf 07-Aug-2012 Raphael Moll <ralf@android.com> Convert EOL from dos2unix in sdkuilib *.java

Change-Id: Ia046d63aac7800326effbe61364d2efa35581633
ab36f4e7488358dea4ab6b54ee2b7bef3da0232b 21-Dec-2011 Tor Norbye <tnorbye@google.com> Update SDK codebase to JDK 6

This changeset makes the SDK codebase compile with source=1.6 (which
means it also requires JDK 6). This means that methods implementing an
interface requires @Override's. It also means we can start using APIs
like the ArrayDeque class and methods like String#isEmpty().

This changeset looks big but the change is trivial: it's basically
adding @Override in all the places that need it, along with some other
automatic Eclipse cleanup in certain files (such as reordering imports
where they were incorrectly ordered (because older versions of Eclipse
didn't always handle inner classes right)), as well as cleaning up
trailing whitespace and removing some $NON-NLS-1$ markers on lines
where there aren't any string literals anymore.

This changeset also sets the source and target JDK level to 6 in the
Eclipse compiler .settings file, and synchronizes this file to all the
other Eclipse SDK projects.

Change-Id: I6a9585aa44c3dee9a5c00739ab22fbdbcb9f8275
cefde2307aa8737fccc756c3b69c3d7ca3e53e8b 13-Nov-2011 Siva Velusamy <vsiva@google.com> Add support for NTLM proxy authentication.

Change-Id: Ia8375444bf99b33396616a57e781adb22d82175d
eb3fbf45fb4107a7141cd76fbdab4375ac238e91 13-Sep-2011 Raphael <raphael@google.com> Tweak sdk manager progress bar.

Change-Id: I5811c1601578a9e6e53d59f13ba469d2ce7d767f
911525008c905990c445962d59b8898d9cfc09a5 13-Aug-2011 Raphael Moll <ralf@android.com> 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
924958e21bbe1d3c918235d9ca78a6dc64c7879b 30-May-2011 Pablo Leite <wpl020@motorola.com> 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
c8d82c3add5967170f67d2ca83e6e0357c3fd294 02-Aug-2011 Raphael Moll <ralf@android.com> SDK Man2: Fix initial load of all sources.

Change-Id: I54598804adad6b21ba524829570d28135f0586ca
e373ce4021c83e10151b75c146cba7521bd66cfe 28-Jul-2011 Raphael Moll <ralf@android.com> SDK Manager2: Revamp progress bar handling.

Change-Id: Ic5751f5c86f7cd4cf31927d83368a7fcb432e216
93e1b6416b908104f9327b06ce6dbd7250d58331 16-Apr-2011 Raphael Moll <ralf@android.com> Change logging API used by ITaskMonitor.

ITaskMonitor is used by the SDK Manager to display
status information and progress bar for asynchronous
tasks (e.g. fetching sources, downloading and installing
packages).

This changes the way text is logged by the monitor.
There used to be one setResult() method which historically
was designed to report 1 final message (e.g. "Install
completed") but then this was actually used to add
ongoing logging. So in this change the monitor has
3 replacement methods: log, logError and logVerbose,
which gives us more flexibility in controlling what
gets displayed.

As a side effect, this fixes unit-tests from SdkLib
that relied on previous output that changed in a
recent CL.

Change-Id: I0fa41d59db8f5eea478b88208695ef07e246ba30
c40ff87d77ae1bfd2828c92482077e51c8c585a0 22-Mar-2011 Raphael Moll <ralf@android.com> Continuing UI for new SDK Manager Packages Page.

- Changed application to not display the "page selector" anymore.
Instead there's only one page, which is is the available+installed
packages combined page.

- The app behavior depends on the env var.
- When set, it becomes the "SDK Manager" to only deal with packages.
- When unset, it has the previous look & pages to deal with both
AVD and SDK packages.
- Eventually we'll also have an AVD separate app and we can
factor out/cleanup the old window implementation.

- Integrated the progress bar + status in the page.
- This isn't linked to Eclipse yet.
- The ProgressTask* classes deal with the old behavior of
a separate progress dialog.
- The new ProgresView* classes deal with the new behavior
of the progress status incorporated in the main page.

Other changes:
- Changed layout of the new package page
- Center add-on sites dialog on top of parent.
- Display "details" in tree view (e.g. includes obsolete
packages + all archives)
- Plug in logic for install/delete buttons

Change-Id: I84c021cb7104681bb39445bd79ab01e161a22796