Re: [Lazarus] Adding codepage-support to the RTL (making LConvEncoding obsolete)

2010-12-03 Thread Mattias Gärtner
Zitat von Guy Fink merlin...@globe.lu: Hello I have opened issue #0018144 in the bugtracker and uploaded a new version of my codepages unit. My description on this : In September we had a discussion on the Lazarus-mailing list to rewrite LConvEncoding and move the functionality to the

Re: [Lazarus] How to tell lazarus the location of a used package?

2010-11-24 Thread Mattias Gärtner
Zitat von Bo Berglund bo.bergl...@gmail.com: On Wed, 24 Nov 2010 11:06:15 +0100, Mattias Gaertner nc-gaert...@netcologne.de wrote: [...] I am trying to get my head around this concept... Currently we work in Delphi. Say that we develop a number of different programs. These programs have

Re: [Lazarus] Delphi converter translations

2010-11-22 Thread Mattias Gärtner
Zitat von Juha Manninen juha.mannine...@gmail.com: This mail is inspired by issue #17982: Replacement of dfm file The converter settings have a radiogroup for targets. I had to reorder them at one point when more options were added. It turned out at least the German translation is wrong.

Re: [Lazarus] Release schedule and policy

2010-10-25 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: On Mon, 25 Oct 2010, Martin wrote: On 25/10/2010 08:41, Florian Klaempfl wrote: Am 25.10.2010 09:38, schrieb Michael Van Canneyt: svn update is still much shorter and easier. Real lazy people like me do an svn up only or have even

Re: [Lazarus] open pas file from command line

2010-10-21 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: On Wed, 20 Oct 2010, David Emerson wrote: Hi there, Suppose I have a lazarus source editor open. I would like to, from my command line shell, issue a command to open a new source in the already-open source editor. Is this possible?

Re: [Lazarus] Verdict of Lazarus 0.9.29

2010-10-20 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: I have also concluded that the editor settings smart tabs should be renamed to idiot/stupid tabs instead, because that is exactly what it does! | symbol denotes cursor pos, and stupid tabs enabled, and auto indent disabled and tab

Re: [Lazarus] Verdict of Lazarus 0.9.29

2010-10-20 Thread Mattias Gärtner
Zitat von Martin laza...@mfriebe.de: On 20/10/2010 10:39, Graeme Geldenhuys wrote: Hi, I've played with the latest snapshot of Lazarus and FPC (as release by Vincent) for the last 3 days now. I started with a new profile (via --pcp= parameter). Off the bat, one *major* annoyance of Lazarus

Re: [Lazarus] Verdict of Lazarus 0.9.29

2010-10-20 Thread Mattias Gärtner
Zitat von Andrew Brunner andrew.t.brun...@gmail.com: [...] But I do agree that this is frustrating. I remember when Lazarus used to crash when laying out my forms with tons of components only to be missing them when I reopen the editor. I also recall a time when Delphi did the very same

Re: [Lazarus] Smart Cut/Paste Spacing of declared variables and contants...

2010-10-20 Thread Mattias Gärtner
Zitat von Andrew Brunner andrew.t.brun...@gmail.com: var iCount: Integer; Commands : TDatabaseCommands; iLcv,iWhatEver: Integer; When I declare variables I tend declare them one per line but not always. I also place my : at

Re: [Lazarus] Verdict of Lazarus 0.9.29

2010-10-20 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: Op 2010-10-20 15:28, Mattias Gärtner het geskryf: Have you seen the link on the editor options to the codetools option? Yes, but that seems wrong. Why two tools to do indentation, and if both enabled gives undefined behaviour. It should

Re: [Lazarus] lazarus unit test failures: 198 out of 257 fail

2010-10-19 Thread Mattias Gärtner
Zitat von Felipe Monteiro de Carvalho felipemonteiro.carva...@gmail.com: It seams that a lot of tests fail compiling, but they compile fine with Lazarus. I haven't yet found where the code to compile them is. About the crash, the code to save the XML is trivial: procedure

Re: [Lazarus] Setting NoGUI from command line

2010-10-07 Thread Mattias Gärtner
Zitat von Leonardo M. Ramé l.r...@griensu.com: Hi, I'm trying to compile, from command line, an app that needs the widget type NoGUI. How can I set this parameter?. lazbuild -h shows all command line parameters. You need the --widgetset=nogui. Mattias --

Re: [Lazarus] Align property confusion

2010-10-04 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: 2010/10/4 Дмитрий Курашкин : You need following: 1. Drop additional panel (P3) on Form 2. Make its border invisible and Aligh = alLeft 3. Drop P2 on P3 and make P2.Aligh = alBottom 4. Drop P1 on Form and make P1.Aligh = alRight As I know,

Re: [Lazarus] How to use $(Save) macro

2010-10-04 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: Hi, I have an external tool setup that takes $EdFile() as a parameter. How do I use $(Save) so that the IDE saves the current editor file, *before* it calls the external tool? The macros are resolved when filling in the TProcess values, so

Re: [Lazarus] Align property confusion

2010-10-04 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: [...] I got a reply from Michael van Canneyt in private. He said as far as he knows it's due to the streaming system used in the VCL. So order of creation is never guaranteed, and can never make assumptions about that. To clarify: The order

Re: [Lazarus] Lazarus and bigide

2010-10-01 Thread Mattias Gärtner
Zitat von Mark Morgan Lloyd markmll.laza...@telemetry.co.uk: I've got Lazarus installed on a number of systems, and in some cases (when I last checked) I could only build the standard IDE- not the bigide additions. What is the problem? Any error message? What system (os, lazarus, fpc

Re: [Lazarus] Identifier not found Usage2Page

2010-09-27 Thread Mattias Gärtner
Zitat von Kjow antispamm...@gmail.com: Lazarus r27489 New/fresh svn download: ... ... ... Compiling C:\Develop\lazarus\packager\pkgoptionsdlg.pas Compiling C:\Develop\lazarus\packager\brokendependenciesdlg.pas pkgoptionsdlg.pas(273,13) Error: Identifier not found Usage2Page This is not in

Re: [Lazarus] Identifier not found Usage2Page

2010-09-27 Thread Mattias Gärtner
Zitat von Mattias Gärtner nc-gaert...@netcologne.de: Zitat von Kjow antispamm...@gmail.com: Lazarus r27489 New/fresh svn download: ... ... ... Compiling C:\Develop\lazarus\packager\pkgoptionsdlg.pas Compiling C:\Develop\lazarus\packager\brokendependenciesdlg.pas pkgoptionsdlg.pas(273,13

Re: [Lazarus] How to install additional components in Lazarus IDE?

2010-09-24 Thread Mattias Gärtner
Zitat von Frank Church vfcli...@gmail.com: If I want to add components to Lazarus in Ubuntu, do I have to run as root, or by using sudo lazarus? Normally neither, you run it as normal user like any other program. Is there a way of installing components only for your user account, or do they

Re: [Lazarus] FreePascal Source not found in Ubuntu

2010-09-24 Thread Mattias Gärtner
Zitat von Frank Church vfcli...@gmail.com: On 24 September 2010 08:40, Torsten Bonde Christiansen t...@epidata.dkwrote: On 2010-09-24 09:31, Frank Church wrote: I installed the Ubuntu package from the Wiki using the getlaz script, whenever I open Lazarus I get the error message The Free

Re: [Lazarus] Can I run Lazarus well on a 512Mb VM

2010-09-21 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: I use it in a VM with Windows 2000 and 512 Mb. ram. No problems at all. Lazarus 0.9.29 uses less memory than 0.9.28 and has less memory fragmentation. Mattias -- ___ Lazarus mailing list

Re: [Lazarus] Threads in Lazarus code base

2010-09-20 Thread Mattias Gärtner
Zitat von Dariusz Mazur dar...@emadar.com: [...] Before using multi threading, try to use a better single threaded algorithm. And when comparing multi with single threading speed, you must not compare a multi threaded algorithm running single threaded, but a multi threaded algorithm with a

Re: [Lazarus] Threads in Lazarus code base

2010-09-20 Thread Mattias Gärtner
Zitat von Dariusz Mazur dar...@emadar.com: [...] Most of programs are huge count of simple computing. There are many places, that things may run parallel without pain. But very often this places are computing short, thus very often overhead of starting thread is bigger than using second

Re: [Lazarus] Threads in Lazarus code base

2010-09-17 Thread Mattias Gärtner
Zitat von Vincent Snijders vincent.snijd...@gmail.com: 2010/9/17 Juha Manninen (gmail) juha.mannine...@gmail.com: I committed it in r.27384. Now I call AddOnIdleHandler before creating the form. I also tried passing variables through form constructor and calling AddOnIdleHandler from

Re: [Lazarus] parallel loop: was Threads in Lazarus code base

2010-09-15 Thread Mattias Gärtner
Zitat von Florian Klaempfl flor...@freepascal.org: Am 15.09.2010 15:26, schrieb ik: On Wed, Sep 15, 2010 at 15:16, Florian Klaempfl flor...@freepascal.org mailto:flor...@freepascal.org wrote: Am 15.09.2010 13:56, schrieb Michael Schnell: My impression is that regarding the

Re: [Lazarus] IDE doesn't ask whether to open program as new project or as regular file

2010-09-13 Thread Mattias Gärtner
Zitat von Sven Barth pascaldra...@googlemail.com: Am 10.09.2010 17:35, schrieb Mattias Gaertner: On Sun, 05 Sep 2010 11:41:24 +0200 Sven Barthpascaldra...@googlemail.com wrote: Hi! Is it normal that the IDE (0.9.29, rev 26569, Linux, GTK 2) doesn't ask anymore whether I want to open a

Re: [Lazarus] IDE doesn't ask whether to open program as new project or as regular file

2010-09-13 Thread Mattias Gärtner
Zitat von Sven Barth pascaldra...@googlemail.com: [...] AFAIR it was always so. I just did a quick test with 0.9.29 on Windows. I created a simple program in a text editor (file extension: .pas) and opened it with File-Open in Lazarus. It asked whether I want to create a new project.

Re: [Lazarus] Default values for Top coordinate offsets for components in a visual container

2010-09-10 Thread Mattias Gärtner
Zitat von Juha Manninen (gmail) juha.mannine...@gmail.com: On Friday 10 September 2010 12:25:57 Lukasz Sokol wrote: Isn't +10 the GroupBox's label/caption height in pixels ? Yes but it depends on widgetset and theme. There is no absolute correct value, or the absolute value should be

Re: [Lazarus] How change Hint of the controls at design time?

2010-08-19 Thread Mattias Gärtner
Zitat von fluisgira...@gmail.com fluisgira...@gmail.com: Somebody know how change the hint of the controls at design time? Do you mean the hint with the caption and the position? This hint is fixed. What do you want to add? Mattias 2010/8/16 fluisgira...@gmail.com

Re: [Lazarus] autocomplete without sources

2010-08-09 Thread Mattias Gärtner
Zitat von Bernd Kreuss prof7...@googlemail.com: On 09.08.2010 15:17, Razvan Adrian Bogdan wrote: Distributing compiled units would also be a problem because the units are processor dependent This is of course true. But it is also true for all kinds of closed source software in general. IIRC

Re: [Lazarus] LVSCW_AUTOSIZE{_USEHEADER};

2010-08-09 Thread Mattias Gärtner
Zitat von Bernd Kreuss prof7...@googlemail.com: On 09.08.2010 15:48, Paul Ishenin wrote: You can add it to the protected section and access using TListViewAccess class. This is interesting. I didn't know that I can access protected methods from the *outside* by simply deriving a class in the

Re: [Lazarus] Some syntax changes

2010-07-31 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: Mattias Gaertner schrieb: A simple example: interface function GetProp: byte; var test: integer; property prop1: byte read GetProp; prop2: byte read GetProp; implementation function GetProp: byte; begin Result := 0; //whatever

Re: [Lazarus] Some syntax changes

2010-07-31 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: Mattias Gaertner schrieb: -it requires changes to the options, the gui, the cache. In detail the compiler options could/should be passed directly to the compiler, not in form of commandline options (string). Compiling must work the same

Re: [Lazarus] CodeTools: what is an identifier

2010-07-28 Thread Mattias Gärtner
Zitat von Bernd Kreuss prof7...@googlemail.com: Mattias Gaertner wrote: I wrote an example in codebrowser.pas: function TCodeBrowserView.GetCodeHelp Thank you for this example. Now you effectively implemented almost all the things I wanted to do. Sometimes it is easier to implement than

Re: [Lazarus] Lazarus Resources

2010-07-26 Thread Mattias Gärtner
Zitat von Paul Ishenin webpi...@mail.ru: 26.07.2010 18:23, Felipe Monteiro de Carvalho wrote: In that sense looking at the Inno Setup source code probably won't help much as it will probably be using Windows API which aren't portable. FPC resources api is compatible with windows. Can you

Re: [Lazarus] oldest supported version of FPC by Lazarus

2010-07-26 Thread Mattias Gärtner
Zitat von Bernd Kreuss prof7...@googlemail.com: If I write patches for Lazarus, which is the oldest version of FPC that I have to test them with? For LCL, see lcl/alllclunits.pp 2.2.0 The rest requires 2.4.0 with a few exceptions: Some packages require 2.5.1. Mattias --

Re: [Lazarus] show declaration hints has more power in it than is really used

2010-07-23 Thread Mattias Gärtner
Zitat von Michael Schnell mschn...@lumino.de: IMHO, Lazarus should hold a list of all public declarations done in the RTL and the LCL and when pressing F1 with the cursor on some name, it should show the appropriate help, even if is not found in any unit mentioned in the uses clause -

Re: [Lazarus] Docking into main window

2010-06-23 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: Mattias Gärtner schrieb: The docking manager handles Bounds, Align, Anchors, BorderSpacing and AutoSize. I don't see why it should not also handle Constraints. Constraints are not applicable do docksites in a dockable layout. When

Re: [Lazarus] Docking into main window

2010-06-22 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: Mattias Gaertner schrieb: The anchordocking clears the constraints. I guess you are using the easydockmgr. The constraints should be set only by the default layout manager. As soon as another layout manager is used, no constraints should

Re: [Lazarus] \lazarus\ide\sourceeditor.pp(9095, 28) Error: Wrong number of parameters specified for call to Add

2010-06-16 Thread Mattias Gärtner
Zitat von Marcos Douglas m...@delfire.net: Hi, I'm using: - WinXP - FPC 2.4.1 - Laz 0.9.29 - SVN Revision 25961 (showing in About form of Lazarus, but if I click in TortoiseSVN\Show log it show 26151) Have you build lazarus clean after the svn update? I tried to install weblaz package. I

Re: [Lazarus] watch window raise exception

2010-06-11 Thread Mattias Gärtner
Zitat von Andrea Mauri andrea.mauri...@gmail.com: Lazarus 0.9.29 r26036 FPC 2.4.0 i386-win32-win32/win64 Open Lazarus -- View -- Debug Windows -- Watch -- Division By Zero It works here. Can you create a backtrace? Mattias -- ___ Lazarus

Re: [Lazarus] Graphics32 carbon

2010-06-10 Thread Mattias Gärtner
Zitat von CA Gorski fpc-pascal-l...@artelogic.com: On 07.06.2010 09:39, Felipe Monteiro de Carvalho wrote: Hello, I took a look at the file that you sent and it has the wrong options. The option -va shows the searching of units, you used another option which just shows the IFDEFs...

Re: [Lazarus] Clean Up and Build / Fatal Error: Can't Create object file: units/i386-linux/hello.o

2010-06-07 Thread Mattias Gärtner
Zitat von Peter E Williams foss.game.pascal.develo...@iinet.net.au: Hi Ingo All, Am 04.06.2010 02:21, schrieb Peter E Williams: File: hello.pp [Read-Only] (/usr/lib/lazarus/0.9.28.2/examples) Hello, if you have installed Lazarus by packagemanager you have no permission Hi Ingo All, I

Re: [Lazarus] Clean Up and Build / Fatal Error: Can't Create object file: units/i386-linux/hello.o

2010-06-07 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: On 07/06/2010, Graeme Geldenhuys wrote: environment. Then if you want to compile and run a demo, you first have to copy the demo source directory to a location you have read/write access, then compile and run it from that new location.

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-07 Thread Mattias Gärtner
Zitat von Marcos Douglas m...@delfire.net: 2010/6/7 Mattias Gärtner nc-gaert...@netcologne.de: Zitat von Marcos Douglas m...@delfire.net: [...] Free Pascal Compiler version 2.4.1 [2010/06/07] for i386 [...] PPU Loading C:\freepascal\fpc\units\i386-win32\fcl-base\contnrs.ppu PPU Invalid

Re: [Lazarus] Installing FPC/Lazarus on Windows using SVN, no binaries

2010-06-07 Thread Mattias Gärtner
Zitat von Marcos Douglas m...@delfire.net: On Mon, Jun 7, 2010 at 11:22 AM, Marcos Douglas m...@delfire.net wrote: Rigth. But the 'make install' do not override these files? If not, then is better delete all .ppu files in all directory? I deleted all ppu files. Now I have another error:

Re: [Lazarus] SynEdit and lazarus IDE

2010-06-04 Thread Mattias Gärtner
Zitat von ik ido...@gmail.com: Hello List, I've started last week to work on a Syntax highlighter for the Ruby language for SynEdit. You can find it here: http://github.com/ik5/SynEdit-syntaxes . I have many things I do not understand in the highlighter issue. For example how to create the

Re: [Lazarus] How do I switch from viewing a form in the source editor to viewing in the design GUI interface?

2010-06-01 Thread Mattias Gärtner
Zitat von Peter E Williams foss.game.pascal.develo...@iinet.net.au: Hi All, How do I switch from viewing a form in the source editor to viewing in the design GUI interface? Short cut F12 or the speedbutton: Toggle Form/Unit. I have a ported old lazarus to current lazarus app and I cannot

Re: [Lazarus] Attn Felipe, Lazarus Digest, Vol 28, Issue 174

2010-05-31 Thread Mattias Gärtner
Zitat von Technical t...@polypressuk.co.uk: [...] Send Lazarus mailing list submissions to lazarus@lists.lazarus.freepascal.org Please remove text that has nothing to with your topic. It saves time of your readers. Have you create a package for your AlSortGrid.pas? Yes I have created

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Mattias Gärtner
Zitat von Adem listmem...@letterboxes.org: [...] While I do remember talking about 'un-with'ing (or, 'de-with'ing), I am not sure if Anthony did get around implementing it in JCF. This (admittedly an extreme one, one which I haven't even checked to see if it compiles) is the kind of stuff

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Mattias Gärtner
Zitat von Adem listmem...@letterboxes.org: [...] The compiler simply discards comments and it has no infrastructure to link comments in any way to code. Naturally, comments are no good for the compiler --so, I am assuming that the current parser does recognise comments but does not add

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Mattias Gärtner
Zitat von Adem listmem...@letterboxes.org: [...] How would *you* deal with macros? I would not use a complete parser. I would use a forgiving parser like the synedit highlighter or the indentation parser of the codetools. It depends on the features your code formatter should support.

Re: [Lazarus] Using FPC parser/tokenizer for code formatting

2010-05-31 Thread Mattias Gärtner
Zitat von Adem listmem...@letterboxes.org: On 2010-05-31 16:00, Mattias Gärtner wrote: Zitat von Adem listmem...@letterboxes.org: [...] How would *you* deal with macros? I would not use a complete parser. I would use a forgiving parser like the synedit highlighter or the indentation

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-26 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: 2010/5/26 Zaher Dirkey : I meant the mechanism of SynEdit not SynEdit it self, Let us call Line Feeding Highlighting, LFH if you like :P LFH normally comes with a line state (some booleans or counters). Same as synedit. But synedit

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-26 Thread Mattias Gärtner
Zitat von Martin Schreiber fp...@bluewin.ch: On Wednesday 26 May 2010 12:59:39 Graeme Geldenhuys wrote: I tested: jEdit, gEdit, MSEide, Lazarus IDE and mcedit. Only Lazarus IDE syntax highlighted the above code as one single block of commented code. MSEide has another definition file

Re: [Lazarus] Regex and Syntax Highlighting

2010-05-26 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: [...] try MacOsAll.pp (30 lines) in your egex highlighter You guys don't listen! :-) MacOSAll.pp was split some time ago into multiple include files. No problems, I checked out an older version which was 10MB in size (277,380 lines of

Re: [Lazarus] New AutoSize issue

2010-05-21 Thread Mattias Gärtner
Zitat von faber faber@gmail.com: I guess it is a win32 interface bug, because you wrote it works on some windows and not on windows XP. The calls are in lcl/interfaces/win32/win32wscontrols.pp TWin32WSWinControl.ShowHide Add there a debug line: debugln(['TWin32WSWinControl.ShowHide

Re: [Lazarus] New AutoSize issue, Attn Paul

2010-05-21 Thread Mattias Gärtner
Zitat von faber faber@gmail.com: Weird. The order should not matter for the winapi. I hope some winapi expert has seen something like this and can give some hint. Maybe the SR1 is not at the right position. In the unit lcl/interfaces/win32wscontrols.pp in procedure

Re: [Lazarus] non-visual components and Form Designer

2010-05-21 Thread Mattias Gärtner
Zitat von Vannus van...@gmail.com: Looking at the *.lfm files I can see that non-visual components have Left and Top properties stored. But those non-visual components (descending from TComponent) doesn't actually have a Left and Top published property. How does it compare with *.dfm files?

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell b...@wasp.net.au: [...] The build falls over on the first lfm file with a relative path. [...] [29.463] Compiling resource ../units/powerpc-darwin/lazarus.or [29.463] Calling resource compiler /opt/cross/bin/fpcres with -o ../units/powerpc-darwin/lazarus.or -a powerpc

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell b...@wasp.net.au: Mattias Gärtner wrote: The paths are correct. Just to make sure: The file units/powerpc-darwin/keymapshortcutdlg.lfm does not exist, right? [...] Can you check what happens when you delete keymapshortcutdlg.ppu and then compile? Does it copy

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell b...@wasp.net.au: Mattias Gärtner wrote: The lfm file is copied by the compiler when it compiles the keymapshortcutdlg.ppu. Maybe the ppu file was already there, but the lfm was missing? Can you check what happens when you delete keymapshortcutdlg.ppu

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von Brad Campbell b...@wasp.net.au: Mattias Gärtner wrote: Ok, the bug for this one is in my tools. I have an rsync script that updates my lazarus tree from a pristine svn checkout, and that was removing all the .lfm files from the unit paths, but leaving all the object code

Re: [Lazarus] Broken cross compile build.

2010-05-17 Thread Mattias Gärtner
Zitat von patspiper patspi...@yahoo.com: On 05/17/2010 07:19 PM, Mattias Gärtner wrote: AFAIK: No. It knows where they are. But it does not check the resource files. It only checks the ppu and the date of the pascal sources (unit + include files). This is more than was Delphi does

Re: [Lazarus] New AutoSize issue

2010-05-14 Thread Mattias Gärtner
Zitat von faber faber@gmail.com: I'm testing on r25388. Unfortunately I can't get this issue on sample similar small project. On my app i put this line to OnResize event debugln(inttostr(TStringGrid(Sender).Height)+'-:-'+inttostr(TStringGrid(Sender).Width)+'

Re: [Lazarus] New AutoSize issue

2010-05-14 Thread Mattias Gärtner
Zitat von Mattias Gärtner nc-gaert...@netcologne.de: Zitat von faber faber@gmail.com: I'm testing on r25388. Unfortunately I can't get this issue on sample similar small project. On my app i put this line to OnResize event debugln(inttostr(TStringGrid(Sender).Height)+'-:-'+inttostr

Re: [Lazarus] New AutoSize issue

2010-05-14 Thread Mattias Gärtner
Zitat von faber faber@gmail.com: Ok. Maybe the visible flag is not sent to the interface. Are there any exceptions that you catch with a try..except? I found a place where an exception would not reset a flag. I fixed that and the LCL now gives a debugln if that happens. With r25400

Re: [Lazarus] Editor tabs too big when close button on tab is enabled

2010-05-14 Thread Mattias Gärtner
Zitat von Henry Vermaak henry.verm...@gmail.com: On 14 May 2010 11:41, Graeme Geldenhuys graemeg.li...@gmail.com wrote: Hi Did anybody else notice this too?  If so, I'll create a bug report for it then.  On my system using my theme (Ubuntu 8.04.2 with Bluecurve theme), the Lazarus editor tabs

Re: [Lazarus] Using fcl-xml with lcl and constant Utf8Encode/Decode conversion

2010-05-12 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: [...] What amazes me though is that MSEide has one single unit for GDB support. Lazarus has 6+ large units. Yet MSEide seems to have more GDB implemented features. Go figure! :) Lazarus supports various debuggers. gdb support is in units

Re: [Lazarus] componentscount in panel

2010-05-12 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: On 12 May 2010 00:31, Paul Ishenin webpi...@mail.ru wrote: Yes, but that is not a regular container. TFrame is a special case. Ah, the special case. There is always an exception to every LCL rule. ;-) It's a FCL rule and it's not an

Re: [Lazarus] lazarus windows can't use shared directorys

2010-05-09 Thread Mattias Gärtner
Zitat von Fedorax fedo...@free.fr: Hello, I compiled one small linux app with lazarus installed in virtual box emulation of windows. I've a shared directory recognize by windows as \\VBOXSVR The compiler cant' follow it, when i compile an app located in it the compiler say ant find the

Re: [Lazarus] Stand-alone (external) Form Designer?

2010-05-07 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: Graeme Geldenhuys schrieb: Would it be possible to build the Form Designer used in Lazarus IDE as an external / stand-alone application? Something like Glade for GTK, Qt Designer for Qt or UI Designer for fpGUI. That application should

Re: [Lazarus] Stand-alone (external) Form Designer?

2010-05-07 Thread Mattias Gärtner
Zitat von dmitry boyarintsev skalogryz.li...@gmail.com: I see no problems building external form designer. All you need is to read and write .lfm format. :) And since .lfm writting/reading is based on RTTI, any FPC program should support it, natively. Reading/Writing is done by

Re: [Lazarus] Stand-alone (external) Form Designer?

2010-05-07 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: 2010/5/7 Michael Van Canneyt : Mattias' explanation is what I meant with 'there is more than the editor to lazarus'. Yes I understood that. My point about not being feasible is that the forms designer is way to integrated into the rest of

Re: [Lazarus] Lazarus make me create better apps

2010-05-06 Thread Mattias Gärtner
Zitat von Bernd Mueller muelle...@gmx.net: Graeme Geldenhuys wrote: To my taste, the code tools got much worse lately; They were optimal about 2 years ago. The latest indenting/formatting features have almost caused me to go back to using joe for editing, because there is no way to disable

Re: [Lazarus] Challenge of converting a Delphi project

2010-05-05 Thread Mattias Gärtner
Zitat von Juha Manninen juha.manni...@phnet.fi: Mattias Gaertner wrote: Yes, because you enabled 'verify method calls' -CR. Disabling this gives a class diagram under gtk2. Looks promising. Wow, I guessed it is some small thing and then I would feel stupid. :-) Now I need to understand

Re: [Lazarus] Challenge of converting a Delphi project

2010-05-03 Thread Mattias Gärtner
Zitat von Juha Manninen juha.manni...@phnet.fi: Hi I have been converting EssModel Delphi program, partly as an exercise and partly because it could develop into a useful program or component. It is a reverse engineering class diagram tool. I am facing more problems than expected. This is not

Re: [Lazarus] editor details

2010-04-21 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: On 21 April 2010 10:44, Michael Van Canneyt mich...@freepascal.org wrote: But it does have custom draw support for the tabs, which can be used to easily create the button. I do it in my own applications. :-) We are talking in circles. Now

Re: [Lazarus] anyone has contact of Joerg Braun (german translation)

2010-04-13 Thread Mattias Gärtner
Zitat von Martin laza...@mfriebe.de: Just something I spotted in the latest translations (just forward to him / I haven't seen his name on the normal mail list either) #: syneditstrconst.syns_attrprocessinginstr msgid Processing Instruction msgstr Befehl ausführen should be:

Re: [Lazarus] Form Height with Windows XP Themes

2010-04-08 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: Paul Ishenin schrieb: AFAIR the LCL doesn't handle the non-client areas of controls. I.e. Height and ClientHeight (typically) are identical. Yes. Only GetWindowRect can return a full window rectangle. Why is this function not used to

Re: [Lazarus] Autosize behaviour

2010-04-08 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: Mattias Gaertner schrieb: BorderSpacing and ChildSizing IMO are specific to an layout manager, meaningless to other layout managers. BorderSpacing IMO is equivalent to the Delphi anchors. They are not equivalent. Delphi Anchors are

Re: [Lazarus] Autosize behaviour

2010-04-07 Thread Mattias Gärtner
Zitat von Alexander Klenin kle...@gmail.com: On Wed, Apr 7, 2010 at 22:47, Michael Van Canneyt mich...@freepascal.org wrote: I agree for Constraints, but not the other two. Funny, I just argued exactly the other way around ;-) Some properties must be handled by all Layouters. For example

Re: [Lazarus] Autosize behaviour

2010-04-07 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: On Wed, 7 Apr 2010, Hans-Peter Diettrich wrote: Michael Van Canneyt schrieb: IMO it's quite simple. A layout affects the position of child controls inside a container control, nothing else. Borders, Constraints and Autosize are

Re: [Lazarus] TMouseButton

2010-04-07 Thread Mattias Gärtner
Zitat von Kjow antispamm...@gmail.com: 2010/4/7 Kjow antispamm...@gmail.com: Error: Incompatible types: got Empty Set expected TMouseButton Whops, I've mistyped, it works! But how to read the values from a function? e.g. function ButtonPress(Button: TMouseButtons): string; begin case

Re: [Lazarus] Autosize behaviour

2010-04-06 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: [...] I would use a mechanism similar to the datalink. As soon as you tell the layout manager to manage a certain control, a hook is installed in the control. And where is the hook stored? In TWinControl, protected or even private.

Re: [Lazarus] Autosize behaviour

2010-04-06 Thread Mattias Gärtner
Zitat von Alexander Klenin kle...@gmail.com: On Tue, Apr 6, 2010 at 22:52, Martin laza...@mfriebe.de wrote: I can see that work, if a Layouter was always global = drop it on a Form, and the Layouter will grab control of all controls on the Form. But if you want selective Autosizing (eg, just

Re: [Lazarus] Autosize behaviour

2010-04-06 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: On Tue, 6 Apr 2010, Mattias Gärtner wrote: Zitat von Michael Van Canneyt mich...@freepascal.org: [...] I would use a mechanism similar to the datalink. As soon as you tell the layout manager to manage a certain control, a hook

Re: [Lazarus] Understanding TWidgetset

2010-03-29 Thread Mattias Gärtner
Zitat von José Mejuto joshy...@gmail.com: Hello Lazarus-List, I'm trying to understand the widgetset know-how. I'm able to understand, more or less, the usual TButton, TEdit, TMemo, etc, in other words the TWinControl descendants. Now I'm trying to deal with TLabel, but it is not a

Re: [Lazarus] IDE search path for include file causes IDE hang

2010-03-24 Thread Mattias Gärtner
Zitat von Andrew Brunner andrew.t.brun...@gmail.com: On Wed, Mar 24, 2010 at 4:04 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Tue, 23 Mar 2010 22:04:36 -0500 Andrew Brunner andrew.t.brun...@gmail.com wrote: The error message is displayed on the terminal or from gdb then the hang

Re: [Lazarus] IDE search path for include file causes IDE hang

2010-03-24 Thread Mattias Gärtner
Zitat von Luca Olivetti l...@wetron.es: En/na Andrew Brunner ha escrit: The entire GUI and all forms/windows go white. I've had this problem under windows for a while now (and it's been a while since I updated lazarus), but I thought it was a windows problem and not a lazarus one

Re: [Lazarus] Lazarus for IOI

2010-03-17 Thread Mattias Gärtner
Zitat von Marco Ciampa ciam...@libero.it: On Sun, Mar 14, 2010 at 11:23:11PM +0100, tiziano de togni wrote: Marco Ciampa ha scritto: Hello everybody, hi marco! how are you? In practice I would like to set it up in a way to hide all the unused (so confusing) features of this ide. It mean that

Re: [Lazarus] last svn error

2010-03-05 Thread Mattias Gärtner
Zitat von Andrea Mauri andrea.mauri...@gmail.com: Il 05/03/2010 13.27, Andrea Mauri ha scritto: C:\lazarus_svn\components\opengl\glwin32wglcontext.pas(267,3) Error: Wrong number of parameters specified for call to PrepareCreateWindow I think is related to revision 23840: lcl: change use of

Re: [Lazarus] Transparent panel

2010-03-03 Thread Mattias Gärtner
Zitat von JoshyFun joshy...@gmail.com: Hello Lazarus-List, Wednesday, March 3, 2010, 9:28:45 AM, you wrote: MG On Wed, 03 Mar 2010 18:14:04 +1000 MG SteveG ste...@nevets.com.au wrote: Just wondering if anything came of the 'transparent panel' discussion ? ie - does such a beast exist for

Re: [Lazarus] debug windows (docking) layout

2010-03-01 Thread Mattias Gärtner
Zitat von Leslie Kaye les.k...@couchmansfarm.plus.com: For my vote there would be no docking windows in the IDE This would result in there being a large amount of additional eye-candy code to maintain for no good purpose. That's why I and Marc proposed a dock manager instead of special IDE

Re: [Lazarus] RFC: remove StayOnTop for splash screen

2010-03-01 Thread Mattias Gärtner
Zitat von Flávio Etrusco flavio.etru...@gmail.com: On Mon, Mar 1, 2010 at 6:31 AM, Mattias Gaertner nc-gaert...@netcologne.de wrote: On Mon, 1 Mar 2010 05:55:43 -0300 Flávio Etrusco flavio.etru...@gmail.com wrote: That's another story. I'm not proposing to remove the splash screen

Re: [Lazarus] Error: Got Dynamic Array Of PChar, expected PPChar

2010-02-26 Thread Mattias Gärtner
Zitat von Osvaldo Filho arquivos...@gmail.com: Ubuntu 9.10 Lazarus 0.9.29 revision 23749M (svn) FPC 2,4,1 (svn) Why do I have this error: /mnt/laz_componentes/extpascal/CGIGateway.dpr(255,29) Error: Incompatible type for arg no. 2: Got Dynamic Array Of PChar, expected PPChar because array

Re: [Lazarus] Synedit requesting strange format from clipboard

2010-02-26 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: Hans-Peter Diettrich wrote: When the request for a special format fails, a client should request a more common format, e.g. UTF8_STRING, then STRING or TEXT. I wonder why this works on Windows, but not on your OS. That is how Martin

Re: [Lazarus] project template options menu entry

2010-02-25 Thread Mattias Gärtner
Zitat von Michael Van Canneyt mich...@freepascal.org: On Thu, 25 Feb 2010, Marc Santhoff wrote: Hi, I have found the meu entry tools - project template options and scanned the wiki for documentation about it - to no avail. This menu item comes with the package 'projecttemplates' written

Re: [Lazarus] debug windows layout

2010-02-25 Thread Mattias Gärtner
Zitat von Graeme Geldenhuys graemeg.li...@gmail.com: Hi, Playing around with debugging from inside the IDE (anybody that knows me will know this is very unusual smile) I immediately noticed something regarding the UI of the IDE. Using all the various debugging windows available very quickly

Re: [Lazarus] debug windows layout

2010-02-25 Thread Mattias Gärtner
Zitat von Hans-Peter Diettrich drdiettri...@aol.com: [...] It's all a matter of the IDE window management. Currently only a few windows can be made dockable at all, the other ones refuse any attempt to make them dockable. Mattias? All non modal windows should be dockable. Mattias --

  1   2   >