aboutsummaryrefslogtreecommitdiffstats
path: root/sdk_common
Commit message (Collapse)AuthorAgeFilesLines
* SDK: Delete projects moved to tools/base or tools/swt.Raphael Moll2013-03-137-361/+0
| | | | Change-Id: Iba15f82cb00d19217382c78d8ff37dda1e97ea59
* SDK prebuilts: reorganize into tools/lib.Raphael Moll2013-03-061-1/+1
| | | | | | This must be submitted with prebuilts/devtools' change I3d985ed0abf. Change-Id: Icab479e0e8a5c126b0fdc213a792187a14a44f21
* Remove source of prebuilts.Raphael Moll2013-02-0673-12169/+0
| | | | | | Sources are now located in tools/base.git. Change-Id: I9cbe1deb98f8c43e90f5fb04b668f664b9850620
* Change more SDK libs to prebuilts.Raphael Moll2013-02-061-3/+10
| | | | | | | | | | | Requires prebuilds/devtools.git I913a29e5f40db99871701461aad6fc38483015d2 To update the prebuilts, you need tools/base.git and the prebuilts/devtools/update_jars.sh script. This is supposed to be an intermediary step as we switch to tools/base. Change-Id: I3dcccfdd9dc243a22a5bfd9db6779d24285db1ac
* Fix generation of R classes for libraries to support any package name.Xavier Ducrohet2013-02-011-1/+1
| | | | Change-Id: I0e4f2c0d56285b911f0210a3cddbed0f5ec05ecc
* 39612: Question Mark causes Eclipse Graphical Layout Editor to Freak OutTor Norbye2013-01-143-74/+421
| | | | | | | | | | | | | | Handle string values starting with ? and @ even if they do not correspond to actual theme or resource URLs. Also fix the code which handles processing strings read from XML files; apply unescaping rules (for unicode, newlines and tabs, removing quotes, etc). Also make the style warning include the full resource URI (it was only logging the stripped URI). Change-Id: I9b9a87ac4841faeacd1d94a43fa091702e60f4d8
* Handle theme resources in ResourceRepository.hasResourceItemTor Norbye2013-01-041-1/+30
| | | | | | | This adds the same URL rewriting logic as is already used in parseResource in the same class Change-Id: Ifb71111030e4fd19b50f2b3213d486bef8b14f64
* 42271: Open file input streams need to be closed at some pointTor Norbye2013-01-033-3/+12
| | | | | | | | | | By default, SAX and DOM parsers close the input source after parsing. However, in SDK common we have a couple of custom parsers using kxml, which does *not* close the input. Rather than fixing all the call sites, this CL makes these parsers behave the same way as the SAX/DOM parsers -- close the input at the end of parse(). Change-Id: I4c5588234865047c88380dc7835beac38817c09f
* Support layout aliases properlyTor Norbye2012-12-064-21/+226
| | | | Change-Id: I3c1dac7809a225118b69f1557a42051e96011198
* Add support for layout dir qualifiers.Xavier Ducrohet2012-11-293-19/+123
| | | | Change-Id: I6da728d079975fa19f1ae816fa585031a9c6fe75
* 40222: Cannot render strings starting with "\@"Tor Norbye2012-11-221-0/+3
| | | | Change-Id: I47d41ea2436a13a83e666471397c631a893dda02
* Assume Activity Aliases are just like activities.Siva Velusamy2012-11-062-3/+16
| | | | Change-Id: Ide586077b63accc17cc3c4c68e0b62f06fe83b66
* 39213: Refreshing resources fails with "Error: name expected"Tor Norbye2012-11-021-2/+5
| | | | Change-Id: I6cfe252a830e55da5135b17964fc746db2de8964
* 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