summaryrefslogtreecommitdiffstats
path: root/chrome/installer/mac
Commit message (Collapse)AuthorAgeFilesLines
* Make licenses.py happy about xz license.phajdan.jr@chromium.org2010-09-132-1/+1
| | | | | | | | BUG=55166 TEST=licenses.py scan Review URL: http://codereview.chromium.org/3333032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59273 0039d316-1c4b-4281-b951-d872f2087c98
* Simplify goobspatch: the in and out members of xzfile don't need to bemark@chromium.org2010-06-281-18/+4
| | | | | | | | | | malloced separately. BUG=none TEST=none Review URL: http://codereview.chromium.org/2810030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51035 0039d316-1c4b-4281-b951-d872f2087c98
* Add an exported symbol list to liblzma_decompress to allow dead-code strippingmark@chromium.org2010-06-242-1/+30
| | | | | | | | | | | to be even more effective. This reduces the size of liblzma_decompress.dylib by 16kB, and reduces the size of differential updater disk images by 8kB. BUG=47199 TEST=none Review URL: http://codereview.chromium.org/2860019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50765 0039d316-1c4b-4281-b951-d872f2087c98
* Make pkg-dmg executable. This regressed in r50566 (unreviewed?)mark@chromium.org2010-06-241-0/+0
| | | | | | | | BUG=none TEST=none Review URL: http://codereview.chromium.org/2838025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50741 0039d316-1c4b-4281-b951-d872f2087c98
* xz/LZMA2 compression for dirdiffer/dirpatcher.mark@chromium.org2010-06-233-17/+68
| | | | | | | | BUG=47199 TEST=none Review URL: http://codereview.chromium.org/2866015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50600 0039d316-1c4b-4281-b951-d872f2087c98
* Fix files with svn:executable permissions.thestig@chromium.org2010-06-231-0/+0
| | | | | | | BUG=none TEST=none git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50566 0039d316-1c4b-4281-b951-d872f2087c98
* Emergency goobsdiff patch: don't use LZMA_RUN after LZMA_FINISH.mark@chromium.org2010-06-221-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | In testing, cases were discovered where fread would read until EOF, but lzma_code would not be able to decompress that entire block in one call because not enough space was available in the output buffer. Calling lzma_code with LZMA_FINISH followed by LZMA_RUN is incorrect. Once LZMA_FINISH is used once, subsequent calls to lzma_code must also use LZMA_FINISH. From <lzma/base.h>: * After the first use of LZMA_SYNC_FLUSH, LZMA_FULL_FLUSH, or LZMA_FINISH, * the same `action' must is used until lzma_code() returns LZMA_STREAM_END. * Also, the amount of input (that is, strm->avail_in) must not be modified * by the application until lzma_code() returns LZMA_STREAM_END. Changing the * `action' or modifying the amount of input will make lzma_code() return * LZMA_PROG_ERROR. This bug caused goobspatch to exit prematurely with a message like goobspatch: xzread(extra, 216): 11 11 is LZMA_PROG_ERROR. BUG=47199 TEST=none Review URL: http://codereview.chromium.org/2875008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50537 0039d316-1c4b-4281-b951-d872f2087c98
* Use -Os to minimize the size of the installer tools.mark@chromium.org2010-06-222-0/+24
| | | | | | | | BUG=47199 TEST=none Review URL: http://codereview.chromium.org/2801016 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50531 0039d316-1c4b-4281-b951-d872f2087c98
* xz/LZMA2 compression for goobsdiff/goobspatch.mark@chromium.org2010-06-225-43/+290
| | | | | | | | BUG=47199 TEST=none Review URL: http://codereview.chromium.org/2805024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50527 0039d316-1c4b-4281-b951-d872f2087c98
* Add chrome/installer/mac/third_party/xz, and update DEPS to add r50504 on Macmark@chromium.org2010-06-223-0/+840
| | | | | | | | | | | | OS X: Add an unpatched version of xz, XZ Utils, to /trunk/deps/third_party. BUG=47199 TEST=none Review URL: http://codereview.chromium.org/2846025 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50514 0039d316-1c4b-4281-b951-d872f2087c98
* Minor change to keystone_install.sh: use "${!array[@]}" syntax to listmark@chromium.org2010-06-171-3/+3
| | | | | | | | | | indices. BUG=none TEST=none Review URL: http://codereview.chromium.org/2820015 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50146 0039d316-1c4b-4281-b951-d872f2087c98
* Binary differential (delta) updates: keystone_install dmgpatcher support.mark@chromium.org2010-06-151-128/+380
| | | | | | | | | | | | | | | | | | | There is no standalone dmgpatcher tool because the operation is tied too closely to Keystone update application, but keystone_install is now able to perform the dmgpatcher operation as an inverse to what dmgdiffer does when it creates patch update disk images given an "old" and "new" existing disk image. If keystone_install detects a .patch directory, it applies the dirpatches that are contained therein using dirpatcher and goobspatch. keystone_install expects two dirpatches: one for the versioned directory, and one for the outer app bundle. These two dirpatches correspond exactly to the two rsyncs that keystone_install performs when updating from a full-install disk image. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2832005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49805 0039d316-1c4b-4281-b951-d872f2087c98
* Adapt keystone_install.sh to the shell scripting guidelines. Tidy it up a bit.mark@chromium.org2010-06-141-537/+855
| | | | | | | | BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2821001 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49726 0039d316-1c4b-4281-b951-d872f2087c98
* Provide the complete complement of application and Keystone version numbersmark@chromium.org2010-06-141-41/+60
| | | | | | | | | | | in the update. This will allow keystone_install.sh to read the correct values for the intended purposes. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2821002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49691 0039d316-1c4b-4281-b951-d872f2087c98
* Save the Keystone product ID in .patch/product_id on update disk images.mark@chromium.org2010-06-141-13/+23
| | | | | | | | | | Fix MIN_BUILD. Oops. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2833002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49690 0039d316-1c4b-4281-b951-d872f2087c98
* Small cleanups in dmgdiffer, dirdiffer, and dirpatcher.mark@chromium.org2010-06-143-36/+32
| | | | | | | | | | | | Use += to append to arrays. Declare err before it's used. Use -L to test for symbolic links. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2799003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49686 0039d316-1c4b-4281-b951-d872f2087c98
* Add dmgdiffer, to create update disk images given old and new full-installmark@chromium.org2010-06-112-4/+424
| | | | | | | | | | disk images. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2761006 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49591 0039d316-1c4b-4281-b951-d872f2087c98
* Stupid fixesmark@chromium.org2010-06-111-4/+4
| | | | | | | | BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2765008 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49567 0039d316-1c4b-4281-b951-d872f2087c98
* Split sign.sh into two pieces to allow the contents of the versioned directorymark@chromium.org2010-06-115-99/+168
| | | | | | | | | | to be signed independently of the outer browser application bundle. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2749014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49552 0039d316-1c4b-4281-b951-d872f2087c98
* Finish the job that r48732 started. Move the remainder of themark@chromium.org2010-06-113-0/+1689
| | | | | | | | | | installer-related files from chrome/tools/build/mac to chrome/installer/mac. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2755007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49551 0039d316-1c4b-4281-b951-d872f2087c98
* Add DIRDIFFER_EXCLUDE and DIRDIFFER_NO_DIFF environment variable support tomark@chromium.org2010-06-112-4/+62
| | | | | | | | | | dirdiffer. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2715011 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49549 0039d316-1c4b-4281-b951-d872f2087c98
* dirdiffer and dirpatcher should clean up after themselves if an error occursmark@chromium.org2010-06-102-2/+54
| | | | | | | | | | or a signal is received during operation. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2737007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49432 0039d316-1c4b-4281-b951-d872f2087c98
* Add dirdiffer and dirpatcher, scripts to create patches for directory treesmark@chromium.org2010-06-102-0/+753
| | | | | | | | | | | and to drive directory tree patching. dirdiffer wraps goobsdiff, and dirpatcher wraps goobspatch. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2765003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49396 0039d316-1c4b-4281-b951-d872f2087c98
* Update keystone_install.sh after r49334.mark@chromium.org2010-06-091-2/+2
| | | | | | | | BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2733007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49338 0039d316-1c4b-4281-b951-d872f2087c98
* Modify bsdiff 4.3 to create goobsdiff, which is appropriate for use as the Macmark@chromium.org2010-06-095-291/+574
| | | | | | | | | | binary differ/patcher. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2716005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49316 0039d316-1c4b-4281-b951-d872f2087c98
* Add unpatched bsdiff 4.3 to chrome/installer/mac/third_party/bsdiffmark@chromium.org2010-06-097-0/+782
| | | | | | | | | | | | | | | | I have non-algorithmic changes to bsdiff and bspatch, and they'll be easier to review and easier to identify in the future if an unpatched copy is checked in first. The bsdiff and bspatch that you'll find elsewhere in the repository are actually different forks of bsdiff, and aren't quite as appropriate for use in the Mac binary patcher. The other copies are Mozilla's variant of bsdiff. BUG=45017 TEST=none Review URL: http://codereview.chromium.org/2789003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49280 0039d316-1c4b-4281-b951-d872f2087c98
* [Mac] packaging process cleanup: Net of this is the zip off the official ↵thomasvl@chromium.org2010-06-024-0/+817
builder will have everything for packaging so the final signing/dmg creation is self contained instead of having to live in both places. - Move all the installer related bits into the installer folder - Add the collection of these bits into a specific target - Collect the internal bits also during the installer target BUG=42635 TEST=none Review URL: http://codereview.chromium.org/2417007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48732 0039d316-1c4b-4281-b951-d872f2087c98