aboutsummaryrefslogtreecommitdiffstats
path: root/sdkstats
Commit message (Collapse)AuthorAgeFilesLines
* Update compiler flags.Tor Norbye2012-10-261-2/+2
| | | | | | | | | | Turns off the ability to use @SuppressWarnings with optional errors is available, but off by default (see Eclipse issue 392875). This turns that off, makes missing enums in switch statements a warning, and synchronizes the settings file to all projects (except tests.) Change-Id: Iad7060523b6ee2cbbca97e0a6ffedb264b185222
* Close file streams used by parsers (and add guava to sdkcommon)Tor Norbye2012-10-251-1/+11
| | | | | | Plus some nullness annotations. Change-Id: Ia75c6ffa5d6296c991fc86fec050f285b9143429
* SDK Ping: properly parse new "21 rc7" format as "21.0.0.7"Raphael Moll2012-10-022-14/+161
| | | | Change-Id: I6c57e64dbf2586b597826c6ab7cd5eca1fc18580
* More refactoring.Xavier Ducrohet2012-08-132-2/+2
| | | | | | | Move stuff out of sdklib into common and ide_common. Remove androidprefs and move the one class into common. Change-Id: I71d126a13cf2ba413692e29616f4968a37d7b33a
* Stats Permission Dialog: Don't set focus on the link.Siva Velusamy2012-06-251-1/+2
| | | | | | Doesn't look good on Mac. Change-Id: Id7e953fa02a0303fe90964e1bfb97e7ff5e4b3a2
* Merge "SDK: Send android gl info with ping emulator stats."Raphael Moll2012-06-062-41/+306
|\
| * SDK: Send android gl info with ping emulator stats.Raphael Moll2012-05-302-41/+306
| | | | | | | | | | | | Related emulator change: 733fffaac9ccebfc424fccf9467b22475f71a2f8 Change-Id: Ie7948a9be6c1289306968cda91d1e0f0cf7cb61c
* | Fix warningsTor Norbye2012-06-011-0/+5
|/ | | | | | | | | | | | | | | | | First, update our various project-specific Eclipse compiler settings configuration files to include the new Eclipse 4 flags. Second, turn off the "Unchecked conversion from non-annotated type to @NonNull" warnings; there are hundreds or thousands of these, and there isn't much we can do about them when they're coming from platform and library APIs. Third, make the lint projects warning-clean again by addressing various warnings Eclipse found (such as some unclosed resources and some null handling issues; yesterday's null annotation fixes only addressed errors, not warnings.) Change-Id: If75f7401a1cbeef1bf58b47ccaa9ad17bede7f91
* SDK: Fix classpath for eclipse projects.Raphael Moll2012-04-121-1/+1
| | | | | | | | | | 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
* SDK: adjust reported OS/JVM name/arch.Raphael Moll2012-04-113-28/+337
| | | | | | Also add some UTs for testing. Change-Id: I55d4ad04feade4b4e8a81316511720731f9afdc9
* Switch libraries from Eclipse 3.4 to Eclipse 3.6.2Tor Norbye2012-04-052-6/+6
| | | | | | This reverts commit f3d3fa912a10e20cadae813b80a66e538f77131d. Change-Id: I72e28e21db3c7f959040c1fbb9df14e4d85d0df4
* Update classpath for eclipse project due to prebuilt move.Xavier Ducrohet2012-04-051-1/+4
| | | | | | | Don't use User Libraries. It's easier to just hardcode them with a classpath variable. Change-Id: If8c1236199dd6766d48cf9b553fa2a9ee0d236e6
* Revert "Switch libraries from Eclipse 3.4 to Eclipse 3.6.2"Tor Norbye2012-04-031-3/+3
| | | | This reverts commit b0c819f896b3c579633849e3fa674a30e6978dd7.
* Switch libraries from Eclipse 3.4 to Eclipse 3.6.2Tor Norbye2012-04-021-3/+3
| | | | | | | | | | | 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
* SDK Stats: report OS vs JVM architecture.Raphael2012-02-171-32/+180
| | | | Change-Id: I1fef83d30fc9e7fa91c136fa9c459bf18a1e1d9c
* Make some SDK project compile under Java 1.6Xavier Ducrohet2012-02-023-0/+96
| | | | Change-Id: I97189bda85530decff2ef8c4da3c43f186a6dba0
* Welcome WizardTor Norbye2011-09-232-13/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset adds a new "Welcome Wizard" which is shown the first time a user runs Eclipse with the ADT plugin. The welcome wizard asks for two pieces of information: (1) The location of the SDK. (2) Whether the user agrees to gathering usage statistics. We've needed this information before, but collection of the data had been more ad-hoc: The usage data permission dialog would show up on its own, and the SDK information would be requested the first time some code path touched it (e.g. opening a layout or opening the preference dialog's Android page etc). In addition, the wizard also offers to *install* SDKs if you don't already have one. It gives the option between the latest available platform, and one supported by a large majority of devices (currently API level 7), or both. If you select this option, then when finishing the wizard the SDK manager is run in a special mode where it installs the required packages with a progress dialog. This changeset also starts recording the chosen SDK location in the ~/.android settings file. This allows us to detect when you're running Eclipse in a brand new workspace and you've already gone through the SDK selection before, and we don't need to ask again -- we'll just use the most recently known location. The wizard will only be shown once. If you bypass or cancel out of the wizard, you can still configure your SDK the old way - via the Preference dialog. Note also that the usage permission page is only shown if the user has not already opted in via say ddms. NOTE: If you want to test this, make sure you haven't set the environment variable ADT_TEST_SDK_PATH (as some of us do for running unit tests) since it is treated as the user having selected the given SDK root, and in particular it means the wizard won't be shown even if you've wiped adtUsed=true from your ~/.android/ddms.cfg etc. Change-Id: I0a4e2c4efce84aca9beae394ce67e4c145cbb000
* Address some comments on the DdmsPreferenceStore.Raphael2011-09-231-37/+42
| | | | Change-Id: Ib2ffeef63c2e5b04638fc2cf562a3f958cbd6a8b
* Extract DDMS PreferenceStore.Raphael2011-09-222-108/+339
| | | | | | | | | | | | 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
* Use SWT Label's instead of Link's for proper wrap behavior.Siva Velusamy2011-08-231-7/+12
| | | | | | | | | 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
* Open SDK stats dialog from an existing shell.Siva Velusamy2011-08-222-209/+233
| | | | | | | | | | | | | | 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
* Change way we report Eclipse version in stat ping.Raphael Moll2011-08-191-16/+11
| | | | | | | | | | | | 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
* Add eclipse version to usage stat ping.Xavier Ducrohet2011-08-041-11/+17
| | | | Change-Id: I14dba0dd7cb900c2e700e4da055aee7bb7d1f9cd
* Add missing notice files.Xavier Ducrohet2011-03-151-0/+190
| | | | | | | | | | 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
* Fix NON-NLS tokensTor Norbye2011-01-041-27/+27
| | | | | | | | | | | | | 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
* Make the SDK stat opt-out dialog not interfer with other modal dialogs.Xavier Ducrohet2009-12-041-59/+78
| | | | BUG 2305986
* Add OS version to ping service (win/mac only)Xavier Ducrohet2009-08-191-13/+41
|
* Change the SDK, DDMS and Traceview to work with the new SWT libraries.Xavier Ducrohet2009-06-041-3/+3
| | | | | | The SDK now contains 32 and 64 bit version of SWT. DDMS and Traceview use the archquery java app to check the architecture of the VM to decide which version of SWT should be used to run the apps.
* Fix the opt-in window for usage stat so that it works when running from ADT.Xavier Ducrohet2009-04-271-65/+80
|
* Split development/.gitignore into separate gitignore files per project.Raphael2009-04-261-0/+2
| | | | | Added missing gitignore for layoutlib_utils. Changed mkstubs build path to use prebuilt/asm-3.1 instead of asm-3.1 project.
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-036-0/+471
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-036-471/+0
|
* Initial ContributionThe Android Open Source Project2008-10-216-0/+471