From: Steven S. <ste...@gm...> - 2007-12-14 05:20:10
Attachments:
uint.diff
|
Use the standardized C99 types. This is our fault for not checking it when we added the *nix fast hash. :D |
From: Jacek S. <arn...@gm...> - 2007-12-14 19:46:10
|
Steven Sheehy wrote: > Use the standardized C99 types. This is our fault for not checking it > when we added the *nix fast hash. :D ok. ever considered mmap? > Use strtoll instead of atoll to enable build on HPUX Ok. > Fixes the disconnected string showing in the transfers pane before the > no slots available status. I discussed this patch with razzloss and we both came to the conclusion that its the responsability of the gui to tell which error messages to display from where...besides, I'm anticipating some changes to the transfer view now that we have segmented downloading in the core... > Adds an option to not follow symbolic links on *nix systems. Sometimes > following links can be problematic so this option is necessary for these > situations. Ok. At some point I really have to make the settings stuff a little less centralized...technically this could be implemented for win32 as well I think, but I don't remember the exact semantics of shell links with regards to directories... > Currently, if the Text::convert() encounters a conversion where the from > and to encodings are the same, it returns the initial string with no > conversion taking place. As I found out, this causes problems where the > text that says it is utf-8 isn't actually valid utf-8. In this case, > chat messages would not appear in the GUI since GTK+ won't display or > convert invalid utf-8. To remedy this, the text conversion functions > need to validate the text even if their encoding implies that no > conversion is necessary. I moved these checks into the WIN32 blocks. > Feel free to delete them altogether if you think you need to validate on > windows as well. I left them as is for now, although I guess at some point the win32 version should make the validation as well...apart from validation it should also make normalization to be adc compliant but that's an issue for a later date... > Description from original patch writer: > > My computer is connected to 2 huge LANs and the internet. > Respectively, the outside world knows it by 3 different IPs. While the patch itself seems fine, I'll be needing agreement from the original patch author before I add this...I'd also like to know who it was that wrote it in order to give due recognition (if the author wants)... /J |
From: Steven S. <ste...@gm...> - 2007-12-14 20:10:38
|
Jacek Sieka wrote: > Steven Sheehy wrote: >> Use the standardized C99 types. This is our fault for not checking it >> when we added the *nix fast hash. :D > ok. ever considered mmap? fasthash() already does use mmap... >> Fixes the disconnected string showing in the transfers pane before the >> no slots available status. > I discussed this patch with razzloss and we both came to the conclusion that its the responsability > of the gui to tell which error messages to display from where...besides, I'm anticipating some > changes to the transfer view now that we have segmented downloading in the core... Great, razzloss failed to mention this... >> Description from original patch writer: >> >> My computer is connected to 2 huge LANs and the internet. >> Respectively, the outside world knows it by 3 different IPs. > > While the patch itself seems fine, I'll be needing agreement from the original patch author before I > add this...I'd also like to know who it was that wrote it in order to give due recognition (if the > author wants)... The author is Stanislav Maslovski. I cc'd him so he can provide his input. -Steven |
From: Razzloss <Raz...@gm...> - 2007-12-15 00:51:48
|
On Friday 14 December 2007 22:10:25 Steven Sheehy wrote: > Jacek Sieka wrote: > >> Fixes the disconnected string showing in the transfers pane before the > >> no slots available status. > > > > I discussed this patch with razzloss and we both came to the conclusion > > that its the responsability of the gui to tell which error messages to > > display from where...besides, I'm anticipating some changes to the > > transfer view now that we have segmented downloading in the core... > > Great, razzloss failed to mention this... > In my defense it was only few (three at most) weeks ago... And I've been pretty busy with school & work lately and so I haven't got any time to do anything related to (Linux)DC++. I've been meaning to talk to you about it, but... yeah. IMHO the state wether to show the disconnect should be added to GUI-part as there are few other things that would benefit from it (setting the sensitivity of some context menu options to false/true atleast, though clearly it is not the killer feature everyone is waiting for, but gives a more finished look for the app). And also I'm assuming that the TTH/rollback failures lead to similar disconnect? So it would be easier just to add one hidden column to transferview and use that to determine if disconnect should be shown. --RZ |
From: Stanislav M. <sta...@gm...> - 2007-12-15 09:43:32
|
On Fri, Dec 14, 2007 at 02:10:25PM -0600, Steven Sheehy wrote: [ skipped ] >>> Description from original patch writer: >>> >>> My computer is connected to 2 huge LANs and the internet. >>> Respectively, the outside world knows it by 3 different IPs. >> >> While the patch itself seems fine, I'll be needing agreement from the original patch author before I >> add this...I'd also like to know who it was that wrote it in order to give due recognition (if the >> author wants)... > > > The author is Stanislav Maslovski. I cc'd him so he can provide his input. Thanks! I am, of course, not against that inclusion. Both for the patch and for the name if you feel that it is appropriate. -- Stanislav |
From: poy <po...@12...> - 2007-12-15 17:08:57
|
you'll need the IShellLink and IPersistFile interfaces, which need the win32 headers to be included. having DC++ follow shortcuts automatically, so that one can add a shortcut to a file in one's share instead of copying the whole file, would be awesome. :) poy ----- Original Message ----- From: "Jacek Sieka" <arn...@gm...> To: "Patches & development discussion" <dcp...@li...> Sent: Friday, December 14, 2007 8:45 PM Subject: Re: [dcplusplus-devel] LinuxDC++: Convert u_int*_t to uint*_t C99 types >> Adds an option to not follow symbolic links on *nix systems. Sometimes >> following links can be problematic so this option is necessary for these >> situations. > Ok. At some point I really have to make the settings stuff a little less > centralized...technically > this could be implemented for win32 as well I think, but I don't remember > the exact semantics of > shell links with regards to directories... |