Re: Getting different sizes from pango_layout_get_pixel_extents on ubuntu 16.04 vs 17.10?

2018-01-31 Thread Dan Kegel
your theory towards the end of the sausage-making process? Thanks! - Dan ___ gtk-i18n-list mailing list gtk-i18n-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-i18n-list

Getting different sizes from pango_layout_get_pixel_extents on ubuntu 16.04 vs 17.10?

2018-01-30 Thread Dan Kegel
unable to test in ubuntu 17.04 or 16.10, the apt repos are gone. Here's the source. Can I buy a hint? If the cause isn't obvious, can you suggest whether it's more likely to be related to the freetype change or the pango change? Thanks, Dan :: Makefile :: # independent pan

Re: GLib may busy loop on invalid file descriptors

2018-01-04 Thread Dan Winship
itions match. > > Thoughts? FWIW I suggested more or less the same thing a long time ago but eventually convinced myself was the wrong fix: https://bugzilla.gnome.org/show_bug.cgi?id=321746 -- Dan > Benjamin > > PS: https://gith

Re: coordinate system context for a drawing area uses (relative to get_allocation)

2017-05-15 Thread Dan Hitt
Thanks Tadej. That's a very good reference. (Also, thanks for creating a tutorial on using glade some years back, which i found useful.) dan On Mon, May 15, 2017 at 12:25 AM, Tadej Borovšak <tadeb...@gmail.com> wrote: > On Sat, May 13, 2017 at 05:00:43PM -0700, Dan Hitt wrote: >>

Re: A toggled toggle button visually almost indistinct from untoggled

2017-04-19 Thread Dan Stromberg
On Thu, Apr 13, 2017 at 4:41 PM, Dan Stromberg <dstrombergli...@gmail.com> wrote: > On Thu, Apr 13, 2017 at 3:55 PM, Emmanuele Bassi <eba...@gmail.com> wrote: > >> On 13 April 2017 at 23:44, Dan Stromberg <dstrombergli...@gmail.com> >> wrote: >> >

Re: A toggled toggle button visually almost indistinct from untoggled

2017-04-18 Thread Dan Stromberg
On Thu, Apr 13, 2017 at 3:55 PM, Emmanuele Bassi wrote: > > The default Adwaita theme has a fair distinction between states: > > https://i.imgur.com/6bg9eNc.png I switched to the Adwaita theme on both systems. But it's still pretty hard to tell if a toggle button has been

Re: A toggled toggle button visually almost indistinct from untoggled

2017-04-18 Thread Dan Stromberg
On Mon, Apr 17, 2017 at 4:45 PM, Dan Stromberg <dstrombergli...@gmail.com> wrote: > > On Thu, Apr 13, 2017 at 4:41 PM, Dan Stromberg <dstrombergli...@gmail.com> > wrote: > >> On Thu, Apr 13, 2017 at 3:55 PM, Emmanuele Bassi <eba...@gmail.com> >> wr

Re: A toggled toggle button visually almost indistinct from untoggled

2017-04-13 Thread Dan Stromberg
On Thu, Apr 13, 2017 at 3:55 PM, Emmanuele Bassi <eba...@gmail.com> wrote: > On 13 April 2017 at 23:44, Dan Stromberg <dstrombergli...@gmail.com> > wrote: > > > Does anyone have any suggestions? I miss being able to tell which > buttons > > I've clicked! &

A toggled toggle button visually almost indistinct from untoggled

2017-04-13 Thread Dan Stromberg
Hi folks. When I try to run one of my Python applications (http://stromberg.dnsalias. org/~strombrg/hcm.html) using a very recent built of GTK+ (gobject introspection), I get lots of toggle buttons, as expected. However, when I click one of those toggle buttons, the visual change is almost

Re: does being inside a grid make an entry more editable?

2017-03-10 Thread Dan Hitt
not checking my code carefully enough) dan On Fri, Mar 10, 2017 at 8:33 PM, Dan Hitt <dan.h...@gmail.com> wrote: > Thanks a million Tilo! > > Your example (which works compiles and runs just fine on my system) > proves that my problem lies elsewhere. > > As to my gtk

Re: does being inside a grid make an entry more editable?

2017-03-10 Thread Dan Hitt
-demo-application, and it reports its version as 3.22.8). No doubt it is plenty recent enough, so i just need to dig in deeper (will report if and when i get to the bottom of this). dan On Fri, Mar 10, 2017 at 12:05 AM, Tilo Villwock <codemusi...@gmail.com> wrote: > Hello Dan, > >

does being inside a grid make an entry more editable?

2017-03-09 Thread Dan Hitt
the editability of an entry! dan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: want to capture a mouse click in an Entry

2017-02-19 Thread Dan Hitt
st as well as "button_press_event", though maybe one is preferred over the other for whatever reason. Anyhow, thanks again, because i certainly was stuck before. dan On Sat, Feb 18, 2017 at 4:44 PM, Norbert de Jonge <m...@norbertdejonge.nl> wrote: >> I have an gtk_entry [...] an

want to capture a mouse click in an Entry

2017-02-18 Thread Dan Hitt
assigning an onclick attribute, i think, so it would seem like something that shouldn't be too hard to do? (??) Anyhow, thanks in advance for any kind of info. dan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.org/mailman

Re: accelerator keys for (right-click) menu only work after menu has been through a show-all

2016-11-25 Thread Dan Hitt
after creation (which probably deep in the bowels of gtk does something). And this also worked for me in my little app (written in the d programming language, using gtkd which is wraps up gtk3 for d). dan On Fri, Nov 25, 2016 at 10:53 AM, Dan Hitt <dan.h...@gmail.com> wrote: > Hi All

accelerator keys for (right-click) menu only work after menu has been through a show-all

2016-11-25 Thread Dan Hitt
(). Is this correct? And, if so, is there some way to do a show-all on the menu, without actually showing anything, just to get the menu items initialized enough that they can be handled with accelerator keys? TIA for any info! dan ___ gtk-app-devel-list

Re: listening to stdin in the controlling terminal after gtk_main is called

2016-09-14 Thread Dan Hitt
Well thank you Ben for your very speedy reply. I'll see what i can do with it. dan On Wed, Sep 14, 2016 at 10:06 PM, Ben Iofel <iofel...@gmail.com> wrote: > create a GIOChannel with g_io_channel_unix_new() and then add it to the main > context with g_io_add_watch() > > On

listening to stdin in the controlling terminal after gtk_main is called

2016-09-14 Thread Dan Hitt
it would be awesome to be able to read a character at a time from stdin, a line at a time would certainly do, and i'd probably have to plan on line-at-a-time anyway for the case when the app was launched from a emacs buffer.) TIA! dan ___ gtk-app-devel-list

Re: javascript alert function analog in gtk, probably some kind of modal dialog, but looking for a quickie

2016-07-31 Thread Dan Hitt
NSRunAlertPanel(...) when Apple picked NeXT up. And that new function eventually got deprecated a few years back in favor of something with more lines. :) ) Thanks again for your help. dan On Sun, Jul 31, 2016 at 1:24 PM, Chris Moller <mol...@mollerware.com> wrote: > Take a look at GtkMess

javascript alert function analog in gtk, probably some kind of modal dialog, but looking for a quickie

2016-07-31 Thread Dan Hitt
e, but if one exists then i would certainly prefer using it because there's probably a lot of details to get wrong, or produce surprising behavior. TIA for any info! dan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org https://mail.gnome.

Re: libsoup + gsettings-desktop-schemas for server code

2014-03-03 Thread Dan Winship
, we should move/rename and reorganize them at the same time. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: static compilition - include gio modules statically

2013-11-15 Thread Dan Winship
the dlopen calls in the final binary) There's no way to do this within the existing build system. You'd have to hack up GTlsBackendGnutls to be a static type rather than a GTypeModule, and then compile it directly into glib (the way that, eg, GDummyTlsBackend is). -- Dan

Re: non-Linux OSes

2013-10-22 Thread Dan Winship
years, I think that if you don't have access to VS 2005, then it's de facto not supported. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Spell checking in GIO

2013-10-08 Thread Dan Winship
unnecessary. So it might make more sense to just absorb it into glib (which Dom seemed in favor of in that bug anyway). -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Spell checking in GIO

2013-10-08 Thread Dan Winship
), and to avoid adding lots of extra dependencies (eg, gnutls) to glib. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: gl_GLIBC21 and charset.alias

2013-10-04 Thread Dan Winship
it wasn't needed any more.) -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: a new transport for dbus in libgio

2013-09-25 Thread Dan Winship
to the existing GSocketConnection (https://bugzilla.gnome.org/show_bug.cgi?id=618556, although the source code link from there is long-dead). -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Throwing Gtk+ and DirectFB up against the wall to see what sticks:

2013-06-20 Thread Dan Rittersdorf
. [Description: DornerWorksLogo400x200]mailto:dan.rittersd...@dornerworks.com Dan Rittersdorf DornerWorks, Ltd. Embedded Systems Engineering 3445 Lake Eastbrook Blvd SE Grand Rapids, MI 49546 Direct: 616.389.6137 Tel: 616.245.8369 Fax: 616.245.8372 dan.rittersd

Re: Something I don't understand

2013-05-31 Thread Dan Winship
, and I'd eventually rebase Makefile.glib on top of that, using the cut+paste Makefile approach rather than the installed Makefile approach, since that way it can use automake-level rules, not just make-level ones.) -- Dan ___ gtk-devel-list mailing list

Re: STDOUT_FILENO and STDERR_FILENO

2013-05-22 Thread Dan Winship
On 05/20/2013 02:50 PM, John Emmas wrote: notice that 'total += nwrote' occurs twice during each loop iteration. Was that the intended behaviour? nope. fixed now, along with using stdio instead of write(), so it should compile again on Windows now. -- Dan

Re: STDOUT_FILENO and STDERR_FILENO

2013-05-20 Thread Dan Winship
drop the use of the defines and use 1 and 2 directly... That's probably what we do elsewhere. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Help! Custom cell renderers blowing up ...

2013-02-21 Thread Dan Kasak
Hi Torsten. Thanks, once again, for the reply. On Thu, 2013-02-21 at 09:39 +, Torsten Schoenfeld wrote: On 21.02.2013 07:28, Dan Kasak wrote: Can't locate object method EDITING_STARTED via package Gtk3::Ex::Datasheet::DBI::CellRendererText at /usr/lib64/perl5/site_perl/5.12.4/Gtk3.pm

Re: Help! Custom cell renderers blowing up ...

2013-02-21 Thread Dan Kasak
On Fri, 2013-02-22 at 05:18 +, Dan Kasak wrote: Hi Torsten. Thanks, once again, for the reply. AHA! Removed some distro libraries and pulled in via cpan ... and it's FIXED! Sorry for the false flags ... but actually you helped me out a lot with other issues in my code anyway :) Dan

Re: Gtk3::TreeSelection and get_selected_rows

2013-02-20 Thread Dan Kasak
On Tue, 2013-02-19 at 10:31 +, Torsten Schoenfeld wrote: On 19.02.2013 05:34, Dan Kasak wrote: More Gtk2 == Gtk3 questions ... When I do $tree_selection-get_selected_rows, I get an array, which appears to have: - row[0]: an array of Gtk3::TreePath objects - row[1]: the model

Help! Custom cell renderers blowing up ...

2013-02-20 Thread Dan Kasak
get the error: Can't locate object method EDITING_STARTED via package Gtk3::Ex::Datasheet::DBI::CellRendererText at /usr/lib64/perl5/site_perl/5.12.4/Gtk3.pm line 228. From my searching around, 'editing_started' is a signal, not a method. What's going on? Dan --- package Gtk3::Ex::Datasheet

Re: 'get_cell_renderers' in Gtk3?

2013-02-18 Thread Dan Kasak
On Mon, 2013-02-18 at 11:18 +, Torsten Schoenfeld wrote: On 18.02.2013 06:24, Dan Kasak wrote: Hi all. I'm taking yet another stab at porting stuff to Gtk3. I used to be able to do $tree_view_column-get_cell_renderers ... in Gtk2. Gtk3::TreeViewColumn doesn't seem to have

Re: Builder, connecting signals

2013-02-18 Thread Dan Kasak
On Mon, 2013-02-18 at 11:22 +, Torsten Schoenfeld wrote: On 18.02.2013 07:40, Dan Kasak wrote: I'm using: $builder-connect_signals( $self ); ... and my method in $self gets called, but not in an OO way ... I don't get $self passed in. My error I assume. What should I be doing

Gtk3::TreeSelection and get_selected_rows

2013-02-18 Thread Dan Kasak
/GtkTreeSelection.html#gtk-tree-selection-get-selected-rows don't say anything about getting the model back. Just checking ... Dan ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

'get_cell_renderers' in Gtk3?

2013-02-17 Thread Dan Kasak
Hi all. I'm taking yet another stab at porting stuff to Gtk3. I used to be able to do $tree_view_column-get_cell_renderers ... in Gtk2. Gtk3::TreeViewColumn doesn't seem to have such a method. Do I have to maintain my own map of TreeViewColumns to CellRenderers? Dan

Builder, connecting signals

2013-02-17 Thread Dan Kasak
gets called, but not in an OO way ... I don't get $self passed in. My error I assume. What should I be doing? Dan ___ gtk-perl-list mailing list gtk-perl-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: glib 2.34 g_main_context_unref hangs

2013-01-18 Thread Dan Winship
On 01/17/2013 02:48 PM, Ken Bass wrote: On 01/17/2013 01:58 PM, Dan Winship wrote: g_main_context_default() does not give you a ref on the default context, so your code here is destroying an object internal to glib. If you call this more than once (or, if you do *anything* involving

Re: glib 2.34 g_main_context_unref hangs

2013-01-17 Thread Dan Winship
(or, if you do *anything* involving the default context after this point), I'd definitely expect it to fail. Beyond that, it's hard to say what you might be doing wrong without seeing more code. -- Dan ___ gtk-devel-list mailing list gtk-devel-list

Re: GLib status update and a warning

2012-11-05 Thread Dan Winship
, the removed code might never have actually been run in the real world. It was definitely not needed by any module in jhbuild. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: The new GTask name in GIO is wrong

2012-11-02 Thread Dan Winship
/etc style model [which would be a huge change], the GTask object would be a usable base for that, as long as it had a clear separation between task-internal and task-external API, in the way that, say, GCancellable does.) -- Dan ___ gtk-devel-list mailing

GTask pushed

2012-10-10 Thread Dan Winship
you think are problematic, bring them up sooner rather than later. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org https://mail.gnome.org/mailman/listinfo/gtk-devel-list

Child widgets of GtkBox not resized until clicked

2011-12-12 Thread Dan Vratil
the scrolled windows resize as soon as they receive gtk_widget_set_size_request()? Thanks for any suggestions Dan PS: you may wonder why on Earth am I doing this such stupid way, so here's some explanation: each GtkScrolledWindow contains a single WebKitWebView. I can't embed the webviews

Re: GObjectClass.dispose and bringing objects back to life

2011-12-02 Thread Dan Winship
= NULL; } or, if you depend on glib = 2.28, g_clear_object (priv-reffed_object); -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

How was GtkPrintOperation dialog accepted?

2011-11-24 Thread Dan Vratil
start printing or just display preview. I checked the GtkPrintOperation* API, but haven't found any way. Any suggestions how I could do this? :) Cheers, Dan -- dvra...@redhat.com | Evolution developer GPG Key: 0xC59D614F6F4AE348 Fingerprint: 4EC1 86E3 C54E 0B39 5FDD B5FB C59D 614F 6F4A

Re: The high-level GIO API and threading

2011-09-26 Thread Dan Winship
misinterpreting the code, or was I assuming things wrongly? I didn't realize gnutls allowed that, but apparently it does. File a bug. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

MS Windows porting question

2011-09-20 Thread Dan Stanger
advice would be appreciated. Thank you, Dan Stanger ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: GLib plans for next cycle

2011-09-01 Thread Dan Winship
On 08/31/2011 03:31 PM, Kevin Fox wrote: Maybe the time to discuss pulling in an api something like Grand Central Dispatch has arrived? :) I was thinking it would be nice to integrate with GThreadPool somehow, but I didn't have any specific idea of how that would work... -- Dan

Re: GLib plans for next cycle

2011-08-31 Thread Dan Winship
wrapping it.) - glib_get_worker_context() s/glib/g/ ? glib_* sounds like it's for glib-internal-only use, which I don't see any reason for. It's definitely useful outside of glib. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http

Re: GIO Async. user data life time

2011-08-12 Thread Dan Winship
and waiting for them to finish really is the best solution. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Introducing a kqueue backend for GIO (GSoC)

2011-06-21 Thread Dan Winship
documentation in a structured way, use gtk-doc conventions. The use of a g_ prefix on static/global variables seems very wrong to me (especially in files where nothing else is g-prefixed). -- Dan ___ gtk-devel-list mailing list gtk

Re: About gsettings aborting on unkown schemas

2011-05-31 Thread Dan Winship
, not a normal function, but it's certainly doable; we just have to come up with a convention. We already have it; GInitable. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

GTK Drag-and-drop Validation X11 Cursor lock up within drag_get_data.

2011-03-14 Thread Dan Saul
Hi, I have been unable to get drag and drop validation working in pygtk. I am out of ideas and would like a second opinion. My goal is to only allow files which contain .jpg to be dropped. Specifically, whenever I call widget.drag_get_data within the drag-motion callback The X11 cursor locks

Re: [g-a-devel] Coming to grips with the state of a11y in gtk

2011-02-17 Thread Dan Winship
now you create MyFlyWeightWhateverAccessible or WebCoreSomethingAccessible as a subclass of AtkObject, in the future you'd create them as subclasses of GObject, implementing the AtkObject interface. A tiny bit more boilerplate code, but other than that it would be just like it is now. -- Dan

Re: 3.0: remove client messages

2011-01-31 Thread Dan Winship
://bugzilla.gnome.org/show_bug.cgi?id=636682 if anyone wants to be awesome and get this fixed.) -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: URI parser in glib (missing)

2011-01-31 Thread Dan Winship
important that before we commit it, we actually try porting various other bits of code (evo, libsoup, gvfs, etc) to use it, to make sure it really does meet people's needs. Also, I'm considering https://bugzilla.gnome.org/show_bug.cgi?id=489862 to be the canonical URI parsing in glib bug. -- Dan

scan code for required gtk version

2011-01-01 Thread Dan McMahill
in cases where there is some really motivating reason to do so. That said, I also don't want to maintain a whole bunch of different gtk installs only for purposes of trying to see how far back I can go and still build this other program. Thanks -Dan ___ gtk

Re: IPv6 Link local addresses not supported.

2010-12-02 Thread Dan Winship
g_inet_socket_address_get_scope_id() and g_inet_socket_address_set_scope_id(). -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GLib without ipv6?

2010-11-19 Thread Dan Winship
the build themselves locally. (In this case, he can probably get rid of a lot more than just IPv6.) -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GLib without ipv6?

2010-11-18 Thread Dan Winship
. The IPv4ocalypse is nigh. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

comments on gio TLS (SSL) APIs wanted

2010-11-11 Thread Dan Winship
it adds in those docs. Discussion should happen mostly in bugzilla I guess? Thanks in advance... -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Minutes of the GTK+ team GUADEC meeting - 2010-07-29

2010-08-03 Thread Dan Winship
. TLS isn't happening for 2.26. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: SpinButton too sensitive

2010-05-23 Thread Dan
this :) Dan ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Drag And Drop - drag-motion cursor lockup? [FIXED]

2010-04-12 Thread Dan Saul
-drop_highlight = FALSE; } } } On Thu, Apr 1, 2010 at 8:06 PM, Dan Saul daniel.s...@gmail.com wrote: Hi, I am trying to implement drag and drop. Currently just trying to get the destination working. I have the basics working, but if I attempt to do custom drag-motion validation and I call

Drag And Drop - drag-motion cursor lockup?

2010-04-01 Thread Dan Saul
the xserver (just the program doesn't unlock). Has anyone encountered this before? I am probably missing something simple. Here is my code, thanks. Tar'd with build script: http://www.slello.com/tmp/testdnd.tar.gz Dan /*http://www.jirka.org/gob2.1.html*/ %h{ #include gtk/gtk.h %} %{ enum

Re: Type checking

2010-03-18 Thread Dan Winship
are in separate functions... -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Protected visibility for glib

2010-03-15 Thread Dan Winship
. Does that go away? - Makes it easier for people not to update the symbols file properly. Not really. If you don't run make check there's nothing to remind you to update the symbols file now either. -- Dan ___ gtk-devel-list mailing list gtk-devel-list

Re: Gnome DB bindings

2010-01-14 Thread Dan
on this stuff again after a long break - I'm going to add support for pushing / pulling datasets via SOAP for a new project I'm working on. Dan ___ gtk-perl-list mailing list gtk-perl-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-perl-list

Re: Valgrind and GTK libraries

2010-01-04 Thread Dan Kegel
like glibc, fontconfig, gtk, and pango, but we have to live with whatever distro the test bot admins picked (which is probably hardy or something like that). - Dan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org

Re: Valgrind and GTK libraries

2010-01-04 Thread Dan Kegel
/valgrind/memcheck/suppressions.txt some time ago. Searching the web finds a few other reports of this particular leak. - Dan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Proposal: Enable threads by default

2009-12-06 Thread Dan Winship
obviously). Don't worry about implementation details like GSlice, because those details might change in the future. The only thing you need to worry about is, if you're calling glib from multiple threads, you need to call g_thread_init(). -- Dan ___ gtk

Re: Proposal: Enable threads by default

2009-12-01 Thread Dan Winship
-2.0.pc.in too? Also, do we want to get rid of the possibility of compiling glib without threads? Allowing threadless glib means we still need to have the non-threaded versions of GIOScheduler, GResolver, etc, lying around, but they'll never get used in normal builds. -- Dan

Re: Proposal: Enable threads by default

2009-12-01 Thread Dan Winship
think there are any non-toy OSes that have that problem any more. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

threading by default [was Re: GIO will link with -pthread soon]

2009-11-20 Thread Dan Winship
, where everything has to support being able to switch from unthreaded to threaded at any time. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GIO will link with -pthread soon

2009-11-18 Thread Dan Winship
, not with libglib itself. (Even libgio fails. https://bugzilla.gnome.org/show_bug.cgi?id=595757) -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: GDataInputStream API break

2009-11-17 Thread Dan Winship
On 11/17/2009 04:54 AM, Alexander Larsson wrote: On Fri, 2009-11-13 at 10:11 -0500, Dan Winship wrote: On 11/13/2009 08:50 AM, Alexander Larsson wrote: Maybe we can do something like: Add g_data_input_stream_read_until2() which doesn't consume the input. #define g_data_input_stream_read_until

Re: GDataInputStream API break

2009-11-13 Thread Dan Winship
the input. #define g_data_input_stream_read_until g_data_input_stream_read_until2 That still breaks the API; programs expecting the old behavior will be silently switched to the new behavior when they are recompiled. -- Dan ___ gtk-devel-list mailing

Re: GIO will link with -pthread soon

2009-11-12 Thread Dan Winship
on some other platforms, but they would have to be already working around it (eg, http://mail-index.netbsd.org/tech-pkg/2004/11/24/0003.html). -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: RFC: Adding zlib dependency to libgio

2009-11-09 Thread Dan Winship
On 11/09/2009 07:53 AM, Bastien Nocera wrote: Could this be used by libsoup for websites that zlib-compress their data? It could (and eventually would), but passing data to zlib isn't the hard part of the problem there. (And this will actually be working in libsoup in 2.28.2.) -- Dan

Re: [semi-OT] gdb backtrace on windows

2009-10-19 Thread Dan Kegel
On Mon, Oct 19, 2009 at 12:52 PM, Tor Lillqvist t...@iki.fi wrote: The most likely cause for weird errors is heap corruption. Does your program run on Linux? Have you tried running it under valgrind to find heap corruption errors? (See http://live.gnome.org/Valgrind for instructions, in

Re: Simulating mouse input with gdk_event_put()?

2009-10-01 Thread Dan Kegel
On Sun, Jun 28, 2009 at 8:20 AM, Dan Kegel d...@kegel.com wrote: I have figured out how to inject synthetic, or fake, keyboard events using gdk_event_put(), but I'm having trouble generating mock mouse events.  The function I'm trying to implement should take the X and Y coordinates

Re: Memory leaks

2009-07-13 Thread Dan Kegel
checking in Glib/GObject/Gtk based apps Yeah. I wonder if an enhancement request has been filed yet for that... - Dan ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: Memory leaks

2009-07-13 Thread Dan Kegel
On Mon, Jul 13, 2009 at 7:43 AM, Vallone, Anthonyanthony.vall...@lmco.com wrote: I created a simple gtk app that uses all the widgets and functions that we use across our many GUIs.  I ran that app with purify, and created a suppression file to suppress all of the reported errors from this

Simulating mouse input with gdk_event_put()?

2009-06-28 Thread Dan Kegel
, but if anyone feels like having a look and pointing out what's wrong, I'd appreciate it. Thanks! - Dan ___ gtk-app-devel-list mailing list gtk-app-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Re: Injecting input inside a gtk program?

2009-06-27 Thread Dan Kegel
On Fri, Jun 26, 2009 at 5:38 AM, Dan Kegeld...@kegel.com wrote: How does one inject keystrokes in a gtk program? http://mail.gnome.org/archives/gtk-app-devel-list/2004-July/msg00016.html shows how to do it with gdk_keymap_get_entries_for_keyval() and gtk_main_do_event(). Only that doesn't

Re: Injecting input inside a gtk program?

2009-06-26 Thread Dan Kegel
On Mon, Jun 22, 2009 at 7:32 AM, Dan Kegeld...@kegel.com wrote: On Thu, Jun 18, 2009 at 5:46 PM, Dan Kegeld...@kegel.com wrote: How does one inject keystrokes in a gtk program? http://mail.gnome.org/archives/gtk-app-devel-list/2004-July/msg00016.html shows how to do

Re: portable applications

2009-06-24 Thread Dan Kegel
. Is there a simple way to statically link the esoteric aspects of my GUI In general, static linking doesn't work well these days. glibc and several other libraries use dynamic linking at runtime. - Dan ___ gtk-app-devel-list mailing list gtk-app-devel

Re: Injecting input inside a gtk program?

2009-06-22 Thread Dan Kegel
On Mon, Jun 22, 2009 at 7:32 AM, Dan Kegeld...@kegel.com wrote: On Thu, Jun 18, 2009 at 5:46 PM, Dan Kegeld...@kegel.com wrote: How does one inject keystrokes in a gtk program? http://mail.gnome.org/archives/gtk-app-devel-list/2004-July/msg00016.html shows how to do

Re: I met a strange problem: after dispose g_object_ref could also succeed!

2009-06-19 Thread Dan Kegel
are off. You should do export G_SLICE=always-malloc before running under valgrind for best results. - Dan ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Injecting input inside a gtk program?

2009-06-18 Thread Dan Kegel
How does one inject keystrokes in a gtk program? Let's say I'm writing a test case for a library written with gtk, the test case is going to be linked against the library (so I don't need this to work across processes), and the test case just wants to bring an existing window to the foreground and

Strange scrollbar problem: lost mouse-up click

2009-06-09 Thread Dan Kegel
. Has anybody seen anything similar? (Both systems have a 3M ergonomic USB mouse, but those have been working well for years, and I doubt that's related.) - Dan ___ gtk-list mailing list gtk-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-list

Re: global menubars in GTK+

2009-05-30 Thread Dan Winship
with it. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: Review of gnio, round 2

2009-05-18 Thread Dan Winship
use setsockopt() if they really need it... (OTOH, TCP_NODELAY, SO_RCVTIMEO, and SO_SNDTIMEO may be more worthwhile, though TCP_NODELAY might want to be merged into a single API with TCP_CORK/MSG_MORE. More to think about...) -- Dan ___ gtk-devel-list

Re: Review of gnio, round 1

2009-05-12 Thread Dan Winship
and hoping that GResolver will be able to map foobar to the right number for you. -- Dan ___ gtk-devel-list mailing list gtk-devel-list@gnome.org http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Re: windows [Re: Review of gnio, round 2]

2009-05-11 Thread Dan Winship
On 05/11/2009 03:47 AM, Alexander Larsson wrote: On Sun, 2009-05-10 at 10:53 -0400, Dan Winship wrote: But if you bind() and then connect() (eg, like the rcmd/rsh/rlogin suite) then maybe you don't want SO_REUSEADDR. (And looking at the glibc source for rresvport(), it doesn't use SO_REUSEADDR

Re: Review of gnio, round 1

2009-05-11 Thread Dan Winship
as there are other resolvers too (SATResolver, EquationResolver, ...) But are those likely to ever be in the G namespace? Also, it's an interface to libresolv, so... GResolver. But anyway, we could rename it to GDNSResolver if people wanted. Or just GDNS? -- Dan

Re: windows [Re: Review of gnio, round 2]

2009-05-10 Thread Dan Winship
SO_REUSEADDR, and instead just keeps trying different ports at random until it either succeeds or gets an error other than EADDRINUSE.) I'm not sure if there are use cases for bind+connect that don't involve prehistoric authentication models... -- Dan

  1   2   3   >