Re: [Lazarus] Fast drawing to canvas

2012-02-26 Thread Reimar Grabowski
On Fri, 24 Feb 2012 22:22:49 +0100 Marco van de Voort mar...@stack.nl wrote: It is sufficient indication that one and the same binary must be able to do both. Regardless if that is between vendors or not. If you have to support a range of cards, you are absolutely right. Choosing which

Re: [Lazarus] Why the Java became so strong?

2012-02-26 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: 4 Hours later we had a working product that did everything we required! Another hour later, the database was loaded with all our existing bug reports, feature requests, attachments like images, sound clips etc. I would love to see somebody else do similar with other

Re: [Lazarus] Why the Java became so strong?

2012-02-26 Thread Graeme Geldenhuys
2012/2/26 zeljko : I just wrote an article on how to write an Android app, using only the Android Java APIs. Where's link to that article ? If it is for the same magazine I write for (freeX), then the next publish date is 1 March, and articles may only be made public (by the author) one

Re: [Lazarus] OT: Amazing new development tools

2012-02-26 Thread Max Vlasov
On Sat, Feb 25, 2012 at 10:15 PM, ik ido...@gmail.com wrote: Hello, I found the following amazing lecture that present a new idea of a development tool, that I think will interest you all: Thanks, Worth watching. It's interesting it's not directly connected to Lazarus, There are some ways

Re: [Lazarus] Why the Java became so strong?

2012-02-26 Thread Graeme Geldenhuys
On 26 February 2012 10:31, Mark Morgan Lloyd wrote: used as a system programming language. My own experience indicates that as soon as you start using a 4GL or similar for anything that the implementors didn't think of you're in very deep water. I guess in my 5 years of Turbo Pascal and 15

Re: [Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

2012-02-26 Thread Max Vlasov
On Sun, Feb 26, 2012 at 10:15 AM, zeljko zel...@holobit.net wrote: ** On Saturday 25 of February 2012 20:20:51 Max Vlasov wrote: On Sat, Feb 25, 2012 at 6:48 PM, Max Vlasov max.vla...@gmail.com wrote: On Sat, Feb 25, 2012 at 5:36 PM, zeljko zel...@holobit.net wrote: ** On

Re: [Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

2012-02-26 Thread Mattias Gaertner
On Sun, 26 Feb 2012 13:38:43 +0300 Max Vlasov max.vla...@gmail.com wrote: [...] Just yesterday this line didn't produce any search results in Google, today it leads at least to two bug reports in the tracker ) Don't know whether it would lead to anything, but I exlained by steps : -

Re: [Lazarus] Why the Java became so strong?

2012-02-26 Thread Frank Church
On 25 February 2012 22:29, Graeme Geldenhuys graemeg.li...@gmail.comwrote: 2012/2/25 Frank Church : who ask themselves If I am starting a new project, is Pascal the right one? Of course not! snip In relation to Eclipse above, The minimum 2Gb or even 4Gb or RAM needed to run Eclipse

Re: [Lazarus] Why the Java became so strong?

2012-02-26 Thread Mark Morgan Lloyd
Graeme Geldenhuys wrote: On 26 February 2012 10:31, Mark Morgan Lloyd wrote: used as a system programming language. My own experience indicates that as soon as you start using a 4GL or similar for anything that the implementors didn't think of you're in very deep water. I guess in my 5 years

[Lazarus] run program in ide with sudo for debug purpose

2012-02-26 Thread ik
Hello, I'm trying to debug a program that I'm writing with Lazarus, and it require root privileges, but I do not want Lazarus to run as root, only the program itself for debug. How can I do that ? Thanks, Ido -- ___ Lazarus mailing list

Re: [Lazarus] run program in ide with sudo for debug purpose

2012-02-26 Thread zeljko
On Sunday 26 of February 2012 13:49:08 Martin wrote: On 26/02/2012 12:38, ik wrote: Hello, I'm trying to debug a program that I'm writing with Lazarus, and it require root privileges, but I do not want Lazarus to run as root, only the program itself for debug. How can I do that ?

Re: [Lazarus] run program in ide with sudo for debug purpose

2012-02-26 Thread ik
On Sun, Feb 26, 2012 at 15:05, zeljko zel...@holobit.net wrote: On Sunday 26 of February 2012 13:49:08 Martin wrote: On 26/02/2012 12:38, ik wrote: Hello, I'm trying to debug a program that I'm writing with Lazarus, and it require root privileges, but I do not want Lazarus to run as

Re: [Lazarus] Android Target GUI

2012-02-26 Thread Marc Santhoff
Am Freitag, den 17.02.2012, 10:23 +0100 schrieb Felipe Monteiro de Carvalho: On Fri, Feb 17, 2012 at 9:11 AM, michael.vancann...@wisa.be wrote: Android uses XML files to specify the layout. This is the recommended way by Google. You can build the GUI in code as well, but then you're pretty

Re: [Lazarus] run program in ide with sudo for debug purpose

2012-02-26 Thread Mark Morgan Lloyd
Martin wrote: On 26/02/2012 12:38, ik wrote: Hello, I'm trying to debug a program that I'm writing with Lazarus, and it require root privileges, but I do not want Lazarus to run as root, only the program itself for debug. How can I do that ? I have not tried it, but maybe if you replace

Re: [Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

2012-02-26 Thread Marco van de Voort
On Sun, Feb 26, 2012 at 08:15:13AM +0100, zeljko wrote: On Saturday 25 of February 2012 20:20:51 Max Vlasov wrote: Tried make it from scratch on a machine without fpc and lazarus. Download both trunk, but 35594 can't compile with dbgrids.pas(1991,31) Error: Incompatible types: got

Re: [Lazarus] run program in ide with sudo for debug purpose

2012-02-26 Thread ik
On Sun, Feb 26, 2012 at 15:29, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Martin wrote: On 26/02/2012 12:38, ik wrote: Hello, I'm trying to debug a program that I'm writing with Lazarus, and it require root privileges, but I do not want Lazarus to run as root, only the

Re: [Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

2012-02-26 Thread zeljko
On Sunday 26 of February 2012 14:41:13 Marco van de Voort wrote: On Sun, Feb 26, 2012 at 08:15:13AM +0100, zeljko wrote: On Saturday 25 of February 2012 20:20:51 Max Vlasov wrote: Tried make it from scratch on a machine without fpc and lazarus. Download both trunk, but 35594 can't compile

Re: [Lazarus] run program in ide with sudo for debug purpose

2012-02-26 Thread zeljko
On Sunday 26 of February 2012 14:56:19 ik wrote: That's scars me a lot. Because it means that every program that is using gdb can raise it's privileges to root. I think that a better way, will be to set per project if the program should have different privileges for running inside Lazarus,

Re: [Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

2012-02-26 Thread Martin Schreiber
On Sunday, 26. February 2012 14.41:13 Marco van de Voort wrote: On Sun, Feb 26, 2012 at 08:15:13AM +0100, zeljko wrote: On Saturday 25 of February 2012 20:20:51 Max Vlasov wrote: Tried make it from scratch on a machine without fpc and lazarus. Download both trunk, but 35594 can't compile

Re: [Lazarus] Android Target GUI

2012-02-26 Thread Sven Barth
On 26.02.2012 14:34, Marc Santhoff wrote: It's probably easier to see it work in code than explain in words :-) I just wrote an app in this way. It has about 160 lines of code (including declaration) for a 2-form program that talks to a database to show some stuff on screen. Wetting my

Re: [Lazarus] Android Target GUI

2012-02-26 Thread Sven Barth
On 26.02.2012 15:57, Sven Barth wrote: On 26.02.2012 14:34, Marc Santhoff wrote: It's probably easier to see it work in code than explain in words :-) I just wrote an app in this way. It has about 160 lines of code (including declaration) for a 2-form program that talks to a database to show

[Lazarus] Tools/Run Parameters storage in .lps/session file instead of lpi?

2012-02-26 Thread Reinier Olislagers
Hi list, Developing fpcup together using a mercurial repo with Ludo Brands, which is always a pleasure. Less of a pleasure is that we frequently have conflicts in fpcup.lpi One of the changes that we saw in the commits: -CommandLineParams Value=--verbose/ +CommandLineParams

Re: [Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

2012-02-26 Thread Max Vlasov
On Sun, Feb 26, 2012 at 6:14 PM, zeljko zel...@holobit.net wrote: ** Yes, but original post is about 2.4.5 NOT about 2.7.1, also somebody opened issue at lazarus mantis about it. zeljko Sorry about the confusion, my initial plan was testing the fix by zeljko about lazarus behaviar

Re: [Lazarus] Tools/Run Parameters storage in .lps/session file instead of lpi?

2012-02-26 Thread Mattias Gaertner
On Sun, 26 Feb 2012 16:17:48 +0100 Reinier Olislagers reinierolislag...@gmail.com wrote: Hi list, Developing fpcup together using a mercurial repo with Ludo Brands, which is always a pleasure. Less of a pleasure is that we frequently have conflicts in fpcup.lpi One of the changes that

Re: [Lazarus] Tools/Run Parameters storage in .lps/session file instead of lpi?

2012-02-26 Thread Martin
On 26/02/2012 15:56, Mattias Gaertner wrote: On Sun, 26 Feb 2012 16:17:48 +0100 Reinier Olislagersreinierolislag...@gmail.com wrote: Hi list, Developing fpcup together using a mercurial repo with Ludo Brands, which is always a pleasure. Less of a pleasure is that we frequently have

Re: [Lazarus] Tools/Run Parameters storage in .lps/session file instead of lpi?

2012-02-26 Thread Reinier Olislagers
On 26-2-2012 16:56, Mattias Gaertner wrote: On Sun, 26 Feb 2012 16:17:48 +0100 Reinier Olislagers reinierolislag...@gmail.com wrote: Wouldn't it make more sense to store the Tools/Run Parameters in the .lps/session file instead of the lpi file? Each developer may have their own aspect of the

[Lazarus] Tools broken (Win32)

2012-02-26 Thread Hans-Peter Diettrich
Currently the Code Explorer doesn't show anything for controls.pp. Navigation in this unit also is impossible, due to an parser error: D:\git2\lazarus\lcl\controls.pp(28,20) Error: interface expected, but end of file found DoDi -- ___ Lazarus

Re: [Lazarus] Tools broken (Win32)

2012-02-26 Thread Mattias Gaertner
On Sun, 26 Feb 2012 18:43:05 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Currently the Code Explorer doesn't show anything for controls.pp. Navigation in this unit also is impossible, due to an parser error: D:\git2\lazarus\lcl\controls.pp(28,20) Error: interface expected, but

Re: [Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

2012-02-26 Thread Marco van de Voort
On Sun, Feb 26, 2012 at 03:22:32PM +0100, Martin Schreiber wrote: No. 2.7.x changed tbookmark from binary-data-encoded-in-an-ansistring to an abstract type for compat of D2006+. The idea is to merge this back to 2.6.1 too. (so fix with fullversion20600) How does the memory release work?

[Lazarus] fcl-stl / thashset question

2012-02-26 Thread John Repucci
I'm attempting to use thashset from the fcl-stl unit. It appears that fcl-stl is not compiled with the fpc that comes with Lazarus-0.9.31-35589-fpc-2.6.1-20120225-win32. While fcl-stl is in the source, it is not found in the units directory tree. (this is also true of fpc-2.7.1.i386-win32 that

Re: [Lazarus] Tools broken (Win32)

2012-02-26 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: On Sun, 26 Feb 2012 18:43:05 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Currently the Code Explorer doesn't show anything for controls.pp. Navigation in this unit also is impossible, due to an parser error: D:\git2\lazarus\lcl\controls.pp(28,20) Error:

Re: [Lazarus] fcl-stl / thashset question

2012-02-26 Thread Hans-Peter Diettrich
John Repucci schrieb: I'm attempting to use thashset from the fcl-stl unit. It appears that fcl-stl is not compiled with the fpc that comes with Lazarus-0.9.31-35589-fpc-2.6.1-20120225-win32. While fcl-stl is in the source, it is not found in the units directory tree. (this is also true of

Re: [Lazarus] Can't compile trunk with fpc 2.4.5 under ubuntu

2012-02-26 Thread Martin Schreiber
On Sunday, 26. February 2012 19.38:39 Marco van de Voort wrote: How does the memory release work? With tbookmarkstr it was done automatically by the compiler. TDataset.freerecord. That Delphi compatible though in current delphi's that is probably empty, since tbookmark is tbytes there.

Re: [Lazarus] Why the Java became so strong?

2012-02-26 Thread Felipe Monteiro de Carvalho
On Sun, Feb 26, 2012 at 2:17 PM, Marc Santhoff m.santh...@web.de wrote: And something more: I can hardly close my mouth reading that lazarus and fpc are generating java byte code and are having an android widget set. I'll try using that as soon as possible. =) Just one small correction: The