Re: [Lazarus] Refactor Menu

2011-03-05 Thread Martin
Having a search menu: view search results should go in there, and not in the view menu... - maybe jump history too, not surre? procedure list imho is more a view, than a search think. uper/lowercase slection tabs to spaces. that applies to any text, not only source, so it should go to the

Re: [Lazarus] Refactor Menu

2011-03-05 Thread Martin
in run (like add breakpoint); and others in view/debug window (which people in the past have already failed to find) Also Enviroment is almost empty. Maybe it could be merged into tools (lot's of apps that I know, have the option entry either in tools or in edit menu) Martin

Re: [Lazarus] More to discuss about Main-Menu

2011-03-05 Thread Martin
On 05/03/2011 13:02, Juha Manninen wrote: Samuel Herzog kirjoitti lauantai 05 maaliskuu 2011 11:43:07:Thanks for cleaning up these things. A) I think the menu-item Project is more important than the menu-item File. So it should be the first item. Or put these two into one menu-item.

Re: [Lazarus] Refactor Menu

2011-03-05 Thread Martin
On 05/03/2011 11:19, Juha Manninen wrote: Hi I have refactored Lazarus main menu by adding a Refactor menu. :-) I also added a Source menu. Eclipse and some other IDEs have done the same thing. Depending on packages installed, there is in view: ide internals in Tools: explore ide menu

Re: [Lazarus] Reading result of a Firebird stored-procedure

2011-03-07 Thread Martin
-computer ID in the low byte(s) = unique ID. And at moderate size and cost. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] More menu changes

2011-03-09 Thread Martin
-word in *all* options. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] More to discuss about Main-Menu

2011-03-10 Thread Martin
On 10/03/2011 19:53, William Oliveira Ferreira wrote: I use only final releases, that's available for common users... a reasonable decision... for working with it. However you can always install another version in parallel (just ensure you start it with --primary-config-path=C:\someplace to

[Lazarus] the new menu source

2011-03-11 Thread Martin
nothing, that connects them with source Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] the new menu source

2011-03-11 Thread Martin
On 12/03/2011 00:21, Juha Manninen wrote: Martin kirjoitti perjantai 11 maaliskuu 2011 23:24:31: [...] Items that definitely do not belong there: - insert from char map Yes, first I thought that all the Insert ... items should be in one place but actually they could be split. I will look

Re: [Lazarus] TExtendedNotebook without drop arrows on GTK

2011-03-14 Thread Martin
On 14/03/2011 19:52, dib...@wp.pl wrote: Hi, Is lazarus source editor using TExtendedNotebook from LazControls palette? Because when I change tab position by mouse drag, source editor component have arrows which shows new position, but TExtendedNotebook doesn't have (only drag cursor is

Re: [Lazarus] TExtendedNotebook without drop arrows on GTK

2011-03-14 Thread Martin
On 14/03/2011 21:43, dib...@wp.pl wrote: W dniu 14.03.2011 22:06, Martin pisze: On 14/03/2011 19:52, dib...@wp.pl wrote: Hi, Is lazarus source editor using TExtendedNotebook from LazControls palette? Because when I change tab position by mouse drag, source editor component have arrows which

Re: [Lazarus] the new menu source

2011-03-16 Thread Martin
On 16/03/2011 10:56, Juha Manninen wrote: Martin kirjoitti lauantai 12 maaliskuu 2011 03:06:48: I'd still say indent should go back, but not a big issue. I moved items in main menu some more. I also added Source sub-menu to the editor's popup menu and reorganized the items as in main menu. IMO

Re: [Lazarus] Synedit and SynWeb port

2011-03-17 Thread Martin
would also like to know if it's exist a great difference between Lazarus Synedit and the version 2.0.5 The difference are huge. Lazarus version is based on Synedit 1.1 or 1.2, and was refactored later Btw, what do you hope of a new port? Martin

Re: [Lazarus] Synedit and SynWeb port

2011-03-17 Thread Martin
On 17/03/2011 22:31, Reinier Napoles Martinez wrote: Martin write Btw, what do you hope of a new port? I'm not completely sure if I answer your question. I want port all the components of Synedit to lazarus to be 100% functional. Later I want port SynEditStudio components, who allow

Re: [Lazarus] Commenting. [folding]

2011-03-25 Thread Martin
(pascal nodes, not IFDEF) shift-alt -2 = fold all level 2 nodes (nested nodes) shift alt 0 = unfold all also you can write the closing } first, but it is very easy to forget Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org

Re: [Lazarus] Lazarus Color scheme

2011-03-28 Thread Martin
... Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Martin
in the enviroments-options.xml - if the exe path changes, lazarus gives a warning (can be switched off) If a user runs 2 installations he will be warned Same if the user moves the installation, which imho is ok Martin -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Martin
... Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] Lazarus config woes

2011-03-30 Thread Martin
. Why only chec the version? why not check, if the lazarus.exe is in the same folder, as it was the on the previous run? an lazarus.exe in a new/different folder is very likely in need of it's own config. --- btw, I just saw that conf dialog: very cool Martin

Re: [Lazarus] Source - Toggle Comment

2011-03-30 Thread Martin
On 30/03/2011 13:56, Juha (gmail) wrote: Juha (gmail) kirjoitti keskiviikko, 30. maaliskuuta 2011 15:46:36: I changed the shortcut for Toggle Comment into Ctrl+T. Sorry, I meant Ctrl+Shift+T. Isn't that used by insert todo ? -- ___ Lazarus mailing

Re: [Lazarus] For what {$IFDEF SYN_LAZARUS} in SynEdit?

2011-03-30 Thread Martin
. But they do no longer work. Only the SYN_LAZARUS version compiles, without it it will not even compile. I started remove them a year or 2 back, but never finished Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http

Re: [Lazarus] For what {$IFDEF SYN_LAZARUS} in SynEdit?

2011-03-30 Thread Martin
On 31/03/2011 00:31, Zaher Dirkey wrote: On Thu, Mar 31, 2011 at 12:21 AM, Martin laza...@mfriebe.de mailto:laza...@mfriebe.de wrote: On 30/03/2011 22:47, Zaher Dirkey wrote: I found many of {$IFDEF SYN_LAZARUS} in SynEdit, my ask is SynEdit used outside Lazarus (like

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Martin
On 31/03/2011 12:15, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: No unix tool does this. Not even when it is freshly (re)built from sources. And neither should Lazarus. I claimed no more, no less. I never said that Lazarus should *break* that convention. If the convention is to

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Martin
On 31/03/2011 13:09, Mattias Gaertner wrote: Martin laza...@mfriebe.de hat am 31. März 2011 um 13:22 geschrieben: [...] This whole discussion seems to mix 2 issues into one: - problems caused by using the wrong config due to none awareness (imho the main issue) +1 - convenience of using

[Lazarus] another laz-config question

2011-03-31 Thread Martin
If there is no config yet, how does lazarus find the installed fpc? I have several version (under c:\fpc), and the IDE finds each of them (runs compilertest). How does it know? Martin -- ___ Lazarus mailing list Lazarus

Re: [Lazarus] another laz-config question

2011-03-31 Thread Martin
On 31/03/2011 14:05, Mattias Gaertner wrote: Martin laza...@mfriebe.de hat am 31. März 2011 um 14:46 geschrieben: If there is no config yet, how does lazarus find the installed fpc? I have several version (under c:\fpc), and the IDE finds each of them (runs compilertest). What

Re: [Lazarus] Detecting desktop area size

2011-03-31 Thread Martin
On 31/03/2011 15:35, Sven Barth wrote: Am 31.03.2011 16:15, schrieb Bart: On 3/31/11, Paul Ishenini...@kmiac.ru wrote: TScreen.Monitors[i].WorkareaRect This seems to work for Win and Linux/GTK2. This raises yet another question though. How do I know on which monitor my form is? (I only

Re: [Lazarus] Lazarus config woes

2011-03-31 Thread Martin
On 31/03/2011 21:09, Hans-Peter Diettrich wrote: Martin schrieb: This whole discussion seems to mix 2 issues into one: - problems caused by using the wrong config due to none awareness (imho the main issue) - convenience of using multiply configs. The first problem disappears as soon

Re: [Lazarus] Lazarus config woes

2011-04-01 Thread Martin
On 01/04/2011 05:23, Hans-Peter Diettrich wrote: Martin schrieb: Searching for config files in the exe dir (even if done) doesn't solve the first issue, as there may not be any config files in that directory to start with. Then the IDE creates defaults. No. This is: - if a search

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Martin
On 02/04/2011 00:45, Hans-Peter Diettrich wrote: Martin schrieb: If a global config is found, but is invalid/incompatible, a local config should be created. sounds good at first, but is actually worse. Because this behaviour is unpredictable from the end users view. Unpredictable why

Re: [Lazarus] Lazarus config woes

2011-04-02 Thread Martin
On 02/04/2011 04:33, Hans-Peter Diettrich wrote: Martin schrieb: ...let me explain a bit more what I tried to explain before (and had in my last mail too) It would only help, if you totally abandon all global config. don't even look for a global anymore, only check the exe folder, nowhere

Re: [Lazarus] Major IDE editor problems

2011-04-02 Thread Martin
On 02/04/2011 11:52, dhkblas...@zeelandnet.nl wrote: I have two major problems with the IDE editor. As they are rather big I cannot believe they were not noted before, so before I will create a bugreport I would like to ask here first. 1. Opening a C file will result in an AV. The file is

Re: [Lazarus] Commenting.

2011-04-02 Thread Martin
finished the comment, all folds after the *) will be normal again, and be preserved. Oh, and if you go for it. Remember it's a snapshot, it's a new feature, it had some testing here, but you should save your data regulary. Martin -- ___ Lazarus mailing

Re: [Lazarus] Commenting.

2011-04-03 Thread Martin
, but you should save your data regulary. Martin Hi Martin, Thank you! I updated svn to Lazarus 0.9.30 r30142M FPC 2.4.2 i386-win32-win32/win64 but trying with both { OR (* folded code after first open parenthesis unfolds when I start the comment :( it is *not* in 0.9.30 It is only in 0.9.31 http

Re: [Lazarus] SynEdit

2011-04-04 Thread Martin
to that. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SynEdit

2011-04-04 Thread Martin
On 04/04/2011 16:44, patspiper wrote: On 04/04/2011 06:30 PM, Martin wrote: On 04/04/2011 16:20, patspiper wrote: Hi, 1- How can TSynCompletion's ItemList be filled depending on what is before the dot(.)? I know the Lazarus IDE does it, but I couldn't figure it out. TEdit.| If Ctrl+Space

Re: [Lazarus] SynEdit

2011-04-04 Thread Martin
On 04/04/2011 17:23, patspiper wrote: On 04/04/2011 06:47 PM, Martin wrote: but what about using LogicalCaretXY, then getting the line, and reading it? possible subtracting the length of CurrentString. I am almost there (by giving it another shot at the ide sources): Line:=SynEdit1

Re: [Lazarus] SynEdit

2011-04-04 Thread Martin
On 04/04/2011 19:59, Martin wrote: On 04/04/2011 17:23, patspiper wrote: On 04/04/2011 06:47 PM, Martin wrote: but what about using LogicalCaretXY, then getting the line, and reading it? possible subtracting the length of CurrentString. I am almost there (by giving it another shot

[Lazarus] All Win 64bit users please (GDB issues)

2011-04-06 Thread Martin
, if not supplied by Lazarus?) - Which version/revision of FPC ? If no one has any good combination, then are there any volunteers, for going through recent fpc trunk / 2.4.3 revisions, and testing them with gdb under Lazarus? Thanks for any feedback, and/or contribution Martin

Re: [Lazarus] How to minimize/restore lazarus (Ubuntu)?

2011-04-12 Thread Martin
On 12/04/2011 21:34, Bo Berglund wrote: Tools-Options-Environment-Window- [x] Show single button in TaskBar THere are no Options under Tools... I have found this: Environment-Options-Environment-Window Here I have the following checkboxes: []Minimize all on minimize main (checked and

Re: [Lazarus] CodeTools facility for documenting source code?

2011-04-19 Thread Martin
was not sensitive to changes in whitespace only. It would not show you a diff, of what was changed, but that can be found via svn and co (Maybe another field, indicating which revision a file had, at the time of documenting Martin -- ___ Lazarus

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread Martin
in gdb itself, that causes certain code to rash. I have no idea, but again, it can't be fixed in Lazarus Best regards Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-19 Thread Martin
On 19/04/2011 18:51, Kjow wrote: Thank you for quick reply, I had no problems until last Friday (15/04/11) and now, also deactivating my Avira Antivir the problem persist. As printer I have an Epson PX720WD, but that never caused errors to gdb until today. Damn... :( Open the Menu / View /

Re: [Lazarus] SIGSEGV with gdb.exe

2011-04-20 Thread Martin
not going to reinstall bitdefender to test that Maybe one day on my laptop, but not to soon. Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] For what {$IFDEF SYN_LAZARUS} in SynEdit?

2011-04-22 Thread Martin
http://bugs.freepascal.org/view.php?id=19215 Please check this lines in SynTextDrawer procedure TheFontStock.SetStyle(Value: TFontStyles); // ASSERT(idx = High(TheStockFontPatterns)); //Check this line SY Zaher Dirkey I will look at it in due course. In case... your clean up may be

Re: [Lazarus] TTreeView.OnItemClicked

2011-04-24 Thread Martin
On 24/04/2011 13:09, Juha (gmail) wrote: How can you guys add notes to a resolved isue. For me it says: The action cannot be performed because issue '19059' is read-only Use update for the issue. It allows you to add a note I had the same question once, for a long time. --

Re: [Lazarus] Access violation in debugger.pp

2011-04-27 Thread Martin
On 27/04/2011 13:23, Bernd wrote: Is there currently some unfinished work going on in trunk in debugger.pp? I get the following: Ah, well that would be a bug... I never used lazarus without debugger, so I never realized I'll look into it. Martin

Re: [Lazarus] Access violation in debugger.pp

2011-04-27 Thread Martin
On 27/04/2011 13:34, Martin wrote: On 27/04/2011 13:23, Bernd wrote: Is there currently some unfinished work going on in trunk in debugger.pp? I get the following: Ah, well that would be a bug... Try rev 30489 please -- ___ Lazarus mailing list

Re: [Lazarus] Console Error

2011-04-29 Thread Martin
Does a console window open, if you run the app? Check in the project options linking: The option -WG should *not* be checked. If this is the problem (if it is checked), then remains the question, why it is so. Since it shouldn't be. Martin

Re: [Lazarus] Two source code editors (bug?)

2011-04-30 Thread Martin
On 01/05/2011 01:43, Leonardo M. Ramé wrote: Well, I figured out how to move the files from the 2nd editor window to the main one. Now, the 2nd editor window is empty...but every time I open my project, that window is opened also. How can I eliminate that window from my project?. If you

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-01 Thread Martin
On 01/05/2011 09:43, Bernd wrote: 2011/5/1 Hans-Peter Diettrichdrdiettri...@aol.com: What's the problem with running in the debugger? When running without debugger it will run the program in an xterm and I can see my debugging output on stdout in realtime. When running with the debugger

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-01 Thread Martin
On 01/05/2011 12:47, Sven Barth wrote: On 01.05.2011 12:44, Bernd wrote: 2011/5/1 Berndprof7...@googlemail.com: * there is no option to clear it, with every new run it will scroll to the top but append the new text at the bottom * there is no scrollbar * it should use a fixed width font (some

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-01 Thread Martin
On 01/05/2011 11:40, Bernd wrote: 2011/5/1 Martinlaza...@mfriebe.de: SVN has a console output window (linux only) that displays the output of your app I just tried it. It almost works but it still has some flaws: * there is no option to clear it, with every new run it will scroll to the top

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-02 Thread Martin
On 02/05/2011 23:19, Flávio Etrusco wrote: On Wed, Apr 27, 2011 at 4:33 PM, silvioprogsilviop...@gmail.com wrote: Hi, The Lazarus IDE has the option Run Without Debbuging (Shift+Ctrl+F9)? Delphi(7) has this option, see: http://imagebin.org/150467 Thx, -- Silvio Clécio This is also in my

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-03 Thread Martin
On 03/05/2011 00:43, Flávio Etrusco wrote: On Mon, May 2, 2011 at 8:14 PM, Martinlaza...@mfriebe.de wrote: On 02/05/2011 23:19, Flávio Etrusco wrote: On Wed, Apr 27, 2011 at 4:33 PM, silvioprogsilviop...@gmail.comwrote: Hi, The Lazarus IDE has the option Run Without Debbuging

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-03 Thread Martin
On 03/05/2011 10:18, Paul Ishenin wrote: 03.05.2011 17:05, Martin wrote: just noticed. breakpoint conditions are broken at the moment... Do you mean they ever worked before? yes, so long as if you put in a gdb-ish expression that is the IDE does not (or not correctly) translate

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-03 Thread Martin
On 03/05/2011 10:05, Martin wrote: On 03/05/2011 00:43, Flávio Etrusco wrote: Thanks. I knew this, however. I happen to have some already disabled breakpoints too that I want to keep that way later. I guess you already tried debugging the AutoAlign code? ;-) Nope, but I did debug lot's

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-03 Thread Martin
On 03/05/2011 10:18, Paul Ishenin wrote: 03.05.2011 17:05, Martin wrote: just noticed. breakpoint conditions are broken at the moment... Do you mean they ever worked before? What does not yet work, are breakpoint groups, and enbling/disabling breakpoints, depending on other breakpoints

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-05 Thread Martin
On 04/05/2011 12:07, silvioprog wrote: Sorry for my long time in off. So, Run Without Debbuging will be implemented in Lazarus? If someone sends a patch... Otherwise I would currently say it's on the far end of the list of things that are to be done --

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-05 Thread Martin
On 05/05/2011 18:15, Flávio Etrusco wrote: I was in the in middle of reply saying that I've just written a patch :-) The biggest issue is I just implemented the command directly in main.pas using a TProcess, don't whther it's the right approach. Second biggest issue is nor git-gui nor smartgit

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-05 Thread Martin
On 05/05/2011 18:48, Marc Weustink wrote: Flávio Etrusco wrote: Does no debugger behave this way? Actually I don't think Delphi behaved like that, i guess it simply launched the application (maybe it deserves a new name if we go this route ;-) We're not creating delphi ! I don't think we

Re: [Lazarus] Run Without Debbuging Shift+Ctrl+F9

2011-05-06 Thread Martin
On 05/05/2011 22:43, Flávio Etrusco wrote: Does no debugger behave this way? Actually I don't think Delphi behaved like that, i guess it simply launched the application (maybe it deserves a new name if we go this route ;-) We're not creating delphi ! I don't think we need a 2nd way of running

[Lazarus] Issue 0019296, Launch many instances, and forget about them [Re: Run Without Debbuging Shift+Ctrl+F9]

2011-05-10 Thread Martin
Regards Martin [1] should that not currently behave as described, then it may have to be fixed -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

[Lazarus] copy declaration, with implementation [Re: Tweaking 'code completion' for event handlers]

2011-05-13 Thread Martin
On 13/05/2011 10:03, Mattias Gaertner wrote: Graeme Geldenhuys graemeg.li...@gmail.com hat am 13. Mai 2011 um 09:48 geschrieben: http://bugs.freepascal.org/view.php?id=13994 No solution has been implemented in Lazarus yet. As a work-around, is there any way to tell Code Completion

Re: [Lazarus] copy declaration, with implementation [Re: Tweaking 'code completion' for event handlers]

2011-05-13 Thread Martin
On 13/05/2011 13:31, Mattias Gaertner wrote: Michael Van Canneyt mich...@freepascal.org hat am 13. Mai 2011 um 12:55 geschrieben: On Fri, 13 May 2011, Martin wrote: On 13/05/2011 10:03, Mattias Gaertner wrote: Graeme Geldenhuys graemeg.li...@gmail.com hat am 13. Mai 2011 um 09

Re: [Lazarus] copy declaration, with implementation [Re: Tweaking 'code completion' for event handlers]

2011-05-13 Thread Martin
On 13/05/2011 14:27, Mattias Gaertner wrote: Martin laza...@mfriebe.de hat am 13. Mai 2011 um 14:44 geschrieben: [...] IMHO it should copy (or cut) to clipboard = but as indicated via different shortcut/command. Yes. Remove method/procedure. Or maybe better two functions: Copy- and Cut

Re: [Lazarus] copy declaration, with implementation [Re: Tweaking 'code completion' for event handlers]

2011-05-13 Thread Martin
On 13/05/2011 14:55, Mattias Gaertner wrote: Martin laza...@mfriebe.de hat am 13. Mai 2011 um 15:36 geschrieben: [...] Maybe even synedit could be told to create this format = it has already some nice code to create clipboard stuff. Can you explain this? for example in line 1509

Re: [Lazarus] MAC OS X 10.6 debugging troubles

2011-05-20 Thread Martin
On 20/05/2011 14:21, Roland Turcan wrote: Hello all, Will it help me to install XCode 4 instead of already installed 3.12? Did somebody try to exchange it? I want to get rid of troubles with debugger what makes development harder on 10.6. Please see

[Lazarus] Mac fixes build is still from april [Re: MAC OS X 10.6 debugging troubles]

2011-05-20 Thread Martin
On 20/05/2011 14:46, Martin wrote: Note that Lazarus fixes, and trunk contain important improvements for the Mac (if 64 bit), try using at least fixes from snapshot page. http://www.hu.freepascal.org/lazarus/ just noted the fixes (mac intel) branch is currently not up to date. you may need

Re: [Lazarus] IDE Options implementation question

2011-05-21 Thread Martin
On 21/05/2011 22:56, John Repucci wrote: I would like to mimic the Lazarus IDE Options window for my program. Can anyone point me to an example with a similar implementation? What object is used on the left side and how is it populated? Is there a way I could open the editor or the IDE Options

Re: [Lazarus] Why does Lazarus insist on rebuilding the LCL?

2011-05-22 Thread Martin
On 22/05/2011 15:59, Hans-Peter Diettrich wrote: Bart schrieb: Every time I update Lazarus, I rebuild it from commandline: make clean all OPT='-gl' Then when I open the start Lazarus and want to build the last project I was working on, it immediately rebuilds the enitre LCL (I thought I had

Re: [Lazarus] Why does Lazarus insist on rebuilding the LCL?

2011-05-22 Thread Martin
On 22/05/2011 21:50, Hans-Peter Diettrich wrote: Martin schrieb: Maybe packages with $(IDEBuildOptions) (options, tab other? They are given the options from configure build Lazarus Can you be a bit more specific? Adding $(IDEBuildOptions) to Custom options seems not to work, at least Show

Re: [Lazarus] LCL not in build profiles ?

2011-05-23 Thread Martin
On 23/05/2011 15:05, michael.vancann...@wisa.be wrote: I'd like to have a build profile where I tell the IDE to recompile the FCL/LCLBase/LCL packages as part of the build process. As it is now, I must manually recompile clean FCL/LCLBase/LCL before I can rebuild lazarus. (after e.g. the FCL

Re: [Lazarus] Class operators

2011-05-23 Thread Martin
On 24/05/2011 00:17, Jose Luis wrote: On Tue, 2011-05-24 at 00:30 +0200, Mattias Gaertner wrote: On Mon, 23 May 2011 18:06:31 -0400 Jose Luisjlvo...@fibertel.com.py wrote: Hi all: I've tried to cast the argument 'Sender' from a call to an event procedure, but it didn't work. The event is

Re: [Lazarus] Access violation in SYSGETMEM_FIXED - memory corruption?

2011-05-26 Thread Martin
Here is what happens procedure TfrmFileAssoc.btnAddNewTypeClick(Sender: TObject); begin edtIconFileName.Text:= TExtAction(Exts.Items[0]).Icon; end; procedure TfrmFileAssoc.edtIconFileNameChange(Sender: TObject); begin TExtAction(Exts.Items[0]).Icon := GenName; //DateTimeToStr(Now); end;

Re: [Lazarus] Access violation in SYSGETMEM_FIXED - memory corruption?

2011-05-27 Thread Martin
On 27/05/2011 02:07, cobines wrote: 2011/5/26 Martinlaza...@mfriebe.de: Here is what happens ... Ah, now I see. Thanks for explaining. If I think of edtIconFileName.Text as edtIconFileName.SetText(const s); it becomes more visible that in the trigger edtIconFileNameChange I cannot

Re: [Lazarus] Several issues

2011-06-05 Thread Martin
On 05/06/2011 09:52, Hans-Peter Diettrich wrote: - The Call Stack only flashes shortly, then the list is cleared (when the next instruction is displayed in the editor). (gdb 6.8 32 bit) I have only Vista 32 bit. So if this is a win7 only issue, then i do not know about it. I am not sure

Re: [Lazarus] Several issues - Call Stack

2011-06-05 Thread Martin
On 06/06/2011 02:22, Luiz Americo Pereira Camara wrote: Rigth, but now it appears to be always empty :-( The same here Lazarus 0.9.31 r30913 FPC 2.4.2 i386-win32-win32/win64 Win 7 ? 32 bit? See my other mail for trying to collect some info on it --

Re: [Lazarus] Several issues - Call Stack

2011-06-06 Thread Martin
On 06/06/2011 08:35, Hans-Peter Diettrich wrote: Martin schrieb: When the stack window is open (and the power button enabled !), and the execution stops (breakpoint, end of step) you should see something like (it helps to have watches and other windows closed, and to turn the power off

Re: [Lazarus] Several issues - Call Stack

2011-06-06 Thread Martin
On 06/06/2011 12:43, Hans-Peter Diettrich wrote: Martin schrieb: When I open the History window and turn it off, the Call Stack works as it should. It would be nice to have the History turned off by default, as before. Where should I look for that? Unfortunately I still need to implement

[Lazarus] Rev 31118 [Re: Several issues - Call Stack]

2011-06-06 Thread Martin
On 06/06/2011 12:02, Martin wrote: On 06/06/2011 12:43, Hans-Peter Diettrich wrote: Martin schrieb: When I open the History window and turn it off, the Call Stack works as it should. It would be nice to have the History turned off by default, as before. Where should I look

[Lazarus] gdb version [Re: Several issues - Call Stack]

2011-06-06 Thread Martin
On 06/06/2011 03:21, Luiz Americo Pereira Camara wrote: Lazarus 0.9.31 r30913 FPC 2.4.2 i386-win32-win32/win64 Win 7 ? 32 bit? WindowsXP 32bit GDB from 2.4.2 fcp installer Any reason why not taking the newer GDB from Lazarus installer? (gdb 7.2) Of course you do not need to, older

Re: [Lazarus] Several issues - Call Stack

2011-06-06 Thread Martin
On 06/06/2011 18:07, Hans-Peter Diettrich wrote: Martin schrieb: IMHO, it would be best to have it fixed Perhaps in TSnapshotManager.Create, where FActive:=True seems to cause the wrong behaviour? The History Power button toggles just this property. The callstack issue is actually

Re: [Lazarus] gdb version [Re: Several issues - Call Stack]

2011-06-06 Thread Martin
On 06/06/2011 17:30, Luiz Americo Pereira Camara wrote: Of course you do not need to, older gdb are supported (or should be) In my opinion it should support at least the gdb provided by the supported compiler version. Well it does (meaning: bugs get fixed) But you may miss out on

Re: [Lazarus] Debugging problem

2011-06-08 Thread Martin
On 08/06/2011 12:54, Roland Turcan wrote: Hello all, I have FPC r17690 and Lazarus r31132 on Mac OS X 10.5.8 with all updates and I cannot debug any thread, it crashes on debugger error: The GDB command: -thread-info returned the error: ,msg=Undefined mi command: thread-info (missing

Re: [Lazarus] Debugging problem

2011-06-08 Thread Martin
On 08/06/2011 13:45, Roland Turcan wrote: Hello all, This error occurs in non-threaded code as well. What happens , if you power off the history window? Yes I know, it isn't convenient, as their is no persistent setting... but the issue needs to be fixed in the threads code, anyway... For

Re: [Lazarus] Debugging problem

2011-06-08 Thread Martin
Ok, I can reproduce. Mac GdB outputs an extra line ^error which is the problem On 08/06/2011 13:47, Martin wrote: On 08/06/2011 13:45, Roland Turcan wrote: Hello all, This error occurs in non-threaded code as well. What happens , if you power off the history window? Yes I know

Re: [Lazarus] Fitting a form around a grid

2011-06-16 Thread Martin
http://wiki.lazarus.freepascal.org/Autosize_/_Layout#AutoSize_and_Forms On 16/06/2011 13:15, David W Noon wrote: On Thu, 16 Jun 2011 10:28:40 +, Mark Morgan Lloyd wrote about [Lazarus] Fitting a form around a grid: It's obviously easy enough to fit a grid into the client space of a form

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-16 Thread Martin
On 16/06/2011 13:33, Max Vlasov wrote: Hi, I'm not sure this is a big issue, but just curious I used to two-key sequences like Ctrl-Q-F, Ctrl-K-I, Ctrl-K-U in IDE Classic, but recenly noticed that there's a little difference to Delphi in how they work. It does not respond if one still holds

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Martin
On 17/06/2011 10:04, Max Vlasov wrote: On Fri, Jun 17, 2011 at 12:50 PM, Graeme Geldenhuys graemeg.li...@gmail.com mailto:graemeg.li...@gmail.com wrote: Hell, am I the only one that uses Tab (for indentation) and Shift+Tab (for unindent)? Much less keys to type. ;-) It's

Re: [Lazarus] Two key sequences little difference (to Delphi)

2011-06-17 Thread Martin
On 17/06/2011 10:31, Sven Barth wrote: Am 17.06.2011 10:50, schrieb Graeme Geldenhuys: Hell, am I the only one that uses Tab (for indentation) and Shift+Tab (for unindent)? Much less keys to type. ;-) Seems so... I prefer Ctrl+I (indent) and Ctrl+U (unindent) ^^ No, he is not the only

Re: [Lazarus] Call abstract method in SynEdit

2011-06-23 Thread Martin
On 23/06/2011 13:32, dhkblas...@zeelandnet.nl wrote: Hi, Working on a project with SynEdit gives me a call to an abstract method in SynEdit.pp paintlines on line 3836 attr := fHighlighter.GetTokenAttribute; Any idea what could be causing this? I tried by assigning a highlighter to the

[Lazarus] OT [Re: Compile and Build menu entries, Run- or Project-menu?]

2011-06-23 Thread Martin
On 23/06/2011 15:25, Graeme Geldenhuys wrote: On 06/23/2011 03:46 PM, Juha Manninen wrote: Why would someone want to build a project without running it? Running is the ultimate goal, right? Sorry mate, I can count on my one hand how many times I have clicked Run this year. Using a base 3

Re: [Lazarus] TFindOption

2011-06-23 Thread Martin
On 23/06/2011 17:52, Bart wrote: Hi Mattias, I'm not sure about frDisableEntireScope in the real world, but I definitely see a place for frHideEntireScope. Probably not much sense: frDisableEntireScope would be required if the EntireSciop is the same as the normal search. E.g if no

Re: [Lazarus] TFindOption

2011-06-23 Thread Martin
On 23/06/2011 23:00, Bart wrote: On 6/23/11, Martinlaza...@mfriebe.de wrote: frDisableEntireScope would be required if the EntireSciop is the same as the normal search. E.g if no backward search is allowed, and your are at the start of the text. Then you are doing entire scope anyway. If your

[Lazarus] mouse [Re: Compile and Build menu entries, Run- or Project-menu?]

2011-06-24 Thread Martin
On 24/06/2011 07:40, Graeme Geldenhuys wrote: HINT #2: Place the Jump Back/Forward items on the toolbar too. This allows you to reserve your code navigation with the mouse - instead of keyboard shorcuts. Seeing that you need a mouse to Ctrl+Click, the mouse for going back in history seems

Re: [Lazarus] First impressions of Lazarus under Mac OS X

2011-06-24 Thread Martin
On 24/06/2011 08:15, Graeme Geldenhuys wrote: Yes. The default is disabled antialiased for all platforms not only OS X. The option is just below the font size. I guess that's another Windows legacy feature. ;-) Having anti-aliased enabled by default makes more sense, seeing that all platforms

Re: [Lazarus] How to use Lazrus IDE as a test case?

2011-06-24 Thread Martin
On 24/06/2011 17:07, Hans-Peter Diettrich wrote: Currently I want to modify a component, that also is used in the IDE. Consequently I want to use the IDE as a test case, covering many issues not found in simple test programs. Now I ran into a strange problem: test case as in automated test,

Re: [Lazarus] thread safe

2011-06-27 Thread Martin
of your app (and the entire system) must still be valid (and it must be so, for each thread). Martin -- ___ Lazarus mailing list Lazarus@lists.lazarus.freepascal.org http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Re: [Lazarus] thread safe

2011-06-27 Thread Martin
On 27/06/2011 11:19, Michael Schnell wrote: On 06/27/2011 11:37 AM, Martin wrote: If the function, for example stores some important data in a thread local variable, but flags (thread global) the availability of the data, then no Critical section will fix it. Yep ! As stated in my former

<    2   3   4   5   6   7   8   9   10   11   >