Xarchiver branch

Stephan Arts psybsd at gmail.com
Tue Apr 25 15:13:47 CEST 2006


On 4/18/06, Stephan Arts <psybsd at gmail.com> wrote:
> On 4/18/06, Benedikt Meurer <benedikt.meurer at unix-ag.uni-siegen.de> wrote:
> > Stephan Arts wrote:
> > > I need to wait for the io_channel to close and the app (like tar) to
> > > exit before i emit a signal. (Or we could miss rows which results in
> > > an incomplete filled tree-model).
> > >
> > > But this 'waiting' should not freeze xarchiver, any idea on how to do this?
> >
> > G_IO_HUP seems to be what you are looking for. But you will also make
> > sure to handle the case where the app terminates while you are in read().
> >
> > > Thanks,
> > > Stephan
> >
> > Benedikt
> > _______________________________________________
> > Xfce4-dev mailing list
> > Xfce4-dev at xfce.org
> > http://foo-projects.org/mailman/listinfo/xfce4-dev
> >
>
> I think i fixed it, but it is an error that does not occur all the time.
> Does any-one like to test it?
>
> (Open and close different .tar and .tar.gz archives, and check the
> contents of the tree-view if you see ALL files)
>
> It should work, but like i said... i cannot be sure until i have
> tested it for a few days.

Mem-usage with a tar archive containing 250.000 files.

fileroller: 134.736 KB
xarchiver: 81.540 KB

A remaining problem is performance with archives containing large files...
takes too long and xarchiver gui does not respond.

Stephan



More information about the Xfce4-dev mailing list