Okay, if you insist...

We need to add a new code to InserterException (freenet.client);
something like META_STRINGS_NOT_SUPPORTED (don't forget to add long and
short descriptions). This would indicate that you have tried to insert
something with extra slashes in it. It can be detected in
freenet.client.async.SingleFileInserter, for example, by checking whether
the FreenetURI has meta-strings on it. Any meta strings will be ignored
anyway: What we want here is if there are any, we fail with an
InserterException with the above code.

Various places have conditionals and switch statements on
InserterException codes. Some of these will need to be updated. I
believe FCP uses InserterException codes directly...

Good luck!

On Wed, Sep 20, 2006 at 01:46:23PM +0100, Volodya wrote:
> >> Ok, i'll take it on... promise nothing of course, except that i'll try.
> >>                     - Volodya
> > 
> > Hmmm... It would take longer to explain to you how to do it than to do
> > it myself. Forget it, I'll do it.
> 
> Ok, if you insist.
> 
> For the future reference, that sort of philosophy actually slows the 
> development down
> rather than speeds it up. Because if i don't code, then i won't know how to 
> code, and then
> i won't code. Thus you are losing a coder.
> 
> It's basically weighing long-term vs. short term. In the short term it's 
> definitely faster
> for you to programme *anything* for freenet then it is for me. Simply because 
> you know the
> code already, and know exactly where to look. In the long term it's faster to 
> get help,
> even if it's slow.
> 
> And yes i know that there is a point for each project where more people 
> actually slow the
> development down, but that's usually said about one-time projects, not an 
> on-going ones
> like freenet.
> 
> Peace.
>                - Volodya
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: 
<https://emu.freenetproject.org/pipermail/devl/attachments/20060920/b022fb41/attachment.pgp>

Reply via email to