Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 1999-11

CVS Update

11 messages · 2 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink
to Shane Miller: I am looking into what it's doing with the fonts that's causing it to crash. I am having…
Shane wrote
I am looking into what it's doing with the fonts that's causing it to crash.

Great,..

since a font is also a GDI object, I planned to change the create of the font (like the bitmap) this weekend. I hope that this is OK

Marc

Show quoted text 36 lines
It's good to hear your reports of what you have added. I take comfort in knowing that those days that I am unable to work on it we are still making good progress... I will look into the FONT problem. Shane >>> Marc Weustink 11/18/99 07:02PM >>> implemented TCanvas.CopyRect Added StretchBlt Enabled creation of TCustomControl.Canvas Added a temp hack in TWinControl.Repaint to get a LM_PAINT Commented out the {$IFDEF MWE_FPC} blocks around ExtTextOut, since this func is implemented. All commented blocks are marked with //!!! the editor now creates an internal image, copies this to the canvas and then does something with a font and dumps. We're getting somewhere..... Marc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Marc Weustink
to Shane Miller: When I do the following ppc386 -g lazarus.pp I get a bunch of linking errors on GTK and…

+ From: Shane Miller
+ When I do the following
+
+ ppc386 -g lazarus.pp I get a bunch of linking errors on GTK
+ and it aborts. Without the -g I can't really debug the
+ program using DDD.
+ Anyone else getting this? Anyone have a solution? +
I've added the -g swith to my ppc.config and all (also the compiler itself) is compiled with debug info.

BTW
what kind of linking errors do you get. I remember something from the past.

Marc

Reply by email

Marc Weustink
to Shane Miller: I have run through LAZARUS again and can't find the problem with it dying. It dies when…
Shane wrote
I have run through LAZARUS again and can't find the problem with it dying. It dies when we go into gtk_main. A few issue sI see.

Same here, with the compiler I built yesterday (ppc386.1999.11.19). The one I used before (ppc386.1999.11.11) works fine. So I think it's something with the compiler.

Marc

Some gdb output:

#2 0x806520c in GTKCONFIGUREEVENT (WIDGET=0x812e2d8, EVENT=0x8138b10, DATA=0x80abda4) at gtkcallback.inc:148
(gdb) cont

#1 0x809438d in TOBJECT__DISPATCH (MESSAGE=void, this={_vptr. = {0x809d4b3, 0x40158588}}) at objpas.inc:291

Program terminated with signal SIGILL, Illegal instruction. The program no longer exists.
(gdb)

Reply by email

Shane Miller

I have run through LAZARUS again and can't find the problem with it dying. It dies when we go into gtk_main. A few issue sI see. The notebook stuff still throws exceptions when adding pages. It says parent == nil failed
so the widget's parent seems to be assigned already when adding the pages and it doesn't like that.

I'll look further on Monday. Feel free to fix it while I'm away. :-) Shane

>> Marc Weustink 11/19/99 12:27PM >>>
Shane wrote
I am looking into what it's doing with the fonts that's causing it to crash.

Great,..

since a font is also a GDI object, I planned to change the create of the font (like the bitmap) this weekend. I hope that this is OK

Marc

Show quoted text 36 lines
It's good to hear your reports of what you have added. I take comfort in knowing that those days that I am unable to work on it we are still making good progress... I will look into the FONT problem. Shane >>> Marc Weustink 11/18/99 07:02PM >>> implemented TCanvas.CopyRect Added StretchBlt Enabled creation of TCustomControl.Canvas Added a temp hack in TWinControl.Repaint to get a LM_PAINT Commented out the {$IFDEF MWE_FPC} blocks around ExtTextOut, since this func is implemented. All commented blocks are marked with //!!! the editor now creates an internal image, copies this to the canvas and then does something with a font and dumps. We're getting somewhere..... Marc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Marc Weustink
to Shane Miller
Shane wrote
I have run through LAZARUS again and can't find the problem with it dying.

It dies when we go into gtk_main. A few issue sI see.

The notebook stuff still throws exceptions when adding pages. It says parent == nil failed so the widget's parent seems to be assigned already when adding the pages

and it doesn't like that.

That not the page itself, but the label on the page (if I recall it correctly). I noticed it before when I looked at the pages a while ago (when they were gone), Since it just complains and does it's job, it had a low priority to fix so I didn't look at it that time.

I'll look further on Monday. Feel free to fix it while I'm away. :-) Shane

Reply by email

Shane Miller

I am looking into what it's doing with the fonts that's causing it to crash. I am having trouble compiling with debug info though so I can't use DDD right now.

It's good to hear your reports of what you have added. I take comfort in knowing that those days that I am unable to work on it we are still making good progress...

I will look into the FONT problem.
Shane

>> Marc Weustink 11/18/99 07:02PM >>>

implemented TCanvas.CopyRect
Added StretchBlt
Enabled creation of TCustomControl.Canvas
Added a temp hack in TWinControl.Repaint to get a LM_PAINT

Commented out the {$IFDEF MWE_FPC} blocks around ExtTextOut, since this func is implemented. All commented blocks are marked with //!!!

the editor now creates an internal image, copies this to the canvas and then does something with a font and dumps. We're getting somewhere.....

Marc

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Shane Miller

Feel free.
I looked at the FONT. It doesn't seem to be causing my problem.

What occurs when I run it is the mainfor appears, but nothing on it appears, and it hangs. The last message I get is that we exiting the TWINCONTROL SHOW. In DDD I see it's entering gtk_main and then it freezes.

I'm not sure what the problem is right now....
Shane

>> Marc Weustink 11/19/99 12:27PM >>>
Shane wrote
I am looking into what it's doing with the fonts that's causing it to crash.

Great,..

since a font is also a GDI object, I planned to change the create of the font (like the bitmap) this weekend. I hope that this is OK

Marc

Show quoted text 36 lines
It's good to hear your reports of what you have added. I take comfort in knowing that those days that I am unable to work on it we are still making good progress... I will look into the FONT problem. Shane >>> Marc Weustink 11/18/99 07:02PM >>> implemented TCanvas.CopyRect Added StretchBlt Enabled creation of TCustomControl.Canvas Added a temp hack in TWinControl.Repaint to get a LM_PAINT Commented out the {$IFDEF MWE_FPC} blocks around ExtTextOut, since this func is implemented. All commented blocks are marked with //!!! the editor now creates an internal image, copies this to the canvas and then does something with a font and dumps. We're getting somewhere..... Marc _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus _________________________________________________________________ To unsubscribe: mail with "unsubscribe" as the Subject archives at http://www.miraclec.com/list_archives/lazarus

_________________________________________________________________ To unsubscribe: mail with
"unsubscribe" as the Subject
archives at http://www.miraclec.com/list_archives/lazarus

Reply by email

Marc Weustink

implemented TCanvas.CopyRect
Added StretchBlt
Enabled creation of TCustomControl.Canvas
Added a temp hack in TWinControl.Repaint to get a LM_PAINT

Commented out the {$IFDEF MWE_FPC} blocks around ExtTextOut, since this func is implemented. All commented blocks are marked with //!!!

the editor now creates an internal image, copies this to the canvas and then does something with a font and dumps. We're getting somewhere.....

Marc

Reply by email

Shane Miller

When I do the following

ppc386 -g lazarus.pp I get a bunch of linking errors on GTK and it aborts. Without the -g I can't really debug the program using DDD. Anyone else getting this? Anyone have a solution?

Shane

Reply by email

Marc Weustink

Changed some things
+ TFont.Handle is now a GDIObject.
+ Started to support xlfd
* commented out some more IFDEFs in mwCustomEdit, since more funcs are supported

NEXT: create TPen and TBrush as GDIObject and the editor won't draw black text on black bacgrounds ;-)

Marc

Reply by email

Marc Weustink

HI, some updates:
Added TBrush as gdiobject
commented out some more mwedit MWE_FPC ifdefs

Now the editor shows itself. You can catually seen some lines.... but still no text.

Marc

Reply by email