1. 30 Oct, 2004 1 commit
    • Matthias Clasen's avatar
      Redisplay the new selection. · 73821182
      Matthias Clasen authored
      2004-10-30  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_select_range): Redisplay
      	the new selection.
      
      	* gtk/gtktextview.c (gtk_text_view_select_all): Use
      	gtk_text_buffer_select_range().
      73821182
  2. 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
  3. 23 Jul, 2004 1 commit
  4. 19 Apr, 2004 1 commit
  5. 06 Mar, 2004 1 commit
  6. 01 Mar, 2004 2 commits
    • Michael Natterer's avatar
      removed underscores from calls to gtk_text_btree_resolve_bidi(). · ebd7d168
      Michael Natterer authored
      2004-03-01  Michael Natterer  <mitch@gimp.org>
      
      	* gtk/gtktextbtree.c: removed underscores from calls to
      	gtk_text_btree_resolve_bidi().
      ebd7d168
    • Owen Taylor's avatar
      Patch from Dov Grobgeld to implement auto-bidi-direction for GtkTextView · 8130a8a2
      Owen Taylor authored
      Mon Mar  1 10:41:27 2004  Owen Taylor  <otaylor@redhat.com>
      
              Patch from Dov Grobgeld to implement auto-bidi-direction
              for GtkTextView (#118543)
      
              * gtk/gtktextbtree.[ch]: Resolve bidi base direction
              for each line by propagating backwards/forwards as
              necessary.
      
              * gtk/gtktextlayout.[ch] gtk/gtktextview.c: Set the
              bidi base direction for the ;ine with the cursor from
              the keyboard direction. Add gtk_text_layout_set_keyboard_direction().
      
      Mon Mar  1 10:31:11 2004  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkentry.[ch]: Implement auto-bidi-direction,
              based on a patch from Dov Grobgeld. (#118540)
      8130a8a2
  7. 06 Feb, 2004 1 commit
    • Matthias Clasen's avatar
      Actually free the lists. Pointed out by Morten Welinder. · 738eeba8
      Matthias Clasen authored
      Fri Feb  6 23:08:29 2004  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_check):
      	* gtk/gtkcombobox.c (gtk_combo_box_cell_layout_clear_attributes):
      	* gtk/gtkcellview.c (gtk_cell_view_cell_layout_clear_attributes):
      	Actually free the lists. Pointed out by Morten Welinder.
      738eeba8
  8. 27 May, 2003 1 commit
    • Matthias Clasen's avatar
      Remove dubious bitfields of unspecified signedness. (#112919, Morten · 83c626bb
      Matthias Clasen authored
      2003-05-27  Matthias Clasen  <maclas@gmx.de>
      
      	* io-wbmp.c: Remove dubious bitfields of
      	unspecified signedness.  (#112919, Morten Welinder)gdk-p
      
      	* gdk-pixdata.c (gdk_pixdata_to_csource): Replace all occurances
      	of g_string_new ("") by g_string_new (NULL). (#106975, Morten Welinder)
      
      	* gtk/gtkwindow-decorate.c:
      	* gtk/gtktreeprivate.h:
      	* gtk/gtkdnd.c:
      	* gdk/win32/gdkwindow-win32.h:
      	* gdk/linux-fb/gdkprivate-fb.h:
      	* gdk/linux-fb/gdkkeyboard-fb.c: Remove dubious bitfields of
      	unspecified signedness.  (#112919, Morten Welinder)
      
      	* gtk/queryimmodules.c (escape_string):
      	* gtk/gtktextbtree.c (_gtk_text_btree_get_text):
      	* gtk/gtksettings.c (_gtk_settings_parse_convert):
      	* gtk/gtkrc.c (gtk_rc_parse_assignment):
      	* gtk/gtkinputdialog.c (gtk_input_dialog_set_key):
      	* gdk/x11/gdkdisplay-x11.c (escape_for_xmessage): Replace all
      	occurances of g_string_new ("") by g_string_new (NULL). (#106975,
      	Morten Welinder)
      83c626bb
  9. 20 Feb, 2003 1 commit
    • Matthias Clasen's avatar
      Check if line_ancestor_parent is NULL. (#102711, Manuel Clos) · 452de5d6
      Matthias Clasen authored
      2003-02-20  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextbtree.c (_gtk_text_line_previous_could_contain_tag):
      	Check if line_ancestor_parent is NULL.  (#102711, Manuel Clos)
      
      	* gtk/gtktextview.c (gtk_text_view_scroll_to_iter):
      	(gtk_text_view_update_adjustments): Make sure cursor stays visible
      	during horizontal scrolling.  (#75270)
      452de5d6
  10. 06 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Implement a utility function proposed in #102534: · bc70dc94
      Matthias Clasen authored
      2003-01-06  Matthias Clasen  <maclas@gmx.de>
      
      	Implement a utility function proposed in #102534:
      
      	* gtk/gtktextbtree.h:
      	* gtk/gtktextbtree.c (_gtk_text_btree_select_range): New function.
      	(_gtk_text_btree_place_cursor): Now a simple wrapper around
      	_gtk_text_btree_select_range().
      
      	* gtk/gtktextbuffer.h:
      	* gtk/gtktextbuffer.c (gtk_text_buffer_select_range): New function.
      	(gtk_text_buffer_place_cursor): Now a simple wrapper around
      	gtk_text_buffer_select_range().
      bc70dc94
  11. 10 Oct, 2002 1 commit
    • Manish Singh's avatar
      Deprecation cleanup · ac770765
      Manish Singh authored
      Thu Oct 10 14:41:05 2002  Manish Singh  <yosh@gimp.org>
      
              * gtk/gtktextbtree.c gtk/gtktextbuffer.c gtk/gtktextdisplay.c
              gtk/gtktextlayout.c gtk/gtktextmark.c gtk/gtktexttag.[ch]
              gtk/gtktexttagtable.c gtk/gtktextutil.c gtk/gtktextview.[ch]:
              Deprecation cleanup
      ac770765
  12. 23 Sep, 2002 1 commit
  13. 10 Jul, 2002 1 commit
  14. 09 Jun, 2002 1 commit
    • Matthias Clasen's avatar
      Don't leak child_anchor_table. (#84425) · 2c867d1e
      Matthias Clasen authored
      	* gtk/gtktextbtree.c (_gtk_text_btree_unref): Don't leak
      	child_anchor_table.  (#84425)
      
      	* gtk/gtktextlayout.c (gtk_text_layout_finalize): Don't leak
      	one_display_cache.  (#84424)
      2c867d1e
  15. 30 Apr, 2002 1 commit
    • Havoc Pennington's avatar
      assign something to "prev" so that removing tag info succeeds. Part of · 271018df
      Havoc Pennington authored
      2002-04-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): assign
      	something to "prev" so that removing tag info succeeds.
      	Part of #77301
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_unref): reorder so that it
      	unrefs the tag table first, so that the btree is in a consistent
      	state when we're removing tags from it.
      
      	* gtk/gtktexttagtable.c (_gtk_text_tag_table_remove_buffer): strip
      	all tags in the tag table out of the buffer. #77301
      271018df
  16. 13 Feb, 2002 1 commit
    • Havoc Pennington's avatar
      just go ahead and flush all the first validate stuff if it hasn't been · a760ad80
      Havoc Pennington authored
      2002-02-13  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_paint): just go ahead and flush
      	all the first validate stuff if it hasn't been done, presumably
      	someone called process_updates at a weird time.
      
      	* tests/testtext.c (do_apply_colors): terminate on >= end, not >
      	end, avoids infinite loop when end is at the end of the buffer.
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_delete): when creating a
      	line data, we were adding it to the wrong line ("line" instead of
      	"start_line")
      a760ad80
  17. 08 Feb, 2002 1 commit
    • Darin Adler's avatar
      isspace -> g_ascii_isspace Remove gdki8n.h include. Remove <ctype.h> · 6ec06edb
      Darin Adler authored
      	* demos/gtk-demo/main.c: (load_file): isspace -> g_ascii_isspace
      	* gdk/x11/gdkim-x11.c: Remove gdki8n.h include.
      	* gdk/x11/gdkkeys-x11.c: Remove <ctype.h> include.
      	* gdk/x11/gdkmain-x11.c: Remove <ctype.h> include.
      	* gtk/fnmatch.c: Remove <ctype.h> include.
      	* gtk/gtkaccelgroup.c: Remove <ctype.h> include.
      	* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): toupper ->
      	g_unichar_toupper, toupper -> g_unichar_totile
      	* gtk/gtkbindings.c: Remove <ctype.h> include.
      	* gtk/gtkfontsel.c: Remove <ctype.h> include.
      	* gtk/gtkiconfactory.c: Remove <ctype.h> include.
      	* gtk/gtkinputdialog.c: Remove <ctype.h> include.
      	* gtk/gtklabel.c: Remove <ctype.h> include.
      	* gtk/gtkmain.c: Remove <ctype.h> include.
      	* gtk/gtkmenu.c: Remove <ctype.h> include.
      	* gtk/gtkoldeditable.c: Remove <ctype.h> include.
      	* gtk/gtkrc.c: Remove <ctype.h> include.
      	* gtk/gtktextbtree.c: Remove <ctype.h> include.
      	* gtk/gtktextiter.c: Remove <ctype.h> include.
      	* gtk/gtktextsegment.c: Remove <ctype.h> include.
      6ec06edb
  18. 29 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      fix assertion failure by creating the line data, but not validating it at · 5d82c0a4
      Havoc Pennington authored
      2002-01-25  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtktextbtree.c (_gtk_text_btree_delete): fix assertion
              failure by creating the line data, but not validating it at this
              stage. Also, remove old code related to the "bogus newline" mess
              that removed all tags from the last char in the buffer if you
              tried to delete it.
              (_gtk_text_line_data_new): put this here and prepend underscore,
              remove from gtktextlayout.c
      5d82c0a4
  19. 02 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      propagate exposes to no window children not in the buffer window. · 290e4efd
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextview.c (gtk_text_view_expose_event): propagate
      	exposes to no window children not in the buffer window.
      	(gtk_text_view_class_init): add move_focus bindings for Ctrl-Tab
      	- is this the right way to do it?
      	(gtk_text_view_focus): add focus method, just chains up for now,
      	I'm not sure why the GtkContainer implementation doesn't work
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): fill
      	in the text line for the child anchor segment
      
      	* tests/testtext.c (do_add_focus_children): add another test
      	example (to put focusable buttons into the widget)
      290e4efd
  20. 31 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      fix an incorrect assertion that the "valid" flag is always correct in a · 9b185ed7
      Havoc Pennington authored
      2001-12-31  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextbtree.c (gtk_text_btree_node_view_check_consistency):
      	fix an incorrect assertion that the "valid" flag is always correct
      	in a node and add explanatory comment. This keeps me from
      	reproducing #59101, but I'm remembering that 59101 was actually
      	about incorrect pixel totals, so I'm not sure 59101 is actually
      	fixed. May just have stopped happening due to some change in
      	how C-k works.
      9b185ed7
  21. 05 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      remove g_assert_not_reached() that was bogus, since we demand-create the · 6b1407a3
      Havoc Pennington authored
      2001-12-04  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c (gtk_text_btree_remove_tag_info): remove
      	g_assert_not_reached() that was bogus, since we demand-create the
      	tag info. reported by Chris Phelps
      
              Jump through assorted hoops to fix bug from Chris Phelps where
      	removing tags from the table resulted in btree trying to
      	access tag->table
      
      	* gtk/gtktextbuffer.c: set up mechanics of adding/removing
      	ourselves to the tag table
      
      	* gtk/gtktexttagtable.c (_gtk_text_tag_table_add_buffer)
      	(_gtk_text_tag_table_remove_buffer): private cruft to
      	let us notify buffer of disappearing tags
      
      	* gtk/gtktexttag.h: remove BTreeNode typedef from this public
      	header, put it in tagprivate
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_new): don't connect to
      	tag_removed; it's emitted too late.
      	(_gtk_text_btree_notify_will_remove_tag): rename tag_remove_cb to
      	this
      
      	Padding for ABI-compat expansion
      
      	* gtk/gtktexttag.h (struct _GtkTextAttributes): pad this
      	(struct _GtkTextAppearance): one pad in here too
      
      	* gtk/gtktextlayout.h (struct _GtkTextLayoutClass): padding here
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): more padding,
      	since action signals etc. seem pretty likely
      
      	* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): padding
      
      	* gtk/gtktexttag.h (struct _GtkTextTagClass): padding
      
      	* gtk/gtktexttagtable.h (struct _GtkTextTagTableClass): padding
      6b1407a3
  22. 22 Oct, 2001 3 commits
    • Havoc Pennington's avatar
      add assertion that #58290 would trigger if it reappeared, I think · f2bf563d
      Havoc Pennington authored
      2001-10-22  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert): add assertion that
      	#58290 would trigger if it reappeared, I think
      f2bf563d
    • Havoc Pennington's avatar
      add temporary code to dump btree contents on assertion failure described · 0a522533
      Havoc Pennington authored
      2001-10-22  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
      	add temporary code to dump btree contents on assertion failure
      	described in #62656
      
      	* gtk/gtktextbtree.c (ensure_end_iter_segment): add some
      	assertions that we're getting the right end iter segment
      
      	* gtk/gtktextiter.c (_gtk_text_iter_forward_indexable_segment):
      	verify that we aren't on the end iterator after moving
      	forward one segment - fixes return value in an obscure case.
      	Also, some trivial code cleanup/rearranging.
      0a522533
    • Havoc Pennington's avatar
      add a #error unless you define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so · 64464846
      Havoc Pennington authored
      2001-10-22  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextlayout.h: add a #error unless you define
      	GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API, so people don't use this accidentally
      
              * gtk/gtktext*.c: #define GTK_TEXT_USE_INTERNAL_UNSUPPORTED_API as appropriate.
      64464846
  23. 04 Oct, 2001 1 commit
    • Havoc Pennington's avatar
      fix test case, it previously verified incorrect behavior · 739ffc49
      Havoc Pennington authored
      2001-10-03  Havoc Pennington  <hp@redhat.com>
      
      	* tests/testtextbuffer.c (logical_motion_tests): fix test case,
      	it previously verified incorrect behavior
      
              Fixes for #61565
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_line): don't return lines
      	off the end
      	(_gtk_text_btree_get_iter_at_line_char): don't return lines off
      	the end
      	(_gtk_text_btree_get_iter_at_line_byte): don't return lines off
      	the end
      	(gtk_text_iter_forward_lines): if on the last line, move to end of
      	it
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_last_could_contain_tag):
      	don't return a line off the end
      739ffc49
  24. 25 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      use gtk_text_iter_can_insert · 1a26412d
      Havoc Pennington authored
      2001-09-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): use
      	gtk_text_iter_can_insert
      
      	* gtk/gtktextbuffer.c: use gtk_text_iter_can_insert
      
      	* gtk/gtktextiter.c (find_line_log_attrs): fixes, #57611, #57613
      	 (gtk_text_iter_can_insert): new function to fix #60282, should
      	also fix msw's "can paste into empty buffer" bug.
      
      	* gtk/gtktexttag.c (gtk_text_tag_event): change type check for
      	"event object,"  #59091
      
      	* gtk/gtktextbtree.c: indentation fixes
      
      	* gtk/gtktextiter.c (find_by_log_attrs): fixes
      1a26412d
  25. 24 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      Get rid of the newline-that-could-not-be-deleted; buffers may now be · 1e3b62fd
      Havoc Pennington authored
      2001-09-24  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c, gtk/gtktextbuffer.c, gtk/gtktextbtree.c,
      	gtktextlayout.c:
      	Get rid of the newline-that-could-not-be-deleted; buffers may
      	now be zero-length. Much easier to fix than expected, once
      	I figured out the right way to do it. However, there are
      	various subtle bugs introduced by this that will have to get
      	sorted out. Please use bugzilla.
      1e3b62fd
  26. 21 Sep, 2001 2 commits
    • Havoc Pennington's avatar
      Bug #60862 · b7eec02f
      Havoc Pennington authored
      2001-09-21  Havoc Pennington  <hp@redhat.com>
      
              Bug #60862
      
      	* gtk/gtktextbtree.c (gtk_text_btree_node_destroy):
      	(_gtk_text_btree_unref): fix up mark memory management
      
      	* gtk/gtktextmark.c (mark_segment_delete_func): ditto
      b7eec02f
    • Havoc Pennington's avatar
      add variables and checks for specific versions of dependencies. Previously · 85b43351
      Havoc Pennington authored
      2001-09-20  Havoc Pennington  <hp@pobox.com>
      
      	* configure.in (PANGO_REQUIRED_VERSION)
      	(ATK_REQUIRED_VERSION): add variables and checks for specific
      	versions of dependencies. Previously we didn't verify the
      	Pango or ATk versions.
      
      2001-09-09  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextiter.c: fool with indentation
      	(gtk_text_iter_in_range): add g_return_if_fail
      85b43351
  27. 07 Sep, 2001 2 commits
    • Havoc Pennington's avatar
      remove some debug code that seems to have caused a breakpoint in valid · e8648181
      Havoc Pennington authored
      2001-09-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextlayout.c (gtk_text_layout_get_lines): remove some
      	debug code that seems to have caused a breakpoint in valid cases
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_add_view): set the prev
      	pointer on the first view when adding the second view, fixes
      	crash when closing gtk-demo text test with active selection
      
      	* gtk/gtktextbuffer.c
      	(gtk_text_buffer_remove_selection_clipboard): don't leave dead
      	clipboards in the list of clipboards - probably fixes #59836
      e8648181
    • Havoc Pennington's avatar
      update adjustments after validating destination yrange; fixes #53918 (This · f1427cd9
      Havoc Pennington authored
      2001-09-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_flush_scroll): update
      	adjustments after validating destination yrange; fixes #53918
      	(This may cause other issues, but I hope it won't)
      
      2001-09-05  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_delete): when merging end
      	line into start line, update the character counts in parent nodes;
      	caused a bug when end and start line had different parent nodes.
      
      2001-08-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttag.c (_gtk_text_attributes_fill_from_tags): add
      	assertion that tag is in a table
      f1427cd9
  28. 23 Aug, 2001 1 commit
  29. 28 Jun, 2001 1 commit
    • Tim Janik's avatar
      up version to 1.3.7, interface age 0, binary age 0. depend on glib 1.3.7. · 10f047cf
      Tim Janik authored
      Thu Jun 28 17:18:41 2001  Tim Janik  <timj@gtk.org>
      
      	* configure.in (GTK_MICRO_VERSION): up version to 1.3.7, interface
      	age 0, binary age 0. depend on glib 1.3.7.
      
      	* gtk/gtkcontainer.c: remove g_signal_handlers_disconnect_by_func() hack.
      
      	* gtk/gtkmenubar.c: same here.
      
      	* gtk/gtkcontainer.c (gtk_container_focus_tab): fix param-spec retrival.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_init): fix connect_data() usage.
      
      	* gtk/gtkentry.c (gtk_entry_focus_in): same here.
      
      	* gtk/gtkmenubar.c (add_to_window): likewise.
      
      	* gtk/gtktextbtree.c: and here...
      
      	* gtk/gtktextview.c (gtk_text_view_ensure_layout): same thing.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_init): once more.
      
      	* gtk/gtktreemodel.c (connect_ref_callbacks): and another time.
      
      	* gtk/gtktreeviewcolumn.c:
      	(_gtk_tree_view_column_set_tree_view): yet again.
      
      	* demos/gtk-demo/images.c (progressive_timeout): demonstrate
      	signal connections without g_signal_connect_data().
      
      	* demos/gtk-demo/stock_browser.c (do_stock_browser): second
      	demo of the matter.
      
      	* demos/testpixbuf.c (main): running out of equality phrases for the
      	ChangeLog, but had to adapt connections here as well.
      
      	* demos/testanimation.c (progressive_timeout): and for the fun of it,
      	tackled this the same way.
      
      	* tests/testtext.c (create_view): ok, it's becoming a pain at this
      	point, but had enough enery for one more fix.
      
      	* tests/testtreecolumns.c (main): stand up man, do your work!
      
      	* tests/testtreeview.c (set_columns_type): ok, this is the last file i
      	fix, either that's been all of it or CVS gtk is broken yet again.
      10f047cf
  30. 14 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      fix other typo · a0021967
      Havoc Pennington authored
      2001-06-14  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtkwindow.c (window_group_cleanup_grabs): fix other typo
      
      	* gtk/gtkwidget.c (gtk_widget_propagate_state): fix typo
      
      	* gtk/gtktextbtree.c: don't leak node data all over the place.
      
      	* demos/gtk-demo/main.c (main): create fontify tags for the right
      	buffer
      
      	* gtk/gtktextbuffer.c, gtk/gtktexttagtable.c: enhance docs
      	to mention tags in the same table can't have the same name,
      	suggested by Skip Montanaro
      
      2001-06-11  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttagtable.c (gtk_text_tag_table_add): improve warning
      	for trying to add two tags with same name to the tag table
      
      	* demos/gtk-demo/main.c (main): fix colors ;-)
      a0021967
  31. 08 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Add a direction-changed signal, and gdk_keymap_get_current_direction(). · da562f4d
      Owen Taylor authored
      Fri Jun  8 12:03:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdkkeys.[ch]: Add a direction-changed signal,
      	and gdk_keymap_get_current_direction().
      
      	* gdk/x11/gdkevents-x11.c gdk/x11/gdkkeys-x11.c
      	  gdk/x11/gdkmain-x11.c gdk/x11/gdkprivate-x11.h: Track
      	the current locked group, use it to set the keymap
      	direction.
      
      	* gtk/gtksettings.c: Add a new gtk-split-cursor setting
      	to determine whether we draw a split cursor or use
      	a jumping cursor based on the current direction.
      
      	* gtk/gtkentry.c gtk/gtktextview.c gtk/gtktextlayout.[ch]:
      	Obey the split cursor setting.
      
      Fri Jun  8 11:57:50 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkimmulticontext.c (activate_cb): Only activate
      	when toggling on, not when toggling off... (#55906)
      
      Wed Jun  6 10:37:07 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkwidget.c (gtk_widget_set_double_buffered):
      	s/gdk_window_begin_paint/gdk_window_begin_paint_region/
      	in docs. (#55812, Vitaly Tishkov)
      da562f4d
  32. 05 Jun, 2001 1 commit
  33. 29 Mar, 2001 1 commit
    • Owen Taylor's avatar
      Add missing NULL on valist. · 1586ade9
      Owen Taylor authored
      Wed Mar 28 19:20:43 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/testtext.c (create_buffer): Add missing NULL on
      	valist.
      
      	* gtk/gtkcheckmenuitem.c (gtk_check_menu_item_class_init): Fix
      	c-n-p problem with INCONSISTENT property.
      
              [ Patch from Havoc Pennington  <hp@redhat.com> ]
      
      	* gtk/gtkentry.h (struct _GtkEntryClass): add same populate_popup
      	hook.
      
      	* gtk/gtktextview.h (struct _GtkTextViewClass): add populate_popup
      	signal as a hook for extending the default popup menu
      
      	* gtk/gtkimmulticontext.c (gtk_im_multicontext_append_menuitems):
      	use radio menu items for the input method menuitems
      
      	* gtk/gtkimcontextsimple.c (check_hex): do better validation of
      	inserted unicode from Ctrl-Shift-hex input method
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert): remove utf8
      	validatation here, already done at GtkTextBuffer level.
      
      	* gtk/gtkwidget.c (gtk_widget_class_init): add binding set, add
      	popup_menu run action signal and Shift+F10 and Menu keybindings.
      
      	* gtk/gtkentry.c: implement a default handler for popup_menu
      
      	* gtk/gtktextview.c: implement a default handler for popup_menu
      
      	* gtk/gtkmenu.c (gtk_menu_popup): select first item if popup is
      	from a key event
      
      	* gtk/gtklabel.c: remove "trailer" cruft
      1586ade9
  34. 19 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      add insert_child_anchor signal, bug #50245 · bc31a1bc
      Havoc Pennington authored
      2001-02-19  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.h (struct _GtkTextBufferClass): add
      	insert_child_anchor signal, bug #50245
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_insert_child_anchor): change
      	from create_child_anchor, so the anchor is passed in
      
      	* gtk/gtktextchild.c (gtk_text_child_anchor_new): new function
      	(_gtk_widget_segment_new): have the child anchor object passed in,
      	instead of creating it.
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_modified): rename
      	to gtk_text_buffer_get_modified
      bc31a1bc
  35. 17 Feb, 2001 1 commit
    • Havoc Pennington's avatar
      convert the X coordinates so they're with respect to the line, rather than · 08add3cd
      Havoc Pennington authored
      2001-02-15  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region): convert
      	the X coordinates so they're with respect to the line, rather than
      	with respect to the layout.
      
      	* gtk/gtkalignment.c: Convert to new property API, patch from Lee
      	Mallabone
      
      	* gtk/testgtk.c (create_range_controls): add vscale tests,
      	and inverted test
      
      	* gtk/gtkrange.c (gtk_range_set_inverted): new function to fix
      	#50806
      
      	* gtk/gtkentry.c (gtk_entry_get_text): add G_CONST_RETURN
      
      	* gtk/gtktextiter.h (gtk_text_iter_is_last): rename
      	gtk_text_iter_is_end
      
      	* gtk/gtktextbuffer.h (gtk_text_buffer_get_last_iter):
      	rename gtk_text_buffer_get_end_iter
      
      	* gtk/testgtk.c (create_labels): Add test for selectable
      
      	* gtk/gtkentry.c (gtk_entry_draw_text): Use new GDK API to draw
      	the selection stuff. This code is kind of broken since it doesn't
      	use the theme engine.
      
      	* gdk/gdkpango.c (gdk_pango_layout_line_get_clip_region):
      	fix infinite loop and y offset problem
      	(gdk_draw_layout_line_with_colors): fix foreground color handling
      
              * gtk/gtklabel.h, gtk/gtklabel.c: Implement a "selectable" flag
      	that makes the label selectable.
      
      	* gtk/gtklabel.c (gtk_label_style_set): recreate the label's
      	layout when the style is set, since fonts etc. could have changed.
      08add3cd