September 29, 2007 Re: D Installler | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lester Martin | Lester Martin Wrote:
Dear Mr. Miller,
I have gotten DFL to finally work with tango. After I have everything working in C# i'll rewrite it with tango and dfl.
Does anyone know of a good zip compression library for D or is this integrated into tango in an easy to use way like example below.
FastZip fz = new FastZip(file);
fz.unzipTo(ftuzt);
fz.setNewZip(file2);
fz.compressDirToCurZip(dir);
Those method names may very as long as such functionality is provided.
> Works with V 1.021 so I'll try and if it works I'll use tango and DFL for the installer rewrite. I am going to finish what I started in C#.
> Lester Martin
> Chris Miller Wrote:
>
> > On Sat, 29 Sep 2007 13:52:58 -0400, Lester Martin <Sarah@ewam-associates.com> wrote:
> >
> > > Dear Mr. Roberts,
> > > Reason I'm not writing it in D is I don't have the tools I need. I
> > > would have to rewrite zipping and such because I want to be able to use
> > > it easily in an OO way. Plus I can't get DFL to work with tango so I
> > > can't use my favorite standard library and favorite gui lib together
> > > easily yet.
> > > If you want when I'm through I'll send you my C# program and you can
> > > convert it to D.
> > > My installer is an executable not a( you must )unzip.
> > > Fellow Programmer,
> > > Lester Martin
> >
> > For DFL, try http://www.dprogramming.com/dfltango.php with the DFL snapshot at http://wiki.dprogramming.com/Dfl/Snapshots - if you have problems, please report them. You can use the forum, reply to my e-mail, whatever. All DFL versions are bound to specific DMD and Tango versions, which tends to be more strict with Tango; the snapshot has updated Tango support.
>
|
September 30, 2007 Re: D Installler | ||||
---|---|---|---|---|
| ||||
Posted in reply to Lester Martin |
Lester Martin wrote:
> Lester Martin Wrote:
> Dear Mr. Miller,
> I have gotten DFL to finally work with tango. After I have everything working in C# i'll rewrite it with tango and dfl.
>
> Does anyone know of a good zip compression library for D or is this integrated into tango in an easy to use way like example below.
> FastZip fz = new FastZip(file);
> fz.unzipTo(ftuzt);
> fz.setNewZip(file2);
> fz.compressDirToCurZip(dir);
>
> Those method names may very as long as such functionality is provided.
>
I've got the beginnings of a Zip archive implementation for Tango lying around, but it's been held up by various things. There's little doubt that Tango will have Zip support fairly soon (and by "fairly soon" I mean by around the end of the year.)
<rant>
Incidentally, Zip is a complete bastard of a format to support. The format document is horribly written, disjointed, confusing, incomplete and the format itself hasn't so much evolved as *congealed* over time.
For instance: there's something like four different places the list of files in an archive can appear, and just to make things fun, the format spec doesn't say *anything* about which one to trust.
Of course, tar isn't much better; that one has *multiple* incompatible standards; half of the time, there's no reliable way to tell them apart, either.
I haven't had the heart to even try looking at 7z yet...
</rant>
-- Daniel
|
Copyright © 1999-2021 by the D Language Foundation