1. 20 Jan, 2011 1 commit
  2. 15 Dec, 2010 1 commit
  3. 10 Jul, 2010 1 commit
  4. 16 May, 2010 1 commit
  5. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  6. 03 Oct, 2006 1 commit
  7. 02 May, 2006 1 commit
  8. 11 Sep, 2005 1 commit
  9. 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
  10. 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
  11. 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
  12. 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
  13. 06 Mar, 2004 1 commit
  14. 15 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Document the tree DND API. · 6993105c
      Matthias Clasen authored
      Sun Feb 15 02:49:45 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreednd.c:
      	* gtk/gtktreeview.c: Document the tree DND API.
      
      	* gtk/gtktreeview.c (gtk_tree_view_unset_rows_drag_source):
      	Call gtk_drag_source_unset().
      6993105c
  15. 09 Sep, 2003 1 commit
    • Kristian Rietveld's avatar
      Big TreeView DnD fixage, makes drops on empty models work, makes TreeStore · b78691f0
      Kristian Rietveld authored
      Wed Sep 10 01:06:44 2003  Kristian Rietveld  <kris@gtk.org>
      
      	Big TreeView DnD fixage, makes drops on empty models work, makes
      	TreeStore DnD work and gets rid of gtk-tree-model-drop-append.
      	Related bugs #95362 and #113314. I don't want to touch this code
      	ever again.
      
      	* gtk/gtktreeprivate.h (GtkTreePrivate): add empty_view_drop field.
      
      	* gtk/gtktreednd.c (gtk_tree_get_row_drag_data): add check
      	for selection_data->length.
      
      	* gtk/gtktreeview.c (struct DestRow), (dest_row_free),
      	(set_dest_row), (get_dest_row): we don't store just the row ref
      	anymore, but a struct with the row ref and additional info,
      	(set_destination_row): handle drops on empty space and some
      	style fixes,
      	(get_logical_dest_row): also return path_down_mode/drop_append_mode
      	flags, handle dropping childs on their new parents, rewrite
      	drop append handling into something saner,
      	(gtk_tree_view_drag_motion): show a "drop possible arrow" on empty
      	spaces,
      	(gtk_tree_view_drag_drop): updates for updated backend,
      	(gtk_tree_view_drag_data_received): updates for updated backend,
      	path down mode (treestore DnD) handling,
      	(gtk_tree_view_set_drag_dest_row): set empty_view_drop flag,
      	when we are trying to drop a row on an empty model,
      	(gtk_tree_view_get_drag_dest_row): handle empty_view_drop flag.
      
      	* gtk/gtkliststore.c (gtk_list_store_drag_data_received),
      	(gtk_list_store_row_drop_possible): style and drop-append fixes.
      
      	* gtk/gtktreestore.c (gtk_tree_store_drag_data_received): ditto.
      b78691f0
  16. 14 Jan, 2003 1 commit
    • Murray Cumming's avatar
      Fixes #102168. · 5c466a9f
      Murray Cumming authored
      2002-12-29  Murray Cumming  <murrayc@usa.net>
      
      	Fixes #102168.
      
      	* gtk/gtkliststore.c, gtktreednd.c, gtktreestore.c:
      	Actually implement the GtkTreeDragSource::row_draggable virtual
      	function in GtkListStore and GtkTreeStore instead of just checking
      	whether it's implemented at all. This means that DnD isn't broken by
      	gtkmm's virtual function wrappers. The alternative would be to
      	hard-code the TRUE return value into gtkmm's wrappers, but that's
      	part of GTK+'s implementation, not it's API.
      5c466a9f
  17. 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
  18. 07 Mar, 2002 1 commit
    • 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
  19. 06 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Add row_draggable() vfunc, and wrapper function. · 57479a86
      Owen Taylor authored
      Mon Nov  5 22:34:29 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtktreednd.[ch] (struct _GtkTreeDragSourceIface):
      	Add row_draggable() vfunc, and wrapper function.
      
      	* gtk/gtktreednd.[ch] (struct _GtkTreeDragDestIface): Make
      	row_drop_possible take a GtkSelectionData, rather than
      	model/row pair.
      
      	* gtk/gtktreestore.c gtk/gtkliststore.c: Update for
      	new DND interfaces.
      
      	* gtk/gtktreeview.[ch]: Remove the row_draggable_func
      	location_dropable_func from gtk_tree_view_set_rows_drag_source/dest.
      	and rename them to enable_model_drag_source/dest.
      
      	* gtk/treeviewcolumn.c: Add DND of columns between rows.
      	Still can't drop _to_ the left tree, but other places
      	work.
      
      	* gtk/gtktreeview.c (unset_reorderable): Unset the
      	reorderable property if unset/enable_model_drag_source/dest
      	are called manually.
      
      	* gtk/gtktreestore.c (gtk_tree_store_row_drop_possible):
      	Correct for change in depth count handling.
      
      	* gtk/gtktreeview.c (gtk_tree_view_create_row_drag_icon):
      	Pass in a expose area to gtk_tree_view_column_cell_render()
      57479a86
  20. 31 Oct, 2001 1 commit
    • Jonathan Blandford's avatar
      rename gtk_selection_data_set_tree_row, #60218 · d7a97b97
      Jonathan Blandford authored
      Wed Oct 31 16:53:48 2001  Jonathan Blandford  <jrb@redhat.com>
      
      	* gtk/gtktreednd.c (gtk_tree_set_row_drag_data): rename
      	gtk_selection_data_set_tree_row, #60218
      	(gtk_tree_get_row_drag_data): rename
      	gtk_selection_data_get_tree_row, #60218
      
      	* gtk/gtktreemodel.c (gtk_tree_row_ref_deleted_callback): Actually
      	get this right, after the third try, #63122.
      d7a97b97
  21. 31 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      fix bug in here where prev pointer was set to the wrong thing · 5cd29932
      Havoc Pennington authored
      2001-01-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkliststore.c (gtk_list_store_insert_before): fix bug in
      	here where prev pointer was set to the wrong thing
      
      	* gtk/gtktreemodel.c (gtk_tree_path_is_ancestor): new function
      	(gtk_tree_path_is_descendant): new function
      
      	* gtk/gtkliststore.c (gtk_list_store_iter_n_children): return
      	cached length
      	(gtk_list_store_get_iter): don't modify iter if we can't get the
      	path.
      
      	* gtk/gtkliststore.h (struct _GtkListStore): cache the length
      
      	* gtk/gtktreednd.h: add virtual function row_drop_possible() to
      	GtkTreeDragDest
      
      	* gtk/gtktreestore.c (copy_node_data): fix varargs type error that
      	was causing segfault
      
      	* gtk/gtktreedatalist.c (_gtk_tree_data_list_node_copy): set next
      	pointer to NULL
      
      	* gtk/gtktreestore.c (gtk_tree_store_append): fix memleak
      
      	* gtk/gtkliststore.c (gtk_list_store_iter_next): don't modify iter
      	on returning FALSE
      	(gtk_list_store_iter_children): ditto
      	(gtk_list_store_iter_nth_child): ditto
      	(gtk_list_store_iter_nth_child): ditto
      	(gtk_list_store_iter_parent): ditto
      
      	* gtk/gtktreestore.c (gtk_tree_store_get_path): g_return_if_fail
      	on iter->user_data != NULL instead of silently accepting it.
      	(gtk_tree_store_iter_next): ditto. Also, don't modify iter unless
      	we are returning TRUE.
      	(gtk_tree_store_iter_children): ditto
      	(gtk_tree_store_iter_nth_child): ditto
      	(gtk_tree_store_iter_parent): ditto
      	(gtk_tree_store_insert): remove handling of parent->user_data ==
      	NULL, replace with parent == NULL
      
      	* gtk/gtktreemodel.c (inserted_callback): put some fixes in here,
      	and a comment explaining things
      
      	* gtk/gtktreestore.c: add GtkTreeDragSource/GtkTreeDragDest
      	interface support to GtkTreeStore.
      
      	* gtk/gtktreemodel.c (gtk_tree_path_prev): didn't properly return
      	FALSE if no prev, fix
      
      	* gtk/gtktreeview.c (set_source_row): use a row reference
      	(set_dest_row): use a row reference
      5cd29932
  22. 26 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      adapt to handle PangoColor · ef4356b5
      Havoc Pennington authored
      2001-01-26  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextlayout.c (convert_color): adapt to handle PangoColor
      
      	* gtk/gtktreeview.c (gtk_tree_view_widget_to_tree_coords): fix to
      	not offset by TREE_VIEW_HEADER_HEIGHT
      	(gtk_tree_view_tree_to_widget_coords): fix to not offset by
      	TREE_VIEW_HEADER_HEIGHT
      
      	* configure.in (included_loaders): for me, --with-included-loaders
      	generates the error "the specified loader yes does not exist",
      	i.e. the arg defaults to "yes", so change test for value ""
      	to test for value "yes", and include all loaders in that case.
      
      	* gtk/gtkrbtree.c (_gtk_rbtree_get_depth): new function
      
      	* gtk/gtktreeview.c (gtk_tree_view_get_cell_rect): fix to properly
      	handle TREE_VIEW_VERTICAL_SEPARATOR
      	(gtk_tree_view_bin_expose): fix to consider the row offset as
      	pointing halfway into vertical separator.
      	(gtk_tree_view_draw_node_focus_rect): ditto
      
      	* gtk/gtkdebug.h, gtk/gtkmain.c (gtk_init_check): Add
      	--gtk-debug=updates, which causes gdk_window_set_debug_updates
      	(TRUE) to be called.
      
      	* gdk/gdkwindow.c (gdk_window_set_debug_updates): Allow enabling a
      	debug mode where the invalid region is colored in on invalidate,
      	so you can see the flicker and know whether your redraw code is
      	doing a good job.
      
      	* gtk/gtktreeview.c (gtk_tree_view_queue_draw_node): Work in
      	tree window coordinates (clip rect is in tree window coords)
      
      	* gtk/Makefile.am: add gtktreednd.[hc]
      
      	* gtk/gtkliststore.c: implement gtktreednd interfaces.
      
      	* gtk/gtktreednd.c, gtk/gtktreednd.h: New interface to support
      	drag-and-drop data operations on a model (so we can set up tree
      	drag-and-drop automatically)
      
      	* gtk/testgtk.c: Add a window to change sensitivity in the
      	GtkLabel test; add a way to change the entry frame in GtkEntry
      	test
      
      	* gtk/gtkentry.c (gtk_entry_set_has_frame):
      	(gtk_entry_get_has_frame): new functions to remove the frame
      	around an entry
      	(gtk_entry_size_request): shrink requisition if no frame
      	(gtk_entry_draw_focus): don't draw frame if no frame
      
      	* gtk/gtkstyle.c (gtk_default_draw_check): draw custom look for
      	checks inside a cell renderer
      	(gtk_default_draw_option): ditto for options
      
      	* gtk/gtktreeviewcolumn.c (update_button_contents): add/remove
      	children from the alignment, not the button
      	(gtk_tree_view_column_init): ref/sink the column, to emulate
      	GObject refcounting.
      
      	* gtk/gtkcellrenderer.c (gtk_cell_renderer_init): ref/sink
      
      	* gtk/gtkcellrenderertoggle.c (gtk_cell_renderer_toggle_render):
      	Use theme functions to draw the toggles
      
      	* gdk/gdkpango.c (gdk_pango_get_gc): use GdkRGB to alloc colors
      
      	* gdk/gdkpango.h, gdk/gdkpango.c: Add GdkPangoAttrStipple and
      	GdkPangoAttrEmbossed to use in rendering insensitive text
      
      	* gdk/gdkpango.c (gdk_draw_layout_line): render new properties
      
      	* gtk/gtkstyle.c (gtk_default_draw_layout): handle sensitivity
      	using new GDK features
      ef4356b5