Re: [fpc-pascal] MSSQL and ftAutoInc: FPC 2.6.5 changes the behavior of 2.6.2 but AutoInc not works yet

2014-04-25 Thread Martin Schreiber
On Friday 25 April 2014 07:46:23 LacaK wrote: Do you have tried for ftAutoInc field simply set ReadOnly:=False; ? -Laco. P.S. there is feature request about automatic fetching of new values of idnetity columns, but implementing it in generic way for all supported SQLConnections is not trivial

Re: [fpc-pascal] CustHttpApp again, error: Missing HTTP protocol version in request

2014-04-25 Thread Michael Van Canneyt
On Thu, 24 Apr 2014, silvioprog wrote: Hello, I've tested the CustHttpApp unit in new released FPC 2.6.4 on Windows, and the error Missing HTTP protocol version in request still continues. I'll show detailed steps (including my tools) to reproduce it: 1. on Windows (I'm using 8), download

Re: [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Ralf Quint
Just a minor issue,but when installing 1.2.2 over an existing 1.2.0 (32bit on Windows 8.1 64bit), it did not properly set the path to the make file. Had to go on the first startup and browse to the binary in the fpc compiler bin folder, all other paths were set right... Ralf --- This email

Re: [fpc-pascal] MSSQL and ftAutoInc: FPC 2.6.5 changes the behavior of 2.6.2 but AutoInc not works yet

2014-04-25 Thread LacaK
Martin Schreiber wrote / napísal(a): On Friday 25 April 2014 07:46:23 LacaK wrote: Do you have tried for ftAutoInc field simply set ReadOnly:=False; ? -Laco. P.S. there is feature request about automatic fetching of new values of idnetity columns, but implementing it in generic way for all

Re: [fpc-pascal] java events calling pascal code vs java calling library.

2014-04-25 Thread fredvs
Many thanks Stephano. as my java exposure started only a few days ago. Same for me. I have successfully adapt some of my fpc native libraries into Java-native libraries. Im extremely happy with the result, all the functions/procedures are exported and working. Even callback procedures. I am

Re: [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Krzysztof
I noticed something weird in 1.2.2. When finishing debugging (by pressing Stop icon) codeeditor can't restore position cursor. I need to switch tab and back again and then it is ok. Kubuntu 14.04 64bit ___ fpc-pascal maillist -

Re: [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Martin Frb
On 25/04/2014 13:52, Krzysztof wrote: I noticed something weird in 1.2.2. When finishing debugging (by pressing Stop icon) codeeditor can't restore position cursor. I need to switch tab and back again and then it is ok. Kubuntu 14.04 64bit You mean it does not show the flashing (blinking)

Re: [fpc-pascal] CustHttpApp again, error: Missing HTTP protocol version in request

2014-04-25 Thread silvioprog
2014-04-25 3:39 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: [...] Damn windows returning 0 on read... Can you please test with the following change: Procedure FillBuffer; Var R : Integer; begin SetLength(FBuffer,ReadBufLen); Repeat

Re: [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Mattias Gaertner
On Fri, 25 Apr 2014 14:52:55 +0200 Krzysztof dib...@wp.pl wrote: I noticed something weird in 1.2.2. When finishing debugging (by pressing Stop icon) codeeditor can't restore position cursor. I need to switch tab and back again and then it is ok. Kubuntu 14.04 64bit What do you mean with

Re: [fpc-pascal] CustHttpApp again, error: Missing HTTP protocol version in request

2014-04-25 Thread silvioprog
2014-04-25 10:05 GMT-03:00 silvioprog silviop...@gmail.com: 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: [...] Damn windows returning 0 on read... Can you please test with the following change: Procedure FillBuffer; Var R : Integer; begin

Re: [fpc-pascal] CustHttpApp again, error: Missing HTTP protocol version in request

2014-04-25 Thread Michael Van Canneyt
On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: [...]  Damn windows returning 0 on read... Can you please test with the following change:    Procedure FillBuffer;    Var      R : Integer;    begin

Re: [fpc-pascal] CustHttpApp again, error: Missing HTTP protocol version in request

2014-04-25 Thread Michael Van Canneyt
On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 10:05 GMT-03:00 silvioprog silviop...@gmail.com: 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: [...]  Damn windows returning 0 on read... Can you please test with the following change:    Procedure

Re: [fpc-pascal] CustHttpApp again, error: Missing HTTP protocol version in request

2014-04-25 Thread silvioprog
2014-04-25 10:24 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: [...] Damn windows returning 0 on read... Can you please test with the following change:

Re: [fpc-pascal] CustHttpApp again, error: Missing HTTP protocol version in request

2014-04-25 Thread Michael Van Canneyt
On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 10:24 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: [...]        Damn windows

Re: [fpc-pascal] CustHttpApp again, error: Missing HTTP protocol version in request

2014-04-25 Thread silvioprog
2014-04-25 11:11 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 10:24 GMT-03:00 Michael Van Canneyt mich...@freepascal.org: On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt

Re: [fpc-pascal] MSSQL and ftAutoInc: FPC 2.6.5 changes the behavior of 2.6.2 but AutoInc not works yet

2014-04-25 Thread Marcos Douglas
On Fri, Apr 25, 2014 at 2:46 AM, LacaK la...@zoznam.sk wrote: Do you have tried for ftAutoInc field simply set ReadOnly:=False; ? -Laco. Errr... I forgot this option... worked, thanks! :) P.S. there is feature request about automatic fetching of new values of idnetity columns, but

Re: [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Krzysztof
Cursor is not blinking. I don't know where it is 2014-04-25 15:10 GMT+02:00 Mattias Gaertner nc-gaert...@netcologne.de: On Fri, 25 Apr 2014 14:52:55 +0200 Krzysztof dib...@wp.pl wrote: I noticed something weird in 1.2.2. When finishing debugging (by pressing Stop icon) codeeditor can't

Re: [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Martin Frb
On 25/04/2014 17:07, Krzysztof wrote: Cursor is not blinking. I don't know where it is Does the window have focus, can you type? Because when I press stop, then the window with the stop button (the main IDE bar) is focused. ANd yes in that case the caret (text cursor) is no blinking. If

Re: [fpc-pascal] java events calling pascal code vs java calling library.

2014-04-25 Thread leledumbo
All Java os (Android and friends) can only deal with Java class. Wrong. http://developer.android.com/reference/android/app/NativeActivity.html (not a single line of Java required) -- View this message in context:

Re: [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Krzysztof
Yes, I can type but carret is invisible. After checking Persistent Caret everything is working fine, thanks! 2014-04-25 18:45 GMT+02:00 Martin Frb laza...@mfriebe.de: On 25/04/2014 17:07, Krzysztof wrote: Cursor is not blinking. I don't know where it is Does the window have focus, can

[fpc-pascal] Xlib Threads

2014-04-25 Thread Brian
All the Xlib documentation seems to imply that threads can be used , however if I attempt to put XNextEvent() or XPending() in a thread , the rsult is a GP fault . The error message suggests using XInitThreads() but it still generates a GP fault. Tried using XlockDisplay() and XUnlockDisplay() in