Re: [Lazarus] Grouping radio buttons

2012-03-21 Thread Jürgen Hestermann
Salvatore Coppola schrieb: Put them in varius GroupBoxes so you can use the groupbox caption to logically(visual) differenziate each group of radiobuttons As already discussed, this also means to abandon individual placing of the buttons. I have now used one TRadioGroup and TRadioButton

Re: [Lazarus] SVN update conflicts

2012-03-21 Thread Mattias Gaertner
On Wed, 21 Mar 2012 00:52:56 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Mattias Gaertner schrieb: Thanks, that helped. Will I have to do the same in the future, before every update, or was it a glitch? Something changed your makefiles. I don't know what. Hmm, very

Re: [Lazarus] lazbuild build IDE profiles

2012-03-21 Thread Lukasz Sokol
On 21/03/2012 03:40, waldo kitty wrote: On 3/20/2012 22:31, waldo kitty wrote: i have 590 hits on the term interfaces in my log... that's all hits... multiples per line are counted individually... i know it is too big to attach... so now what?? :( and interfac, an 8 character fallback(??)

[Lazarus] Memory corruption investigation

2012-03-21 Thread Felipe Monteiro de Carvalho
Hello, I thought that maybe someone might have an idea about how to investigate an issue of memory corruption / freeing unallocated area: Basically I would like to understand how I can read the info from heap-trace. I have this: :[TCDWidgetSet.CreatePenIndirect] Style: 0, Color: D300

Re: [Lazarus] Memory corruption investigation

2012-03-21 Thread Felipe Monteiro de Carvalho
Aha, I think it has nothing to do with the Pen ... I hate when various DebugLn calls get out of sync and override one another. Still open to suggestions of how to debug this =) The error is a crash freeing TLazIntfImage when it frees the data. -- Felipe Monteiro de Carvalho --

[Lazarus] Size of binaries etc.

2012-03-21 Thread Mark Morgan Lloyd
Before anything else: I've read and digested the wiki page on binary size, and the related FAQ entry. I'm knocking together a couple of programs in Lazarus to do jobs relating to IBM mainframes, partly because the existing tools run only on Windows, and partly to showcase Lazarus's

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Felipe Monteiro de Carvalho
The initial size of Lazarus applications is 1,5MB unless smartlinking fails or is off, then it will be 3MB. Which operating system and architecture are you using? Which Lazarus/fpc versions? Did you turn smartlinking on? -XX Should this have extra options to force everything possible in the LCL

Re: [Lazarus] SVN update conflicts

2012-03-21 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: What's the reason for versioning e.g. Makefile.compiled? The Makefile.compiled is used by make to create the pkgname.compiled files. This way the IDE knows how a package was compiled and knows if it needs to recompile the package. Since everything must be compiled on

[Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Felipe Monteiro de Carvalho
Hello, We have a new mailling list to discuss the new CustomDrawn widgetset from Lazarus: http://lists.lazarus.freepascal.org/mailman/listinfo/customdrawn Remembering also that we have a forum section for this widgetset here: http://www.lazarus.freepascal.org/index.php/board,51.0.html thanks,

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Martin
On 21/03/2012 10:42, Mark Morgan Lloyd wrote: A program built using (some version of) Delphi comes to about 317Kb, but even with a manual strip the best I can do with Lazarus/FPC is pushing 3Mb. Now for domestic consumption I can live with that, but I don't think it looks very good if I

Re: [Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Sven Barth
Am 21.03.2012 12:20, schrieb Felipe Monteiro de Carvalho: Hello, We have a new mailling list to discuss the new CustomDrawn widgetset from Lazarus: http://lists.lazarus.freepascal.org/mailman/listinfo/customdrawn And another mailing list to subscribe to... *sigh* Regards, Sven --

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: The initial size of Lazarus applications is 1,5MB unless smartlinking fails or is off, then it will be 3MB. Which operating system and architecture are you using? Which Lazarus/fpc versions? Debian Linux on x86. Lazarus 0.9.30.4 and FPC 2.6.0 (both built from

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Mark Morgan Lloyd
Martin wrote: On 21/03/2012 10:42, Mark Morgan Lloyd wrote: A program built using (some version of) Delphi comes to about 317Kb, but even with a manual strip the best I can do with Lazarus/FPC is pushing 3Mb. Now for domestic consumption I can live with that, but I don't think it looks very

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Felipe Monteiro de Carvalho
I did some tests here and I guess this is simply the normal size of an app if you use ComCtrls. 1,5MB was for a minimal app with a form and some buttons. ComCtrls alone adds 1MB You can check this in the menu Project-Show used ppu files (might be 0.9.31+ only). Still I find it a quite small size

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: I did some tests here and I guess this is simply the normal size of an app if you use ComCtrls. 1,5MB was for a minimal app with a form and some buttons. ComCtrls alone adds 1MB You can check this in the menu Project-Show used ppu files (might be 0.9.31+ only).

[Lazarus] Emacs KeyBindings

2012-03-21 Thread aditya siram
Hi all, Is it possible to have Emacs like keybindings for source code navigation? For instance I don't see a option in the key mappings menu for Move Char Left or Move Char Right which I'd like to bind to Ctrl-F and Ctrl-B respectively. -deech -- ___

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Martin
On 21/03/2012 14:07, Paul Ishenin wrote: 21.03.12 20:06, Martin wrote: Compiling an empty form, smartlink, withdout heaptrc, and stripped (use strip.exe) should come to 1.9 Mb on Lazarus trunk. As I remember that was about 1.6 Mb but with win32 widgetset. Gtk2 widgetset need much work to

Re: [Lazarus] Emacs KeyBindings

2012-03-21 Thread Martin
On 21/03/2012 14:24, aditya siram wrote: Hi all, Is it possible to have Emacs like keybindings for source code navigation? For instance I don't see a option in the key mappings menu for Move Char Left or Move Char Right which I'd like to bind to Ctrl-F and Ctrl-B respectively. in 0.9.31 they

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Sven Barth
Am 21.03.2012 14:44, schrieb Mark Morgan Lloyd: Still I find it a quite small size for our days. If you were using Gtk2 directly then your Windows build would have 150MB or something like that =) About Delphi 7, remember that it is a single-platform toolkit which just wraps the Windows API for

Re: [Lazarus] [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Martin
I cced to lazarus. We should move the discussion On 21/03/2012 14:54, Marcos Douglas wrote: Oh my... =) There are many differences, many options to choice. Using a simple vision, I think the IDE should be use the last GDB that works fine in the major cases. What GDB version represents that?

Re: [Lazarus] [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Marcos Douglas
On Wed, Mar 21, 2012 at 12:01 PM, Martin laza...@mfriebe.de wrote: I cced to lazarus. We should move the discussion On 21/03/2012 14:54, Marcos Douglas wrote: Oh my... =) There are many differences, many options to choice. Using a simple vision, I think the IDE should be use the last GDB

Re: [Lazarus] SVN update conflicts

2012-03-21 Thread Mattias Gaertner
On Wed, 21 Mar 2012 11:59:15 +0100 Hans-Peter Diettrich drdiettri...@aol.com wrote: Mattias Gaertner schrieb: What's the reason for versioning e.g. Makefile.compiled? The Makefile.compiled is used by make to create the pkgname.compiled files. This way the IDE knows how a package was

Re: [Lazarus] [fpc-pascal] SQLdb: problem using GDB, but do not have memleak

2012-03-21 Thread Martin
On 21/03/2012 15:11, Marcos Douglas wrote: On Wed, Mar 21, 2012 at 12:01 PM, Martinlaza...@mfriebe.de wrote: So far I have no plans to update to 7.4 until either: - I find some existing problem solved in it - I start supporting new features However, my tests so far, have not shown any

Re: [Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Michael Schnell
On 03/21/2012 01:22 PM, Sven Barth wrote: And another mailing list to subscribe to... *sigh* +1. Not a good idea IMHO. -Michael -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Mark Morgan Lloyd
Sven Barth wrote: Am 21.03.2012 14:44, schrieb Mark Morgan Lloyd: But the bottom line is that the target audience is IBM mainframe hackers, used to handcrafting assembler and punching EBCDIC with their teeth. I don't want them to say Binaries bigger than 1Mb? NBG. Maybe it would be better

Re: [Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: Hello, We have a new mailling list to discuss the new CustomDrawn widgetset Is this distinct from fpgui, or are the two related? -- Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Sven Barth
Am 21.03.2012 17:25, schrieb Mark Morgan Lloyd: Sven Barth wrote: Am 21.03.2012 14:44, schrieb Mark Morgan Lloyd: But the bottom line is that the target audience is IBM mainframe hackers, used to handcrafting assembler and punching EBCDIC with their teeth. I don't want them to say Binaries

Re: [Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Mark Morgan Lloyd
Sven Barth wrote: Am 21.03.2012 17:30, schrieb Mark Morgan Lloyd: Felipe Monteiro de Carvalho wrote: Hello, We have a new mailling list to discuss the new CustomDrawn widgetset Is this distinct from fpgui, or are the two related? This should answer your question:

Re: [Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Felipe Monteiro de Carvalho
On Wed, Mar 21, 2012 at 5:30 PM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Is this distinct from fpgui, or are the two related? I wrote 99% of the code from zero here, but I did copy (of course with many modifications) the X11 backend from sourceforge.net/projects/fpgfx/ which is

Re: [Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Mark Morgan Lloyd
Felipe Monteiro de Carvalho wrote: On Wed, Mar 21, 2012 at 5:30 PM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Is this distinct from fpgui, or are the two related? I wrote 99% of the code from zero here, but I did copy (of course with many modifications) the X11 backend from

Re: [Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Marcos Douglas
On Wed, Mar 21, 2012 at 2:19 PM, Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: On Wed, Mar 21, 2012 at 5:30 PM, Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: Is this distinct from fpgui, or are the two related? I wrote 99% of the code from zero here, but I

Re: [Lazarus] Grouping radio buttons

2012-03-21 Thread Salvatore Coppola
Off topic (maybe) I often use for the matter TComboBox with Style:=csDropDownList == only one choise per list (drastic reduction of space consumption) Salvatore 2012/3/21 Jürgen Hestermann juergen.hesterm...@gmx.de: Salvatore Coppola schrieb: Put them in varius GroupBoxes so you can use the

Re: [Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Felipe Monteiro de Carvalho
On Wed, Mar 21, 2012 at 7:15 PM, Marcos Douglas m...@delfire.net wrote: I not know CD and fpGUI as I know LCL/VCL, but I have one question: If fpGUI has the same idea, i.e., custom draw widgets that have the same appearance in any OS, why do not use it? Maybe a fork, if you do not have the

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Marco van de Voort
On Wed, Mar 21, 2012 at 10:42:23AM +, Mark Morgan Lloyd wrote: Before anything else: I've read and digested the wiki page on binary size, and the related FAQ entry. Good. I'm knocking together a couple of programs in Lazarus to do jobs relating to IBM mainframes, partly because the

Re: [Lazarus] New LCL-CustomDrawn mailling list

2012-03-21 Thread Sven Barth
On 21.03.2012 18:19, Felipe Monteiro de Carvalho wrote: Then MS killed WinCE which ment that I wasted years developing LCL-WinCE and saw it killed without a blink While I agree with you about the suprising end of Windows Mobile I don't think that your time was that much wasted. Without your

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Mark Morgan Lloyd
Mark Morgan Lloyd wrote: Felipe Monteiro de Carvalho wrote: I did some tests here and I guess this is simply the normal size of an app if you use ComCtrls. 1,5MB was for a minimal app with a form and some buttons. ComCtrls alone adds 1MB You can check this in the menu Project-Show used ppu

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Martin
On 21/03/2012 21:02, Mark Morgan Lloyd wrote: Brought trunk up to date, compiled with 2.6.0. FPC itself is compiled with -O- -gl, ld is version 2.20.1. On Linux x86 (Debian Squeeze) with gtk2, freshly-created minimal project with full optimisation, no debug, optimise for minimum size and

Re: [Lazarus] lazbuild build IDE profiles

2012-03-21 Thread Mattias Gaertner
On Tue, 20 Mar 2012 22:13:04 -0400 waldo kitty wkitt...@windstream.net wrote: On 3/20/2012 21:41, waldo kitty wrote: On 3/20/2012 18:26, Mattias Gaertner wrote: Maybe some installed package. Compile with -vut to find out. that would be added to the --build-ide= parameter? that's what

Re: [Lazarus] Memory corruption investigation

2012-03-21 Thread Mattias Gaertner
On Wed, 21 Mar 2012 11:33:22 +0100 Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com wrote: Hello, I thought that maybe someone might have an idea about how to investigate an issue of memory corruption / freeing unallocated area: Have you tried the keepreleased? Mattias --

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread Hans-Peter Diettrich
Mark Morgan Lloyd schrieb: But the bottom line is that the target audience is IBM mainframe hackers, used to handcrafting assembler and punching EBCDIC with their teeth. I don't want them to say Binaries bigger than 1Mb? NBG. I wonder how mainframe applications can make use of a GUI at all?

Re: [Lazarus] SVN update conflicts

2012-03-21 Thread Hans-Peter Diettrich
Mattias Gaertner schrieb: The Makefile.compiled must match the last compilation on the user machine. It doesn't make sense to use one from a compilation on a different machine. Using something from another machine is exactly what a binary distribution is about. How do you suppose that

Re: [Lazarus] lazbuild build IDE profiles

2012-03-21 Thread waldo kitty
On 3/21/2012 06:28, Lukasz Sokol wrote: On 21/03/2012 03:40, waldo kitty wrote: On 3/20/2012 22:31, waldo kitty wrote: i have 590 hits on the term interfaces in my log... that's all hits... multiples per line are counted individually... i know it is too big to attach... so now what?? :( and

Re: [Lazarus] lazbuild build IDE profiles

2012-03-21 Thread waldo kitty
On 3/21/2012 20:12, Mattias Gaertner wrote: On Tue, 20 Mar 2012 22:13:04 -0400 waldo kittywkitt...@windstream.net wrote: here is an example of what i was talking about before with things being added and one of them missing a space... the last line below... it shows -dDEBUG and -dVERBOSE twice

Re: [Lazarus] Size of binaries etc.

2012-03-21 Thread waldo kitty
On 3/21/2012 21:38, Hans-Peter Diettrich wrote: Mark Morgan Lloyd schrieb: But the bottom line is that the target audience is IBM mainframe hackers, used to handcrafting assembler and punching EBCDIC with their teeth. I don't want them to say Binaries bigger than 1Mb? NBG. I wonder how