Re: [Lazarus] real user name

2009-01-14 Thread Reenen Laurie
Ok, so if I want code in which I want to get the username, which is crossplatform... how should it look? {$ifdef windows} username := GetEnvironmentVariable('USERNAME'); {$endif} {$ifdef linux} GetUserData(FpGetuid, Data); username := Data.pw_uid; {$endif} How about MacOS? Also, as a

Re: [Lazarus] real user name

2009-01-14 Thread Michael Van Canneyt
On Wed, 14 Jan 2009, Reenen Laurie wrote: Ok, so if I want code in which I want to get the username, which is crossplatform... how should it look? {$ifdef windows} username := GetEnvironmentVariable('USERNAME'); {$endif} I'm not sure if this is correct; There is a windows call to get

Re: [Lazarus] Doing work in FormActivate

2009-01-14 Thread svaa
Gabor Boros escribió: Hi, A simple test case: procedure TForm1.FormActivate(Sender: TObject); begin Caption:=FormatDateTime('hh:mm:ss',Now); end; With Delphi the form's caption show the first activation time and with Lazarus the caption changed when switch to other application and

[Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Luca Olivetti
You probably already know this, anyway I thing is good news for the qt lazarus port. Qt 4.5 is going to be released under the LGPL instead of the GPL: http://www.qtsoftware.com/about/news/lgpl-license-option-added-to-qt Bye -- Luca Olivetti Wetron Automatización S.A. http://www.wetron.es/ Tel.

Re: [Lazarus] Doing work in FormActivate

2009-01-14 Thread Lance Collins
Several years ago I had a Windows app which ran happily on several sites. Then one of my customers installed a Citrix mainframe which emulated Windows somehow. Each time my app got a timeslice FormActivate fired. About 25 times a second as I vaguely recall. I never use FormActivate these

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Felipe Monteiro de Carvalho
This is just fantastic. It really adds a lot of value to the lazarus-qt interface. And even more, it becomes a viable substitute for the gtk2 interface in UNIXes. The only problem being that Qt 4.5 would be required, which means that at the moment no distribution supports it out of the box. --

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread zeljko
On Wednesday 14 January 2009 11:47, Felipe Monteiro de Carvalho wrote: This is just fantastic. It really adds a lot of value to the lazarus-qt interface. And even more, it becomes a viable substitute for the gtk2 interface in UNIXes. The only problem being that Qt 4.5 would be required, which

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread zeljko
On Wednesday 14 January 2009 11:19, Luca Olivetti wrote: You probably already know this, anyway I thing is good news for the qt lazarus port. Qt 4.5 is going to be released under the LGPL instead of the GPL: http://www.qtsoftware.com/about/news/lgpl-license-option-added-to-qt AFAIK , it will

Re: [Lazarus] MacOS X : File Associations...

2009-01-14 Thread Tom Gregorovic
On Tue, Jan 13, 2009 at 5:19 PM, domini...@savagesoftware.com.au wrote: Hi Tom, I've just tested this out and if I Drag and Drop the file onto the application dock icon The OnDropFiles event fires, but if I double click the file from within finder, the OnDropFiles event does NOT fire. The

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Eugen Bolz
zeljko schrieb: AFAIK , it will not be replacement for GPL. I got mail from nokia this morning: Dear Qt User: Nokia is pleased to announce that with the release of Qt 4.5 you will be able to use Qt under the Lesser General Public License (LGPL) version 2.1 terms. When released in March

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Michael Van Canneyt
On Wed, 14 Jan 2009, Felipe Monteiro de Carvalho wrote: This is just fantastic. It really adds a lot of value to the lazarus-qt interface. And even more, it becomes a viable substitute for the gtk2 interface in UNIXes. The only problem being that Qt 4.5 would be required, which means

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Vincent Snijders
2009/1/14 Michael Van Canneyt mich...@freepascal.org: On Wed, 14 Jan 2009, Felipe Monteiro de Carvalho wrote: This is just fantastic. It really adds a lot of value to the lazarus-qt interface. And even more, it becomes a viable substitute for the gtk2 interface in UNIXes. The only problem

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Luca Olivetti
En/na zeljko ha escrit: On Wednesday 14 January 2009 11:19, Luca Olivetti wrote: You probably already know this, anyway I thing is good news for the qt lazarus port. Qt 4.5 is going to be released under the LGPL instead of the GPL:

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Luca Olivetti
En/na Eugen Bolz ha escrit: Is it possible to create Freeware , non Open-Source, Applications? Or only Open-Source and Commercial? IANAL but, yes, it will be possible starting with qt4.5, since the LGPL allows that. With the current version you have to buy a commercial license if your

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Eugen Bolz
Luca Olivetti schrieb: En/na Eugen Bolz ha escrit: Is it possible to create Freeware , non Open-Source, Applications? Or only Open-Source and Commercial? IANAL but, yes, it will be possible starting with qt4.5, since the LGPL allows that. With the current version you have to buy

Re: [Lazarus] MacOS X : File Associations...

2009-01-14 Thread dominique
I've compared my plist to the Lazarus's and I can't see anything that would stop it from working from the Finder, but then allows it to work via Drag and Drop. I've attached the file to this email, in case anyone has a few minutes to scan through it and see if there is something obvious I've

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread bobby
Eugen Bolz wrote: Luca Olivetti schrieb: En/na Eugen Bolz ha escrit: Is it possible to create Freeware , non Open-Source, Applications? Or only Open-Source and Commercial? IANAL but, yes, it will be possible starting with qt4.5, since the

[Lazarus] c-nile virus

2009-01-14 Thread pew...@gmail.com
I've shared a document with you called c-nile virus: http://docs.google.com/Doc?id=dctxk5fm_19dh5m7kgninvite=gz49vp8 It's not an attachment -- it's stored online at Google Docs. To open this document, just click the link above. --- Hello All, I'm not sure whether or not this is a real

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Den Jean
On Wednesday 14 January 2009 11:47:39 Felipe Monteiro de Carvalho wrote: This is just fantastic. It really adds a lot of value to the lazarus-qt interface. Furthermore it may soon be possible to use webkit with lazarus/qt: First draft test: Lazarus demo program with Qt Webkit Widget.

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Felipe Monteiro de Carvalho
On Wed, Jan 14, 2009 at 10:45 PM, Den Jean den.j...@telenet.be wrote: Is someone interested in webkit ? What does it do? Shows html pages? -- Felipe Monteiro de Carvalho ___ Lazarus mailing list Lazarus@lazarus.freepascal.org

Re: [Lazarus] FYI: qt is going to be LGPL

2009-01-14 Thread Den Jean
On Wednesday 14 January 2009 23:20:31 Felipe Monteiro de Carvalho wrote: What does it do? Shows html pages? http://en.wikipedia.org/wiki/WebKit ___ Lazarus mailing list Lazarus@lazarus.freepascal.org