1. 11 Mar, 2002 2 commits
  2. 08 Mar, 2002 6 commits
    • Owen Taylor's avatar
      ======== Released GTK+-2.0 ======== · 0714dd66
      Owen Taylor authored
      Fri Mar  8 14:45:00 2002  Owen Taylor  <otaylor@redhat.com>
      
              * ======== Released GTK+-2.0 ========
      0714dd66
    • Kristian Rietveld's avatar
      handle gtk-tree-model-drop-append like the ListStore, includes some tweaks · f18a6f79
      Kristian Rietveld authored
      Fri Mar  8 20:41:51 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreestore.c (gtk_tree_store_drag_data_received): handle
              gtk-tree-model-drop-append like the ListStore, includes some
              tweaks to work right with trees
      f18a6f79
    • Owen Taylor's avatar
      Some packing tweaks. · 9c6d85da
      Owen Taylor authored
      Fri Mar  8 14:22:43 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfilesel.c (gtk_file_selection_init): Some packing
              tweaks.
      
              * configure.in: Include GLIB_LIBS when checking
              for bind_textdomain_codeset, to catch the case where
              it is in -lintl.
      9c6d85da
    • Jonathan Blandford's avatar
      get rid of really bad focus loop. (gtk_tree_view_clamp_node_visible): only · 540751b9
      Jonathan Blandford authored
      Thu Mar  7 16:46:58 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeview.c (validate_visible_area): get rid of really
      	bad focus loop.
      	(gtk_tree_view_clamp_node_visible): only clamp the node when
      	realized.  Need to replace this with scroll_to_cell sometime.
      	(gtk_tree_view_header_focus): clickable or reorderable columns are
      	focusable, #73656
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_get_widget): fix
      	docs to reflect behaviour change, #73682
      540751b9
    • Owen Taylor's avatar
      Fix version numbers. (Johan Dahlin.) · 45b2212c
      Owen Taylor authored
      Fri Mar  8 11:12:32 2002  Owen Taylor  <otaylor@redhat.com>
      
              * NEWS: Fix version numbers. (Johan Dahlin.)
      
              * INSTALL.in: Update, just refer to gtk-building.html
              rather than duplicating information.
      
              * README.in: Add release specific notes.
      
              * Makefile.am (EXTRA_DIST): Remove TODO and TODO.xml
              from the distribution.
      45b2212c
    • Owen Taylor's avatar
      Final updates for 2.0.0 · 26ac563f
      Owen Taylor authored
      Thu Mar  7 23:29:35 2002  Owen Taylor  <otaylor@redhat.com>
      
              * NEWS: Final updates for 2.0.0
      
              * README.in: Updates.
      26ac563f
  3. 07 Mar, 2002 5 commits
    • Tor Lillqvist's avatar
      Add missing .la suffix for libgdk_pixbuf. · 7b22d3bd
      Tor Lillqvist authored
      2002-03-08  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/Makefile.am (LDFLAGS): Add missing .la suffix for	libgdk_pixbuf.
      7b22d3bd
    • Kristian Rietveld's avatar
      increase value of new_location by one if cmp_a > 0 and we hit the end of · ec7c323c
      Kristian Rietveld authored
      Thu Mar  7 21:32:01 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreestore.c (gtk_tree_store_sort_iter_changed): increase
              value of new_location by one if cmp_a > 0 and we hit the end of
              the list.
      ec7c323c
    • Owen Taylor's avatar
      Fix problem where there were two copies of the "do an arrow step" code, · a67723b0
      Owen Taylor authored
      Thu Mar  7 10:31:57 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtknotebook.c (gtk_notebook_timer): Fix problem where
              there were two copies of the "do an arrow step" code,
              one correct for rotated notebooks, one not. (#73855,
              Thomas Leonard.)
      a67723b0
    • Jonathan Blandford's avatar
      start implementing · 110e1cd7
      Jonathan Blandford authored
      Thu Mar  7 02:58:16 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/tmpl/gtkliststore.sgml: start implementing
      
      	* gtk/question_index.sgml: "I can set with the tree, but not
      	get???!?!"
      
      Wed Mar  6 23:20:51 2002  Jonathan Blandford  <jrb@redhat.com>
      and			  Kristian Rietveld  <kris@gtk.org>
      
      	Finishing touch for 2.0.0 release, fixes #70782, #72729, the
      	'stealth' bug and other last-minute minor issues.
      
      	* gtk/gtktreeview.c (gtk_tree_view_bin_expose): set dnd dest line
      	drawing right. We can't draw the line at the position of the next
      	row, because that one still has to be drawn. So draw everthing at
      	a -1 offset.
      	(validate_visible_area): add check for invalid descendants and
      	NULL scroll_to_path path, get scrolling right.  Also, fix the
      	area_above value.  Pretty amazing I got it wrong.
      	(get_logical_dest_row): add gtk-tree-model-drop-append magic, so
      	dragging a row to the end of the model works right.
      	(gtk_tree_view_get_dest_row_at_pos): minor floating point fix
      	(gtk_tree_view_start_editing): add call to validate_row
      	(gtk_tree_view_tree_to_widget_coords): Never subtract
      	HEADER_HEIGHT from y values anymore!!!
      	(gtk_tree_view_widget_coords_to_tree): ditto.
      	(gtk_tree_view_scroll_to_point): allow -1 as values for the
      	scroll_to coords
      	(gtk_tree_view_move_cursor_page_up_down): Don't need scroll_to_y
      	as clamp_node_visible will make it work.
      
      	* gtk/gtktreestore.c (gtk_tree_store_drag_data_received): also check
      	path depth, as we can't get iters from empty paths
      
      	* gtk/gtkliststore.c (gtk_list_store_drag_data_received): handle
      	gtk-tree-model-drop-append
      
      	* gtk/gtktreednd.c (gtk_tree_set_row_drag_data): free path_str
      
      	* tests/testtreeflow.c (main): select path where we are scrolling to
      110e1cd7
    • Darin Adler's avatar
      Update offsets before finding where to insert the new value. · 1845cc43
      Darin Adler authored
      	* gtk/gtktreemodelsort.c: (gtk_tree_model_sort_insert_value):
      	Update offsets before finding where to insert the new value.
      
      	* gtk/gtktreeview.c: (validate_visible_area): Make sure we redraw when
      	we scroll, instead of just updating the scroll position variables.
      1845cc43
  4. 06 Mar, 2002 12 commits
    • Manish Singh's avatar
      gdk/Makefile.am rework so that only things that really need to be done · cc83c500
      Manish Singh authored
      2002-03-06  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am
              * gtk/Makefile.am: rework so that only things that really need to be
              done post install are in the hook
      cc83c500
    • Anders Carlsson's avatar
      Register 16x16 version of properties stock icon. · 3e480fbf
      Anders Carlsson authored
      2002-03-06  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtkiconfactory.c (get_default_icons): Register 16x16 version
      	of properties stock icon.
      
      	* gtk/stock-icons/Makefile.am: Add stock_properties_16.png
      3e480fbf
    • Owen Taylor's avatar
      Fix various problems when truncating the inserted text to fit into the · 8ceb7aee
      Owen Taylor authored
      Wed Mar  6 00:38:29 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.c (gtk_entry_real_insert_text): Fix various problems
              when truncating the inserted text to fit into the GtkEntry
              size limit of 65kb. (#73119)
      8ceb7aee
    • Jonathan Blandford's avatar
      move event handling to the process_action function so we can have the · d8dd3fb3
      Jonathan Blandford authored
      Wed Mar  6 00:20:59 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_cell_process_action): move event handling to
      	the process_action function so we can have the event go to
      	individual cells.
      d8dd3fb3
    • Owen Taylor's avatar
      GTK+-2.0.0 rc1 · 81538dec
      Owen Taylor authored
      Tue Mar  5 22:16:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * GTK+-2.0.0 rc1
      
              * docs/tutorial,faq/Makefile.am: Deal with the html directory
              already being there.
      
              * docs/faq/Makefile.am (EXTRA_DIST): Add gtk-faq.sgml to EXTRA_DIST.
      81538dec
    • Manish Singh's avatar
      gdk/Makefile.am use install-foo-hook instead of install-foo-local, since · 81e287cc
      Manish Singh authored
      2002-03-05  Manish Singh  <yosh@gimp.org>
      
              * gdk/Makefile.am
              * gtk/Makefile.am: use install-foo-hook instead of install-foo-local,
              since foo-local is run before the their respective builtin targets
              in automake 1.5
      81e287cc
    • jacob berkman's avatar
      change an == to = · 5f46a6cb
      jacob berkman authored
      2002-03-05  jacob berkman  <jacob@ximian.com>
      
      	* configure.in: change an == to =
      5f46a6cb
    • Tor Lillqvist's avatar
      gdk-pixbuf/gdk_pixbuf.rc.in gdk/win32/rc/gdk.rc.in Use GTK_API_VERSION. · 34c06b2b
      Tor Lillqvist authored
      2002-03-06  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk-pixbuf/gdk_pixbuf.rc.in
      	* gdk/win32/rc/gdk.rc.in
      	* gtk/gtk-win32.rc.in: Use GTK_API_VERSION.
      34c06b2b
    • Manish Singh's avatar
      Fix up the freetype checking logic. Suppress suprious "no" with · 36e5b91a
      Manish Singh authored
      2002-03-05  Manish Singh  <yosh@gimp.org>
      
              * configure.in: Fix up the freetype checking logic. Suppress
              suprious "no" with --disable-modules.
      36e5b91a
    • Tor Lillqvist's avatar
      Bypass calls to the grab/ungrab functions in gdkinput-win32.c, as they · d0ebbe9d
      Tor Lillqvist authored
      2002-03-06  Tor Lillqvist  <tml@iki.fi>
      
      	* gdk/win32/gdkevents-win32.c (gdk_pointer_grab,
      	gdk_pointer_ungrab): Bypass calls to the grab/ungrab functions in
      	gdkinput-win32.c, as they don't effectively do anything anyway.
      	(build_key_event_state): Set MOD2 bit if key is in AltGr group.
      	(gdk_event_translate): Call _gdk_windowing_window_get_offsets()
      	each time the offsets are used, on the window they refer to,
      	instead of once in the beginning. The window in question might
      	change due to event propagation.
      	(gdk_event_translate): Set key event group to 0 for non-AltGr
      	keys. Do set the SHIFT bit in the key event state also for
      	ISO_Left_Tab. Now backtabbing finally works again.
      
      	* gdk/win32/gdkunput-win32.c: Minor debugging output change.
      
      	* gdk/win32/gdkkeys-win32.c (update_keymap): Set VK_TAB mapping to
      	Gdk_Tab and GDK_ISO_Left_Tab, like on X11.
      	(gdk_keymap_translate_keyboard_state): Add similar code as in the
      	non-XKB case on X11 to generate a more correct
      	consumed_modifiers. Add debugging output.
      	(gdk_keyval_name): Use the U+xxxx format for UCS characters
      	encoded as keyvals. Never return NULL, but hex number
      	representation if keyval not in table.
      
      	* gdk/win32/gdkwindow-win32.c (gdk_window_focus): Call
      	SetFocus(). Doesn't seem to have any harmful effect, and probably
      	is close to what this function is supposed to do. But it didn't
      	fix GtkCombo as I had hoped.
      	(gdk_window_set_type_hint): Don't intern the _NET_WM_* atoms that
      	weren't used and wouldn't have any meaning on Win32 anyway.
      d0ebbe9d
    • Owen Taylor's avatar
      When setting the focus to NULL, clear the existing focus chain so that · 20967155
      Owen Taylor authored
      Tue Mar  5 19:19:19 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_set_focus): When setting
              the focus to NULL, clear the existing focus chain so
              that when we focus into the window again, we start
              at the beginning. (Pointed out by Tim Janik.)
      20967155
    • James Henstridge's avatar
      libpango is now called libpango-1.0 · 4b7c5155
      James Henstridge authored
      2002-03-06  James Henstridge  <james@daa.com.au>
      
              * configure.in: libpango is now called libpango-1.0
      4b7c5155
  5. 05 Mar, 2002 9 commits
    • Jonathan Blandford's avatar
      remove sizing == AUTOSIZE check. Update docs. · bcd77006
      Jonathan Blandford authored
      Tue Mar  5 18:17:31 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_fixed_width):
      	remove sizing == AUTOSIZE check.  Update docs.
      bcd77006
    • Owen Taylor's avatar
      Don't create ->font_entry, ->font_style_entry at all rather than just not · 776870fc
      Owen Taylor authored
      Tue Mar  5 17:43:43 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkfontsel.c (gtk_font_selection_init): Don't
              create ->font_entry, ->font_style_entry at all rather
              than just not showing them to avoid the problem of
              them popping up if gtk_widget_show_all() is done
              on the dialog. (#72913, Charles Kerr.)
      776870fc
    • Jonathan Blandford's avatar
      doc fix proposed by tvv@sparc.spb.su (Vitaly Tishkov), #73567. · 314a1b60
      Jonathan Blandford authored
      Tue Mar  5 18:06:49 2002  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_resizable):
      	doc fix proposed by tvv@sparc.spb.su (Vitaly Tishkov), #73567.
      314a1b60
    • Matthias Clasen's avatar
      Fix docs. · 981574a9
      Matthias Clasen authored
      	* gtk/gtktreemodel.c (gtk_tree_row_reference_deleted): Fix docs.
      
      	* gtk/gtkwindow.c (gtk_window_remove_mnemonic):
      	(gtk_window_add_mnemonic):
      	(gtk_window_mnemonic_activate): Add docs.
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_search_equal_func): Fix
      	typo in docs.
      
      	* test-loaders.c, test-images.h: More random tests.
      
      	* io-bmp.c (DecodeHeader): Fail gracefully on OOM here.
      
      	* gtk/gtk-sections.txt: Remove gtk_win32_get_installation_directory.
      981574a9
    • Owen Taylor's avatar
      s/menu_new/menu_item_new/. (#69199, Akira Tagoh.) · 97334285
      Owen Taylor authored
      Tue Mar  5 17:02:59 2002  Owen Taylor  <otaylor@redhat.com>
      
              * docs/tutorial/gtk-tut.sgml: s/menu_new/menu_item_new/.
              (#69199, Akira Tagoh.)
      97334285
    • Owen Taylor's avatar
      Build the docbook version, not the old linuxdoc version. · e81022da
      Owen Taylor authored
      Tue Mar  5 16:53:05 2002  Owen Taylor  <otaylor@redhat.com>
      
              * docs/faq/Makefile.am: Build the docbook version, not
              the old linuxdoc version.
      e81022da
    • Owen Taylor's avatar
      Update version to 2.0.0 · ec09f3ab
      Owen Taylor authored
      Tue Mar  5 15:47:54 2002  Owen Taylor  <otaylor@redhat.com>
      
              * configure.in test/makefile.msc **.pc.in **/*.am:
      	Update version to 2.0.0
      
              * gtk/Makefile.am (MAINTAINERCLEANFILES): Add stamp
              files.
      
              * configure.in (GDK_PIXBUF_VERSION): Require GLib 2.0.0,
              Pango, Atk, 1.0.0.
      
              * m4macros/gtk-2.0.m4: Default to 2.0.0 as the minimum
              version.
      ec09f3ab
    • Havoc Pennington's avatar
      don't assign yoffset here, just let it get updated in response to the · 049771c5
      Havoc Pennington authored
      2002-03-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_size_allocate): don't assign
      	yoffset here, just let it get updated in response to the
      	value_changed. Fixes #72479
      049771c5
    • Owen Taylor's avatar
      Don't use this same functions as idle callbacks and directly, to avoid · 3305137f
      Owen Taylor authored
      Tue Mar  5 10:29:09 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktreeview.c (do_presize_handler)
      	gtk/gtktreeview.c (do_validate_rows): Don't use this
      	same functions as idle callbacks and directly, to avoid
      	threading deadlocks. (#72392, Scott Guilbeaux)
      
      	* gtk/gtktable.c (gtk_table_size_request_init): Fix
      	row/column confusion from recent patch. (#73505,
      	Vitaly Tishkov.)
      3305137f
  6. 04 Mar, 2002 6 commits
    • Matthias Clasen's avatar
      Make color selection and selection examples work. · 0b46f4ab
      Matthias Clasen authored
      
      	* docs/tutorial/gtk-tut.sgml: Make color selection and selection
      	examples work.
      
      	* tests/testselection.c (selection_toggled, selection_clear):
      	Use selection_widget as selection owner - otherwise clearing the
      	selection doesn't work.
      0b46f4ab
    • Owen Taylor's avatar
      Fixes for non XKB operation. (#73103) · b543bbff
      Owen Taylor authored
      Mon Mar  4 12:43:48 2002  Owen Taylor  <otaylor@redhat.com>
      
              Fixes for non XKB operation. (#73103)
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Fix problem where GDK_Tab was converted to GDK_ISO_Left_Tab
              always, not just if Shift was pressed.
      
              * gdk/x11/gdkkeys-x11.c gdk/x11/gdkprivate-x11.c
              gdk/x11/gdkevents-x11.c: Move determination of group
              to _gdk_x11_get_group_for_state(), fix to handle non-XKB.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state): Only
              add in SHIFT_MASK | LOCK_MASK to consumed_modifiers if the shifted
              and unshifted keysyms are different. Only add in group_switch_mask
              if the group-switched and non-group-switched keysyms are diferent.
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              When calling XKeycodeToKeysym, use group * keysyms_per_keycode / 2
              not group * keysyms_per_keycode. (Tor Lillquist)
      
              * gdk/x11/gdkkeys-x11.c (gdk_keymap_translate_keyboard_state):
              Remove the hack to fudge the return value for GDK_Tab + Shift
              since that didn't work -- it didn't affect the reverse mapping.
              Instead fudge the non-XKB keymap instead.
      b543bbff
    • Owen Taylor's avatar
      Fix memory leak. (#73370, Paolo Maggi). · 0c54d4be
      Owen Taylor authored
      Mon Mar  4 11:02:18 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkfilesel.c (gtk_file_selection_get_selections): Fix
      	memory leak. (#73370, Paolo Maggi).
      0c54d4be
    • Owen Taylor's avatar
      Fix docs in terms of what out of range @page_num does. (#73371, Vitaly · 2a0aa82b
      Owen Taylor authored
      Mon Mar  4 10:35:28 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtknotebook.c (gtk_notebook_set_current_page): Fix docs
              in terms of what out of range @page_num does. (#73371,
              Vitaly Tishkov.)
      2a0aa82b
    • Havoc Pennington's avatar
      const fix · 3a1ca763
      Havoc Pennington authored
      2002-03-02  Havoc Pennington  <hp@pobox.com>
      
      	* demos/gtk-demo/editable_cells.c (cell_edited): const fix
      3a1ca763
    • Owen Taylor's avatar
      Fix to properly take the default window into account by setting a flag and · d3a43f73
      Owen Taylor authored
      Sun Mar  3 18:47:13 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkwindow.c (gtk_window_parse_geometry): Fix
              to properly take the default window into account by
              setting a flag and in gtk_window_compute_configure_request_size ()
              multiplying by the increments and adding in the base
              size. (#72393)
      
              * tests/testgtk.c (create_gridded_geometry): Add a
              test for gridded geometry and for gtk_window_parse_geometry().
      d3a43f73