Re: [lazarus] Re: Dinamic gtk?

2005-10-06 Thread Mattias Gaertner
On Thu, 6 Oct 2005 10:36:58 +0200 (Romance Daylight Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 5 Oct 2005, Felipe Monteiro de Carvalho wrote: Eduardo wrote: Can be used Lazarus make a dinamic GUI using gtk for? I want to read the configuration file and

Re: [lazarus] Several LFM patches

2005-10-06 Thread Mattias Gaertner
On Thu, 6 Oct 2005 09:58:33 +0200 (Romance Daylight Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 5 Oct 2005, Darius Blaszijk wrote: On Tue, 2005-10-04 at 23:55, Mattias Gaertner wrote: - improved indenting Beware. There are only a very few indenting styles that most

Re: [lazarus] Lazarus 0.9.11 - problems with make

2005-10-09 Thread Mattias Gaertner
On Sun, 09 Oct 2005 15:53:31 +0400 Alex Smirnov [EMAIL PROTECTED] wrote: *Problem discription:* If you try to build Lazarus from IDE setting all packages to Clear/Build - you will get an error if JITForms.pas: Unable to find JITForm unit. If you go to ../lazarus/units/i386-linux/ - you

Re: [lazarus] Lazarus 0.9.11 - problems with make

2005-10-09 Thread Mattias Gaertner
On Sun, 09 Oct 2005 14:16:49 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sun, 09 Oct 2005 15:53:31 +0400 Alex Smirnov [EMAIL PROTECTED] wrote: *Problem discription:* If you try to build Lazarus from IDE setting all packages to Clear/Build - you

[lazarus] Codefolding

2005-10-11 Thread Mattias Gaertner
Hi all, Codefolding has been started in lazarus' synedit. Now we are searching developers helping us to finish it. What is working: - The codefolding parsing is done by the highlighters. They parse all code anyway and this way the overhead is hardly measurable by gprof. - TSynCustomHighlighter

Re: [lazarus] Re: Codefolding

2005-10-11 Thread Mattias Gaertner
On Tue, 11 Oct 2005 08:09:27 -0300 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Hi all, Codefolding has been started in lazarus' synedit. Now we are searching developers helping us to finish it. Code for synedit and other important classes

Re: [lazarus] Re: Codefolding

2005-10-11 Thread Mattias Gaertner
On 11 Oct 2005 18:49:05 +0200 Darius Blaszijk [EMAIL PROTECTED] wrote: On Tue, 2005-10-11 at 16:27, Mattias Gaertner wrote: I guess 99% of the changes will be in components/synedit/synedit.pp. All changes to the synedit sources should be marked with {$IFDEF SYN_LAZARUS}. I wonder

Re: [lazarus] Some problems in selection boolean values in Object Inspector

2005-10-11 Thread Mattias Gaertner
On Tue, 11 Oct 2005 21:37:10 +0400 Alex Smirnov [EMAIL PROTECTED] wrote: *Problem description:* Operation System - Windows 200 SP4. Lazarus - 0.9.11 from the 9th of October 2005. What is your fpc version? Try to make any simple project and put a StringGrid on it, Go to Object

Re: [lazarus] Using translations in projects

2005-10-20 Thread Mattias Gaertner
On Thu, 20 Oct 2005 14:11:37 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Alexandre Leclerc wrote: On 9/19/05, Mattias Gaertner [EMAIL PROTECTED] wrote: On Sun, 18 Sep 2005 19:09:35 -0400 Alexandre Leclerc [EMAIL PROTECTED] wrote: On 9/16/05, Mattias Gaertner [EMAIL PROTECTED

Re: [lazarus] Using translations in projects

2005-10-20 Thread Mattias Gaertner
On Thu, 20 Oct 2005 23:36:38 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Thu, 20 Oct 2005 14:11:37 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Alexandre Leclerc wrote: On 9/19/05, Mattias Gaertner [EMAIL PROTECTED] wrote: On Sun, 18 Sep 2005

Re: [lazarus] TApplication.Terminate

2005-10-27 Thread Mattias Gaertner
On Tue, 25 Oct 2005 21:00:52 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Tue, 25 Oct 2005, Alain Michaud wrote: Hi, I had the same problem a while ago. There were some discussions on this list and this seems to be a deep bug. There is no bug. Terminate

Re: [lazarus] Re: About bug 1062

2005-10-28 Thread Mattias Gaertner
On Fri, 28 Oct 2005 07:57:58 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: 1 - Include on the executable only the default glyphing set it will use. The programmer can choose the widget set using a compiler directive perhaps, as I see no other way

Re: [lazarus] Debugging multitheaded application

2005-10-28 Thread Mattias Gaertner
On Fri, 28 Oct 2005 18:18:17 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Horacio Jamilis wrote: Hi, I am porting a multithreaded server application from Delphi to Lazarus (linux). I am using the cThreads unit, and the TThread class. The program is not working properly... I

Re: [lazarus] Debugging multitheaded application

2005-10-28 Thread Mattias Gaertner
the nice IDE windows. I want to debug inside lazarus... or may be I should not? Yes, you can. But then I suggest that you try Marcs suggestions. We should add the tricks to the wiki. Mattias Thanks Horacio - Original Message - From: Mattias Gaertner [EMAIL PROTECTED

Re: [lazarus] Re: About bug 1062

2005-10-29 Thread Mattias Gaertner
On Sat, 29 Oct 2005 13:12:31 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: We should convert them to another format (say png) anyway. We can't. I have never seeing PNG work for glyphs on Lazarus. Why? I just tested linux/gtk and wine/win and both work

Re: [lazarus] Re: About bug 1062

2005-10-29 Thread Mattias Gaertner
On Sat, 29 Oct 2005 13:20:02 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: DefaultGlyphsNone -- Does not include any glyphs (the programmer can include his own or not) DefaultGlyphsPlatform -- Includes the default glyphs or the ones for the platform

Re: [lazarus] Re: About bug 1062

2005-10-29 Thread Mattias Gaertner
On Sat, 29 Oct 2005 17:34:29 +0200 Mattias Gaertner [EMAIL PROTECTED] wrote: On Sat, 29 Oct 2005 13:20:02 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: DefaultGlyphsNone -- Does not include any glyphs (the programmer can include his own

Re: [lazarus] Re: About bug 1062

2005-10-31 Thread Mattias Gaertner
On Mon, 31 Oct 2005 08:09:05 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: If it returns nil, the default glyph is used. Means: First the widgetset will be asked, and if it also returns nil, the LCL built-in will be used. But if you do this you

Re: [lazarus] lazarus svn 8016 and fpc 2.0.0

2005-10-31 Thread Mattias Gaertner
On Mon, 31 Oct 2005 15:53:30 +0100 Micha__ Wojtaszek [EMAIL PROTECTED] wrote: SVN 8016 FPC 2.0.0 Gentoo Linux Another one: linkscanner.pas(2135,24) Error: Calling convention doesn't match forward linkscanner.pas(2635,38) Error: Incompatible type for arg no. 2: Got procedure variable

Re: [lazarus] problem finding path

2005-11-01 Thread Mattias Gaertner
On Tue, 1 Nov 2005 20:40:46 +0100 (CET) [EMAIL PROTECTED] wrote: Hi, Today I have switched from FPC 2.0.0 to the latest from SVN. But now I have the problem that lazarus cannot seem to find the right path anymore (when compiling a new project I get the error message Can't find unit

Re: [lazarus] Lotsa questions

2005-11-02 Thread Mattias Gaertner
On Wed, 02 Nov 2005 19:01:38 +1100 John Samperi [EMAIL PROTECTED] wrote: [...] LazarusResources.Add;('TForm1','FORMDATA',[ etc... unit1.lrs (3,1) Error identifier not found LazarusResources Add LResources to uses clause. Mattias

Re: [lazarus] Re: Errors during installation of FPC packages

2005-11-02 Thread Mattias Gaertner
On Wed, 2 Nov 2005 16:50:47 -0200 Two new questions: How do I report a bug? Use the bug tracker on the website. How can I solve my problem? Install the xxx.i386.rpm instead of the xxx.src.rpm. Mattias _ To

Re: [lazarus] Re: Code universalizator (D6/FreePascal)

2005-11-03 Thread Mattias Gaertner
On Thu, 3 Nov 2005 20:20:24 +0100 Matej Hausenblas [EMAIL PROTECTED] wrote: On Thursday 3 November 2005 02:11, Felipe Monteiro de Carvalho wrote: Matej Hausenblas wrote: [...] For the moment I've got this working: - I converted a dfm with lazres into lrs (and lfm) - I edited the form under

Re: [lazarus] LazDoc patch

2005-11-03 Thread Mattias Gaertner
On Thu, 3 Nov 2005 17:04:12 +0100 (CET) [EMAIL PROTECTED] wrote: Here's a patch for LazDoc * remove all EnableLazDoc defines from source * converted uniteditor to LFM (as far as it's posiible) * added Example tag editor * added methods for XML parsing * added a link combobox on the link

Re: [lazarus] Using translations in projects

2005-11-04 Thread Mattias Gaertner
On Fri, 04 Nov 2005 16:13:19 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Vincent Snijders wrote: I have similar ideas, but no time to write them all down. IMHO moving translations to the LCL is a first step. I will start working on that first. Is there any reason, we

Re: [lazarus] Using translations in projects

2005-11-04 Thread Mattias Gaertner
On Fri, 04 Nov 2005 17:10:50 +0100 Bogus__aw Brandys [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 04 Nov 2005 16:13:19 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Vincent Snijders wrote: I have similar ideas, but no time to write them all down. IMHO moving

Re: [lazarus] OnWindowStateChange event

2005-11-04 Thread Mattias Gaertner
On Fri, 04 Nov 2005 18:41:23 +0100 dannym [EMAIL PROTECTED] wrote: Hi, since it's missing, I suggest adding a OnWindowStateChange event to TForm (fired when the window manager changed the state of the window, i.e. iconify/restore/maximize/..) I can implement the gtk side (it's

Re: [lazarus] Xinerama

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 11:03:23 + Colin Western [EMAIL PROTECTED] wrote: I attach a patch to the Xinerama support in gtk1. Some recent changes had meant it no longer compiled as is, and I have added a choice between static and dynamic linking. I can get either to work on my Linux system,

Re: [lazarus] Inherited forms

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 11:33:47 + Colin Western [EMAIL PROTECTED] wrote: I attach a patch that provides some of the pieces needed to work with inherited forms. With the patch applied an inherited form will load without error, though the lfm file will be loaded as a text file, rather than

Re: [lazarus] OnWindowStateChange event

2005-11-05 Thread Mattias Gaertner
On Fri, 04 Nov 2005 20:25:46 +0100 dannym [EMAIL PROTECTED] wrote: hi, patch attached. btw I'm not entirely sure if that ought to be split into multiple events, but my gut feeling says no (probably prejudice by gtk experience :)). I changed the event name to comply with mostly every

Re: [lazarus] OnWindowStateChange event

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 16:52:05 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Samstag, den 05.11.2005, 14:08 +0100 schrieb Mattias Gaertner: On Fri, 04 Nov 2005 20:25:46 +0100 dannym [EMAIL PROTECTED] wrote: hi, patch attached. btw I'm not entirely sure if that ought

Re: [lazarus] OnWindowStateChange event

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 17:32:41 +0100 dannym [EMAIL PROTECTED] wrote: [...] I'm no gtk2 expert. Can you fix the flags? Depending on the semantics of WMSize, yes. I'd say just swap the ifs like in the attached patch. Should WMSize get the current state, or the change of state ? I'd think

Re: [lazarus] Inherited forms

2005-11-05 Thread Mattias Gaertner
On Sat, 05 Nov 2005 17:17:47 + Colin Western [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 05 Nov 2005 11:33:47 + Colin Western [EMAIL PROTECTED] wrote: I attach a patch that provides some of the pieces needed to work with inherited forms. With the patch applied

Re: [lazarus] Inherited forms

2005-11-05 Thread Mattias Gaertner
On Sat, 5 Nov 2005 17:05:03 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 5 Nov 2005, Mattias Gaertner wrote: On Sat, 05 Nov 2005 12:32:22 + Colin Western [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 05 Nov 2005 11:33:47 + Colin

Re: [lazarus] icon setting

2005-11-05 Thread Mattias Gaertner
On Sun, 06 Nov 2005 01:13:08 +0100 dannym [EMAIL PROTECTED] wrote: hi, Am Sonntag, den 06.11.2005, 00:57 +0100 schrieb Mattias Gaertner: On Sat, 05 Nov 2005 21:24:47 +0100 dannym [EMAIL PROTECTED] wrote: Hi, setting an icon of a form and then pressing F9 causes exception

Re: [lazarus] make lazarus use gtk 2.6 filechooser

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 08:14:42 +0100 dannym [EMAIL PROTECTED] wrote: Hi, attached is an initial patch to make the gtk 2.6 filechooser work for lazarus (lcl). Still needs some gtk version detection magic I guess (if we want to support gtk2 2.6, that is) Note that gtk 2.8 contains: void

Re: [lazarus] icon setting

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 05:33:00 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 02:39 +0100 schrieb Mattias Gaertner: Can you add DebugLn('TGtkWidgetSet.GetRawImageFromGdkWindow GdkWindow is ... ',RawImageDescriptionAsString(@NewRawImage.Description

Re: [lazarus] icon setting

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 10:42:26 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 10:39 +0100 schrieb Mattias Gaertner: On Sun, 06 Nov 2005 05:33:00 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 02:39 +0100 schrieb Mattias Gaertner

Re: [lazarus] Imagelist

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 10:14:17 + Colin Western [EMAIL PROTECTED] wrote: The attached patch fixes some imagelist problems I have found. With this applied I can use a form with imagelist taken from Delphi on gtk. Thanks. Applied. Mattias

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread Mattias Gaertner
On Sat, 05 Nov 2005 21:21:27 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Samstag, den 05.11.2005, 20:34 +0100 schrieb dannym: Hi, I'm trying to get ShowInTaskbar for gtk2 working. I tried to do it as in the attached patch for a quick test. Doesn't work. It has to do with

Re: [lazarus] Imagelist

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 10:52:57 + Colin Western [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sun, 06 Nov 2005 10:14:17 + Colin Western [EMAIL PROTECTED] wrote: The attached patch fixes some imagelist problems I have found. With this applied I can use a form

Re: [lazarus] icon setting

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 12:01:52 +0100 dannym [EMAIL PROTECTED] wrote: patch attached. [...] gdkimage bpp is _bytes_ per pixel. In the lcl it is compared with a value that is _bits_ per pixel. Because here it is bits per pixel. For example: 32. It seems the bpp meaning vary. We have to

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 12:24:56 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Sonntag, den 06.11.2005, 12:01 +0100 schrieb Mattias Gaertner: On Sat, 05 Nov 2005 21:21:27 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Samstag, den 05.11.2005, 20:34 +0100 schrieb dannym: Hi

Re: [lazarus] Ifdef's in a .lpk file

2005-11-06 Thread Mattias Gaertner
On Sun, 6 Nov 2005 14:21:02 +0100 (MET) [EMAIL PROTECTED] wrote: Hi all, I want to add the TODBCConnection to the SQLDBlaz-package. But to get that to work I need some ifndef fpc2_0_0. But how do I do that in the .lpk? Is that possible? Or can i just add the odbcconn.pp as a dependency,

Re: [lazarus] ShowInTaskbar for gtk2 doesn't work

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 14:27:15 +0100 dannym [EMAIL PROTECTED] wrote: [...] When a form is shown modal, all forms are made transient (this works), and for some unknown reason vanish from the taskbar. Huh... only on gtk1 or on gtk2 too ? I never saw that yet... I didn't made gtk2 tests. AFAIK

Re: [lazarus] Lazarus and FPC Wiki Integration

2005-11-06 Thread Mattias Gaertner
On Sun, 06 Nov 2005 08:55:07 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hi, About a week ago there was a discussion named Lazarus and FPC integration on the fpc mailing list. Now I'd like to propose an effective measure to integrate more FPC and Lazarus: Integrate the

Re: [lazarus] Code editor question

2005-11-07 Thread Mattias Gaertner
On Mon, 07 Nov 2005 23:34:40 +0100 Micha__ Wojtaszek [EMAIL PROTECTED] wrote: Hi Few days ago in svn version was gone maximize buton in code editor. Is there any special reason for this? It was VERY useful buton for me (only 1024x769)... AFAIK this has been fixed 3 hours ago. Mattias

Re: [lazarus] modal forms

2005-11-11 Thread Mattias Gaertner
On Fri, 11 Nov 2005 16:58:35 +0100 barko [EMAIL PROTECTED] wrote: I have project with two forms, on first form is button with: begin form2.showmodal; setfocus; - this is not helping... Some window managers ignore some focus requests. You can try ShowOnTop; end; when I close

Re: [lazarus] error when compile Lazarus on Debian

2005-11-11 Thread Mattias Gaertner
On Fri, 11 Nov 2005 17:15:21 +0100 dannym [EMAIL PROTECTED] wrote: Hi, Am Freitag, den 11.11.2005, 12:17 +0200 schrieb Simeon Mitev: Hi, i have the last svn and try to compile on Debian Linux. all ppu files are being removed and an error stops the process immediately, as follows:

Re: [lazarus] Building Lazarus 20051111 gives Identifier not found.

2005-11-11 Thread Mattias Gaertner
On Fri, 11 Nov 2005 13:22:27 -0300 ogunsett [EMAIL PROTECTED] wrote: I have had a similar problem al to compile this finalizes version. Where I have found that the lazcwstring.even and translations.even files were not found in the folder ide but in the lcl. Nevertheless I had to replace

Re: [lazarus] Custom compiler options not inherited?

2005-11-12 Thread Mattias Gaertner
On Sat, 12 Nov 2005 22:00:07 +0100 Ales Katona [EMAIL PROTECTED] wrote: I'm making a TCP/UDP component package with threads. I make use of the new -Facthreads options and specify it in custom options. The option however does not get inherited into the project which uses my component. Is

Re: [lazarus] setcolor dot'w work

2005-11-13 Thread Mattias Gaertner
On Sun, 13 Nov 2005 13:28:08 +0100 darekM [EMAIL PROTECTED] wrote: Mattias Gaertner napisa?(a): Ok, I change it but whats about GetPixelsPerInch It should not force to create the Handle. If there is no Handle it should return a default value. Mattias Darek On Sun, 13 Nov 2005

Re: [lazarus] Re: .pp .pas files

2005-11-15 Thread Mattias Gaertner
On Tue, 15 Nov 2005 16:03:58 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Graeme Geldenhuys wrote: Is there some rule as to when one must use .pp or .pas file extensions? I come from Delphi where we only use .pas extensions. I think they are the same. I only use .pas on

Re: [lazarus] fpc for laz

2005-11-15 Thread Mattias Gaertner
On Tue, 15 Nov 2005 19:57:48 +0200 Bob Barry [EMAIL PROTECTED] wrote: Version of svn fpc is now 2.1.1. Version of svn fixes is now 2.0.3. Which is currently recommended for Lazarus? 2.0.3 is more tested. 2.1.1 is less stable, but may have new features you need. Mattias

Re: [lazarus] TBitBtn and custom glyph

2005-11-15 Thread Mattias Gaertner
On Tue, 15 Nov 2005 10:40:22 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: I use glyphs I bought from GlyFX (bmp files), which has a Fuchsia/Magenta background (mask). When I add a glyph to a bitbtn, I don't want it to show the Fuchsia/Magenta background color on the button. Delphi

Re: [lazarus] Patch for toolbuttons and evaluate dialog (issue 500)

2005-11-15 Thread Mattias Gaertner
On Tue, 15 Nov 2005 09:03:59 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Thanks. Applied. KeyPress replaced with KeyDown. Shouldn't matter, should it ? Not much. VK_RETURN is IMHO just more readable than #13. Mattias

Re: [lazarus] patch files (.diff)

2005-11-15 Thread Mattias Gaertner
On Tue, 15 Nov 2005 09:25:08 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I am using 0.9.10 on win32. Can I attach or include .diff files generated, using Tools-Diff for a few fixes I did locally. Yes. But a normal svn diff is preferred, because it contains version information.

Re: [lazarus] Check if IDE is running

2005-11-15 Thread Mattias Gaertner
On Wed, 16 Nov 2005 00:50:01 +0100 (CET) [EMAIL PROTECTED] wrote: I want to check in my application if the IDE is running or not. The reason for doing that is to prevent unnescesary waiting while debugging. For this reason I thought of using: if Application.ComponentState = [csDesigning]

Re: [lazarus] Patch for lazarusidestrconsts.pas

2005-11-19 Thread Mattias Gaertner
On Fri, 18 Nov 2005 12:16:31 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: A small patch for \lazarus\ide\lazarusidestrconsts.pas fixing the formatting of the GPL Notice that can be inserted by the menu option: Edit - Insert Text - General - GPL Notice Thank. Applied. Mattias

Re: [lazarus] Patch for unitinfodlg.pp

2005-11-19 Thread Mattias Gaertner
On Wed, 16 Nov 2005 12:39:29 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Small patch to fix resizing issues. Lazarus 0.9.10 Applied. Thanks. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Patch for todolist.pp

2005-11-19 Thread Mattias Gaertner
On Wed, 16 Nov 2005 12:36:29 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Small patch to enable RowSelect in the grid. Lazarus 0.9.10 Applied. Thanks. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] Proposition of patch for bugreport 1445 and 1443

2005-11-19 Thread Mattias Gaertner
On Wed, 16 Nov 2005 16:57:45 +0100 Bogus__aw Brandys [EMAIL PROTECTED] wrote: Hello, Proposition attached. Mainly it uses PD_RETURNDC option for printers dialogs and strong returned DC into fDC. This returned DC has all options selected by user applied :-) As for 1143 I suppose it is

Re: [lazarus] Problem with current svn

2005-11-20 Thread Mattias Gaertner
On Sat, 19 Nov 2005 12:44:52 + C Western [EMAIL PROTECTED] wrote: The current svn does not compile: gtkint.pp has {$I gtkfiledialogutilsh.inc} but gtkfiledialogutilsh.inc does not exist Sorry. My fault. Fixed. Mattias _

Re: [lazarus] Editor tab width

2005-11-22 Thread Mattias Gaertner
On Tue, 22 Nov 2005 13:09:54 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Note that 'smart tabs' and 'tabs to spaces' might interfere with this setting. I did disable 'smart tabs', but left 'tabs to spaces' on. The issue is that if I press the TAB key, it always jumps 8 characters

Re: [lazarus] License and other widet sets

2005-11-22 Thread Mattias Gaertner
On Tue, 22 Nov 2005 09:57:33 +0100 Dan Stefan Rundberget [EMAIL PROTECTED] wrote: I am realy sorry to bother everybody with this question but I just can't use lazarus if I'm not sure I'm doing everything legaly. I guess I expressed my self a little unclear. So I will try again. Joost van der

Re: [lazarus] TStatusBar.panels.Add not working

2005-11-22 Thread Mattias Gaertner
On Tue, 22 Nov 2005 20:48:51 +0200 Alexander Todorov [EMAIL PROTECTED] wrote: I forgot FStatusbar.EndUpdate at the end. It is in the code. I am using Lazarus 0.9.8 Linux / GTK Can you send a small but complete example? Mattias On 11/22/05, Vincent Snijders [EMAIL PROTECTED] wrote:

Re: [lazarus] Listview example patch

2005-11-22 Thread Mattias Gaertner
On Sun, 20 Nov 2005 19:36:25 +0100 Darius Blaszijk [EMAIL PROTECTED] wrote: Here's a patch for the listview example. I just added an lpi file and fixed the uses in the lpr, no big deal, but still. Thanks. Applied. I have however two issues; - combobox in the objectinspector and the

Re: [lazarus] error make after update from svn

2005-11-24 Thread Mattias Gaertner
2005 14:14, Mattias Gaertner a écrit : On Thu, 24 Nov 2005 14:10:10 +0100 jean-marc levecque [EMAIL PROTECTED] wrote: Hi, I am updating from svn, on Linux Mdk10.1, using the procedure described in the wiki, particularly the script svnupdate. It seems to work fine, but everytime I

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Mattias Gaertner
On Fri, 02 Dec 2005 09:47:15 + Malcolm Poole [EMAIL PROTECTED] wrote: I am working on a suite of components for an app which will allow the user to design the layout of a multimedia presentation. The parent component ( or page ) is a TCustomControl descendent, while its children will

Re: [lazarus] MainMenu + TPanel + TSpeedButtons = strange issue

2005-12-02 Thread Mattias Gaertner
On Sun, 27 Nov 2005 19:37:07 +0300 Alex Smirnov [EMAIL PROTECTED] wrote: *Hi, Friends! * I have very strange issue. I made a project, that has main menu and a TPanel, that contains several TSpeedButtons - one TSpeedButton for one menu line. Every menu item has its own OnClick function.

Re: [lazarus] TStatusBar.panels.Add not working

2005-12-02 Thread Mattias Gaertner
On Wed, 23 Nov 2005 10:51:04 +0200 Alexander Todorov [EMAIL PROTECTED] wrote: On 11/22/05, Mattias Gaertner [EMAIL PROTECTED] wrote: On Tue, 22 Nov 2005 20:48:51 +0200 Alexander Todorov [EMAIL PROTECTED] wrote: I forgot FStatusbar.EndUpdate at the end. It is in the code. I am using

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Mattias Gaertner
On Fri, 02 Dec 2005 13:03:07 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 02 Dec 2005 09:47:15 + Malcolm Poole [EMAIL PROTECTED] wrote: I am working on a suite of components for an app which will allow the user to design the layout

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Mattias Gaertner
On Fri, 02 Dec 2005 14:42:36 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: [...] On windows it is not working yet. I cannot figure out how to make the LCL and windows itself work together in managing the capturing. How are they supposed to work together? Let me explain a bit more of my

Re: [lazarus] TCustomControl/TGraphicControl MouseDown

2005-12-02 Thread Mattias Gaertner
On Fri, 02 Dec 2005 16:10:07 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 02 Dec 2005 14:42:36 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: Now, if I let the LCL handle the messages first, the capture is lost when windows handles wm_lbuttonup, which

Re: [lazarus] Running a project allways performs compile and link sequence

2005-12-06 Thread Mattias Gaertner
On Tue, 06 Dec 2005 11:08:23 +0100 Florian Klaempfl [EMAIL PROTECTED] wrote: Vincent Snijders wrote: Yoyong Hernan wrote: Hi All, I guess this question was already asked before but I just couldn't find the mail thread. Anyway, my question is about running a project inside the

Re: [lazarus] Optimise Lazarus for smart linking

2005-12-06 Thread Mattias Gaertner
On Tue, 26 Jul 2005 10:52:47 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Florian Köberle wrote: Vincent Snijders schrieb: Florian Köberle wrote: This table shows you the differnt Units and may help us to find out: How far we can reduce the initialization and finalization part.

Re: [lazarus] Optimise Lazarus for smart linking

2005-12-06 Thread Mattias Gaertner
On Mon, 25 Jul 2005 20:20:52 +0200 Florian Köberle [EMAIL PROTECTED] wrote: Vincent Snijders schrieb: Florian Köberle wrote: This table shows you the differnt Units and may help us to find out: How far we can reduce the initialization and finalization part. table explanation:

Re: [lazarus] Error: Unknown record field identifier Create

2005-12-07 Thread Mattias Gaertner
On Wed, 07 Dec 2005 11:18:22 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: When I use code like this, Lazarus reports the above mentioned error when I compile. snip uses SyncObjs; Are you sure, that this is your whole uses clause? ... var FCriticalSection: TCriticalSection;

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Mattias Gaertner
On Wed, 07 Dec 2005 17:37:13 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Bogus__aw Brandys wrote: Michael Van Canneyt wrote: On Wed, 7 Dec 2005, Micha Nelissen wrote: Michael Van Canneyt wrote: no project related files is really a lot Why ? Lazarus keeps a list of

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-07 Thread Mattias Gaertner
On Wed, 7 Dec 2005 17:28:50 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 7 Dec 2005, Mattias Gaertner wrote: On Wed, 7 Dec 2005 13:15:14 +0100 (Romance Standard Time) Michael Van Canneyt [EMAIL PROTECTED] wrote: [...] Better spend time on an internal linker

Re: [lazarus] A little correction

2005-12-08 Thread Mattias Gaertner
On Thu, 8 Dec 2005 19:07:01 +0100 (CET) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Thu, 8 Dec 2005, Arí Ricardo Ody wrote: At 14:53 8/12/2005, you wrote: (deleted text) Also, change your FIndFirst call so it actually uses the directory name: FileHandle :=

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-09 Thread Mattias Gaertner
On Fri, 09 Dec 2005 11:17:34 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Luiz Americo Pereira Camara wrote: Em Qui, 2005-12-08 às 02:24 -0600, Yoyong Hernan escreveu: I just updated my Lazarus copy now and it is not compiling everytime I run the project. Thanks to everyone

Re: [lazarus] gtkglobals

2005-12-09 Thread Mattias Gaertner
On Fri, 9 Dec 2005 09:25:06 +0100 barko [EMAIL PROTECTED] wrote: create new project, put on form dbmemo and dbgrid , run project and left klik with mouse on dbmemo, then left klick with mouse on dbgrid... Fixed. Mattias _

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-09 Thread Mattias Gaertner
On Fri, 09 Dec 2005 12:19:35 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Belong these units to the project or a package? If not, please add them. Otherwise the IDE does not know, that they are relevant. I'm not sure I can do that, except if Lazarus works

Re: [lazarus] runtime debug info

2005-12-09 Thread Mattias Gaertner
On Fri, 09 Dec 2005 14:11:26 +0200 Simeon Mitev [EMAIL PROTECTED] wrote: Is it possible to output, in runtime, debug info into Lazarus 'Messages' dialog? No. Use instead View - Debug Windows - Debug Output I tried with DebugLn() and DbgOut() but still no results. Mattias

Re: [lazarus] Running a project always performs compile and link sequence

2005-12-09 Thread Mattias Gaertner
On Fri, 09 Dec 2005 15:27:41 +0100 Micha Nelissen [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: You can add units to the lazarus project and remove them from the .lpr file. Or IFDEF them. They are still part of the project (.lpi). Normally when you add a unit to the project, the IDE

Re: [lazarus] Speedbutton image shift after pushing

2005-12-09 Thread Mattias Gaertner
On Thu, 08 Dec 2005 20:51:06 +0100 Martin Smat [EMAIL PROTECTED] wrote: Under win32 it is common that after pushing the speedbutton, the image is shifted one pixel down and right to make nicer effect of pushing. I would like to implement this behavior into LCL but I don't know if this

Re: [lazarus] Selecting in source editor

2005-12-10 Thread Mattias Gaertner
On Sat, 10 Dec 2005 09:31:05 +0100 Mattias Gaertner [EMAIL PROTECTED] wrote: On Sat, 10 Dec 2005 09:22:34 +0100 Vincent Snijders [EMAIL PROTECTED] wrote: jean-marc levecque wrote: Hi, For now some days, I can only select once in the source editor, then I have to save before

Re: [lazarus] Can't compile lazarus-0.9.11-20051211 with gtk 2

2005-12-11 Thread Mattias Gaertner
On Sun, 11 Dec 2005 07:00:29 + (UTC) Fedorax [EMAIL PROTECTED] wrote: Hello, I just install the new fpc 2.0.2 and lazarus-0.9.11-20051211. OS: Linux fedora 4 All work fine except if i want rebuild lazarus with gtk 2 option. I receive this error:

Re: [lazarus] Adding Lazarus to the list of MacOS developer tools

2005-12-11 Thread Mattias Gaertner
On Sun, 11 Dec 2005 16:42:53 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Thierry Coq wrote: Hello, I looked at Apple's list of development tools, and Lazarus is missing. I don't know if it is missing. It's not a native Mac app. You need X to run lazarus. There are java

Re: [lazarus] behavior of project dialog forms

2005-12-13 Thread Mattias Gaertner
On Sun, 11 Dec 2005 20:59:29 +0100 barko [EMAIL PROTECTED] wrote: The project dialog forms are resizable (lazarus on linux, gtk, latest from svn). This is not a good behavior, i think :) They should only be *not* resizeable, if they use a fixed size. Since Lazarus aims to be platform

Re: [lazarus] Code Explorer enhancement

2005-12-14 Thread Mattias Gaertner
On Wed, 14 Dec 2005 13:18:55 +0100 Florian Klaempfl [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Wed, 14 Dec 2005 12:11:18 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I find that the words function and procedure causes a lot of unnecessary horizontal scrolling

Re: [lazarus] bug tracker error and bug in listbox

2005-12-15 Thread Mattias Gaertner
On Thu, 15 Dec 2005 02:01:54 -0800 Dale Welch [EMAIL PROTECTED] wrote: I tried to sign up for an account to report bugs but on the web page i get = APPLICATION ERROR #12 This account is protected. You are not allowed to access this until the account protection is lifted.

Re: [lazarus] Snapshot and latest subversion very unstable

2005-12-16 Thread Mattias Gaertner
On Fri, 16 Dec 2005 11:32:52 +0100 Joost van der Sluis [EMAIL PROTECTED] wrote: The latest snapshot for win32 and the latest subversion for Linux seam to be the definition of what I would call unstable. I'm also experiencing problems. I think the problems are related to the codetools...

Re: [lazarus] Snapshot and latest subversion very unstable

2005-12-16 Thread Mattias Gaertner
On Fri, 16 Dec 2005 12:05:08 +0100 Joost van der Sluis [EMAIL PROTECTED] wrote: I'm also experiencing problems. I think the problems are related to the codetools... codetools use a lot of ansistrings and is a heavy user of the memory manager. I suspected the codetools since

Re: [lazarus] Re: Snapshot and latest subversion very unstable

2005-12-16 Thread Mattias Gaertner
On Fri, 16 Dec 2005 10:13:06 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: No. The current 2.0.3 does not work. For example: The unit 'gl' calls FreeLibrary(0). Formerly this worked, now it crashes. Ok, to clear where the problem is, either FPC

Re: [lazarus] Snapshot and latest subversion very unstable

2005-12-16 Thread Mattias Gaertner
On Fri, 16 Dec 2005 13:18:11 +0100 Joost van der Sluis [EMAIL PROTECTED] wrote: On Fri, 2005-12-16 at 13:10 +0100, Mattias Gaertner wrote: I'm also experiencing problems. I think the problems are related to the codetools... codetools use a lot of ansistrings

Re: [lazarus] Snapshot and latest subversion very unstable

2005-12-16 Thread Mattias Gaertner
On Fri, 16 Dec 2005 16:08:33 +0100 Joost van der Sluis [EMAIL PROTECTED] wrote: On Fri, 2005-12-16 at 13:35 +0100, Mattias Gaertner wrote: I'm also experiencing problems. I think the problems are related to the codetools... codetools use a lot of ansistrings

Re: [lazarus] Re: How c++ bindings work

2005-12-17 Thread Mattias Gaertner
On Sat, 17 Dec 2005 11:10:24 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Michalis Kamburelis wrote: Try old_error := XSetErrorHandler(@TempX11ErrorHandler); (i.e. add @ there). AFAIK during 2.0.1 some changes were made to require @ in more situations when passing

Re: [lazarus] Re: Snapshot and latest subversion very unstable

2005-12-18 Thread Mattias Gaertner
On Sun, 18 Dec 2005 09:10:47 -0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Micha disabled the code. It is still available if you compile with -dUseAsyncProcess. but why would this interfere with win32? Wasn´t that gtk only? You are right. I

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