RE: WPS tokenizer

2007-03-18 Thread bk
On Mon, 2007-03-19 at 03:10 +0200, RaeNye wrote: > I only suggest that the task of parsing of the text-based WPS file and > building a more efficient representation of it would be outsourced to a > viewer plugin. I don't see how a binary intermediate format would be any more efficient than the cu

RE: WPS tokenizer

2007-03-18 Thread RaeNye
> I don't know exactly the details of your proposal, but I wouldn't like to see core features of > Rockbox (like the WPS) downgraded to plugins. What about TSR plugins that run in the > background? Maybe I wasn't clear enough on that, but WPS displaying functionality (interpreting) remains in th

Re: Compiling a Plugin

2007-03-18 Thread XavierGr
On 19/03/07, neoAKiRAz <[EMAIL PROTECTED]> wrote: You're right, with everything closable closed, it compiled in about 1 minute (with 'make rocks'). The thing is that the compiling of my_plugin.c itself didn't took more than a second... It would be great if I could only compile that one with some

Re: Compiling a Plugin

2007-03-18 Thread neoAKiRAz
You're right, with everything closable closed, it compiled in about 1 minute (with 'make rocks'). The thing is that the compiling of my_plugin.c itself didn't took more than a second... It would be great if I could only compile that one with something like 'gcc my_plugin.c -o ...' No way of doi

Re: Compiling a Plugin

2007-03-18 Thread neoAKiRAz
I'll try closing every other program just in case. And you tested the rebuild with 'make rocks'? The output was something like mine? Because I was thinking that the makefile wasn't being properly generated or something, although I followed the instructions...

Re: WPS tokenizer

2007-03-18 Thread XavierGr
On 18/03/07, RaeNye <[EMAIL PROTECTED]> wrote: >So I'm finally ready to present a patch for the WPS tokenizer. >The basic idea is to store the WPS as an array of tokens. >Please tell me what you think of the concept and the code. >IMHO this has the advantage of being much clearer, readable and

RE: WPS tokenizer

2007-03-18 Thread RaeNye
>So I'm finally ready to present a patch for the WPS tokenizer. >The basic idea is to store the WPS as an array of tokens. >Please tell me what you think of the concept and the code. >IMHO this has the advantage of being much clearer, readable and maintainable than the current code. >As of perform

WPS tokenizer

2007-03-18 Thread Nicolas Pennequin
So I'm finally ready to present a patch for the WPS tokenizer. The basic idea is to store the WPS as an array of tokens. This idea was already the base for two tracker entries : http://www.rockbox.org/tracker/task/2898 http://www.rockbox.org/tracker/task/4826 I used the code in FS#4826 as a base

Re: Compiling a Plugin

2007-03-18 Thread Magnus Holmgren
neoAKiRAz wrote: Then 'make install' (couple more mintues) and then tried it, and it worked. But waiting 10 minutes after every little change is quite tedious. What can be wrong? I hope you can help me. Thx! Although Cygwin is a bit slow, it normally isn't that slow. One possibility is that