Commit Graph

9248 Commits

Author SHA1 Message Date
Doug Zongker
f6a8bada5f add support for reading MTD partitions to applypatch
Allow an MTD partition so serve as a source "file" in applypatch,
using a magically-formatted 'filename' that specifies the partition
name, size of data to read, and expected hash.  Build incremental OTAs
that update the recovery image via a patch.
2009-06-01 15:48:24 -07:00
Android (Google) Code Review
b534660b9c am bfeb1936: Merge change 2717 into donut
Merge commit 'bfeb193659412fce01136ce854257cc54fbe8e14'

* commit 'bfeb193659412fce01136ce854257cc54fbe8e14':
  build images with minigzip instead of system gzip
2009-06-01 12:01:16 -07:00
Doug Zongker
32da27a9ff build images with minigzip instead of system gzip
Use minigzip (from the zlib distribution, built in the android tree)
to compress images rather than the system install of gzip.  This will
let us send useful patches for images since we can make zlib available
in the applypatch program.
2009-05-29 11:42:57 -07:00
Android (Google) Code Review
f82b55980b am daffeb33: Merge change 2594 into donut
Merge commit 'daffeb333e7965eff58161a42de53ca157da4da9'

* commit 'daffeb333e7965eff58161a42de53ca157da4da9':
  new image diffing tool and support for image patches in applypatch
2009-05-28 21:21:22 -07:00
Doug Zongker
02d444b07e new image diffing tool and support for image patches in applypatch
Images (like boot and recovery) consist of large sections of gzipped
data interspersed with other data.  To do effective binary patching of
these files, we need to apply patches to the gzipped parts in
'uncompressed space', that is, we decompress, apply a patch, then
recompress to obtain the desired output.

This change defines a new format with these patches, which is
basically a description of how the source and target files are to be
divided up into chunks and a bsdiff patch for each chunk.  We add a
new host executable, "imgdiff", for generating these patches from
source and target images, and add support in applypatch for
recognizing this format and applying it on the device.
2009-05-28 21:18:46 -07:00
Dirk Dougherty
650b20507c am 5d1b9731: am 29eafdea: AI 149251: Add 1.x Icon Guidelines doc and template pack. BUG=1790234
Merge commit '5d1b97315763b8a8882b428885342e0cd2817050'

* commit '5d1b97315763b8a8882b428885342e0cd2817050':
  AI 149251: Add 1.x Icon Guidelines doc and template pack.
2009-05-26 10:11:40 -07:00
Dirk Dougherty
5d1b973157 am 29eafdea: AI 149251: Add 1.x Icon Guidelines doc and template pack. BUG=1790234
Merge commit '29eafdea34a5239b25fe82e5cd6debf1a5157c6b' into donut

* commit '29eafdea34a5239b25fe82e5cd6debf1a5157c6b':
  AI 149251: Add 1.x Icon Guidelines doc and template pack.
2009-05-26 10:02:55 -07:00
Dirk Dougherty
29eafdea34 AI 149251: Add 1.x Icon Guidelines doc and template pack.
BUG=1790234

Automated import of CL 149251
2009-05-26 08:40:40 -07:00
Android (Google) Code Review
4afb4f20fc am 3026e96d: Merge change 2245 into donut
Merge commit '3026e96dcea7893d762d3ad1532c3775dfe01b60'

* commit '3026e96dcea7893d762d3ad1532c3775dfe01b60':
  Define TARGET_CPU_ABI for finding native code in .apks
2009-05-22 16:55:41 -07:00
Android (Google) Code Review
3026e96dce Merge change 2245 into donut
* changes:
  Define TARGET_CPU_ABI for finding native code in .apks
2009-05-22 16:53:05 -07:00
Doug Zongker
c6a5d81c38 am 8ce7c25e: improve password entry for signing keys
Merge commit '8ce7c25e905bc14382359e1cd45d41832bcc7ffa'

* commit '8ce7c25e905bc14382359e1cd45d41832bcc7ffa':
  improve password entry for signing keys
  Modified the image and index URLs to point to guide/index.html now
2009-05-22 15:35:02 -07:00
Doug Zongker
8ce7c25e90 improve password entry for signing keys
Allow the user to set ANDROID_PW_FILE to the name of a file for
storing password keys.  When the tools need additional passwords, they
will rewrite this file and invoke the user's editor for the new
passwords to be added.  This allows passwords to be reused across
invocations of the signing tools, without making the user reenter them
every time.

Paranoid users can use a file stored in a ramdisk, or not use this
feature at all (the code will prompt for passwords in the ordinary way
when ANDROID_PW_FILE is not set).
2009-05-22 15:31:08 -07:00
Dianne Hackborn
ecc70d705a Define TARGET_CPU_ABI for finding native code in .apks 2009-05-22 14:54:07 -07:00
Gaurav Mathur
89d037eb8c Modified the image and index URLs to point to guide/index.html now 2009-05-22 10:23:58 -07:00
Robert Greenwalt
fbd10d940d Add PRODUCT_DEFAULT_WIFI_CHANNELS build var.
Allows the build to specify the default number of allowed
WIFI channels.  Part of the fix for 1625953.
2009-05-21 18:46:57 -07:00
Gaurav Mathur
f326d14362 Modified the image and index URLs to point to guide/index.html now 2009-05-21 13:35:47 -07:00
Doug Zongker
b4204699a4 am eb338efd: make sure package keys are consistent with shared users
Merge commit 'eb338efd2eae20962c7ca75baf161be540b3d664'

* commit 'eb338efd2eae20962c7ca75baf161be540b3d664':
  make sure package keys are consistent with shared users
2009-05-20 22:44:04 -07:00
Doug Zongker
eb338efd2e make sure package keys are consistent with shared users
All APKs that want to share a given user id must be signed with the
same key.  Look inside each APK for what (if any) shared user id it
requests, and error out if any with the same shared user are being
signed with different keys.
2009-05-20 16:50:49 -07:00
Android (Google) Code Review
6e900ab159 am 87fc0fdc: Merge change 1738 into donut
Merge commit '87fc0fdc53b5998a36e0a305518525c28db7f35f'

* commit '87fc0fdc53b5998a36e0a305518525c28db7f35f':
  add -e option to add extra commands to OTA script
2009-05-20 11:49:42 -07:00
Android (Google) Code Review
87fc0fdc53 Merge change 1738 into donut
* changes:
  add -e option to add extra commands to OTA script
2009-05-20 10:01:00 -07:00
Doug Zongker
1c390a2aa9 add -e option to add extra commands to OTA script 2009-05-14 19:06:36 -07:00
Gaurav Mathur
fe93ea7068 am cb08f15b: am ee6df9b4: AI 148870: Pinging Ryan for Dr No approval. --- Cloned from CL 147240 by \'g4 patch\'. Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50. "Making PDK work in SDK environment." This CL should be pretty straight forward and should be touching only PDK related templates, etc. Turns out we no longer need to touch the highlightNav code.
Merge commit 'cb08f15bf48f070c0bc2925846cd7ef7b1dc4c55'

* commit 'cb08f15bf48f070c0bc2925846cd7ef7b1dc4c55':
  AI 148870: Pinging Ryan for Dr No approval.
2009-05-14 16:30:43 -07:00
Gaurav Mathur
cb08f15bf4 am ee6df9b4: AI 148870: Pinging Ryan for Dr No approval. --- Cloned from CL 147240 by \'g4 patch\'. Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50. "Making PDK work in SDK environment." This CL should be pretty straight forward and should be touching only PDK related templates, etc. Turns out we no longer need to touch the highlightNav code.
Merge commit 'ee6df9b4fe6e1a7431ff77d81fb8c164ee99f31d' into donut

* commit 'ee6df9b4fe6e1a7431ff77d81fb8c164ee99f31d':
  AI 148870: Pinging Ryan for Dr No approval.
2009-05-14 16:18:20 -07:00
Gaurav Mathur
ee6df9b4fe AI 148870: Pinging Ryan for Dr No approval.
---
  Cloned from CL 147240 by 'g4 patch'.
  Original change by dwarren@dwarren-pdk on 2009/04/21 14:59:50.
  "Making PDK work in SDK environment."
  This CL should be pretty straight forward and should be touching only PDK
  related templates, etc. Turns out we no longer need to touch the highlightNav
  code.

Automated import of CL 148870
2009-05-14 16:02:22 -07:00
Scott Main
0cf91e6565 am cdc13d7: am 9b54792: AI 148820: adjust the "nolist" class to add bott
Merge commit 'cdc13d717b016c61592e34dacabf24c09c3bca4c'

* commit 'cdc13d717b016c61592e34dacabf24c09c3bca4c':
  AI 148820: adjust the "nolist" class to add bottom-spacing and refine list item padding;
2009-05-13 17:55:09 -07:00
Scott Main
cdc13d717b am 9b54792: AI 148820: adjust the "nolist" class to add bottom-spacing a
Merge commit '9b54792d7044125126a9765d1baf3ff0e59efcb4' into donut

* commit '9b54792d7044125126a9765d1baf3ff0e59efcb4':
  AI 148820: adjust the "nolist" class to add bottom-spacing and refine list item padding;
2009-05-13 17:52:28 -07:00
Scott Main
9b54792d70 AI 148820: adjust the "nolist" class to add bottom-spacing and refine list item padding;
add vertical padding to quickview list items so that items are distinguishable when the text wraps-around the line
  BUG=1790235

Automated import of CL 148820
2009-05-13 17:50:33 -07:00
Dirk Dougherty
74d2e86902 am e9a96dd: am 4e4c919: AI 148759: Add download page for NDK 1.5 r1.
Merge commit 'e9a96dd92c2577b77d3a5e5a0d04dfab6f4af5f2'

* commit 'e9a96dd92c2577b77d3a5e5a0d04dfab6f4af5f2':
  AI 148759: Add download page for NDK 1.5 r1.
2009-05-12 19:03:27 -07:00
Dirk Dougherty
e9a96dd92c am 4e4c919: AI 148759: Add download page for NDK 1.5 r1.
Merge commit '4e4c919539c5fb2f790143dde9c318501457ce43' into donut

* commit '4e4c919539c5fb2f790143dde9c318501457ce43':
  AI 148759: Add download page for NDK 1.5 r1.
2009-05-12 18:49:27 -07:00
Dirk Dougherty
4e4c919539 AI 148759: Add download page for NDK 1.5 r1.
BUG=1790234

Automated import of CL 148759
2009-05-12 15:32:35 -07:00
Android (Google) Code Review
123834f93c am e27db38: Merge change 1291 into donut
Merge commit 'e27db38fdd6b29ae470a7d296a4de07002f23acb'

* commit 'e27db38fdd6b29ae470a7d296a4de07002f23acb':
  allow separate source and target files for applypatch
2009-05-08 22:48:56 -07:00
Android (Google) Code Review
e27db38fdd Merge change 1291 into donut
* changes:
  allow separate source and target files for applypatch
2009-05-08 16:03:49 -07:00
Doug Zongker
ef85ea6086 allow separate source and target files for applypatch
Allow applypatch to use different filenames for the source and target.
(Using the same filename is still fine; in fact the target filename
can be specified as "-" to mean "same as the source file.)  This will
allow us to still use diffs in the case of files being renamed, and
will allow us to use diffs for the boot and recovery images.
2009-05-08 15:43:26 -07:00
Dianne Hackborn
0a6d796829 am 9537884: Add new property for dev codename, update version to Donut.
Merge commit '9537884b0dabe81bf612c79d12c7b4bf40de10a5'

* commit '9537884b0dabe81bf612c79d12c7b4bf40de10a5':
  Add new property for dev codename, update version to Donut.
2009-05-08 13:52:08 -07:00
Dianne Hackborn
9537884b0d Add new property for dev codename, update version to Donut. 2009-05-08 13:03:08 -07:00
Dirk Dougherty
cfb082006b am 40a06d8: AI 148314: Remove droiddoc code that applies the deprecated
Merge commit '40a06d89406a3e928a5e0d41a3077f59d8f5345d' into donut

* commit '40a06d89406a3e928a5e0d41a3077f59d8f5345d':
  AI 148314: Remove droiddoc code that applies the deprecated state of superclasses to subclasses. This change was originally made in Gerrit 7655. https://review.source.android.com/Gerrit#change,7655
2009-05-05 17:42:41 -07:00
Dirk Dougherty
40a06d8940 AI 148314: Remove droiddoc code that applies the deprecated state of superclasses to subclasses. This change was originally made in Gerrit 7655. https://review.source.android.com/Gerrit#change,7655
BUG=1827730

Automated import of CL 148314
2009-05-05 13:41:56 -07:00
Dirk Dougherty
199eb2f510 am a19801e: am c521e26: AI 148186: Add support for using custom pdk temp
Merge commit 'a19801e0600b9016149f56cff05da5a699bf09cc'

* commit 'a19801e0600b9016149f56cff05da5a699bf09cc':
  AI 148186: Add support for using custom pdk templates. The make rule for pdk docs should set LOCAL_DROIDDOC_OPTIONS += -hdf android.whichdoc online-pdk
2009-05-01 11:58:55 -07:00
Dirk Dougherty
a19801e060 am c521e26: AI 148186: Add support for using custom pdk templates. The m
Merge commit 'c521e266406d0393313e17ba29ae519315a5cf6e' into donut

* commit 'c521e266406d0393313e17ba29ae519315a5cf6e':
  AI 148186: Add support for using custom pdk templates. The make rule for pdk docs should set LOCAL_DROIDDOC_OPTIONS += -hdf android.whichdoc online-pdk
2009-05-01 11:20:14 -07:00
Dirk Dougherty
c521e26640 AI 148186: Add support for using custom pdk templates. The make rule for pdk docs should set LOCAL_DROIDDOC_OPTIONS += -hdf android.whichdoc online-pdk
BUG=1646802

Automated import of CL 148186
2009-05-01 11:19:55 -07:00
dcec263780 am b4abfb9: am 12741f5: AI 147874: Fix format and link errors in docs.
Merge commit 'b4abfb91bf1519af1e2826cc2246f324c06a983c'

* commit 'b4abfb91bf1519af1e2826cc2246f324c06a983c':
  AI 147874: Fix format and link errors in docs.
2009-04-29 11:02:43 -07:00
2d2752fc37 am ee1e5a3: am 6b894c8: AI 147808: add "current sdk" link using the new
Merge commit 'ee1e5a3da8b50c92d0fb2a28211bf71b93f9d1f5'

* commit 'ee1e5a3da8b50c92d0fb2a28211bf71b93f9d1f5':
  AI 147808: add "current sdk" link using the new sdk.current variable
2009-04-29 11:02:43 -07:00
f4042fa8a5 am 9f7d4f2: am 099403d: AI 147796: Add widget design guidelines to new U
Merge commit '9f7d4f2351bf59e7a77d4377add18ffb511bcc55'

* commit '9f7d4f2351bf59e7a77d4377add18ffb511bcc55':
  AI 147796: Add widget design guidelines to new UI Guidelines area in dev guide.
2009-04-29 11:02:43 -07:00
1d742186df am 37ca5d1: am 19a4bd1: AI 147710: Add redirects for sdk/preview pages.
Merge commit '37ca5d11b32399b2924f56e5d8e6dc414f8d1018'

* commit '37ca5d11b32399b2924f56e5d8e6dc414f8d1018':
  AI 147710: Add redirects for sdk/preview pages.
2009-04-29 11:02:43 -07:00
0fef90c80e am 3bc7430: am 6190dfe: AI 147615: remove sdk version in parentheses fro
Merge commit '3bc74303857538055b906d1f01077d77e6776248'

* commit '3bc74303857538055b906d1f01077d77e6776248':
  AI 147615: remove sdk version in parentheses from page title
2009-04-29 11:02:43 -07:00
Android (Google) Code Review
209bcb2f64 am c33670e: Merge change 488 into donut
Merge commit 'c33670e1b6961da1d7121b16ef23d10b9f6289d6'

* commit 'c33670e1b6961da1d7121b16ef23d10b9f6289d6':
  add -n option to turn off prereq check when build OTA packages
2009-04-29 11:02:43 -07:00
b4abfb91bf am 12741f5: AI 147874: Fix format and link errors in docs.
Merge commit '12741f56acf0a8a4feccea537d066ae6882499ce' into donut

* commit '12741f56acf0a8a4feccea537d066ae6882499ce':
  AI 147874: Fix format and link errors in docs.
2009-04-28 21:52:48 -07:00
ee1e5a3da8 am 6b894c8: AI 147808: add "current sdk" link using the new sdk.current
Merge commit '6b894c8cec676cf0811743c864bcb1937714f2c0' into donut

* commit '6b894c8cec676cf0811743c864bcb1937714f2c0':
  AI 147808: add "current sdk" link using the new sdk.current variable
2009-04-28 21:52:48 -07:00
9f7d4f2351 am 099403d: AI 147796: Add widget design guidelines to new UI Guidelines
Merge commit '099403d15d1f87e7a17f8e2aa3d9a8bc4afa4500' into donut

* commit '099403d15d1f87e7a17f8e2aa3d9a8bc4afa4500':
  AI 147796: Add widget design guidelines to new UI Guidelines area in dev guide.
2009-04-28 21:52:48 -07:00
37ca5d11b3 am 19a4bd1: AI 147710: Add redirects for sdk/preview pages.
Merge commit '19a4bd164eec255f62cde30f4afc39f0aeb35c04' into donut

* commit '19a4bd164eec255f62cde30f4afc39f0aeb35c04':
  AI 147710: Add redirects for sdk/preview pages.
2009-04-28 21:52:48 -07:00