[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

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 : > 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? >

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: http://free-pascal-general.1045716.n5.nabble.com/java-events-calling-pascal-c

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 y

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 : > On Fri, 25 Apr 2014 14:52:55 +0200 > 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

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 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 implementing it in g

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 : > > On Fri, 25 Apr 2014, silvioprog wrote: > >> 2014-04-25 10:24 GMT-03:00 Michael Van Canneyt : >> On Fri, 25 Apr 2014, silvioprog wrote: >> 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt < >> mich...@freepascal.org>: >>

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 : On Fri, 25 Apr 2014, silvioprog wrote: 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : [...]        Damn windows returning 0 on read... Can you please test with t

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 : > > On Fri, 25 Apr 2014, silvioprog wrote: > >> 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : >> [...] >> Damn windows returning 0 on read... Can you please test with the >> following change: >> >> Procedure FillBuffer; >> >>

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 : 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : [...]  Damn windows returning 0 on read... Can you please test with the following change:    Procedure FillBuffer;    Var      R : Int

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 : [...]  Damn windows returning 0 on read... Can you please test with the following change:    Procedure FillBuffer;    Var      R : Integer;    begin      SetLength(FBu

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 : > 2014-04-25 3:39 GMT-03:00 Michael Van Canneyt : > [...] > >> Damn windows returning 0 on read... Can you please test with the >> following change: >> >> >>Procedure FillBuffer; >> >>Var >> R : Integer; >> >>begin >> SetLength(FBuffer,

Re: [fpc-pascal] Lazarus 1.2.2 Release

2014-04-25 Thread Mattias Gaertner
On Fri, 25 Apr 2014 14:52:55 +0200 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 What do you mean with "can't restore

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 : [...] > > Damn windows returning 0 on read... Can you please test with the following > change: > > >Procedure FillBuffer; > >Var > R : Integer; > >begin > SetLength(FBuffer,ReadBufLen); > Repeat >r:=FSocket.Read(FBuf

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) vert

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 - fpc-pascal@lists.freepasc

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 o

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 s

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