OSDN Git Service

lha/olha.git
15 years agostruct huf_t was discarded. master
Koji Arai [Mon, 25 Aug 2008 13:16:49 +0000 (22:16 +0900)]
struct huf_t was discarded.
use function instead of PUTBUF() macro.

15 years agovariable types should be more strict.
Koji Arai [Tue, 1 Jul 2008 15:12:53 +0000 (00:12 +0900)]
variable types should be more strict.

15 years agoar.c was refined.
Koji Arai [Tue, 1 Jul 2008 13:32:28 +0000 (22:32 +0900)]
ar.c was refined.

15 years agoshould include sys/types.h for mode_t
Koji Arai [Sun, 29 Jun 2008 03:25:55 +0000 (12:25 +0900)]
should include sys/types.h for mode_t

15 years agoshould make recursive directory
Koji Arai [Thu, 26 Jun 2008 07:47:44 +0000 (16:47 +0900)]
should make recursive directory

15 years agoadd.c, extract.c and ar.c were refined.
Koji Arai [Thu, 26 Jun 2008 06:56:56 +0000 (15:56 +0900)]
add.c, extract.c and ar.c were refined.

15 years agoar.c was refined.
Koji Arai [Thu, 26 Jun 2008 02:47:35 +0000 (11:47 +0900)]
ar.c was refined.

15 years agoshould return value
Koji Arai [Thu, 26 Jun 2008 02:47:15 +0000 (11:47 +0900)]
should return value

15 years agoar.c was refined.
Koji Arai [Thu, 26 Jun 2008 01:50:14 +0000 (10:50 +0900)]
ar.c was refined.

15 years agocorrect method width on listing.
Koji Arai [Thu, 26 Jun 2008 01:30:30 +0000 (10:30 +0900)]
correct method width on listing.

15 years agoar.c was refined.
Koji Arai [Thu, 26 Jun 2008 01:28:22 +0000 (10:28 +0900)]
ar.c was refined.

15 years agoar.c was refined.
Koji Arai [Wed, 25 Jun 2008 15:26:17 +0000 (00:26 +0900)]
ar.c was refined.

15 years agouse valgrind if possible
Koji Arai [Wed, 25 Jun 2008 14:34:57 +0000 (23:34 +0900)]
use valgrind if possible

15 years agoadded comment for pbit and np
Koji Arai [Tue, 24 Jun 2008 14:20:57 +0000 (23:20 +0900)]
added comment for pbit and np

15 years agouse the tmpfile() function to create temporary file.
Koji Arai [Mon, 23 Jun 2008 15:18:14 +0000 (00:18 +0900)]
use the tmpfile() function to create temporary file.

15 years agohuf.c was refined.
Koji Arai [Mon, 23 Jun 2008 14:49:20 +0000 (23:49 +0900)]
huf.c was refined.

15 years agodecode.c was refined.
Koji Arai [Mon, 23 Jun 2008 11:09:53 +0000 (20:09 +0900)]
decode.c was refined.

15 years agoextract.c and decode.c was refined.
Koji Arai [Mon, 23 Jun 2008 10:24:49 +0000 (19:24 +0900)]
extract.c and decode.c was refined.

15 years agohuf.c was refined.
Koji Arai [Mon, 23 Jun 2008 10:23:39 +0000 (19:23 +0900)]
huf.c was refined.

15 years agohuf.c was refined.
Koji Arai [Mon, 23 Jun 2008 05:46:05 +0000 (14:46 +0900)]
huf.c was refined.

15 years agohuf.c was refined.
Koji Arai [Thu, 19 Jun 2008 14:51:33 +0000 (23:51 +0900)]
huf.c was refined.

15 years agohuf.c was refined.
Koji Arai [Wed, 18 Jun 2008 15:34:17 +0000 (00:34 +0900)]
huf.c was refined.

15 years agomaketree.c was refined
Koji Arai [Wed, 18 Jun 2008 14:44:57 +0000 (23:44 +0900)]
maketree.c was refined

15 years agomaketree.c was refined.
Koji Arai [Wed, 18 Jun 2008 12:04:50 +0000 (21:04 +0900)]
maketree.c was refined.

15 years agomaketree.c was refined
Koji Arai [Tue, 17 Jun 2008 15:33:29 +0000 (00:33 +0900)]
maketree.c was refined

15 years agoMerged.
Koji Arai [Tue, 17 Jun 2008 09:43:39 +0000 (18:43 +0900)]
Merged.

15 years agodebugging code was removed.
Koji Arai [Tue, 17 Jun 2008 09:16:36 +0000 (18:16 +0900)]
debugging code was removed.

15 years agoio.c:fllbuf() was refined
Koji Arai [Tue, 17 Jun 2008 09:14:58 +0000 (18:14 +0900)]
io.c:fllbuf() was refined

15 years agoio.c:fillbuf() was refined.
Koji Arai [Wed, 11 Jun 2008 16:08:11 +0000 (01:08 +0900)]
io.c:fillbuf() was refined.

15 years agoremove global variables on huf.c
Koji Arai [Sun, 8 Jun 2008 13:58:37 +0000 (22:58 +0900)]
remove global variables on huf.c

15 years agoremove global variables on maketree.c
Koji Arai [Sun, 8 Jun 2008 13:29:49 +0000 (22:29 +0900)]
remove global variables on maketree.c

15 years agouse the struct heap_t for freq[]
Koji Arai [Thu, 5 Jun 2008 14:55:36 +0000 (23:55 +0900)]
use the struct heap_t for freq[]

15 years agouse the struct heap_t
Koji Arai [Thu, 5 Jun 2008 14:45:39 +0000 (23:45 +0900)]
use the struct heap_t

15 years agoshould not change the value of the h->origsize
Koji Arai [Thu, 5 Jun 2008 14:10:19 +0000 (23:10 +0900)]
should not change the value of the h->origsize

15 years agostatic variable i and j was removed, again
Koji Arai [Thu, 5 Jun 2008 14:01:10 +0000 (23:01 +0900)]
static variable i and j was removed, again

15 years agostatic variable i and j was removed
Koji Arai [Tue, 3 Jun 2008 15:01:19 +0000 (00:01 +0900)]
static variable i and j was removed

15 years agountabify
Koji Arai [Tue, 3 Jun 2008 14:27:58 +0000 (23:27 +0900)]
untabify

15 years agoglobal variable crc was removed
Koji Arai [Tue, 3 Jun 2008 04:17:10 +0000 (13:17 +0900)]
global variable crc was removed

15 years agoglobal variable bitbuf, subbitbuf and bitcount was removed
Koji Arai [Tue, 3 Jun 2008 04:05:22 +0000 (13:05 +0900)]
global variable bitbuf, subbitbuf and bitcount was removed

15 years agoglobal variable unpackable, compsize and origsize was removed
Koji Arai [Tue, 3 Jun 2008 03:27:22 +0000 (12:27 +0900)]
global variable unpackable, compsize and origsize was removed

15 years agoglobal variable, infile was removed
Koji Arai [Mon, 2 Jun 2008 15:29:16 +0000 (00:29 +0900)]
global variable, infile was removed

15 years agoglobal variable, outfile was removed
Koji Arai [Mon, 2 Jun 2008 15:23:18 +0000 (00:23 +0900)]
global variable, outfile was removed

15 years agoglobal variable, arcfile was removed
Koji Arai [Mon, 2 Jun 2008 15:16:50 +0000 (00:16 +0900)]
global variable, arcfile was removed

15 years agoprepared to use lzh_[io]stream
Koji Arai [Mon, 2 Jun 2008 15:09:27 +0000 (00:09 +0900)]
prepared to use lzh_[io]stream

15 years agoadded error.c
Koji Arai [Tue, 27 May 2008 12:45:18 +0000 (21:45 +0900)]
added error.c

15 years agoadded add.c extract.c list.c
Koji Arai [Tue, 27 May 2008 00:29:23 +0000 (09:29 +0900)]
added add.c extract.c list.c

15 years agoar.c was splited into header.c
Koji Arai [Mon, 26 May 2008 13:50:42 +0000 (22:50 +0900)]
ar.c was splited into header.c

15 years agoignore error for ENAMETOOLONG for Cygwin
Koji Arai [Sat, 24 May 2008 14:40:37 +0000 (23:40 +0900)]
ignore error for ENAMETOOLONG for Cygwin

15 years agorefactoring
Koji Arai [Fri, 23 May 2008 14:11:24 +0000 (23:11 +0900)]
refactoring

15 years agosuppress some warnings for gcc -Wall
Koji Arai [Fri, 23 May 2008 13:58:14 +0000 (22:58 +0900)]
suppress some warnings for gcc -Wall

15 years agorefactoring
Koji Arai [Fri, 23 May 2008 13:16:12 +0000 (22:16 +0900)]
refactoring

15 years agoprototypes.h was updated
Koji Arai [Thu, 22 May 2008 15:07:41 +0000 (00:07 +0900)]
prototypes.h was updated

15 years agoShould not use the basename() function.
Koji Arai [Thu, 22 May 2008 15:04:23 +0000 (00:04 +0900)]
Should not use the basename() function.

15 years agocomment for remaining tests
Koji Arai [Thu, 22 May 2008 14:47:31 +0000 (23:47 +0900)]
comment for remaining tests

15 years agopass the lha-test11
Koji Arai [Thu, 22 May 2008 14:43:28 +0000 (23:43 +0900)]
pass the lha-test11

however, use the LHa for UNIX for the lha-test11 (use `lha vvv arc.lzh')

15 years agoshould close() file before rename() it on Cygwin
Koji Arai [Wed, 21 May 2008 14:32:19 +0000 (23:32 +0900)]
should close() file before rename() it on Cygwin

15 years agoshould not add signed operand to unsigned
Koji Arai [Wed, 21 May 2008 14:30:42 +0000 (23:30 +0900)]
should not add signed operand to unsigned

15 years agorefectoring for ar.c
Koji Arai [Sat, 17 May 2008 13:51:59 +0000 (22:51 +0900)]
refectoring for ar.c

15 years agoreally pass the lha-test8
Koji Arai [Fri, 16 May 2008 15:15:08 +0000 (00:15 +0900)]
really pass the lha-test8

15 years agoread time_t data on level1 extended header
Koji Arai [Fri, 16 May 2008 15:03:05 +0000 (00:03 +0900)]
read time_t data on level1 extended header

15 years agopass the lha-test8
Koji Arai [Mon, 5 May 2008 13:40:18 +0000 (22:40 +0900)]
pass the lha-test8

15 years agopass the lha-test7
Koji Arai [Sun, 4 May 2008 14:44:59 +0000 (23:44 +0900)]
pass the lha-test7

15 years agotreat timestamp in header
Koji Arai [Sat, 3 May 2008 15:17:40 +0000 (00:17 +0900)]
treat timestamp in header

15 years agopass the lha-test5
Koji Arai [Sat, 3 May 2008 06:12:20 +0000 (15:12 +0900)]
pass the lha-test5

15 years agopass the lha-test4
Koji Arai [Sat, 3 May 2008 05:01:54 +0000 (14:01 +0900)]
pass the lha-test4

15 years agoIn encode.c, cause SEGV when the USE_LH6_METHOD and PERCOLATE are defined.
Koji Arai [Fri, 2 May 2008 19:00:10 +0000 (04:00 +0900)]
In encode.c, cause SEGV when the USE_LH6_METHOD and PERCOLATE are defined.
so set the PERCOLATE to 0

15 years agopass the lha-test3
Koji Arai [Fri, 2 May 2008 17:44:07 +0000 (02:44 +0900)]
pass the lha-test3

15 years agoadded filelib.c for rename files on different filesystems
Koji Arai [Thu, 1 May 2008 03:52:01 +0000 (23:52 -0400)]
added filelib.c for rename files on different filesystems

15 years agodisplay OS identifier
Koji Arai [Thu, 1 May 2008 03:34:58 +0000 (23:34 -0400)]
display OS identifier

16 years agopossible to accept any arguments as test number
Koji Arai [Wed, 2 Apr 2008 16:21:22 +0000 (01:21 +0900)]
possible to accept any arguments as test number

16 years agopass the lha-test10
Koji Arai [Wed, 2 Apr 2008 16:18:24 +0000 (01:18 +0900)]
pass the lha-test10

added -v option as the verbose mode.
file_crc should be initialized in add_dir().

16 years agoadded test script with Python
Koji Arai [Mon, 31 Mar 2008 19:23:34 +0000 (04:23 +0900)]
added test script with Python

16 years agovarious improvement
Koji Arai [Sat, 29 Mar 2008 16:41:48 +0000 (01:41 +0900)]
various improvement

added short option 'g' which creates generic header.
support extended header dirname for reading/writing level 2 header.
support -lhd- method.
support recursive archiving.
should be handled return value '?' for getopt_long().
use cproto to generate function declarations.

16 years agoheader level should be specified by -0, -1 and -2
Koji Arai [Thu, 27 Mar 2008 14:51:48 +0000 (23:51 +0900)]
header level should be specified by -0, -1 and -2

-h[012] option does not compatible for the LHa for UNIX.

16 years agosupport level 0 header (limited)
Koji Arai [Mon, 24 Mar 2008 19:17:17 +0000 (04:17 +0900)]
support level 0 header (limited)

16 years agosupport level 2 header (limited)
Koji Arai [Mon, 24 Mar 2008 16:21:05 +0000 (01:21 +0900)]
support level 2 header (limited)

16 years agosupport -lh6- and -lh7- methods
Koji Arai [Thu, 20 Mar 2008 01:22:19 +0000 (10:22 +0900)]
support -lh6- and -lh7- methods

16 years agorefactored encode.c
Koji Arai [Tue, 18 Mar 2008 17:52:32 +0000 (02:52 +0900)]
refactored encode.c

16 years agoprepared to support -lh6- and -lh7- methods
Koji Arai [Mon, 10 Mar 2008 17:23:12 +0000 (02:23 +0900)]
prepared to support -lh6- and -lh7- methods

16 years agopass the test1,2 except tests for the -lh1-,-lh6- and -lh7- methods
Koji Arai [Wed, 20 Feb 2008 23:11:38 +0000 (08:11 +0900)]
pass the test1,2 except tests for the -lh1-,-lh6- and -lh7- methods

16 years agorefactored
Koji Arai [Tue, 19 Feb 2008 14:47:25 +0000 (23:47 +0900)]
refactored

16 years agoadded a test.sh
Koji Arai [Mon, 18 Feb 2008 22:47:27 +0000 (07:47 +0900)]
added a test.sh

16 years agoadded a target "test"
Koji Arai [Mon, 18 Feb 2008 22:46:37 +0000 (07:46 +0900)]
added a target "test"

16 years agorefactored ar.c
Koji Arai [Mon, 18 Feb 2008 22:45:16 +0000 (07:45 +0900)]
refactored ar.c

16 years agorefactored ar.c
Koji Arai [Mon, 18 Feb 2008 22:34:53 +0000 (07:34 +0900)]
refactored ar.c

16 years agothe size of the bitbuf must be 2 bytes.
Koji Arai [Sat, 16 Feb 2008 17:25:46 +0000 (02:25 +0900)]
the size of the bitbuf must be 2 bytes.

16 years agore-indented by the GNU indent and rewrite the makefile for GNU make.
Koji Arai [Sat, 16 Feb 2008 14:00:22 +0000 (23:00 +0900)]
re-indented by the GNU indent and rewrite the makefile for GNU make.

command name is changed to olha which meaning the OpenLHa.

16 years agoimported the ar002.
arai [Mon, 11 Feb 2008 07:02:18 +0000 (07:02 +0000)]
imported the ar002.

derive from http://oku.edu.mie-u.ac.jp/~okumura/compression/ar002.exe

git-svn-id: file:///home/arai/src/olha-svn@1 5a5d0426-2c99-41bb-97a7-d8ad8ee57bcd