aMule Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're back! (IN POG FORM)

Author Topic: SVN - complete feedback  (Read 5618 times)

gav616

  • Guest
SVN - complete feedback
« 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.
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN - complete feedback
« Reply #1 on: February 27, 2010, 05:39:05 PM »

Sure.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

gav616

  • Guest
Re: SVN - complete feedback
« Reply #2 on: February 27, 2010, 11:34:02 PM »

cheers.
Logged

gav616

  • Guest
Re: SVN - complete feedback
« Reply #3 on: March 07, 2010, 10:06:24 PM »

sorry to be insistent, but any news on the addition? I'm quite needing these fixes....
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN - complete feedback
« Reply #4 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..
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

myth

  • Global Moderator
  • Hero Member
  • *****
  • Karma: 38
  • Offline Offline
  • Posts: 570
Re: SVN - complete feedback
« Reply #5 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;
}
Logged

Stu Redman

  • Administrator
  • Hero Member
  • *****
  • Karma: 214
  • Offline Offline
  • Posts: 3739
  • Engines screaming
Re: SVN - complete feedback
« Reply #6 on: March 28, 2010, 10:23:16 PM »

Implemented in 10062.
Myth, what's your point? That's the original source.
Logged
The image of mother goddess, lying dormant in the eyes of the dead, the sheaf of the corn is broken, end the harvest, throw the dead on the pyre -- Iron Maiden, Isle of Avalon

gav616

  • Guest
Re: SVN - complete feedback
« Reply #7 on: March 30, 2010, 05:03:49 PM »

Logged