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

Re: Statistics graph as a separate application

From: Andreas Nicolai <Andreas.Nicolai_at_gmx.net>
Date: 2007-10-19 14:24:05 CEST

Hi there,

On Thu, 18 Oct 2007 22:44:16 -0400, Alexander Klenin <klenin@gmail.com>
wrote:

> I see statistics graph receive a lot of attention lately.
> If Andreas plans on further improvements, perhaps it makes sense to
> create a separate TortoiseStats application in line with TortoiseMerge
> and others?
>
> I think that with carefully designed API we could allow to use
> Excel/OpenOffice Calc/GNU Plot instead of it, by analogy with external
> merge tools.

Well, I don't think that the revision stats viewer would have a great
re-usability value outside the context of viewing stats from an SVN
repository. And just having an interface for externally developed
statistics tools doesn't quite justify the amount of implementation work
needed for such an external "swappable" statistics viewer.

However, if a lot more sophistic statistics graphs and charts are
required, maybe that could be implemented faster using a different class
library (I'm thinking either Qt4 or Borland's VCL with the TeeChart
component) instead of hand-writing everything with the current rather
low-level MFC code.

But let's think this through: if the interface were to be created at the
point where the statistics dialog is just called, all data necessary to be
passed to the statistics dialog module would be the 4 data arrays
containing commit dates, authors, file counts etc. If these are stored in
consecutive memory arrays (which is questionable for large data sets) they
could easily be passed through a c-style DLL interface. Everything else
would then be just part of the actual Dll.

Anyway, at the moment this is way too much work for me, so I would step
back from this task. But maybe it's worth keeping this in mind for the
future? I'll add it as a new feature request to the tracker...

Andreas

-- 
Andreas Nicolai                         anicolai@syr.edu
PhD Candidate, M.A.M.E                  (315) 443-2218
Syracuse University
151 Link Hall
Syracuse, NY, 13244
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Oct 19 14:47:52 2007

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

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