[freenet-dev] [freenet-cvs] r14782 - trunk/freenet/src/freenet/support

2007-08-23 Thread Matthew Toseland
} else > + this.content = content; > } > Is this equivalent? If content was a local variable, then it isn't, is it? -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20070823/22979bda/attachment.pgp>

[freenet-dev] [freenet-cvs] r14762 - trunk/plugins/XMLSpider

2007-08-23 Thread Matthew Toseland
--- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20070823/d28485c5/attachment.pgp>

[freenet-dev] [freenet-cvs] r14758 - trunk/plugins/XMLSpider

2007-08-23 Thread Matthew Toseland
+ if (ids[i].equals(id)) > + return; > + } > + Integer[] newIDs = new Integer[ids.length + 1]; > + System.arraycopy(ids, 0, newIDs, 0, ids.length); > + newIDs[ids.length] = id; > + idsByWord.put(word, newIDs); > } > - Integer[] newIDs = new Integer[ids.length + 1]; > - System.arraycopy(ids, 0, newIDs, 0, ids.length); > - newIDs[ids.length] = id; > - idsByWord.put(word, newIDs); > - } > > - tMap.put(MD5(word), word); > - long time_indexing = System.currentTimeMillis(); > - if (tProducedIndex + minTimeBetweenEachIndexRewriting * 10 < System.currentTimeMillis()) { > - try { > - if(indexing){ > - generateIndex2(); > - produceIndex2(); > - /* > - * ensures that index production > doesn't eat up the processor time > - */ > - if((System.currentTimeMillis() - time_indexing)/(System.currentTimeMillis() - tProducedIndex) > MAX_TIME_SPENT_INDEXING) indexing= false; > - else indexing = true; > + tMap.put(MD5(word), word); > + long time_indexing = System.currentTimeMillis(); > + if (tProducedIndex + minTimeBetweenEachIndexRewriting * > 10 < System.currentTimeMillis()) { > + try { > + if(indexing){ > + generateIndex2(); > + produceIndex2(); > + /* > + * ensures that index > production doesn't eat up the processor time > + */ > + if((System.currentTimeMillis() > - time_indexing)/(System.currentTimeMillis() - tProducedIndex) > MAX_TIME_SPENT_INDEXING) indexing= false; > + else indexing = true; > + } > + } catch (IOException e) { > + Logger.error(this, "Caught " + e + " > while creating index", e); > } > - } catch (IOException e) { > - Logger.error(this, "Caught " + e + " while > creating index", e); > + tProducedIndex = System.currentTimeMillis(); > } > - tProducedIndex = System.currentTimeMillis(); > } > } > -} > > > -public String handleHTTPPut(HTTPRequest request) throws PluginHTTPException{ > - return null; > -} > -public String handleHTTPPost(HTTPRequest request) throws PluginHTTPException{ > - return null; > -} > + public String handleHTTPPut(HTTPRequest request) throws PluginHTTPException{ > + return null; > + } > + public String handleHTTPPost(HTTPRequest request) throws PluginHTTPException{ > + return null; > + } > > -public void onFoundEdition(long l, USK key){ > - FreenetURI uri = key.getURI(); > - if(runningFetchesByURI.containsKey(uri)) > runningFetchesByURI.remove(uri); > - uri = key.getURI().setSuggestedEdition(l); > - queueURI(uri); > + public void onFoundEdition(long l, USK key){ > + FreenetURI uri = key.getURI(); > + if(runningFetchesByURI.containsKey(uri)) > runningFetchesByURI.remove(uri); > + uri = key.getURI().setSuggestedEdition(l); > + queueURI(uri); > + } > + > } > - > -} > > ___ > cvs mailing list > cvs at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/cvs > > -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20070823/d87b6f2f/attachment.pgp>

[freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread Florent Daignière
- 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/20070823/d002a880/attachment.pgp>

[freenet-dev] ita l10n v22

2007-08-23 Thread Matthew Toseland
mail/devl/attachments/20070823/c386ca64/attachment.pgp>

[freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread Matthew Toseland
ed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20070823/950ebbcd/attachment.pgp>

[freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread vive
er.java.classpath.2=freenet-ext.jar Vilhelm -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20070823/e5dc5e0d/attachment.pgp>

[freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread vive
with what you have to say, but I shall defend, to the > death, your right to say it. - Voltaire > Those who would give up Liberty, to purchase temporary Safety, deserve > neither Liberty nor Safety. - Ben Franklin > ___ > Devl mailing list > Devl at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl -- next part -- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20070823/378ea111/attachment.pgp>

[freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread Florent Daignière
e temporary Safety, deserve > neither Liberty nor Safety. - Ben Franklin > ___ > Devl mailing list > Devl at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl -- 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/20070823/5a834d82/attachment.pgp>

Re: [freenet-dev] [freenet-cvs] r14782 - trunk/freenet/src/freenet/support

2007-08-23 Thread Matthew Toseland
On Saturday 18 August 2007 10:01, you wrote: > Author: sback > Date: 2007-08-18 09:01:52 + (Sat, 18 Aug 2007) > New Revision: 14782 > > Modified: >trunk/freenet/src/freenet/support/HTMLNode.java > Log: > Some code refactoring > > Modified: trunk/freenet/src/freenet/support/HTMLNode.java >

Re: [freenet-dev] [freenet-cvs] r14762 - trunk/plugins/XMLSpider

2007-08-23 Thread Matthew Toseland
Ummm, please don't do it that way ... get to know the java API, you're looking for the class java.io.File. On Friday 17 August 2007 19:58, you wrote: > Author: swatig0 > Date: 2007-08-17 18:58:53 + (Fri, 17 Aug 2007) > New Revision: 14762 > > Modified: >trunk/plugins/XMLSpider/XMLSpider.

Re: [freenet-dev] [freenet-cvs] r14758 - trunk/plugins/XMLSpider

2007-08-23 Thread Matthew Toseland
LOL, this is a 1000 line patch which consists of changing one static constant, and reindenting everything. Please keep the two separate. :) On Friday 17 August 2007 19:29, you wrote: > Author: swatig0 > Date: 2007-08-17 18:29:35 + (Fri, 17 Aug 2007) > New Revision: 14758 > > Modified: >t

Re: [freenet-dev] ita l10n v22

2007-08-23 Thread Matthew Toseland
On Thursday 23 August 2007 02:09, luke771 wrote: > updated to r14628 (big update... only translated one one-word string > since last version) > > Most work in this version is about rewording of some strings, changed a > couple of loose translations to more ...tight ones and fixed some typos. > S

Re: [freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread Florent Daignière
* Juiceman <[EMAIL PROTECTED]> [2007-08-22 21:26:39]: > This might not be ready for release. I allowed my node to download > and update the ext jar and then my node couldn't start. Running the > latest main freenet.jar from SVN. From the log: We have fixed it upstream ... update :) NextGen$

Re: [freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread Matthew Toseland
On Thursday 23 August 2007 17:42, vive wrote: > On Thu, Aug 23, 2007 at 06:18:39PM +0200, vive wrote: > > On Wed, Aug 22, 2007 at 09:26:39PM -0400, Juiceman wrote: > > > This might not be ready for release. I allowed my node to download > > > and update the ext jar and then my node couldn't start.

Re: [freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread vive
On Thu, Aug 23, 2007 at 06:18:39PM +0200, vive wrote: > On Wed, Aug 22, 2007 at 09:26:39PM -0400, Juiceman wrote: > > This might not be ready for release. I allowed my node to download > > and update the ext jar and then my node couldn't start. Running the > > latest main freenet.jar from SVN. F

Re: [freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread vive
On Wed, Aug 22, 2007 at 09:26:39PM -0400, Juiceman wrote: > Date: Wed, 22 Aug 2007 21:26:39 -0400 > From: Juiceman <[EMAIL PROTECTED]> > To: devl@freenetproject.org > Subject: Re: [freenet-dev] [freenet-cvs] r14831 - > trunk/freenet/src/freenet/node > > This might not be ready for release.

Re: [freenet-dev] [freenet-cvs] r14831 - trunk/freenet/src/freenet/node

2007-08-23 Thread Florent Daignière
* Juiceman <[EMAIL PROTECTED]> [2007-08-22 21:26:39]: > This might not be ready for release. I allowed my node to download > and update the ext jar and then my node couldn't start. Running the > latest main freenet.jar from SVN. From the log: May you do a md5sum or some kind of integrity check

[freenet-dev] ita l10n v22

2007-08-23 Thread luke771
. -- next part -- An embedded and charset-unspecified text was scrubbed... Name: freenet.l10n.it.override.properties_22-ph00 URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20070823/f8a164af/attachment.ksh>