Re: GPS with Mac Leopard Adventures

Roger Mc Murtrie <[email protected]> Mon, 26 Nov 2007 22:37:40 +1100
Newsgroups gmane.comp.ide.gps.devel
Message-ID <[email protected]>
--===============0575102092==
Content-Type: multipart/alternative; boundary=Apple-Mail-5-874011830


--Apple-Mail-5-874011830
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed;
	delsp=yes
Content-Transfer-Encoding: 7bit

Problem found (but not fixed yet) in GtkAda!
There appears to be a problem with GtkAda's  
Pango.Layout.Get_Pixel_Size procedure.
Deleting all calls to Get_Pixel_Size in GtkAda/src gtkada-mdi.adb and
GtkAda/src/gtkada-canvas allows the main GPS window to be displayed  
with all widgets apparently displayed correctly.

Now crashes "randomly" (not immediately) with:
The program 'gps' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
But that's another problem to be sorted.

Roger


On 26/11/2007, at 10:03 PM, Roger Mc Murtrie wrote:

> Deleting Get_Pixel_Size from gps src_editor/src/src_editor_module  
> brings up the main (?) panelled screen when OK pressed but much  
> detail appears missing.
> As a precaution I then deleted all Get_Pixel_Size calls from all gps  
> source files but with no further improvement.
> Roger
>
>
> On 26/11/2007, at 6:46 PM, Roger Mc Murtrie wrote:
>
>> Now get Splash screen and can work through wizard but lose GPS  
>> window when I select OK button.
>> I'd better consult the GPS manual to see what's supposed to happen.
>>
>> To get to this stage I had to delete the call to
>> 	Get_Pixel_Size from GtkAda/src gtkada-mdi.adb
>> Will try and sort this out later.
>>
>> Regards,
>> Roger


--Apple-Mail-5-874011830
Content-Type: text/html;
	charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

<html><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div><div>Problem found (but =
not fixed yet) in&nbsp;<span class=3D"Apple-style-span" =
style=3D"font-family: 'Lucida Grande'; ">GtkAda<span =
class=3D"Apple-style-span" style=3D"font-family: Helvetica; =
">!</span></span></div><div>There appears to be a problem =
with&nbsp;<span class=3D"Apple-style-span" style=3D"font-family: 'Lucida =
Grande'; ">GtkAda's</span>&nbsp;<span class=3D"Apple-style-span" =
style=3D"font-family: Monaco; ">Pango.Layout.Get_Pixel_Size =
procedure.</span></div><div><font class=3D"Apple-style-span" =
face=3D"Monaco">Deleting all calls to&nbsp;Get_Pixel_Size in&nbsp;<span =
class=3D"Apple-style-span" style=3D"font-family: 'Lucida Grande'; =
">GtkAda/src gtkada-mdi.adb and</span></font></div><div><font =
class=3D"Apple-style-span" face=3D"'Lucida Grande'"><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; font: normal normal normal 12px/normal 'Lucida =
Grande'; ">GtkAda/src/gtkada-canvas allows the main GPS window to be =
displayed with all widgets apparently displayed =
correctly.&nbsp;</div><div style=3D"margin-top: 0px; margin-right: 0px; =
margin-bottom: 0px; margin-left: 0px; font: normal normal normal =
12px/normal 'Lucida Grande'; "><br =
class=3D"webkit-block-placeholder"></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
normal normal 12px/normal 'Lucida Grande'; ">Now crashes "randomly" (not =
immediately) with:</div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal =
12px/normal 'Lucida Grande'; "><div>The program 'gps' received an X =
Window System error.</div><div>This probably reflects a bug in the =
program.</div><div>The error was 'BadMatch (invalid parameter =
attributes)'.</div><div>But that's another problem to be =
sorted.</div><div><br =
class=3D"webkit-block-placeholder"></div><div>Roger</div></div></font></di=
v></div><div><br class=3D"webkit-block-placeholder"></div><br><div><div>On=
 26/11/2007, at 10:03 PM, Roger Mc Murtrie wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div><span =
class=3D"Apple-style-span" style=3D"font-family: Monaco; ">Deleting =
Get_Pixel_Size from<span class=3D"Apple-style-span" style=3D"font-family: =
'Lucida Grande'; ">&nbsp;gps&nbsp;<span class=3D"Apple-style-span" =
style=3D"font-family: Monaco; ">src_editor/src/src_editor_module brings =
up the main (?) panelled screen when OK pressed but much detail appears =
missing.</span></span></span></div><div><font class=3D"Apple-style-span" =
face=3D"Monaco">As a precaution I then deleted all&nbsp;Get_Pixel_Size =
calls from all gps source files but with no further =
improvement.</font></div><div>Roger</div><div><br =
class=3D"webkit-block-placeholder"></div><br><div><div>On 26/11/2007, at =
6:46 PM, Roger Mc Murtrie wrote:</div><br =
class=3D"Apple-interchange-newline"><blockquote type=3D"cite"><div =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; =
-webkit-line-break: after-white-space; "><div>Now get Splash screen and =
can work through wizard but lose GPS window when I select OK =
button.</div><div>I'd better consult the GPS manual to see what's =
supposed to happen.</div><div><br =
class=3D"webkit-block-placeholder"></div><div>To get to this stage I had =
to delete the&nbsp;<span class=3D"Apple-style-span" style=3D"font-family: =
'Lucida Grande'; ">call to</span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
normal normal 12px/normal Monaco; "><span style=3D"font: normal normal =
normal 12px/normal 'Lucida Grande'; "><span class=3D"Apple-tab-span" =
style=3D"white-space: pre; ">	</span></span>Get_Pixel_Size from<span =
class=3D"Apple-style-span" style=3D"font-family: 'Lucida Grande'; =
">&nbsp;GtkAda/src gtkada-mdi.adb</span></div><div style=3D"margin-top: =
0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: =
normal normal normal 12px/normal Monaco; "><font =
class=3D"Apple-style-span" face=3D"'Lucida Grande'">Will try and sort =
this out later.</font></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px; font: normal normal normal =
12px/normal Monaco; "><font class=3D"Apple-style-span" face=3D"'Lucida =
Grande'"><br class=3D"webkit-block-placeholder"></font></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px; font: normal normal normal 12px/normal Monaco; "><font =
class=3D"Apple-style-span" face=3D"'Lucida =
Grande'">Regards,</font></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px; font: normal =
normal normal 12px/normal Monaco; "><font class=3D"Apple-style-span" =
face=3D"'Lucida =
Grande'">Roger</font></div></div></blockquote></div></div></blockquote></d=
iv><br></body></html>=

--Apple-Mail-5-874011830--

--===============0575102092==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
gps-devel mailing list
[email protected]
http://lists.adacore.com/mailman/listinfo/gps-devel

--===============0575102092==--