Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Marc Weustink
Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can not launch an empty application. I've got the following message : Unable to find wslclasses.pp, check in path Projects->Compiler Optio

Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-26 Thread Bee
Correct. The fixes branch, in this moment contains 0.9.24 (r. 12749 in trunk branch, 12771 in the fixes branch, but the only change is making it 0.9.24.1) + patches 12756, 12757 12760 12762 12797 12816 12831 12825 12946 from trunk. (I hope I didn't mistype too many, but an svn log -r 12749:HEAD

[lazarus] Code Templates issue

2007-11-26 Thread Graeme Geldenhuys
Hi, I'm not sure if I added this or if it's part of Lazarus's default Code Templates. [result | Fix case - Result] $(AttributesStart) AutoOnSpace=true $(AttributesEnd) Result Anyway the issue is still the same, no matter who added that template. The Code Templates are not sensitive enough. B

[lazarus] Lazarus on OS X

2007-11-26 Thread Damien Gerard
I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can not launch an empty application. I've got the following message : Unable to find wslclasses.pp, check in path Projects->Compiler Options- >Search Paths ->

Re: [lazarus] Ideas about Delphi's Roadmap

2007-11-26 Thread Mark Morgan Lloyd
Razvan Adrian Bogdan wrote: they don't plan 64 bit support and CrossPlatform I heard that when Borland brought out Kylix they used a new code generator to make it easier to implement non-x86 targets. Unfortunately since then the number of commercially-viable architectures has dropped dramatic

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread willem
Marc Weustink wrote: Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can not launch an empty application. I've got the following message : Unable to find wslclasses.pp, check in path Pro

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Damien Gerard
On Nov 26, 2007, at 10:29 AM, Marc Weustink wrote: Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can not launch an empty application. I've got the following message : Unable to find w

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Vincent Snijders
Damien Gerard schreef: On Nov 26, 2007, at 10:29 AM, Marc Weustink wrote: Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can not launch an empty application. I've got the following mes

Re: [lazarus] Code Templates issue

2007-11-26 Thread Mattias Gaertner
On Mon, 26 Nov 2007 12:21:18 +0200 "Graeme Geldenhuys" <[EMAIL PROTECTED]> wrote: > Hi, > > I'm not sure if I added this or if it's part of Lazarus's default Code > Templates. > > > [result | Fix case - Result] > $(AttributesStart) > AutoOnSpace=true > $(AttributesEnd) > Result > > > Anyway t

Re: [lazarus] Google's Android OS :)

2007-11-26 Thread Marc Santhoff
Am Montag, den 26.11.2007, 08:28 +0100 schrieb willem: > Marc Santhoff wrote: > > Did you find the .g file somewhere on the website? Or have you > > transformed it to antlr by yourself? > > > > I can't find it, even in the downloadable source archive of dgrok I > > didn't see anything like that. >

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Damien Gerard
On Nov 26, 2007, at 12:47 PM, Vincent Snijders wrote: Damien Gerard schreef: On Nov 26, 2007, at 10:29 AM, Marc Weustink wrote: Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can not

[lazarus] SQLite 3 --> Capture FieldValues into a variable

2007-11-26 Thread Daniel Rincón García
Hi, I need to capture the FieldValues of a SQLite database into a string variable. If I do it: while not dsTest.EOF do begin DataToSend := DataToSend + dsTest.FieldValues['Code'] + '\' + dsTest.FieldValues['Name'] + '\' +

Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-26 Thread Marc Weustink
Bee wrote: Correct. The fixes branch, in this moment contains 0.9.24 (r. 12749 in trunk branch, 12771 in the fixes branch, but the only change is making it 0.9.24.1) + patches 12756, 12757 12760 12762 12797 12816 12831 12825 12946 from trunk. (I hope I didn't mistype too many, but an svn log -

Re: [lazarus] SQLite 3 --> Capture FieldValues into a variable

2007-11-26 Thread Roberto Padovani
2007/11/26, Daniel Rincón García <[EMAIL PROTECTED]>: > Hi, I need to capture the FieldValues of a SQLite database into a string > variable. > > If I do it: > >while not dsTest.EOF do > begin > DataToSend := DataToSend + > dsTest.FieldValues ['Code'] + '\'

Re: [lazarus] SQLite 3 --> Capture FieldValues into a variable

2007-11-26 Thread willem
Roberto Padovani wrote: 2007/11/26, Daniel Rincón García <[EMAIL PROTECTED]>: Hi, I need to capture the FieldValues of a SQLite database into a string variable. If I do it: while not dsTest.EOF do begin DataToSend := DataToSend + dsTest.FieldValues [

Re: [lazarus] SQLite 3 --> Capture FieldValues into a variable

2007-11-26 Thread John
Daniel Rincón García wrote: Hi, I need to capture the FieldValues of a SQLite database into a string variable. If I do it:    while not dsTest.EOF do     begin DataToSend := DataToSend +     dsTest.FieldValues ['Code'] + '\' +   

[lazarus] Any unit like ScktComp?

2007-11-26 Thread Marco Alvarado
Is there a unit like ScktComp in Lazarus, with a class like TClientSocket for simple TCP communication? I think Indy is way too big and complex for what I need. Thanks! -Marco _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Any unit like ScktComp?

2007-11-26 Thread Damien Gerard
On Nov 26, 2007, at 4:33 PM, Marco Alvarado wrote: Is there a unit like ScktComp in Lazarus, with a class like TClientSocket for simple TCP communication? I think Indy is way too big and complex for what I need. http://wiki.lazarus.freepascal.org/lNet http://synapse.ararat.cz/ -- Damien G

Re: [lazarus] Any unit like ScktComp?

2007-11-26 Thread Marco van de Voort
On Mon, Nov 26, 2007 at 09:33:23AM -0600, Marco Alvarado wrote: > Is there a unit like ScktComp in Lazarus, with a class like > TClientSocket for simple TCP communication? I think Indy is way too > big and complex for what I need. Simple TCP Communication is not more difficult in Indy than in othe

Re: [lazarus] Any unit like ScktComp?

2007-11-26 Thread Marco Alvarado
I just don't want to add a bunch more of units to my project. The same happened to me in Delphi, I tried Indy but I better stayed with TClientSocket that does just what I need. So I'll give lNet a try, thanks for the tip. -Marco 2007/11/26, Marco van de Voort <[EMAIL PROTECTED]>: > On Mon, Nov 26

[lazarus] Question about SimpleIPC

2007-11-26 Thread Funky Beast
Hi, I'm new to simpleipc. May I know which is more efficient: 1 server per client, or 1 server for all clients. I'm trying to write a multi-processes manager for my app which might execute up to 100 exhaustive console apps/instances concurrently. TIA, Funky Beast __

Re: [lazarus] GPU info

2007-11-26 Thread Lv
Someone sent me a link to CUDA from Nvidia. After looking at some of the source code it seems that there are two (see below) includes that makes CUDA the numerical processor. include #include #include #include #include #include #include #include #include #include #include General

[lazarus] Primitive classes in fpc/lazarus

2007-11-26 Thread Chris Kirkpatrick
Several types and classes that are ancestors of classes in the LCL are not found in the RTL, and it is difficult to document the LCL classes completely without them. These include many classes with TFPx prefixes; some examples are TFPCanvas and related classes, found in fpc/packages/fcl-ima

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Damien Gerard
On Nov 26, 2007, at 1:16 PM, Damien Gerard wrote: On Nov 26, 2007, at 12:47 PM, Vincent Snijders wrote: Damien Gerard schreef: On Nov 26, 2007, at 10:29 AM, Marc Weustink wrote: Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Den Jean
On Monday 26 November 2007 10:21:03 am Damien Gerard wrote: > I have just download fpc 2.2.1 and the lastest snapshot for OS X. > I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can   Gtk is known to be ugly, it would be nice for us if you would try the Qt version and give feedb

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Tom Gregorovic
On Nov 26, 2007 6:19 PM, Damien Gerard <[EMAIL PROTECTED]> wrote: > > On Nov 26, 2007, at 1:16 PM, Damien Gerard wrote: > > > > > On Nov 26, 2007, at 12:47 PM, Vincent Snijders wrote: > > > >> Damien Gerard schreef: > >>> On Nov 26, 2007, at 10:29 AM, Marc Weustink wrote: > Damien Gerard wrote

[lazarus] Creating TForms dynamically (works in Delphi, not Lazarus)

2007-11-26 Thread Marco Alvarado
I need to create my forms dynamically. In Delphi I just remove the designed form from the main program, so it looks like this: ... begin Application.Initialize; Application.Run; end. Later on, I just create new instances of my forms and assign it's properties, i.e.: ... AForm := TMyForm.Cr

Re: [lazarus] Creating TForms dynamically (works in Delphi, not Lazarus)

2007-11-26 Thread Vincent Snijders
Marco Alvarado schreef: I need to create my forms dynamically. In Delphi I just remove the designed form from the main program, so it looks like this: ... begin Application.Initialize; Application.Run; end. Later on, I just create new instances of my forms and assign it's properties, i.e.:

Re: [lazarus] Creating TForms dynamically (works in Delphi, not Lazarus)

2007-11-26 Thread Marco Alvarado
Oh, forgot to tell, this part: > ... > begin > Application.Initialize; > Application.Run; > end. is inside an unit's initilization section. So the main program still runs, creating the form. :D 2007/11/26, Vincent Snijders <[EMAIL PROTECTED]>: > Marco Alvarado schreef: > > I need to create m

Re: [lazarus] Creating TForms dynamically (works in Delphi, not Lazarus)

2007-11-26 Thread Vincent Snijders
Marco Alvarado schreef: Oh, forgot to tell, this part: ... begin Application.Initialize; Application.Run; end. is inside an unit's initilization section. So the main program still runs, creating the form. :D Until you do Application.Initialize, some widget set call might not work. So

Re: [lazarus] Creating TForms dynamically (works in Delphi, not Lazarus)

2007-11-26 Thread Mattias Gaertner
On Mon, 26 Nov 2007 12:05:27 -0600 "Marco Alvarado" <[EMAIL PROTECTED]> wrote: > Oh, forgot to tell, this part: > > > ... > > begin > > Application.Initialize; > > Application.Run; > > end. > > is inside an unit's initilization section. So the main program still > runs, creating the form. :D

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Damien Gerard
On Nov 26, 2007, at 6:33 PM, Den Jean wrote: On Monday 26 November 2007 10:21:03 am Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I can Gtk is known to be ugly, it would be nice for us i

[lazarus] Save IDE Settings?

2007-11-26 Thread Lee Jenkins
I've just upgraded my lazarus/fpc installation which I have done by uninstalling my existing installation (WinXP) followed by running the new installer. The problem is that I have to go in an redefine my keyboard layout, window manager settings, etc. How can I back this information up and s

Re: [lazarus] Lazarus on OS X

2007-11-26 Thread Damien Gerard
On Nov 26, 2007, at 7:48 PM, Damien Gerard wrote: On Nov 26, 2007, at 6:33 PM, Den Jean wrote: On Monday 26 November 2007 10:21:03 am Damien Gerard wrote: I have just download fpc 2.2.1 and the lastest snapshot for OS X. I launch Lazarus and it works fine (however gtk1 is ugly ^^) but I c

Re: [lazarus] Creating TForms dynamically (works in Delphi, not Lazarus)

2007-11-26 Thread Marco Alvarado
Sorry, this is the part that is inside the initialization section: Application.Initialize; Application.Run; Not in the main begin..end, so it should execute before the main program creates the window. Anyway, maybe the way the widgetset works is not the same as the way VCL works. Maybe I shoul

Re: [lazarus] Save IDE Settings?

2007-11-26 Thread Graeme Geldenhuys
Old versions of Lazarus stored those settings (*.xml files) in the Lazarus directory. Newer versions store that information in the users profile/home directory. Under Windows that is somewhere in C:\Documents and Settings\ and under Linux than is /home//.lazarus Just make a backup of the *.xml

Re: [lazarus] Save IDE Settings?

2007-11-26 Thread Vincent Snijders
Graeme Geldenhuys schreef: Old versions of Lazarus stored those settings (*.xml files) in the Lazarus directory. Newer versions store that information in the users profile/home directory. Under Windows that is somewhere in C:\Documents and Settings\ This has not yet been done on windows, b

Re: [lazarus] Save IDE Settings?

2007-11-26 Thread Lee Jenkins
Graeme Geldenhuys wrote: Old versions of Lazarus stored those settings (*.xml files) in the Lazarus directory. Newer versions store that information in the users profile/home directory. Under Windows that is somewhere in C:\Documents and Settings\ and under Linux than is /home//.lazarus Just

Re: [lazarus] SQLite 3 --> Capture FieldValues into a variable

2007-11-26 Thread Joost van der Sluis
Op maandag 26-11-2007 om 13:17 uur [tijdzone +0100], schreef Daniel Rincón García: > Hi, I need to capture the FieldValues of a SQLite database into a > string variable. > > If I do it: > >while not dsTest.EOF do > begin > DataToSend := DataToSend + > dsT

Re: [lazarus] SQLite 3 --> Capture FieldValues into a variable

2007-11-26 Thread Joost van der Sluis
Op maandag 26-11-2007 om 15:05 uur [tijdzone +0100], schreef Roberto Padovani: > 2007/11/26, Daniel Rincón García <[EMAIL PROTECTED]>: > To the Great Guys of the lazarus project: > > I am finishing a medium size project with lazarus + sqlite3, for which > I had study and experiment a lot due to th

Re: [lazarus] Primitive classes in fpc/lazarus

2007-11-26 Thread Wanderlan Santos dos Anjos
Is RTL documented in the same XML format that LCL documents? If yes, because not to integrate RTL documents with LCL documents? Wanderlan Santos dos Anjos

[lazarus] Errors after running console app

2007-11-26 Thread Lee Jenkins
I get the following when running a console app. The app runs fine, but something seems to be going on during cleanup after the app runs: An unhandled exception occurred at $0040A2E2 : EInvalidPointer : Invalid pointer operation $0040A2E2 CONCAT_TWO_BLOCKS, line 652 of C:/temp/lazbuild/fpc

Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-26 Thread Bee
Please suggest I got the list from Change Logs. I suggest these: 0008029: [Database] Ctrl+C and Ctrl+Z don't work in a TDBMemo 0010248: [IDE] Some icons aren't showed into the component palette 0010198: [LCL] OnMouseWheel WheelDelta is opposite in sign for Win32 and GTK2 0010178: [LCL] Wrong

Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-26 Thread Paul Ishenin
Bee пишет: Please suggest I got the list from Change Logs. I suggest these: 0008029: [Database] Ctrl+C and Ctrl+Z don't work in a TDBMemo 0010248: [IDE] Some icons aren't showed into the component palette iirc all graphic issues I want to merge into stable branch are there 0010198: [LCL] OnM

Re: [lazarus] is laz 9.24 fixes on svn ready to be used?

2007-11-26 Thread Vincent Snijders
Paul Ishenin schreef: Bee пишет: Please suggest I got the list from Change Logs. I suggest these: 0008029: [Database] Ctrl+C and Ctrl+Z don't work in a TDBMemo 0010248: [IDE] Some icons aren't showed into the component palette iirc all graphic issues I want to merge into stable branch are th

Re: [lazarus] Serial Comm Support Windows

2007-11-26 Thread Razvan Adrian Bogdan
I personally like the synaser project :) Razvan _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives

Re: [lazarus] Primitive classes in fpc/lazarus

2007-11-26 Thread Chris Kirkpatrick
Wanderlan Santos dos Anjos wrote: Is RTL documented in the same XML format that LCL documents? As far as I know, all the on-line help files for RTL and FCL were produced in the same way as the LCL documentation, using .XML files and FPCDoc. The RTL and FCL descriptor files are not, however, i

Re: [lazarus] Non UTF-8 Encodings

2007-11-26 Thread Razvan Adrian Bogdan
What about the Synapse conversion units ? There is a unit, synachar if i remember correctly that dragged a lot of charsets and codepages internally and converts wtthout iconv support for most of them and uses iconv if the encoding is not supported internally, we could write our own such unit using