1. 09 Aug, 2002 4 commits
  2. 07 Aug, 2002 2 commits
  3. 06 Aug, 2002 1 commit
  4. 05 Aug, 2002 5 commits
    • Owen Taylor's avatar
      Patch from Soeren Sandmann to improve GtkLabel behavior when it gets a too · 9eb97b04
      Owen Taylor authored
      Mon Aug  5 17:20:45 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtklabel.c: Patch from Soeren Sandmann
              to improve GtkLabel behavior when it gets
              a too small allocation. (Always display the
              initial portion.) (#71742)
      9eb97b04
    • Owen Taylor's avatar
      When overriding LDFLAGS, include @LDFLAGS@, otherwise LDFLAGS the users · e1826de7
      Owen Taylor authored
      Mon Aug  5 17:01:30 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/Makefile.am (LDFLAGS): When overriding LDFLAGS,
              include @LDFLAGS@, otherwise LDFLAGS the users passes
              to configure don't get used. (#89946, Noah Levitt,
              Albert Chin)
      
              * gdk/linux-fb/Makefile.am: Remove LDFLAGS setting.
      e1826de7
    • Owen Taylor's avatar
      Fix problem with wrong depth being used. (#89941, Jacob Berkman.) Remove · e8468d5e
      Owen Taylor authored
      Mon Aug  5 15:25:40 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkpixbuf-render.c (gdk_pixbuf_render_pixmap_and_mask_for_colormap):
              Fix problem with wrong depth being used. (#89941, Jacob
              Berkman.) Remove an unneeded 'screen' variable.
      
      Mon Aug  5 15:04:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              More fixes for warnings reported by David L. Cooper II
      
              * gtk/gtkaccelmap.c (accel_map_parse_accel_path): Use
              GdkModifierType for accel_mods. (#85856)
      
              * gdk/gdkdisplay.h (struct _GdkDisplay): Make button_number
              signed, since we use -1 as an 'unset' value. (#85854)
      
              * gdk/x11/xsettings-client.c (parse_settings): Suppress
              a warning (#85853)
      
              * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): Fix
              accidental trailing ';'. (#85846)
      e8468d5e
    • Owen Taylor's avatar
      More fixes for warnings reported by David L. Cooper II · 1f8ad87b
      Owen Taylor authored
      Mon Aug  5 15:04:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              More fixes for warnings reported by David L. Cooper II
      
              * gtk/gtkaccelmap.c (accel_map_parse_accel_path): Use
              GdkModifierType for accel_mods. (#85856)
      
              * gdk/gdkdisplay.h (struct _GdkDisplay): Make button_number
              signed, since we use -1 as an 'unset' value. (#85854)
      
              * gdk/x11/xsettings-client.c (parse_settings): Suppress
              a warning (#85853)
      
              * gdk/x11/gdkfont-x11.c (gdk_font_charset_for_locale): Fix
              accidental trailing ';'. (#85846)
      1f8ad87b
    • Owen Taylor's avatar
      Add a note that yes, we do know what () means and we can't change it. · 090a1ac1
      Owen Taylor authored
      Mon Aug  5 14:50:13 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkitemfactory.h: Add a note that yes, we do know
      	what () means and we can't change it.
      
      	Fixes for warnings reported by David L. Cooper II
      
      	* tests/testtext.c: Warning fixes. Fix order of arguments
      	to gtk_message_dialog_new(). (#85891)
      
      	* gtk/gtktreeitem.c (gtk_tree_item_paint): Fix incorrect
      	use GTK_STATE_INSENSITIVE for a shadow type. (Not clear
      	what the drawing intent was, but it's ENABLE_BROKEN
      	anyways.) (#85880)
      
      	* gtk/gtktexttypes.c: Use character literals
      	instead of direct constants to avoid warning. (#85878)
      
      	* gtk/theme-bits/decompose-bits.c gtk/gtkstyle.c:
      	Fix some signed/unsigned problems (#85876)
      
      	* gtk/gtksignal.c (gtk_signal_newv): Add an explicit
      	cast from GtkSignalRunType to GSignalFlags. (#85875)
      
      	* gtk/gtkitemfactory.c (gtk_item_factory_add_item): Fix
      	use of guint instead of GdkModifierType (#85871)
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
      	Fix signed/unsigned problem (#85870)
      
      	* gtk/gtkimcontext.c (gtk_im_context_class_init): Get
      	rid of GtkType/Signal*. (Fixes #85869 as a side effect)
      
      	* gtk/gtkdnd.c (gtk_drag_get_cursor): Fix some
      	signed/unsigned warnings (#85865)
      090a1ac1
  5. 04 Aug, 2002 3 commits
  6. 02 Aug, 2002 9 commits
    • Gediminas Paulauskas's avatar
      sorry · 8c46927b
      Gediminas Paulauskas authored
      8c46927b
    • Owen Taylor's avatar
      Fix menus resizing dynamically while they are popped up or torn off. · 786b3e29
      Owen Taylor authored
      Fri Aug  2 18:00:46 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkmenu.c: Fix menus resizing dynamically while
              they are popped up or torn off. (#78949)
      786b3e29
    • Gediminas Paulauskas's avatar
      prototypes with no parameters must be defined as (void), not () · 934f1cc4
      Gediminas Paulauskas authored
      2002-08-02  Gediminas Paulauskas <menesis@delfi.lt>
      
              * gtkitemfactory.h: prototypes with no parameters must be
      	        defined as (void), not ()
      934f1cc4
    • Owen Taylor's avatar
      ----:---F1 gdkregion-generic.c (CGTK CVS:1.11... · 977119e8
      Owen Taylor authored
      ----:---F1  gdkregion-generic.c      (CGTK CVS:1.11 Abbrev)--L1696--96%---------Fri Aug  2 16:38:34 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/gdkregion-generic.c: Comprehensively add
              g_return_[val]if_fail() statements. (#89491, Robin Lu)
      977119e8
    • Owen Taylor's avatar
      Remove references to gdk_initialized (#81060, Jacob Berkman) · c7aab6da
      Owen Taylor authored
      Fri Aug  2 16:24:32 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkmain-x11.c: Remove references to
              gdk_initialized (#81060, Jacob Berkman)
      
              * gdk/gdk.c (gdk_exit): Remove gdk_exit_func().
      c7aab6da
    • Owen Taylor's avatar
      Fix args to pango_x_shutdown_display(). · b7c0c06b
      Owen Taylor authored
      Fri Aug  2 15:56:47 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose): Fix
              args to pango_x_shutdown_display().
      
              * gdk/linux-fb/gdkinput.c gdk/linux-fb/gdkinputprivate.h
              gdk/win32/gdkinput-win32.[ch] gdk/win32/gdkinput.c
              gdk/win32/gdkwindow-win32.c gdk/x11/gdkinput-x11.c
              gdk/x11/gdkinput-xfree.c gdk/x11/gdkinput.c
              gdk/x11/gdkinputprivate.h gdk/x11/gdkwindow-x11.c: Move
              a bunch of functions gdk_input => _gdk_input. Clean
              up some header file cruft. (#79971)
      b7c0c06b
    • Owen Taylor's avatar
      Call pango_x[ft]_shutdown_display(). · 64e8303a
      Owen Taylor authored
      Fri Aug  2 12:21:41 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_dispose):
              Call pango_x[ft]_shutdown_display().
      64e8303a
    • jacob berkman's avatar
      declare screen_x11 variable to fix build w/ xinerama · 184a45ca
      jacob berkman authored
      2002-08-02  jacob berkman  <jacob@ximian.com>
      
      	* gdk/x11/gdkscreen-x11.c (check_xfree_xinerama): declare
      	screen_x11 variable to fix build w/ xinerama
      184a45ca
    • 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
  7. 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
  8. 31 Jul, 2002 3 commits
  9. 30 Jul, 2002 6 commits
  10. 29 Jul, 2002 2 commits
  11. 26 Jul, 2002 2 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