Re: [Lazarus] Synedit free makes an access violation exception

2013-02-01 Thread Martin
of course, that actually requires a TSynSourceEditor... which is impossible for packages, because it is in the ide On 01/02/2013 20:22, ik wrote: On Fri, Feb 1, 2013 at 10:12 PM, Martin laza...@mfriebe.de wrote: Well do you add, remove, create any gutterparts? Assigned gutterparts, what

Re: [Lazarus] Synedit free makes an access violation exception

2013-02-01 Thread Martin
On 01/02/2013 20:43, Martin wrote: I will have to debug that. It may be that Cutter.Assign is not working. It seems to only copy the pointers to the other edits gutter parts... And that is not right. If you whish to look (I dant know when I get to it). I THINK it may be this procedure

Re: [Lazarus] Synedit free makes an access violation exception

2013-02-01 Thread Martin
On 01/02/2013 20:48, ik wrote: On Fri, Feb 1, 2013 at 10:45 PM, Martin laza...@mfriebe.de wrote: On 01/02/2013 20:43, Martin wrote: I will have to debug that. It may be that Cutter.Assign is not working. It seems to only copy the pointers to the other edits gutter parts

Re: [Lazarus] Code Completion Templates

2013-02-05 Thread Martin
On 05/02/2013 19:42, Sven Barth wrote: On 05.02.2013 18:30, Mattias Gaertner wrote: Donald Ziesig don...@ziesig.org hat am 5. Februar 2013 um 23:16 geschrieben: Could anyone point me at the file(s) containing the templates invoked with Ctrl-Shift-C? ... It's hard coded. See

Re: [Lazarus] Lazarus 1.0.6 Release

2013-02-07 Thread Martin
On 07/02/2013 12:37, leledumbo wrote: Probably the one after this, note that Lazarus and FPC have separate release cycle, and Lazarus default distribution will always depend on the latest stable release of FPC (2.6.2 isn't out yet, right?). Yep. Currently the newest (released) fpc is 2.6.0

Re: [Lazarus] [SynEdit] do we still need LIST_CLEAR_NOT_VIRTUAL

2013-02-19 Thread Martin
On 19/02/2013 18:44, Zaher Dirkey wrote: In SynHighlighterHashEntries at line 101 Clear method in FreePascal is virtual, do we need to check LIST_CLEAR_NOT_VIRTUAL? How long has it been virtual in the fpc base class? -- ___ Lazarus mailing list

Re: [Lazarus] Ide add-ons licensing issue

2013-02-23 Thread Martin
All info from memory: double check yourself. Also, I am no lawyer, and the info below is my opinion (my understanding of the licensing situation) On 23/02/2013 15:50, Giuliano Colla wrote: It's my company policy to provide our customers the source code of the applications, with a licensing

Re: [Lazarus] Ok I give up!

2013-03-02 Thread Martin
On 02/03/2013 13:49, appjaws wrote: On 02/03/13 12:16, Reinier Olislagers wrote: On 2-3-2013 13:05, appjaws wrote: Hi, How do you write the contents of a Memo to a file and read back into a Memo? Memo1.Lines.SaveToFile Memo1.Lines.LoadFromFile I tried the following line but I just get an

[Lazarus] copying version info, [was: Re: Ok I give up!]

2013-03-05 Thread Martin
On 05/03/2013 18:53, stdreamer wrote: I just recently installed a snapshot version of Lazarus on Windows (I cannot copy the version number from the about window because I cannot select text. Why?). Just right click any where on the version tab and use the popup menu to copy. (again I could

Re: [Lazarus] History Window?

2013-03-07 Thread Martin
On 07/03/2013 10:45, Graeme Geldenhuys wrote: Hi, I accidentally pressed Ctrl+Alt+H and it brought up a History window. See attached image. Pressing F1 didn't bring up any help (using Lazarus 1.0.6). What is that window used for? F1 should bring you to the wiki

Re: [Lazarus] Memo.Lines.BeginUpdate

2013-03-08 Thread Martin
On 08/03/2013 14:08, Juha Manninen wrote: On Fri, Mar 8, 2013 at 3:43 PM, Vincent Snijders vincent.snijd...@gmail.com wrote: Method number 1. is about 40 times faster! I expected method number 2. to be the fastest. Why? There is lot of comminucation between the LCL and widgetset, even if the

Re: [Lazarus] Editor component

2013-03-08 Thread Martin
On 08/03/2013 14:57, Timothy Groves wrote: I need an editor component with two features: Undo and word wrapping. SynEdit/SynMemo do not support word wrapping. Memo does not support undo. What is my best option? There is a port of the original SynEdit in version 2.0.x (See the wiki about

Re: [Lazarus] [SynEdit] FR: Add hcCodeFolding to TSynHighlighterCapability

2013-03-10 Thread Martin
On 10/03/2013 20:07, Zaher Dirkey wrote: Hi, Would please add hcCodeFolding to TSynHighlighterCapability in SynEditHighlighter and to Pascal Highlighter (at least) to check in my editor. Thanks in advance Done. You can also check inheritance from TSynCustomFoldHighlighter --

Re: [Lazarus] [SynEdit] FR: Add hcCodeFolding to TSynHighlighterCapability

2013-03-10 Thread Martin
On 10/03/2013 21:43, Zaher Dirkey wrote: Thanks and One more to be completed for me, in SynPas also class function TSynPasSyn.GetCapabilities: TSynHighlighterCapabilities; begin Result := inherited GetCapabilities + [hcUserSettings, hcCodeFolding]; end; That should be covered by inherited?

Re: [Lazarus] IDE Feature Request - Can Select All be added to the right-click menu in the editor?

2013-03-11 Thread Martin
On 11/03/2013 00:01, Frank Church wrote: IDE Feature Request - Can Select All be added to the right-click menu in the editor Feel free to add a feature request on mantis. Otherwise it will probably be forgotten. IMHO the menu has already a lot of items. And a likelihood that other items

Re: [Lazarus] IDE Feature Request - Can Select All be added to the right-click menu in the editor?

2013-03-12 Thread Martin
On 13/03/2013 01:12, Frank Church wrote: On 11 March 2013 17:38, Martin laza...@mfriebe.de wrote: On 11/03/2013 00:01, Frank Church wrote: IDE Feature Request - Can Select All be added to the right-click menu in the editor Feel free to add a feature request on mantis. Otherwise

Re: [Lazarus] IDE: debug watch

2013-03-14 Thread Martin
On 15/03/2013 02:14, Xiangrong Fang wrote: Hi, While single-stepping. I would like to check some data with the Evaluate/Modify tool, for example view the count of a stringlist, I get: Type TSTRINGLIST = class has no component named COUNT. As a matter of fact, I get this kind of thing with

Re: [Lazarus] IDE autocomplete nuisance

2013-03-14 Thread Martin
On 15/03/2013 02:42, stdreamer wrote: On 15/3/2013 3:56 πμ, Xiangrong Fang wrote: Hi All, While I use auto complete of a property, the IDE inserts := for me automatically, this is good, but how can I make it auto insert a SPACE before the colon so that I don't need to get back and insert it

Re: [Lazarus] [SynEdit] Corrupted line text when undo

2013-03-21 Thread Martin
On 21/03/2013 07:38, Zaher Dirkey wrote: Hi, Still not sure about it, but try this to confirm me Select a key word, press enter, (the second unit in uses for example), now press undo (ctrl+z), and see if it corrupted. Works here. Please attach your editor- and environment-option.xml (or

Re: [Lazarus] [SynEdit] Corrupted line text when undo

2013-03-21 Thread Martin
On 21/03/2013 13:48, Zaher Dirkey wrote: Yes, it is work when i started with default environment no bug with it, so i attached my xml files. It's the position only trim trailing spaces. The space is not restored. Please report on mantis. On 21/03/2013 07:38, Zaher Dirkey wrote: Select a

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-03-27 Thread Martin
On 27/03/2013 04:08, Ernest V Miller wrote: Hello! As we know, Lazarus is UTF8 friendly. When I want to see a value of a string var in cyrillic, I should convert it to UTF8, else I only get ? in Watches window. For this code function TesterClass.quickTest : Boolean; var

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-03-28 Thread Martin
be fixed with minimal changes. Martin laza...@mfriebe.de wrote 28.03.2013 03:13:01: Currently the only way would be to allow the user to specify how to interpret a watch, that is the user would set in the watches properties, if he wants utf8 or whatever encoding. You can add a feature request

Re: [Lazarus] [SynEdit] do we still need LIST_CLEAR_NOT_VIRTUAL

2013-03-28 Thread Martin
On 25/03/2013 11:44, Zaher Dirkey wrote: On Tue, Feb 19, 2013 at 8:48 PM, Martin laza...@mfriebe.de wrote: How long has it been virtual in the fpc base class? Sorry for the delay TList.Clear is virtual from revision 1, TFPList.Clear is not virtual. http://svn.freepascal.org/cgi-bin/viewvc.cgi

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-03-28 Thread Martin
On 29/03/2013 01:18, Ernest V Miller wrote: There are 2 issues (in what I reproduced): 1) *** ??? Actually the ? are really present in the string. They are put there by Utf8ToAnsi for characters that could not be translated to ansi. So in that the debugger shows the correct content. At

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-04-01 Thread Martin
On 01/04/2013 07:34, Ernest V Miller wrote: Sent log source to laza...@mfriebe.de. Ok, I can see what happens. Your GDB returns slightly different from mine (but correct). And it triggers the Code for utf8 correction. That is why you actually see the proper utf8 string, while I

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-04-01 Thread Martin
On 01/04/2013 10:13, Martin wrote: On 01/04/2013 07:34, Ernest V Miller wrote: Sent log source to laza...@mfriebe.de. Ok, I can see what happens. I added in on mantis http://bugs.freepascal.org/view.php?id=24199 -- ___ Lazarus mailing

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-04-01 Thread Martin
On 01/04/2013 10:53, Mattias Gaertner wrote: On Mon, 01 Apr 2013 10:13:22 +0100 Martin laza...@mfriebe.de wrote: [...] It could do a heuristic, checking if the result has such invalid chars, and if there is one then do all as #123. But an ascii sting may be a valid utf8 string sometimes, yet

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-04-01 Thread Martin
On 01/04/2013 11:18, Mattias Gaertner wrote: On Mon, 01 Apr 2013 11:03:31 +0100 Martin laza...@mfriebe.de wrote: On 01/04/2013 10:53, Mattias Gaertner wrote: On Mon, 01 Apr 2013 10:13:22 +0100 Martin laza...@mfriebe.de wrote: [...] It could do a heuristic, checking if the result has

Re: [Lazarus] Debugging Lazarus in Lazarus - debugger error

2013-04-03 Thread Martin
On 03/04/2013 08:28, Lubos Pintes wrote: Hi, Just tried the following: Opened lazarus\ide\lazarus.lpi and then pressed F7. The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows) Debugger Error The debugger encountered an error when

Re: [Lazarus] Debugging Lazarus in Lazarus - debugger error

2013-04-03 Thread Martin
. Dňa 3. 4. 2013 12:55 Martin wrote / napísal(a): On 03/04/2013 08:28, Lubos Pintes wrote: Hi, Just tried the following: Opened lazarus\ide\lazarus.lpi and then pressed F7. The Assembler window appeared and after next F7 press, the following error appeared (copy of window text follows) Debugger

Re: [Lazarus] Caret is not blinking in Unix

2013-04-05 Thread Martin
On 05/04/2013 12:04, Mehmet Erol Sanliturk wrote: Previously I have sent the following message : http://lists.lazarus.freepascal.org/pipermail/lazarus/2013-March/079951.html A help is really appreciated very much . On TcustomControl canvas covering all of the form client area , the caret

Re: [Lazarus] Caret is not blinking in Unix

2013-04-05 Thread Martin
it is done there. (Search FScreenCaret). On Fri, Apr 5, 2013 at 4:14 AM, Martin laza...@mfriebe.de mailto:laza...@mfriebe.de wrote: On 05/04/2013 12:04, Mehmet Erol Sanliturk wrote: What can be done to make the caret blinking in Unix ? On WIndows the caret is drawn by the OS

Re: [Lazarus] Caret is not blinking in Unix

2013-04-05 Thread Martin
On 05/04/2013 14:01, Mehmet Erol Sanliturk wrote: There may be such a variable , but what and where it is , I do not know . I tried to find such a variable in SynEdit , but , SynEdit is very complicated , and I am not using any part of it , and also I do not know its internals . Lazarus is

Re: [Lazarus] PAnsiChar to UTF8 issues

2013-04-09 Thread Martin
On 09/04/2013 15:11, Leonardo M. Ramé wrote: Hi, I'm working with a C shared library that returns a pointer to char. It's all ok when not using special characters such as ñ or accents, but when I get these, they are replaced by ? signs. For example, if I receive an ñ, the debugger shows this:

Re: [Lazarus] PAnsiChar to UTF8 issues

2013-04-09 Thread Martin
On 09/04/2013 15:22, Leonardo M. Ramé wrote: On 2013-04-09 15:20:33 +0100, Martin wrote: On 09/04/2013 15:11, Leonardo M. Ramé wrote: Hi, I'm working with a C shared library that returns a pointer to char. It's all ok when not using special characters such as ñ or accents, but when I get

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Martin
On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. If you have a selection it goes to the end of that selection. Of course in order for that to do something you need to go away from the end of the selection

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Martin
On 11/04/2013 17:41, Martin wrote: On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. If you have a selection it goes to the end of that selection. Of course in order for that to do something you need to go

Re: [Lazarus] IDE: how navigation in block works?

2013-04-11 Thread Martin
On 11/04/2013 17:03, Lubos Pintes wrote: Hi, How and when Ctrl+Q, K works? It seems to me that it does nothing. Contrary to Ctrl+Q, B. Note that in 1.1 (trunk) this key combo is broken: http://bugs.freepascal.org/view.php?id=24008 But the feature can be used by changing either of the

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-13 Thread Martin
for dependencies on FCL (includes indirect dependency) http://imagebin.org/253862 On 13/04/2013 15:51, Zaher Dirkey wrote: Hi, again, i failed to do that, any example to do it, for SynEdit package? On Tue, Mar 19, 2013 at 6:43 PM, Martin laza...@mfriebe.de mailto:laza...@mfriebe.de wrote

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-13 Thread Martin
(Debug, Release) i want when use Debug all compiler option passed to SynEdit package and have debug info and so on, When use Release same. I have tested all adding $(ProjectOpts) or $(IDEBuildOptions) but debug not added to the sources. On Sat, Apr 13, 2013 at 6:06 PM, Martin laza

Re: [Lazarus] Compile project release with LCL custom optimization

2013-04-13 Thread Martin
buildmode. I do not know if there are predefined macros On Sat, Apr 13, 2013 at 10:17 PM, Martin laza...@mfriebe.de mailto:laza...@mfriebe.de wrote: if defined(MACRONAME) then CustomOptions := ' -O-1 '; head of the yarn(proverb) I couldn't find any reference

[Lazarus] OT tip of the string/yarn

2013-04-13 Thread Martin
On 13/04/2013 20:46, Zaher Dirkey wrote: On Sat, Apr 13, 2013 at 10:44 PM, patspiper patspi...@gmail.com mailto:patspi...@gmail.com wrote: I guess the original proverb is closer to 'tip of the string', meaning like the 1st lead or clue of a mystery or case. Yes true :) but i used

Re: [Lazarus] Can not run in debug mode for WinCe

2013-04-25 Thread Martin
On 25/04/2013 17:39, GREP wrote: I ran this same project with Lazrus 0.0... for about a year. The gdb was the same. The problem is clearly with some settings/options in Lazarus. There are *NO BLUE DOTS* in the compiledsource.The break points show a question mark. I have the D:\ in Other source.

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 17:56, silvioprog wrote: Hello, How to disable this window?: http://imagebin.org/256679 There is no global disable. That is no way to prevent it from being displayed. The thing is, it shouldn't be there in first. It only shows, if the source can not be found. So the

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 18:13, silvioprog wrote: 2013/5/6 silvioprog silviop...@gmail.com mailto:silviop...@gmail.com [...] I'm trying to debug this project: https://bitbucket.org/silvioprog/tcpipcomp/src/4ddfe31c5455154c85b746bdf35133f29465bb82/demo/console/server.lpr?at=master

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 18:18, Martin wrote: On 06/05/2013 18:13, silvioprog wrote: 2013/5/6 silvioprog silviop...@gmail.com mailto:silviop...@gmail.com [...] I'm trying to debug this project: https://bitbucket.org/silvioprog/tcpipcomp/src/4ddfe31c5455154c85b746bdf35133f29465bb82/demo

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 21:24, silvioprog wrote: 2013/5/6 silvioprog silviop...@gmail.com mailto:silviop...@gmail.com 2013/5/6 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de And: please get a log: http://wiki.lazarus.freepascal.org/GDB_Debugger_Tips#Log_info_for_debug_session

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 21:50, Martin wrote: On 06/05/2013 21:24, silvioprog wrote: 2013/5/6 silvioprog silviop...@gmail.com mailto:silviop...@gmail.com 2013/5/6 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de And: please get a log: http://wiki.lazarus.freepascal.org

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 22:04, silvioprog wrote: 2013/5/6 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de On 06/05/2013 21:50, Martin wrote: On 06/05/2013 21:24, silvioprog wrote: 2013/5/6 silvioprog silviop...@gmail.com mailto:silviop...@gmail.com 2013/5/6 Martin laza

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
Did you close the asm window before you tested? On 06/05/2013 22:22, silvioprog wrote: 2013/5/6 silvioprog silviop...@gmail.com mailto:silviop...@gmail.com 2013/5/6 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de On 06/05/2013 21:24, silvioprog wrote: 2013/5/6

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-06 Thread Martin
On 06/05/2013 23:08, Martin wrote: Did you close the asm window before you tested? Anyway. It has the right filename. * Please recompile the IDE with the following define CTDEBUG * Please open the file \ide\debugmanager.pas line 1265 insert the TWO debugln if (SrcLine 0

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-07 Thread Martin
On 07/05/2013 07:06, silvioprog wrote: 2013/5/6 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de Anyway. It has the right filename. * Please recompile the IDE with the following define CTDEBUG How I do it, in this way?: http://imagebin.org/256766 Almost. either put it in edit

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-07 Thread Martin
On 07/05/2013 18:54, silvioprog wrote: I tried it ...: http://imagebin.org/256833 ... but, error: http://imagebin.org/256834 Seems that PropertyAtom has renamed to PropVarAtom and VarNameAtom to VarNameRange. Ok. I need to ask others. -- ___

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-07 Thread Martin
Try at least the 2 debugln, So we can see if NewSource := CodeToolBoss.LoadFile(SrcFullName, true, false); is called. And if it returns a result or nil On 07/05/2013 18:54, silvioprog wrote: 2013/5/6 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de On 06/05/2013 23:08, Martin

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-08 Thread Martin
On 08/05/2013 04:50, silvioprog wrote: 2013/5/7 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de Also update your svn. I was told that a potential issue was just fixed. Can you update GIT too? I don't know who updates the GIT, I think it updates automatically

Re: [Lazarus] Maybe using CodeTools to modify source code

2013-05-08 Thread Martin
On 08/05/2013 12:38, Graeme Geldenhuys wrote: Hi, I want to ease my debugging by implementing a stand-alone tool that inserts trace calls (modified dbugintf calls) via a checkbox style treeview interface of my selected unit. Checking a method inserts a begin/end trace call pair, unchecking a

Re: [Lazarus] Maybe using CodeTools to modify source code

2013-05-08 Thread Martin
On 08/05/2013 13:15, Graeme Geldenhuys wrote: On 2013-05-08 12:59, Martin wrote: Do something like lazlogger does. Thanks for the suggestion, I'll take a closer look at lazlogger. I do prefer not to leave debug code in all my units though. Otherwise I could simply continue using my code

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-08 Thread Martin
On 08/05/2013 15:10, silvioprog wrote: 2013/5/8 Juha Manninen juha.mannine...@gmail.com mailto:juha.mannine...@gmail.com On 5/8/13, silvioprog silviop...@gmail.com mailto:silviop...@gmail.com wrote: Also update your svn. I was told that a potential issue was just fixed.

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-08 Thread Martin
On 08/05/2013 16:35, silvioprog wrote: 2013/5/8 silvioprog silviop...@gmail.com mailto:silviop...@gmail.com 2013/5/8 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de [...] Sorry, no that was not fixed. I was told something about path loading. That was hopped

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-08 Thread Martin
On 08/05/2013 18:26, silvioprog wrote: 2013/5/8 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de So question: has the original issue been resolved ? You did not answer this. If you hit a breakpoint, do you still get the asm? Or is that part of the issue solved? IIRC

Re: [Lazarus] GDB 7.6 Issues

2013-05-10 Thread Martin
On 10/05/2013 13:49, Torsten Bonde Christiansen wrote: Hi List. After the latest update of my Arch Linux i got a hold of GDB 7.6 and for some apparent reason debugging from within lazarus has stopped working as it should. At least there is a problem with breakpoints, since they are not

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-11 Thread Martin
On 11/05/2013 05:11, silvioprog wrote: 2013/5/8 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de You did not answer this. If you hit a breakpoint, do you still get the asm? Well, Not to be difficult, but the answer below relates to the question above in which way? I am glad

Re: [Lazarus] Can anybody login into bug tracker?

2013-05-11 Thread Martin
On 11/05/2013 16:32, Gabor Boros wrote: Hi, I tried to login but after press Login button noting happen. Same result with a random username. Tried with FF and IE. Seems the tracker works when you are logged in. But submitting the actual login form does not return (time out) --

Re: [Lazarus] Can anybody login into bug tracker?

2013-05-11 Thread Martin
On 11/05/2013 16:47, Martin wrote: On 11/05/2013 16:32, Gabor Boros wrote: Hi, I tried to login but after press Login button noting happen. Same result with a random username. Tried with FF and IE. Seems the tracker works when you are logged in. But submitting the actual login form does

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-12 Thread Martin
Any update? as for the stepping out (4), I *guess* that eithur: - fpc or the linker were changed and the debug info is incorrectly generated (Though I did not see any commit with a log message, suggesting work on this) - Something changed in GDB On 11/05/2013 12:20, Martin wrote: On 11/05

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-13 Thread Martin
On 11/05/2013 05:11, silvioprog wrote: and I use Step Over (F8), the cursor go to line 2, but the same code in Linux, go to GTK units. See: 1 - http://imagebin.org/257292 2 - http://imagebin.org/257294 (after first F8) I don't know debug code in assembler. I'm pretty sure the problem is in

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-13 Thread Martin
On 13/05/2013 16:07, silvioprog wrote: 2013/5/13 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de On 11/05/2013 05:11, silvioprog wrote: and I use Step Over (F8), the cursor go to line 2, but the same code in Linux, go to GTK units. See: 1 - http://imagebin.org

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-13 Thread Martin
On 13/05/2013 18:08, silvioprog wrote: 2013/5/13 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de On 13/05/2013 16:07, silvioprog wrote: 2013/5/13 Martin laza...@mfriebe.de mailto:laza...@mfriebe.de On 11/05/2013 05:11, silvioprog wrote: and I use Step Over

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-14 Thread Martin
On 11/05/2013 05:11, silvioprog wrote: procedure TForm1.Button1Click(Sender: TObject); var s: string; begin s := 'abc'; Break point here (F5) // line 1 ShowMessage(s); // line 2 end; and I use Step Over (F8), the cursor go to line 2, but the same code in Linux, go to GTK units. See:

Re: [Lazarus] How to disable the assembler window on Linux?

2013-05-14 Thread Martin
On 11/05/2013 05:11, silvioprog wrote: procedure TForm1.Button1Click(Sender: TObject); var s: string; begin s := 'abc'; Break point here (F5) // line 1 ShowMessage(s); // line 2 end; and I use Step Over (F8), the cursor go to line 2, but the same code in Linux, go to GTK units. See:

Re: [Lazarus] Debugging fixed strings in UTF8 encoding

2013-05-17 Thread Martin
On 27/03/2013 04:08, Ernest V Miller wrote: I see value of utf8 in russian. And I am absolutely happy. But as soon as I want to use fixed strings, the only way for me to see my native language when debugging is to declare an additional string var as you can see below: I committed a partial fix

Re: [Lazarus] About Arabic translating in Lazarus

2013-05-24 Thread Martin
On 24/05/2013 17:21, Zaher Dirkey wrote: On Fri, May 24, 2013 at 7:00 PM, Juha Manninen juha.mannine...@gmail.com mailto:juha.mannine...@gmail.com wrote: You cannot find it easily because it happened in Lazarus-dev mailing list which is not open for everybody. It is best you

Re: [Lazarus] [WINCE] Please stop generate debug file.

2013-05-24 Thread Martin
Is this about debugln does not log correctly, or about something gets logged, that you did not want to be logged? I think the question is what is calling debugln. - If your code does, then it should log. - If it is in the IDE (but you wouldn't run that on wince) then that is correct to. - If

Re: [Lazarus] [WINCE] Please stop generate debug file.

2013-05-24 Thread Martin
On 24/05/2013 19:42, Zaher Dirkey wrote: On Fri, May 24, 2013 at 9:17 PM, Martin laza...@mfriebe.de mailto:laza...@mfriebe.de wrote: I think the question is what is calling debugln. - If your code does, then it should log. - If it is in the IDE (but you wouldn't run that on wince

Re: [Lazarus] [WINCE] Please stop generate debug file.

2013-05-26 Thread Martin
On 26/05/2013 06:48, Felipe Monteiro de Carvalho wrote: Yes, the code needs to be rewritten. It was written before a system was created to allow widgetsets to override debugln. It also needs a variable in the widgetset class to allow the user to choose if he wants the log or not. but the code

[Lazarus] Beta testers on trunk: Inactive IFDEF code greyed out

2013-05-26 Thread Martin
In SVN trunk it is now possible to have inactive IFDEF code greyed out, or otherwise marked. The feature is still being tested, but seems to generally work well by now. If you wish to help testing, compile the IDE with the following define: WithSynMarkupIfDef (command-line option

Re: [Lazarus] New compiler options page Additions and Overrides

2013-06-08 Thread Martin
On 08/06/2013 14:38, Mattias Gaertner wrote: It is not practical because the plan is to have Debug and Release modes by default. They are useful for anyone. I doubt that. See Michael's, Dodi's and my mails. Which ones? There are many mails from 2 Michaels... Michael Van Canneyt wrote a

Re: [Lazarus] New compiler options page Additions and Overrides

2013-06-10 Thread Martin
On 10/06/2013 23:36, Mattias Gaertner wrote: On Mon, 10 Jun 2013 22:59:43 +0100 Martin laza...@mfriebe.de wrote: Within each target, the order would be kept. Instead of using a in matrix group/header, each storage group could have a color If there where 3 radiobutton at the begin of each row

Re: [Lazarus] New compiler options page Additions and Overrides

2013-06-11 Thread Martin
On 11/06/2013 16:54, Mattias Gaertner wrote: On Tue, 11 Jun 2013 10:56:20 +0100 Martin laza...@mfriebe.de wrote: [...] Yes, I understand that from what you wrote. At the moment the storage is displayed as an enclosure. Technically I still do not see it as such. It is an attribute to al

Re: [Lazarus] New compiler options page Additions and Overrides

2013-06-11 Thread Martin
On 11/06/2013 17:07, Mattias Gaertner wrote: On Tue, 11 Jun 2013 10:56:20 +0100 Martin laza...@mfriebe.de wrote: [...] Why should it be 3 grids. The options apply to the project/packages, never mind where they are stored. How do you want to mix arbitrary IDE from you and arbitrary project

Re: [Lazarus] New compiler options page Additions and Overrides

2013-06-11 Thread Martin
On 11/06/2013 17:05, Mattias Gaertner wrote: On Tue, 11 Jun 2013 10:56:20 +0100 Martin laza...@mfriebe.de wrote: [...] A broader column means less space for the modes and options. The abbreviations IDE,LPI and LPS are not as clear as a sentence. It's not one grid, there are three, so some

Re: [Lazarus] New compiler options page Additions and Overrides

2013-06-11 Thread Martin
On 11/06/2013 17:54, Mattias Gaertner wrote: On Tue, 11 Jun 2013 17:15:25 +0100 Martin laza...@mfriebe.de wrote: On 11/06/2013 17:05, Mattias Gaertner wrote: On Tue, 11 Jun 2013 10:56:20 +0100 Martin laza...@mfriebe.de wrote: [...] A broader column means less space for the modes

Re: [Lazarus] New compiler options page Additions and Overrides

2013-06-11 Thread Martin
On 11/06/2013 17:51, Mattias Gaertner wrote: On Tue, 11 Jun 2013 17:13:33 +0100 Martin laza...@mfriebe.de wrote: On 11/06/2013 17:07, Mattias Gaertner wrote: On Tue, 11 Jun 2013 10:56:20 +0100 Martin laza...@mfriebe.de wrote: [...] Why should it be 3 grids. The options apply to the project

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Martin
On 17/06/2013 17:13, Mattias Gaertner wrote: On Sat, 15 Jun 2013 13:46:57 + Mark Morgan Lloyd markmll.laza...@telemetry.co.uk wrote: What's the easiest way to implement something like xterm or konsole, that has minimal escape decoding for e.g. cursor control but under normal circumstances

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Martin
On 17/06/2013 22:23, Mark Morgan Lloyd wrote: I don't claim to have anything like the expertise to do all of the work (I've never tackled a component in either Delphi or Lazarus), but it might be worthwhile kicking ideas around. Almost everything I do ends up having at least one terminal

Re: [Lazarus] Xterm, konsole etc.

2013-06-17 Thread Martin
On 17/06/2013 23:30, Martin wrote: From memory: I would (if I had time) start a new component, not inheriting, but starting on a copy of SynEdit Or even throwing out most of it, except Keeping - the textbuffer (keep bidi-view, but get rid of folding and trim space [those are wrappers around

Re: [Lazarus] How to exec some gdb command on start in lazarus

2013-06-24 Thread martin
On 24/06/13 16:11, Petr Kristan wrote: Hallo I want to send this command to gdb: handle SIGPIPE nostop noprint pass to ignore SIGPIPE. I set it in my ~/.gdbinit, but Lazarus ignores it. I tried write it to Debugger_Startup_Options, but without success. the Debugger_Startup_Options, would

Re: [Lazarus] How to exec some gdb command on start in lazarus

2013-06-24 Thread martin
On 24/06/13 16:31, martin wrote: On 24/06/13 16:11, Petr Kristan wrote: Hallo I want to send this command to gdb: handle SIGPIPE nostop noprint pass to ignore SIGPIPE. I set it in my ~/.gdbinit, but Lazarus ignores it. I tried write it to Debugger_Startup_Options, but without success

Re: [Lazarus] How to exec some gdb command on start in lazarus

2013-06-25 Thread martin
On 25/06/13 07:49, Petr Kristan wrote: Thank you for the fast response. I try it, but I get this message: Debugger: Initialization output: Undefined command: \\. Try \help\.\n In processes i have /usr/bin/gdb -silent -i mi -nx --eval-command=handle SIGPIPE nostop noprint pass But gdb already

Re: [Lazarus] How to exec some gdb command on start in lazarus

2013-06-25 Thread martin
On 25/06/13 10:51, Petr Kristan wrote: I try to debug Debugger_Startup_Options: --eval-command=handle SIGPIPE nostop noprint pass with strace and here is execve line: [pid 20053] execve(/usr/bin/gdb, [/usr/bin/gdb, -silent, -i, mi, -nx, --eval-command=\handle SIGPIPE nostop noprint pass\], [/*

Re: [Lazarus] Updating procedure signatures

2013-06-26 Thread Martin
On 25/06/2013 12:04, Mattias Gaertner wrote: There is now an option to disable the same for methods: Tools / Options / Codetools / Class Completion / Update all method signatures What do I need to see the option ? I updated to 41902, I did a clean build (in fact 2 times). It is not there. I

Re: [Lazarus] Updating procedure signatures

2013-06-26 Thread Martin
On 25/06/2013 12:04, Mattias Gaertner wrote: Hi all, Code completion can now update procedure signatures. For example: ... How it works: codetools tries to map all interface and implementation procedures. First by name+param list then by name. If this is ambiguous (e.g. there are two

Re: [Lazarus] Updating procedure signatures

2013-06-26 Thread Martin
On 26/06/2013 09:43, Mattias Gaertner wrote: On Wed, 26 Jun 2013 09:26:38 +0100 Martin laza...@mfriebe.de wrote: On 25/06/2013 12:04, Mattias Gaertner wrote: There is now an option to disable the same for methods: Tools / Options / Codetools / Class Completion / Update all method signatures

Re: [Lazarus] Updating procedure signatures

2013-06-26 Thread Martin
On 26/06/2013 09:47, Mattias Gaertner wrote: On Wed, 26 Jun 2013 09:31:46 +0100 Martin laza...@mfriebe.de wrote: it would be nice to be able to set this option separate for procedure/messages that: - are functional change (changes that fpc will notice, and can not compile, without the update

Re: [Lazarus] Contributions by Cyrax and better SVN commit info

2013-06-27 Thread Martin
On 27/06/2013 12:52, Mattias Gaertner wrote: Vincent Snijders vincent.snijd...@gmail.com hat am 27. Juni 2013 um 13:30 geschrieben: 2013/6/27 Juha Manninen juha.mannine...@gmail.com mailto:juha.mannine...@gmail.com Looking at issue #24662, Cyrax has studied lot's of code for

Re: [Lazarus] External SigFPE

2013-06-28 Thread Martin
On 28/06/2013 22:38, Dave Coventry wrote: I have a Procedure as follows. procedure TForm_DB.Image1MouseMove(Sender: TObject; Shift: TShiftState; X, Y: Integer); var xr,yr: Real; dx,dy: integer; SrcRect,DestRect: TRect; begin if iScale=0 then exit;- External SigFPE occurs here. ...

Re: [Lazarus] External SigFPE

2013-06-29 Thread Martin
On 29/06/2013 07:08, Ludo Brands wrote: 8087 style exceptions are raised on the next floating point instruction for speed optimization. If you want to raise the exception on the correct location you should insert an fwait opcode after every floating point operation which is very expensive. See

Re: [Lazarus] Concerning GPL compatibility with more permissive licenses

2013-06-30 Thread Martin
On 30/06/2013 16:37, Kenneth Cochran wrote: I am working on a mini framework that acts as an abstraction over the Delphi and Lazarus IDE extension APIs. The idea is a single API that can be used to develop extensions for both. Most or all of the Lazarus source is covered under the GPL. It is

[Lazarus] Anyone with a recent Delphi, who can check, if this code was taken from Delphi?

2013-07-01 Thread Martin
There is a patch on: http://forum.lazarus.freepascal.org/index.php/topic,21381.msg124855.html#msg124855 It contains plenty of unused code, and was clearly copied from somewhere. Can anyone search through Delphi to ensure it is not from there? e.g code like function

Re: [Lazarus] SynEdit Code Completion

2013-07-20 Thread Martin
On 20/07/2013 08:14, Mattias Gaertner wrote: Maybe you can add some more comments to the example? There is a readme, that is also displayed in the example manager. It explains the difference between the 2 completions The code is very simple (but yes maybe one or 2 comments). But the problem

<    8   9   10   11   12   13   14   15   16   17   >