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 2 commits
  4. 30 Jul, 2002 3 commits
  5. 29 Jul, 2002 1 commit
  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 2 commits
  10. 10 Jul, 2002 2 commits
  11. 06 Jul, 2002 1 commit
    • Owen Taylor's avatar
      Add an extra parameter to _gtk_menu_item_select_first() to allow us to · 367cacdf
      Owen Taylor authored
      Fri Jul  5 20:18:23 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenushell.[ch] gtk/gtkmenubar.c gtk/gtkmenuitem.c
              gtk/gtkentry.c gtk/gtktextview.c: Add an extra parameter
              to _gtk_menu_item_select_first() to allow us to choose
              whether we want to select the first item predictably
              or to select the first sensitive item. Fixes problem
              with insensitive menu items and keynav. (#85796,
              reported by Bill Haneman and others.)
      367cacdf
  12. 05 Jul, 2002 2 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
  13. 02 Jul, 2002 2 commits
  14. 01 Jul, 2002 2 commits
  15. 20 Jun, 2002 5 commits
    • Owen Taylor's avatar
      Renames: · 28c2b0a3
      Owen Taylor authored
      Thu Jun 20 19:41:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.h gdk/gdkscreen.h gdk/**.c gtk/*.c
              tests/*.c: Renames:
      
               gdk_get_default_display => gdk_display_get_default
               gdk_get_default_screen  => gdk_screen_get_default
               gdk_open_display        => gdk_display_open
      28c2b0a3
    • Owen Taylor's avatar
      Add a singleton object that we can use to get notification when displays · 5830bf89
      Owen Taylor authored
      Thu Jun 20 16:49:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplaymanager.[ch] gdk/gdk.[ch] gdk/gdkdisplay.c
              gdk/gdkinternals.h gdk/x11/gdkdisplay-x11.c
              gdk/win32/gdkdisplay-win32.c: Add a singleton object that
              we can use to get notification when displays
              appear / disappear or the default display changes.
      
              gdk_set_default_display() => gdk_display_manager_set_default_display()
              gdk_list_displays() => gdk_display_manager_list_displays().
              (#85696)
      
              * gdk/Makefile.am gdk/gdkmarshalers.list: Add marshaler
              generation.
      
              * gdk/gdkintl.h: Add this.
      
              * gtk/gtkmain.c: Add gtk_parse_args() that initializes
              GTK+ without opening a display.
      
              * gtk/gtkmain.c: Set things up so if a module
              exports gtk_module_init() and gtk_module_display_init(),
              then we treat it as multihead aware, otherwise,
              we only initialize it after the default display is set.
      5830bf89
    • Owen Taylor's avatar
      Patch from Erwann Chenede. · 4251a51e
      Owen Taylor authored
      Thu Jun 20 15:53:21 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Patch from Erwann Chenede.
      
      	* gdk/x11/gdkdisplay-x11.[ch] gdk/x11/gdkprivate-x11.h:
      	Introduce a yes/no/unknown GdkTristate, use it
      	in a couple of places. (#79962)
      
      	* gdk/x11/gdkwindow-x11.c gdk/x11/gdkdisplay-x11.h: Make
      	gravity_works per-display. (#79963)
      4251a51e
    • Owen Taylor's avatar
      Get the owner from the display if !NULL. Otherwise, warn for multihead. · 511d536a
      Owen Taylor authored
      Thu Jun 20 15:36:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkselection.c (gtk_selection_owner_set): Get
              the owner from the display if !NULL. Otherwise, warn for
              multihead. (#85680)
      511d536a
    • Owen Taylor's avatar
      Add notification for screen property. (#80280) · 3bbc2ee8
      Owen Taylor authored
      Thu Jun 20 12:16:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkinvisible.c (gtk_invisible_set_screen): Add
      	notification for screen property. (#80280)
      3bbc2ee8
  16. 19 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Set the display. · 31d59305
      Owen Taylor authored
      Tue Jun 18 19:38:08 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
      	display.
      
      	* gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
      	missing check for mv_resize == NULL.
      31d59305
  17. 18 Jun, 2002 5 commits
    • Owen Taylor's avatar
      Set the display. · a0cd7079
      Owen Taylor authored
      Tue Jun 18 19:38:08 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkinput.c (_gdk_init_input_core): Set the
              display.
      
              * gdk/x11/gdkwindow-x11.c (_gdk_moveresize_handle_event): Fix
              missing check for mv_resize == NULL.
      a0cd7079
    • Owen Taylor's avatar
      Typo fix. · 09a33a8a
      Owen Taylor authored
      Tue Jun 18 19:30:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktreeview.c: Typo fix.
      09a33a8a
    • Owen Taylor's avatar
      Make the core pointer object per-display. (#85698) · 1abf7df6
      Owen Taylor authored
      Tue Jun 18 19:11:51 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkdisplay.[ch] gdk/gdkevents.c gdk/gdkinput.h
              gdk/gdkinternals.h gdk/win32/gdkevents-win32.c
              gdk/win32/gdkinput-win32.[ch] gdk/x11/gdkevents-x11.c
              gdk/x11/gdkinput{,-none,-x11}.c gdk/x11/gdkinputprivate.h:
              Make the core pointer object per-display. (#85698)
      1abf7df6
    • Yanko Kaneti's avatar
      Added Bulgarian (bg). · c597a7be
      Yanko Kaneti authored
      2002-06-18  Yanko Kaneti <yaneti@declera.com>
      
         * configure.in: (ALL_LINGUAS) Added Bulgarian (bg).
      
      po/
      
         * bg.po (added): Bulgarian translation by
         Borislav Aleksandrov <B.Aleksandrov@cnsys.bg>.
      
      100%
      c597a7be
    • Owen Taylor's avatar
      Replace gdk_cursor_new_for_screen() with gdk_cursor_new_for_display(). · 621fb746
      Owen Taylor authored
      Tue Jun 18 14:41:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkcursor.[ch] gdk/x11/gdkcursor-x11.c
              gdk/x11/gdkprivate-x11.h gdk/win32/gdkcursor-win32.c: Replace
              gdk_cursor_new_for_screen() with gdk_cursor_new_for_display().
              (#85671)
      
              * gtk/gtkclist.c gtk/gtkcombo.c gtk/gtkcurve.c gtk/gtkdnd.c
              gtk/gtkentry.c gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtklabel.c
              gtk/gtkpaned.c gtk/gtktext.c gtk/gtktextview.c
              gtk/gtktipsquery.c gtk/gtktreeviewcolumn.c:
              Adapt to above change.
      621fb746