aboutsummaryrefslogtreecommitdiffstats
path: root/sdk_common
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-253-4/+11
| | | | | | Plus some nullness annotations. Change-Id: Ia75c6ffa5d6296c991fc86fec050f285b9143429
* Move HardwareConfigHelper to sdk_common.Xavier Ducrohet2012-10-181-0/+153
| | | | Change-Id: Iae39e23f6c72f5a2e1444c39da1eb1a78894e9f4
* Lazy loading (and reloading) of project resources.Xavier Ducrohet2012-10-102-48/+108
| | | | Change-Id: I4a725d523ae14ba8b487076e230fe9d622d5d281
* Multi-Configuration Layout EditingTor Norbye2012-10-031-0/+47
| | | | | | | | This changeset adds support for previewing other configurations (as well as including contexts) for a layout, with live updates. Change-Id: Iff3523d6f5749b3287716e563330fb18c8576611
* Validate user edits in XML filesTor Norbye2012-09-205-31/+202
| | | | | | | | | | | | | | | | | | | | 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
* Rename ide_common to sdk_commonSiva Velusamy2012-09-1873-0/+11372
Change-Id: I1b39ee439a532f3f6758be35b569948e2e906665