1. 02 Aug, 2002 1 commit
    • Owen Taylor's avatar
      Switch back to using XftDraw so that we take advantage of the · d5f0576c
      Owen Taylor authored
      Fri Aug  2 00:43:15 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkdrawable-x11.[ch] gdk/x11/gdkgc-x11.c
      	gdk/x11/gdkpango-x11.c gdk/x11/gdkpixmap-x11.c
      	gdk/x11/gdkprivate-x11.h gdk/x11/gdkwindow-x11.c:
      	Switch back to using XftDraw so that we take
      	advantage of the draw-to-non-RENDER capabilities
      	of Xft2.
      
      	* demos/gtk-demo/changedisplay.c (query_for_toplevel):
      	Fix the case where the user clicks on the "click on
      	a window popup".
      d5f0576c
  2. 01 Aug, 2002 3 commits
    • Owen Taylor's avatar
      New demo for window migration between different displays and screens. · 63489392
      Owen Taylor authored
      Thu Aug  1 19:09:39 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* demos/gtk-demo/changedisplay.c: New demo for
      	window migration between different displays and screens.
      
      	* gtk/gtkrc.c gtkstyle.[ch]: Add
      	_gtk_style_init_for_settings(), so that gtkrc.c
      	can initialize the styles it creates for the
      	right display.
      
      	* gdk/gdkdisplaymanager.c (gdk_screen_get_default)
      	* gtk/gtksettings.c (gtk_settings_get_default)
      	* gtk/gtkstyle.c (gtk_style_init): Handle absence of
      	a default screen.
      
      	* gdk/x11/gdkmain-x11.c (_gdk_windowing_set_default_display):
      	Handle display == NULL.x
      
      	* gdk/gdkdisplay.c (gdk_display_dispose): Free the
      	event queue.
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkdisplay-x11.c:
      	Remove the event source when closing a display.
      
      	* gdk/gdkdisplay.[ch]: Add a ::closed signal, dispose()
      	isn't convenient enough by itself.
      
      	* gdk/x11/gdkevents-x11.c (gdk_xsettings_watch_cb):
      	Create foreign windows for watch windows if there isn't
      	an existing window, instead of installing a global filter.
      
      	* gdk/x11/gdkscreen-x11.c gdk/x11/gdkprivate-x11.h
      	gdk/x11/gdkevents-x11.c (_gdk_x11_events_uninit_screen):
      	Clean up the xsettings_client when we are done with
      	it.
      
      	* gdk/x11/gdkevents-x11.c (_gdk_events_init): Remove
      	excess call to _gdk_x11_events_init_screen()
      63489392
    • Sven Neumann's avatar
      Merge from stable: · 615deb3e
      Sven Neumann authored
      2002-08-01  Sven Neumann  <sven@gimp.org>
      
      	Merge from stable:
      
      	* gdk/gdkrgb.c: trivial changes to some debug code so it compiles
      	with VERBOSE being defined.
      615deb3e
    • Owen Taylor's avatar
      Start implementing display/screen closing scheme; keep a flag for whether · e5ae081e
      Owen Taylor authored
      Thu Aug  1 11:26:03 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkdisplay.[ch] gdk/gdkscreen.[ch] gdkinternals.h:
      	Start implementing display/screen closing scheme; keep a
      	flag for whether displays and screens are closed,
      	call g_object_run_dispose(). Remove public gdk_screen_close().
      
      	* gdk/x11/gdkdisplay-x11.c gdk/x11/gdkscreen-x11.c: Add
      	dispose() methods; move appropriate parts of the finalize
      	there.
      
      	* gdk/x11/gdkcolor-x11.c gdk/x11/gdkimage-x11.c
      	gdk/x11/gdkmain-x11.c gdk/x11/gdkpango-x11.c
      	gdk/x11/gdkpixmap-x11.c gdk/x11/gdkproperty-x11.c
      	gdk/x11/gdkselection-x11.c gdk/x11/gdkwindow-x11.c:
      	Start of making everything correctly ignore operations
      	when a display has been closed.
      
      	* gdk/x11/gdkwindow-x11.c (gdk_window_get_decorations):
      	Handle decorations == NULL.
      
      	* gdk/x11/gdkcolor-x11.c (gdk_colormap_remove):
      	Remove unnecessary hash table creation.
      
      	* gdk/x11/gdkinput.c gdk/x11/gdkinput-x11.c gdk/win32/gdkinput.c
      	Fix up gdk_device_get_history - handle events, n_events == NULL,
      	etc.
      
      	* gdk/x11/gdkproperty-x11.c (gdk_property_get):
      	Handle failure better.
      
      	* gdk/x11/gdkselection-x11.c (gdk_selection_property_get):
      	Handle failure better, handle data == NULL, move docs
      	here, remove an excess round trip by asking for
      	all selection data at once.
      
      	* gdk/gdkselection.c gdk/win32/{x11,win32}/gdkselection-{x11,win32}.c
      	  gdk/{x11,win32}/gdkmain-{x11,win32}.c	gdk/gdkdisplay.c: Move
      	gdk_text_property_to_text_list(), gdk_string_to_compound_text(),
      	gdk_display_set_sm_client_id() to display-independent part of GDK.
      
      	* gdk/Makefile.am (gdk_c_sources): Sort gdkdisplay/screen.[ch]
      	into the right place.
      e5ae081e
  3. 31 Jul, 2002 3 commits
  4. 30 Jul, 2002 6 commits
  5. 29 Jul, 2002 2 commits
  6. 26 Jul, 2002 3 commits
    • Owen Taylor's avatar
      ri Jul 26 17:59:06 2002 Owen Taylor <otaylor@redhat.com> · ba0a457c
      Owen Taylor authored
              * configure.in: Replace uses of grep \(A\|B\) ... with
              egrep (A|B). (#84872, Arnaud Charlet)
      ba0a457c
    • Kristian Rietveld's avatar
      API additions: _move, _reorder and _swap for stores, path constructor. · 6c3caf2a
      Kristian Rietveld authored
      Fri Jul 26 22:53:37 2002  Kristian Rietveld  <kris@gtk.org>
      
              API additions: _move, _reorder and _swap for stores, path
              constructor.
      
              * gtk/gtktreemodel.[ch] (gtk_tree_path_new_from_indices): new function.
      
              * gtk/gtkliststore.[ch]: added gtk_list_store_reorder_func (private),
              gtk_list_store_reorder, gtk_list_store_swap, gtk_list_store_move.
      
              * gtk/gtktreestore.[ch]: added gtk_tree_store_reorder_func (private),
              gtk_tree_store_reorder, gtk_tree_store_swap, gtk_tree_store_move.
      
      Fri Jul 26 22:32:57 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreestore.c (node_free): return FALSE,
              (gtk_tree_store_finalize): use g_node_traverse instead of
              g_node_children_foreach, so the whole tree will be freed (#88854,
              patch from Emmanuel Briot).
      
      Fri Jul 26 22:32:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): fix some memleaks,
              (#84426, patch from Matthias Clasen).
      
      Fri Jul 26 22:31:25 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from stable:
      
              * gtk/gtktreeview.c (gtk_tree_view_unref_tree_helper): _iter_children
              check shouldn't be in g_return_return_val_if_fail (pointed out by
              Josh Green, #88997),
              (gtk_tree_view_set_model): call _gtk_tree_view_column_unset_model
              for each column when we unset the model (part of #82484),
              (gtk_tree_view_get_cell_area): return if we ran out of tree or
              if we got an invalid path (#82376).
      
              * gtk/gtktreeprivate.h: add _gtk_tree_view_column_unset_model.
      
              * gtk/gtktreeviewcolumn.c: implement _gtk_tree_view_column_unset_model
              which disconnects the sort_column_changed_signal (part of #82484).
      
              * gtk/gtkliststore.c (gtk_list_store_insert): append row if the
              given postion is off the end of the tree (#85813).
      
              * gtk/gtkentry.c (gtk_cell_editable_key_press_event): let's use
              2-space indent, commit changes if up/down keys has been pressed,
              this overrides the focus key foo so the user won't be surprised
              (#84665).
      6c3caf2a
    • Shivram U's avatar
      Check if depth of the source is not equal to the depth of the colormap · c8e242f1
      Shivram U authored
      Fri Jul 26 16:34:34 2002  Shivram U  <shivaram.upadhyayula@wipro.com>
      
      	* gdk/gdkpixbuf-drawable.c (gdk_pixbuf_get_from_drawable),
      	(gdk_pixbuf_get_from_image), (rgbconvert), (convert_real_slow):
      	Check if depth of the source is not equal to the depth of the colormap
      	passed. (#75597)
      c8e242f1
  7. 25 Jul, 2002 4 commits
  8. 24 Jul, 2002 1 commit
  9. 16 Jul, 2002 4 commits
  10. 10 Jul, 2002 2 commits
  11. 07 Jul, 2002 2 commits
  12. 06 Jul, 2002 4 commits
  13. 05 Jul, 2002 3 commits
    • Jonathan Blandford's avatar
      fix warning. (gtk_tree_view_search_iter): fix warning, #85884 · e05a9660
      Jonathan Blandford authored
      Fri Jul  5 02:50:24 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreeview.c (gtk_tree_view_collapse_all): fix warning.
      	(gtk_tree_view_search_iter): fix warning, #85884
      
      	* gtk/gtktreestore.c (gtk_tree_store_get_flags): change return
      	value to GtkTreeModelFlags to fix compiler warning, #85883
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags): change
      	return value to GtkTreeModelFlags to fix compiler warning, #85882
      
      	* gtk/gtktreemodel.c (gtk_tree_path_prepend_index): fix compiler
      	warning, #85881
      e05a9660
    • Kristian Rietveld's avatar
      Merge from HEAD. · c9bd72a3
      Kristian Rietveld authored
      Fri Jul  5 12:51:39 2002  Kristian Rietveld  <kris@gtk.org>
      
              Merge from HEAD.
      
              * gtk/gtkliststore.c (gtk_list_store_sort): also update ->tail after            sorting.
      c9bd72a3
    • Yuri Syrota's avatar
      Updated Ukrainian translation · d199e71d
      Yuri Syrota authored
      d199e71d
  14. 02 Jul, 2002 2 commits
    • Matthias Clasen's avatar
      Miscellaneous bmp loader fixes (#85448, #86286, #86287): · 096e8ea2
      Matthias Clasen authored
      	* io-bmp.c (grow_buffer): New function to avoid crashes
      	on unchecked reallocs.
      	(DecodeHeader, DecodeColormap, decode_bitmasks,
      	DoCompressed): Use grow_buffer instead of g_realloc
      	throughout. Change signatures where necessary to pass the
      	errors up.
      	(OneLine16): Fix loading of 16bpp BI_RGB bmps.
      	(DoCompressed): Rewritten to properly support BI_RLE4 and
      	skips and jumps.
      096e8ea2
    • Padraig O'Briain's avatar
      Use hyphen instead of underscore in signal names in calls to · 7b0ef96d
      Padraig O'Briain authored
      * gtk/gtksocket.c (gtk_socket_hierarchy_changed):
      Use hyphen instead of underscore in signal names in calls to
      g_signal_connect_swapped (Fixes bug #86339)
      7b0ef96d