aMule Forum

English => Feature requests => Topic started by: gav616 on February 27, 2010, 04:15:45 PM

Title: SVN - complete feedback
Post by: gav616 on February 27, 2010, 04:15:45 PM
I see remotegui is getting a good seeing to ATM (completed sources now works, etc..)

any chance of adding these fixes  to 'Copy feedback to clipboard' to make it complete...?

Code: [Select]
'On Queue'
'Complete sources'

ta.
Title: Re: SVN - complete feedback
Post by: Stu Redman on February 27, 2010, 05:39:05 PM
Sure.
Title: Re: SVN - complete feedback
Post by: gav616 on February 27, 2010, 11:34:02 PM
cheers.
Title: Re: SVN - complete feedback
Post by: gav616 on March 07, 2010, 10:06:24 PM
sorry to be insistent, but any news on the addition? I'm quite needing these fixes....
Title: Re: SVN - complete feedback
Post by: Stu Redman on March 08, 2010, 07:45:03 PM
It needs some internal restructuring first. Partfiles/Knownfiles have to be unified for EC too for this to work properly..
Title: Re: SVN - complete feedback
Post by: myth on March 08, 2010, 10:32:45 PM
For feedback additions my KnownFile.cpp looks like this:
Code: [Select]
wxString CKnownFile::GetFeedback() const
{
return   wxString(_("File name")) + wxT(": ") + GetFileName().GetPrintable() + wxT("\n")
+ _("File size") + wxT(": ") + CastItoXBytes(GetFileSize()) + wxT("\n")
+ _("Share ratio") + wxString::Format(wxT(": %.2f%%\n"), (((double)statistic.GetAllTimeTransferred() / (double)GetFileSize()) * 100.0))
+ _("Uploaded") + wxT(": ") + CastItoXBytes(statistic.GetTransferred()) + wxT(" (") + CastItoXBytes(statistic.GetAllTimeTransferred()) + wxT(")\n")
+ _("Requested") + CFormat(wxT(": %u (%u)\n")) % statistic.GetRequests() % statistic.GetAllTimeRequests()
+ _("Accepted") + CFormat(wxT(": %u (%u)\n")) % statistic.GetAccepts() % statistic.GetAllTimeAccepts()
+ _("On Queue") + CFormat(wxT(": %u\n")) % GetQueuedCount()
+ _("Complete sources") + CFormat(wxT(": %u\n")) % m_nCompleteSourcesCount;
}
Title: Re: SVN - complete feedback
Post by: Stu Redman on March 28, 2010, 10:23:16 PM
Implemented in 10062.
Myth, what's your point? That's the original source.
Title: Re: SVN - complete feedback
Post by: gav616 on March 30, 2010, 05:03:49 PM
Implemented in 10062.
*Thumbs up*