aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins
Commit message (Collapse)AuthorAgeFilesLines
* Merge "Show ADT toolbar icons only in Java perspective."Siva Velusamy2012-09-241-23/+9
|\
| * Show ADT toolbar icons only in Java perspective.Siva Velusamy2012-09-241-23/+9
| | | | | | | | | | | | | | Also remove new project wizard & new test project wizard toolbar icons. Change-Id: I84ee2984606034d2b8214fc6a5b8ae3c4e00d0bd
* | Improve the Device menuTor Norbye2012-09-241-30/+180
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | First, this changeset improves the device labels in the device menu to not only list the screensize and screen type (e.g. "FWVGA"), but the screen resolution and density category as well. Second, the device menu by default will show one submenu for every device manufacturer, with the corresponding devices listed within each of those sub menus. Out of the box the default file only lists Nexus devices, and this ends up with a bit of a suboptimal menu. This changeset handles this scenario better by inlining all the generic devices together in the top menu, and sorting them in reverse order. It also places the Nexus devices in this menu, ordered by reverse release date. Change-Id: I5015430e2dc48306e848ce7691810349415470e0
* | Merge "37688: Completion doesn't work with Library Project's resources"Tor Norbye2012-09-2123-17/+169
|\ \
| * | 37688: Completion doesn't work with Library Project's resourcesTor Norbye2012-09-2123-17/+169
| |/ | | | | | | Change-Id: Ifb95d96ee67acb0e4853c3c68d3a447a8409bd1b
* | Merge "Prevent potential NPE"Tor Norbye2012-09-211-1/+1
|\ \
| * | Prevent potential NPETor Norbye2012-09-211-1/+1
| |/ | | | | | | Change-Id: I4fa69bac844ebb0561382c8639b571b425306fd3
* | gltrace: Preserve alpha informationSiva Velusamy2012-09-212-36/+41
|/ | | | | | | | | While reading in framebuffer data into an SWT ImageData, the alpha values have to be set explicitly. This CL also moves toolbars to the right of filter bar. Change-Id: I628752382c82ff9df729590459fba09bf4f340b0
* Merge "Allow users to save current GL state to a text file."Siva Velusamy2012-09-218-0/+174
|\
| * Allow users to save current GL state to a text file.Siva Velusamy2012-09-218-0/+174
| | | | | | | | Change-Id: I7140f8e71167dc4a8fd8481782f29822844e28c7
* | Merge "Fix import statement"Tor Norbye2012-09-211-2/+2
|\ \ | |/ |/|
| * Fix import statementTor Norbye2012-09-211-2/+2
| | | | | | | | Change-Id: I09062e0d9982d4a42580693dc8cf0941d65597b5
* | Merge "gltrace: Do not save thumbnail images in memory"Siva Velusamy2012-09-215-67/+5
|\ \ | |/ |/|
| * gltrace: Do not save thumbnail images in memorySiva Velusamy2012-09-215-67/+5
| | | | | | | | | | | | | | | | | | | | | | | | These were originally saved with the idea that if the trace file itself was overwritten after it was parsed, we could display the thumbnail image atleast since we don't have access to the full image anymore. However, this hasn't turned out to be a common case, but it just uses up memory for large traces. Change-Id: I1152e23f29563f47b6818b89c5a50bf5ce2a5084
* | Merge "Add allowBackup lint security check"Tor Norbye2012-09-212-2/+10
|\ \
| * | Add allowBackup lint security checkTor Norbye2012-09-212-2/+10
| | | | | | | | | | | | Change-Id: I3b79bef6981d880fe6a545429754e03bd384645c
* | | Merge "Pre-dexed libraries."Xavier Ducrohet2012-09-212-3/+53
|\ \ \ | |_|/ |/| |
| * | Pre-dexed libraries.Xavier Ducrohet2012-09-212-3/+53
| | | | | | | | | | | | Change-Id: I5aabcf3d7acaa9573c991860db3fcc8ea34bc866
* | | Merge "Move some utility functions from AdtUtils to common"Siva Velusamy2012-09-2116-207/+33
|\ \ \
| * | | Move some utility functions from AdtUtils to commonSiva Velusamy2012-09-2016-207/+33
| |/ / | | | | | | | | | Change-Id: Ia6f5c55e07c7f60712472c8e850b7c4595c46671
* | | Merge "Validate user edits in XML files"Tor Norbye2012-09-2017-42/+719
|\ \ \
| * | | Validate user edits in XML filesTor Norbye2012-09-2017-42/+719
| | |/ | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Around ADT 15 or so we introduced a bunch of optimizations to run AAPT much less frequently, since with large projects it can take a long time, and end up blocking the UI if you try to save twice. Unfortunately, one side effect of this change is that if you edit only the *value* of an attribute, we will not re-run aapt, which means that if you set the value to a bogus value, you will get no error message until the next time AAPT runs (usually when you try to run). This changeset fixes this. We already have the attribute metadata which aapt uses, so now, when an XML file is changed and saved, we process it with an XML pull parser, and validate all the Android namespace attributes. If any are found to not be correct, then we request a full AAPT process, which will then display errors as appropriate. Change-Id: I374c19648e29c27c6d82616b3ee602cb2343cd3a
* | | Merge "37497: Templates should escape string literals in resource files"Tor Norbye2012-09-209-0/+380
|\ \ \ | |_|/ |/| |
| * | 37497: Templates should escape string literals in resource filesTor Norbye2012-09-189-0/+380
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If the user enters an activity title like "Android's Tools" in the new template wizard, an invalid strings.xml file is generated, since the apostrophe is not properly escaped. To fix this, there's a new string conversion method in the template engine, "escapeXmlString", which will perform all the necessary conversions. It also adds two other XML escaping functions: one to escape text to be suitable for XML attribute values, and one to be suitable for XML text values. Finally, when verifying this, I discovered that if I inserted ampersands in the MasterDetail template, I ended up with errors in various places there a filename was derived from the input string. To help make this work better, there's also a new "extractLetters" method which pulls all the characters out of a string (effectively stripping whitespace and punctuation). In addition to the above 4 new string conversion methods, the templates have been updated to use them, and the template format documentation updated. Change-Id: I4d4e854ab78d63bc86b8eb0fb9d92246534615e7
* | | Merge "gltrace: Allow exporting current frame to a text file."Siva Velusamy2012-09-202-9/+126
|\ \ \ | |_|/ |/| |
| * | gltrace: Allow exporting current frame to a text file.Siva Velusamy2012-09-192-9/+126
| | | | | | | | | | | | | | | | | | Also adds toolbar actions for expanding/collapsing all tree nodes. Change-Id: I410b23fb4c5ab90351b969296f2620fe36726785
* | | Merge "Improve last editor mode handling"Tor Norbye2012-09-198-29/+110
|\ \ \ | |/ / |/| |
| * | Improve last editor mode handlingTor Norbye2012-09-198-29/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | We recently added the ability for the IDE to remember whether you last edited an XML file in text mode or in graphical mode (see issue 31340). However, this was tracked with a single boolean flag, which meant that it was an "all or nothing" flag. However, you may want to always edit string resource files with the XML editor, but you want to always use the graphical editor for the manifest file. In this changeset, the state is kept in a bitmask instead, which allows us to track the broad editor types separately. With this, new editors are opened according to the last mode you used for that type of editor. (Note that it tracks "categories" of editors, not individual resource types, so for example the editor for color resources and the editor for state list drawables share the same last mode as the string resource editor. This is because these editors share roughly the same graphical editing capabilities.) (The CL also contains some minor code cleanup.) Change-Id: I4624dffa2349230684c0558a33081adda8d799b2
* | | Merge "gltrace: Allow ability to save images"Siva Velusamy2012-09-195-7/+110
|\ \ \
| * | | gltrace: Allow ability to save imagesSiva Velusamy2012-09-195-7/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Add a toolbar item that allows saving images displayed in the view. This allows saving of frame buffer image at the point of eglSwap, glDraw, and the texture image. Change-Id: Ie1df75e41fc12981c2b7f5919caeb39b68812cff
* | | | Merge "gltrace: Better progress indicator"Siva Velusamy2012-09-191-1/+16
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | gltrace: Better progress indicatorSiva Velusamy2012-09-181-1/+16
| | | | | | | | | | | | | | | | | | | | | Use the percent of file parsed as an indicator rather than having an indeterminate progress bar. Change-Id: I7a904e007c6ec195cb0e0bb2de7483e3b585489b
* | | Merge "Generate smaller R classes for libraries."Xavier Ducrohet2012-09-183-26/+44
|\ \ \ | |_|/ |/| |
| * | Generate smaller R classes for libraries.Xavier Ducrohet2012-09-183-26/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Using the new --output-text-symbols from aapt the build system now generates the R class for libraries manually based on the symbols exported by the libraries and the final values computed by aapt when using all the resource folders. Because only R.java is concerned, the Manifest class is now included in the library jar file. Also added a new test apps that uses instrumentation to verify the build system. Change-Id: Ic436ea8eb070844e9db8b3b2620fbf665839d40b
* | | Merge "Add Android IDE package product build"Siva Velusamy2012-09-1812-16/+250
|\ \ \ | |/ / |/| |
| * | Add Android IDE package product buildSiva Velusamy2012-09-1812-16/+250
| | | | | | | | | | | | Change-Id: I42426009df581ff51389f0641eab053ac706d723
* | | Merge "Improvements to stacktrace handler for constructors"Tor Norbye2012-09-182-4/+41
|\ \ \
| * | | Improvements to stacktrace handler for constructorsTor Norbye2012-09-182-4/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset improves the SourceRevealer for certain types of stacktraces: (1) Constructors. If your class initializes fields using code, these are logically grouped into the constructor, but the linenumbers do not fit the constructor source range. Before this CL, this would cause the revealer to show the constructor method rather than the field initialization line. (2) Class initializers. If you clicked on a class initializer method, the IDE would throw an NPE. There's now some special handling to deal with these. Change-Id: Ibb3b7dcf13a69018f75fd12648d1f6b5c45625cc
* | | | 37546: Graphical layout in Eclipse does not render unicode charactersTor Norbye2012-09-184-0/+68
| |_|/ |/| | | | | | | | Change-Id: I1fd07245e68b39af16a38bcec8a711867e87e5c6
* | | Rename ide_common to sdk_commonSiva Velusamy2012-09-183-3/+3
|/ / | | | | | | Change-Id: I1b39ee439a532f3f6758be35b569948e2e906665
* | Merge "Manifest Editor: class selector for <application backupAgent>."Raphael Moll2012-09-174-95/+75
|\ \
| * | Manifest Editor: class selector for <application backupAgent>.Raphael Moll2012-09-174-95/+75
| |/ | | | | | | | | | | | | <application android:backupAgent> needs a class selector that accepts classes deriving from BackupAgent. Change-Id: Id2e72e85967bc31a67d1eff2c342bcf7acc2cb3c
* | Add nullness annotations on overridden methodsTor Norbye2012-09-171-1/+2
| | | | | | | | | | | | Eclipse 4.x requires it. Change-Id: Iababca14d8edc8d62bce42f23ee26633dc49cf8c
* | Merge "Code cleanup"Tor Norbye2012-09-1717-27/+27
|\ \
| * | Code cleanupTor Norbye2012-09-1717-27/+27
| | | | | | | | | | | | | | | | | | Replace "this.mFoo = foo" with just "mFoo = foo". Change-Id: I44d537ebb62cd7e5c8493a0b50dcb527cd20f91c
* | | Merge "Support separate layout editors for a single layout resource"Tor Norbye2012-09-1736-4084/+5413
|\ \ \ | |/ / | | / | |/ |/|
| * Support separate layout editors for a single layout resourceTor Norbye2012-09-1736-4084/+5413
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset changes the "reuse" behavior of the layout editor to no longer reuse the same layout editor when you are switching between alternate layout files for the same layout resource, such as layout/foo.xml and layout-land/foo.xml. This lets you more quickly switch back and forth and inspect differences between the layouts, etc. There is also an option in the Android > Editors panel to turn on single editor sharing again. The biggest part of the changeset, by far, is a cleanup of the ConfigurationComposite class and associated code. This was necessary not just to support the above feature (where we need to "back out" UI changes when you've made a configuration edit which results in a different file getting opened), but it's also an important preparation for multi configuration editing, where we need to be able to switch configuration settings in and out of a single configuration editor, etc. The configuration data itself is now in a separate Configuration class; the UI is in ConfigurationChooser, and the configuration matching code is in ConfigurationMatcher. There's also a new Locale class to track language/region pairs instead of using 2-element ResourceQualifier arrays. The various menu listeners are also in separate UI classes now. While there are new classes, most of the configuration matching algorithm is unchanged, just moved to a new class and the UI syncing and configuration data lookup replaced. Bitmasks are used to handle configuration changes, such that updating multiple related attributes (e.g. a rendering target change also causes a theme change if say Holo isn't available) can now be processed just once with a single change call. (Various other cleanup too.) Change-Id: I04ac969f46824321be3db0c487ef077c03cc6012
* | Fix build: InstanceScope.INSTANCE is not available in 3.6Siva Velusamy2012-09-171-2/+2
| | | | | | | | Change-Id: If96389ad844e19eeed86008edc40bc81778dd0d7
* | Merge "gltrace: Allow fully qualified activity names"Siva Velusamy2012-09-174-10/+43
|\ \
| * | gltrace: Allow fully qualified activity namesSiva Velusamy2012-09-174-10/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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