Re: [lazarus] Canvas.StretchDraw with a Masked Bitmap

2007-07-14 Thread Marc Weustink
Graeme Geldenhuys wrote: On 14/07/07, Marc Weustink [EMAIL PROTECTED] wrote: What i did there was maskdraw the unscaled source, on a black alpha image (iirc) and then alpha draw the result streched. In theory there shouldn't be a mask color anymore, but somehow you still see some remains

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: Hi, I just tested the Lazarus IDE with carbon, and it loads and looks reasonable: http://magnifier.sourceforge.net/photos/Fullscreen_1.png =) It cannot be used, because SynEdit doesn't work (lot's of bugs: no Caret, when moves around the text the new text

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 7/12/07, Marc Weustink [EMAIL PROTECTED] wrote: One more ide to check, before I commit my alpha patch :( (at this moment lazarus doesn't even start) which alpha patch is that? the one in branches/marc-lcl Marc

Re: [lazarus] Carbon native IDE

2007-07-12 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 7/12/07, Marc Weustink [EMAIL PROTECTED] wrote: the one in branches/marc-lcl What I mean it: What does it have of special? =) It adds alpha support to the widgetsets Marc

Re: [lazarus] form embedded in another form

2007-07-09 Thread Marc Weustink
Razvan Adrian Bogdan wrote: Placing a form in another form at runtime is sometimes more useful than frames since forms have more properties and events than frames Then frames should be extended. Having more porperties is not an issue, having more usefull properties is. and they can be

Re: [lazarus] form embedded in another form

2007-07-09 Thread Marc Weustink
Graeme Geldenhuys wrote: On 09/07/07, Marc Weustink [EMAIL PROTECTED] wrote: Placing a form in another form at runtime is sometimes more useful than frames since forms have more properties and events than frames Then frames should be extended. Having more porperties is not an issue, having

Re: [lazarus] patch for TGtkWidgetSet.DrawText

2007-07-03 Thread Marc Weustink
Luca Olivetti wrote: En/na Marc Weustink ha escrit: clearly marked as an ugly workaround in need of a proper solution. Since I really don't understand the full code, Thats why I didn't apply the patch. I need to get the whole picture. FYI, one key indication that something strange

Re: [lazarus] patch for TGtkWidgetSet.DrawText

2007-06-27 Thread Marc Weustink
Luca Olivetti wrote: En/na Marc Weustink ha escrit: Luca Olivetti wrote: En/na darekm ha escrit: Hi Attached patch repair TGtkWidgetSet.DrawText under GTK2 (I receive crush). Problem was connected with WordWrap. Could someone apply this 3 months old patch (or a similar one)? I

Re: [lazarus] patch for TGtkWidgetSet.DrawText

2007-06-26 Thread Marc Weustink
Luca Olivetti wrote: En/na darekm ha escrit: Hi Attached patch repair TGtkWidgetSet.DrawText under GTK2 (I receive crush). Problem was connected with WordWrap. Could someone apply this 3 months old patch (or a similar one)? I was suffering the same crash until I found it and applied to my

Re: [lazarus] mem leaks

2007-06-22 Thread Marc Weustink
zeljko wrote: Compiled simple project with -gh , and it seem that TForm doesn't call Free() for it's children (created at design time) eg. MainForm - Form1 - - TRadioGroup with 4 radio buttons - TButton - calls Close() of Form1. Tested under linux

Re: [lazarus] mem leaks

2007-06-22 Thread Marc Weustink
zeljko wrote: On Friday 22 June 2007 14:51, Marc Weustink wrote: zeljko wrote: Compiled simple project with -gh , and it seem that TForm doesn't call Free() for it's children (created at design time) eg. MainForm - Form1 - - TRadioGroup with 4 radio buttons

Re: [lazarus] Useless code in win32intf?

2007-06-18 Thread Marc Weustink
Luiz Americo Pereira Camara wrote: Maybe i missed something but what's the meaning of the following code, found in win32callback.inc:710 if lWinControl.ClassName = 'TPairSplitter' then P := P; Probably used while debugging to set a breakpoint marc

Re: [lazarus] form embedded in another form

2007-06-14 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, As the subject says... Is this supported under Lazarus? And under Linux and Windows platforms. Isn't this just a hack to mimick the lack of frames ? Marc I currently have a TabControl on a form. As I change the tabs I want to embed different forms. Here is

Re: [lazarus] WidgetSet define

2007-06-14 Thread Marc Weustink
[EMAIL PROTECTED] wrote: Is there a widgetset define for which widgetset the LCL is compiled for?Something like {$IFDEF GTK1_INTF} {$IFDEF GTK2_INTF} {$IFDEF WIN32_INTF} In one of my units I want to check, so that at compile time I can use the right .inc file for the compiled widgetset. If

Re: [lazarus] Missing 'green check' image used in dialogs

2007-06-12 Thread Marc Weustink
Graeme Geldenhuys wrote: That's the one, but I would never have looked in the LCL directory! Why are there images in that location. I thought images go in the lazarus/images directory? In that dir are only the images for the ide (ide/images migh have been a better place) The images on the

Re: [lazarus] Automatic unsubscribing?

2007-06-06 Thread Marc Weustink
pineal wrote: On Tuesday 05 June 2007 22:52, Marc Weustink wrote: Is it a bug or there is a sort of automatic unsubscribing if one doesn't write messages to the list for some period of time? No. There are I think 2 reasons why you can get unsubscribed: 1: turn your out of office reply

Re: [lazarus] Automatic unsubscribing?

2007-06-05 Thread Marc Weustink
Giulio Bernardi wrote: Hello everybody, I think I got removed from the mailing list because I didn't receive any message from the lazarus mailing list since May 23. Now I subscribed again and it didn't tell me I was already subscribed. Same thing already happened: I subscribed for the first

Re: [lazarus] Graphics32 and Lazarus

2007-06-05 Thread Marc Weustink
Graeme Geldenhuys wrote: On 6/5/07, Christian Budde [EMAIL PROTECTED] wrote: Graphics32 is more Delphi orientated I would say. AggPas is more or less a bunch of classes and routines, while Graphics32 is somehow more integrated. At lest in my eyes. When I looked at AggPas for a possible

Re: [lazarus] Lazarus history (version 0.1)

2007-06-02 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Has anybody got screenshots or source code archives of really old Lazarus versions? I'm talking of 0.1 or 0.2 versions here? It would be interesting to see how things have evolved since those early days. The oldest screenshot I could find was from may 2002:

Re: [lazarus] Using gtk2 interface on Macs

2007-06-01 Thread Marc Weustink
Mattias Gaertner wrote: On Fri, 1 Jun 2007 12:41:54 -0400 Hess, Philip J [EMAIL PROTECTED] wrote: Felipe, When I tested gtk2 on OS X last winter, I installed Gimp and then just linked against its gtk2 libraries. http://www.apple.com/downloads/macosx/unix_open_source/ Gimp is a universal

Re: [lazarus] Screenshots on mac

2007-06-01 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 6/1/07, Mattias Gaertner [EMAIL PROTECTED] wrote: command+shift+4 Yes, but I press it, a aim appears, so I click on the screen ... and nothing happens (that I can notice at least) What I sometimes used was, VNC to my mac, take screenshot of VNC,

Re: [lazarus] Debugger on Mac OS X

2007-05-26 Thread Marc Weustink
Tom Gregorovic wrote: Felipe Monteiro de Carvalho napsal(a): Hi, Does the debugger work on gtk ide running on mac os x? I set gdb as my debugger, made a very simple carbon app (pure carbon, not lcl), set some breakpoints on the software beginning, but when I run it nothing happens. I mean,

Re: [lazarus] TUTF8Char declaration

2007-05-25 Thread Marc Weustink
Mattias Gaertner wrote: 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

Re: [lazarus] TUTF8Char declaration

2007-05-24 Thread Marc Weustink
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 utf8 chars fit in 4 bytes? Just curious, I saw this while implementing fpgui utf-8 char

Re: [lazarus] Lazarus keyword completion addon

2007-05-23 Thread Marc Weustink
Andrew Haines wrote: That would be very, very nice to have: Case Correction. I know that its not integral, but I am a stickler for case consistency and a feature like that would help me save time by not having to hit shift so much. Case correction is also help to avoid spelling mistake for

Re: [lazarus] New TThemeServices class

2007-05-21 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, I understand the TThemeServices class from the original QThemes project. Under Windows XP in hooked into the uxthemes dll to do the painting or something. Under other platforms like Linux in used composite images. Does Lazarus support the later theming as well

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Here is some interesting Delphi features I found title: New since Delphi 7... Anybody interested in implementing a few. At least FPC and Lazarus beat them to a few of those!! :-) New IDE features since Delphi 7 http://dn.codegear.com/article/34325 New VCL

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Marc Weustink
Graeme Geldenhuys wrote: On 5/21/07, Michael Van Canneyt [EMAIL PROTECTED] wrote: Class has an implicit pointer. record doesn't. But it already exists in FPC: an object (TP style). This IS a record with methods. Ah, so that is what a Object type is! I always wondered, but never did the

Re: [lazarus] New features since Delphi 7...

2007-05-21 Thread Marc Weustink
Michael Van Canneyt wrote: On Mon, 21 May 2007, Graeme Geldenhuys wrote: On 5/21/07, Marc Weustink [EMAIL PROTECTED] wrote: IIRC, in delphi 1 you couldn't mix classes and objects in the same unit. So you wouldn't use them. I've never used them before... :-) Always thought they were

Re: [lazarus] Setting my own handle for a TCanvas

2007-05-18 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: Hi, I would like to set my own handle for a TCanvas using Gtk interface. I have a GdkPixbuf, and I would like to generate a canvas for it, so I can show my GdkPixbuf on screen using a TCustomControl, and also draw on it, but I'm a little confused about how to

Re: [lazarus] Setting my own handle for a TCanvas

2007-05-18 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: On 5/18/07, Marc Weustink [EMAIL PROTECTED] wrote: First, I advice you not to mess with widgetset internals from the LCL side. There is no guarantee that it will work in the future. I know, but what I'm doing requires that. I'm porting Graphics32 to Lazarus

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

2007-05-15 Thread Marc Weustink
Mattias Gaertner wrote: On Mon, 14 May 2007 01:38:30 +0200 Marc Weustink [EMAIL PROTECTED] wrote: [...snip...] It does not matter if I use mi or the default syntax. In a simple project the break FPC_RAISEEXECPTION works, but on the IDE it does not. For me this sounds like a gdb bug, or a bug

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

2007-05-13 Thread Marc Weustink
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 Giesen wrote: Hello, I am using one very simple form which I converted from a .dfm

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

2007-05-13 Thread Marc Weustink
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 Gaertner wrote: On Sat, 12 May 2007 11:57:37 +0200 Marc Weustink [EMAIL PROTECTED

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

2007-05-12 Thread Marc Weustink
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 Check Error. How can I debug this? The Range Check Error dialog only asks me if I

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

2007-05-12 Thread Marc Weustink
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. It shows fine, but when I click on a button whose ModalResult should close the form

Re: [lazarus] Mouse wheel events

2007-05-09 Thread Marc Weustink
Dave Coventry wrote: Hi, What is the technique for capturing mousewheel events? I've googled extensively and have Dave Jewels 1998 articles in Delphi magazine describing techniques for Windows '95 and '98. Are these techniques compatible with other operating systems? No. Better use the

Re: [lazarus] TControl and public Color property???

2007-05-07 Thread Marc Weustink
Vincent Snijders wrote: Graeme Geldenhuys schreef: On 5/7/07, Vincent Snijders [EMAIL PROTECTED] wrote: An advantage of having it public, is that you can pass a TControl to the widget interface and it can access the Color property without resorting to cast to decendants. I don't know if

Re: [lazarus] About the message dialog composer

2007-05-04 Thread Marc Weustink
SALVATORE COPPOLA wrote: Hi people, about the message dialog composer I sent some time ago (patch[at]lazarus.dommelstein.net): 1. none noticed; 2. lost; 3. trash; 4. under review I hope 4 (but not by me at the moment) and I forgot a bit. I reread the description and it is not fully

Re: [lazarus] SQLquery

2007-05-03 Thread Marc Weustink
Bram Kuijvenhoven wrote: Hi Andrea, Andrea Mauri wrote: I am using TSQLquery with a TIBconnection to an interbase database. I have a query like this: select T1.ID, T1.FIELD1, T2.ID, T2.FIELD1 from TABLE1 T1 left join TABLE2 T2 on T1.ID = T2.ID If I use this query with TSQL query I get an

Re: [lazarus] Icon unification

2007-04-28 Thread Marc Weustink
Mattias Gaertner wrote: 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

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

2007-04-26 Thread Marc Weustink
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 at least a checksum of the line somewhere. Or we store the whole hint. For example

Re: [lazarus] [patch] - New and fixed images for IDE

2007-04-26 Thread Marc Weustink
Graeme Geldenhuys wrote: On 4/26/07, Marc Weustink [EMAIL PROTECTED] wrote: Thanks, updated in r11004 Thanks Marc. The following bug report can be marked as completed. From now on, I will post patches to Mantis instead. I read somewhere it is the preferred way to submit patches (instead

Re: [lazarus] devel: patch for requests for TOpenDialog.OnTypeChange (TSaveDialog.OnTypeChange)

2007-04-20 Thread Marc Weustink
Paul Ishenin wrote: Vincent wrote: Renamed from UpdateFilterIndex to IntfFileTypeChanged. VS The TOpenFileDialogRec is a packed record. Why? It is better not to used packed VS records, unless you have a specific reason to dictate the memory layout. Sorry, this is my internal love to packed

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

2007-04-18 Thread Marc Weustink
Michael Van Canneyt wrote: On Wed, 18 Apr 2007, Florian Klaempfl wrote: Vincent Snijders schrieb: Hi, The win32 widgetset can be used (with more or less success) on several windows versions, starting from windows 95, 98, ME, NT, 2000, XP, XP 64, Vista 64 bits. Because Microsoft has done

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

2007-04-18 Thread Marc Weustink
Tiziano_mk wrote: Vincent Snijders wrote: Hi, The only one I can think of is just win, but that might be a bit short. winX ? It is no X Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as

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

2007-04-18 Thread Marc Weustink
Florian Klaempfl wrote: Marc Weustink schrieb: Sam Liddicott wrote: * Graeme Geldenhuys wrote, On 18/04/07 11:15: On 4/18/07, Marc Weustink [EMAIL PROTECTED] wrote: Or maybe WinGDI ? Because it uses the GDI library widgets... Good one I agree, this one makes the most sense. Even better

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

2007-04-18 Thread Marc Weustink
Mattias Gaertner wrote: 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

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

2007-04-18 Thread Marc Weustink
Vincent Snijders wrote: Marc Weustink schreef: Mattias Gaertner wrote: 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

Re: [lazarus] Bitmap troubles on Win9x

2007-04-18 Thread Marc Weustink
Giulio Bernardi wrote: 8-bit needs palette support which we don't have. Since almost no one needs it, it's unlikely to be implemented. Micha Out of curiosity, what is needed for palette support? A couple of years ago I implemented some classes that implement color quantization, dithering

Re: [lazarus] Maskedit and copyrighted material

2007-04-17 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: The first patch about this is marked as: [snip] For future implementations, I think it´s ok to copy the class declaration on the interface section (or am I wrong?), because you are using it to provide a compatible interface, and then one should not look at

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

2007-04-17 Thread Marc Weustink
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: Continuing my TRawImageQuestion. While implementing cursors and imagelists, Paul and I start

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

2007-04-17 Thread Marc Weustink
Mattias Gaertner wrote: 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

[lazarus] devel: Imaging, Mask vs. Alpha

2007-04-16 Thread Marc Weustink
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 mask means that this part of the image is masked, not drawn, where for alpha

Re: [lazarus] [Major Bug] Mantis is case sensitive when doing searches!

2007-04-16 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Why is Mantis case sensitive for searches This is not a good idea and a lot of bug reports will be missed or not found. This will also be the cause of a lot of duplicate bug reports. Could somebody please disable the case sensitivity! Can you report this in

Re: [lazarus] devel: TRawImage questions

2007-04-16 Thread Marc Weustink
Mattias Gaertner wrote: 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

[lazarus] Maskedit and copyrighted material

2007-04-16 Thread Marc Weustink
Hi, Today it got into my attention that the MaskEdit implementation in the LCL was purely based on copyrighted material (the diff was shocking small). As a result I removed the code and replaced it with a bare minimum implementation so atleast the LCL kept compiling. Please ppl. when suppplying

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

2007-04-16 Thread Marc Weustink
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. It appears that Mask and Alpha are treated as equal while in fact they are each

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-16 Thread Marc Weustink
Graeme Geldenhuys wrote: On 4/16/07, Alexsander Rosa [EMAIL PROTECTED] wrote: IIRC, it's because the design choice was to let the Window Manager choose the color. That would be a very 'bad design choice' then. Sure, get the default color from the Window Manager, but always allow the user

Re: [lazarus] Delphi incompatibilities in TForm

2007-04-16 Thread Marc Weustink
Graeme Geldenhuys wrote: On 4/16/07, Marc Weustink [EMAIL PROTECTED] wrote: That it doesn't work for you doesn't mean that it is a bad choice. It was choosen this way, since setting the color would destroy normal theming, so the bitmap background of forms would become invisible. Then why

Re: [lazarus] patch for TGtkWidgetSet.DrawText

2007-04-09 Thread Marc Weustink
darekm wrote: Hi Attached patch repair TGtkWidgetSet.DrawText under GTK2 (I receive crush). Problem was connected with WordWrap. Thanks, some inline conmments. Index: interfaces/gtk/gtkobject.inc

Re: [lazarus] Doing the Delphi 6 Text Editor Tutorial in Lazarus?

2007-04-05 Thread Marc Weustink
Tom Verhoeff wrote: I have some students who are trying to complete the Delphi 6 Text Editor tutorial using Lazarus. See e.g. Chapter 4 of http://www.win.tue.nl/~hemerik/2IP20/Doc/Qs.pdf They run into some problems. E.g. Lazarus apparently does not (yet) have ActionManagers. Hence,

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Marc Weustink
Razvan Adrian Bogdan wrote: By the way, I would love if the IFDEF for Win32 Messages greater then WM_USER was removed =) Any reason to keep it ? Yes, to force us to think about a platform independent way of solving this. Marc

Re: [lazarus] AllocateHWnd

2007-04-03 Thread Marc Weustink
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 in all LCL interfaces instead of the LCL? [...] Further, I don´t know even on

Re: [lazarus] Mantis is missing 0.9.23 (SVN) in the dropdown list

2007-04-02 Thread Marc Weustink
Graeme Geldenhuys wrote: As the subject says 0.9.22 and 0.9.23(SVN) is missing from the Mantis product version combobox. For what project ? Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe

Re: TGroupBox.BorderStyle missing

2007-04-02 Thread Marc Weustink
Graeme Geldenhuys 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 TFrameControl class is missing from the LCL hierarchy, which

Re: [lazarus] Mantis is missing 0.9.23 (SVN) in the dropdown list

2007-04-02 Thread Marc Weustink
Vincent Snijders wrote: Graeme Geldenhuys schreef: As the subject says 0.9.22 and 0.9.23(SVN) is missing from the Mantis product version combobox. Added. For patches I initially had the idea that is doesn't matter on which version it got reported. Thats why I didn't add the SVN

Re: [lazarus] Align = alTop question (missing BorderStyle workaround)

2007-04-02 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, As a workaround for the missing BorderStyle property (compared to CLX), I use a TLabel and TPanel to get the same effect. See attached image (image1). All TLabel and TPanel components are aligned alTop, except for the last (green) TPanel, which it alClient.

Re: [lazarus] Mantis is missing 0.9.23 (SVN) in the dropdown list

2007-04-02 Thread Marc Weustink
Graeme Geldenhuys wrote: Sorry, it was for Lazarus. ??? thought that I added them. Strange. Marc _ To unsubscribe: mail [EMAIL PROTECTED] with unsubscribe as the Subject archives at

Re: [lazarus] History of the widget set design?

2007-04-02 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Was any study (or prototypes) done to help make the choice on how Lazarus would implement widget sets? THere was no study, however during the years, the inner workings of the LCL - Widgetset changed (and is still changing). For example: 1) Wrapping existing

Re: [lazarus] History of the widget set design?

2007-04-02 Thread Marc Weustink
Graeme Geldenhuys wrote: On 4/2/07, Marc Weustink [EMAIL PROTECTED] wrote: THere was no study, however during the years, the inner workings of the LCL - Widgetset changed (and is still changing). I can imagine the inner workings changing - it is a mamoth task to bind all those native

Re: [lazarus] Debug without recompile

2007-03-31 Thread Marc Weustink
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, trying to find out where and why things go wrong. The problem is that everytime I press F9 Lazarus will link the executable

Re: [lazarus] Fixed Debian package 0.9.22-1

2007-03-31 Thread Marc Weustink
Marco Ciampa 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://sourceforge.net/project/showfiles.php?group_id=89339 I see that

Re: [lazarus] TListView and OnChange event fires 3 time on every click

2007-03-16 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, I tested this under Delphi 7 as well, so the behaviour in Lazarus seems to be normal, but why When I select a item in the ListView, the OnChange event fires three times on every select. The first two times, the Item parameter is still the old selected item. The

Re: [lazarus] TListView and OnChange event fires 3 time on every click

2007-03-16 Thread Marc Weustink
Graeme Geldenhuys wrote: On 3/16/07, Marc Weustink [EMAIL PROTECTED] wrote: I'm really starting to dislike the TListView control! :-) for a small amount of rows i think it is the easiest native control to use. For anything larger I use the virtualtree nowadays I've always had issues

Re: [lazarus] Recent SVN lazarus won't compile. Can't find unit contnrs.

2007-03-12 Thread Marc Weustink
This time to the list.. :( Jeff Steinkamp wrote: Vincent If I hit reply to on this message, it is addressed to you. If I hit Rely-to on a message from the Lazarus mailing list it may go to this list or not. This is a mailing list parameter that has been set by the owner of the list.

Re: [lazarus] Strange behaviour of lazarus using fcl-web

2007-03-09 Thread Marc Weustink
Mattias Gaertner wrote: On Fri, 09 Mar 2007 01:40:53 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Mattias Gaertner wrote: On Fri, 09 Mar 2007 00:06:04 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Michael Van Canneyt wrote: On Thu, 8 Mar 2007, Joost van der Sluis wrote: I've isolated

Re: [lazarus] Strange behaviour of lazarus using fcl-web

2007-03-08 Thread Marc Weustink
Michael Van Canneyt wrote: On Thu, 8 Mar 2007, Joost van der Sluis wrote: I've isolated the problem. It occurs when inherited TDataModules are in one file. According to Jesus Reyes (on IRC) did Mattias say that this was on purpose. That means that Lazarus doesn't work right with the

Re: [lazarus] Strange behaviour of lazarus using fcl-web

2007-03-08 Thread Marc Weustink
Mattias Gaertner wrote: On Fri, 09 Mar 2007 00:06:04 +0100 Marc Weustink [EMAIL PROTECTED] wrote: Michael Van Canneyt wrote: On Thu, 8 Mar 2007, Joost van der Sluis wrote: I've isolated the problem. It occurs when inherited TDataModules are in one file. According to Jesus Reyes (on IRC

Re: [lazarus] Unit name clash

2007-02-27 Thread Marc Weustink
Michael Van Canneyt wrote: Hi, The file lcl/interfaces/gtk/gtkprivate.pp in Lazarus has the same name as the file packages/extra/gtk/gtk/gtkprivate.pp in FPC. This forces the compiler to try and recompile the FPC GTK units, even when they have not changed, as soon as

Re: [lazarus] Unit name clash

2007-02-27 Thread Marc Weustink
Michael Van Canneyt wrote: Hi, The file lcl/interfaces/gtk/gtkprivate.pp in Lazarus has the same name as the file packages/extra/gtk/gtk/gtkprivate.pp in FPC. This forces the compiler to try and recompile the FPC GTK units, even when they have not changed, as soon as

Re: Ideas to implement AllocateHwnd

2007-02-26 Thread Marc Weustink
Felipe Monteiro de Carvalho wrote: I decided to attach a patch so others can better understand what I am talking about. No need to apply it. Just a remark: TWidgetSet.AllocateHWnd is not a winapi function, so it does not belong in the winapi.inc. For non winapi functions but with the same

Re: [lazarus] [patch] - Environment options dialog

2007-02-26 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Attached is a patch that fixes the following in the Environment Options dialog: * Button size is not consistent with other dialogs * Autosize wasn't enabled, so translation text doesn't fit * Alignment settings where not correct. Patch needs to be applied

Re: [lazarus] [patch] - Editor options dialog

2007-02-26 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Attached is a patch that fixes the following in the Editor Options dialog: * Button size is not consistent with other dialogs * Autosize wasn't enabled, so translation text doesn't fit * Alignment settings where not correct. Patch needs to be applied from

Re: [lazarus] [patch] - External Tools dialog

2007-02-26 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Attached is a patch that fixes the following in the External Tools dialog: * Button size is not consistent with other dialogs * Button order was incorrect Patch needs to be applied from the root Lazarus directory. Lazarus reordered a lot of properties, so

Re: [lazarus] [patch] - Code Templates dialog

2007-02-26 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Attached is a patch that fixes the following in the Code Templates dialog: * Button size is not consistent with other dialogs * Button order was incorrect Patch needs to be applied from the root Lazarus directory. Lazarus reordered a lot of properties, so

Re: [lazarus] Graphics.pp internal error

2007-02-26 Thread Marc Weustink
Jeff Steinkamp wrote: I just did and svn update and fetched 10686. When I went to compile the new source, I get an error: graphics.pp(404,1) Fatal: internal error 200306063 Does not make a lot of sense since line 404 is actually a comment line. Any ideas? Just compile another time

Re: [lazarus] Patch: debugger breakpoints

2007-02-25 Thread Marc Weustink
Yury Sidorov wrote: Hi, Here is a patch: * Set debugger breakpoint on main/entry point using decimal number. It fixes executing application without debug info under gdb. I encountered problems at least with gdb 6.0 for win32 bundled with Lazarus. It dont accept pascal hexadecimal string

Re: [lazarus] Patch: Clearing listview selection

2007-02-25 Thread Marc Weustink
Yury Sidorov wrote: From: Marc Weustink [EMAIL PROTECTED] Yury Sidorov wrote: Hello, Here is a patch which clears listview selection when assigning nil to Selected: ListView1.Selected:=nil; It is Delphi compatible. Currently AV is thrown in this case. Thanks applied, r10678 Thanks

Re: [lazarus] [patch] IDE and Designer

2007-02-25 Thread Marc Weustink
Graeme Geldenhuys wrote: Hi, Attached is a archive containing two patches. One for the IDE directory and one for the Designer directory. Changes: --- [designer.patch] * Fixed the button order and size of the aligncompsdlg unit [ide.patch] * Fixes the anchor property of

Re: [lazarus] Patch for TDBImage and TDBMemo

2007-02-25 Thread Marc Weustink
Joost van der Sluis wrote: Hi all, The attached patch actually implements TDBImage and solves a problem with TDBMemo when a dataset is closed. Beware, it'll only work with sqldb from fpc 2.1.1, or maybe wit ZEOS/tDbf. The patch solves bugs 1739 and 1477. thanks, applied, r10681 Marc

Re: [lazarus] Patch for TDBImage and TDBMemo

2007-02-25 Thread Marc Weustink
Marc Weustink wrote: Joost van der Sluis wrote: Hi all, The attached patch actually implements TDBImage and solves a problem with TDBMemo when a dataset is closed. Beware, it'll only work with sqldb from fpc 2.1.1, or maybe wit ZEOS/tDbf. The patch solves bugs 1739 and 1477. PS, can you

Re: [lazarus] Gtk cursors improvements (patch)

2007-02-24 Thread Marc Weustink
Павел Ишенин wrote: This patch continues our work with gtk cursor implementation. 1) added one more check (for max cursor size) to gtk2 CreateCursor. 2) changed crHourGlass from GDK_CLOCK to more standard GDK_WATCH 3) added more undeclared gdk2 functions to gtk2extrah please apply it 2

Re: [lazarus] New patch

2007-02-24 Thread Marc Weustink
Guadagnini David wrote: I'he post this patch to [EMAIL PROTECTED] too. Haven't seen it there But if someone want to test it I'm happy. 1) This patch add the functions: DecColor - Decrease the component RGBs of a color of the quantity' passed - Added (modified) GradientFillCanvas -

Re: [lazarus] Patch: Clearing listview selection

2007-02-24 Thread Marc Weustink
Yury Sidorov wrote: Hello, Here is a patch which clears listview selection when assigning nil to Selected: ListView1.Selected:=nil; It is Delphi compatible. Currently AV is thrown in this case. Thanks applied, r10678 P.S. Did someone saw my other patch for IDE which I sent to [EMAIL

Re: [lazarus] Running and debugging Carbon apps from Lazarus

2007-02-23 Thread Marc Weustink
Tom Gregorovic wrote: Vincent Snijders napsal(a): Tom Gregorovic schreef: Hi, is there any possibility how to run, and even better debug, Carbon apps from the Lazarus environment, which is running under X11 on Mac OS X? It would help me much in improving Carbon interface for LCL. Maybe

Re: [lazarus] Stoping debugger.

2007-02-21 Thread Marc Weustink
[EMAIL PROTECTED] wrote: Hi, I had some trouble running a TCP server using Synapse library. I was only able to run it once while using the debugger (F9 key in the IDE) From the discussion I had on the mailing list of Synapse, one suggested me to click on ‘reset debugger’ prior to running my

Re: [lazarus] Stoping debugger.

2007-02-21 Thread Marc Weustink
Christian Ulrich wrote: The problem you have is something deeper and needs to be solved. Setting EndDebugging is just a workaround for this problem but doesn't solve it. Thanks to a mail conversation I had last night with Jay Binks we found out that the debugger process reports an error when

Re: [lazarus] Patch: debugger breakpoints

2007-02-18 Thread Marc Weustink
Yury Sidorov wrote: Hi, Here is a patch: * Set debugger breakpoint on main/entry point using decimal number. It fixes executing application without debug info under gdb. I encountered problems at least with gdb 6.0 for win32 bundled with Lazarus. It dont accept pascal hexadecimal string

Re: [lazarus] TScreen TCursor

2007-02-07 Thread Marc Weustink
Dave Coventry wrote: Hi, Is it possible to define a custom cursor in a cross-platform way? Since a few days this is possible, thanks to Paul Ishenin. Just use CreateCursor. There are some minor issues still worked at (color cursors for gtk2 for instance) Setting the global screen.cursor is

<    1   2   3   4   5   6   >