aboutsummaryrefslogtreecommitdiffstats
path: root/eclipse/plugins
Commit message (Collapse)AuthorAgeFilesLines
...
* | | adt package: Add .ico fileSiva Velusamy2012-10-242-1/+2
| | | | | | | | | | | | Change-Id: I342eb22a4c600b9a487e8d2ed01ca77b29d814b3
* | | Make welcome wizard a tiny bit configurable.Siva Velusamy2012-10-242-46/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The welcome wizard has two steps right now: installing an SDK, and opting in to data collection. This change allows the constructor of the WelcomeWizard to select which among those pages ought to be shown. This is useful in the case of the ADT package installation where we know there is an SDK, and hence we don't want to show the installation page. Change-Id: I41a0489c1d0617a4bb2882516f51bd8cd6925c32
* | | Start parsing SDK after the workbench is loaded.Siva Velusamy2012-10-233-35/+35
|/ / | | | | | | | | | | | | | | This CL moves the initial parsing of the SDK to after the workbench has been loaded. This allows early startup code to specify the location of bundled SDK if necessary. Change-Id: I21d98531dc6ddee0a615cbfc78c5aa470a6770ef
* | Merge "adtpackage: make adtpackage depend on, not include features"Siva Velusamy2012-10-231-1/+1
|\ \
| * | adtpackage: make adtpackage depend on, not include featuresSiva Velusamy2012-10-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | If adtpackage is declared to provide a bunch of features, then it doesn't seem possible upgrade those features to a later version. This CL makes adtpackage simply depend on those features being present, which allows for upgrading those features at a later time. In order to achieve this, we first build all the features, and dump them in the repository. Then the product build simply takes the collection of repositories, and the product definition, and creates the product. Change-Id: I8ff7a7ea05aea9f08d69c624499185ec1578fbdb
* | | Prevent potential NPETor Norbye2012-10-231-1/+2
|/ / | | | | | | Change-Id: Id2a5b2e73d70d11da9395b84488a75f4f793bf14
* | More gracefully handle restarting IDE with deleted filesTor Norbye2012-10-222-1/+7
| | | | | | | | Change-Id: I024103c1456a88f230db9b9d5aaf0fe2126a315e
* | Revert "Don't warn about missing SDK when bundled"Tor Norbye2012-10-222-18/+9
| | | | | | | | This reverts commit df23dac52a3af6e7e4dd485072a125ab3794d9ac.
* | Merge "Ensure that the configuration bar is visible"Xavier Ducrohet2012-10-222-1/+11
|\ \
| * | Ensure that the configuration bar is visibleTor Norbye2012-10-222-1/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This handles a scenario which can come up if you switch the SDK installation area, or start the IDE with a project that does not have a valid project property setting pointing to a valid platform. Change-Id: I645033707a575d9da86b619c2f97787957b1200b
* | | Merge "adtpackage: Fix version number in product definition"Siva Velusamy2012-10-221-1/+1
|\ \ \
| * | | adtpackage: Fix version number in product definitionSiva Velusamy2012-10-221-1/+1
| | | | | | | | | | | | | | | | Change-Id: I5d11dbf91b54c29ae823c6e98c978a198f6c9119
* | | | Merge "Don't warn about missing SDK when bundled"Tor Norbye2012-10-222-9/+18
|\ \ \ \ | |/ / / |/| | |
| * | | Don't warn about missing SDK when bundledTor Norbye2012-10-222-9/+18
| |/ / | | | | | | | | | Change-Id: I88d76329ab5f3afa4fda338c170a78bef1939165
* | | Merge "adtpackage: Include features, not plugins."Siva Velusamy2012-10-222-3/+3
|\ \ \
| * | | adtpackage: Include features, not plugins.Siva Velusamy2012-10-222-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | This should maintain compatibility with upgrading features provided by ADT plugins. Change-Id: I9a711fd0a9239cfeea421919a2789c82a93899da
* | | | Merge "adtpackage: Update 16 and 32 bit icons"Siva Velusamy2012-10-224-4/+1
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | adtpackage: Update 16 and 32 bit iconsSiva Velusamy2012-10-224-4/+1
| | | | | | | | | | | | Change-Id: I521d25a68cd80444bc58f08c4b3939501197517d
* | | SDK Manager: fix SWTMenuBar crash on MacOS X Mountain Lion.Raphaƫl Moll2012-10-221-6/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The bug happens when the SDK Manager is open using the embedded class from within Eclipse 4.2 -- the SWT used is then the newer 3.7 which doesn't have the same cocoa interface for menus. The fix is threefold: - If the cocoa enhancer fails, revert to the generic one. This doesn't quite help here since the crash is actually when the native handler is invoked but the setup is fine. - Implement a new enhancer on top of the newer SWT 3.7 APIs that lets us access the About and Preference menus on Mac. That was the whole point of the enhancer workaround since SWT 3.5 an 3.6 don't have access to these menus directly. This new enhancer is used if SWT version 3700+ is used on Mac. - Finally the crash only happens when using the embedded version of the SDK Manager within ADT. When possible this uses the forked standalone version. It will still revert to the embedded one if ADT is started without any tools. The new enhancer for 3.7 on Mac is sub-optimal: since it *adds* a listener to the about/preference Mac menus, that means when it is invoked from within Eclipse these menus will generate 2 events, e.g. bringing both the Eclipse preferences and then the SDK Manager preferences. To support this case properly, we should detect this runs from within Eclipse, not change the about menu and instead integrate the sdk manager pref as a panel in eclipse's prefs. A cheaper workaround is to revert to the default generic enhancer that will create an options menu. Maybe for a later CL. SDK Bug: 38640 Change-Id: Ib1588e401616548a5dc9eb216d3c35b579d3950b
* | | Only format Android projects with our formatterTor Norbye2012-10-221-2/+65
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When formatting, peek at the model base location, if known, and if a corresponding file is found which isn't in an Android project, use the builtin Eclipse formatter instead. This should reduce the impact of the Android XML editor registering itself for the xml content type and affecting unrelated projects, at least in terms of formatting (which is more severe than say additional completion options or extra go to declaration targets.) See issue 38747: Android Tools XML formatter with pom.xml Change-Id: Ifa0e8527b7020c2ca4f477d6e0be6397d2dbdeff
* | | Automatically pick the best render targetTor Norbye2012-10-223-22/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds a new option, on by default, which causes the layout editor to always pick the best rendering target. The best rendering target is typically the most recent one. This option can be toggled in the rendering target drop down menu (but it applies globally), and choosing a specific rendering target turns it off. Change-Id: I53e48a38741f364f2b68525a4898aca69b1ae7b1
* | | Multi-configuration editing bug fixesTor Norbye2012-10-2221-548/+1301
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset fixes a number of bugs with multi configuration editing; especially around configuration switching and inheritance, as well as some memory improvements. It also synchronizes values between layout variations. If you for example have layout-land/foo.xml and layout-port/foo.xml and you change the Theme to Theme.Holo or the device to Galaxy Nexus, the configurations for both files will be updated (whether or not the files are open), and provided of course the layout folder doesn't contradict it; layout-xlarge/foo.xml would be unaffected by the above edit since Galaxy Nexus doesn't match the layout-xlarge folder. Change-Id: I5c01555aad8339f68788d8aed1f707d30993ae1b
* | adtpackage: Add about section for adtpackage featureSiva Velusamy2012-10-193-1/+14
| | | | | | | | Change-Id: I7a2d51324e97ceb6fb038b10bc382fa8da826d91
* | Merge "adtpackage: Update with new assets"Siva Velusamy2012-10-1910-18/+27
|\ \
| * | adtpackage: Update with new assetsSiva Velusamy2012-10-1910-18/+27
| | | | | | | | | | | | Change-Id: Ic44f7e1fdc09d278ed3d6163a3ee6022b6a9dc69
* | | Move HardwareConfigHelper to sdk_common.Xavier Ducrohet2012-10-182-153/+1
| | | | | | | | | | | | Change-Id: Iae39e23f6c72f5a2e1444c39da1eb1a78894e9f4
* | | Merge "Update Layoutlib_api to use a class for h/w config."Xavier Ducrohet2012-10-1714-248/+237
|\ \ \
| * | | Update Layoutlib_api to use a class for h/w config.Xavier Ducrohet2012-10-1714-248/+237
| |/ / | | | | | | | | | Change-Id: Iead02d468590407ec274357f1a1c57ed8d5cc24c
* | | ADT 21 rc9 depends on Tools 21 rc9.Raphael Moll2012-10-171-1/+1
| | | | | | | | | | | | Change-Id: I069f9df1c50cf16329934046ed1bc5bbd04d2533
* | | 32849: Fix CRLF line ending handling in the partial formatterTor Norbye2012-10-177-10/+436
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fix the handling of \r characters in the code which applies formatting deltas into existing documents. It could end up inserting the formatted portion in the middle of a \r\n pair, which made Eclipse extremely confused (https://bugs.eclipse.org/bugs/show_bug.cgi?id=375421) This fixes 32849: Eclipse android adt xml editing artifacting (unsynced) lines of text when changes are made in the graphical interface It also adds a lint check to identify *existing* files that already have these mangled line endings, along with a quickfix to make the correction. Change-Id: I1e7024f2786e4cb0233c2c6b98c3d3f942703ea0
* | Merge "Add support for dex force jumbo."Xavier Ducrohet2012-10-165-4/+27
|\ \
| * | Add support for dex force jumbo.Xavier Ducrohet2012-10-165-4/+27
| | | | | | | | | | | | Change-Id: I68188063f0a44af9d38c2a47a53684a68bf346c3
* | | Use nine patch capability to drive tvdpi maskingTor Norbye2012-10-164-13/+75
| | | | | | | | | | | | Change-Id: Ibe9ca90540113157d4fdb5554965d626c22581d8
* | | New API in layoutlib_api.Xavier Ducrohet2012-10-162-0/+9
| | | | | | | | | | | | | | | | | | | | | - Capability for fixed 9-patch scaling. - software button param for rendering. Change-Id: I2616dbd97dc413c2c5b5d52af6309967400d2456
* | | Fix a couple of bugs related to multiconfig switchingTor Norbye2012-10-163-0/+7
| | | | | | | | | | | | Change-Id: I0b441971de02fc4fc3da78e4e411828ca3eedbbc
* | | Hide tvdpi previews for nowTor Norbye2012-10-163-0/+50
|/ / | | | | | | | | | | | | | | | | Ideally, hook this up to render capabilities later. Also customize the detailed message in the layout editor when the Nexus 7 is chosen. Change-Id: I7606dbb89d9fda643b175a51177624b564c417cf
* | Check for missing layout_width and layout_height attributesTor Norbye2012-10-161-0/+1
| | | | | | | | | | | | | | | | Also looks at style declarations and attributes on include tags to allow elements to either pick up sizes from styles or from the including context. Change-Id: I91a944805d8a906ff63b5a22f2faa876e7292c19
* | Misc improvements to the multi-configuration editingTor Norbye2012-10-157-96/+322
| | | | | | | | | | | | | | | | | | | | | | | | | | * Fix bug in switching to preview configurations * Don't draw drop shadows for thumbnails in Dialog themes * Move the preview title labels to sit above each preview thumbnail * Make error thumbnails include rendering error messages (and wrap if necessary), plus tweak appearance * Make switch animation show rectangles animating in both directions Change-Id: I0995617fa277b48419a88c5203abf5b1d49af711
* | Merge "Hide ancient rendering targets from the target menu"Tor Norbye2012-10-151-1/+17
|\ \
| * | Hide ancient rendering targets from the target menuTor Norbye2012-10-151-1/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Old rendering targets (prior to API 7) have really out of date layout libraries; they did not get updated with all the fidelity fixes last spring, and in general have a lot of problems rendering layouts correctly. Hide these from the target menu since they just don't work well. Also change the sort order to list the most recent targets first. Change-Id: If680590666a4747c8082eccd63bdac2aa724f7ff
* | | systrace: Update template to match systrace.pySiva Velusamy2012-10-151-0/+12
|/ / | | | | | | Change-Id: I0757c58061aeb932b7f1c21d0cadea5d5d25024c
* | Fix config switchingTor Norbye2012-10-151-1/+1
| | | | | | | | Change-Id: I3fdc7ecd89472c7da1c240d2cb253c6d327a7ffb
* | Merge "Support non RGBA textures"Siva Velusamy2012-10-124-8/+70
|\ \
| * | Support non RGBA texturesSiva Velusamy2012-10-124-8/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Textures that are not of type unsigned byte need to be unpacked into unsigned byte (1 byte per channel) first. This CL also increases the protobuf message size and fixes an NPE that happens when the trace is empty. Change-Id: I01f20d6292425dbd553f006947dfd1024c6503c6
* | | Merge "AVD: display devices in a tab+list."Raphael Moll2012-10-121-2/+2
|\ \ \ | |/ / |/| |
| * | AVD: display devices in a tab+list.Raphael Moll2012-10-121-2/+2
| | | | | | | | | | | | Change-Id: I70c6e0fa0b9622e8050e5d949674377e5ac0ffad
* | | Merge "Improvements to the multi-configuration layout"Tor Norbye2012-10-125-101/+884
|\ \ \ | |/ / |/| |
| * | Improvements to the multi-configuration layoutTor Norbye2012-10-125-101/+884
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This adds a new layout algorithm which tries to do a more optimal fit if all the configuration previews can fit on the current screen without scrolling. (However, it still doesn't scale up these previews to fit all available space, that's coming in a later CL). It also delays rendering previews and performing layout until the layout is actually painted, and improves the error rendering a bit. It's also more deliberate in how preview renderings are scheduled, performing them in visual order etc. There's a new brief animation when you switch to a preview. Finally, there are some preview zoom controls now. Change-Id: Iea503a3fd57dfcaea7656e47b946bfcfea3eecb1
* | | gltrace: ES1 also supports array buffersSiva Velusamy2012-10-111-0/+1
|/ / | | | | | | Change-Id: I448d7962e9b709658095240160f16abc8b040ecc
* | monitor: Add toolbar icons for SDK & AVD ManagerSiva Velusamy2012-10-1011-21/+153
| | | | | | | | | | Change-Id: I1d6798719d0b01e1ec72f6cd1599aec871b87d03 http://code.google.com/p/android/issues/detail?id=38247