Buffer overruns in gtk 1.3.12 (gdk-pixbuf)?

2002-01-23 Thread Jason Tackaberry
I see on Gnotices that gdk-pixbuf 0.16.0 is released, and in the changes says: * Merged fixes in GTK+ 2.0 to the pixops directory. This should fix some memory overruns in the scaling/compositing code (Merge by Federico; fixes by Owen Taylor, Michael Hore, Sven

Re: Buffer overruns in gtk 1.3.12 (gdk-pixbuf)?

2002-01-23 Thread Owen Taylor
Jason Tackaberry [EMAIL PROTECTED] writes: I see on Gnotices that gdk-pixbuf 0.16.0 is released, and in the changes says: * Merged fixes in GTK+ 2.0 to the pixops directory. This should fix some memory overruns in the scaling/compositing code (Merge by

How to configure/compile GTK+

2002-01-23 Thread Lin, Lynn
Hi there, My name is Lynn. I am new to GTK+ . I just got an assignment to evaluate the GTK+ to decide if we are going to replace Motif/X Window with GTK+. I down loaded GTK+ and glib and tried to configure/compile GTK+ following the instruction on GTK+ FAQ 2.3 (http://ww.gtk.org/faq ) as

about XPM problem?

2002-01-23 Thread Kason Huang
hello: how are you? anyone know in the line 13 13 5 2 7 7 ,2 7 and 7 what meaning? /* XPM */ static char * roundb_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ 13 13 5 2 7 7, /* colors */ s none m none c none, . s topShadowColor m white c lightblue, X s iconColor1 m

Re: about XPM problems?

2002-01-23 Thread Valdis . Kletnieks
On Thu, 24 Jan 2002 08:18:00 +0800, =?big5?B?tsC8eSBLYXNvbiBIdWFuZw==?= [EMAIL PROTECTED] said: anyone know in the line 13 13 5 2 7 7 ,2 7 and 7 what meaning? /* XPM */ static char * roundb_xpm[] = { /* width height ncolors cpp [x_hot y_hot] */ 13 13 5 2 7 7, Look at the line

Gettext Gtk1.3.12

2002-01-23 Thread Andreas Scherf
Hello, i am porting my little app to Gtk2 and i have the problem the the gettext Strings such as (_(xyz) On some String it shows me: Gtk-WARNING **: Invalid input string and some are just empty. On normal String i got the message : Invalid UTF8 string passed to pango_layout_set_text() What am i

fourth type of dnd

2002-01-23 Thread Edscott Wilson GarcĂ­a
Hello, I would like to enable a fourth type of drag+drog in a filemanager program. The first three, GDK_ACTION_COPY , GDK_ACTION_MOVE , GDK_ACTION_LINK do exactly that and are generated by combining the d+d with ctl and ctl-shift. But there is also a GDK_ACTION_PRIVATE which I would

Re: Gettext Gtk1.3.12

2002-01-23 Thread Havoc Pennington
Andreas Scherf [EMAIL PROTECTED] writes: Hello, i am porting my little app to Gtk2 and i have the problem the the gettext Strings such as (_(xyz) On some String it shows me: Gtk-WARNING **: Invalid input string and some are just empty. On normal String i got the message : Invalid UTF8

Re: Buffer overruns in gtk 1.3.12 (gdk-pixbuf)?

2002-01-23 Thread Jason Tackaberry
On Wed, 2002-01-23 at 15:27, Owen Taylor wrote: The fixes to pixops were not in 1.3.12. But they should have no effect on GDK_INTERP_NEAREST. I just tried cvs gtk+ and the corrupt images problem persists. I took a screenshot of what happens: http://sault.org/~tack/corrupt.png The

pango_layout_set_text not returning?

2002-01-23 Thread Jason Tackaberry
Hi Havoc, I am seeing another strange problem where sometimes pango_layout_set_text (and also pango_layout_set_markup by extension, I guess) does not return. It's not a busy wait. I'm not able to reproduce this deterministically. I started the process with strace process and ran it until it

Re: pango_layout_set_text not returning?

2002-01-23 Thread Jason Tackaberry
On Thu, 2002-01-24 at 00:54, Jason Tackaberry wrote: I am seeing another strange problem where sometimes pango_layout_set_text (and also pango_layout_set_markup by extension, I Sorry to keep bothering you, Havoc. I think this may be a red herring. After commenting out a call to

Re: pango_layout_set_text not returning?

2002-01-23 Thread Havoc Pennington
Jason Tackaberry [EMAIL PROTECTED] writes: However, after repeating the procedure I used to cause the above problem, I got this message on the terminal: Xlib: unexpected async reply (sequence 0x3a1ae)! And the process started to eat all available CPU. You're using threads? Now I

Re: pango_layout_set_text not returning?

2002-01-23 Thread Jason Tackaberry
On Thu, 2002-01-24 at 01:26, Havoc Pennington wrote: You're using threads? No. I am forking, though. But I was able to reproduce the problem even with the code that forks commented out. I do sometimes (typically right before a crash) see stuff like: Message (recursed): Layout text

Basic window stuff in a C++ class: What are gotchas of this? SOS with 1 bug please...

2002-01-23 Thread Chris Seberino
I thought I was being smart by putting basic window making stuff in a class. It works often but problems with gtk_input_add Here is my home grown Window class... (w/o comments) //- #include Window.h GtkWidget*

Re: pango_layout_set_text not returning?

2002-01-23 Thread Havoc Pennington
Jason Tackaberry [EMAIL PROTECTED] writes: On Thu, 2002-01-24 at 01:26, Havoc Pennington wrote: You're using threads? No. I am forking, though. But I was able to reproduce the problem even with the code that forks commented out. I do sometimes (typically right before a crash) see