aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * | 35054: lint reports resources as unused when used in pluralsTor Norbye2012-07-175-1/+29
| | | | | | | | | | | | Change-Id: Id437ef30e1488c96a46ccea45459694fd23db582
* | | Merge "Detect incorrect state lists"Tor Norbye2012-07-173-13/+101
|\ \ \
| * | | Detect incorrect state listsTor Norbye2012-07-173-13/+101
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Lint already had a check for <selector> lists where it detects the case where you have an empty child not in the last position; this will match everything, and hide all subsequent states. This changeset generalizes this check: It makes sure that no state is fully matched by a previous state. Change-Id: I43b80beb531e68008d82f6c620739ca179d0f8f8
* | | Merge "Re-enable the template development wizard between releases"Tor Norbye2012-07-171-2/+1
|\ \ \
| * | | Re-enable the template development wizard between releasesTor Norbye2012-07-171-2/+1
| |/ / | | | | | | | | | Change-Id: Ia029a8aabdc2cbaff034b1d378ddf51f126d1b56
* | | Merge "Change field getter threshold from API 8 to API 9"Tor Norbye2012-07-161-5/+5
|\ \ \ | |/ / |/| |
| * | Change field getter threshold from API 8 to API 9Tor Norbye2012-07-161-5/+5
| | | | | | | | | | | | | | | | | | | | | The Dalvik optimization to automatically inline getters was introduced in Gingerbread, not Froyo. Change-Id: If14288aa398206d4eebfa57ccc7ddfabc6dde83d
* | | Merge "Compute completion documentation lazily, and add docs for ?-attrs"Tor Norbye2012-07-163-13/+174
|\ \ \ | |/ / |/| |
| * | Compute completion documentation lazily, and add docs for ?-attrsTor Norbye2012-07-163-13/+174
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset changes the content assist code to compute the documentation popup text lazily (by providing our own ICompletionProposal subclass which has enough data to compute it lazily). This avoids the cost of formatting all the doc strings for all the matches (there could be hundreds) and only doing it for the currently selected item. Second, this is used to look up lazily the documentation for attribute strings such as ?android:attr/dividerHeight, which makes the recently added code completion for these more useful. Also fixes a typo in a field name in an unrelated class. Change-Id: I12c37a5c91418d866d1d08f1401efdb07c1243de
* | Merge "Add code completion and API checks for theme references (?attr)"Tor Norbye2012-07-1612-27/+143
|\ \
| * | Add code completion and API checks for theme references (?attr)Tor Norbye2012-07-1612-27/+143
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This checkin improves the handling of ?attr and ?android:attr theme references, such that (1) The API check considers theme references, and for example flags usage of ?android:attr/dividerHorizontal if your minSdkVersion is lower than 11 (2) Adds theme reference completion to the XML code completion. Change-Id: I2049b828e413802ac81579294f515fb0a4faccdf
* | | Merge "Make API check also look at <view> tags"Tor Norbye2012-07-163-0/+41
|\ \ \ | |/ /
| * | Make API check also look at <view> tagsTor Norbye2012-07-163-0/+41
|/ / | | | | | | Change-Id: I3d1e4e75aef44886185521fca57bc54b0b1e7cc0
* | Merge "34885: ADT Import Package Naming Convention Issue"Tor Norbye2012-07-162-2/+37
|\ \
| * | 34885: ADT Import Package Naming Convention IssueTor Norbye2012-07-142-2/+37
| | | | | | | | | | | | | | | | | | | | | | | | Strip out the package prefix for the first activity, and also handle Enter keys in the location text field to refresh the project list. Change-Id: I14caa12f20acdcb5a5ea1c5a487c0587d04bf6fd
* | | Merge "Make the flag property editor editable"Tor Norbye2012-07-164-4/+71
|\ \ \
| * | | Make the flag property editor editableTor Norbye2012-07-124-4/+71
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For "enum" properties (such as layout_width) we were using the WindowBuilder combobox to let the user pick which of the enumeration values to use. However, the enum values in Android often allow not just the enumeration values, but other values too; for example, while layout_width's enum values are match_parent and wrap_content, you can also specify 42dp. This changeset changes the property editor to use a similar property editor to the one used for flag values; a free-form text field along with field completion offering the available enum values. (We can't simply just modify the property editor for enums to have an editable combobox, since that property editor is a custom SWT component which doesn't support editing.) Change-Id: I1bff568233b4727d80ffbe7c17742177c6596381
* | | Merge "Reference android.R in template rather than importing it"Tor Norbye2012-07-162-3/+4
|\ \ \
| * | | Reference android.R in template rather than importing itTor Norbye2012-07-142-3/+4
| |/ / | | | | | | | | | Change-Id: I84ffc48d8c57ac3f46ab28b62be4785135f2878d
* | | Merge "Only report field getter issues when targeting pre-Froyo targets"Tor Norbye2012-07-163-4/+26
|\ \ \
| * | | Only report field getter issues when targeting pre-Froyo targetsTor Norbye2012-07-163-4/+26
| | | | | | | | | | | | | | | | Change-Id: Ibc8756c2580a9e263b63b3507224acdf09f264ed
* | | | Merge "Improvements to bytecode-to-source offset computation"Tor Norbye2012-07-1615-66/+317
|\ \ \ \ | |/ / /
| * | | Improvements to bytecode-to-source offset computationTor Norbye2012-07-1615-66/+317
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset improves the way lint searches for the correct source offsets (and line numbers) for symbols found in .class files. Among other improvements this also fixes issue 34686. Change-Id: I7a2f40f0d930a4786dc69a7f0e0bbf5367a30ad4
* | | | Merge "Bump up available memory to lint cli"Tor Norbye2012-07-162-2/+2
|\ \ \ \
| * | | | Bump up available memory to lint cliTor Norbye2012-07-162-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The lint cli can require a lot of memory when it's run on a large directory full of project, since it accumulates all the errors as well as source contents in order to be able to sort them and to emit source code snippets in the HTML report. The default of 256 Mb isn't always enough, so bump it up a bit. For more, see http://code.google.com/p/android/issues/detail?id=34734 Change-Id: Ib7f0fd7a5a2d149221a43bb47490b44b46d39de0
* | | | | Merge "Add locale data"Tor Norbye2012-07-167-13/+1555
|\ \ \ \ \
| * | | | | Add locale dataTor Norbye2012-07-167-13/+1555
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This checkin adds a new LocaleManager which provides data related to locales and regions, such as (1) The right flag icon to use for a given language and region combination (2) The full name of a language code (3) The full name of a region code Before this CL, the flag icons were determined by looking at the Locale instances installed on the machine, and matching up the language codes with the corresponding country codes. However, that only works for the locales you have installed -- and on a typical Linux installation I tried, there were no other locales, and on a Mac OSX install, many common locales (such as those referenced by standard Android apps) were not included. Instead, we now have a static map of bindings from language to region (though if the language matches the default locale on the system, it will use the associated country of that locale). The full names of the languages and regions are also provided. This allows us to display the corresponding name of a language in the locale menu, such that users don't for example confuse country codes and locales; "ca" isn't Canadian but Catalan, and so on. This checkin also adds all the known language codes into the Language dropdown for the configuration selector, and displays the corresponding language name next to the selection. Similarly, it also sets the relevant flag icon as the page icon for the value XML files. Change-Id: I2a3a6f037a745a6c56aedb38ecd71ba25324f6fb
* | | | | Merge "Fix a possible NPE when reading bad prop files."Xavier Ducrohet2012-07-161-11/+21
|\ \ \ \ \ | |_|/ / / |/| | | |
| * | | | Fix a possible NPE when reading bad prop files.Xavier Ducrohet2012-07-161-11/+21
| | |/ / | |/| | | | | | | | | | Change-Id: I8f650a139c121bd68e3c246ff1a7db1a02378191
* | | | Merge "Fix typo in options page"Tor Norbye2012-07-161-2/+2
|\ \ \ \ | |/ / / |/| | |
| * | | Fix typo in options pageTor Norbye2012-07-161-2/+2
|/ / / | | | | | | | | | | | | | | | | | | | | | | | | On some platforms, the newlines in the strings aren't respected, so we end up with two words squashed together. Insert an extra space to avoid this. Change-Id: Id7a911888df9bf5c0dd83593da666ef5f68b09de http://code.google.com/p/android/issues/detail?id=34570
* | | Merge "Prevent NPEs in device comparator"Tor Norbye2012-07-161-18/+71
|\ \ \
| * | | Prevent NPEs in device comparatorTor Norbye2012-07-031-18/+71
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This changeset just adds some extra null checking on various fields accessed by the the phone and tablet comparators in the configuration composite. This should prevent the various NPEs reported in issue 17522, issue 24578, and issue 24050. Change-Id: I93221a833e598484c11b30b0c5021a97e5d7440a
* | | | Merge "Prevent exceptions for invalid project definitions"Tor Norbye2012-07-163-1/+12
|\ \ \ \ | |/ / /
| * | | Prevent exceptions for invalid project definitionsTor Norbye2012-07-033-1/+12
| |/ / | | | | | | | | | Change-Id: Ie2b5929a87144c77f1ce0d43b2520cc498df5081
* | | Merge "Ignore xxhigh density in Asset Studio."Xavier Ducrohet2012-07-131-1/+2
|\ \ \
| * | | Ignore xxhigh density in Asset Studio.Xavier Ducrohet2012-07-131-1/+2
|/ / / | | | | | | | | | Change-Id: I1cf4c6e2f28759fa87652e44b9343ae985fed9f9
* | | Merge "Fix OSX emulator build due to missing header"Xavier Ducrohet2012-07-121-0/+1
|\ \ \
| * | | Fix OSX emulator build due to missing headerJesse Hall2012-07-121-0/+1
|/ / / | | | | | | | | | Change-Id: I84133fb36d8f15ed33e6bcba2be158e43c903901
* | | Merge "Use a per-process server address for the GLES server"Jesse Hall2012-07-1212-55/+72
|\ \ \
| * | | Use a per-process server address for the GLES serverJesse Hall2012-07-1112-55/+72
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Previously we used a hardcoded address (tcp port, unix pipe path, etc.) for the OpenGLRender system. Multiple emulators would all try to listen on the same address, with the system non-deterministically (?) choosing which one accepted each new connection. This resulted in frames going to the wrong emulator window, one emulator shutting down another's OpenGL system, etc. Now the OpenGLRender server requests an unused tcp port or derives a path from the pid, and reports the address back to the emulator client to use for future connections from the guest. Change-Id: I6af2eac0c7f27670a3b6595772eebc7aa2b24688
* | | | Merge "APK Export from IDE should use the merged manifest."Xavier Ducrohet2012-07-121-2/+7
|\ \ \ \
| * | | | APK Export from IDE should use the merged manifest.Xavier Ducrohet2012-07-121-2/+7
|/ / / / | | | | | | | | | | | | Change-Id: I532e71770886dec3a56a93882d9428c06e4ec3db
* | | | Merge "Changed line endings from windows to unix for UpdaterData"Michael Wright2012-07-111-1155/+1155
|\ \ \ \
| * | | | Changed line endings from windows to unix for UpdaterDataMichael Wright2012-07-111-1155/+1155
| | | | | | | | | | | | | | | | | | | | Change-Id: Ib915ddf7a165bd75a46a12012190aa0ae6c9df33
* | | | | Merge "Updated DeviceConfig to write out more OpenGL information"Michael Wright2012-07-112-26/+99
|\ \ \ \ \ | |/ / / /
| * | | | Updated DeviceConfig to write out more OpenGL informationMichael Wright2012-07-112-26/+99
|/ / / / | | | | | | | | | | | | Change-Id: I045a2d8c9fabc1a3c0f818e9858cc3e10c8a883a
* | | | Merge "Add XXHigh density (added in JB)"Xavier Ducrohet2012-07-101-0/+1
|\ \ \ \
| * | | | Add XXHigh density (added in JB)Xavier Ducrohet2012-07-101-0/+1
| | | | | | | | | | | | | | | | | | | | Change-Id: I09f308a3187d93abfda23c63ed72ba906b65ebc9
* | | | | Merge "Fix renderscript compilation from Ant."Xavier Ducrohet2012-07-102-3/+8
|\ \ \ \ \ | |/ / / /