platform/upstream/bsdiff.git
8 years agospec: Add initial spec & manifest file 15/65915/2 tizen
Sangjung Woo [Thu, 14 Apr 2016 03:01:27 +0000 (12:01 +0900)]
spec: Add initial spec & manifest file

In order to build this for tizen, spec & manifest files are initially added.

Change-Id: I01d1ada66820fb0ecfd347cf0c8dd630082fed1b
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
9 years agoMerge pull request #6 from giuseppe/master
Matthew Endsley [Thu, 26 Mar 2015 16:42:25 +0000 (09:42 -0700)]
Merge pull request #6 from giuseppe/master

9 years agobuild: use autoconf and automake
Giuseppe Scrivano [Wed, 11 Feb 2015 14:36:21 +0000 (15:36 +0100)]
build: use autoconf and automake

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
9 years agobuild: split .c files into .c and .h
Giuseppe Scrivano [Wed, 11 Feb 2015 14:14:25 +0000 (15:14 +0100)]
build: split .c files into .c and .h

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
9 years agoRename LICENCE to LICENSE
Giuseppe Scrivano [Wed, 11 Feb 2015 14:12:05 +0000 (15:12 +0100)]
Rename LICENCE to LICENSE

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
9 years agoMerge pull request #8 from CoolOppo/patch-1
Matthew Endsley [Mon, 23 Mar 2015 19:43:28 +0000 (12:43 -0700)]
Merge pull request #8 from CoolOppo/patch-1

Important distinction!

9 years agoImportant distinction!
CoolOppo [Sun, 22 Mar 2015 17:23:40 +0000 (13:23 -0400)]
Important distinction!

He does not describe the bsdiff algorithm in his doctoral thesis. He describes "[a] far more sophisticated algorithm, which typically provides roughly 20% smaller patches" in his thesis.

9 years agoMerge commit '91bd200b14a81d23f0847c4c82641c31dca7f4ff'
Matthew Endsley [Tue, 24 Feb 2015 02:47:45 +0000 (02:47 +0000)]
Merge commit '91bd200b14a81d23f0847c4c82641c31dca7f4ff'

10 years agoAdded missing semicolon
Till Lorentzen [Fri, 18 Apr 2014 11:58:42 +0000 (13:58 +0200)]
Added missing semicolon

Should fix issue #3

10 years agoFixed length of header read after switch to ENDSLEY/BSDIFF43
Quentin Fiard [Mon, 4 Nov 2013 20:34:55 +0000 (20:34 +0000)]
Fixed length of header read after switch to ENDSLEY/BSDIFF43

The header is formed of an identifier of the version of bsdiff used
concatenated with the length of the patched file. The change to a 16
bytes identifier caused the length to be omitted from the read,
breaking the utility.

11 years agoclarifying motivation for compat-breaking with bsdiff
Matthew Endsley [Wed, 24 Oct 2012 01:39:48 +0000 (18:39 -0700)]
clarifying motivation for compat-breaking with bsdiff

11 years agochanging patch header to ENDSLEY/BSDIFF43 for people using the project as a standalon...
Matthew Endsley [Wed, 24 Oct 2012 01:30:15 +0000 (18:30 -0700)]
changing patch header to ENDSLEY/BSDIFF43 for people using the project as a standalone tool

12 years agoadding compiling section to README.md
Matthew Endsley [Mon, 14 May 2012 23:14:54 +0000 (16:14 -0700)]
adding compiling section to README.md

12 years agoadding README.md
Matthew Endsley [Mon, 14 May 2012 10:34:37 +0000 (03:34 -0700)]
adding README.md

12 years agoremoving bspatch_request
Matthew Endsley [Mon, 14 May 2012 09:59:46 +0000 (02:59 -0700)]
removing bspatch_request

12 years agogcc -O2 complains about unitiailized pos
Matthew Endsley [Mon, 14 May 2012 09:29:30 +0000 (02:29 -0700)]
gcc -O2 complains about unitiailized pos

12 years agoupdating stream.read to return 0 on success a non-zero on failure
Matthew Endsley [Mon, 14 May 2012 09:10:45 +0000 (02:10 -0700)]
updating stream.read to return 0 on success a non-zero on failure

12 years agobspatch error should be errx instead of err
Matthew Endsley [Mon, 14 May 2012 09:10:18 +0000 (02:10 -0700)]
bspatch error should be errx instead of err

12 years agoswitching back to high-level bz2 interface now that write has been simplified
Matthew Endsley [Mon, 14 May 2012 08:40:32 +0000 (01:40 -0700)]
switching back to high-level bz2 interface now that write has been simplified

12 years agousing a single buffer for diff/extra data
Matthew Endsley [Mon, 14 May 2012 06:42:55 +0000 (23:42 -0700)]
using a single buffer for diff/extra data

12 years agofixing spacing inconsistency
Matthew Endsley [Mon, 14 May 2012 06:34:12 +0000 (23:34 -0700)]
fixing spacing inconsistency

12 years agodeleting unneeded finish function from bsdiff_stream
Matthew Endsley [Mon, 14 May 2012 06:32:01 +0000 (23:32 -0700)]
deleting unneeded finish function from bsdiff_stream

12 years agonuking __FBSDID
Matthew Endsley [Mon, 14 May 2012 06:30:08 +0000 (23:30 -0700)]
nuking __FBSDID

12 years agoreducing header to signature+newsize
Matthew Endsley [Mon, 14 May 2012 06:28:47 +0000 (23:28 -0700)]
reducing header to signature+newsize

12 years agointerleaving control, diff and extra data
Matthew Endsley [Mon, 14 May 2012 06:11:32 +0000 (23:11 -0700)]
interleaving control, diff and extra data

12 years agorenaming writecompressed to writedata
Matthew Endsley [Mon, 14 May 2012 05:58:55 +0000 (22:58 -0700)]
renaming writecompressed to writedata

12 years agoadding prototype for bspatch
Matthew Endsley [Mon, 14 May 2012 03:22:46 +0000 (20:22 -0700)]
adding prototype for bspatch

12 years agooldsize/newsize should be uint64_t instead of int
Matthew Endsley [Mon, 14 May 2012 03:11:17 +0000 (20:11 -0700)]
oldsize/newsize should be uint64_t instead of int

12 years agodetails for serializing bsdiff_header is left to caller
Matthew Endsley [Mon, 14 May 2012 03:01:04 +0000 (20:01 -0700)]
details for serializing bsdiff_header is left to caller

12 years agocleaning up old compressor names
Matthew Endsley [Mon, 14 May 2012 02:21:18 +0000 (19:21 -0700)]
cleaning up old compressor names

12 years agoreversing logic for library/executable compilation
Matthew Endsley [Mon, 14 May 2012 02:10:39 +0000 (19:10 -0700)]
reversing logic for library/executable compilation

12 years agoadding external LICENSE file
Matthew Endsley [Mon, 14 May 2012 00:59:16 +0000 (17:59 -0700)]
adding external LICENSE file

12 years agoupdating copyright string
Matthew Endsley [Mon, 14 May 2012 00:46:54 +0000 (17:46 -0700)]
updating copyright string

12 years agocleaning up warnings
Matthew Endsley [Mon, 14 May 2012 00:38:38 +0000 (17:38 -0700)]
cleaning up warnings

12 years agoadding BSPATCH_HEADER_ONLY to exclude non-declarations
Matthew Endsley [Mon, 14 May 2012 00:34:16 +0000 (17:34 -0700)]
adding BSPATCH_HEADER_ONLY to exclude non-declarations

12 years agoadding BSPATCH_LIBRARY to exclude non essential functionality (main+friends)
Matthew Endsley [Mon, 14 May 2012 00:32:15 +0000 (17:32 -0700)]
adding BSPATCH_LIBRARY to exclude non essential functionality (main+friends)

12 years agosimply returning -1 on failure in bspatch, and leaving errx calls in main
Matthew Endsley [Mon, 14 May 2012 00:31:26 +0000 (17:31 -0700)]
simply returning -1 on failure in bspatch, and leaving errx calls in main

12 years agocontrol/diff/extra streams are passed in the request struct
Matthew Endsley [Mon, 14 May 2012 00:29:03 +0000 (17:29 -0700)]
control/diff/extra streams are passed in the request struct

removes bz2 dependencies from bspatch

12 years agoadding bspatch_stream and updating readcompress to use it
Matthew Endsley [Mon, 14 May 2012 00:13:23 +0000 (17:13 -0700)]
adding bspatch_stream and updating readcompress to use it

12 years agomoving bspatch args to bspatch_request
Matthew Endsley [Sun, 13 May 2012 21:00:40 +0000 (14:00 -0700)]
moving bspatch args to bspatch_request

12 years agomoving bz2 decompression to compressread
Matthew Endsley [Sun, 13 May 2012 01:00:11 +0000 (18:00 -0700)]
moving bz2 decompression to compressread

12 years agomoving core patching functionality out of main and into bspatch
Matthew Endsley [Sun, 13 May 2012 00:35:41 +0000 (17:35 -0700)]
moving core patching functionality out of main and into bspatch

12 years agoswitching u_char variables to uint8_t
Matthew Endsley [Sun, 13 May 2012 00:25:01 +0000 (17:25 -0700)]
switching u_char variables to uint8_t

12 years agoswitching off_t variables to int64_t
Matthew Endsley [Sun, 13 May 2012 00:23:29 +0000 (17:23 -0700)]
switching off_t variables to int64_t

12 years agocleaning up warnings
Matthew Endsley [Mon, 14 May 2012 00:18:36 +0000 (17:18 -0700)]
cleaning up warnings

12 years agobsdiff_stream now provides malloc/free functions
Matthew Endsley [Sun, 13 May 2012 22:19:25 +0000 (15:19 -0700)]
bsdiff_stream now provides malloc/free functions

12 years agorenaming bsdiff_compressor to bsdiff_stream
Matthew Endsley [Sun, 13 May 2012 22:12:53 +0000 (15:12 -0700)]
renaming bsdiff_compressor to bsdiff_stream

12 years agoadding prototype for bsdiff
Matthew Endsley [Sun, 13 May 2012 22:10:59 +0000 (15:10 -0700)]
adding prototype for bsdiff

12 years agofixing endian swapping issue with bsdiff_header sizes
Matthew Endsley [Sun, 13 May 2012 22:09:24 +0000 (15:09 -0700)]
fixing endian swapping issue with bsdiff_header sizes

12 years agohandling large file requests by breaking up calls to compressor->write
Matthew Endsley [Sun, 13 May 2012 21:52:06 +0000 (14:52 -0700)]
handling large file requests by breaking up calls to compressor->write

12 years agoremoving unused bsdiff_write typedef
Matthew Endsley [Sun, 13 May 2012 21:45:22 +0000 (14:45 -0700)]
removing unused bsdiff_write typedef

12 years agoupdating copyright string
Matthew Endsley [Sat, 12 May 2012 10:16:45 +0000 (03:16 -0700)]
updating copyright string

12 years agoadding BSDIFF_HEADER_ONLY to compile out implementation
Matthew Endsley [Sat, 12 May 2012 10:07:28 +0000 (03:07 -0700)]
adding BSDIFF_HEADER_ONLY to compile out implementation

12 years agoadding const to old/new pointers coming into bsdiff
Matthew Endsley [Sat, 12 May 2012 10:03:40 +0000 (03:03 -0700)]
adding const to old/new pointers coming into bsdiff

12 years agomoving core allocations to trampoline function so they're freed on error
Matthew Endsley [Sat, 12 May 2012 04:54:00 +0000 (21:54 -0700)]
moving core allocations to trampoline function so they're freed on error

12 years agoadding bsdiff_internal that takes a struct of args forwarded by bsdiff
Matthew Endsley [Sat, 12 May 2012 04:41:17 +0000 (21:41 -0700)]
adding bsdiff_internal that takes a struct of args forwarded by bsdiff

12 years agoremoving dependency on err.h
Matthew Endsley [Sat, 12 May 2012 04:32:24 +0000 (21:32 -0700)]
removing dependency on err.h

12 years agoreplacing core usage of off_t (and sys/types.h) with int64_t
Matthew Endsley [Sat, 12 May 2012 04:27:44 +0000 (21:27 -0700)]
replacing core usage of off_t (and sys/types.h) with int64_t

12 years agoadding BSDIFF_LIBRARY define to exclude main and friends
Matthew Endsley [Sat, 12 May 2012 04:21:32 +0000 (21:21 -0700)]
adding BSDIFF_LIBRARY define to exclude main and friends

12 years agoadding bsdiff_compressor and removing BZ2 dependency from bsdiff's core functionality
Matthew Endsley [Sat, 12 May 2012 04:18:30 +0000 (21:18 -0700)]
adding bsdiff_compressor and removing BZ2 dependency from bsdiff's core functionality

12 years agoremoving dependency on FILE* based BZ2 functions
Matthew Endsley [Sat, 12 May 2012 02:39:37 +0000 (19:39 -0700)]
removing dependency on FILE* based BZ2 functions

12 years agosplurging on 16 extra bytes to write the 3 off_t vars at once
Matthew Endsley [Sat, 12 May 2012 03:42:12 +0000 (20:42 -0700)]
splurging on 16 extra bytes to write the 3 off_t vars at once

12 years agotracking filelen and nuking dependency on ftell
Matthew Endsley [Sat, 12 May 2012 03:38:48 +0000 (20:38 -0700)]
tracking filelen and nuking dependency on ftell

12 years agowritecompress/finishcompress return bytes written instead of status codes now
Matthew Endsley [Sat, 12 May 2012 03:32:31 +0000 (20:32 -0700)]
writecompress/finishcompress return bytes written instead of status codes now

12 years agoremoving dependency on FILE* based BZ2 functions
Matthew Endsley [Sat, 12 May 2012 02:39:37 +0000 (19:39 -0700)]
removing dependency on FILE* based BZ2 functions

12 years agoremoving requirement to seek inside of bsdiff
Matthew Endsley [Sat, 12 May 2012 01:12:40 +0000 (18:12 -0700)]
removing requirement to seek inside of bsdiff

moving writing of header out of bsdiff and into calling function

12 years agochanging bz2's u_char to uint8_t from <stdint.h>
Matthew Endsley [Fri, 11 May 2012 23:33:51 +0000 (16:33 -0700)]
changing bz2's u_char to uint8_t from <stdint.h>

12 years agoadding implementation of err/errx for non-linux builds
Matthew Endsley [Mon, 6 Feb 2012 21:42:14 +0000 (13:42 -0800)]
adding implementation of err/errx for non-linux builds

12 years agomoving core bsdiff logic out of main and into a new function bsdiff
Matthew Endsley [Mon, 6 Feb 2012 04:06:37 +0000 (20:06 -0800)]
moving core bsdiff logic out of main and into a new function bsdiff

12 years agodeleting some legacy files from official bsdiff distribution
Matthew Endsley [Mon, 14 May 2012 08:01:40 +0000 (01:01 -0700)]
deleting some legacy files from official bsdiff distribution

12 years agobsdiff/bspatch version 4.3
Colin Percival [Thu, 18 Aug 2005 22:14:00 +0000 (14:14 -0800)]
bsdiff/bspatch version 4.3