[freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread sashee
On Tue, Jul 7, 2009 at 10:08 PM, Matthew Toseland wrote: > On Tuesday 07 July 2009 20:41:54 sashee wrote: >> Maybe I don't see something, but I think it is much more simpler. Here it is: >> >> When the processing of RequestElement starts, the ClientRequest object >> is already activated, because

[freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread sashee
Maybe I don't see something, but I think it is much more simpler. Here it is: When the processing of RequestElement starts, the ClientRequest object is already activated, because FCPClient:305 activates all requests, and puts to the v List, and those object are the very same objects

[freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
So call the callback at that > >> >> point. > >> >> - The callback should go to some sort of manager object, which > >> >> determines which RequestElement(s) want the message. Or you can just > >> >> register all of them but it will be slower that way. > >> >> - Don't store the pointers, store the UID of the request (this is > >> >> because we don't want to pin the request object in memory). This is an > >> >> long value for a specific request in the database which doesn't change > >> >> unless we defrag (which is an offline operation). You can get it by: > >> >> > >> >> container.ext().getID(). > >> >> > >> >> Please let me know if you need any more information on this! The db4o > >> >> zip file contains javadocs, you can get it from db4o.com, we use > >> >> version 7.4. > >> >> > >> > Also, you should not store the ObjectContainer, and should not access > >> > the database except on the database thread (i.e. when an ObjectContainer > >> > has been passed in ultimately from a DBJob). > >> > > >> > ___ > >> > Devl mailing list > >> > Devl at freenetproject.org > >> > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > >> > > >> ___ > >> 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: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/873e02ae/attachment.pgp>

[freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
t change unless we > >> defrag (which is an offline operation). You can get it by: > >> > >> container.ext().getID(). > >> > >> Please let me know if you need any more information on this! The db4o zip > >> file contains javadocs, you can get it from db4o.com, we use version 7.4. > >> > > Also, you should not store the ObjectContainer, and should not access the > > database except on the database thread (i.e. when an ObjectContainer has > > been passed in ultimately from a DBJob). > > > > ___ > > Devl mailing list > > Devl at freenetproject.org > > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > > > ___ > 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: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/069378fa/attachment.pgp>

[freenet-dev] No-Freenet-user installer was Re: install problem XP SP2 java6update13

2009-07-07 Thread Matthew Toseland
-- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/cdd65ed7/attachment.pgp>

[freenet-dev] Freereader - a freenet plugin

2009-07-07 Thread Matthew Toseland
ne a basic code review. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/8a6ba827/attachment.pgp>

[freenet-dev] Freereader - a freenet plugin

2009-07-07 Thread Matthew Toseland
> > > ___ > Devl mailing list > Devl at freenetproject.org > http://emu.freenetproject.org/cgi-bin/mailman/listinfo/devl > > > ___ > 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: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/5874f254/attachment.pgp>

[freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
lso, you should not store the ObjectContainer, and should not access the database except on the database thread (i.e. when an ObjectContainer has been passed in ultimately from a DBJob). -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/f7cd98a6/attachment.pgp>

[freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
e thing. Any callback list in FCPClient *must be transient*, meaning you will have to check for null there. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/b8aef7ae/attachment.pgp>

[freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
The db4o zip file contains javadocs, you can get it from db4o.com, we use version 7.4. -- next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/3adf2a75/attachment.pgp>

[freenet-dev] SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
next part -- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 835 bytes Desc: This is a digitally signed message part. URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/cd1bac0f/attachment.pgp>

[freenet-dev] time for more usability tests!

2009-07-07 Thread Ian Clarke
t was scrubbed... URL: <https://emu.freenetproject.org/pipermail/devl/attachments/20090707/5e0f2e00/attachment.html>

[freenet-dev] time for more usability tests!

2009-07-07 Thread Ian Clarke
Hey all, This is probably a good time for some more usability tests. Its easy: Find someone that knows how to use a computer (a wife/girlfriend/parent/friend/sibling etc), but hasn't used Freenet before and (ideally) doesn't know much about it. Ask them to perform a specific task, examples may

[freenet-dev] SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
public void addEventListener(ClientEventListener cel) { + if(listeners==null){ + //Don't know how it can happen, but it did, and checking for null isn't going to hurt anything + listeners=new VectorClientEventListener(); + } if(cel != null)

[freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
On Tuesday 07 July 2009 18:26:40 Matthew Toseland wrote: public void addEventListener(ClientEventListener cel) { + if(listeners==null){ + //Don't know how it can happen, but it did, and checking for null isn't going to hurt anything + listeners=new

Re: [freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
On Tuesday 07 July 2009 18:50:58 Matthew Toseland wrote: On Tuesday 07 July 2009 18:26:40 Matthew Toseland wrote: public void addEventListener(ClientEventListener cel) { + if(listeners==null){ + //Don't know how it can happen, but it did, and checking for null

Re: [freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
On Tuesday 07 July 2009 18:50:58 Matthew Toseland wrote: On Tuesday 07 July 2009 18:26:40 Matthew Toseland wrote: public void addEventListener(ClientEventListener cel) { + if(listeners==null){ + //Don't know how it can happen, but it did, and checking for null

Re: [freenet-dev] Freereader - a freenet plugin

2009-07-07 Thread Matthew Toseland
On Monday 06 July 2009 18:33:43 Mario Volke wrote: I don't have a stable platform for plugin distribution that's why I've written example.com. Maybe we could distribute the plugin over the freenet website? I also have now a github repo for Freereader under

Re: [freenet-dev] Freereader - a freenet plugin

2009-07-07 Thread Matthew Toseland
On Sunday 05 July 2009 14:25:07 Mario Volke wrote: Hello, over the last weeks I've developed a plugin for Freenet called Freereader. In simple words, it's a newsfeed importer for Freenet. I temporarily uploaded a documentation file under http://www.webholics.de/freereader/docs The plugin

Re: [freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread sashee
Maybe I don't see something, but I think it is much more simpler. Here it is: When the processing of RequestElement starts, the ClientRequest object is already activated, because FCPClient:305 activates all requests, and puts to the v List, and those object are the very same objects

[freenet-dev] No-Freenet-user installer was Re: install problem XP SP2 java6update13

2009-07-07 Thread Matthew Toseland
On Sunday 05 July 2009 00:46:28 Zero3 wrote: wernerhepp skrev: Hi again, I deleted all files and tried to install again. I got the message: -freenet startscript was unable to find and control the freenet system service...please report this error message. Greetings Hi again

Re: [freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
On Tuesday 07 July 2009 20:41:54 sashee wrote: Maybe I don't see something, but I think it is much more simpler. Here it is: When the processing of RequestElement starts, the ClientRequest object is already activated, because FCPClient:305 activates all requests, and puts to the v List, and

Re: [freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread sashee
On Tue, Jul 7, 2009 at 10:08 PM, Matthew Toselandt...@amphibian.dyndns.org wrote: On Tuesday 07 July 2009 20:41:54 sashee wrote: Maybe I don't see something, but I think it is much more simpler. Here it is: When the processing of RequestElement starts, the ClientRequest object is already

Re: [freenet-dev] Downloads page auto-updating was Re: SimpleEventProducer.listeners = null, in web-pushing 0de6b9b93ecfec19383b5d66e820a4fc3fde8118

2009-07-07 Thread Matthew Toseland
On Tuesday 07 July 2009 21:10:19 sashee wrote: On Tue, Jul 7, 2009 at 10:08 PM, Matthew Toselandt...@amphibian.dyndns.org wrote: On Tuesday 07 July 2009 20:41:54 sashee wrote: Maybe I don't see something, but I think it is much more simpler. Here it is: When the processing of

Re: [freenet-dev] Freereader - a freenet plugin

2009-07-07 Thread Mario Volke
You can find Freereader on github under http://www.github.com/webholics/Freereader Matthew Toseland schrieb: On Sunday 05 July 2009 14:25:07 Mario Volke wrote: Hello, over the last weeks I've developed a plugin for Freenet called Freereader. In simple words, it's a newsfeed

Re: [freenet-dev] No-Freenet-user installer was Re: install problem XP SP2 java6update13

2009-07-07 Thread Zero3
Matthew Toseland skrev: It would be a great help if you could test the latest beta version of the Windows installer which includes this change. The source is available in our git repository, but I figure out probably prefer a compiled version, so I've put one online at:

[freenet-dev] SoC status on search features

2009-07-07 Thread Mike Bush
A progress report on my project. My SoC project originally had to do with improvements to XMLLibrarian and XMLSpider to provide a better search experience to freenet users, particularly helping with the issue of newcomers to freenet starting up a search and seeing nothing happening for ages. Some