Re: [lazarus] Currency Type gets cast a Integer

2008-01-02 Thread Graeme Geldenhuys
On 01/01/2008, Damien Gerard [EMAIL PROTECTED] wrote: For example 150.95 will be stored as 15095. For FreePascal, I don't know how it is really managed behing the scene, but in many languages or tools it is like that (D, sqlite, MS SQL...). That is such a cleaver idea! If only I thought

Re: [lazarus] converting a console app to a gui app

2008-01-02 Thread Michael Van Canneyt
On Wed, 2 Jan 2008, Graeme Geldenhuys wrote: Hi, I've been asked by someone if it's possible to convert a console application systematically to a gui application. One form at a time. So during the conversion process the application needs to be able to handle input from GUI Forms and

[lazarus] Strange behavior of the IDE with a particular image

2008-01-02 Thread Damien Gerard
I have a strange behavior with the lastest version of Lazarus (win32/ fpc 2.2.1). - Create a new project - Add a TImage - Add the attached picture - Edit the code / f12, right clic... The IDE often minimizes and it is really annoying. Can someone reproduce it or I miss an already reported

Re: [lazarus] converting a console app to a gui app

2008-01-02 Thread Graeme Geldenhuys
On 02/01/2008, Michael Van Canneyt [EMAIL PROTECTED] wrote: I would not recommend such a scheme, when asked to do this. It's bound to create more problems than it will solve. That was my thoughts as well. Thanks for the response Michael. I'll relay the message back to that developer.

Re: [lazarus] Strange behavior of the IDE with a particular image

2008-01-02 Thread Damien Gerard
On Jan 2, 2008, at 10:37 AM, Damien Gerard wrote: I have a strange behavior with the lastest version of Lazarus (win32/ fpc 2.2.1). - Create a new project - Add a TImage - Add the attached picture - Edit the code / f12, right clic... The IDE often minimizes and it is really annoying.

Re: [lazarus] Strange behavior of the IDE with a particular image

2008-01-02 Thread Damien Gerard
On Jan 2, 2008, at 10:55 AM, Damien Gerard wrote: Sorry for the inconvenience I have rebooted the Windows and it works fine... So it seems there is nothing to do with Lazarus. But it was at the exact time when I load the image... -- Damien Gerard [EMAIL PROTECTED] People who used

Re: [lazarus] Benchmarks

2008-01-02 Thread willem
Peter Vreman wrote: At 17:01 1-1-2008, you wrote: Vincent Snijders wrote: willem schreef: Benchmark results from : http://shootout.alioth.debian.org/gp4/benchmark.php?test=sumcollang=all#about Conclusion : It would be good to have a compiler switch that optimizes for speed. That is a

Re: [lazarus] Benchmarks

2008-01-02 Thread willem
Lee Jenkins wrote: willem wrote: Benchmark results from : http://shootout.alioth.debian.org/gp4/benchmark.php?test=sumcollang=all#about To me, it looks like FreePascal is ranking up there almost every

Re: [lazarus] Benchmarks

2008-01-02 Thread Vincent Snijders
willem schreef: Peter Vreman wrote: At 17:01 1-1-2008, you wrote: Vincent Snijders wrote: willem schreef: Benchmark results from : http://shootout.alioth.debian.org/gp4/benchmark.php?test=sumcollang=all#about Conclusion : It would be good to have a compiler switch that optimizes for

[lazarus] Lazarus and Linux on a usb pen drive

2008-01-02 Thread Antonio Sanguigni
I'm just creating for fun a new Puppy Linux derived distro with FPC and Lazarus already installed. This kind of mini distro is able to easily suite on a pen drive, so Lazarus developers can bring with them their favourite development environment. Now, it is almost ready but I would like to have a

Re: [lazarus] Making GTK Thread Safe

2008-01-02 Thread Giuliano Colla
Al Boldi ha scritto: Al Boldi wrote: Micha Nelissen wrote: Al Boldi wrote: I think the race comes in when you have two competing threads wanting to synchronize the the main thread. It just hangs. Are you sure? This should work properly. Can you provide example (in a bugreport)? Well, it's

Re: [lazarus] Benchmarks

2008-01-02 Thread willem
Vincent Snijders wrote: willem schreef: Peter Vreman wrote: At 17:01 1-1-2008, you wrote: Vincent Snijders wrote: willem schreef: Benchmark results from : http://shootout.alioth.debian.org/gp4/benchmark.php?test=sumcollang=all#about Conclusion : It would be good to have a compiler switch

Re: [lazarus] Benchmarks

2008-01-02 Thread Vincent Snijders
willem schreef: Well I have a Pentium D processor 2.80 Ghz, dual core with 1024 Mb memory, so I cannot compare my benchmark results with the Gentoo Pentium 4 benchmarks. You can compare by running the original program and time it. Save the output. Run the modified program and time it.

Re: [lazarus] IDE patch to dock Messages on Editor

2008-01-02 Thread Fabio Dell'Aria
Hi, I'm finally here! I have just finished to implement an unit able to dock any form in others. Really a good and very simple tool! :) The unique problem is that it did not works on Win32 interface (works ok on other interfaces as QT/GTK/...) cause a specific win32 interface bug. I have just

[lazarus] [MS Windows] Standalone app with GTK widgetset

2008-01-02 Thread Damien Gerard
I did not find any documentation related to steps to reproduce to provide a standalone Application using the GTK2 widgetset under windows without Gimp and a lookfeel closed to the winxp theme (using gtk-wimp). Would it be interressting to make this article ? -- Damien Gerard [EMAIL

[lazarus] How to set LCL_PLATFORM

2008-01-02 Thread Dave Parsons
Hi all, I'm beginning to put together a native OS/2 version of Lazarus and I need to define a new platform. From the online documentation and the source code it seems that the thing to do is to define LCL_PLATFORM. fpcmake.ini has a definition of LCL_PLATFORM but it differs from the definitions

[lazarus] madelbrot benchmark much faster

2008-01-02 Thread willem
Vincent has made an improved Mandelbrot benchmark. i did run the original mandelbrot benchmark with N =5000. It took 2: 20 minutes. The improved version took 2:00 minutes. I also tried to run the g++ mandelbrot benchmark but I got 14 errors because this program is very complex. regards

Re: [lazarus] madelbrot benchmark much faster

2008-01-02 Thread Vincent Snijders
willem schreef: Vincent has made an improved Mandelbrot benchmark. i did run the original mandelbrot benchmark with N =5000. It took 2: 20 minutes. I will submit the new version in a couple of days (Leave it a couple of days): http://shootout.alioth.debian.org/gp4/faq.php#implement

Re: [lazarus] madelbrot benchmark much faster

2008-01-02 Thread Paulo Costa
At 18:46 02/01/2008, willem wrote: Vincent has made an improved Mandelbrot benchmark. i did run the original mandelbrot benchmark with N =5000. It took 2: 20 minutes. The improved version took 2:00 minutes. If you see the gcc version you'll see that it relies on SSE2 instructions to

[lazarus] Lazarus-related Searchengine

2008-01-02 Thread Johannes Mueller
Hi, the searchfunction of the Lazarus-relevant sites isn't the best one. And to find all informations, you have to search on different sites and a standard Google-search returns a lot of irrelevant results. Why we don't should use a mature technologie, adjusted specially for FPC/Lazarus? I

Re: [lazarus] madelbrot benchmark much faster

2008-01-02 Thread Marc Santhoff
Am Mittwoch, den 02.01.2008, 21:30 + schrieb Paulo Costa: At 18:46 02/01/2008, willem wrote: Vincent has made an improved Mandelbrot benchmark. i did run the original mandelbrot benchmark with N =5000. It took 2: 20 minutes. The improved version took 2:00 minutes. If you see

Re: [lazarus] How to set LCL_PLATFORM

2008-01-02 Thread Dave Parsons
On Wed, 2 Jan 2008 20:52:58 +0100, Mattias Gaertner wrote: On Wed, 02 Jan 2008 19:16:13 +0100 (CET) Dave Parsons [EMAIL PROTECTED] wrote: Hi all, I'm beginning to put together a native OS/2 version of Lazarus and I need to define a new platform. From the online documentation and