Re: [lazarus] OutKafe 5.1.0 Released !
Hi Philip, It should be very little - as far as I can see - it should in fact be working - it just isn't yet (I'll bet it's a small problem though), and then packaged so it can be installed with relative ease. To give more idea -there is some major bug that's making it exit without an error message on launch - dunno what that bug is - that needs to be fixed. The windows client should be able to take connection details from a config file, connect to a postgresql server with an outkafe database, and then log in etc. Virtually all this code is written, it simply needs to be properly ported, packaged and shipped - by somebody with the experience to do so (I work as exclusively on Linux as you do on windows :p ) Of course the packaged version should also include whatever dll's are needed for a windows app to be a postgresql client. Are you up for giving it a shot ? You don't REALLY need a Linux server, you could just set up a postgresql server on windows, load the OutKafe table-scheme and manually generate one user to test with. A.J. PS. If you're really interested, I suggest we take it offlist at this point as it's becoming less and less lazarus related :) On 6/3/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: A.J., Still sounds interesting. Could you write a few sentences about what needs to be done to finish the Windows client? What's necessary for development? I work exclusively in Windows and OS X, but don't use Linux for anything and don't have access currently to a Linux machine. Thanks. -Phil -Original Message- From: A.J. Venter [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 7:40 PM To: lazarus@miraclec.com Subject: Re: [lazarus] OutKafe 5.1.0 Released ! On 6/3/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: > That sound interesting. Maybe you could include that description on your Web page. Heh, fair enough - though I thought I basically had :p > > Where does OutKafe run? Does the cafe have a network server or something that the cafe's computers are hooked up to? OutKafe comprises basically three parts (this I KNOW is on the website). The postgresql database server does all the network serving, so I don't code any of that, I just interact with it. OutKafe has: 1) A daemon which counts down time on logged in accounts (it's done centrally for security reasons) 2) An administration tool which allows the icafe operator to sell time, create user accounts, reset passwords, define offers etc. 3) Client programs which let a user log in, counts him down and logs him out again. Currently only the Linux client is in a working state. The win32 client is very close - but I need somebody with genuine windows coding experience to help me finish it. There is also a WIFI client very similiar to what you describe below, but that is not very complex and at this stage barely started. > > I guess I'm not familiar with Internet cafes like this. Usually here the cafe has wireless and you get a login code for your laptop when you buy a coffee. That is common in some countries, here in the developing world the kind with computers hooked up that you buy time on is still very common, for many people such outlets ARE their offices. Having a GPL'd tool to manage them is an important (I believe) way to ensure software freedom in the developing world. OutKafe is the only such tool out there (OpenKIOSK is only partially free software - I'm not aware of any other free projects that are still actively developed though there are quite a few proprietory ones like smartlaunch). Of course the whole thing is also done in Lazarus and is one of the oldest continuing lazarus developments (the original app was started in November 2002, the Lazarus website carried a story on the 3.0 release in May 2005). Ciao A.J. -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] OutKafe 5.1.0 Released !
A.J., Still sounds interesting. Could you write a few sentences about what needs to be done to finish the Windows client? What's necessary for development? I work exclusively in Windows and OS X, but don't use Linux for anything and don't have access currently to a Linux machine. Thanks. -Phil -Original Message- From: A.J. Venter [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 7:40 PM To: lazarus@miraclec.com Subject: Re: [lazarus] OutKafe 5.1.0 Released ! On 6/3/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: > That sound interesting. Maybe you could include that description on your Web > page. Heh, fair enough - though I thought I basically had :p > > Where does OutKafe run? Does the cafe have a network server or something that > the cafe's computers are hooked up to? OutKafe comprises basically three parts (this I KNOW is on the website). The postgresql database server does all the network serving, so I don't code any of that, I just interact with it. OutKafe has: 1) A daemon which counts down time on logged in accounts (it's done centrally for security reasons) 2) An administration tool which allows the icafe operator to sell time, create user accounts, reset passwords, define offers etc. 3) Client programs which let a user log in, counts him down and logs him out again. Currently only the Linux client is in a working state. The win32 client is very close - but I need somebody with genuine windows coding experience to help me finish it. There is also a WIFI client very similiar to what you describe below, but that is not very complex and at this stage barely started. > > I guess I'm not familiar with Internet cafes like this. Usually here the cafe > has wireless and you get a login code for your laptop when you buy a coffee. That is common in some countries, here in the developing world the kind with computers hooked up that you buy time on is still very common, for many people such outlets ARE their offices. Having a GPL'd tool to manage them is an important (I believe) way to ensure software freedom in the developing world. OutKafe is the only such tool out there (OpenKIOSK is only partially free software - I'm not aware of any other free projects that are still actively developed though there are quite a few proprietory ones like smartlaunch). Of course the whole thing is also done in Lazarus and is one of the oldest continuing lazarus developments (the original app was started in November 2002, the Lazarus website carried a story on the 3.0 release in May 2005). Ciao A.J. -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives <>
Re: [lazarus] OutKafe 5.1.0 Released !
On 6/3/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: That sound interesting. Maybe you could include that description on your Web page. Heh, fair enough - though I thought I basically had :p Where does OutKafe run? Does the cafe have a network server or something that the cafe's computers are hooked up to? OutKafe comprises basically three parts (this I KNOW is on the website). The postgresql database server does all the network serving, so I don't code any of that, I just interact with it. OutKafe has: 1) A daemon which counts down time on logged in accounts (it's done centrally for security reasons) 2) An administration tool which allows the icafe operator to sell time, create user accounts, reset passwords, define offers etc. 3) Client programs which let a user log in, counts him down and logs him out again. Currently only the Linux client is in a working state. The win32 client is very close - but I need somebody with genuine windows coding experience to help me finish it. There is also a WIFI client very similiar to what you describe below, but that is not very complex and at this stage barely started. I guess I'm not familiar with Internet cafes like this. Usually here the cafe has wireless and you get a login code for your laptop when you buy a coffee. That is common in some countries, here in the developing world the kind with computers hooked up that you buy time on is still very common, for many people such outlets ARE their offices. Having a GPL'd tool to manage them is an important (I believe) way to ensure software freedom in the developing world. OutKafe is the only such tool out there (OpenKIOSK is only partially free software - I'm not aware of any other free projects that are still actively developed though there are quite a few proprietory ones like smartlaunch). Of course the whole thing is also done in Lazarus and is one of the oldest continuing lazarus developments (the original app was started in November 2002, the Lazarus website carried a story on the 3.0 release in May 2005). Ciao A.J. -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] OutKafe 5.1.0 Released !
On Sat, 2 Jun 2007, Hess, Philip J wrote: > What does OutKafe do? I looked at your Web site and honestly I'm still not > sure what it is. As far as I can tell, it manages accounts for an internet cafe: keeping track of how much time people spend on the PC they pay for :-) Michael. > > Thanks. > > -Phil > > > -Original Message- > From: A.J. Venter [mailto:[EMAIL PROTECTED] > Sent: Sat 6/2/2007 3:07 PM > To: lazarus@miraclec.com > Subject: [lazarus] OutKafe 5.1.0 Released ! > > Hi All, > I'm happy to announce that OutKafe 5.1.0 is now available for download > from http://outkafe.outkastsolutions.co.za. > The new version is primarily a bugfix release containing fixes for > many critical bugs and a few multidistro compatibility improvements, > here is the changelog: > 2007-06-02 > Ported application to GTK2 > Fixed multiple crash bugs in counter > Fixed layout and accounting bugs in admin system > Fixed counter-window button layout bug > Fixes for several LTSP related bugs. > Better handling of remote admin functionality > Fixed a bug with number entry in sell-time dialog. > 2007-05-21 > Added pid-storage support to outkafed > Enhanced boot scripts to use pid-stored value > native installer support for chkconfig or rc-update when available > > I also made significant progress on the promised win32 client - but I > simply couldn't get it to quite work. At this stage though, it's far > enough complete that I am putting out a call for a volunteer who can > help me finish it off. Anybody with experience of lazarus/delphi on > Win32 who is up for helping me maintain the win32 client please mail > me - I would welcome all assistance with this part, experience with > postgresql will be useful but not critical (everything is pretty > abstracted). > > Ciao > A.J. > > -- > "Semper in excretum set alta variant" - My father > A.J. Venter - http://www.silentcoder.co.za > > > -- > "Semper in excretum set alta variant" - My father > A.J. Venter - http://www.silentcoder.co.za > > > -- > A.J. Venter > CEO - OutKast Solutions C.C. > http://www.outkastsolutions.co.za > Cell: +27 83 455 9978 > Fax: +27 21 413 2800 > Office: +27 21 591 6766 > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives > > _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: Cannot compile GTK2 lcl anymore
Felipe, I've attached the script I use to launch apps that have been linked against Gimp's gtk2 libraries (renamed from .sh to .txt so it doesn't get stripped out). This script could be placed inside the app's bundle to launch it - that's the way Gimp starts up on OS X. My thinking behind linking against Gimp's gtk2 libraries is to simplify distribution of an app: Just direct the user to an official Apple site to download the Gimp installer. Since it's a universal binary the same .dmg can be used on both PowerPC and Intel Macs and since it's open source you could post it on your own site or network if you want. This is a foolproof way of installing the gtk2 libraries on a Mac that doesn't require fink, which would be a showstopper for most Mac users. Plus it adds an app (Gimp) that's useful in its own right. The first part of the script just locates Gimp by looking in the usual places. The second part of the script sets various environment variables that gtk2 apparently likes to have. With the advent of the Carbon widgetset, gtk2 isn't quite as important to me anymore, but it still may have its uses on OS X. I tested various programs against gtk2 today and it doesn't seem quite as slow as I remember - maybe I'm just slower now. Thanks. -Phil -Original Message- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 4:04 PM To: lazarus@miraclec.com Subject: Re: Cannot compile GTK2 lcl anymore On 6/2/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: > I can still compile, link and run apps against Gimp's gtk2 2.6.10 libaries on > my PowerPC Mac with FPC 2.0.4. Are you sure gtk2 widgetset has a dependency > on 2.8? I don't know. I just know that I have gtk 2.4 from fink here and it fails to link. I will test latter with gtk2 from gimp. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives <>
RE: [lazarus] OutKafe 5.1.0 Released !
That sound interesting. Maybe you could include that description on your Web page. Where does OutKafe run? Does the cafe have a network server or something that the cafe's computers are hooked up to? I guess I'm not familiar with Internet cafes like this. Usually here the cafe has wireless and you get a login code for your laptop when you buy a coffee. Thanks. -Phil -Original Message- From: A.J. Venter [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 5:47 PM To: lazarus@miraclec.com Subject: Re: [lazarus] OutKafe 5.1.0 Released ! Well basically it's an admin suite for internet cafe's, customers get user-accounts and buy time, outkafe lets them log on, and logs them off again when their time is up - there are other features but that's the heart of it all. A>J. On 6/2/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: > What does OutKafe do? I looked at your Web site and honestly I'm still not > sure what it is. > > Thanks. > > -Phil > > > -Original Message- > From: A.J. Venter [mailto:[EMAIL PROTECTED] > Sent: Sat 6/2/2007 3:07 PM > To: lazarus@miraclec.com > Subject: [lazarus] OutKafe 5.1.0 Released ! > > Hi All, > I'm happy to announce that OutKafe 5.1.0 is now available for download > from http://outkafe.outkastsolutions.co.za. > The new version is primarily a bugfix release containing fixes for > many critical bugs and a few multidistro compatibility improvements, > here is the changelog: > 2007-06-02 > Ported application to GTK2 > Fixed multiple crash bugs in counter > Fixed layout and accounting bugs in admin system > Fixed counter-window button layout bug > Fixes for several LTSP related bugs. > Better handling of remote admin functionality > Fixed a bug with number entry in sell-time dialog. > 2007-05-21 > Added pid-storage support to outkafed > Enhanced boot scripts to use pid-stored value > native installer support for chkconfig or rc-update when available > > I also made significant progress on the promised win32 client - but I > simply couldn't get it to quite work. At this stage though, it's far > enough complete that I am putting out a call for a volunteer who can > help me finish it off. Anybody with experience of lazarus/delphi on > Win32 who is up for helping me maintain the win32 client please mail > me - I would welcome all assistance with this part, experience with > postgresql will be useful but not critical (everything is pretty > abstracted). > > Ciao > A.J. > > -- > "Semper in excretum set alta variant" - My father > A.J. Venter - http://www.silentcoder.co.za > > > -- > "Semper in excretum set alta variant" - My father > A.J. Venter - http://www.silentcoder.co.za > > > -- > A.J. Venter > CEO - OutKast Solutions C.C. > http://www.outkastsolutions.co.za > Cell: +27 83 455 9978 > Fax: +27 21 413 2800 > Office: +27 21 591 6766 > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives > > > -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives <>
Re: [lazarus] OutKafe 5.1.0 Released !
Well basically it's an admin suite for internet cafe's, customers get user-accounts and buy time, outkafe lets them log on, and logs them off again when their time is up - there are other features but that's the heart of it all. A>J. On 6/2/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: What does OutKafe do? I looked at your Web site and honestly I'm still not sure what it is. Thanks. -Phil -Original Message- From: A.J. Venter [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 3:07 PM To: lazarus@miraclec.com Subject: [lazarus] OutKafe 5.1.0 Released ! Hi All, I'm happy to announce that OutKafe 5.1.0 is now available for download from http://outkafe.outkastsolutions.co.za. The new version is primarily a bugfix release containing fixes for many critical bugs and a few multidistro compatibility improvements, here is the changelog: 2007-06-02 Ported application to GTK2 Fixed multiple crash bugs in counter Fixed layout and accounting bugs in admin system Fixed counter-window button layout bug Fixes for several LTSP related bugs. Better handling of remote admin functionality Fixed a bug with number entry in sell-time dialog. 2007-05-21 Added pid-storage support to outkafed Enhanced boot scripts to use pid-stored value native installer support for chkconfig or rc-update when available I also made significant progress on the promised win32 client - but I simply couldn't get it to quite work. At this stage though, it's far enough complete that I am putting out a call for a volunteer who can help me finish it off. Anybody with experience of lazarus/delphi on Win32 who is up for helping me maintain the win32 client please mail me - I would welcome all assistance with this part, experience with postgresql will be useful but not critical (everything is pretty abstracted). Ciao A.J. -- "Semper in excretum set alta variant" - My father A.J. Venter - http://www.silentcoder.co.za -- "Semper in excretum set alta variant" - My father A.J. Venter - http://www.silentcoder.co.za -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] OutKafe 5.1.0 Released !
It seems an app to control PC's on a cybercafe. El 02/06/2007, a las 23:42, Hess, Philip J escribió: What does OutKafe do? I looked at your Web site and honestly I'm still not sure what it is. Thanks. -Phil -Original Message- From: A.J. Venter [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 3:07 PM To: lazarus@miraclec.com Subject: [lazarus] OutKafe 5.1.0 Released ! Hi All, I'm happy to announce that OutKafe 5.1.0 is now available for download from http://outkafe.outkastsolutions.co.za. The new version is primarily a bugfix release containing fixes for many critical bugs and a few multidistro compatibility improvements, here is the changelog: 2007-06-02 Ported application to GTK2 Fixed multiple crash bugs in counter Fixed layout and accounting bugs in admin system Fixed counter-window button layout bug Fixes for several LTSP related bugs. Better handling of remote admin functionality Fixed a bug with number entry in sell-time dialog. 2007-05-21 Added pid-storage support to outkafed Enhanced boot scripts to use pid-stored value native installer support for chkconfig or rc-update when available I also made significant progress on the promised win32 client - but I simply couldn't get it to quite work. At this stage though, it's far enough complete that I am putting out a call for a volunteer who can help me finish it off. Anybody with experience of lazarus/delphi on Win32 who is up for helping me maintain the win32 client please mail me - I would welcome all assistance with this part, experience with postgresql will be useful but not critical (everything is pretty abstracted). Ciao A.J. -- "Semper in excretum set alta variant" - My father A.J. Venter - http://www.silentcoder.co.za -- "Semper in excretum set alta variant" - My father A.J. Venter - http://www.silentcoder.co.za -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives | Giuseppe Luigi Punzi Ruiz | Migrando correo de nuevo [EMAIL PROTECTED] _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: [lazarus] OutKafe 5.1.0 Released !
What does OutKafe do? I looked at your Web site and honestly I'm still not sure what it is. Thanks. -Phil -Original Message- From: A.J. Venter [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 3:07 PM To: lazarus@miraclec.com Subject: [lazarus] OutKafe 5.1.0 Released ! Hi All, I'm happy to announce that OutKafe 5.1.0 is now available for download from http://outkafe.outkastsolutions.co.za. The new version is primarily a bugfix release containing fixes for many critical bugs and a few multidistro compatibility improvements, here is the changelog: 2007-06-02 Ported application to GTK2 Fixed multiple crash bugs in counter Fixed layout and accounting bugs in admin system Fixed counter-window button layout bug Fixes for several LTSP related bugs. Better handling of remote admin functionality Fixed a bug with number entry in sell-time dialog. 2007-05-21 Added pid-storage support to outkafed Enhanced boot scripts to use pid-stored value native installer support for chkconfig or rc-update when available I also made significant progress on the promised win32 client - but I simply couldn't get it to quite work. At this stage though, it's far enough complete that I am putting out a call for a volunteer who can help me finish it off. Anybody with experience of lazarus/delphi on Win32 who is up for helping me maintain the win32 client please mail me - I would welcome all assistance with this part, experience with postgresql will be useful but not critical (everything is pretty abstracted). Ciao A.J. -- "Semper in excretum set alta variant" - My father A.J. Venter - http://www.silentcoder.co.za -- "Semper in excretum set alta variant" - My father A.J. Venter - http://www.silentcoder.co.za -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives <>
Re: Cannot compile GTK2 lcl anymore
On 6/2/07, Hess, Philip J <[EMAIL PROTECTED]> wrote: I can still compile, link and run apps against Gimp's gtk2 2.6.10 libaries on my PowerPC Mac with FPC 2.0.4. Are you sure gtk2 widgetset has a dependency on 2.8? I don't know. I just know that I have gtk 2.4 from fink here and it fails to link. I will test latter with gtk2 from gimp. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] OutKafe 5.1.0 Released !
Hi All, I'm happy to announce that OutKafe 5.1.0 is now available for download from http://outkafe.outkastsolutions.co.za. The new version is primarily a bugfix release containing fixes for many critical bugs and a few multidistro compatibility improvements, here is the changelog: 2007-06-02 Ported application to GTK2 Fixed multiple crash bugs in counter Fixed layout and accounting bugs in admin system Fixed counter-window button layout bug Fixes for several LTSP related bugs. Better handling of remote admin functionality Fixed a bug with number entry in sell-time dialog. 2007-05-21 Added pid-storage support to outkafed Enhanced boot scripts to use pid-stored value native installer support for chkconfig or rc-update when available I also made significant progress on the promised win32 client - but I simply couldn't get it to quite work. At this stage though, it's far enough complete that I am putting out a call for a volunteer who can help me finish it off. Anybody with experience of lazarus/delphi on Win32 who is up for helping me maintain the win32 client please mail me - I would welcome all assistance with this part, experience with postgresql will be useful but not critical (everything is pretty abstracted). Ciao A.J. -- "Semper in excretum set alta variant" - My father A.J. Venter - http://www.silentcoder.co.za -- "Semper in excretum set alta variant" - My father A.J. Venter - http://www.silentcoder.co.za -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
RE: Cannot compile GTK2 lcl anymore
Felipe, I can still compile, link and run apps against Gimp's gtk2 2.6.10 libaries on my PowerPC Mac with FPC 2.0.4. Are you sure gtk2 widgetset has a dependency on 2.8? Thanks. -Phil -Original Message- From: Felipe Monteiro de Carvalho [mailto:[EMAIL PROTECTED] Sent: Sat 6/2/2007 5:48 AM To: lazarus@miraclec.com Subject: Re: Cannot compile GTK2 lcl anymore On 6/2/07, A.J. Venter <[EMAIL PROTECTED]> wrote: > Can we post a work-around on the wiki ? Yes, sure, just mention that this work-around will not be necessary once 2.2 is released and we remove that file from lazarus. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives <>
[lazarus] international dates
Thanks at every one for the responses. Finally this morning i put in the Initialization section of my main unit a call to this simply routine i had create, and after all the routine dates i use are ok. i take the english initialization in sysinth.inc. The array must begin at 1 and not at 0 ! But is not a generic solution for all the others params. thanks. {Initialisation des données francaises pour unix} Procedure InitFrancais; begin DateSeparator:='/'; { Format used for short date notation } ShortDateFormat:= 'dd/mm/'; { Format used for long date notation } LongDateFormat:= 'dd" "" "'; { Short names of months. } ShortMonthNames[1]:= 'Jan'; ShortMonthNames[2]:= 'Fév'; ShortMonthNames[3]:= 'Mar'; ShortMonthNames[4]:= 'Avr'; ShortMonthNames[5]:= 'Mai'; ShortMonthNames[6]:= 'Jui'; ShortMonthNames[7]:= 'Jul'; ShortMonthNames[8]:= 'Aou'; ShortMonthNames[9]:= 'Sep'; ShortMonthNames[10]:= 'Oct'; ShortMonthNames[11]:='Nov'; ShortMonthNames[12]:='Déc'; { Long names of months. } LongMonthNames[1]:= 'Janvier'; LongMonthNames[2]:= 'Février'; LongMonthNames[3]:= 'Mars'; LongMonthNames[4]:= 'Avril'; LongMonthNames[5]:= 'Mai'; LongMonthNames[6]:= 'Juin'; LongMonthNames[7]:= 'Juillet'; LongMonthNames[8]:= 'Aout'; LongMonthNames[9]:= 'Septembre'; LongMonthNames[10]:= 'Octobre'; LongMonthNames[11]:='Novembre'; LongMonthNames[12]:='Décembre'; { Short names of days } ShortDayNames[1]:='Dim'; ShortDayNames[2]:='Lun'; ShortDayNames[3]:='Mar'; ShortDayNames[4]:='Mer'; ShortDayNames[5]:='Jeu'; ShortDayNames[6]:='Ven'; ShortDayNames[7]:='Sam'; { Full names of days } LongDayNames[1]:= 'Dimanche'; LongDayNames[2]:= 'Lundi'; LongDayNames[3]:= 'Mardi'; LongDayNames[4]:= 'Mercredi'; LongDayNames[5]:= 'Jeudi'; LongDayNames[6]:= 'Vendredi'; LongDayNames[7]:= 'Samedi'; end;
Re: [lazarus] html output
On Sat, 2 Jun 2007, Flávio Etrusco wrote: > I have seldom used Delphi "professionally" for some years now, and > server applications are not much into my non-professional interests, > but every time I talk about easy ways to "design" web applications I > think "I'd be shocked if there isn't a library - argh framework - to > spit HTML based on Delphi forms"... > > If such a project really doesn't exist, I doubt it would take more > than a week for a proof-of-concept... Such things exist (Intraweb, Morfik), but they all require you to start from scratch. They do allow you to re-use existing non-visual pascal code. But all GUI related stuff must be rewritten anew. Michael. > > Best regards, > Flávio > > On 6/2/07, A.J. Venter <[EMAIL PROTECTED]> wrote: > > I'd say the only thing that comes CLOSE to what you want is java > > applets (and even then it's only close - it's not quite a cigar). > > > > A.J. > > > > On 6/1/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > > > > On Fri, 1 Jun 2007, Andreas Berger wrote: > > > > > > > Hi all, > > > > > > > > Is there a way to convert a form into html or php? I have a client that > > > > wants > > > > to use an existing program over the net, but not install the program on > > > > his > > > > machine. Instead he wants to use the browser. Do I need to write a php > > > > client > > > > or can I convert my existing forms to html/php and talk with the > > > > existing > > > > lazarus app? > > > > > > The day you create a program which converts forms to HTML/PHP, you're rich > > > :-) > > > > > > No such thing exists to my knowledge. Not for Delphi, not for any other > > > language I know. If you want to use the web browser, you must program > > > for it. > > > > > > Michael. > > > > > > _ > > > To unsubscribe: mail [EMAIL PROTECTED] with > > > "unsubscribe" as the Subject > > >archives at http://www.lazarus.freepascal.org/mailarchives > > > > > > > > > -- > > A.J. Venter > > CEO - OutKast Solutions C.C. > > http://www.outkastsolutions.co.za > > Cell: +27 83 455 9978 > > Fax: +27 21 413 2800 > > Office: +27 21 591 6766 > > > > _ > > To unsubscribe: mail [EMAIL PROTECTED] with > > "unsubscribe" as the Subject > >archives at http://www.lazarus.freepascal.org/mailarchives > > > > _ > To unsubscribe: mail [EMAIL PROTECTED] with >"unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > >
[lazarus] gtk2 warnings
Hello, I get a lot of warnings and messages like these when I use GTK2 Interface: [...] [WARNING] ColumnSetAlignment called without handle for Playlist(TListView) [WARNING] ColumnSetAutoSize called without handle for Playlist(TListView) [WARNING] ColumnSetImage called without handle for Playlist(TListView) [WARNING] ColumnSetVisible called without handle for Playlist(TListView) [...] (cactus_jukebox:19183): Gtk-CRITICAL **: gtk_tree_view_remove_column:assertion `GTK_IS_TREE_VIEW_COLUMN (column)' failed Gtk2_ItemSelectionChanged ItemChache=nil TitleTree (cactus_jukebox:19183): Gtk-CRITICAL **: gtk_tree_view_remove_column: assertion `GTK_IS_TREE_VIEW_COLUMN (column)' failed (cactus_jukebox:19183): Gtk-CRITICAL **: gtk_tree_view_scroll_to_point: assertion `GTK_WIDGET_REALIZED (tree_view)' failed Gtk2_ItemSelectionChanged ItemChache=nil Playlist (cactus_jukebox:19183): Gtk-CRITICAL **: gtk_tree_view_remove_column: assertion `GTK_IS_TREE_VIEW_COLUMN (column)' failed [...] Is this my fault? What have I done wrong? Is there a possibility to hide these warnings so I can see my own console output better? Seabstian _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] html output
I have seldom used Delphi "professionally" for some years now, and server applications are not much into my non-professional interests, but every time I talk about easy ways to "design" web applications I think "I'd be shocked if there isn't a library - argh framework - to spit HTML based on Delphi forms"... If such a project really doesn't exist, I doubt it would take more than a week for a proof-of-concept... Best regards, Flávio On 6/2/07, A.J. Venter <[EMAIL PROTECTED]> wrote: I'd say the only thing that comes CLOSE to what you want is java applets (and even then it's only close - it's not quite a cigar). A.J. On 6/1/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > On Fri, 1 Jun 2007, Andreas Berger wrote: > > > Hi all, > > > > Is there a way to convert a form into html or php? I have a client that wants > > to use an existing program over the net, but not install the program on his > > machine. Instead he wants to use the browser. Do I need to write a php client > > or can I convert my existing forms to html/php and talk with the existing > > lazarus app? > > The day you create a program which converts forms to HTML/PHP, you're rich :-) > > No such thing exists to my knowledge. Not for Delphi, not for any other > language I know. If you want to use the web browser, you must program > for it. > > Michael. > > _ > To unsubscribe: mail [EMAIL PROTECTED] with > "unsubscribe" as the Subject >archives at http://www.lazarus.freepascal.org/mailarchives > -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] shouldn't DebugLn write to stderr instead of stdout?
Am Samstag, 2. Juni 2007 15:55 schrieb Mattias Gaertner: [..] > > > /dev/null, archive, :-) > > > > My fault, I meant achieve (zustande bringen; Ziel erreichen) :-) > > Nah, less funny. > > > > Maybe we should add a function to close the debugtext. > > > > Good idea but don't just close stdout like FinalizeDebugOutput > > does ;-) > > It does not. It once did. "close(DebugText^);" after "DebugText:[EMAIL PROTECTED]" ? ok, the CloseFunc wouln't be called, but TextRec(Output).mode is still set to fmClosed ? > New procedure: CloseDebugOutput; Thanks! > > > > (*) TCurvePanel is a selfmade component and maybe I should fix > > > > the issue .. :) > > > > > > Yes. :) > > > > TCurvePanel is a TPanel descendant that contains another panel + > > some buttons. I don't call invalidate anywhere (except in > > subpanel.onmousemove). > > Invalidate is called indirectly when changing some properties. > You can find out, by adding a DumpStack; to the invalidaterect > warning and of course archiving the debug output. ;) as soon as I find some time .. for now, it "just works"(tm) thanks Burkhard _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] shouldn't DebugLn write to stderr instead of stdout?
On Sat, 2 Jun 2007 15:18:13 +0200 Burkhard Carstens <[EMAIL PROTECTED]> wrote: > Am Samstag, 2. Juni 2007 14:49 schrieb Mattias Gaertner: > > On Sat, 2 Jun 2007 14:37:29 +0200 > > > > Burkhard Carstens <[EMAIL PROTECTED]> wrote: > > > Am Samstag, 2. Juni 2007 14:21 schrieb Mattias Gaertner: > > > > On Sat, 2 Jun 2007 13:45:27 +0200 > > > > > > > > Burkhard Carstens <[EMAIL PROTECTED]> wrote: > > > > > Hi all. > > > > > > > > > > The procedure InitializeDebugOutput in lcl/lclproc.pas should > > > > > map DebugText to @stderr instead of @output so stdout stays > > > > > "clean" for application use. > > > > > What do you think? > > > > > > > > DebugLn is debugging output, not errors. > > > > Maybe some warnings should be written to stderr instead, but > > > > often stdout and stderr are not synchronized. > > > > What debugln are disturbing you? > > > > > > e.g. "NOTE: TGtkWidgetSet.InvalidateRect during paint message: > > > TCurvePanel" (*) > > > > > > Currently I am writing a binary data stream analyzer, that must > > > read data from stdin and write it unchanged to stdout. So *any* > > > debugln to stdout is inacceptable in this case. Using > > > --debug-log='/dev/null' seems to be the only way to archive this. > > > > /dev/null, archive, :-) > > My fault, I meant achieve (zustande bringen; Ziel erreichen) :-) Nah, less funny. > > Maybe we should add a function to close the debugtext. > > Good idea but don't just close stdout like FinalizeDebugOutput > does ;-) It does not. It once did. New procedure: CloseDebugOutput; > > > (*) TCurvePanel is a selfmade component and maybe I should fix the > > > issue .. :) > > > > Yes. :) > > TCurvePanel is a TPanel descendant that contains another panel + some > buttons. I don't call invalidate anywhere (except in > subpanel.onmousemove). Invalidate is called indirectly when changing some properties. You can find out, by adding a DumpStack; to the invalidaterect warning and of course archiving the debug output. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] international dates
On 02/06/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: The original FDCC files are text files, and are described in ISO 14652 standard. The problem is that they are huge, and that parsing them would be very time-intensive (not to mention they would use a large part of your disk with nothing but comments). So glibc provides a 'compiled' or 'compressed' version of these files which loads very quickly. The only thing we need to do is to find out how each of the files LC_NUMERIC LC_DATE LC_CURRENCY (and maybe some others) are structured, and we're all set... yeah, we'll just have to mimic the c code for this then. i hope to look at it again soon. It's on my TODO list, together with 325673 other items... > maybe i'll get a rainy day to look into this again. Too bad, they promised a beautiful weekend ;-) yep, i'm going cycling now (with the aim of drinking lots of beer). Michael. henry _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] international dates
On Sat, 2 Jun 2007, Henry Vermaak wrote: > On 02/06/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > Hello, > > > > This is a known problem. The problem is that the variables which control > > the date/time/currency formatting in the SysUtils unit are not initialized > > on Unix. This is an open issue which must still be resolved. (it takes some > > work to do this, unfortunately) > > i looked into this some time ago. the function you really want to > emulate is nl_langinfo and (as far as i could understand) it parses > all the locale files to populate big records with the correct > information. these locale files are a libc invention to start with > (so the format might change, but unlikely) and they are not text > files! so you have to look at ulrich drepper's code on what the data > structures look like and how to parse them (which are mostly macros, > by the way). > > sorry for my hand-wavy description, but i didn't have enough time to > go into this at the time. i keep telling myself there must be an > easier way and i wonder why those files aren't simply text files (like > everything else on linux). The original FDCC files are text files, and are described in ISO 14652 standard. The problem is that they are huge, and that parsing them would be very time-intensive (not to mention they would use a large part of your disk with nothing but comments). So glibc provides a 'compiled' or 'compressed' version of these files which loads very quickly. The only thing we need to do is to find out how each of the files LC_NUMERIC LC_DATE LC_CURRENCY (and maybe some others) are structured, and we're all set... It's on my TODO list, together with 325673 other items... > maybe i'll get a rainy day to look into this again. Too bad, they promised a beautiful weekend ;-) Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] shouldn't DebugLn write to stderr instead of stdout?
Am Samstag, 2. Juni 2007 14:49 schrieb Mattias Gaertner: > On Sat, 2 Jun 2007 14:37:29 +0200 > > Burkhard Carstens <[EMAIL PROTECTED]> wrote: > > Am Samstag, 2. Juni 2007 14:21 schrieb Mattias Gaertner: > > > On Sat, 2 Jun 2007 13:45:27 +0200 > > > > > > Burkhard Carstens <[EMAIL PROTECTED]> wrote: > > > > Hi all. > > > > > > > > The procedure InitializeDebugOutput in lcl/lclproc.pas should > > > > map DebugText to @stderr instead of @output so stdout stays > > > > "clean" for application use. > > > > What do you think? > > > > > > DebugLn is debugging output, not errors. > > > Maybe some warnings should be written to stderr instead, but > > > often stdout and stderr are not synchronized. > > > What debugln are disturbing you? > > > > e.g. "NOTE: TGtkWidgetSet.InvalidateRect during paint message: > > TCurvePanel" (*) > > > > Currently I am writing a binary data stream analyzer, that must > > read data from stdin and write it unchanged to stdout. So *any* > > debugln to stdout is inacceptable in this case. Using > > --debug-log='/dev/null' seems to be the only way to archive this. > > /dev/null, archive, :-) My fault, I meant achieve (zustande bringen; Ziel erreichen) :-) > Maybe we should add a function to close the debugtext. Good idea but don't just close stdout like FinalizeDebugOutput does ;-) > > (*) TCurvePanel is a selfmade component and maybe I should fix the > > issue .. :) > > Yes. :) TCurvePanel is a TPanel descendant that contains another panel + some buttons. I don't call invalidate anywhere (except in subpanel.onmousemove). regards Burkhard _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus for win64 available for download from sourceforge
thanks. 2007/6/2, Vincent Snijders <[EMAIL PROTECTED]>: Carlos German Tejero schreef: > Hi Vincent: > I have many questions, on how work a Lazarus Daemon Application. In unix > a Daemon is a process that forks, close the stdin-stdout-stderr and > running on backgroup. In the SystemV way, put a script in /etc/init.d/ > for start/restart/stop the daemon. > In windows a Service, is registered with the windows api. One executable > (or library) can have one or more services. > > What is the funcionality of TMapperDaemon? the programmer catch the > OnInstal/OnUninstall events for register the Daemon in the System? > > What is the functionality of TDaemon? is a TThread, then emulates the > windows way? > > Thanks (sorry for my english). > > The work of FPC team and Lazarus team is WONDERFULL!! > I don't know answers to these questions. Maybe Michael van Canneyt, who contributed these units can give some answers. If I remember correctly, he also promised some examples. Vincent _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- Carlos Germán Tejero
Re: [lazarus] international dates
On 02/06/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: Hello, This is a known problem. The problem is that the variables which control the date/time/currency formatting in the SysUtils unit are not initialized on Unix. This is an open issue which must still be resolved. (it takes some work to do this, unfortunately) i looked into this some time ago. the function you really want to emulate is nl_langinfo and (as far as i could understand) it parses all the locale files to populate big records with the correct information. these locale files are a libc invention to start with (so the format might change, but unlikely) and they are not text files! so you have to look at ulrich drepper's code on what the data structures look like and how to parse them (which are mostly macros, by the way). sorry for my hand-wavy description, but i didn't have enough time to go into this at the time. i keep telling myself there must be an easier way and i wonder why those files aren't simply text files (like everything else on linux). maybe i'll get a rainy day to look into this again. I have a unit which does this for you. It checks the KDE international settings or the C library settings. It is not included by default in SysUtils because it creates a dependency on the C library, but I can send this unit to you in private. Michael. henry _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] shouldn't DebugLn write to stderr instead of stdout?
On Sat, 2 Jun 2007 14:37:29 +0200 Burkhard Carstens <[EMAIL PROTECTED]> wrote: > Am Samstag, 2. Juni 2007 14:21 schrieb Mattias Gaertner: > > On Sat, 2 Jun 2007 13:45:27 +0200 > > > > Burkhard Carstens <[EMAIL PROTECTED]> wrote: > > > Hi all. > > > > > > The procedure InitializeDebugOutput in lcl/lclproc.pas should map > > > DebugText to @stderr instead of @output so stdout stays "clean" > > > for application use. > > > What do you think? > > > > DebugLn is debugging output, not errors. > > Maybe some warnings should be written to stderr instead, but often > > stdout and stderr are not synchronized. > > What debugln are disturbing you? > > e.g. "NOTE: TGtkWidgetSet.InvalidateRect during paint message: > TCurvePanel" (*) > > Currently I am writing a binary data stream analyzer, that must read > data from stdin and write it unchanged to stdout. So *any* debugln to > stdout is inacceptable in this case. Using --debug-log='/dev/null' > seems to be the only way to archive this. /dev/null, archive, :-) Maybe we should add a function to close the debugtext. > (*) TCurvePanel is a selfmade component and maybe I should fix the > issue .. :) Yes. :) Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] shouldn't DebugLn write to stderr instead of stdout?
Am Samstag, 2. Juni 2007 14:21 schrieb Mattias Gaertner: > On Sat, 2 Jun 2007 13:45:27 +0200 > > Burkhard Carstens <[EMAIL PROTECTED]> wrote: > > Hi all. > > > > The procedure InitializeDebugOutput in lcl/lclproc.pas should map > > DebugText to @stderr instead of @output so stdout stays "clean" for > > application use. > > What do you think? > > DebugLn is debugging output, not errors. > Maybe some warnings should be written to stderr instead, but often > stdout and stderr are not synchronized. > What debugln are disturbing you? e.g. "NOTE: TGtkWidgetSet.InvalidateRect during paint message: TCurvePanel" (*) Currently I am writing a binary data stream analyzer, that must read data from stdin and write it unchanged to stdout. So *any* debugln to stdout is inacceptable in this case. Using --debug-log='/dev/null' seems to be the only way to archive this. (*) TCurvePanel is a selfmade component and maybe I should fix the issue .. :) regards Burkhard _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] shouldn't DebugLn write to stderr instead of stdout?
On Sat, 2 Jun 2007 13:45:27 +0200 Burkhard Carstens <[EMAIL PROTECTED]> wrote: > Hi all. > > The procedure InitializeDebugOutput in lcl/lclproc.pas should map > DebugText to @stderr instead of @output so stdout stays "clean" for > application use. > What do you think? DebugLn is debugging output, not errors. Maybe some warnings should be written to stderr instead, but often stdout and stderr are not synchronized. What debugln are disturbing you? Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] What about a "stable" branch?
On Sat, 02 Jun 2007 13:42:35 +0200 Giuliano Colla <[EMAIL PROTECTED]> wrote: > With Lazarus I'm faced with a dilemma. I want to migrate to Lazarus > Delphi/Kylix applications. > For that I need a stable version to work with, even if I need many > workarounds to solve problems still open. > > On the other hand I want to test the latest version, to follow the > development and, within the limits of my time and my capabilities > give as much contribution as possible. > > The svn version many times fixes bugs not detected at the time of an > "official" release". But using the latest svn version for production > is rather unwise: it's work in progress, so one day the image dialog > freezes the IDE, one day the glyph on the speedbuttons disappear, one > day fpgui doesn't compile, one day qt has wrong dependencies, and so > on. > > Reading this list, it seems to me that many others face exactly the > same problem. > It would be nice if Lazarus could provide a "stable" branch, which > starts with each "official" release, and it is only maintained by > backporting bug fixes and/or "safe" small enhancements, leaving out > all the developments for next release. > > I understand that this requires extra work, and developers are > already quite busy doing their excellent job, therefore someone else > should take care of maintaining such branch, leaving to the > developers only the task of approving what should or shouldn't be > done: it's their work so they must have the last word, of course. > > If the idea doesn't seem so stupid, and if nobody else more > knowledgeable wants to undertake this task, I would gladly volunteer > for it. While I'm unable to guarantee an effective contribution to > the development for long periods of time, given my workload, I'm sure > I can squeeze the time required for this job, if nobody else pops up. > > What do you guys think about it? Great. I'm just worried about bug reports. But IMO we should give it a try. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] Any idea what can cause this ?
Hi all, I am having a very strange problem. I have a project, it opens fine, I can make any changes I want, I try to save it complains "Cannot stream outkafemain:TOutKafeMain Access violation" This is a form I have been working on a for along time with no previous problems. In the console, Lazarus shows the messages below. Any idea what's wrong ? TMainIDE.DoSaveAll Stack trace: $080CEE69 $080CED61 $080CE9C0 $080C351B $08070B74 TCUSTOMFORM__GETCHILDREN, line 756 of ./include/customform.inc $080CEB06 $080C351B $080CEB91 $08098E6F TMAINIDE__DOSAVEEDITORFILE, line 6288 of main.pp $0809C679 TMAINIDE__DOSAVEPROJECT, line 7317 of main.pp $0809FED5 TMAINIDE__DOSAVEALL, line 8379 of main.pp $0808B7B9 TMAINIDE__MNUSAVEALLCLICKED, line 2295 of main.pp $08152219 TCONTROL__CLICK, line 1992 of ./include/control.inc $08170191 TCUSTOMSPEEDBUTTON__CLICK, line 107 of ./include/speedbutton.inc $081718A9 TCUSTOMSPEEDBUTTON__WMLBUTTONUP, line 766 of ./include/speedbutton.inc $08060159 $08150628 TCONTROL__PERFORM, line 1000 of ./include/control.inc TMainIDE.SaveFileResources Error cleaning up: Access violation -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] international dates
On Sat, 2 Jun 2007, ik wrote: > Hi Michael, > > Does your unit also calculate the week from the first day to the last > day according to the system ? No. > For example, here Sunday is the first day of the "regular" week, while > on Europe and the US, it's Monday. There is no support for this; in fact the sysutils unit assumes sunday as the first day (0-6 for day number), and the dateutils unit routines assume monday (as this is an ISO standard). (it's something like this, I don't remember exactly. I documented it, though) > > I wrote once a Delphi extension for such calculation without using the > OS API, however I can't use it, because it was written for specific > proprietary software. So I'm looking for an open source unit to do the > same. All the unit does is set the proper variables based on system information. It introduces no new functionality. Michael. > > Ido > > On 6/2/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: > > > > > > On Fri, 1 Jun 2007, patrick feillant wrote: > > > > > Hi, > > > I have a Ubuntu 7.04 french installation, so if i type $date ---> vendredi > > > 1 > > > juin 2007, 23:14:41 (UTC+0200) > > > That's ok. > > > In Lazarus, the variables ShortDateFormat, LongDateFormat, > > > ShortMonthNames, LongMonthNames ,ShortDayNames.. are initialize in the > > > sysutils initialization section, from the system parameters by the > > > InitInternational routine .. > > > But i always have the date in the english format, Sunday ... > > > I don't resolve this problem. > > > Somebody can help me to try the solution. > > > > Hello, > > > > This is a known problem. The problem is that the variables which control > > the date/time/currency formatting in the SysUtils unit are not initialized > > on Unix. This is an open issue which must still be resolved. (it takes some > > work to do this, unfortunately) > > > > I have a unit which does this for you. It checks the KDE international > > settings or the C library settings. It is not included by default in > > SysUtils > > because it creates a dependency on the C library, but I can send this > > unit to you in private. > > > > Michael. > > > > _ > > To unsubscribe: mail [EMAIL PROTECTED] with > > "unsubscribe" as the Subject > >archives at http://www.lazarus.freepascal.org/mailarchives > > > > > -- > http://ik.homelinux.org/ > > _ > To unsubscribe: mail [EMAIL PROTECTED] with >"unsubscribe" as the Subject > archives at http://www.lazarus.freepascal.org/mailarchives > _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] shouldn't DebugLn write to stderr instead of stdout?
Hi all. The procedure InitializeDebugOutput in lcl/lclproc.pas should map DebugText to @stderr instead of @output so stdout stays "clean" for application use. What do you think? regards Burkhard _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
[lazarus] What about a "stable" branch?
With Lazarus I'm faced with a dilemma. I want to migrate to Lazarus Delphi/Kylix applications. For that I need a stable version to work with, even if I need many workarounds to solve problems still open. On the other hand I want to test the latest version, to follow the development and, within the limits of my time and my capabilities give as much contribution as possible. The svn version many times fixes bugs not detected at the time of an "official" release". But using the latest svn version for production is rather unwise: it's work in progress, so one day the image dialog freezes the IDE, one day the glyph on the speedbuttons disappear, one day fpgui doesn't compile, one day qt has wrong dependencies, and so on. Reading this list, it seems to me that many others face exactly the same problem. It would be nice if Lazarus could provide a "stable" branch, which starts with each "official" release, and it is only maintained by backporting bug fixes and/or "safe" small enhancements, leaving out all the developments for next release. I understand that this requires extra work, and developers are already quite busy doing their excellent job, therefore someone else should take care of maintaining such branch, leaving to the developers only the task of approving what should or shouldn't be done: it's their work so they must have the last word, of course. If the idea doesn't seem so stupid, and if nobody else more knowledgeable wants to undertake this task, I would gladly volunteer for it. While I'm unable to guarantee an effective contribution to the development for long periods of time, given my workload, I'm sure I can squeeze the time required for this job, if nobody else pops up. What do you guys think about it? Giuliano _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Lazarus history (version 0.1)
Graeme Geldenhuys wrote: Hi, Has anybody got screenshots or source code archives of really old Lazarus versions? I'm talking of 0.1 or 0.2 versions here? It would be interesting to see how things have evolved since those early days. The oldest screenshot I could find was from may 2002: http://www.dommelstein.nl/scrap/DebuggerAll.png I assume I've some older pics somewhere, ony where :) Marc _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] international dates
ik ha scritto: I have a unit which does this for you. It checks the KDE international settings or the C library settings. It is not included by default in SysUtils because it creates a dependency on the C library, but I can send this unit to you in private. Can I ask you to send it to me too? Thank you in advance Giuliano _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] international dates
Hi Michael, Does your unit also calculate the week from the first day to the last day according to the system ? For example, here Sunday is the first day of the "regular" week, while on Europe and the US, it's Monday. I wrote once a Delphi extension for such calculation without using the OS API, however I can't use it, because it was written for specific proprietary software. So I'm looking for an open source unit to do the same. Ido On 6/2/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Fri, 1 Jun 2007, patrick feillant wrote: > Hi, > I have a Ubuntu 7.04 french installation, so if i type $date ---> vendredi 1 > juin 2007, 23:14:41 (UTC+0200) > That's ok. > In Lazarus, the variables ShortDateFormat, LongDateFormat, > ShortMonthNames, LongMonthNames ,ShortDayNames.. are initialize in the > sysutils initialization section, from the system parameters by the > InitInternational routine .. > But i always have the date in the english format, Sunday ... > I don't resolve this problem. > Somebody can help me to try the solution. Hello, This is a known problem. The problem is that the variables which control the date/time/currency formatting in the SysUtils unit are not initialized on Unix. This is an open issue which must still be resolved. (it takes some work to do this, unfortunately) I have a unit which does this for you. It checks the KDE international settings or the C library settings. It is not included by default in SysUtils because it creates a dependency on the C library, but I can send this unit to you in private. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- http://ik.homelinux.org/ _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: Cannot compile GTK2 lcl anymore
On 6/2/07, A.J. Venter <[EMAIL PROTECTED]> wrote: Can we post a work-around on the wiki ? Yes, sure, just mention that this work-around will not be necessary once 2.2 is released and we remove that file from lazarus. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] international dates
On Fri, 1 Jun 2007, patrick feillant wrote: > Hi, > I have a Ubuntu 7.04 french installation, so if i type $date ---> vendredi 1 > juin 2007, 23:14:41 (UTC+0200) > That's ok. > In Lazarus, the variables ShortDateFormat, LongDateFormat, > ShortMonthNames, LongMonthNames ,ShortDayNames.. are initialize in the > sysutils initialization section, from the system parameters by the > InitInternational routine .. > But i always have the date in the english format, Sunday ... > I don't resolve this problem. > Somebody can help me to try the solution. Hello, This is a known problem. The problem is that the variables which control the date/time/currency formatting in the SysUtils unit are not initialized on Unix. This is an open issue which must still be resolved. (it takes some work to do this, unfortunately) I have a unit which does this for you. It checks the KDE international settings or the C library settings. It is not included by default in SysUtils because it creates a dependency on the C library, but I can send this unit to you in private. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: Cannot compile GTK2 lcl anymore
Well with this info I went looking for the duplicate source file in the lazarus tree, moved it away and indeed got a successful build. Can we post a work-around on the wiki ? A.J. On 6/2/07, Felipe Monteiro de Carvalho <[EMAIL PROTECTED]> wrote: On 6/2/07, A.J. Venter <[EMAIL PROTECTED]> wrote: > The on a hunch, I reinstalled the trayicon package - Lazarus built > halfway, and failed in the same place... don't ask me why but > trayiconlaz causes a problem on some 2.1.4 systems because it seems to > contain a library duplication... I know why. TrayIcon uses the unit gdk2x which didn't exist on fpc 2.0.4, and because of that this unit was added to the lazarus sources. Later I asked that this unit be included on Free Pascal, so we can remove it from lazarus when FPC 2.2 is released So basically we can't solve this until 2.2 is released. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: Cannot compile GTK2 lcl anymore
On 6/2/07, A.J. Venter <[EMAIL PROTECTED]> wrote: The on a hunch, I reinstalled the trayicon package - Lazarus built halfway, and failed in the same place... don't ask me why but trayiconlaz causes a problem on some 2.1.4 systems because it seems to contain a library duplication... I know why. TrayIcon uses the unit gdk2x which didn't exist on fpc 2.0.4, and because of that this unit was added to the lazarus sources. Later I asked that this unit be included on Free Pascal, so we can remove it from lazarus when FPC 2.2 is released So basically we can't solve this until 2.2 is released. -- Felipe Monteiro de Carvalho _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: Cannot compile GTK2 lcl anymore
I finally managed to fix this machine. When many searches still failed to turn up the problem - I reread Mattias' post and tried it from a different angle (by now I had rm -fr'd my old lazarus and done a fresh checkout even) I ran find and looked for gdk2x.ppu - and sure enough got two hits: [EMAIL PROTECTED] /]$ find -name gdk2x.ppu 2>/dev/null ./usr/lib/fpc/2.1.4/units/i386-linux/gtk2/gdk2x.ppu ./home/silentcoder/lazarus/components/trayicon/lib/i386-linux/gtk2/gdk2x.ppu So I uninstalled trayicon - and suddenly, lazarus built with GTK2. The on a hunch, I reinstalled the trayicon package - Lazarus built halfway, and failed in the same place... don't ask me why but trayiconlaz causes a problem on some 2.1.4 systems because it seems to contain a library duplication... A.J. On 5/24/07, A.J. Venter <[EMAIL PROTECTED]> wrote: I don't know what changed but with neither fpc 2.3.1 nor 2.1.4 am I able to compile the LCL for GTK2 as unit gtkint fails to build. Here are the errors I am getting: PPU Loading /home/silentcoder/lazarus/lcl/units/i386-linux/gtk2/gtkint.ppu PPU Source: gtkint.pp not found PPU Source: gtkdefines.inc not found PPU Source: gtkwinapih.inc not found PPU Source: gtklclintfh.inc not found PPU Source: gtklistslh.inc not found PPU Source: gtkfiledialogutilsh.inc not found PPU Source: gtklistsl.inc not found PPU Source: gtkfiledialogutils.inc not found PPU Source: gtkobject.inc not found PPU Source: gtkwinapi.inc not found PPU Source: gtklclintf.inc not found PPU Source: gtkimages.lrs not found Any ideas ? -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] international dates
patrick feillant ha scritto: Hi, I have a Ubuntu 7.04 french installation, so if i type $date ---> vendredi 1 juin 2007, 23:14:41 (UTC+0200) That's ok. In Lazarus, the variables ShortDateFormat, LongDateFormat, ShortMonthNames, LongMonthNames ,ShortDayNames.. are initialize in the sysutils initialization section, from the system parameters by the InitInternational routine .. But i always have the date in the english format, Sunday ... I don't resolve this problem. Somebody can help me to try the solution. Thanks. I never tried with Lazarus, but with Delphi/Kylix I had the same problem. It turned out that Delphi looks to the environment variable LC_ALL. If it's not set, it will default to English style dates, instead of looking at the LANG variable. Try: >export LC_ALL=fr_FR >startlazarus If it works, the problem is the same (Delphi compatibility). If it doesn't, well, tant pis. Cheers Giuliano _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] html output
I'd say the only thing that comes CLOSE to what you want is java applets (and even then it's only close - it's not quite a cigar). A.J. On 6/1/07, Michael Van Canneyt <[EMAIL PROTECTED]> wrote: On Fri, 1 Jun 2007, Andreas Berger wrote: > Hi all, > > Is there a way to convert a form into html or php? I have a client that wants > to use an existing program over the net, but not install the program on his > machine. Instead he wants to use the browser. Do I need to write a php client > or can I convert my existing forms to html/php and talk with the existing > lazarus app? The day you create a program which converts forms to HTML/PHP, you're rich :-) No such thing exists to my knowledge. Not for Delphi, not for any other language I know. If you want to use the web browser, you must program for it. Michael. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives -- A.J. Venter CEO - OutKast Solutions C.C. http://www.outkastsolutions.co.za Cell: +27 83 455 9978 Fax: +27 21 413 2800 Office: +27 21 591 6766 _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Accepting Input on controls which don't have focus
Mattias Gaertner wrote: > I just tried: > A TMemo does not trigger the OnMouseWheel event under windows. It works > under gtk. Maybe a bug in the win32/64 interface. > > Micha, should I create a bug report? Ok. Maybe the memo has eaten it? I will look at it. Micha _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] FreeBSD support
On 6/2/07, Marco van de Voort <[EMAIL PROTECTED]> wrote: Not really. Afaik using FPC/Lazarus on it is mostly equivalent to Linux. Brilliant. Thanks! Graeme. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] FreeBSD support
> I want to test fpGUI under FreeBSD. My IDE of choice is obviously Lazarus! > :) > > Does FPC and Lazarus work fine under FreeBSD? I'm completely new to > FreeBSD. Is there any specific things to look out for while setting up > my development environment? Not really. Afaik using FPC/Lazarus on it is mostly equivalent to Linux. _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives
Re: [lazarus] Screenshots on mac
Felipe Monteiro de Carvalho napsal(a): On 6/2/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: Not click. Drag to define the rectangle. ah .. that explainst it =)) On KDE there is a screenshot option where you click the target window to capture, so I just thougth it would be like that =) You can view or change this type of shortcuts in System Preferences/Keyboard & mouse. Tom _ To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe" as the Subject archives at http://www.lazarus.freepascal.org/mailarchives