]> git.saurik.com Git - android/aapt.git/log
android/aapt.git
15 years agoAdd "nodpi" density, and expose a bunch of density-related APIs.
Dianne Hackborn [Fri, 17 Jul 2009 18:13:48 +0000 (11:13 -0700)] 
Add "nodpi" density, and expose a bunch of density-related APIs.

Also update the DpiTest app to use nodpi images, and try to have a mode
where it turns off compatibility though it's not quite working.

15 years agoExpand support for different screen sizes.
Dianne Hackborn [Fri, 26 Jun 2009 02:48:04 +0000 (19:48 -0700)] 
Expand support for different screen sizes.

Applications can now declare that they support small, normal, or
large screens.  Resource selection can also be done based on these
sizes.  By default, pre-Donut apps are false for small and large,
and Donut or later apps are assumed to support all sizes.  In either
case they can use <supports-screens> in their manifest to declare
what they actually support.

15 years agoReport densities in badging, debugging for nine patch bug.
Dianne Hackborn [Fri, 19 Jun 2009 22:13:28 +0000 (15:13 -0700)] 
Report densities in badging, debugging for nine patch bug.

The aapt tool now reports all available densities like it already did
for locales.  Also this includes more resource data output, which I
was using to examine bug #1867049 (which at this point I am unable to
reproduce).

15 years agoMerge change 3577 into donut
Android (Google) Code Review [Wed, 10 Jun 2009 19:36:45 +0000 (12:36 -0700)] 
Merge change 3577 into donut

* changes:
  Make aapt Error out when an overlay adds a string.

15 years agoMake aapt Error out when an overlay adds a string.
Robert Greenwalt [Tue, 9 Jun 2009 16:14:20 +0000 (09:14 -0700)] 
Make aapt Error out when an overlay adds a string.

Final added check (I think) for 1585775 - not letting overlays add
resources.

modified:   ResourceTable.cpp
modified:   ResourceTable.h

15 years agoCatch when a file resource (non values) added in an overlay.
Robert Greenwalt [Sat, 6 Jun 2009 01:53:26 +0000 (18:53 -0700)] 
Catch when a file resource (non values) added in an overlay.

File resources are assigned resource id's and if an overlay adds one
it renumbers things and breaks compatability.  Used to segfault
if you tried before, but now catches it and lets you know what file
caused the problem.

15 years agoAdd per-named-item overlay ability in res xml.
Robert Greenwalt [Fri, 5 Jun 2009 22:59:15 +0000 (15:59 -0700)] 
Add per-named-item overlay ability in res xml.

Fixes 1899451.
Also errors out if you add a bag via an overlay (which would renumber
resources).  Note that you can still add elements within the bag as they are
not issued resource IDs.  So for example you can now modify the framework
themes.xml file without copying the entire file.

All bag types are now modifable except non-named bag types (how would you
address which element to replace?):
    array
    string_array
    integer_array

15 years agoAdd padding to public.xml to avoid breaking from auto-merges.
Dianne Hackborn [Wed, 20 May 2009 23:01:06 +0000 (16:01 -0700)] 
Add padding to public.xml to avoid breaking from auto-merges.

15 years agoreconcile donut snapshot
Jean-Baptiste Queru [Wed, 20 May 2009 18:28:11 +0000 (11:28 -0700)] 
reconcile donut snapshot

Merge branch 'donut-snapshot' into HEAD

15 years agodonut snapshot
Jean-Baptiste Queru [Wed, 20 May 2009 18:28:04 +0000 (11:28 -0700)] 
donut snapshot

15 years agoUpdate aapt badging for native code, configs, density, etc.
Dianne Hackborn [Mon, 18 May 2009 22:22:00 +0000 (15:22 -0700)] 
Update aapt badging for native code, configs, density, etc.

15 years agoArgh fix another build breakage!
Dianne Hackborn [Sat, 16 May 2009 01:45:15 +0000 (18:45 -0700)] 
Argh fix another build breakage!

15 years agoImplement compatibility support for WRITE_SDCARD permission.
Dianne Hackborn [Wed, 13 May 2009 22:06:13 +0000 (15:06 -0700)] 
Implement compatibility support for WRITE_SDCARD permission.

Now old applications will automatically be granted it.  Also renamed it from
SDCARD_WRITE to WRITE_SDCARD to be consistent with our other permissions,
and re-arranged how we do targetSdkVersion to actually be usuable for this
kind of stuff.

Note that right now this results in basically all apps being given the
WRITE_SDCARD permission, because their targetSdkVersion is not set.  I will
be dealing with that in a future change.

15 years agoFix 1840639 to support overlays with zz_ZZ.
Robert Greenwalt [Fri, 8 May 2009 18:45:37 +0000 (11:45 -0700)] 
Fix 1840639 to support overlays with zz_ZZ.
Everything but strings worked fine before but a new default string would generate a build error.

15 years agomerge cupcake into donut
Jean-Baptiste Queru [Thu, 23 Apr 2009 00:56:58 +0000 (17:56 -0700)] 
merge cupcake into donut

15 years agoAI 144950: Manual integration of 144342 and 144547 from donutburger to cupcake.
Robert Greenwalt [Wed, 8 Apr 2009 00:19:28 +0000 (17:19 -0700)] 
AI 144950: Manual integration of 144342 and 144547 from donutburger to cupcake.
  Fix bag (string-array, etc) behavior with overlays.
  We used to replace elements in the default with elements from the
  overlay.  This change causes us to empty the array first so if the
  overlay array is smaller we don't end up with elements from the
  default array showing through at the end of the final result.
  Ex: [A,B,C] default with [D] overlay should give [D] but used to
  give [D,B,C]
  BUG=1754390

Automated import of CL 144950

15 years agoAI 144547: Fix change 144342 by making it active only during overlay processing.
Robert Greenwalt [Fri, 3 Apr 2009 23:44:30 +0000 (16:44 -0700)] 
AI 144547: Fix change 144342 by making it active only during overlay processing.
  BUG=1754390

Automated import of CL 144547

15 years agoAI 144342: Fix bag (string-array,etc) behavior with overlays.
Robert Greenwalt [Thu, 2 Apr 2009 23:55:50 +0000 (16:55 -0700)] 
AI 144342: Fix bag (string-array,etc) behavior with overlays.
  We used to replace elements in the default with elements from
  the overlay.  This change causes us to empty the array first
  so if the overlay array is smaller we don't end up with elements
  from the default array showing through at the end of the array.
  Ex: [A,B,C] and overlay [D] should give [D] but used to give
  [D,B,C].
  BUG=1754390

Automated import of CL 144342

15 years agoAI 144309: am: CL 144308 aapt extensions: required sdk version, dependent software...
Suchi Amalapurapu [Thu, 2 Apr 2009 22:20:29 +0000 (15:20 -0700)] 
AI 144309: am: CL 144308 aapt extensions: required sdk version, dependent software libraries, gadgets
  Add new attributes for sdk version, software libs and gadgets
  BUG = 1730924
  Original author: asuchitra
  Merged from: //branches/cupcake/...

Automated import of CL 144309

15 years agoAI 144308: aapt extensions: required sdk version, dependent software libraries, gadgets
Suchi Amalapurapu [Thu, 2 Apr 2009 22:19:31 +0000 (15:19 -0700)] 
AI 144308: aapt extensions: required sdk version, dependent software libraries, gadgets
  Add new attributes for sdk version, software libs and gadgets
  BUG = 1730924
  BUG=1730924

Automated import of CL 144308

15 years agoauto import from //depot/cupcake/@136594
The Android Open Source Project [Thu, 5 Mar 2009 22:34:35 +0000 (14:34 -0800)] 
auto import from //depot/cupcake/@136594

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 03:31:44 +0000 (19:31 -0800)] 
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@135843
The Android Open Source Project [Wed, 4 Mar 2009 02:28:45 +0000 (18:28 -0800)] 
auto import from //depot/cupcake/@135843

15 years agoauto import from //depot/cupcake/@132589
The Android Open Source Project [Tue, 3 Mar 2009 22:04:24 +0000 (14:04 -0800)] 
auto import from //depot/cupcake/@132589

15 years agoauto import from //depot/cupcake/@137055
The Android Open Source Project [Tue, 3 Mar 2009 06:54:33 +0000 (22:54 -0800)] 
auto import from //depot/cupcake/@137055

15 years agoauto import from //branches/cupcake/...@132569
The Android Open Source Project [Fri, 20 Feb 2009 15:38:31 +0000 (07:38 -0800)] 
auto import from //branches/cupcake/...@132569

15 years agoauto import from //branches/cupcake/...@130745
The Android Open Source Project [Tue, 10 Feb 2009 23:44:00 +0000 (15:44 -0800)] 
auto import from //branches/cupcake/...@130745

15 years agoauto import from //branches/cupcake/...@127101
The Android Open Source Project [Tue, 20 Jan 2009 22:03:58 +0000 (14:03 -0800)] 
auto import from //branches/cupcake/...@127101

15 years agoauto import from //branches/cupcake/...@126645
The Android Open Source Project [Fri, 16 Jan 2009 00:12:10 +0000 (16:12 -0800)] 
auto import from //branches/cupcake/...@126645

15 years agoauto import from //branches/cupcake/...@125939
The Android Open Source Project [Sat, 10 Jan 2009 01:51:23 +0000 (17:51 -0800)] 
auto import from //branches/cupcake/...@125939

15 years agoCode drop from //branches/cupcake/...@124589
The Android Open Source Project [Thu, 18 Dec 2008 02:05:43 +0000 (18:05 -0800)] 
Code drop from //branches/cupcake/...@124589

16 years agoInitial Contribution
The Android Open Source Project [Tue, 21 Oct 2008 14:00:00 +0000 (07:00 -0700)] 
Initial Contribution