Search found 72 matches

by Big Muscle
2006-09-04 14:41
Forum: Programmer's Help
Topic: STLPort upgrade
Replies: 2
Views: 3013

I use 5.1 and I hate that I must compile it if I want to use node allocator :evil:
by Big Muscle
2006-09-01 08:44
Forum: Programmer's Help
Topic: Difference in size with different branches
Replies: 2
Views: 2948

I think it's due to STLPort version. As I know arne still uses 4.6.2
by Big Muscle
2006-08-24 07:41
Forum: Developer's resort
Topic: CVS todo list?
Replies: 15
Views: 7890

* Identity class isn't thread-safe. Two threads can access to "info" map which can result in crash in Identity::get/set

I think it's connected with these crashes:
http://dcpp.net/crash/view_crash.php?id=10279
http://dcpp.net/crash/view_crash.php?id=10276
http://dcpp.net/crash/view_crash.php?id=10277
by Big Muscle
2006-07-27 13:11
Forum: Proposals
Topic: dc++ 0.401 users
Replies: 8
Views: 6240

btw, just a suggestion...
DC++ 0.401 has a bug in $UGetBlock implementation that it disconnects requirements for -1 bytes, but why just not use standard protocol command $Get to get filelist from .401 ?

I know that .401 is very old and all users should upgrade, so it was only suggestion ;)
by Big Muscle
2006-07-22 16:11
Forum: Proposals
Topic: dc++ plugin support
Replies: 5
Views: 5196

post is too long for me to read it whole ;)

there has already been dc++ mod called phantomdc with plugin support...but, only about 3 plugins existed and I don't think that someone would write the plugins.
by Big Muscle
2006-07-22 12:49
Forum: Proposals
Topic: different share for each hub
Replies: 5
Views: 4383

ivulfusbar wrote:this doesn't mean that DC++ will impliment the feature.
I hope not.. it will end with users which share only minimum amount on each hub.
by Big Muscle
2006-07-16 11:11
Forum: Developer's resort
Topic: Crash collector
Replies: 15
Views: 8071

just like in my StrongDC++.. I can make a patch if someone wants.. Hmm? What part are you referring to? A patch in the exception handler that flags 3rd party DLLs before you even generate a crash log? yes... it just displays a message box "Application XXX caused crash in DC++..." instead of "DC++ h...
by Big Muscle
2006-07-16 09:59
Forum: Developer's resort
Topic: Crash collector
Replies: 15
Views: 8071

just like in my StrongDC++.. I can make a patch if someone wants..
by Big Muscle
2006-07-04 11:30
Forum: Protocol Alley
Topic: GetZBlock in Hub supports
Replies: 5
Views: 4459

yes, I think there's no such hub but it should be the only reason why it is sent to hub as support
by Big Muscle
2006-07-04 08:55
Forum: Protocol Alley
Topic: GetZBlock in Hub supports
Replies: 5
Views: 4459

is it there for example hub could allow only clients with compression enabled etc..?
by Big Muscle
2006-06-15 14:10
Forum: Programmer's Help
Topic: BufferedSocket memory leak
Replies: 2
Views: 3039

i don't know exactly how to fix it... I made solution by adding try..catch in while loop in checkEvents() and "delete p.second" in catch block, but i'm not sure about this solution :arrow: it removes memory leak but i don't know about negative influence.
by Big Muscle
2006-06-14 04:48
Forum: Programmer's Help
Topic: BufferedSocket memory leak
Replies: 2
Views: 3039

BufferedSocket memory leak

Hi, there's memory leak in BufferedSocket in DC++ 0.69x...

If some function in BufferedSocket::checkEvents() throws exception, it will be caught in BufferedSocket::run(). But "p.second" in checkEvents() won't be deleted.
by Big Muscle
2006-06-11 12:47
Forum: Programmer's Help
Topic: a problem adding a CComboBoxEx to SearchFrame
Replies: 2
Views: 2921

i'm using ownerdraw and it works correctly ... MESSAGE_HANDLER(WM_DRAWITEM, onDrawItem) ... LRESULT SearchFrame::onDrawItem(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled) { HWND hwnd = 0; if(wParam == IDC_FILETYPES) return ListDraw(hwnd, wParam, (DRAWITEMSTRUCT*)lParam); ... BOOL SearchFra...
by Big Muscle
2006-02-18 16:31
Forum: Proposals
Topic: Reinsert the "small send buffer" function?
Replies: 38
Views: 29162

dcjoheb wrote:I just hope that developers will Reinsert the "small send buffer" function...
but they won't. Read the second post in this topic.
by Big Muscle
2006-02-10 14:06
Forum: Proposals
Topic: Sharing Profiles
Replies: 25
Views: 14498

noooo, never... it would decrease amount of shared data, because a lot of users would share only a requested minimum for that hub.
by Big Muscle
2006-02-10 05:09
Forum: Programmer's Help
Topic: Getting an unfinished file from TransferView
Replies: 14
Views: 8539

ah, sorry :) ii->Target is (ii->path + ii->file)
by Big Muscle
2006-02-09 05:19
Forum: Programmer's Help
Topic: Getting an unfinished file from TransferView
Replies: 14
Views: 8539

I use this: ItemInfo *ii = ctrlTransfers.getItemData(i); QueueItem::StringMap queue = QueueManager::getInstance()->lockQueue(); string tmp = ii->Target; QueueItem::StringIter qi = queue.find(&tmp); string aTempTarget; if(qi != queue.end()) aTempTarget = qi->second->getTempTarget(); QueueManager::get...
by Big Muscle
2006-02-04 16:45
Forum: Other Direct Connect tools
Topic: wireless connection search
Replies: 3
Views: 3191

you are in a bad forum. This isn't for oDC but for DC++ :lol:
by Big Muscle
2006-02-02 04:16
Forum: Proposals
Topic: Antifragmentation method - or how not to suicide yourself.
Replies: 4
Views: 3399

If I undesŕstand you that this option crashed your PC...

... but it's your problem, or you think that creating empty file on HDD is dangerous? I guess your HDD or memory is corrupted.
by Big Muscle
2006-01-29 10:22
Forum: Proposals
Topic: Why segmented downloads are a horrible idea
Replies: 16
Views: 9432

Pothead wrote:1. Spams hub with ConnectToMe's
DC++ also sends a lot of ConnectToMe's until source with slot is connected.

StrongDC++ sends ConnectToMe's until max. 10 sources with slot is connected.
by Big Muscle
2006-01-28 09:13
Forum: Developer's resort
Topic: STLPort CVS
Replies: 5
Views: 4108

ok, I will try... btw bug is also in DC++ ;)
by Big Muscle
2006-01-28 07:31
Forum: Developer's resort
Topic: STLPort CVS
Replies: 5
Views: 4108

Another problem with STLport (every, not only CVS) in _STLP_DEBUG. It complains about comparing two iterators with different owner in ShareManager::removeTTH(...). What to do with it ? P.S. STLPort CVS crash on it when not in _STLP_DEBUG. void ShareManager::removeTTH(const TTHValue& tth, const Direc...
by Big Muscle
2006-01-19 15:40
Forum: Developer's resort
Topic: STLPort CVS
Replies: 5
Views: 4108

STLPort CVS

Hello. I was trying to compile DC++ with latest STLPort CVS, but I got a lot of errors like: Error 20 error C2139: 'HubEntry' : an undefined class is not allowed as an argument to compiler intrinsic type trait '__has_trivial_assign' c:\program files\microsoft visual studio 8\komponenty\stlport\stlpo...
by Big Muscle
2006-01-16 15:09
Forum: Proposals
Topic: Disconnect feature
Replies: 7
Views: 4562

I was already thinking about removing "Disconnect" item from upload menu
by Big Muscle
2006-01-15 12:16
Forum: Proposals
Topic: better support when working with segment-downloading clients
Replies: 24
Views: 11672

you don't know that no new vendor will appear there, so to avoid disconnecting you will request smaller amount.
by Big Muscle
2006-01-15 12:08
Forum: Proposals
Topic: better support when working with segment-downloading clients
Replies: 24
Views: 11672

NMDC supports $Cancel command, but it's not implemented in no client and it's no worth implementing it. I'm saying that DC++ is stopping when it shouldn't this isn't true. DC++ doesn't stop. Just imagine this: You said me to give you 5 apples, so I give you 5 apples. And then you start saying that I...
by Big Muscle
2006-01-15 11:51
Forum: Proposals
Topic: better support when working with segment-downloading clients
Replies: 24
Views: 11672

you still don't understand the problem. No body doesn't interrupt the transfer. DC++ just sends the requested bytes.

And there's no possibility to cancel transfer except of disconnecting, which is risk of losing a precious slot.
by Big Muscle
2006-01-15 11:30
Forum: Proposals
Topic: better support when working with segment-downloading clients
Replies: 24
Views: 11672

it's not solution, because if I want from user A only the first chunk of file, then it won't be logged, because this chunk doesn't finish at the end of file.
by Big Muscle
2006-01-15 11:22
Forum: Proposals
Topic: better support when working with segment-downloading clients
Replies: 24
Views: 11672

of course, it can detect it, same as in StrongDC++, but it's detected according requested_bytes in $ADCGET.
by Big Muscle
2006-01-15 11:12
Forum: Proposals
Topic: better support when working with segment-downloading clients
Replies: 24
Views: 11672

both clients are behaving according to specification. ADC protocol for SND command says: "The sender will keep on sending until <bytes> bytes of binary data have been sent, and then will put itself back to NORMAL state." and when data have been sent, it means that uploading is finished. EDIT: soluti...
by Big Muscle
2006-01-15 11:04
Forum: Proposals
Topic: better support when working with segment-downloading clients
Replies: 24
Views: 11672

The StrongDC sends a $Cancel to the DC++ (like in the NMDC protocol) and the a $Send with the required position; this is repeated over and over again, by the StrongDC, when segment limits are reached. Or at least this is what I think it happens StrongDC++ doesn't send $Cancel because it's not suppo...
by Big Muscle
2006-01-15 10:24
Forum: Proposals
Topic: better support when working with segment-downloading clients
Replies: 24
Views: 11672

there's no real issue in DC++ neither in StrongDC++. The only issue is that DC++ logs every finish of $ADCSND command.
by Big Muscle
2006-01-01 16:20
Forum: Proposals
Topic: Bandwith limit manager
Replies: 17
Views: 10030

or just made only download limiter. Why everyone wants to limit his upload ? They can download and browse web when download speed is limited ;-)
by Big Muscle
2006-01-01 08:49
Forum: Proposals
Topic: ETA of the new version ?
Replies: 12
Views: 6112

centuries :lol:
by Big Muscle
2005-12-30 08:51
Forum: Programmer's Help
Topic: Bug 759 (and the dupes)
Replies: 6
Views: 5872

no, this bugs seems to be fixed in CVS and it's due to blocking socket operations which caused hanging when client on the other side deadlocked.
by Big Muscle
2005-12-28 13:01
Forum: Programmer's Help
Topic: CVS bugs
Replies: 1
Views: 1616

6) also sometimes crashes in BufferedSocket.h - came from BufferedSocket::accept void addTask(Tasks task, TaskData* data) throw() { >>>> tasks.push_back(make_pair(task, data)); taskSem.signal(); } 7) and this seems like big problem: since there's getLegacyUser in SearchManager which takes a long tim...
by Big Muscle
2005-12-28 05:07
Forum: Programmer's Help
Topic: CVS bugs
Replies: 1
Views: 1616

CVS bugs

Hi. since DCDev hub isn't running, I'm creating this topic to report some CVS bugs I found :) 1) expectedConnections in ConnectionManager need to be in critical sections else it can crashes working patch here: http://www.home.karneval.cz/01027053/patch/ConnMan.patch 2) why aren't there throw(Excepti...
by Big Muscle
2005-12-16 15:41
Forum: Proposals
Topic: Remove user from queue if to slow
Replies: 30
Views: 18037

I didn't patched segmented downloading in RevConnect. I've only improved in StrongDC++ to use ADCGET command, download by chunks and not need reconnect when chunk is finished.

If arne wants it, he can take it.
by Big Muscle
2004-07-31 15:09
Forum: Programmer's Help
Topic: Deadlock when close hub frame
Replies: 6
Views: 3805

Deadlock is caused by function HubFrame::getUserInfo();

Code: Select all

	bool getUserInfo() { return ctrlShowUsers.GetCheck() == BST_CHECKED; }
I've just replaced its content with

Code: Select all

	bool getUserInfo() { return ShowUserList; }
and no deadlocks now :))
by Big Muscle
2004-07-18 16:42
Forum: Feature Discussion (Archived)
Topic: Completion of BitTorrents - hashed patch-resume
Replies: 6
Views: 3434

but it's bad :( because when you download without resuming, you don't need check it.
by Big Muscle
2004-04-03 07:50
Forum: Programmer's Help
Topic: STRING - CHAR
Replies: 4
Views: 7832

Use yourstring.c_str()
by Big Muscle
2004-03-03 12:30
Forum: Programmer's Help
Topic: New button on toolbar
Replies: 5
Views: 3366

Ohhh, it isn't caused by a button. It freeze if I add some new line to

void MainFrame::onAction(TimerManagerListener::Types type, u_int32_t aTick) throw()
by Big Muscle
2004-03-02 13:21
Forum: Programmer's Help
Topic: New button on toolbar
Replies: 5
Views: 3366

OK. But I can't compile it in debug mode. While linking it writes many errors such as "Object already defined...".
by Big Muscle
2004-03-01 16:34
Forum: Programmer's Help
Topic: New button on toolbar
Replies: 5
Views: 3366

I tried to remove the button and it doesn't freeze. It only do if button can be checked.

If freeze, for example, when disconnects from hub....
by Big Muscle
2004-03-01 10:11
Forum: Programmer's Help
Topic: New button on toolbar
Replies: 5
Views: 3366

New button on toolbar

How can I add the new button on toolbar??? I have tried to copy it from another button and it works, but DC++ very often freeze. Thanks :-)
by Big Muscle
2004-02-15 04:51
Forum: Programmer's Help
Topic: Block Size
Replies: 2
Views: 1860

Block Size

What is it ?

Increase min download block size to 65535

It has been increased in Reverse Connect from 20000 to 65535.
Does it have any influence on performance or segmented downloading ?
by Big Muscle
2004-02-11 13:22
Forum: Feature Discussion (Archived)
Topic: Compressed and safe transfers
Replies: 10
Views: 4531

If I download some file, downloading stops at 99.4% and file isn't finished. My friend has the same problem. This appears only if compressed transfers are enabled.

I have WinXP Pro and DC++ 0.306. I noticed that more people have this problem.

Uploads work well.
by Big Muscle
2004-02-11 11:53
Forum: Feature Discussion (Archived)
Topic: Compressed and safe transfers
Replies: 10
Views: 4531

Compressed and safe transfers

When this feature will be repaired ??? Now if I enable it, download stops at 96-99% and file isn't finished.

This should be a very good feature, if it works well.
by Big Muscle
2004-02-08 11:24
Forum: Programmer's Help
Topic: QueueItem download speed
Replies: 3
Views: 2621

I tried this

Download* d = new Download(qi, qi->getCurrents()->getUser());

then if I use d->getTarget(), it works; but if I use d->getRunningAverage(), it returns 0.