| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
| |
swt.jar must be found relative to the out/ dir
(as generated by create_all_symlinks.sh) to avoid
setting a platform-specific path.
swtmenubar was missing the new libs references.
Change-Id: I365cfa6e011ec831c4df87cb36b0df722caac2e4
|
|\
| |
| |
| |
| |
| | |
* commit 'c2d5ffe0b9baa1c24a62459b82bb21df08f4250b':
Add support for the WindowBuilder Property Sheet
Switch libraries from Eclipse 3.4 to Eclipse 3.6.2
|
| |
| |
| |
| |
| |
| | |
This reverts commit f3d3fa912a10e20cadae813b80a66e538f77131d.
Change-Id: I72e28e21db3c7f959040c1fbb9df14e4d85d0df4
|
|\ \
| |/
| |
| |
| | |
* commit 'c12302ae5385828ce385d90c49c69cad504dd98d':
Update classpath for eclipse project due to prebuilt move.
|
| |
| |
| |
| |
| |
| |
| | |
Don't use User Libraries. It's easier to just hardcode them with
a classpath variable.
Change-Id: If8c1236199dd6766d48cf9b553fa2a9ee0d236e6
|
|/
|
|
| |
Change-Id: If39d1d21baef72cdd2a8a0f2ced1ebbe6e02c891
|
|
|
|
| |
This reverts commit b0c819f896b3c579633849e3fa674a30e6978dd7.
|
|
|
|
|
|
|
|
|
|
|
| |
This updates the org.eclipse.core.command, org.eclipse.jface and
org.eclipse.equinox libraries from Eclipse 3.4 to Eclipse 3.6.2.
It also updates SWT from 3.4 to 3.6.2 (and this drops the Carbon
support from the SwtMenuBar library since SWT 3.5 switched to Cocoa by
default.)
Change-Id: I7e8a6e3b8cb473f90eca3b90e3f3dc5fa5099b71
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New panel that shows live network statistics by reading xt_qtaguid
proc file across adb. Shows all tags for selected UID on a chart
with 30 seconds of history. Each tag is presented as unique series,
with the overall usage in grey. Table below the chart shows running
totals of known tags.
Includes options to pause, reset, and change polling frequency.
Bug: 5194997
Change-Id: I72d43ab51aaf93ecfd6d45fcd452c7230cdee5b7
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changeset adds a new @NonNull annotation, to match our existing
@Nullable annotation, and it adds configuration settings for Eclipse
3.8 / Eclipse 4.2 which configures the new null analysis there to use
our own annotations. Note that the annotations only have source
retention so there is no extra size or class-loading overhead. (To use
findbugs you'll need to temporarily change retention to class-level.)
In upcoming CL's I'll use these annotations to clarify the Lint API
and other APIs.
Change-Id: I99096d8b8a7e25ef002624d592da7700195a5872
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Various places of the code construct a new FileInputStream
on the fly and give it to another method. One many
occasions the stream is never properly closed, which can
lock files on Windows.
2 specific cases:
- Properties.load() doesn't seem to close its input
(when looking at the source bundled with the JRE).
- The doc of InputSource (used by various XML parsers like
the pull parser) indicates the caller should in general
not close the stream and the parser itself should do it.
Change-Id: I622b54a22f97ed2c9c8fdc56ccde331207d9d212
|
|
|
|
|
|
| |
SDK Bug: 20615
Change-Id: Id59b96bb8b1beb92c3887b1581bd7969cae4262f
|
|
|
|
|
|
|
| |
The old implementation can be used via the env var
ANDROID_DDMS_OLD_HEAP_PANEL=1
Change-Id: Iaf6320d3af73d94d0712e476f8a33d07349f415a
|
|
|
|
| |
Change-Id: I17a1b29039e50e0256f37519b3fd8781b88f5e39
|
|
|
|
|
|
|
|
|
|
|
|
| |
Splits DDMS PreferenceStore management in
a separate class and add the methods we need
for ADT first-time wizard.
Various pieces of DDMS access the pref store
via the PrefsDialog. This could use a cleanup
eventually later.
Change-Id: Ie1e90b9a4d7e4c9b057b506eae239ba7e8ece37d
|
|
|
|
| |
Address resolution to symbols to come in future CL's.
|
|
|
|
| |
Change-Id: Ibe1042437e4f320a034be176b0b8efc7d205f79b
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Until now there was only one instance of LogCatReceiver. This
instance would listen to the logcat output from the currently
selected device.
This patch modifies this behavior to make one LogCatReceiver
responsible for listening to only one device. If there are multiple
devices, then multiple instances of LogCatReceivers are instantiated.
The instantiation is also moved to a separate factory.
This modification allows for the scenario where the LogCatReceiver's
can be instantiated independent of the UI, and are reused by the UI
whenever needed.
Change-Id: I46008cbd5ee41880372a62e7e09634ce2d2fc122
|
|
|
|
|
|
|
| |
Add a preference where users can set the size of the message list.
Defaults to 1000.
Change-Id: Ia888c3802f07607274bfbdca0ade8fbda009ba55
|
|
|
|
|
|
|
|
|
| |
On Mac, Link widgets to not enforce SWT.WRAP style. As a result,
text is just clipped instead of being wrapped. Split the privacy
policy text into two separate components - one with the text, and
one with the link, and use Label's for the longer text content.
Change-Id: Ic667b9ec62c0ce26c43611b97e0bbdc89dbc68d6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch addresses Issue #15267. The primary issue is that the SDK
stats permission dialog was opened from a separate Job, and this
dialog shows up when the user opens the preference page for the
first time. Since both of them happen to be modal dialogs, the
behavior is inconsistent, and many times results in a blocked UI.
The patch fixes this issue by opening up the stats dialog as a child
of the preference page dialog within ADT, and as a child of a new
shell within DDMS.
Change-Id: I8c9ed9e9bbfac855435690f287b4f60975f336fb
|
|
|
|
|
|
|
|
|
|
|
|
| |
This reverts the way Change I14dba0dd was sending
the Eclipse version. Instead of passing a new attribute,
we reuse the existing "app=>version" format, with a
specific app name of "eclipse". Since versions are
reformated in 4 parts, it will report something like
"3.5.0.0" (only major+minor and 2 zero sub parts).
We don't send more details than that (e.g. Milestones).
Change-Id: Id01e3ed6b96ea4ce4e1b4f643d08a050291a6e7b
|
|
|
|
| |
Change-Id: Idbf3bc093f2a049b5e0e0cd9605a6f8bdc8f7723
|
|
|
|
|
|
|
| |
The old view can be activated by setting the env variable
ANDROID_USE_OLD_LOGCAT_VIEW.
Change-Id: I006aaba26f323b12b6da70f22f8584ad76fb5041
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
Create all columns using TableHelper.createTableColumn which adds
listeners that save the column width whenever they are resized by
the user, and restores them on subsequent creations.
Change-Id: I35d09a981b94aa086899e3bf74f2243029c60b2b
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I14dba0dd7cb900c2e700e4da055aee7bb7d1f9cd
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This logcat panel will show up in ddms if it is launched with -Dcom.android.ddms.useNewLogCatView.
Currently, this implementation only displays a table with a list of logcat messages. It lacks
features such as filters, go-to source of exception, export to log, user preferences, etc.
Future patches should enhance the UI to achieve feature parity with older UI.
Change-Id: I3dde3c590c839318ce57bb5f005627f580ebb06c
|
|/
|
|
|
|
|
|
|
| |
As a first step towards replacing the logcat view, wrap the code that creates
and manages the current logcat view to first check which implementation to use.
The old implementation is used unless a JVM property
"com.android.ddms.useNewLogCatView" is set.
Change-Id: Idbdfcc55f0f5f28f7004b010875b89de8a4cea12
|
|
|
|
|
|
| |
8MB is getting to be too small for some purposes.
Change-Id: Ic711c426febf2e42634bd73a5be6211cfe66f4c0
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I ran the latest version of findbugs on our codebase and fixed some
(not all!) of the warnings.
I also ran with Eclipse 3.7 RC3 and updated our compiler warning
settings for the new warnings that are available.
I also fixed some DOS line endings in some files (formatted with CRLF
instead of LF).
Change-Id: I9a9d34a9b60f2cb609245793815d96a4587007b0
|
|
|
|
| |
Change-Id: Iba5860db0a56ab508d1ce155d0e079ab37eb2bc9
|
|
|
|
|
|
| |
This addresses some CL feedback from last week.
Change-Id: I1a121b3f294a395eb0f660d962c65c48d1760d7b
|
|
|
|
| |
Change-Id: I5f61e0c238520d8582e9bef8fa69c354a1165475
|
|
|
|
| |
Change-Id: I32121a336e5b3256ef1661fff5afe84741295d08
|
|
|
|
|
|
|
|
|
|
|
|
| |
DDMS requires an osgi.jar, which is correctly
declared in the manifest. It is however not
declared in the classpath used by Eclipse.
The consequence is that trying to use the pref
panel when running ddms from eclipse crashes
with with a ClassNotFound exception.
Change-Id: I204232a608be0da584577d13f5649d03bb542976
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- ddms and (one of) hierarchy viewer perspective.
- feature about for traceview/hierarchyviewer
- use the draw9patch icon for the resource view in ADT
- use the emulator icon for the emulator control view in DDMS
- use the new android icon for the ADT wizard.
Also standardized on <toolsname>-<size>.png for the icon names.
ADT uses android-##.png
Change-Id: I1ce2a0dae5d256049b381552bd89aef717f51da6
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changeset integrates a new set of application icons by Roman
Nurik for the various SDK tools: DDMS, Hierarchyviewer, Traceview, the
SDK manager, and the Eclipse about box icon.
We have new icons with the same visual look for draw9patch and
emulator as well, which are not integrated here. Draw9patch is written
in Swing, so it doesn't have a way to set a dock icon on the Mac
(other than with a startup script modification to pass -Xdock:icon,
which means we also need to bundle the .icns image outside its
.jar). I couldn't find the place the emulator dock image is set so I
will ask around and file a separate CL for that.
Change-Id: Idbb2212b8d0d5f1bd2d41b3576079ff409c7e9c8
|
|
|
|
|
|
|
|
|
| |
This action allows the user to create a new folder if the current
selection in the tree is a folder. It executes the "mkdir" command
on the device. If an error occurs during execution, a popup is
displayed.
Change-Id: Id94485502849679ee9c753882b3e46f30e0edd1e
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Also fix some makefiles to make sure the notices are
picked up.
- move the makefile outside of the source folder.
- resources are now in the source folder directly instead
of being inside src/resources. It's much simpler.
Change-Id: Ica8ee4c2bc8a9b035d23fc914d4137cdca7e567d
|
|/
|
|
|
|
|
|
| |
This can be a matter of personal taste, but I find it a lot
more readable to write an if {} else {} sometimes, and it's
perfectly valid, so really it shouldn't be marked as a warning.
Change-Id: Iac1b9bd5f9602b5018f7432422e0a083f4836490
|
|
|
|
| |
Change-Id: I9837714c5673d43fa7108b16ab264f1017c4bd3d
|
|
|
|
|
|
|
|
|
| |
With those changes the ADBHOST variable can be
directly set in the Preferences of DDMS and Eclipse,
so that the user can reset adb from inside those
two programs.
Change-Id: I94b24744e8daa3b3b2fe5a3db39203b39cb093ac
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
There were a number of // $NON-NLS-1$ references in the codebase.
Eclipse's "Externalize Strings" functionality will not handle these
correctly; there must not be a space between the "//" and the "$NON"
tokens.
(I left AndroidXmlEditor.xml alone; it is the file I discovered
the problem in but I fixed those references as part of another
pending checkin.)
Change-Id: If185c88a667273af614f0bee5959fd2618756c05
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
These were not setting the "bin dir" properpty correctly,
and as a consequence the tools complain they can't find adb.exe.
The fix is to set it to the directory of the script but to
avoid spaces-in-path issues we use the "~fs" modifier to get
a space-free short name for the %cd% value. And since we can't
use use %cd% combined with ~fs, we use a for loop trick to set it.
Note that ddms.bat was in unix end-of-line mode so I changed it
back to DOS end-of-line mode.
Change-Id: Ic9e55643b551898043add27c12193a0949f40bb0
|
|
|
|
|
|
|
| |
The env var is used if the system property is not defined,
which is convenient to start ddms in debug mode from Eclipse.
Change-Id: I2a33c12399c703cf3194e2e67f39562ab0d59bd9
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Fix a couple of issues in ddms:
First, fix the code to remember the path you last opened the file
chooser with; if there is nothing in $lastImageSaveDir, it should look
at $imageSaveDir (which is the variable the default setting
($user.home) is initialized into).
Second, and this seems to be Mac specific, the
FileDialog.getFilterPath() call does not return the path you have
navigated to, which means that on the Mac it never sets
$lastImageSaveDir correctly - it always sets it to the original
suggestion. The fix is trivial - use File#getParent instead which does
the String manipulation to extract the parent portion of a string
which represents a path.
Finally, on Macs (only), make the keybindings use the Command key
instead of the Control key since that's the norm.
Change-Id: I1b0f381606f5373ddad973754e49ce07856a9bae
|