1. 16 May, 2002 7 commits
    • Jonathan Blandford's avatar
      include missing #ifdef G_ENA\BLE_DEBUG · 100cde1c
      Jonathan Blandford authored
      Thu May 16 17:29:08 2002  Jonathan Blandford  <jrb@redhat.com>
      
              * gtk/gtkrbtree.c (_gtk_rbtree_remove): include missing #ifdef G_ENA\BLE_DEBUG
      100cde1c
    • Owen Taylor's avatar
      Fix typo in earlier patch. · 3dbc0d63
      Owen Taylor authored
      Thu May 16 15:44:15 2002  Owen Taylor  <otaylor@redhat.com>
      
              * demos/gtk-demo/editable_cells.c (cell_edited): Fix
              typo in earlier patch.
      3dbc0d63
    • Owen Taylor's avatar
      Don't filter control-shift+[non-hex]. (#80252, reported by Nalin · e1816d8d
      Owen Taylor authored
      Tue May  7 15:50:51 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkimcontextsimple.c (gtk_im_context_simple_filter_keypress):
              Don't filter control-shift+[non-hex].
              (#80252, reported by Nalin Dahyabhai)
      e1816d8d
    • Owen Taylor's avatar
      Fixes for #78258 · 85a8bdb1
      Owen Taylor authored
      Thu May 16 14:51:14 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for #78258
      
              * gtk/gtkrbtree.c demos/gtk-demo/editable-cells.c:
              Fix some 64-bit warning problems. (Patch from Matthias
              Clasen.)
      
              * gtk/gtkrbtree.c (_gtk_rbtree_debug_spew_helper): Surround
              a bunch of debug code with G_ENABLE_DEBUG.
      
              * configure.in demos/gtk-demo/main.c: Replace
              #ifndef G_OS_WIN32 with proper #ifdef HAVE_FLOCKFILE.
      85a8bdb1
    • Owen Taylor's avatar
      Fix a missed check for division by zero. (#77820, Gareth Pearce) · ce5029df
      Owen Taylor authored
      Thu May 16 12:56:38 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkrange.c (gtk_range_calc_layout): Fix a missed
              check for division by zero. (#77820, Gareth Pearce)
      ce5029df
    • Owen Taylor's avatar
      gdk_event_put() copies the event and setting name, so we don't have to · bcce8104
      Owen Taylor authored
      Thu May 16 12:50:13 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkevents-x11.c (gdk_xsettings_notify_cb):
              gdk_event_put() copies the event and setting name,
              so we don't have to strdup() it here. (Fix from
              Michael Meeks, #81953)
      bcce8104
    • Ettore Perazzoli's avatar
      If the menu is scrolled down or up, and some of the widget area is empty, · ff784b97
      Ettore Perazzoli authored
      * gtk/gtkmenu.c (gtk_menu_paint): If the menu is scrolled down or
      up, and some of the widget area is empty, don't fill it in with
      GTK_SHADOW_IN rectangles that make it looks strange.  Fixes
      #72695.
      ff784b97
  2. 15 May, 2002 5 commits
  3. 14 May, 2002 9 commits
    • Owen Taylor's avatar
      Subsitute in @PERL@ instead of hardcoded /usr/bin/perl. (#78355, Gareth · 41261ba1
      Owen Taylor authored
      Tue May 14 19:53:15 2002  Owen Taylor  <otaylor@redhat.com>
      
              * demos/gtk-demo/geninclude.pl.in configure.in:
              Subsitute in @PERL@ instead of hardcoded
              /usr/bin/perl. (#78355, Gareth Pearce. Fix based
              on patch from Matthias Clasen)
      
              * gdk/Makefile.am: Patch from Daniel Elstner to use glib-mkenums
              instead of makeenums.pl.
      
              * gdk/{x11,linux-fb,win32}/Makefile.am: Hack to
              get gdkenumtypes.h built first.
      41261ba1
    • Owen Taylor's avatar
      Remove the result file on error. (#79929, David Highley) · b61156d4
      Owen Taylor authored
      Tue May 14 18:41:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/stock-icons/Makefile.am (gtkstockpixbufs.h):
              Remove the result file on error. (#79929, David
              Highley)
      
              * gtk/gtkoptionmenu.c (gtk_option_menu_remove_menu):
              If the menu is currently active, cancel it before
              setting the new menu. (#79162, Jonathan Blandford.)
      b61156d4
    • Owen Taylor's avatar
      Fix prepending at the start of the list. (#56349, Thomas Leonard.) · 390ad328
      Owen Taylor authored
      Tue May 14 18:13:10 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkdnd-x11.c (gdk_window_cache_filter): Fix
              prepending at the start of the list. (#56349,
              Thomas Leonard.)
      
              * gtk/gtksignal.h (gtk_signal_disconnect_by_func): Add
              explicit casts to GSignalMatchType for C++ compatibility.
              (#77601)
      390ad328
    • Owen Taylor's avatar
      Fix frame_right/frame_top screwup. (Detlef Reichl, #78111) · 7359bb9d
      Owen Taylor authored
      Tue May 14 18:02:37 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_realize): Fix
              frame_right/frame_top screwup. (Detlef Reichl,
              #78111)
      
              * gtk/Makefile.am (install-data-local): Use
              $(INSTALL_DATA) not $(INSTALL) when installing
              theme files. (#77094, Ben Liblit)
      7359bb9d
    • Owen Taylor's avatar
      Fix format of selection data to be 8 rather than GTK_TYPE_POINTER. · f47470a9
      Owen Taylor authored
      Tue May 14 17:30:57 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkctree.c gtk/gtkclist.c: Fix format of
              selection data to be 8 rather than GTK_TYPE_POINTER.
              (#79751, James Henstridge)
      
              * gtk/gtkmenu.c (gtk_menu_key_press): Call
              gtk_accelerator_valid() with cleaned up
              accel_key/accel_mods, not the raw values from
              the event. (#80513, Havoc Pennington.)
      
              * gtk/gtkmenu.c (gtk_menu_set_tearoff_state): Remove
              some dead code that set the tearoff window not
              resizable and removed decorations. (#80235)
      f47470a9
    • Owen Taylor's avatar
      Set the width of the layout to the actual wrap width (our requisition) not · 11aed263
      Owen Taylor authored
      Tue May 14 16:44:09 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtklabel.c (gtk_label_ensure_layout): Set
              the width of the layout to the actual wrap width
              (our requisition) not the width we set when calculating
              the width. This results in the lines being justified
              within the correct area. (#79157, Anders Carlsson)
      
              * gtk/gtkaccelgroup.c gtk/gtkmarshelers.list: Corrected
              registered parameter types of "accel_activate" and
              "accel_changed" signals. (Patch from Murray Cumming, #78798)
      
              * gtk/gtkrc.c (gtk_rc_make_default_dir): Switch
              binary-version and type to correspond to the
              current ordering in _gtk_get_module_path.
              (#78746, Sergey Kuzminov)
      
              * gtk/gtkrc.c (gtk_rc_get_module_dir): Add docs
              pointing to the GTK_PATH documentation.
      
              * gtk/Makefile.am (uninstall-local): Delete
              key themes as well. (#81286, Kristian Rietveld.)
      11aed263
    • Owen Taylor's avatar
      Add a sanity g_return_if_fail() check for the depths for the window and · 1dd8a145
      Owen Taylor authored
      Tue May 14 15:40:49 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkwindow-{linux-fb,win32,x11.c} (gdk_window_set_back_pixmap):        Add a sanity g_return_if_fail() check for the depths
              for the window and pixmap. (#79191, Shivaram Upadhyayula)
      1dd8a145
    • Owen Taylor's avatar
      Try adding a #ifndef/#define for XkbKeySymEntry to make up for OSF broken · 44859f93
      Owen Taylor authored
      Tue May 14 15:09:33 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkkeys-x11.c: Try adding a #ifndef/#define
              for XkbKeySymEntry to make up for OSF broken
              XKB extension. (#77819, Gareth Pearce)
      
              * gtk/gtklayout.c: Clamp the upper values in response
              to ::size-allocate if necessary. (#81290, Christophe Saout)
      
              * gtk/gtkcombo.c (gtk_combo_entry_focus_out): Handle
              combo being destroyed before idle fires.
              (#81396, Timo Sirainen)
      44859f93
    • Owen Taylor's avatar
      Discard configure events from SubstructureNotify. (#81760, Rich Burridge) · 278582d6
      Owen Taylor authored
      Tue May 14 11:21:19 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk/x11/gdkevents-x11.c (gdk_event_translate):
              Discard configure events from SubstructureNotify.
              (#81760, Rich Burridge)
      
              * gtk/gtkfontsel.c (cmp_families): Use g_utf8_strcoll(), not
              strcmp().
      
              * gtk/gtkmenuitem.c (gtk_menu_item_size_allocate): Clamp
      	width of child allocation to >= 1. (Fixes warnings from
              #77639, Martin Schulze)
      278582d6
  4. 13 May, 2002 2 commits
  5. 10 May, 2002 1 commit
    • Daniel Elstner's avatar
      [ merge from stable ] · f7d4585d
      Daniel Elstner authored
      2002-05-10  Daniel Elstner  <daniel.elstner@gmx.net>
      
      [ merge from stable ]
      
      * gtk/gtktreemodel.c: #define INITIALIZE_TREE_ITER(), which zeroes out all GtkTreeIter fields. (#81380)
      (gtk_tree_model_get_iter): Use it.
      (gtk_tree_model_iter_children): ditto
      (gtk_tree_model_iter_nth_child): ditto
      (gtk_tree_model_iter_parent): ditto
      f7d4585d
  6. 08 May, 2002 2 commits
  7. 07 May, 2002 3 commits
  8. 06 May, 2002 4 commits
    • Matthias Clasen's avatar
      Always select for property notify for maintaining window state. · 75625ede
      Matthias Clasen authored
      	* gdk/x11/gdkwindow-x11.c (gdk_window_new):
      	(gdk_window_set_events): Always select for property notify for
      	maintaining window state.
      
      	* gdk/x11/gdkevents-x11.c (gdk_event_translate): Only propagate
      	property notifys if they were selected by gdk_window_set_events.
      75625ede
    • Kristian Rietveld's avatar
      call func on current node before the child nodes. · 563b9576
      Kristian Rietveld authored
      Mon May  6 23:48:14 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_map_expanded_rows_helper): call
              func on current node before the child nodes.
      563b9576
    • Kristian Rietveld's avatar
      unset user_data before destroying the window. (fixes #80065). · 55d785a3
      Kristian Rietveld authored
      Mon May  6 23:17:42 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_motion_draw_column_motion_arrow):
              unset user_data before destroying the window. (fixes #80065).
      55d785a3
    • Owen Taylor's avatar
      Fix versioning to avoid changing the soname! · 9af9ab16
      Owen Taylor authored
      Mon May  6 12:17:14 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Fix versioning to avoid changing the
              soname!
      
              [ merge from stable ]
      
              * Makefile.am (EXTRA_DIST): Add ChangeLog.pre-2-0 (#78641)
      
              * m4macros/gtk-2.0.m4: save CFLAGS/LIBS properly when
              compiling "what went wrong" test case. (#79329)
      
              * m4macros/gtk-2.0.m4: Remove reference to editing
              pkg-config script. (From Jim Gettys)
      9af9ab16
  9. 05 May, 2002 4 commits
    • Matthias Clasen's avatar
      Bump version to 2.1.0, binary, interface age 0. · c272baf6
      Matthias Clasen authored
      	* configure.in: Bump version to 2.1.0, binary, interface age 0.
      
      	* gtk/gtkcontainer.c (gtk_container_class_list_child_properties):
      	(gtk_container_class_find_child_property): Document.
      
      	* gtk/gtkwidget.c:
      	* gtk/gtkwidget.h: New functions gtk_widget_class_list_child_properties
      	and gtk_widget_class_find_child_property.  (#80652)
      c272baf6
    • Owen Taylor's avatar
      Fix problem with == in test argument. (#80732, Hidetoshi Tajima) · 1cdfaceb
      Owen Taylor authored
      Sun May  5 15:56:50 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in: Fix problem with == in	test argument.
              (#80732, Hidetoshi Tajima)
      1cdfaceb
    • Kristian Rietveld's avatar
      The "big treeview focus patch". Fixes several issues and adds some · acce60b7
      Kristian Rietveld authored
      Sun May  5 16:42:32 2002  Kristian Rietveld  <kris@gtk.org>
      
              The "big treeview focus patch". Fixes several issues and adds some
              goodies. Related bugs: #73676, #73734, #78660.
      
              * gtk/gtktreeview.h: add gtk_tree_view_set_cursor_on_cell
      
              * gtk/gtktreeview.c (gtk_tree_view_button_press): focus on a cell
              if applicable,
              (gtk_tree_view_bin_expose): set_cell_data before iterating columns,
              add support for row-spanning focus rectangles,
              (gtk_tree_view_has_special_cell): new function,
              (gtk_tree_view_move_cursor_left_right): add support for multiple
              focusable cells in one column,
              (gtk_tree_view_set_cursor): call _set_cursor_on_cell now,
              (gtk_tree_view_set_cursor_on_cell): copy of _set_cursor, extended
              with focus_cell parameter,
              (gtk_tree_view_search_iter): removed unused column variable,
              (gtk_tree_view_start_editing): add neighbor size code to allow
              for multiple editable cells in one column.
      
              * gtk/gtktreeviewcolumn.c (_GtkTreeViewColumnCellInfo): add
              in_editing_mode field,
              (gtk_tree_view_column_get_edited_cell): new function, removed
              _get_editable_cell,
              (_gtk_tree_view_column_get_cell_at_pos): new function,
              (gtk_tree_view_column_pack_end): s/g_new/g_new0/ ...,
              (gtk_tree_view_column_cell_process_action): loads of changes to get
              it right and to allow for multiple special cells, etc,
              (gtk_tree_view_column_cell_first): new function,
              (gtk_tree_view_column_cell_last): ditto,
              (gtk_tree_view_column_cell_next): ditto,
              (gtk_tree_view_column_cell_prev): ditto,
              (gtk_tree_view_column_cell_focus): add left and right parameters,
              allow for multiple special cells,
              (gtk_tree_view_column_cell_is_visible): add assertion,
              (gtk_tree_view_column_focus_cell): new function,
              (gtk_tree_view_column_stop_editing): unset in_editing_mode flag,
              (_gtk_tree_view_column_get_neighbor_sizes): iterate through cells
              correctly
      
              * gtk/gtktreeviewcolumn.h: add gtk_tree_view_column_focus_cell
      
              * gtk/gtktreeprivate.h: s/_get_editable_cell/_get_edited_cell/, add
              _gtk_tree_view_column_get_cell_at_pos, add new parameters to
              _gtk_tree_view_column_cell_focus.
      
              * tests/testtreeedit.c: add some cells in order to test new code.
      acce60b7
    • Soeren Sandmann's avatar
      image files for testing pixbuf loaders the old test-loaders.c split into · d269c210
      Soeren Sandmann authored
      Sun May  5 02:22:59 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* tests/test-images/*: image files for testing pixbuf loaders
      	* tests/pixbuf-*.c: the old test-loaders.c split into four
      	different programs
      	* tests/Makefile.am: add new pixbuf tests
      
      Sun May  5 02:27:01 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* Makefile.am (noinst_PROGRAMS): remove test-loaders (moved to
      	gtk+/tests/)
      	* test-loaders.c, test-images.h: remove
      d269c210
  10. 03 May, 2002 2 commits
    • Erwann Chenede -'s avatar
      Rationalized the screen initialization process, changed the GdkDisplayX11 · 7fa24a2f
      Erwann Chenede - authored
      2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>
      
        * gdk/x11/gdkvisual-x11.c:
        * gdk/x11/gdkwindow-x11.c:
        * gdk/x11/gdkdisplay-x11.[hc] (gdk_open_display) :
        Rationalized the screen initialization process,
        changed the GdkDisplayX11 screen list to an array.
      
        * gdk/x11/gdkscreen-x11.[hc] (_gdk_x11_screen_new) :
        Moved the xinerama init functions to gdkdisplay-x11.c to
        this file, create a single function to fully initialize
        a GdkScreen. #79981
      7fa24a2f
    • Erwann Chenede -'s avatar
      changed the order of the arguments. #80278 · 88eb99ff
      Erwann Chenede - authored
      2002-05-03 Erwann Chenede - <erwann.chenede@sun.com>
      
              * gtk/gtkplug.[hc] (gtk_plug_construct_for_display):
      	changed the order of the arguments. #80278
      88eb99ff
  11. 02 May, 2002 1 commit