[fpc-pascal] From deflate to gzip

2014-03-31 Thread silvioprog
Hello, I'm using gzip from Apache to compress my static files (like HTML, CSS, JS etc.), and it worked fine (http://imagebin.org/303024). But, to compress the CGI content, I'm using deflate: var m: TMemoryStream; begin if aeDeflate in BrookGetAcceptEncodingSet(ARequest.AcceptEncoding) then

Re: [fpc-pascal] Access fpc libraries with Java ?

2014-03-31 Thread fredvs
Yep, i get it ;-) Explanations on Lazarus forum : => http://forum.lazarus.freepascal.org/index.php/topic,24063.msg144634.html#msg144634 No more obstacle now, Java is in the pocket. Cheers. - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.co

Re: [fpc-pascal] Access fpc libraries with Java ?

2014-03-31 Thread fredvs
@ Alan and Leledumbo : Many thanks. @ Alan, i have try with your jni.pas but... i loose. The only thing that could save my life is.. a working simple example of a fpc library with only one export procedure. That procedure will do a callback of a Java procedure.:. => simple fpc library code + sim

Re: [fpc-pascal] Access fpc libraries with Java ?

2014-03-31 Thread Alan Krause
I have absolutely *no* idea where I got it - only that it works as advertised. Alan -- Alan L. Krause jr.al...@shermanloan.com*Manager of Software Development*Voice: (760) 634-1700Sherman and Associates, Inc. Fax: (760) 634-1992 On Mon, M

Re: [fpc-pascal] Access fpc libraries with Java ?

2014-03-31 Thread leledumbo
> Here is a somewhat dated version of JNI.pas for FPC which might help you out. So now we have 3 JNI.pas wrapper... I don't see any disclaimer, doc, changelog, whatsoever. Where do you get it? Also, if you don't mind, update the dirty {$ifdef mswindows}stdcall;{$else}cdecl;{$endif} with: {$macr

Re: [fpc-pascal] Access fpc libraries with Java ?

2014-03-31 Thread Alan Krause
Here is a somewhat dated version of JNI.pas for FPC which might help you out. Alan On Mon, Mar 31, 2014 at 6:44 AM, fredvs wrote: > >> now the last obstacle : Callback procedures... > > Hum, i do not find why it is not working ;-( > > I follow jni c examples but w

Re: [fpc-pascal] Access fpc libraries with Java ?

2014-03-31 Thread fredvs
>> now the last obstacle : Callback procedures... Hum, i do not find why it is not working ;-( I follow jni c examples but with no luck. Does somebody knows how to deal with callback procedures and Java ? Here Library Pascal code : procedure formonclick(PEnv: PJNIEnv; Obj: JObject; aproc: JSt

Re: [fpc-pascal] FPC 2.6.4 for GO32

2014-03-31 Thread Lubomír Čabla
Yes, it is reproducible. I will try to reduce size of my program and debug it in fp.exe. But testing will be difficult because often occurs crash of FAT after forced restart. It is also possible that the error is in my program. If I find something I'll let you know. Lubomir Cabla On Sun, Mar 3

Re: [fpc-pascal] Compiler and RTL unit tests

2014-03-31 Thread Reinier Olislagers
On 31/03/2014 11:11, Michael Schnell wrote: > On 03/29/2014 06:14 PM, Graeme Geldenhuys wrote: >> So some developers took it in their own hands and started writing their >> own suite of tests. > Why not doing part this based on the public regression tests for fpc ? > Ask the guys who wrote the De

Re: [fpc-pascal] Some articles on Lazarus/Free Pascal.

2014-03-31 Thread Michael Schnell
On 03/29/2014 04:52 PM, Michael Van Canneyt wrote: http://www.freepascal.org/~michael/articles/ Great ! Bookmarked the page :-) Many thanks, -Michael ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/m

Re: [fpc-pascal] Compiler and RTL unit tests

2014-03-31 Thread Michael Schnell
On 03/29/2014 06:14 PM, Graeme Geldenhuys wrote: So some developers took it in their own hands and started writing their own suite of tests. Why not doing part this based on the public regression tests for fpc ? -Michael ___ fpc-pascal maillist - fp