1. 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
  2. 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
  3. 23 Aug, 2005 1 commit
  4. 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
  5. 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
  6. 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
  7. 22 Mar, 2005 1 commit
  8. 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
  9. 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
  10. 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
  11. 06 Mar, 2004 1 commit
  12. 01 Mar, 2004 1 commit
  13. 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
  14. 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
  15. 17 Dec, 2003 1 commit
  16. 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
  17. 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
  18. 04 Jun, 2003 1 commit
  19. 27 Jan, 2003 1 commit
  20. 28 Nov, 2002 1 commit
  21. 02 Nov, 2002 1 commit
  22. 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
  23. 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
  24. 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
  25. 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
  26. 24 May, 2002 2 commits
  27. 29 Apr, 2002 1 commit
  28. 24 Apr, 2002 1 commit
  29. 20 Apr, 2002 1 commit
  30. 17 Apr, 2002 1 commit
  31. 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
  32. 30 Mar, 2002 3 commits
  33. 29 Mar, 2002 1 commit
    • Kristian Rietveld's avatar
      remove call to gtk_tree_model_sort_increment_stamp · 835094b1
      Kristian Rietveld authored
      Fri Mar 29 20:17:35 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_rows_reordered):
              remove call to gtk_tree_model_sort_increment_stamp
              (gtk_tree_model_sort_sort_level): always increment the stamp
      835094b1
  34. 16 Mar, 2002 1 commit
    • Kristian Rietveld's avatar
      just return when we have an input_only window (fix by Owen Taylor) · bd7678c7
      Kristian Rietveld authored
      Sat Mar 16 23:54:56 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gdk/x11/gdkwindow-x11.c (gdk_window_set_static_bit_gravity): just
              return when we have an input_only window (fix by Owen Taylor)
      
              * gtk/gtktreeprivate.h (struct _GtkTreeViewPrivate): add
              scroll_sync_timer
      
              * gtk/gtktreeview.c (install_scroll_sync_handler): new function,
              (scroll_sync_handler): ditto,
              (gtk_tree_view_unrealize): take scroll_sync_timer into account
              (gtk_tree_view_row_deleted): install scroll_sync_timer instead of
              calling top_row_to_dy/dy_to_top_row directly
              -- this greatly speeds up clearing the model (#73199)
      
              * gtk/gtktreemodelsort.c
              (gtk_tree_model_sort_convert_path_to_child_path): fix up this function,
              for some reason I really screwed it up (fixes #74663)
      bd7678c7
  35. 14 Mar, 2002 1 commit
  36. 07 Mar, 2002 1 commit
    • 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
  37. 03 Mar, 2002 1 commit
    • Tim Janik's avatar
      added compile time switch to put the tree views into a hpaned for owen to · f0b58ab8
      Tim Janik authored
      Sun Mar  3 06:39:19 2002  Tim Janik  <timj@gtk.org>
      
              * gtk/gtkfilesel.c: added compile time switch to put the tree views
              into a hpaned for owen to play with.
      
              * gtk/gtktreedatalist.c (_gtk_tree_data_list_header_free):
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_set_cell_data_func),
              (gtk_tree_view_column_finalize):
              * gtk/gtktreestore.c (gtk_tree_store_set_default_sort_func),
              (gtk_tree_store_set_sort_func), (gtk_tree_store_finalize):
              * gtk/gtktreeselection.c (gtk_tree_selection_finalize):
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_reset_default_sort_func),
              (gtk_tree_model_sort_set_default_sort_func),
              (gtk_tree_model_sort_set_sort_func):
              * gtk/gtkliststore.c (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_default_sort_func),
              (gtk_list_store_set_sort_func), (gtk_list_store_finalize):
              add reentrancy protection around destroy() function invocation.
      
              * gtk/gtktreeselection.c (gtk_tree_selection_set_select_function): fix
              destroy function invocation (which was missing).
      f0b58ab8