| Commit message (Collapse) | Author | Age | Files | Lines |
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Add a separate checkbox to allow the user to indicate whether
the input activity name is fully qualified. In such a case, don't
prefix the activity name with a period.
Also fixes a formatting issue with the trace file size.
Change-Id: Ib4bf2b716e218e86a273200748fbd06c86918ce3
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
A simple unit test to display that an update is available.
This will get more complex later. The cache is mocked and
the whole test should be independant of the user's actual
settings and local cache, with no network access.
Change-Id: I58ff45895916a14a10f501a9bd664782d777ed42
|
| |
| |
| |
| |
| |
| |
| |
| |
| | |
The change is that the manifest merger will only accept a codename
if it's invoked in a context that can resolve that codename to an
API level. This allows to produce an error on bogus codenames and
to properly check that the API levels match appropriately.
Change-Id: Ic70c0c3690b13d94dba81bb78cc09386016b2ef1
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The widget listeners which update the wizard state when you change the
min sdk version, or the target sdk version, went missing in changeset
4ef523b33a392e6c9ca40, probably because a cut & paste operation of a
widget in WindowBuilder (to move it in the hierarchy) also sometimes
removes associated event handler code in other methods (!).
This CL restores this code.
Change-Id: I2501d5e223bec88ebbe74d6fafcc7d7588d6204e
|
|\ \ \
| |/ / |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changeset moves most constants into the SdkConstants
class, and gets rid of AndroidConstants and LintConstants.
It also migrates all non-ADT specific constants from
AdtConstants into SdkConstants. It furthermore moves various
other constants (such as those in XmlUtils and ValuesDescriptors)
into the constants class. It also fixes the modifier order
to be the canonical modifier order (JLS 8.x).
Finally, it removes redundancy and combines various constant
aliases such that we don't have both NAME_ATTR and ATTR_NAME
pointing to "name", etc.
Change-Id: Ifd1755016f62ce2dd80e5c76130d6de4b0e32161
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL performs two changes:
- Refactors the predicate to decide whether an AVD can run
an application into a separate class.
- Fix the AUTO launch mode to properly check compatibility using
this new class as opposed to just checking against the project
build target.
Change-Id: I9e0056e7fb855a18e7a14fe61af11682538dcc51
|
|/
|
|
|
|
|
| |
While initially setting up the target launch mode (auto/manual/etc),
make sure that mode change listener is called.
Change-Id: Ib2fa9128909b31275efc1487fe0d192cc8dc3b1e
|
|\ |
|
| |
| |
| |
| |
| |
| | |
This is to support a template name update in issue 36890.
Change-Id: I47458c094c8dd601e086da0cb1c6fafb7680b58c
|
| |
| |
| |
| |
| |
| |
| | |
Similar issue fixed by patch d1daeae66a0ebdf53076038dc4a1fe099c4141fb
but this time for the AvdManager.
Change-Id: I10af39d364e427d593078f8bfa23bba3ba7e1558
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The list of AVD's capable of running a particular application
should be determined based on the application's minSdkLevel
rather than the current build target.
Change-Id: Id6428652ebe0ceb8e1a81e90e2146f1aab44c975
|
|\ \ \ |
|
| | |/
| |/|
| | |
| | |
| | |
| | |
| | | |
Fragment tags should include an ID, as described in
http://developer.android.com/guide/components/fragments.html
Change-Id: I23001a6082db879443b289ef6fc3218b1525627a
|
|\ \ \
| |/ /
|/| | |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
Some extras have just a single "sample" directory
instead of having a samples/<sample_name> directory.
Support this and list them as valid samples.
Change-Id: I25bc59db0b9853d98385cca98f70bf261558fd8b
|
|/
|
|
|
|
| |
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=375421
Change-Id: I2b0c351bd85b7eb36bfca1fa975fffa8634a7445
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changeset collapses the layout property category by default in
the property sheet.
If you for example select a button in a RelativeLayout, the entire
property sheet would be filled with the various layout parameters in a
RelativeLayout, which meant you'd need to collapse or scroll
immediately anyway.
Even in other layouts, you typically only see properties such as width
and height there, which can usually be better manipulated in the
layout actions bar. This just makes the property sheet more useful
since it shows the other common attributes closer to the top.
Change-Id: I27d27f0453ac1b6897b80b0001e56e8690198bbb
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| | |
Provides the ability to obtain user options for systrace,
launch systrace with those options and save the results in
an HTML file.
Change-Id: I4564421b86ebb384e5bd2b3e2329249abd3771aa
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| | |
For now, text-oriented widgets declare their default action to
be to set the text attribute. Also hook up the default rename
keybinding to setting the id.
Change-Id: I14e8e06d0842759b1ac05e7e9494deb30b3cc40f
|
|\ \
| |/
|/| |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This is just a refactor to move classes around.
No functionality is actually changed.
The sdkman2 package contains classes that are now
sorted between "ui" and "core" packages. The core
stuff has no UI dependency and can be used in
unit tests, whereas the ui stuff needs SWT somehow.
In a later CL some of the UI stuff will be changed
to make it easier to mock for testing.
Change-Id: I86606df7992de6ca6ae1df95f7b712cbba4fd3b6
|
|\ \ |
|
| |/
| |
| |
| | |
Change-Id: I2d34f5a4ebeaff0a75abc7cdbb41132d860c95eb
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When exceptions are encountered during layout rendering, the user
experience isn't very good - the exceptions are sent to the IDE log,
and the layout editor view adds the error message from the exception
(which can sometimes be something like just "2", which is the case for
an ArrayIndexOutOfBoundsException for example).
This changeset improves this a bit:
* First, when the error message is just an exception error message,
it's prefixed by a message stating that an exception was raised
during layout rendering.
* Second, the first exception encountered is now shown in the layout
editor itself. Only the frames that are part of the android view
hierarchy is shown; all the frames from layoutlib and on down into
the IDE are omitted. Frames that are probably part of the user's
code (meaning they're not in the android.* or java.* namespaces) are
hyperlinkable.
* This also includes exceptions encountered during class
initialization. In this case, the tip message that View#isInEditMode
can be used to do conditional code is displayed in bold.
This changeset also fixes some bugs in the SourceRevealer such that it
can handle constructors, and such that it will use the line number to
pinpoint a line within a method (as long as the line number is in the
correct range).
Change-Id: I43b635eb24b8e0e64988958c56bdb7dbc1af7221
|
|
|
|
|
|
|
|
|
|
| |
We have some code which runs asynchronously to add or clean up
error markers. In some cases this code runs after a project has
been closed or deleted, which results in errors. Guard these
marker access points with an IResource.isAccessible() check
(which performs both exists(), and for projects, isOpen()).
Change-Id: Ie4884db13b1e00236c1c219d95c3544fcdee9610
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The existing hooks for closing the editor when the underlying file is
deleted was not working correctly, and was inefficient (since each
editor added their own global resource listener, so every editor would
find out about every other editor's file changes).
Instead, this generalizes the single editor listener which was used to
initialize editor types such that it also listens for deletion, and
then finds any open editor mapped to that file. It also hooks up to
the pre-close events for projects and closes all files related to the
project as well.
This will hopefully fix this issue as well:
20836: Can't delete a layout XML via Package Explorer > Delete if it
has an error
Finally, it removes a bunch of now obsolete logging code for an issue
which seems to be permanently fixed.
Change-Id: I90b38984639a605755f2d67ca2413cc925f730d1
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This CL adds a dialog to the locale menu in the configuration chooser
which makes it easy to add a new language into the set of languages
used by the project.
Also add some null annotations.
Change-Id: I70ea2f623e6c56684e7b2a51b391f472bf31529b
|
|/
|
|
|
|
|
| |
Unbind the text editor keybindings when any page other
than the text editor itself is shown.
Change-Id: I1681de20113b3c0627a23872100632f8d28bb698
|
|\ |
|
| |
| |
| |
| | |
Change-Id: I46630c51a4f055222fb614d73419cb28272b87de
|
| |
| |
| |
| | |
Change-Id: Ia51e3e2280c3d360496550df50a540571b9b7582
|
|/
|
|
| |
Change-Id: I1d1aa146fad375e06a26c4c60eb203588e7ca542
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This changeset adds a lint rule which looks for potential
leaks when using View#setTag(int, Object) where the Object
is likely to contain a strong reference to the context,
such as views and view holders.
http://code.google.com/p/android/issues/detail?id=26984
Change-Id: Ib606485d2b875d2129c339b9b89be0e444629408
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This changeset fixes the value completion such that you can add custom
values into properties that also have enum fields.
Rather than have separate completion routines for properties based on
whether they contain an enum, a flag, a reference, etc., have a single
completer which considers all the various formats and combines the
results.
In addition to combining results, this now also offers completion on
dimensions, and offers theme attribute values for references as well.
Change-Id: Idbc1799a34b3a3f14ea567654953925bf12afb8f
|
|
|
|
|
|
|
|
| |
Fix the commit prefs lint check such that it correctly identifies
scenarios where the innerclass "Editor" is referenced without its
qualifying top level class, SharedPreferences.
Change-Id: I3a22738508b66ce0b3e836feff91f816b2c368e8
|
|
|
|
|
|
|
|
|
|
|
| |
Since the first page is getting too large, rather than add
one more, split some of the contents into a second page.
In addition, the new project dialog was missing a workset
chooser like the old wizard had, so add one in on the new
page now that we have plenty room for it. Some other tweaks
as well based on input from Xav.
Change-Id: I4dd2334b2f5af623cba4bbb3a6d2d0b053d1763f
|
|\ |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
When you reopen a file you've already opened in the past, ADT will
open the file on the same page (graphical or XML) that you left it at.
However, new files are always opened graphically. This changeset will
change this such that if you manually switch to XML, new files opened
from that point open in XML, and if you switch to graphical mode, new
files are opened in graphical mode.
This will hopefully help those users who prefer to work in XML mode
without negatively impacting those who prefer to work in graphical
mode.
Change-Id: Ib229b22c31899c1cd9520e6ab48f5902d2782844
|
|\ \ |
|
| |/
| |
| |
| |
| |
| |
| |
| |
| |
| | |
Currently the device pulldown shows a single item,
"Generic", which itself contains the various generic
devices. This CL tweaks the display code such that if
there is just a single manufacturer, the items are
inlined in the top level menu.
Change-Id: If150becaa7dfe225f9ec8e861be1d67ede4f30c4
|
|\ \ |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
The configuration composite listens for device changes,
but the listeners were not unregistered when the layouts
were closed. Also, initDevices() could be called more
than once, which made the same listener be registered more
than once.
Change-Id: Ia679cf1b5b5a394748034277ef002af0107ba3e1
|