aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse
Commit message (Collapse)AuthorAgeFilesLines
* Fix 30018: Flashing layout actions bar on WindowsTor Norbye2012-05-074-12/+124
| | | | | | | | | | This changeset makes the layout actions bar attempt to update itself less often. Frequently, the existing toolbar buttons can be repurposed (just bound to a new underlying selection object) instead of completely replacing the contents each time. This fixes a flashing issue on Windows but is also more efficient on all platforms. Change-Id: I82f496e546c5104ef55630b0fb8243c75ba26e63
* Merge "Add nullness metadata"Tor Norbye2012-05-071-26/+50
|\
| * Add nullness metadataTor Norbye2012-05-071-26/+50
| | | | | | | | Change-Id: I4496147aaf1d101ab2762ef1e5dbd96f66b602a3
* | Merge "Open hprof files if hprof content type is supported."Siva Velusamy2012-05-071-0/+10
|\ \ | |/ |/|
| * Open hprof files if hprof content type is supported.Siva Velusamy2012-05-071-0/+10
| | | | | | | | | | | | | | | | | | | | | | When hprof files are obtained from the device, they are saved by default. This patch changes the default to open the hprof file if it is a registered content type implying that there is an editor for it. This fixes http://code.google.com/p/android/issues/detail?id=21297 Change-Id: Ic89eb59855888daa4775852181d2af245c8893d9
* | SDK Manager change format of revision property.Raphael Moll2012-05-041-5/+8
|/ | | | | | | | | | | | | Instead of storing the full revision as 4 separate properties, this stores it using the legacy "Pkg.Revision" property with the "1.2.3 rc4" format. It reduces the number of properties to maintain, it's more human-readable and it's easier when we want to have min-tools-rev be a full revision in the next CL (otherwise it means 4 more properties, etc.) Change-Id: I94ebc4786e83c5b565a6d3a33d11efdfda6f72c5
* SDK: Fix ADT build.Raphael Moll2012-05-031-1/+1
| | | | Change-Id: Ib779e8e692f285e7a5afa5d3385954b73b63d28a
* Merge "logcat: Remove JFace TableViewer and use SWT Table directly"Siva Velusamy2012-05-031-8/+9
|\
| * logcat: Remove JFace TableViewer and use SWT Table directlySiva Velusamy2012-05-031-8/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch fixes a bunch of outstanding issues related to scrolling in the presence of a full buffer. Currently, the logbuffer is provided as the input model to the TableViewer, and ViewerFilter's are used to filter the data. This patch removes the JFace toolkit and directly works on the SWT Table. When log messages arrive, rather than refreshing the entire table, we can now just delete the TableItems corresponding to the logs that were pushed out, and add new TableItems for the incoming logs. At steady state, this implementation performs far less work than the previous implementation. However, during startup, this implementation will perform more work since it does not use the SWT.VIRTUAL bit (as all TableItems are created anyway). Also, zebra striping has been removed to avoid appearance of flicker when scroll lock is on. Auto scroll lock behavior has been removed, and scroll lock button behaves exactly like the scroll lock button in an Eclipse console. Change-Id: Ic14487f7ad41338a581aed0ba2d85d292a584950
* | Fix image resource leakTor Norbye2012-05-021-0/+11
| | | | | | | | Change-Id: I5aae62f308b16bef6027cc57d880b6a0670b57da
* | Move kxml2 to prebuilts/miscJean-Baptiste Queru2012-04-301-2/+2
| | | | | | | | Change-Id: I3a939238911ae7c09bb75b27e1ce623777cd4e18
* | Merge "Make XML code completion work for custom views & attributes"Tor Norbye2012-04-2713-19/+288
|\ \
| * | Make XML code completion work for custom views & attributesTor Norbye2012-04-2713-19/+288
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset improves the custom view handling such that XML code completion offers any custom attributes (along with documentation tooltips and type information). This is done by finding any declare-styleable attributes defined in the project defining the custom view. In particular, this will also work for the GridLayout library project shipped as part of the android.support package. The fix is not tied to completion; it's improving the metadata descriptors computed for custom views, so this fix for example also makes these custom attributes show up in the property sheet in the layout editor. Finally, this changeset fixes a couple of bugs in this area: - One initialization path was not looking up custom views for unknown descriptors, this might be the fix for http://code.google.com/p/android/issues/detail?id=23020 - There was a bug in the code which looks up the namespace prefix to use for a given namespace URI: it would return the default Android prefix for some non-Android URIs. - Small performance tweak to avoid regexp construction in a loop where it's not needed Change-Id: I55dfcea6e6ea9d7c38e18a47b757678176facbd2
* | | Merge "ADT: Fix NPE when converting legacy default.properties"Raphael Moll2012-04-272-1/+7
|\ \ \
| * | | ADT: Fix NPE when converting legacy default.propertiesRaphael Moll2012-04-272-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | SDK Bug: 29627 for details. - in Sdk.getProjectState, return the new property state instead of the legacy one. - in AndroidPropertyPage.performOk don't fail if the ws doesn't contain the project.properties that needs to be refreshed. Change-Id: I78fe3cdfd37b412fb572faf2abe283a3f9f7c24c
* | | | Merge "Prevent ADT NPE when project has no project.prop file."Raphael Moll2012-04-271-0/+4
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Prevent ADT NPE when project has no project.prop file.Raphael Moll2012-04-271-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | There's an internal NPE when initializing the library classpath container if a project has neither a default.properties or a project.properties. See SDK Bug: 29632 for details. Change-Id: I5e3fda0b84beaf47d59fb102439695a32491e5f8
* | | Test fix: The image parameter is mandatoryTor Norbye2012-04-252-9/+11
| |/ |/| | | | | Change-Id: I9b8ca8e0384f1cb2343d13e8e43b268c63ed4dcb
* | am 163c8707: Merge "Add splash screen for monitor."Siva Velusamy2012-04-252-1/+2
|\ \ | | | | | | | | | | | | * commit '163c870799f94a1b70429749c67588cf898df0d0': Add splash screen for monitor.
| * | Add splash screen for monitor.Siva Velusamy2012-04-242-1/+2
| | | | | | | | | | | | | | | | | | The file needs to be splash.bmp even though it is a PNG image. Change-Id: I65a56019e4f79e5d755b1a38443862d7ad091893
* | | Remove Mac launcher icon for monitor.Siva Velusamy2012-04-251-1/+0
|/ / | | | | | | | | | | Until we figure out why this doesn't work on the build server. Change-Id: I84865dca96a4161c41ada227a6ca42bebbff8446
* | Fix misc. issues in monitor branding.Siva Velusamy2012-04-245-3/+12
| | | | | | | | | | | | | | | | | | | | - Fix about text dialog - Fix SWT window name to be "Monitor". - Fix application icon used on Mac - Add location of splash screen. The actual splash.bmp will be added in a later CL. Change-Id: I9bed1836c66ba3a304237ed94e0f329dee43859e
* | Add missing plugin to monitor product definition.Siva Velusamy2012-04-241-0/+1
|/ | | | | | | Without ui.cocoa, the About and Preferences Dialog will not show up on Mac. Change-Id: I2895f224b13f688a48b50ce594a9d81827e41129
* Merge "Allow src/doc attachement for 3rd party jars in libs/"Xavier Ducrohet2012-04-231-3/+83
|\
| * Allow src/doc attachement for 3rd party jars in libs/Xavier Ducrohet2012-04-231-3/+83
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Since those jars are added dynamically through a classpath container, the devs cannot set the source path and the javadoc through Eclipse UI (container don't allow editing those). To fix this, and to make sure that both paths are picked up not only by the current project, but also by other projects (if the current project is a library project), the value is set by a file sitting next to the jar file. The file is name after the jar file, adding .properties at the end. For instance foo.jar -> foo.jar.properties It can currently contain 2 properties: src: relative or absolute path to the source folder (or archive). doc: relative or absolute path to the javadoc. Change-Id: I4f716374ac99479caf65453973bcb1f35ba84590
* | Merge "SDK: build 'monitor' tool and package it in the SDK."Raphael Moll2012-04-236-271/+0
|\ \
| * | SDK: build 'monitor' tool and package it in the SDK.Raphael Moll2012-04-236-271/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixed with Siva to use the 'ant' builder from Eclipse's baseBuilder jars. Changed to use: - the new external/eclipse-basebuilder for the basebuilder jars. - the rcp deltapack, located prebuilts/eclipse. - monitor scripts are now in sdk/monitor. - configuration is now in out/host/eclipse/rcp/build/configuration and doesn't change any existing repos. Requires change I7ab027ff6 from build.git Change-Id: I72fff09231fc9b3031c10eb42ff821c55af9b5d5
* | | Merge "PDT: Support projects that are not the entire tree."Siva Velusamy2012-04-231-21/+95
|\ \ \
| * | | PDT: Support projects that are not the entire tree.Siva Velusamy2012-04-201-21/+95
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Currently, PDT's project selector only returns the project that is created at the root of Android tree. This patch allows the use of smaller projects inside the Android tree. If multiple such projects are open in the workspace, the user is prompted to pick one. Change-Id: I9784ad69ab3c3636dabbdf477e538e74e1f29d3c
* | | | Export sdklib for ADT plugin.Raphael Moll2012-04-231-0/+3
| |/ / |/| | | | | | | | Change-Id: Iac2d8306f2b4fe64f25acda839d7bf05611cbb73
* | | Relocate emulator control panel in DDMS perspective.Siva Velusamy2012-04-231-5/+1
| | | | | | | | | | | | Change-Id: If2b847d6937ea64b2727ff78f1c94850f91da81b
* | | Merge "monitor startup: check for null sdk path."Siva Velusamy2012-04-231-2/+7
|\ \ \
| * | | monitor startup: check for null sdk path.Siva Velusamy2012-04-231-2/+7
| | |/ | |/| | | | | | | Change-Id: I9da6a189b6b2660bd0f29752feb0e6666a5889ba
* | | Merge "Improve XML CData formatting"Tor Norbye2012-04-232-5/+51
|\ \ \
| * | | Improve XML CData formattingTor Norbye2012-04-232-5/+51
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix 29277: Strings XML formatter: unwanted whitespaces inserted when using CDATA section http://code.google.com/p/android/issues/detail?id=29277 This changes the XML formatter to keep CDATA sections not containing newlines to keep the CDATA on the same line without indentation or newlines, and multi-line CDATA sections to be separated on their own line and flushed left. Change-Id: I8576cff87e2880b0264479cc24c54cecc7841340
* | | Remove assertionTor Norbye2012-04-201-1/+0
|/ / | | | | | | | | | | The assertion is no longer valid Change-Id: Idc138d62343e7cf671a0a904991e39872aac26bb
* | Merge "Fix NPE"Raphaƫl Moll2012-04-201-1/+3
|\ \ | |/ |/|
| * Fix NPETor Norbye2012-04-191-1/+3
| | | | | | | | | | | | | | Raphael ran into this; not sure how to reproduce, but the API for the method called says it can return null so guard against it. Change-Id: I2cf758aa68c6ab7e3b1d2f68110c8fc058735406
* | Merge "monitor: ping back on startup"Siva Velusamy2012-04-203-0/+99
|\ \
| * | monitor: ping back on startupSiva Velusamy2012-04-203-0/+99
| | | | | | | | | | | | | | | | | | Just like DDMS, send a ping during startup. Change-Id: Id4f1f3cf2daec772f6566faaeb75ad7f8fe0a239
* | | Fix asset studio generator cropping and clipart foreground colorTor Norbye2012-04-192-5/+82
|/ / | | | | | | | | | | | | | | | | | | | | This changeset fixes the asset studio wizard such that (1) the crop button is enabled and functional (2) the clipart generator uses the foreground color to color the clipart mask (3) Makes the padding work for images and clipart (this is 20392: Android Asset Studio integration bug) Change-Id: I335fb51f7dba3544e97f0132d5d53afb47a5fe20
* | Merge "Improved layout window management"Tor Norbye2012-04-1917-216/+842
|\ \
| * | Improved layout window managementTor Norbye2012-04-1917-216/+842
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset improves the way the layout editor handles windows. In particular, it attempts to make the property sheet and the outline more visible. Specifically: * It adds the WindowBuilder docking support, which offers several new features: (1) You can collapse and expand the palette and structure views. If you hover over a collapsed palette (for example) it temporarily opens, and when you drag from it over to the canvas it collapses again. (2) The initial size is pixel based rather than percentage based, so the default palette size is more reasonable on large displays (it used to always take 20%, which was fine on a small screen but a waste on larger screens). (3) You can drag & drop to reconfigure the layout a bit. (This is fairly limited though; in particular, you cannot drag these views out of the editor area and mix them with Eclipse views.) * When the property sheet view is not shown anywhere else, it is shown as part of the outline instead (sharing the vertical space). This works better for the new property sheet implementation since it works better as a vertical window than a horizontal window. * When the outline is not shown anywhere else, it is shown in a new composite window *inside* the editor area. This mode is also entered when you temporarily maximize the layout editor window. * The layout canvas is auto-fit-zoomed when you enter and exit maximized mode, as well as when you open or close docked windows within the editor. The goal is for these changes to offer a good layout editing experience with the outline views and property sheets *without* using a new perspective for layout editing. Note that this is not identical to what WindowBuilder does; they always embed both the palette and the structure views within the editor area, which means the structure view is typically redundant with the outline view on the right unless you maximize the view. With the approach above hopefully we'll avoid that case and you'll always see the views without redundancy (and therefore with more available space for the layouts). Change-Id: I0d338b2781b9732e992f088fcc4e1ba46ff0954f
* | Merge "Update paths to use Eclipse 3.7.2."Siva Velusamy2012-04-191-3/+3
|\ \
| * | Update paths to use Eclipse 3.7.2.Siva Velusamy2012-04-191-3/+3
| |/ | | | | | | Change-Id: Ie01a2d1f71b1a2edfbdad717de3e7e252b9f4fe2
* | Merge "SourceRevealer: Unify fqmn and file name based searches."Siva Velusamy2012-04-1910-206/+249
|\ \
| * | SourceRevealer: Unify fqmn and file name based searches.Siva Velusamy2012-04-1910-206/+249
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | logcat provides two different ways to resolve the source corresponding to a stacktrace: the primary method is to search for file name and line number, and the secondary method is to search for the fully qualified method name. Which method is used depends on a preference setting. This patch makes the following changes: - Resolution now uses both the methods - it first tries to resolve using the fqmn, and then improves the result using the filename/ linenumber if that is available. - Since both methods are used, the preference setting can be removed. - If there are multiple search results, rather than always jumping to the first result, user will be prompted to select a result This fixes http://code.google.com/p/android/issues/detail?id=18514 Change-Id: I1abdfe5f7e70423fb04d62f1092e1a8037537837
* | Work around initialization bugsTor Norbye2012-04-191-1/+8
|/ | | | | | | | | | | | | | | | This bug fixes some bugs related to resource initialization. Note that these are probably not fixing the root cause, but they are making the symptoms less severe. I happened to run into a scenario where I triggered the problem (the editor came up blank, see issue http://code.google.com/p/android/issues/detail?id=21935 for example), and I verified that reopening the editor after these fixes worked. How the resource repository came to be empty to begin with is not clear. In addition to issue 21935 this workaround may also help with issue http://code.google.com/p/android/issues/detail?id=17522 Change-Id: I0166e8c58c790888d53c46ca03348a0d8edc75b0
* Merge "JunitLaunch: Add option to run tests based on size."Siva Velusamy2012-04-196-3/+108
|\
| * JunitLaunch: Add option to run tests based on size.Siva Velusamy2012-04-186-3/+108
| | | | | | | | | | | | | | | | | | InstrumentationTestRunner allows running only tests annotated with @SmallTest, @MediumTest, or @LargeTest. This patch exposes this setting in the launch configuration dialog. Change-Id: Ica06b1731b4ec50854be40e3ee578bdfb12117eb Fixes: http://code.google.com/p/android/issues/detail?id=27569