Re: [fpc-devel] [OFF-TOPIC] EazyRSS - A simple writer and reader for the RSS protocol

2012-11-24 Thread Sven Barth

On 24.11.2012 00:41, silvioprog wrote:

Hello,

The Freepascal has been important to my life, so it's very nice to
contribute with some code.
I didn't know FPHTTPClient. But it helped me a lot since I got a native
implementation for a component.
I have implemented a component to download and parse RSS. There is
aclass to provide the RSS service and another to read news from a channel.

The result of this work is here:

https://github.com/silvioprog/easyrss


Perhaps I should finally revive the idea of programming my own RSS 
reader (using WebKit for rendering). :D


Regards,
Sven

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] [OFF-TOPIC] EazyRSS - A simple writer and reader for the RSS protocol

2012-11-24 Thread Michael Van Canneyt



On Sat, 24 Nov 2012, Sven Barth wrote:


On 24.11.2012 00:41, silvioprog wrote:

Hello,

The Freepascal has been important to my life, so it's very nice to
contribute with some code.
I didn't know FPHTTPClient. But it helped me a lot since I got a native
implementation for a component.
I have implemented a component to download and parse RSS. There is
aclass to provide the RSS service and another to read news from a channel.

The result of this work is here:

https://github.com/silvioprog/easyrss


Perhaps I should finally revive the idea of programming my own RSS reader 
(using WebKit for rendering). :D


Should I regard this as a sign that you'd approve of including this in FPC ?
I don't use RSS myself, but I know many people like it, so why not include it:
With so many things moving to web, it might be useful to have...

Michael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] [OFF-TOPIC] EazyRSS - A simple writer and reader for the RSS protocol

2012-11-24 Thread Sven Barth

On 24.11.2012 10:55, Michael Van Canneyt wrote:



On Sat, 24 Nov 2012, Sven Barth wrote:


On 24.11.2012 00:41, silvioprog wrote:

Hello,

The Freepascal has been important to my life, so it's very nice to
contribute with some code.
I didn't know FPHTTPClient. But it helped me a lot since I got a native
implementation for a component.
I have implemented a component to download and parse RSS. There is
aclass to provide the RSS service and another to read news from a
channel.

The result of this work is here:

https://github.com/silvioprog/easyrss


Perhaps I should finally revive the idea of programming my own RSS
reader (using WebKit for rendering). :D


Should I regard this as a sign that you'd approve of including this in
FPC ?
I don't use RSS myself, but I know many people like it, so why not
include it:
With so many things moving to web, it might be useful to have...


I would use it regardless of whether we include it or not just because 
it saves me work. :)


Regards,
Sven

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] [OFF-TOPIC] EazyRSS - A simple writer and reader for the RSS protocol

2012-11-24 Thread Michael Van Canneyt



On Sat, 24 Nov 2012, Sven Barth wrote:


On 24.11.2012 10:55, Michael Van Canneyt wrote:



On Sat, 24 Nov 2012, Sven Barth wrote:


On 24.11.2012 00:41, silvioprog wrote:

Hello,

The Freepascal has been important to my life, so it's very nice to
contribute with some code.
I didn't know FPHTTPClient. But it helped me a lot since I got a native
implementation for a component.
I have implemented a component to download and parse RSS. There is
aclass to provide the RSS service and another to read news from a
channel.

The result of this work is here:

https://github.com/silvioprog/easyrss


Perhaps I should finally revive the idea of programming my own RSS
reader (using WebKit for rendering). :D


Should I regard this as a sign that you'd approve of including this in
FPC ?
I don't use RSS myself, but I know many people like it, so why not
include it:
With so many things moving to web, it might be useful to have...


I would use it regardless of whether we include it or not just because it 
saves me work. :)


That does not really answer my question... ;-)

Michael.
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] [OFF-TOPIC] EazyRSS - A simple writer and reader for the RSS protocol

2012-11-24 Thread Sven Barth

On 24.11.2012 11:48, Michael Van Canneyt wrote:



On Sat, 24 Nov 2012, Sven Barth wrote:


On 24.11.2012 10:55, Michael Van Canneyt wrote:



On Sat, 24 Nov 2012, Sven Barth wrote:


On 24.11.2012 00:41, silvioprog wrote:

Hello,

The Freepascal has been important to my life, so it's very nice to
contribute with some code.
I didn't know FPHTTPClient. But it helped me a lot since I got a
native
implementation for a component.
I have implemented a component to download and parse RSS. There is
aclass to provide the RSS service and another to read news from a
channel.

The result of this work is here:

https://github.com/silvioprog/easyrss


Perhaps I should finally revive the idea of programming my own RSS
reader (using WebKit for rendering). :D


Should I regard this as a sign that you'd approve of including this in
FPC ?
I don't use RSS myself, but I know many people like it, so why not
include it:
With so many things moving to web, it might be useful to have...


I would use it regardless of whether we include it or not just because
it saves me work. :)


That does not really answer my question... ;-)


I don't mind including it, but I'm more a compiler hacking than 
including package guy ;)


Regards,
Sven

___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] mips-linux and mipsel-linux snapshots available

2012-11-24 Thread Mark Morgan Lloyd

Mark Morgan Lloyd wrote:

Mark Morgan Lloyd wrote:

Pierre Free Pascal wrote:



The good news is that I can still run/build trunk for mipsel on Debian
Squeeze on Qemu without unanticipated issues (i.e. nobody reading 
this

should assume that Lazarus will work yet).

The not-so-good news is that I built from trunk earlier but after 
having

bus errors in Qemu's implementation of big-endian MIPS I'm now looking
at the file above. Unfortunately I still get bus errors and I think the
binaries have been stripped.


  This is very strange:
I just installed the snapshot onto the big-endian mips machine
that I use to generate the snapshot.
This machine is the one that does generate daily testsuite results for
mips-linux.

  I just tested a compiler cycle (with DEBUG=1) starting from this
snapshot binary, and it seems to be able to generate a vanilla trunk
ppcmips:
ppcmips -iDW
2012/11/21 2.7.1-r1:23032

Is this a Qemu problem?


But I see no other problems, except those that could be caused by 
slowness of the emulated environment (flush process timing out, which 
appears to be a known issue). I suggest you compile a null program and 
Hello, World! and upload them.


Recompiling trunk mipsel natively eventually failed:

/usr/bin/diff ppc3 ppcmipsel
Binary files ppc3 and ppcmipsel differ
make[2]: *** [cycle] Error 2

I think what I need to do is revert to the last version I've seen a full 
build working on, I've got the sources but not the svn metadata so I 
can't for the moment say what revision this is.


Is there a rough way of querying svn to determine what revisions were 
committed on a particular date?


For the record, Qemu describes its mipsel emulation as

system type : MIPS Malta
processor   : 0
cpu model   : MIPS 24Kc V0.0  FPU V0.0
BogoMIPS: 98.04
wait instruction: yes
microsecond timers  : yes
tlb_entries : 16
extra interrupt vector  : yes
hardware watchpoint : yes, count: 1, address/irw mask: [0x0ff8]
ASEs implemented:
shadow register sets: 1
core: 0
VCED exceptions : not available
VCEI exceptions : not available


The previous version that I compiled is around r22655 and builds OK on 
mipsel implemented by Qemu. I'm trying it for mips (big-endian)... I 
might be some time.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] mips-linux and mipsel-linux snapshots available

2012-11-24 Thread Mark Morgan Lloyd

Mark Morgan Lloyd wrote:

The previous version that I compiled is around r22655 and builds OK on 
mipsel implemented by Qemu. I'm trying it for mips (big-endian)... I 
might be some time.


Definite problem on a big-endian target:  fpc -i  is OK but  fpc -h 
fails with


Reading symbols from /usr/local/bin/ppcmips...done.
(gdb) set arg -h
(gdb) run
Starting program: /usr/local/bin/ppcmips -h

Program received signal SIGBUS, Bus error.
0x0043eb88 in SYSUTILS_$$_UNIXTOWINAGE$LONGINT$$LONGINT ()
(gdb) bt
#0  0x0043eb88 in SYSUTILS_$$_UNIXTOWINAGE$LONGINT$$LONGINT ()
#1  0x0043fa6c in 
SYSUTILS_$$_FINDGETFILEINFO$ANSISTRING$TSEARCHREC$$BOOLEAN ()

#2  0x0043fdc4 in SYSUTILS_$$_FINDNEXT$TSEARCHREC$$LONGINT ()
Backtrace stopped: previous frame inner to this frame (corrupt stack?)
(gdb)

Same failure running  fpc -l  or trying to compile a trivial program. 
Ditto  fpc -l- test.pas, or running with no options/parameters other 
than what are in the standard fpc.cfg.


--
Mark Morgan Lloyd
markMLl .AT. telemetry.co .DOT. uk

[Opinions above are the author's, not those of his employers or colleagues]
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel


Re: [fpc-devel] [OFF-TOPIC] EazyRSS - A simple writer and reader for the RSS protocol

2012-11-24 Thread silvioprog
Hello guys,

I have forwarded this message to FPC-Pascal since it's possible that more
people is interested in this unit. :)

Thank you!

2012/11/24 Sven Barth pascaldra...@googlemail.com

 On 24.11.2012 11:48, Michael Van Canneyt wrote:



 On Sat, 24 Nov 2012, Sven Barth wrote:

  On 24.11.2012 10:55, Michael Van Canneyt wrote:



 On Sat, 24 Nov 2012, Sven Barth wrote:

  On 24.11.2012 00:41, silvioprog wrote:

 Hello,

 The Freepascal has been important to my life, so it's very nice to
 contribute with some code.
 I didn't know FPHTTPClient. But it helped me a lot since I got a
 native
 implementation for a component.
 I have implemented a component to download and parse RSS. There is
 aclass to provide the RSS service and another to read news from a
 channel.

 The result of this work is here:

 https://github.com/silvioprog/**easyrsshttps://github.com/silvioprog/easyrss


 Perhaps I should finally revive the idea of programming my own RSS
 reader (using WebKit for rendering). :D


 Should I regard this as a sign that you'd approve of including this in
 FPC ?
 I don't use RSS myself, but I know many people like it, so why not
 include it:
 With so many things moving to web, it might be useful to have...


 I would use it regardless of whether we include it or not just because
 it saves me work. :)


 That does not really answer my question... ;-)


 I don't mind including it, but I'm more a compiler hacking than
 including package guy ;)

 Regards,
 Sven

-- 
Silvio Clécio
My public projects - github.com/silvioprog
___
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel