[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Making ra_serf the default for DAV

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-10-19 20:18:04 CEST

Justin Erenkrantz wrote:
> On Thu, Oct 19, 2006 at 06:30:48PM +0200, Stefan Kng wrote:
>> serf also misses the progress callback neon has, which is an important
>> feature for GUI clients. Making it the default for DAV may work ok for
>> the command line client, but for me as the dev of TSVN I would keep
>> using neon for that reason.
>
> It's not like serf is set in stone. If you can tell me what you would be
> looking for, we might be able to add it or rather I can help you create the
> patches. =) -- justin

neon has a callback function which provides progress information.
Basically you get information in the form of (transmitted bytes, total
bytes to transmit). While 'total bytes to transmit' is not always
available (and then simply set to 0), the 'transmitted bytes' always is.
That's the info I use in TSVN to at least show the user that *something*
is going on (i.e. I'm showing for example "transferring at 3.5kBytes/s",
if the total value is also available, I even show a progress bar).

In subversion/libsvn_ra_dav/session.c you can find out how that callback
is used (search for 'neonprogress').

I'm not sure how this would have to be done in serf though.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Oct 19 20:18:26 2006

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.