Re: [lazarus] App bundle and icons for x11 apps on macintosh

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 10:54:12 -0400 Hess, Philip J [EMAIL PROTECTED] wrote: Albert, Please test the latest NeoOffice. I believe a year ago it was still at OO 1.1. Much improved since then. Maybe you missed the point of Felipe. At the moment the only LCL interface for MacOSX that is good

Re: [lazarus] patch finddeclarationtool

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 18:07:20 +0200 Darius Blaszijk [EMAIL PROTECTED] wrote: This patch implements the method: FindInitializationSection. Thanks. Applied. Mattias _ To unsubscribe: mail [EMAIL PROTECTED] with

Re: [lazarus] GTK2 - Bug with SpinEdit on Modal Dialog

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 14:52:19 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Hi all, Not sure if this affects ALL spinedits or just on modal dialogs, but under GTK2 with the spinedit on a modal form, spinedit.value ALWAYS returns '1' regardless of the actual value - recompile the same app with

Re: [lazarus] Accepting Input on controls which don't have focus

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 13:12:37 +0200 Dave Coventry [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Under gtk mouse wheel normally scrolls whatever is under the mouse, ignoring current focus. The same is true for LCL gtk applications. I'm currently writing this under XP, but intend

Re: [lazarus] Lazarus and Ubuntu 7.04 AMD 64

2007-05-31 Thread Mattias Gaertner
On Thu, 31 May 2007 20:12:19 +0100 Paul Midgley [EMAIL PROTECTED] wrote: Hello Has anyone managed to successfully install Lazarus on Ubuntu 7.04 AMD 64 version. I was able to download Free Pascal for this version of Linux but not Lazarus. I have downloaded the source files for Lazarus and

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 10:34:45 +0200 A.J. Venter [EMAIL PROTECTED] wrote: It seems, gtk_pixmap is creating the disabled image on-the-fly on first paint. So, the flickering is built-in. Because you change the image often, you see it often. Conclusion: gtk1+TBitBtn+disabled = flicker So

Re: [lazarus] Error: Undefined symbol

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 14:56:39 +0200 Roland Turcan [EMAIL PROTECTED] wrote: Hello lazarus project! During compilation of Lazarus after adding new units into component package I get this error message: C:\lazarus\ide\lazarus.pp(117,1) Error: Undefined symbol: RESOURCESTRINGLIST_MSGDLGS

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 13:56:55 +0200 A.J. Venter [EMAIL PROTECTED] wrote: gtk1+TBitBtn+disabled = flicker So the short version is - that GTK1 couldn't do what I needed (a dynamically updated but often disabled set of buttons with pictures on them) without creating a new component.

Re: [lazarus] Error: Undefined symbol

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 21:33:54 +0200 Roland Turcan [EMAIL PROTECTED] wrote: 30.5.2007 19:29 - Mattias Gaertner [EMAIL PROTECTED] MG On Wed, 30 May 2007 14:56:39 +0200 MG Roland Turcan [EMAIL PROTECTED] wrote: Hello lazarus project! During compilation of Lazarus after adding new units

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 22:17:57 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Maybe you can try TSpeedButton instead of TBitBtn. That would only work if I painted the Caption myself would it not ? TSpeedButton has a Caption. Default is ''. In which case... it gets even MORE

Re: [lazarus] Debugger on Mac OS X

2007-05-30 Thread Mattias Gaertner
On Wed, 30 May 2007 19:00:23 -0400 Hess, Philip J [EMAIL PROTECTED] wrote: Felipe, I think you can set Pass Options To The Linker to this: -framework carbon -framework Qt4Intf -lobjc for each new project and then just forget about it. You can then change the widget type to gtk, qt or

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Mattias Gaertner
On Tue, 29 May 2007 11:26:02 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Well I've reduced the flicker a little by doing a few small things (mostly not reloading images unless they have changed). I also set the DoubleBuffered property of the components to true, though I see no effect from

Re: [lazarus] Find Identifier error with FPCMacOSAll unit

2007-05-29 Thread Mattias Gaertner
On Sat, 26 May 2007 15:45:59 +0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hi, Find identifier util from lazarus ide seams to fail when FPCMacOSAll is on the uses clause (gtk ide running on OS X). I already posted a bug report here:

Re: [lazarus] Reducing Flickeron a TImage component

2007-05-29 Thread Mattias Gaertner
On Tue, 29 May 2007 15:11:48 +0200 Mattias Gärtner [EMAIL PROTECTED] wrote: Zitat von A.J. Venter [EMAIL PROTECTED]: DoubleBuffered is a hint for the interface. The gtk2 intf always paints double buffered for each gdkwindow. That means paint events are double buffered, other painting

Re: [lazarus] PascalMagick - TPicture ?

2007-05-28 Thread Mattias Gaertner
On Mon, 28 May 2007 09:28:14 +0200 A.J. Venter [EMAIL PROTECTED] wrote: Hi all, I've had some fun looking at the PascalMagick units which Felipe et. all did - and I must admit to being quite impressed. This however brings up immediately the question (for me at least) - how hard would it be

Re: [lazarus] TUTF8Char declaration

2007-05-24 Thread Mattias Gaertner
On Thu, 24 May 2007 12:40:39 +0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hi, TUTF8Char is declared as: TUTF8Char = string[8]; Why not string[4]? Shouldn't all utf8 chars fit in 4 bytes? Just curious, I saw this while implementing fpgui utf-8 char reception system

Re: [lazarus] TUTF8Char declaration

2007-05-24 Thread Mattias Gaertner
On Thu, 24 May 2007 22:48:05 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Thu, 24 May 2007 12:40:39 +0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: Hi, TUTF8Char is declared as: TUTF8Char = string[8]; Why not string[4]? Shouldn't all

Re: [lazarus] Cannot compile GTK2 lcl anymore

2007-05-23 Thread Mattias Gaertner
On Thu, 24 May 2007 00:59:30 +0200 A.J. Venter [EMAIL PROTECTED] wrote: I don't know what changed but with neither fpc 2.3.1 nor 2.1.4 am I able to compile the LCL for GTK2 as unit gtkint fails to build. Here are the errors I am getting: PPU Loading

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Mattias Gaertner
On Tue, 22 May 2007 09:53:07 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I want to try and implement that feature mentioned in the New since Delphi 7... article. When you type 'begin' and press enter, the editor automatically inserts the blank line and the closing 'end;'

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Mattias Gaertner
On Tue, 22 May 2007 16:56:00 +0800 Paul Ishenin [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Tue, 22 May 2007 09:53:07 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I want to try and implement that feature mentioned in the New since Delphi 7... article. When you

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Mattias Gaertner
On Tue, 22 May 2007 11:07:57 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 5/22/07, Paul Ishenin [EMAIL PROTECTED] wrote: Maybe better to look how delphi store this templates and if possible to use that template file. There I think we can find what actions can trigger template

Re: [lazarus] Lazarus keyword completion addon

2007-05-22 Thread Mattias Gaertner
On Tue, 22 May 2007 15:57:55 +0100 Sam Liddicott [EMAIL PROTECTED] wrote: * Graeme Geldenhuys wrote, On 22/05/07 10:03: On 5/22/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Not yet. But this is easy to implement. The above examples (being/end) are triggered by pressing 'return

Re: new GTK errors in the last week and crashes my apps

2007-05-21 Thread Mattias Gaertner
On Mon, 21 May 2007 11:04:46 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: It means, there is a memory leak. I removed the exception. It should only give a warning. I gather you mean a memory leak in our application

Re: [lazarus] Font color button stay always black

2007-05-21 Thread Mattias Gaertner
On Fri, 18 May 2007 15:28:52 +0200 fedorax [EMAIL PROTECTED] wrote: Hello, In my project i've some buttons whith font color clwhite but when i run project all buttons font color turn to black. In the ide when i change font color button the color change in the IDE but if i close the

Re: new GTK errors in the last week and crashes my apps

2007-05-21 Thread Mattias Gaertner
On Mon, 21 May 2007 11:36:34 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I'm not sure where the mem leak is. Formerly the gtk interface did not check and simply freed the object, risking strange errors. OTOH the win32/64 intf

Re: [lazarus] SetWindowFullScreen broken

2007-05-21 Thread Mattias Gaertner
On Mon, 21 May 2007 10:50:51 +0200 A.J. Venter [EMAIL PROTECTED] wrote: So should I then assume that nobody else can/will help me figure out how to fix this ? I must admit that (even though I wrote [most of] the orriginal functions in the gtk interface) I have no clue why the newer compiler

Re: [lazarus] SetWindowFullScreen broken

2007-05-21 Thread Mattias Gaertner
On Mon, 21 May 2007 11:58:38 +0200 A.J. Venter [EMAIL PROTECTED] wrote: On 5/21/07, Mattias Gaertner [EMAIL PROTECTED] wrote: On Mon, 21 May 2007 10:50:51 +0200 A.J. Venter [EMAIL PROTECTED] wrote: So should I then assume that nobody else can/will help me figure out how to fix

Re: [lazarus] Installing of new package

2007-05-15 Thread Mattias Gaertner
On Tue, 15 May 2007 10:21:54 +0200 Roland Turcan [EMAIL PROTECTED] wrote: Hello [EMAIL PROTECTED] I have created a package, which contains my components. Process of compilation reports, that it is successfully completed, but during installation compiler reports, that in /ide/main.pp

Re: [lazarus] Debugging a Range Check Error on Mac OS X

2007-05-15 Thread Mattias Gaertner
On Mon, 14 May 2007 01:38:30 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 14 May 2007 00:39:47 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 12 May 2007 15:47:25 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias

Re: [lazarus] rotated text

2007-05-15 Thread Mattias Gaertner
On Sun, 13 May 2007 16:06:35 +0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: AFAIK, the correct way to draw rotated texts is to use the functions on LCLIntf. Yes and no. No, because you should use TFont and not the LCLIntf directly. Yes, because it will probably done this way.

Re: Object Inspector crash, and other interesting stuff

2007-05-15 Thread Mattias Gaertner
On Fri, 11 May 2007 21:07:57 +0100 pineal [EMAIL PROTECTED] wrote: On Friday 11 May 2007 18:07, Mattias Gaertner wrote: I am having the same problems today after updating at lunch time.I use PCLinuxOS 93a with KDE desktop and fpc 2.0.4. Please test, if this is fixed too. Mattias

Re: [lazarus] Debugging a Range Check Error on Mac OS X

2007-05-13 Thread Mattias Gaertner
On Mon, 14 May 2007 00:39:47 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 12 May 2007 15:47:25 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 12 May 2007 11:57:37 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Tobias

Re: [lazarus] how to debug the lcl

2007-05-12 Thread Mattias Gaertner
On Fri, 11 May 2007 22:21:53 +0100 Sam Liddicott [EMAIL PROTECTED] wrote: Well spotted. These days such metric gathering should be done lazily and in a way that the metrics can be invalidated and lazily regathered again, such as when theme font sizes change etc. Yes. Windowed controls

Re: [lazarus] Debugging a Range Check Error on Mac OS X

2007-05-12 Thread Mattias Gaertner
On Sat, 12 May 2007 11:57:37 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Tobias Giesen wrote: Hello, I am using one very simple form which I converted from a .dfm file using lazres. It shows fine, but when I click on a button whose ModalResult should close the form, I get a Range

Re: [lazarus] Lazarus Character map and UTF

2007-05-12 Thread Mattias Gaertner
On Sat, 12 May 2007 16:18:42 +0300 ik [EMAIL PROTECTED] wrote: Hi, GTK1.2 does not support Unicode and UTF8 charset at all, only latin1. Where did you get this information? Gtk2 only supports UTF-8, while GTK1.2 only supports the current characterset (e.g. UTF-8 or ISO). The LCL gtk (1+2)

Re: [lazarus] Debugging a Range Check Error on Mac OS X

2007-05-12 Thread Mattias Gaertner
On Sat, 12 May 2007 15:47:25 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 12 May 2007 11:57:37 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Tobias Giesen wrote: Hello, I am using one very simple form which I converted from a .dfm file using lazres

Re: [lazarus] Lazarus Character map and UTF

2007-05-12 Thread Mattias Gaertner
On Sat, 12 May 2007 10:05:09 -0400 Luis R. Hilario B. [EMAIL PROTECTED] wrote: View mapc.png 2007/5/12, Mattias Gaertner [EMAIL PROTECTED]: On Sat, 12 May 2007 16:18:42 +0300 ik [EMAIL PROTECTED] wrote: Hi, GTK1.2 does not support Unicode and UTF8 charset at all, only latin1

Re: [lazarus] Weird crash - update

2007-05-11 Thread Mattias Gaertner
On Fri, 11 May 2007 10:41:48 +0200 A.J. Venter [EMAIL PROTECTED] wrote: The crash returned the moment I tried to do a 'build lazarus' from inside the IDE. Still not sure what's going on though. I am using pclinuxOS 2004, I have installed the lazarus package from synaptic (to get all the

Re: Object Inspector crash, and other interesting stuff

2007-05-11 Thread Mattias Gaertner
On Thu, 10 May 2007 18:37:50 +0100 pineal [EMAIL PROTECTED] wrote: On Thursday 10 May 2007 17:45, Charl van Jaarsveldt wrote: I forgot to mention that I have svn r11124 and lazarus is compiled for gtk1, using Ubuntu Feisty. On 5/10/07, Charl van Jaarsveldt [EMAIL PROTECTED] wrote: Hi,

Re: [lazarus] how to debug the lcl

2007-05-11 Thread Mattias Gaertner
On Fri, 11 May 2007 11:03:16 -0600 Seth Grover [EMAIL PROTECTED] wrote: A month ago I reported a LCL bug causing a crash in GTK. http://freepascal.org/mantis/view.php?id=8610 Since it hadn't been looked at by any of the developers yet, I wanted to try to see if I could figure out if there

Re: [lazarus] Support for Wince Dialog OK button

2007-05-11 Thread Mattias Gaertner
On Thu, 10 May 2007 22:09:14 +0200 Patrick Chevalley [EMAIL PROTECTED] wrote: 2007/5/10, Mattias Gaertner [EMAIL PROTECTED]: Or, if the 'ok' button of the wince form is merely a 'default' button, then if (TheForm.DefaultControlnil) then TheForm.DefaultControl.ExecuteDefaultAction

Re: [lazarus] Support for Wince Dialog OK button

2007-05-10 Thread Mattias Gaertner
On Wed, 9 May 2007 13:43:47 +0200 Patrick Chevalley [EMAIL PROTECTED] wrote: 2007/5/8, Mattias Gaertner [EMAIL PROTECTED]: I'm not sure. No other widget set supports forms with Ok buttons. Only close buttons. That's why everyone puts an OK-TButton on every dialog. Right

Re: [lazarus] Support for Wince Dialog OK button

2007-05-08 Thread Mattias Gaertner
On Tue, 08 May 2007 19:17:08 +0200 Patrick Chevalley [EMAIL PROTECTED] wrote: This patch add support for the small OK button that appear in the top menu when a form borderstyle is bsDialog. This work as documented, this button send WN_COMMAND with IDOK. The patch directly set ModalResult to

Re: [lazarus] Inserting class definition

2007-05-05 Thread Mattias Gaertner
On Sat, 05 May 2007 02:03:59 +0200 Darius Blaszijk [EMAIL PROTECTED] wrote: I would like to insert a new class definition through the code tools. eg: TMyClass = class(TObject) end; Is this possible using currently available methods in TCodeTool? Or should I create a new method that

Re: [lazarus] Bug 8811 makes IDE unworkable in GTK1

2007-05-05 Thread Mattias Gaertner
On Fri, 4 May 2007 09:10:59 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi Mattias Your changes in revision r11013 broke the TListBox in GTK1. I tried to have a look at what was changed in that revision, to see if I can rectify the issue. Unfortunately I couldn't make head or tail

Re: [lazarus] Inserting class definition

2007-05-05 Thread Mattias Gaertner
On Sat, 05 May 2007 17:58:47 +0200 Darius Blaszijk [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sat, 05 May 2007 02:03:59 +0200 Darius Blaszijk [EMAIL PROTECTED] wrote: I would like to insert a new class definition through the code tools. eg: TMyClass = class(TObject

Re: [lazarus] Traversing TCodeTree

2007-05-04 Thread Mattias Gaertner
On Fri, 04 May 2007 16:22:36 +0200 Darius Blaszijk [EMAIL PROTECTED] wrote: Ok thanks, I will look if I can steal some code from there ;) Darius Vincent Snijders wrote: Darius Blaszijk schreef: Hi, I have problems understanding how to traverse a CodeTree. The code I'm talking

Re: [lazarus] Patch for TFilelistbox

2007-05-01 Thread Mattias Gaertner
On Tue, 1 May 2007 12:10:38 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: Hi, Attached is a small patch which publishes the \var{Directory} property of \var{TFileListBox}. While it makes little sense to set this property in the IDE, it does make sense to have it published: -

Re: [lazarus] Patch for colorbox unit.

2007-05-01 Thread Mattias Gaertner
On Tue, 1 May 2007 13:40:21 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: Hi, Attached is another small patch. It adds Property Colors[Index : Integer] : TColor Read GetColor; Thanks. Applied. support to TColorBox and TColorListBox. Especially in the case of TColorListBox

Re: [lazarus] Lazarus Object Inspector locks up

2007-04-30 Thread Mattias Gaertner
On Mon, 30 Apr 2007 01:56:52 +0100 pineal [EMAIL PROTECTED] wrote: I've just updated the latest svn trunk 11037 I use PCLinuxOS 93a and FPC 2.0.4. Everything seems to work fine after initial rebuild (for gtk1). When I rebuild for gtk2 with packages, the build goes fine. Following this,

Re: [lazarus] SpinEdit question

2007-04-30 Thread Mattias Gaertner
On Mon, 30 Apr 2007 18:01:48 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: Hi, Is there any reason why TSpinEdit (and TFloatSpinEdit) do not descend from TCustomEdit ? That's what I would expect, but for some reason this is not so. Does anyone know the reason ? If so, what

Re: [lazarus] Lazarus Object Inspector locks up

2007-04-30 Thread Mattias Gaertner
On Mon, 30 Apr 2007 11:55:09 +0100 pineal [EMAIL PROTECTED] wrote: On Monday 30 April 2007 08:10, Mattias Gaertner wrote: Can you create a backtrace? Start lazarus with gdb: []$ gdb ./lazarus break FPC_RAISEEXCEPTION run backtrace Mattias do you mean like this below? Yes

Re: [lazarus] [patch] - Editor Toolbar (add-on) package

2007-04-30 Thread Mattias Gaertner
On Mon, 30 Apr 2007 12:25:59 +0200 Giuliano Colla [EMAIL PROTECTED] wrote: Graeme Geldenhuys ha scritto: On 4/29/07, Vincent Snijders [EMAIL PROTECTED] wrote: Applied in r11031 Thanks Vincent. Another (or the same) issue. If I configure the toolbar, the newly configured

Re: [lazarus] Error while linking - Sqlite problem?

2007-04-30 Thread Mattias Gaertner
On Sun, 29 Apr 2007 20:10:48 -0400 Lee Jenkins [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Sun, 29 Apr 2007 12:27:44 -0400 Lee Jenkins [EMAIL PROTECTED] wrote: Lee Jenkins wrote: Lee Jenkins wrote: Hi all, I had a project successfully building on both Windows and Linux

Re: [lazarus] Codetools question

2007-04-29 Thread Mattias Gaertner
On Sat, 28 Apr 2007 21:10:03 +0200 Darius Blaszijk [EMAIL PROTECTED] wrote: I have some codetools questions, can anyone help? - retrieve the list of available classes in the interface section of a unit What do you mean with 'available'? To find all classes defined in an interface: I added

Re: [lazarus] small bugs

2007-04-29 Thread Mattias Gaertner
On Sun, 29 Apr 2007 11:53:10 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: Hi, For TLabeledEdit, the properties echomode and autoselect are not published. Attached patch fixes this. Thanks. Applied. Unless I misunderstand something, 'echomode=emNone' does not seem to

Re: [lazarus] small bugs

2007-04-29 Thread Mattias Gaertner
On Sun, 29 Apr 2007 12:38:52 +0200 Mattias Gaertner [EMAIL PROTECTED] wrote: On Sun, 29 Apr 2007 11:53:10 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: Hi, For TLabeledEdit, the properties echomode and autoselect are not published. Attached patch fixes

Re: [lazarus] Spinedit bugs

2007-04-29 Thread Mattias Gaertner
On Sun, 29 Apr 2007 12:17:43 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: Hi, TSpinEdit seems to be missing the following properties when compared to TCustomEdit: - ReadOnly - AutoSelect Other properties are also missing, but are not relevant since only numbers can be

Re: [lazarus] Error while linking - Sqlite problem?

2007-04-29 Thread Mattias Gaertner
On Sun, 29 Apr 2007 12:27:44 -0400 Lee Jenkins [EMAIL PROTECTED] wrote: Lee Jenkins wrote: Lee Jenkins wrote: Hi all, I had a project successfully building on both Windows and Linux. I added SQLite support and while everything compiles fine on Windows, now on the linux box, Lazarus

Re: [lazarus] Another patch for edit controls.

2007-04-29 Thread Mattias Gaertner
On Sun, 29 Apr 2007 17:39:39 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: Hello, The attached patch publishes some missing properties in TEditButton and descendents. At the same time, I have a question: what is the meaning of the OnEditingDone property of TEdit ? When is

Re: [lazarus] Another patch for edit controls.

2007-04-29 Thread Mattias Gaertner
On Sun, 29 Apr 2007 17:39:39 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: Hello, The attached patch publishes some missing properties in TEditButton and descendents. Thanks. Applied. Mattias _ To

Re: [lazarus] patch for new IDE images

2007-04-29 Thread Mattias Gaertner
On Sun, 29 Apr 2007 20:24:23 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, I submitted a patch to Mantis for the new IDE images. http://www.freepascal.org/mantis/view.php?id=8786 Thanks. Applied. Mattias _ To

Re: [lazarus] images used in Lazarus IDE

2007-04-28 Thread Mattias Gaertner
On Sat, 28 Apr 2007 13:19:41 +0800 Paul Ishenin [EMAIL PROTECTED] wrote: Hello, Graeme Geldenhuys. On 28.04.2007 you wrote: GG Hi, GG For the Editor Toolbar (add-on) package to work correctly GG (visually than is), it needs to grab the glyph associated with GG each registered action

Re: [lazarus] Icon unification

2007-04-28 Thread Mattias Gaertner
On Sat, 28 Apr 2007 13:51:55 +0800 Paul Ishenin [EMAIL PROTECTED] wrote: Hello, [EMAIL PROTECTED] Graeme starts thread about icons unification by sizes/function. And what about their look? Some icons are painted in one style (menu), other icons in second style (toolbar) and I think you can

Re: [lazarus] Locking controls

2007-04-28 Thread Mattias Gaertner
On Fri, 27 Apr 2007 23:52:44 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 4/27/07, Hess, Philip J [EMAIL PROTECTED] wrote: Perhaps you're thinking of the Delphi Edit | Lock Controls command. I'm not aware of any right-click command that locks the form in Delphi. There is no such

Re: [lazarus] images used in Lazarus IDE

2007-04-28 Thread Mattias Gaertner
On Sat, 28 Apr 2007 10:37:43 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: [...] I don't know if Lazarus uses TImageList's internally. I thought they load images directly from the laz_images.lrs resource file using the resource name. In that case, we must just let them both use the same

Re: images used in Lazarus IDE

2007-04-28 Thread Mattias Gaertner
On Sat, 28 Apr 2007 18:06:38 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, * Howmany glyphs are supposed to be in each image file? two images (enabled and disabled): Menu images Is there support for two glyphs per menu item? Not yet. Does Delphi support it? How

Re: [Lazarus] Problem compiling 0.9.23 (11015)

2007-04-27 Thread Mattias Gaertner
On Fri, 27 Apr 2007 16:22:32 +0200 Guadagnini David [EMAIL PROTECTED] wrote: After download the patch for build 11015 (or 11016 is the same) I try to compile but appeare the follow error: Error: No member is provided to access property in file SynCompletion.pas (line 460) the line is

Re: [lazarus] Hiding unneeded FPC hints/notes/warnings

2007-04-26 Thread Mattias Gaertner
On Wed, 25 Apr 2007 20:57:26 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 25 Apr 2007, Micha Nelissen wrote: Mattias Gaertner wrote: Then we need to store at least a checksum of the line somewhere. Or we store the whole hint. For example {%h-ID

Re: [lazarus] Hiding unneeded FPC hints/notes/warnings

2007-04-26 Thread Mattias Gaertner
On Thu, 26 Apr 2007 10:25:05 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Wed, 25 Apr 2007 20:57:26 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Wed, 25 Apr 2007, Micha Nelissen wrote: Mattias Gaertner wrote: Then we need to store

[lazarus] Hiding unneeded FPC hints/notes/warnings

2007-04-25 Thread Mattias Gaertner
Hi all, FPC easily creates such a lot of hints and notes, that you can not see the important hints. Sometimes you can not get rid of the unneeded hints without reducing readability or decreasing performance. It would be cool to simply add a short compiler directive at the place. But afaik there

Re: [lazarus] Hiding unneeded FPC hints/notes/warnings

2007-04-25 Thread Mattias Gaertner
On Wed, 25 Apr 2007 18:41:22 +0200 Micha Nelissen [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: It will add an IDE directive like {%h-} at the end of the line. The add-on filters all hints of this line. Same for notes {%n-} and warnings {%w-}. Perhaps you will want to disable only

Re: [lazarus] devel: Imaging, Mask vs. Alpha

2007-04-19 Thread Mattias Gaertner
On Thu, 19 Apr 2007 12:55:22 +0300 Razvan Adrian Bogdan [EMAIL PROTECTED] wrote: If this clears anything some image formats support both Mask and Alpha, the first wich comes in mind is .ico wich does support alpha, mask and multiple sized icons, and i think .cur and .ani also ... .ico is a

Re: [lazarus] New name for the win32 widget set?

2007-04-18 Thread Mattias Gaertner
On Wed, 18 Apr 2007 12:19:39 -0400 Andrew Haines [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho wrote: If the name is winapi, it will be a little strange to have the files: winapiwinapi.inc and winapiwinapih.inc It's the right name. They map LCL winapi like calls to the winapi. Maybe

Re: [lazarus] devel: Imaging, Mask vs. Alpha

2007-04-17 Thread Mattias Gaertner
On Mon, 16 Apr 2007 22:46:49 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 16 Apr 2007 11:20:55 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Continuing my TRawImageQuestion. While implementing cursors and imagelists, Paul and I start to get confused

Re: [lazarus] devel: Imaging, Mask vs. Alpha

2007-04-17 Thread Mattias Gaertner
On Tue, 17 Apr 2007 10:24:36 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 16 Apr 2007 22:46:49 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Mon, 16 Apr 2007 11:20:55 +0200 Marc Weustink [EMAIL PROTECTED] wrote

Re: [lazarus] listview example cannot be loaded in the IDE on win64

2007-04-16 Thread Mattias Gaertner
On Mon, 16 Apr 2007 08:01:07 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: On Sun, 15 Apr 2007 23:01:28 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Questions: * Is this code actually to be executed? Was it designed so that the IDE could execute

Re: [lazarus] listview example cannot be loaded in the IDE on win64

2007-04-16 Thread Mattias Gaertner
On Mon, 16 Apr 2007 08:49:53 +0200 Mattias Gaertner [EMAIL PROTECTED] wrote: On Mon, 16 Apr 2007 08:01:07 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Mattias Gaertner schreef: On Sun, 15 Apr 2007 23:01:28 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Questions

Re: [lazarus] listview example cannot be loaded in the IDE on win64

2007-04-16 Thread Mattias Gaertner
On Mon, 16 Apr 2007 10:07:15 +0200 Martin Schreiber [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: Of course this trick works only for methods, not procedures. There are two alternatives: 1. set all events to nil and extend TReader and friends to use some highly sophisticated

Re: [lazarus] listview example cannot be loaded in the IDE on win64

2007-04-16 Thread Mattias Gaertner
On Mon, 16 Apr 2007 14:56:01 +0200 Martin Schreiber [EMAIL PROTECTED] wrote: On Monday 16 April 2007 10.32, Mattias Gaertner wrote: It is no more necessary in MSEide version 1.2. In 1.0 I used code to hold the method lookup number. In 1.2 code and data are swapped before/after streaming

Re: [lazarus] devel: Imaging, Mask vs. Alpha

2007-04-16 Thread Mattias Gaertner
On Mon, 16 Apr 2007 11:20:55 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Continuing my TRawImageQuestion. While implementing cursors and imagelists, Paul and I start to get confused. It appears that Mask and Alpha are treated as equal while in fact they are each others inverse. (An 1 in a

Re: [lazarus] listview example cannot be loaded in the IDE on win64

2007-04-16 Thread Mattias Gaertner
On Mon, 16 Apr 2007 21:35:32 +0200 Martin Schreiber [EMAIL PROTECTED] wrote: On Monday 16 April 2007 19.17, Mattias Gaertner wrote: On Mon, 16 Apr 2007 14:56:01 +0200 Does this mean during streaming Assigned(OnClick) is true? Yes. But then you need if [csReading,csWriting

Re: [lazarus] listview example cannot be loaded in the IDE on win64

2007-04-15 Thread Mattias Gaertner
On Sun, 15 Apr 2007 23:01:28 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Hi, I am trying to find out why the listview example doesn't load in the IDE on windows 64. I enabled and added some debugln's and got this information. The listview has an empty

Re: [lazarus] devel: TRawImage questions

2007-04-15 Thread Mattias Gaertner
On Mon, 16 Apr 2007 00:40:08 +0200 Marc Weustink [EMAIL PROTECTED] wrote: Hi, I'm currently reworking/verifying TLazIntfImage/TRawImage and ran into sume questions. Since the devel list is down. I'll ask it here. 1)What is the purpose of CreateBitmapFromRawImage ? When looking at the

Re: fpgui and lcl bare minimum diff

2007-04-09 Thread Mattias Gaertner
On Mon, 9 Apr 2007 12:11:30 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: On 4/9/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Are there any circle dependencies or inlines in fpGUI? No circle dependencies that I can see. The only unit that is referencing the StyleManger

Re: [lazarus] [patch] - LCL for fpGUI

2007-04-09 Thread Mattias Gaertner
On Mon, 9 Apr 2007 13:08:11 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Attached is a minor patch updating the LCL/fpGUI units to reflect the new class names in fpGUI. The fpGUI class names changed to include a prefix to resolve the namespace issues with the LCL class names.

Re: [lazarus] TSpeedButton response to multiple clicks

2007-04-06 Thread Mattias Gaertner
On Fri, 06 Apr 2007 11:29:50 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: See http://www.freepascal.org/mantis/view.php?id=8625 Is it useful to allow DblClick events for TSpeedButton or shouldn't TSpeedButton then have csMultiClicks removed by default? What is the VCL doing here?

Re: fpgui and lcl bare minimum diff

2007-04-06 Thread Mattias Gaertner
On Fri, 6 Apr 2007 15:29:33 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: All the include files have been renamed in fpGUI (r78). Thanks. Download the gui and gfx directory to lcl/interfaces/fpgui/. See the lcl/interfaces/fpgui/README.txt for hints. Note: Do not open the .lpk and do not

Re: fpgui and lcl bare minimum diff

2007-04-06 Thread Mattias Gaertner
On Fri, 6 Apr 2007 17:15:49 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi Mattias, fpguiwsprivate.pp is missing from the Lazarus svn. I had a look in the 2nd patch Andrew sent, and was include there. Oops. Added. fpGUI contains x11 and gdi as backend widgetsets. At the moment the

Re: fpgui and lcl bare minimum diff

2007-04-06 Thread Mattias Gaertner
On Fri, 06 Apr 2007 11:48:47 -0400 Andrew Haines [EMAIL PROTECTED] wrote: [EMAIL PROTECTED] wrote: Felipe, do you also get the issue with the StyleManager unit not being found? I'm looking at the fpGUI code now (again) to see if I did something stupid, but can't find anything out of the

Re: [lazarus] fsSplash Form in a project

2007-04-06 Thread Mattias Gaertner
On Fri, 06 Apr 2007 21:33:17 +0400 Alex Smirnov [EMAIL PROTECTED] wrote: *Dear Colleagues,* Can you, please, help me to understand how to work with fsSplash form? So the description of my problem is that: 1)I have some project in Linux that spends 10-20 seconds to initialize its classes.

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Mattias Gaertner
On Tue, 03 Apr 2007 11:08:03 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho schreef: What other doubts do we have about this subject? I spoke with Marc on irc (#lazarus-ide). There were two open issues, for which I wanted feedback of other developers. 1.

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Mattias Gaertner
On Tue, 3 Apr 2007 17:51:08 +0300 Al Boldi [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho wrote: On 4/3/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Can someone give a short example or point me to the right mail, where AllocateHWnd is needed and why it must be implemented

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Mattias Gaertner
On Tue, 3 Apr 2007 19:07:14 +0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 4/3/07, Mattias Gaertner [EMAIL PROTECTED] wrote: I got the impression, there is no short example for the need of AllocateHWnd. The only reason seems to be making it easier to port a special winapi

Re: [lazarus] docs on BorderSpacing [CellAlignHorizontal CellAlignVertical]

2007-04-02 Thread Mattias Gaertner
On Mon, 2 Apr 2007 12:07:29 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: Hi, Any know of some documentation on TGroupBox and TPanel's BorderSpacing property. Doing a WIKI search for BorderSpacing didn't show anything usefull. In the Object Inspector, BorderSpacing, has

Re: TGroupBox.BorderStyle missing

2007-04-02 Thread Mattias Gaertner
On Mon, 2 Apr 2007 14:27:40 +0200 Graeme Geldenhuys [EMAIL PROTECTED] wrote: I filed a bug report for this. http://www.freepascal.org/mantis/view.php?id=8608 It affects the following components I far as I can see. TListView, TGroupBox and TRadioGroup. The main problems is that the

Re: [lazarus] Debug without recompile

2007-04-01 Thread Mattias Gaertner
On Sun, 1 Apr 2007 08:16:59 +0200 Felipe Monteiro de Carvalho [EMAIL PROTECTED] wrote: On 3/31/07, Mattias Gaertner [EMAIL PROTECTED] wrote: Solution: add them to the project or package. Does that include images, resource files, and other things like that? Yes. Mattias

Re: [lazarus] Fixed Debian package 0.9.22-1

2007-04-01 Thread Mattias Gaertner
On Sat, 31 Mar 2007 18:16:07 +0200 Marco Ciampa [EMAIL PROTECTED] wrote: On Sat, Mar 31, 2007 at 03:51:28PM +0200, Mattias Gaertner wrote: The debian package had wrong links. I upoaded a new debian package 0.9.22-1 with correct links to startlazarus, lazarus and lazbuild. http

Re: [lazarus] Debug without recompile

2007-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2007 11:48:57 +0200 Vincent Snijders [EMAIL PROTECTED] wrote: Felipe Monteiro de Carvalho schreef: Hello, I´ve being trying to debug a complex bug with lazarus, so I go step-by-step again, and again, trying to find out where and why things go wrong. The problem is

Re: [lazarus] Debug without recompile

2007-03-31 Thread Mattias Gaertner
On Sat, 31 Mar 2007 12:22:03 +0200 (CEST) Michael Van Canneyt [EMAIL PROTECTED] wrote: On Sat, 31 Mar 2007, Vincent Snijders wrote: Felipe Monteiro de Carvalho schreef: Hello, I´ve being trying to debug a complex bug with lazarus, so I go step-by-step again, and again,

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