[lazarus] Lazarus history (version 0.1)

2007-06-01 Thread Graeme Geldenhuys
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. -- Graeme Geldenhuys General error, hit any user to continue. ___

Re: [lazarus] Lazarus for win64 available for download from sourceforge

2007-06-01 Thread Vincent Snijders
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 wi

Re: [lazarus] Screenshots on mac

2007-06-01 Thread Felipe Monteiro de Carvalho
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 =) thanks, -- Felipe Monteiro de Carval

[lazarus] FreeBSD support

2007-06-01 Thread Graeme Geldenhuys
Hi, 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? -- Graeme Geldenhuys General error, hit any

Re: [lazarus] Screenshots on mac

2007-06-01 Thread Graeme Geldenhuys
On 6/2/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > What I sometimes used was, VNC to my mac, take screenshot of VNC, > paintshop, png. Oh, boy. Apparently Macs are for users, not for developers. hehehehe Who would have thought a simple thing like taking a screenshot could be so diff

Re: [lazarus] Lazarus for win64 available for download from sourceforge

2007-06-01 Thread Carlos German Tejero
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 wit

Re: [lazarus] Screenshots on mac

2007-06-01 Thread Mattias Gaertner
On Sat, 02 Jun 2007 00:40:02 +0200 Marc Weustink <[EMAIL PROTECTED]> wrote: > Felipe Monteiro de Carvalho wrote: > > On 6/1/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: > >> command+shift+4 > > > > Yes, but I press it, a aim appears, so I click on the screen ... and > > nothing happens (that I

Re: [lazarus] Accepting Input on controls which don't have focus

2007-06-01 Thread Mattias Gaertner
On Fri, 01 Jun 2007 22:25:25 +0200 Dave Coventry <[EMAIL PROTECTED]> wrote: > Hi Mattias, > > Can you tell me how to tell if a TMemo has received mouse wheel > events? Normally you just set the OnMouseWheel event. I just tried: A TMemo does not trigger the OnMouseWheel event under windows. I

Re: [lazarus] Screenshots on mac

2007-06-01 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 6/1/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: command+shift+4 Yes, but I press it, a aim appears, so I click on the screen ... and nothing happens (that I can notice at least) What I sometimes used was, VNC to my mac, take screenshot of VNC, paint

Re: [lazarus] Screenshots on mac

2007-06-01 Thread Felipe Monteiro de Carvalho
On 6/1/07, Mattias Gaertner <[EMAIL PROTECTED]> wrote: command+shift+4 Yes, but I press it, a aim appears, so I click on the screen ... and nothing happens (that I can notice at least) -- Felipe Monteiro de Carvalho _ To unsu

[lazarus] international dates

2007-06-01 Thread patrick feillant
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

Re: [lazarus] html output

2007-06-01 Thread Michael Van Canneyt
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 > o

[lazarus] html output

2007-06-01 Thread Andreas Berger
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 ta

Re: [lazarus] Accepting Input on controls which don't have focus

2007-06-01 Thread Dave Coventry
Hi Mattias, Can you tell me how to tell if a TMemo has received mouse wheel events? I've googled a lot for information on this, but haven't had any enlightenment Dave Coventry wrote: Mattias Gaertner wrote: > Maybe do this for other platforms: If the image receives focus, set > focus

Re: [lazarus] Using gtk2 interface on Macs

2007-06-01 Thread Marc Weustink
Mattias Gaertner wrote: On Fri, 1 Jun 2007 12:41:54 -0400 "Hess, Philip J" <[EMAIL PROTECTED]> wrote: Felipe, When I tested gtk2 on OS X last winter, I installed Gimp and then just linked against its gtk2 libraries. http://www.apple.com/downloads/macosx/unix_open_source/ Gimp is a universal

Re: [lazarus] Screenshots on mac

2007-06-01 Thread Mattias Gaertner
On Fri, 1 Jun 2007 18:58:16 +0200 "Felipe Monteiro de Carvalho" <[EMAIL PROTECTED]> wrote: > Hi, > > I already got some sucess with my graphics32 port to carbon-lcl =) I > can show a graphcs32 image on screen, and the basic (non font related) > drawing functions seam working just automatically. >

[lazarus] Screenshots on mac

2007-06-01 Thread Felipe Monteiro de Carvalho
Hi, I already got some sucess with my graphics32 port to carbon-lcl =) I can show a graphcs32 image on screen, and the basic (non font related) drawing functions seam working just automatically. Then I wanted to take a screenshot, but where is the verflixte print screen?? =)) I googled the link

Re: [lazarus] Using gtk2 interface on Macs

2007-06-01 Thread Mattias Gaertner
On Fri, 1 Jun 2007 12:41:54 -0400 "Hess, Philip J" <[EMAIL PROTECTED]> wrote: > Felipe, > > When I tested gtk2 on OS X last winter, I installed Gimp and then just > linked against its gtk2 libraries. > > http://www.apple.com/downloads/macosx/unix_open_source/ > > Gimp is a universal binary and

RE: [lazarus] Using gtk2 interface on Macs

2007-06-01 Thread Hess, Philip J
Felipe, When I tested gtk2 on OS X last winter, I installed Gimp and then just linked against its gtk2 libraries. http://www.apple.com/downloads/macosx/unix_open_source/ Gimp is a universal binary and includes both PowerPC and Intel gtk2 libraries (version 2.6.10). Use the attached custom .cfg

[lazarus] Using gtk2 interface on Macs

2007-06-01 Thread Felipe Monteiro de Carvalho
Hi, Has anyone already tested the gtk2 interface on Macs? I tryed to play with it, but linking a simple app will fail with: Free Pascal Compiler version 2.1.4 [2007/05/08] for i386 Copyright (c) 1993-2007 by Florian Klaempfl Target OS: Darwin for i386 Compiling lclbasictest.lpr Assembling lclbas

Re: [lazarus] Concurrence and the "Pattern: Singleton"

2007-06-01 Thread Graeme Geldenhuys
On 6/1/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: I have only one note... I get a segmentation fault the first time I used it cause there was a destructor that was freeing the class itself without checking if it was assigned (a check was useless in the "normal" way of using it). Without

Re: [lazarus] Concurrence and the "Pattern: Singleton"

2007-06-01 Thread Alvise Nicoletti
Ok, the code works perfectly, without declaring or creating any instance of the class. I have only one note... I get a segmentation fault the first time I used it cause there was a destructor that was freeing the class itself without checking if it was assigned (a check was useless in the "nor

Re: [lazarus] Concurrence and the "Pattern: Singleton"

2007-06-01 Thread Graeme Geldenhuys
You will have to protect your writing to file with thread synchronization. We do the exact same thing in the tiOPF2 project. You can look at the code to help with your implementation, or adapt the tiOPF2 code to you liking. The units you might be interested in are tiLog.pas and tiLogToFile.pas

Re: [lazarus] Concurrence and the "Pattern: Singleton"

2007-06-01 Thread Alvise Nicoletti
Graeme Geldenhuys ha scritto: On 6/1/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Does the delphi way work good in fpc mode? i never understand the difference between the two modes and actually in my project I got a "{$mode objfpc}" on the code. I prefer the 'objfpc' mode because it is more

Re: [lazarus] Resizing an image

2007-06-01 Thread Charl van Jaarsveldt
That works! Thank you!! I did try that method before though and then it misbehaved. I wonder what I did differently... Could I make a feature request? It would be nice and convenient to have a getScaledPicture method in TPicture. Charl On 6/1/07, A.J. Venter <[EMAIL PROTECTED]> wrote: Hi Mic

Re: [lazarus] where to put the common files

2007-06-01 Thread Graeme Geldenhuys
The best would be to create a Lazarus Package for you common units. Then add that package to the project. Project -> "Project Inspector" -> Add -> "New Requirement" and select your package. Lazarus will then handle all search paths etc for you. You only need to include Cadenas unit in you projects

Re: [lazarus] Concurrence and the "Pattern: Singleton"

2007-06-01 Thread Graeme Geldenhuys
On 6/1/07, Alvise Nicoletti <[EMAIL PROTECTED]> wrote: Does the delphi way work good in fpc mode? i never understand the difference between the two modes and actually in my project I got a "{$mode objfpc}" on the code. I prefer the 'objfpc' mode because it is more strict with syntax etc... If

[lazarus] where to put the common files

2007-06-01 Thread Carlos Avogaro
Hi, in delphi I can do this uses Forms, Cadenas in 'c:\proyectos\delphi\commons\cadenas.pas', Unit1; when I do this in lazarus it say that not find cadenas.pas. where I can put the commons files Thanks - Now that's room service

[lazarus] Concurrence and the "Pattern: Singleton"

2007-06-01 Thread Alvise Nicoletti
I have to implement the pattern "Singleton", definition : "Ensure a class has only one instance, and provide a global point of access to it." Does the delphi way work good in fpc mode? i never understand the difference between the two modes and actually in my project I got a "{$mode objfpc}" o

Re: [lazarus] Wince Crossbin utils windows installer don't works

2007-06-01 Thread Alvise Nicoletti
patrick feillant ha scritto: hello try this, free download with image os http://www.microsoft.com/downloads/details.aspx?FamilyId=C62D54A5-183A-4A1E-A7E2-CC500ED1F19A&displaylang=en T

Re: [lazarus] new Thread Manager Demo

2007-06-01 Thread Alvise Nicoletti
Graeme Geldenhuys ha scritto: Hi, I'm busy writing a Thread Manager demo in Lazarus to help me understanding threads better. This demo will then serve as a good example of how to use threads and synchronization. No better way to learn something than writing code! :) A quick summary of what I wa

Re: [lazarus] new Thread Manager Demo

2007-06-01 Thread Luca Olivetti
En/na Graeme Geldenhuys ha escrit: Questions: -- 1. Is there any other synchronization methods that FPC supports? 2. Is there a platform independent way of creating a Mutex? eg: A CreateMutex() function that maps to each platforms specific implementation. Something like the TCri

[lazarus] new Thread Manager Demo

2007-06-01 Thread Graeme Geldenhuys
Hi, I'm busy writing a Thread Manager demo in Lazarus to help me understanding threads better. This demo will then serve as a good example of how to use threads and synchronization. No better way to learn something than writing code! :) A quick summary of what I want to do: -

Re: [lazarus] Wince Crossbin utils windows installer don't works

2007-06-01 Thread patrick feillant
hello try this, free download with image os http://www.microsoft.com/downloads/details.aspx?FamilyId=C62D54A5-183A-4A1E-A7E2-CC500ED1F19A&displaylang=en Then i write in another message " When you run your emulateur, you give the repertorie witch is shared between lazarus (compile exe) and the em