1. 12 Nov, 2004 5 commits
    • Matthias Clasen's avatar
      Changes to make gdk-pixbuf threadsafe (#157310, #157306, Colin Walters): · cb918cdb
      Matthias Clasen authored
      2004-11-12  Matthias Clasen  <mclasen@redhat.com>
      
      	Changes to make gdk-pixbuf threadsafe  (#157310, #157306,
      	Colin Walters):
      
      	* gdk-pixbuf-io.h (enum GdkPixbufFormatFlags): Add
      	GDK_PIXBUF_FORMAT_THREADSAFE to indicate that an image loader
      	is threadsafe.
      
      	* gdk-pixbuf-io.c (get_file_formats, _gdk_pixbuf_load_module):
      	Use a lock to make initialization of global data structures
      	threadsafe.
      	* gdk-pixbuf-private.h:
      	* gdk-pixbuf-io.c (_gdk_pixbuf_lock, _gdk_pixbuf_unlock):
      	Auxiliary functions which use another lock to protect
      	threadunsafe image loaders.
      
      	* gdk-pixbuf-io.c (gdk_pixbuf_real_save):
      	(save_to_callback_with_tmp_file):
      	(gdk_pixbuf_real_save_to_callback):
      	(gdk_pixbuf_new_from_xpm_data):
      	(_gdk_pixbuf_generic_image_load):
      	* gdk-pixbuf-animation.c (gdk_pixbuf_animation_new_from_file):
      	* gdk-pixbuf-loader.c (gdk_pixbuf_loader_load_module):
      	(gdk_pixbuf_loader_close):
      	(gdk_pixbuf_loader_finalize):
      	Use _gdk_pixbuf_lock() and _gdk_pixbuf_unlock().
      
      	* io-ani.c, io-bmp.c, io-gif.c, io-ico.c:
      	* io-jpeg.c, io-pcx.c, io-png.c, io-pnm.c:
      	* io-ras.c, io-tga.c, io-wbmp.c, io-xbm.c:
      	* io-xpm.c: Mark as threadsafe.
      
      	* io-tiff.c: Remove pointless locking, mark as
      	threadunsafe.
      cb918cdb
    • Matthias Clasen's avatar
      Check for uxtheme.h (#157967, J. Ali Harlow) · 26cbda1b
      Matthias Clasen authored
      2004-11-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* configure.in: Check for uxtheme.h  (#157967, J. Ali Harlow)
      26cbda1b
    • Matthias Clasen's avatar
      Don't try to build doc-shooter on Windows. (#157979, J. Ali Harlow) · 56c3d75c
      Matthias Clasen authored
      2004-11-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* docs/tools/Makefile.am: Don't try to build doc-shooter on
      	Windows.  (#157979, J. Ali Harlow)
      56c3d75c
    • Matthias Clasen's avatar
      Don't try to use xdgmime on Windows where we don't build it. (#157944, J. · 3411287e
      Matthias Clasen authored
      
      2004-11-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkfilefilter.c: Don't try to use xdgmime on
      	Windows where we don't build it.   (#157944, J. Ali Harlow)
      3411287e
    • Matthias Clasen's avatar
      Also reserve space for the resize grip if the grip_window is not realized · 73b0f2bc
      Matthias Clasen authored
      2004-11-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkstatusbar.c (gtk_statusbar_size_allocate): Also
      	reserve space for the resize grip if the grip_window is not
      	realized yet.  (#158010, Christian Persch)
      	(gtk_statusbar_button_press): Only start a resize if the
      	button press comes from the grip_window.  (#158011, Christian Persch)
      73b0f2bc
  2. 11 Nov, 2004 8 commits
    • Tor Lillqvist's avatar
      Fix for #137551, by Robert Ögren: · 430a02d8
      Tor Lillqvist authored
      2004-11-11  Tor Lillqvist  <tml@iki.fi>
      
      	Fix for #137551, by Robert Ögren:
      
      	* gdk/win32/gdkevents-win32.c (generate_focus_event): New function.
      
      	(gdk_keyboard_grab, gdk_keyboard_ungrab): Generate focus change
      	events.
      
      	(gdk_event_translate): Check for keyboard grabs and not pointer
      	grabs when handling WM_{SET,KILL}FOCUS. Use generate_focus_event().
      430a02d8
    • Matthias Clasen's avatar
      Fix some C99isms. · d1a02aaa
      Matthias Clasen authored
      2004-11-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkuimanager.c (update_node): Fix some C99isms.
      d1a02aaa
    • Matthias Clasen's avatar
      Remove two more places where we were unconditionally setting "visible", · 75eb3f9d
      Matthias Clasen authored
      2004-11-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkuimanager.c (update_node): Remove two more places
      	where we were unconditionally setting "visible", causing
      	unnecessary notifications.
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	(gtk_clipboard_get): Clarify the docs.  (#156638, Torsten
      	Schoenfeld)
      	(gtk_clipboard_finalize): Warn if the clipboard is still in
      	its displays clipboard list.
      75eb3f9d
    • Matthias Clasen's avatar
      Considerably speed up GtkUIManager, by changing the semantics of the dirty · 41628ede
      Matthias Clasen authored
      2004-11-11  Matthias Clasen  <mclasen@redhat.com>
      
      	Considerably speed up GtkUIManager, by changing the semantics
      	of the dirty flag. It is now propagated up the tree, and
      	update_node() doesn't descend into clean subtrees.  (#143668,
      	Dave Neary, Michael Natterer, Sven Neumann, fix proposed
      	by Soeren Sandmann)
      
      	* gtk/gtkuimanager.c (node_prepend_ui_reference): Only prepend
      	a new node reference if the merge_id is different. Take a GNode,
      	so we can walk up the tree, adjust all callers.
      	(node_remove_ui_reference): Only mark a node dirty if the first
      	ui reference is removed. Take a GNode here as well for
      	consistency.
      	(update_node): Don't descend into clean subtrees.
      	(mark_node_dirty): New function to mark a node and its
      	predecessors dirty.
      41628ede
    • Jonathan Blandford's avatar
      return FALSE instead of TRUE. This is just a quick fix to prevent the idle · 7b1c2c1b
      Jonathan Blandford authored
      Thu Nov 11 11:34:32 2004  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkfilechooserbutton.c (update_idler): return FALSE instead
              of TRUE.  This is just a quick fix to prevent the idle from
              looping indefinitely.
      7b1c2c1b
    • J. Ali Harlow's avatar
      Use embedded tab rather than '\t' escape sequence. (#157949) · 097b42b5
      J. Ali Harlow authored
      2004-11-11  J. Ali Harlow  <ali@juiblex.co.uk>
      
       	* gdk/Makefile.am:
       	* gdk-pixbuf/Makefile.am:
       	* gtk/Makefile.am (gtk.def): Use embedded tab rather than '\t'
       	escape sequence. (#157949)
      097b42b5
    • Laurent Dhima's avatar
      Updated Albanian translation. · 7bc6850f
      Laurent Dhima authored
      2004-11-11  Laurent Dhima  <laurenti@alblinux.net>
      
      	* sq.po: Updated Albanian translation.
      7bc6850f
    • Matthias Clasen's avatar
      Use g_filename_display_name() instead of g_filename_to_utf8() when putting · 2b080cc2
      Matthias Clasen authored
      2004-11-10  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk-pixbuf-animation.c:
      	* gdk-pixbuf-io.c: Use g_filename_display_name() instead of
      	g_filename_to_utf8() when putting filenames in error messages.
      2b080cc2
  3. 10 Nov, 2004 8 commits
  4. 09 Nov, 2004 19 commits