1. 14 May, 2002 4 commits
    • 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
  2. 13 May, 2002 2 commits
  3. 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
  4. 08 May, 2002 2 commits
  5. 07 May, 2002 3 commits
  6. 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
  7. 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
  8. 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
  9. 02 May, 2002 6 commits
    • Matthias Clasen's avatar
      Doc updates. · 7b168e71
      Matthias Clasen authored
      7b168e71
    • Matthias Clasen's avatar
      Typo fix. · 252c9c12
      Matthias Clasen authored
      	* gtk/gtknotebook.c (gtk_notebook_set_show_border): Typo fix.
      252c9c12
    • Matthias Clasen's avatar
      Correct the composite_child blurb. · 7d3ec5ec
      Matthias Clasen authored
      	* gtk/gtkwidget.c (gtk_widget_class_init): Correct the
      	composite_child blurb.
      
      	* gtk/gtknotebook.c (gtk_notebook_set_show_border): Clarify docs.  (#73093)
      7d3ec5ec
    • Erwann Chenede's avatar
      Forgot the changelog. · 28617e20
      Erwann Chenede authored
      28617e20
    • Erwann Chenede -'s avatar
      removed unneeded ref. #79977 · 94076bc3
      Erwann Chenede - authored
      2002-05-02 Erwann Chenede - <erwann.chenede@sun.com>
      
        * gdk/x11/gdkscreen-x11.c (gdk_screen_x11_get_root_window):
        removed unneeded ref. #79977
        * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_use_virtual_screen):
        * gdk/x11/gdkdisplay-x11.c (check_*_xinerama):
        removed gdk_screen_use_virtual_screen function and
        use_virtual_screen member variable from GdkScreenX11. #79957
      94076bc3
    • Matthias Clasen's avatar
      Add nicks and blurbs for child properties. (#57143) · 1c9744d5
      Matthias Clasen authored
      
      	* gtk/gtktable.c (gtk_table_class_init):
      	* gtk/gtknotebook.c (gtk_notebook_class_init):
      	* gtk/gtkbox.c (gtk_box_class_init): Add nicks and blurbs for
      	child properties.  (#57143)
      1c9744d5
  10. 01 May, 2002 3 commits
    • Erwann Chenede -'s avatar
      removed that function as gdk_drawable_get_screen does the job. #79964 · f7ecb81e
      Erwann Chenede - authored
      2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
      
        * gdk/gdkpixmap.[hc] (gdk_pixmap_get_screen):
        * x11/gdkpixmap-x11.c:
        removed that function as gdk_drawable_get_screen
        does the job. #79964
      f7ecb81e
    • Erwann Chenede -'s avatar
      remove virtualization and made it cross platform. fix #79961 fixed · 2325caf9
      Erwann Chenede - authored
      2002-05-01 Erwann Chenede - <erwann.chenede@sun.com>
      
        * gdk/gdkscreen.[hc] (gdk_screen_x11_get_monitor_at_window):
          remove virtualization and made it cross platform. fix #79961
        * gdk/x11/gdkdisplay-x11.c (check_solaris_xinerama):
          fixed initialization bugs.
        * gdk/x11/gdkscreen-x11.[hc] (gdk_screen_get_monitor_geometry):
        * tests/testxinerama.c:
        * gtk/gtkwindow.c (gtk_window_compute_configure_request):
        * gtk/gtkmenu.c (gtk_menu_position):
          take a GdkRectangle argument instead of returning
          a GdkRectangle * and propagated the changes. fix #79974
      2325caf9
    • Anders Carlsson's avatar
      Use the same key when setting and getting NetWmSupportedAtoms. · ec72bb76
      Anders Carlsson authored
      2002-05-01  Anders Carlsson  <andersca@gnu.org>
      
      	* gdk/x11/gdkevents-x11.c
      	(gdk_x11_screen_supports_net_wm_hint): Use the same
      	key when setting and getting NetWmSupportedAtoms.
      ec72bb76
  11. 30 Apr, 2002 9 commits
    • Owen Taylor's avatar
      Make it work, even if the window is already realized or mapped. · 087fd22c
      Owen Taylor authored
      Tue Apr 30 18:42:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_set_screen): Make it
              work, even if the window is already realized or
              mapped.
      
              * tests/testgtk.c: Erwann's multihead changes, slightly
              dumbed down. (Removed logic for pulling windows onto
              the current screen, people can click twice on the demo
              to destroy and create again.)
      
              * tests/prop-editor.c: Set the screen on the property
              editor if the edited object is a widget.
      087fd22c
    • Owen Taylor's avatar
      Make it work, even if the window is already realized or mapped. · 6aa88ee1
      Owen Taylor authored
      Tue Apr 30 18:42:25 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_set_screen): Make it
              work, even if the window is already realized or
              mapped.
      
              * tests/testgtk.c: Erwann's multihead changes, slightly
              dumbed down. (Removed logic for pulling windows onto
              the current screen, people can click twice on the demo
              to destroy and create again.)
      
              * tests/prop-editor.c: Set the screen on the property
              editor if the edited object is a widget.
      6aa88ee1
    • Matthias Clasen's avatar
      Improve a warning. · e3d181b8
      Matthias Clasen authored
      	* gtk/gtkcontainer.c (gtk_container_class_install_child_property):
      	Improve a warning.
      
      	* gdk/linux-fb/gdkinput.c (gdk_device_get_axis): Remove a broken
      	and redundant doc comment.
      
      	* gtk/gtkprogress.c (gtk_progress_class_init):
      	* gtk/gtkprogressbar.c (gtk_progress_bar_class_init):
      	* gtk/gtktexttag.c (gtk_text_tag_class_init):
      	* gtk/gtknotebook.c (gtk_notebook_class_init): Better blurbs,
      	incorporating stuff from the doc templates.
      
      	* gtk/gtkplug.c (gtk_plug_construct): Fix docs.
      e3d181b8
    • Havoc Pennington's avatar
      use gtk_text_layout_invalidate_cache instead of cut-and-paste · eccf6735
      Havoc Pennington authored
      2002-04-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextlayout.c (gtk_text_layout_real_free_line_data): use
      	gtk_text_layout_invalidate_cache instead of cut-and-paste
      	(gtk_text_layout_real_invalidate): always invalidate cache, even
      	if the line has no stored line data. #78573
      
      	* gtk/gtktextview.c (gtk_text_view_get_iter_location): add call to
      	gtk_text_view_ensure_layout, #77388
      	(gtk_text_view_get_iter_at_location): ditto
      	(gtk_text_view_get_line_yrange): ditto
      	(gtk_text_view_get_line_at_y): ditto
      eccf6735
    • Owen Taylor's avatar
      Multi-screen test case form multihead branch with a few cleanups. (Get rid · d9aeb7bc
      Owen Taylor authored
      Tue Apr 30 15:59:53 2002  Owen Taylor  <otaylor@redhat.com>
      
              * tests/testmultiscreen.c: Multi-screen test case
              form multihead branch with a few cleanups. (Get rid
              of use of g_object_connect())
      
              * tests/testmultidisplay.c: Multi-display test case
              from multihead branch with a few improvements.
              (Allow the other display name to be passed on
              the command line, use a GtkDialog to get more attractive
              spacing.)
      d9aeb7bc
    • Owen Taylor's avatar
      fix problem with finalizing non-initialized fully display when failing to · 75e53551
      Owen Taylor authored
      Tue Apr 30 14:23:43 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkdisplay-x11.c (gdk_open_display): fix
      	problem with finalizing non-initialized fully display
      	when failing to open display.
      
      	* tests/testxinerama.c: Xinerama test case from
      	multihead branch, with some cleanups. (Start even
      	if there is only one monitor, for one.)
      75e53551
    • Owen Taylor's avatar
      Doc fixes. · b21eb283
      Owen Taylor authored
      Tue Apr 30 14:15:14 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c gtk/gtkselection.c: Doc fixes.
      b21eb283
    • Owen Taylor's avatar
      Update for multihead. · c117408d
      Owen Taylor authored
      Tue Apr 30 12:26:31 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gdk-sections.txt: Update for multihead.
      
              * multihead.sgml gtk-docs.sgml:	Add overview of
      	multihead from	multihead branch.
      
      	* tmpl/gdkdisplay.sgml	tmpl/gdkscreen.sgml: New
              sections from multihead	branch.
      c117408d
    • Erwann Chenede -'s avatar
      retionalized multihead code in _gdk_x11_copy_to_image. fixes #80256 and · 508daa7d
      Erwann Chenede - authored
      2002-04-30  Erwann Chenede - <erwann.chenede@sun.com>
      
              * gdk/x11/gdkimage-x11.c : retionalized multihead code
      	in _gdk_x11_copy_to_image. fixes #80256 and ungrab problems.
      508daa7d