1. 08 Feb, 2006 1 commit
    • Kristian Rietveld's avatar
      free temporary paths after usage (patch from maemo-gtk), · a25bc9a0
      Kristian Rietveld authored
      2006-02-08  Kristian Rietveld  <kris@imendio.com>
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_ref_path),
      	(gtk_tree_model_filter_unref_path): free temporary paths after
      	usage (patch from maemo-gtk),
      	(gtk_tree_model_filter_clear_cache): fix little typo in the docs
      	(patch from maemo-gtk).
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_deleted): remove
      	stale FIXME.
      a25bc9a0
  2. 14 Jan, 2006 1 commit
  3. 29 Dec, 2005 2 commits
    • Matthias Clasen's avatar
      More of the same · 957e3ce2
      Matthias Clasen authored
      957e3ce2
    • Matthias Clasen's avatar
      Use the slice allocater for GtkTreeDataSortHeader. · 4cb44fcc
      Matthias Clasen authored
      2005-12-29  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreedatalist.c: Use the slice allocater for
      	GtkTreeDataSortHeader.
      
      	* gtk/gtktreedatalist.h:
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_set_header): New function.
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func):
      	* gtk/gtkliststore.c (gtk_list_store_set_sort_func):
      	* gtk/gtktreestore.c (gtk_tree_store_set_sort_func): Use it here.
      4cb44fcc
  4. 24 Oct, 2005 1 commit
    • Kristian Rietveld's avatar
      emitting row-has-child-toggled when the level is not in the cache does not · 3fe6e986
      Kristian Rietveld authored
      2005-10-24  Kristian Rietveld  <kris@gtk.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_inserted): emitting
      	row-has-child-toggled when the level is not in the cache does not
      	make sense.  (This bug probably crept in during the early stages
      	of GtkTreeModelSort when there wasn't a correct row-has-child-toggled
      	implementation yet),
      	(gtk_tree_model_sort_real_unref_node): only get the child iter
      	when we will actually also use it.
      3fe6e986
  5. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  6. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  7. 23 Aug, 2005 1 commit
  8. 25 Jul, 2005 1 commit
    • Matthias Clasen's avatar
      Trivial doc fixes. · e0f77a1f
      Matthias Clasen authored
      2005-07-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreemodelsort.c: Trivial doc fixes.
      
      	* gtk/gtktreesortable.c: Talk about comparison functions, not
      	sort functions in some places.  (#311398, Fabrice Bauzac)
      
      
      
      2005-07-25  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/tmpl/gtktreemodelsort.sgml: Note that the sorting
      	function is not guaranteed to be stable.  (#311398,
      	Fabrice Bauzac)
      e0f77a1f
  9. 22 Jul, 2005 1 commit
    • Matthias Clasen's avatar
      Cleanup a possible resize idle. (#311141, Robert Ögren) · 9c002e4a
      Matthias Clasen authored
      2005-07-21  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkcombobox.c (gtk_combo_box_list_destroy): Cleanup
      	a possible resize idle.  (#311141, Robert Ögren)
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed):
      	(gtk_tree_model_sort_sort_level): Ref the level while using it,
      	otherwise it may get nuked by gtk_tree_model_sort_increment_stamp.
      	(gtk_tree_model_sort_row_deleted): Don't leak the root level
      	here.  (#300089, James Bramford, Markku Vire)
      9c002e4a
  10. 05 Apr, 2005 1 commit
    • Matthias Clasen's avatar
      Fix a typo in a warning. · bcfe29ec
      Matthias Clasen authored
      2005-04-05  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_build_level):
      	Fix a typo in a warning.
      bcfe29ec
  11. 22 Mar, 2005 1 commit
  12. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  13. 30 Nov, 2004 1 commit
    • Matthias Clasen's avatar
      Update the documentation to specify a more useful behaviour, which can be · 35a3099e
      Matthias Clasen authored
      2004-11-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktreesortable.c (gtk_tree_sortable_get_sort_column_id): Update
      	the documentation to specify a more useful behaviour, which can be
      	implemented with the multiple special values we have now.  (#159984,
      	Nicholas Rahn)
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_sort_column_id):
      	* gtk/gtktreestore.c (gtk_tree_store_get_sort_column_id):
      	* gtk/gtkliststore.c (gtk_list_store_get_sort_column_id): Update the
      	implementations.
      35a3099e
  14. 09 Aug, 2004 1 commit
    • Matthias Clasen's avatar
      Add hidden aliases for exported symbols which are used internally in order · 3612aee5
      Matthias Clasen authored
      Mon Aug  9 12:48:04 2004  Matthias Clasen  <maclas@gmx.de>
      
      	Add hidden aliases for exported symbols which are
      	used internally in order to get rid of many PLT
      	entries.  (#145519, Arjan van de Ven)
      
      	* gtk/Makefile.am: Add rules to generate gtk.def and
      	from gtk.symbols, and make make check check the abi
      	with abicheck.sh.
      	(gtk_private_h_sources): Add gtkinternals.h
      	(gtk_built_private_headers): Add gtkalias.h
      	(gtk_extra_sources): Add gtk.symbols
      	(EXTRA_DIST): Add makegtkalias.pl and abicheck.sh
      
      	* gtk/gtk.symbols: New file. Definition of the GTK+ ABI.
      	The file can be processed by cpp to filter out certain
      	subsets of symbols.
      
      	* gtk/abicheck.sh: New file. Script to check the actually
      	symbols exported from libgtk-x11.2.0.so against the symbols
      	found in gtk.symbols.
      
      	* gtk/makegtkalias.pl: New file. Perl script to generate the
      	header containing the alias definitions for internally used
      	exported symbols from a list of symbols.
      
      	* gtk/gtkinternals.h: New file. An uninstalled header listing
      	symbols which must be exported for some reason and do not appear
      	in any other header.
      
      	* gtk/*.c: Include gtkalias.h
      3612aee5
  15. 06 Mar, 2004 1 commit
  16. 01 Mar, 2004 1 commit
  17. 16 Jan, 2004 1 commit
    • Matthias Clasen's avatar
      The first part of the fix for #114351 (see also gdk-pixbuf/ChangeLog and · 07d4d314
      Matthias Clasen authored
      Fri Jan 16 23:59:01 2004  Matthias Clasen  <maclas@gmx.de>
      
      	The first part of the fix for #114351 (see also
      	gdk-pixbuf/ChangeLog and po/ChangeLog):
      
      	* gtk/gtkintl.h:
      	* gdk-pixbuf/gdk-pixbuf-i18n.h:
      	* gdk/gdkintl.h: Define P_() for property blurbs and nicks.
      
      	* gdk/gdkdisplaymanager.c:
      	* gdk-pixbuf/gdk-pixbuf.c:
      	* modules/input/gtkimcontextxim.c:
      	* gtk/*.c:  Mark property blurbs and nicks with P_().
      
      	* po/Makefile.in.in: Add --keyword=P_ to the xgettext
      	invocation, since property blurbs and nicks are
      	now marked with P_().
      07d4d314
  18. 18 Dec, 2003 1 commit
    • Kristian Rietveld's avatar
      Fixes #110249, reworked patch from Joshua N Pritikin. · 4d9e9afd
      Kristian Rietveld authored
      Thu Dec 18 19:13:12 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Fixes #110249, reworked patch from Joshua N Pritikin.
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_type),
      	(gtk_tree_model_sort_tree_drag_source_init),
      	(gtk_tree_model_sort_row_draggable),
      	(gtk_tree_model_sort_drag_data_get),
      	(gtk_tree_model_sort_drag_data_delete): implement GtkTreeDragSource.
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_type),
      	(gtk_tree_model_filter_tree_drag_source_init),
      	(gtk_tree_model_filter_row_draggable),
      	(gtk_tree_model_filter_drag_data_get),
      	(gtk_tree_model_filter_drag_data_delete): ditto.
      4d9e9afd
  19. 17 Dec, 2003 1 commit
  20. 13 Dec, 2003 1 commit
    • Kristian Rietveld's avatar
      A trick for a faster treeview, step 1. Patch to short circuit · 5f3cde77
      Kristian Rietveld authored
      Sat Dec 13 16:13:27 2003  Kristian Rietveld  <kris@gtk.org>
      
      	A trick for a faster treeview, step 1. Patch to short circuit
      	_build_tree(), inspired by Jonathan (#80868).
      
      	* gtk/gtktreeview.c (gtk_tree_view_init): don't put _IS_LIST in
      	flags by default,
      	(gtk_tree_view_build_tree): don't even try to recurse when the
      	model says that it is a list, remove flag unsetter,
      	(gtk_tree_view_set_model): change flag setting logic.
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_get_flags):
      	propagate whether or not the child model has _IS_LIST set.
      
      	* gtk/gtktreemodelfilter.c (gtk_tree_model_filter_get_flags):
      	ditto.
      5f3cde77
  21. 15 Aug, 2003 1 commit
    • Kristian Rietveld's avatar
      Merged from stable. · 15885321
      Kristian Rietveld authored
      Fri Aug 15 20:06:42 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Merged from stable.
      
      	* gtk/gtktreeview.c (gtk_tree_model_sort_row_changed),
      	(gtk_tree_model_sort_level_find_insert),
      	(gtk_tree_model_sort_insert_value): fix off-by-one error.
      	(#109292 continued, patch from Yann Rouillard).
      15885321
  22. 04 Jun, 2003 1 commit
  23. 27 Jan, 2003 1 commit
  24. 28 Nov, 2002 1 commit
  25. 02 Nov, 2002 1 commit
  26. 14 Oct, 2002 1 commit
    • Kristian Rietveld's avatar
      Behaviour change, apply changes if the entry of the editable gets a focus · bd20ab01
      Kristian Rietveld authored
      Tue Oct 15 00:53:14 2002  Kristian Rietveld  <kris@gtk.org>
      
              Behaviour change, apply changes if the entry of the editable gets
              a focus out event (#82405).
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_focus_out_event):
              new function,
              (gtk_cell_renderer_text_start_editing): stop editing and apply
              changes on focus-out.
      
      Tue Oct 15 00:47:35 2002  Kristian Rietveld  <kris@gtk.org>
      
              Fixes an *evil* GtkTreeModelSort bug, #93629.
      
              * gtk/gtktreemodel.c (release_row_references): return if the
              refs->list is NULL.
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_row_changed): if we
              are swapping two rows (re-insertion on row_changed), also *emit*
              a rows_reordered signal. oops.
      
      Tue Oct 15 00:45:03 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtkliststore.c (gtk_list_store_remove_silently): free
              the actual link after the node has been removed (#92014).
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_column_finalize):
              free the cell_list and the child if the exists (#92014).
      
      Tue Oct 15 00:40:25 2002  Kristian Rietveld  <kris@gtk.org>
      
              Don't accept drops if the model has been sorted, #93758)
      
              * gtk/gtkliststore.c (gtk_list_store_row_drop_possible): return
              FALSE if the list has been sorted.
      
              * gtk/gtktreestore.c (gtk_tree_store_row_drop_possible): check
              if drag_dest is a TreeStore, return FALSE if the tree has been
              sorted.
      
      Tue Oct 15 00:33:59 2002  Kristian Rietveld  <kris@gtk.org>
      
              Compiler warning fixage, (#85858, #85859, #85860, #85872)
      
              * gtk/gtkcellrendererpixbuf (gtk_cell_renderer_pixbuf_render):
              s/guint/GtkCellRendererState/.
      
              * gtk/gtkcellrenderertext.c (gtk_cell_renderer_text_render):
              ditto.
      
              * gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render),
              (gtk_cell_renderer_toggle_activate): ditto.
      
              * gtk/gtkliststore.c (gtk_list_store_get_flags): a
              s/guint/GtkTreeModelFlags/ on the return type.
      bd20ab01
  27. 07 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · 55704fc7
      Manish Singh authored
      Mon Oct  7 11:59:33 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtkliststore.[ch] gtk/gtktreedatalist.[ch] gtk/gtktreednd.c
              gtk/gtktreemodel.[ch] gtk/gtktreemodelsort.[ch]
              gtk/gtktreeselection.[ch] gtk/gtktreesortable.[ch]
              gtk/gtktreestore.[ch]: Deprecation cleanup
      55704fc7
  28. 05 Jul, 2002 1 commit
    • 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
  29. 04 Jun, 2002 1 commit
    • Kristian Rietveld's avatar
      Discussed in #76249. · f39b189d
      Kristian Rietveld authored
      Tue Jun  4 19:24:41 2002  Kristian Rietveld  <kris@gtk.org>
      
              Discussed in #76249.
      
              * gtk/gtkliststore.[ch]: made gtk_list_store_remove return a gboolean,
              added gtk_list_store_iter_is_valid.
      
              * gtk/gtktreestore.[ch]: made gtk_tree_store_remove return a gboolean,
              added gtk_tree_store_iter_is_valid.
      
              * gtk/gtktreemodelsort.[ch]: added VALID_ITER macro as in liststore
              and treestore sources, added gtk_tree_model_sort_iter_is_valid.
      f39b189d
  30. 24 May, 2002 2 commits
  31. 29 Apr, 2002 1 commit
  32. 24 Apr, 2002 1 commit
  33. 20 Apr, 2002 1 commit
  34. 17 Apr, 2002 1 commit
  35. 01 Apr, 2002 1 commit
    • Kristian Rietveld's avatar
      add check for y > tree_view->priv->height (fixes #76974) · 30896669
      Kristian Rietveld authored
      Mon Apr  1 22:20:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreeview.c (gtk_tree_view_move_cursor_page_up_down): add
              check for y > tree_view->priv->height (fixes #76974)
      
      Mon Apr  1 22:19:39 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_sort_level): get
              the stamp changes right this time
      
      Mon Apr  1 22:13:24 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodel.c (gtk_tree_row_reference_free): only
              disconnect the ref callbacks when model == proxy (Thanks go to
              Manuel Clos Crespo for the remote debugging)
      30896669
  36. 30 Mar, 2002 3 commits