1. 30 Jan, 2004 1 commit
    • Federico Mena Quintero's avatar
      Fixes #132975. · a9fbfc99
      Federico Mena Quintero authored
      2004-01-30  Federico Mena Quintero  <federico@ximian.com>
      
      	Fixes #132975.
      
      	* gtk/gtkfilesystem.c (gtk_file_system_make_path): Return NULL,
      	not FALSE.
      	(gtk_file_system_volume_render_icon): Likewise.
      
      	* gtk/gtkfilesystemwin32.c (gtk_file_system_win32_make_path):
      	Likewise.
      
      	* gtk/gtktreestore.c (gtk_tree_store_iter_n_children): Return 0,
      	not FALSE.
      
      	* gtk/gtktoolbar.c (gtk_toolbar_get_drop_index): Return -1, not
      	FALSE.
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): Return 0,
      	not FALSE.
      	(gtk_text_iter_get_bytes_in_line): Likewise.
      
      	* gdk/x11/gdkcursor-x11.c (gdk_display_get_default_cursor_size):
      	Likewise.
      
      	* gdk/linux-fb/gdkcolor-fb.c (gdk_colors_alloc): Return FALSE, not
      	0.
      a9fbfc99
  2. 13 Mar, 2003 1 commit
    • Sven Neumann's avatar
      removed redundant calls to g_object_notify(). · 34276445
      Sven Neumann authored
      2003-03-13  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkcellrendererpixbuf.c (gtk_cell_renderer_pixbuf_set_property):
      	removed redundant calls to g_object_notify().
      	(gtk_cell_renderer_pixbuf_get_size): removed redundant casts, see
      	bug #108236.
      
      	* gtk/gtktextiter.c (_gtk_text_iter_get_segment_char)
      	(_gtk_text_iter_get_segment_byte): return 0, not NULL (these
      	functions return an integer value).
      34276445
  3. 08 Mar, 2003 1 commit
  4. 14 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Skip invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and · 740f871a
      Matthias Clasen authored
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Skip
      	invisible chars for GTK_MOVEMENT_LOGICAL_POSITIONS and
      	GTK_MOVEMENT_WORDS.
      
      	* gtk/gtktextiter.c,
      	gtk/gtktextiter.h: Add some variant movement functions which
      	skip invisible chars, and do some cleanups.
      
      	* gtk/gtk-sections.txt: Add new GtkTextIter functions.
      740f871a
  5. 04 Jan, 2003 1 commit
    • Matthias Clasen's avatar
      Make C-Down step through the sequence of paragraph ends (old behaviour · 315edfcc
      Matthias Clasen authored
      2003-01-05  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Make
      	C-Down step through the sequence of paragraph ends (old behaviour
      	included paragraph starts).  (#80340, patch by Narayana Pattipati)
      
      	* gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_first_toggle):
       	Check for a tag toggle at the start iterator before calling
       	gtk_text_iter_forward_to_tag_toggle().  (#102090, patch by Daniel
      	Elstner)
      315edfcc
  6. 23 Dec, 2002 1 commit
    • Matthias Clasen's avatar
      Don't call gtk_text_iter_backward_sentence_start() if count is zero. · 98c47bc8
      Matthias Clasen authored
      2002-12-23  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_starts):
      	Don't call gtk_text_iter_backward_sentence_start() if
      	count is zero.  (#99115)
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor_internal): Call
      	move_cursor() even if the cursor hasn't moved, since it has the
      	side effect of canceling the selection.  (#81395, #98537, #9833)
      98c47bc8
  7. 08 Nov, 2002 1 commit
    • Matthias Clasen's avatar
      Put into #ifdef DO_BLINK to avoid an unused static function. (#97965) · 2d1ce5a4
      Matthias Clasen authored
      	* tests/testtext.c (blink_timeout): Put into #ifdef DO_BLINK to
      	avoid an unused static function.  (#97965)
      
      	* gtk/gtktextiter.c (backward_line_leaving_caches_unmodified):
      	* gtk/gtkstyle.c (radio_aa_bits):
      	(draw_spin_entry_shadow): #if-0-out unused static functions and
      	variables.  (#97965)
      
      	* gtk/gtktextview.c (text_window_get_allocation):
      	* gtk/gtkcolorsel.c (gtk_color_selection_get_palette_size):
      	(gtk_color_selection_get_palette_color):
      	(gtk_color_selection_unset_palette_color): Remove unused static
      	functions.  (#97965)
      
      	* gtk/gtkcolorsel.c
      	(gtk_color_selection_set_change_palette_with_screen_hook): Fix doc
      	comment.
      2d1ce5a4
  8. 10 Aug, 2002 1 commit
    • Soren Sandmann's avatar
      Minor documentation fixes · 77eee887
      Soren Sandmann authored
      2002-08-10  Soren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gtk/tree_widget.sgml,
      	docs/reference/gtk/tmpl/gtkdialog.sgml,
      	docs/reference/gtk/tmpl/gtkentry.sgml,
      	docs/reference/gtk/tmpl/gtkfilesel.sgml,
      	docs/reference/gtk/tmpl/gtkfontsel.sgml,
      	docs/reference/gtk/tmpl/gtkfontseldlg.sgml,
      	docs/reference/gtk/tmpl/gtktreemodel.sgml,
      	docs/reference/gtk/tmpl/gtkwidget.sgml, gdk/x11/gdkdisplay-x11.c,
      	gtk/gtkbbox.c, gtk/gtkbox.c, gtk/gtkbutton.c, gtk/gtkcellrenderer.c,
      	gtk/gtkcellrendererpixbuf.c, gtk/gtkcellrenderertext.c,
      	gtk/gtkcheckmenuitem.c, gtk/gtkcontainer.c, gtk/gtkcurve.c,
      	gtk/gtkdialog.h, gtk/gtkentry.c, gtk/gtkfilesel.c, gtk/gtkfontsel.c,
      	gtk/gtkframe.c, gtk/gtkhandlebox.c, gtk/gtkiconfactory.c,
      	gtk/gtkimage.c, gtk/gtkinvisible.c, gtk/gtkitemfactory.c,
      	gtk/gtklabel.c, gtk/gtklayout.c, gtk/gtkmenu.c, gtk/gtkprogress.c,
      	gtk/gtkprogressbar.c, gtk/gtkscrolledwindow.c, gtk/gtksizegroup.c,
      	gtk/gtktable.c, gtk/gtktextiter.c, gtk/gtktexttag.c,
      	gtk/gtktexttag.h, gtk/gtktextview.c, gtk/gtktogglebutton.c,
      	gtk/gtktoolbar.c, gtk/gtktreemodel.c, gtk/gtktreeselection.c,
      	gtk/gtktreestore.c, gtk/gtktreeview.c, gtk/gtktreeviewcolumn.c,
      	gtk/gtkviewport.c, gtk/gtkwidget.c, gtk/gtkwidget.h,
      	gtk/gtkwindow.c:
      
      	Minor documentation fixes
      
      	(#89254, patch from Brett Nash;
      	 #85809, patch from daten@dnetc.org;
      	 #76391, patch from Ross Burton;
      	 #74559, Manuel Clos;
      	 #73569, #72005, Alexey A. Malyshev;
      	 #70061, patch from Dennis Bj"orklund;
      	 #64566, #63388, #58328, #57499, #81007, #77349, Vitaly Tishkov;
      	 #78932, Vitaly Tishkov, patch from Ross Burton;
      	 #73306)
      77eee887
  9. 13 Jun, 2002 1 commit
    • Owen Taylor's avatar
      Fix type names for GtkIconSet, GtkIconSource, GtkSelectionData, GtkBorder, · 2ea857cb
      Owen Taylor authored
      Thu Jun 13 19:41:56 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkiconfactory.c gtk/gtkselection.c gtk/gtkstyle.c
              gtk/gtktextiter.c gtk/gtktexttag.c gtk/gtktreemodel.c
              gtk/gtkwidget.c: Fix type names for GtkIconSet,
              GtkIconSource, GtkSelectionData, GtkBorder, GtkTextIter,
              GtkTextAttributes, GtkTreePath, GtkTreeIter,
              GtkRequisition, which were all registered as GtkType*.
              (#84634, James Henstridge; patch from Jonathan Blandford.)
      2ea857cb
  10. 20 Apr, 2002 1 commit
  11. 02 Mar, 2002 1 commit
    • Owen Taylor's avatar
      Switch style of stamp file usage. · f832e348
      Owen Taylor authored
      Sat Mar  2 13:26:58 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/Makefile.am: Switch style of stamp file usage.
      
              * gtk/Makefile.am gtk/typeutils.[ch]: Switch all the exported
              enumeration/fags TYPE variables over to macros for get_type() functions,
              for lazy definition and to get rid of expensive relocations.
      
              * gtk/gtkiconfactory.[ch] gtk/gtkselection.[ch] gtk/gtkstyle.[ch]
              gtk/gtktextiter.[ch] gtk/gtktexttag.[ch] gtk/gtktreemodel.[ch]
              gtk/gtktypeutils.[ch] gtk/gtkwidget.[ch]: Switch boxed type
              definitions over manually coded get_type() functions.
      
              * gtk/gtk.def: Updates for above
      
              * gtk/{genmarshal.pl,makeenums.awk,makeenums.h,maketypes.awk}:
              Remove from CVS, no longer used.
      
              * configure.in: Remove checks for awk.
      f832e348
  12. 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
  13. 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
  14. 31 Dec, 2001 1 commit
  15. 20 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      More precise documentation about underscores and mnemonics. (#66380) · 3aabcd28
      Matthias Clasen authored
              * gtk/gtklabel.c (gtk_label_new_with_mnemonic),
              gtk/gtkbutton.c (gtk_button_new_with_mnemonic): More precise
              documentation about underscores and mnemonics. (#66380)
      
              * gtk/gtktextiter.c (gtk_text_iter_backward_word_starts): Fix
              cyclic reference in docs.
      
              * gtk/gtklabel.c (gtk_label_set_justify): Correct documentation
              of default value. (#65402)
      
              * gtk/gtkmain.c (gtk_set_locale, gtk_disable_set_locale):
              Markup fixes.
      
              * gdk-pixbuf-io.c, gdk-pixbuf-animation.c, gdk-pixbuf-data.c,
              gdk-pixbuf-loader.c, gdk-pixbuf-scale.c, gdk-pixbuf-util.c,
              gdk-pixdata.c: Markup fixes.
      
              * gtk/text_widget.sgml: More precise wording. (#63388)
      
              * gtk/tmpl/gtksignal.sgml (GTK_SIGNAL_OFFSET): Add docs.
      
              * gtk/resources.sgml: Fix markup of mail URLs.
      
              * gtk/tmpl/gtkpaned.sgml, gtk/tmpl/gtkobject.sgml: Markup fixes.
      
              * gtk/tmpl/gtktoolbar.sgml (gtk_toolbar_{prepend,append}_element):
              Expand documentation. (#60471)
      
              * gtk/tmpl/gtkmain.sgml: Remove misleading information about
              gtk_set_locale().  (#65758)
      3aabcd28
  16. 15 Dec, 2001 1 commit
    • Darin Adler's avatar
      Fix some warnings. · 20a870a6
      Darin Adler authored
      	* gdk/x11/gdkproperty-x11.c: (gdk_property_get): Fix wrong type in
      	g_new -- bug if sizeof (GtkAtom) != sizeof (GtkAtom *).
      	* gdk/x11/gdkwindow-x11.c: (create_moveresize_window): FALSE -> NULL
      	* gtk/gtkaccellabel.c: (gtk_accel_label_refetch): Remove unused local.
      	* gtk/gtklistitem.c: (gtk_list_item_expose): Remove unused local.
      	* gtk/gtktextiter.c: (_gtk_text_iter_backward_indexable_segment):
      	Restructure loop to get rid of uninitialized variable warning. Also
      	gives a tiny efficiency gain.
      20a870a6
  17. 29 Nov, 2001 1 commit
  18. 14 Nov, 2001 2 commits
    • Havoc Pennington's avatar
      fix Control-E so it doesn't move to a new line each time you press it · a433d5c5
      Havoc Pennington authored
      2001-11-14  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c (gtk_text_view_move_cursor): fix Control-E so
      	it doesn't move to a new line each time you press it
      
      	* gtk/gtktextiter.c (gtk_text_iter_forward_to_line_end): fix
      	return value, #62987
      a433d5c5
    • Havoc Pennington's avatar
      bulk of the tests were commented out, oops. · 419f3e9b
      Havoc Pennington authored
      2001-11-14  Havoc Pennington  <hp@redhat.com>
      
      	* tests/testtextbuffer.c (main): bulk of the tests were commented
      	out, oops.
      
      	* gtk/gtktextiter.c (find_paragraph_delimiter_for_line): make this
      	function work, should resolve #63426
      	(gtk_text_iter_ends_line): return TRUE for the end iterator
      
      	* gtk/gtktextiter.h: put padding back in GtkTextIter, I thought of
      	a couple things that might get cached in here.
      419f3e9b
  19. 10 Nov, 2001 1 commit
    • Matthias Clasen's avatar
      Mass fixing of trivial doc bugs. (#63544, #57007, #64141, #63472, #57108, · 79e4b185
      Matthias Clasen authored
              * gtk/gtkiconfactory.c, gtk/gtktextbuffer.c, gtk/gtktreemodel.c,
              gtk/gtkwindow.c, gtk/gtknotebook.c, gtk/gtkradiobutton.c,
              gtk/gtktextiter.c, gtk/gtkdialog.c: Mass fixing of trivial doc bugs.
              (#63544, #57007, #64141, #63472, #57108, #60818, #61562)
      
              * gtk/tmpl/gtkaccellabel.sgml, gtk/tmpl/gtkcombo.sgml,
              gtk/tmpl/gtkentry.sgml, gtk/tmpl/gtkhscrollbar.sgml,
              gtk/tmpl/gtkvscrollbar.sgml, gtk/tmpl/gtktoolbar.sgml,
              gtk/tmpl/gtkdialog.sgml, gtk/tmpl/gtkstatusbar.sgml:
              Mass fixing of trivial doc bugs. (#55579, #56760, #58769, #55918,
              #64154, #60422, #54697)
      79e4b185
  20. 27 Oct, 2001 1 commit
    • Anders Carlsson's avatar
      Fix docs to say previous instead of next. · 110970bf
      Anders Carlsson authored
      2001-10-27  Anders Carlsson  <andersca@gnu.org>
      
      	* gtk/gtktextiter.c (gtk_text_iter_backward_sentence_start):
      	Fix docs to say previous instead of next.
      	(gtk_text_iter_backward_word_start): Likewise.
      	This fixes bug #62980.
      110970bf
  21. 24 Oct, 2001 1 commit
    • Havoc Pennington's avatar
      if we move to the front of a segment, use the "slow" technique for moving · da4a3112
      Havoc Pennington authored
      2001-10-24  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_backward_chars): if we move to
      	the front of a segment, use the "slow" technique for moving
      	backward, so we don't mess up the any_segment field in the iter.
      	Fixes #57707
      
      	* tests/testtextbuffer.c: add code to detect #57707, to avoid
      	regression
      da4a3112
  22. 23 Oct, 2001 2 commits
    • Havoc Pennington's avatar
      handle case where offset == 0 and char_len == 0, bug #61729 · 10f47690
      Havoc Pennington authored
      2001-10-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (test_log_attrs): handle case where offset ==
      	0 and char_len == 0, bug #61729
      10f47690
    • Havoc Pennington's avatar
      fix return value, #61714 (Vitaly Tishkov) · 85cdc1ce
      Havoc Pennington authored
      2001-10-23  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_forward_cursor_positions): fix
      	return value, #61714 (Vitaly Tishkov)
      	(gtk_text_iter_backward_sentence_starts): ditto
      	(gtk_text_iter_backward_word_starts): ditto
      	(gtk_text_iter_forward_word_ends): ditto
      	(gtk_text_iter_forward_sentence_ends): ditto
      	(gtk_text_iter_backward_cursor_positions): ditto
      85cdc1ce
  23. 22 Oct, 2001 4 commits
    • Havoc Pennington's avatar
      don't back up a char from the end iterator, fixes #61859 ("can't put · 0d5635b3
      Havoc Pennington authored
      2001-10-22  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_place_cursor): don't back
      	up a char from the end iterator, fixes #61859 ("can't put cursor
      	at the end of the buffer")
      
      	* gtk/gtktextiter.c (gtk_text_iter_forward_to_line_end): fix this
      	to work with delimiters other than newline.
      
      	* tests/testtextbuffer.c: add some tests for get_chars_in_line,
      	get_bytes_in_line
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_chars_in_line): fix for the
      	last line, since the newline is no longer counted.
      	(gtk_text_iter_get_bytes_in_line): ditto
      0d5635b3
    • 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
    • Havoc Pennington's avatar
      Clarify behavior in docs, #61777 (gtk_text_iter_forward_search) · 72e6566b
      Havoc Pennington authored
      2001-10-22  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_line): Clarify behavior in
      	docs, #61777
      	(gtk_text_iter_forward_search) (gtk_text_iter_backward_search):
      	change the two boolean args to a flags field, so we can extend
      	to add case insensitive, regexp searches later. #61852
      72e6566b
  24. 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
  25. 03 Oct, 2001 1 commit
    • Havoc Pennington's avatar
      allow testing the end position · 77dc57e9
      Havoc Pennington authored
      2001-10-03  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextiter.c (test_log_attrs): allow testing the end
      	position
      
      	* gtk/gtktextbuffer.c (compute_log_attrs): update for pango
      	changes
      
      	* tests/testtextbuffer.c (logical_motion_tests): updates
      77dc57e9
  26. 25 Sep, 2001 2 commits
    • Havoc Pennington's avatar
      fix for #50317 · be6ae47a
      Havoc Pennington authored
      2001-09-25  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextview.c: fix for #50317
      be6ae47a
    • 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
  27. 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
  28. 21 Sep, 2001 1 commit
    • 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
  29. 08 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      default xscale/yscale to 0.0, not 0.5, 0.5 isn't useful · 9ddcb3e0
      Havoc Pennington authored
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtkalignment.c (gtk_alignment_class_init): default
      	xscale/yscale to 0.0, not 0.5, 0.5 isn't useful
      
      	* tests/testtextbuffer.c: fix usage of gtk_text_iter_spew
      
      	* gtk/gtktextiter.c: fix docs
      	(gtk_text_iter_spew): get rid of this
      
      	* gtk/gtklayout.c: docs
      
      	* gtk/gtkbutton.c (gtk_button_construct_child): add an alignment
      	to center image and label together, instead of having image on
      	left and label centered, patch/suggestion from Jacob
      
      	* gtk/gtkdialog.c: docs
      
      2001-09-08  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/tmpl/gtklayout.sgml: docs
      
      	* gdk-pixbuf/gdk-pixbuf.sgml: remove the section on compiling
      	gdk-pixbuf since it isn't a standalone package anymore
      
      	* gtk/building.sgml: section on compiling GTK itself
      9ddcb3e0
  30. 07 Sep, 2001 1 commit
  31. 14 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Add missing gdk_rectangle_get_type() prototype. · 22491fd6
      Owen Taylor authored
      Mon Jun 11 18:15:16 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/gdk.h: Add missing gdk_rectangle_get_type() prototype.
      
      	* gtk/gtk[hv]scale.c: Include math.h, stdlib.h
      
      	* gdk/gdkpango.h gtk/gtkclist.c gtk/gtkentry.c gtk/gtkmain.[ch]
      	  gtk/gtkspinbutton.c gtk/gtkstyle.c gtk/gtktextbuffer.c
      	  gtk/gtktextdisplay.c gtk/gtktextiter.[ch]
      	  gtk/gtktextlayout.c gtk/gtktexttag.[ch] gtk/gtkwidget.c: Adapt
      	  to recent changes in Pango.
      
      	* tests/testgtk.c: Set language tags with gtk_label_set_markup()
      	  to test whether the basic engine honors them.
      22491fd6
  32. 08 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      added this function · 7009511a
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_get_start_iter): added this
      	function
      
      	* gtk/gtktextview.c (gtk_text_view_get_default_attributes): added
      	this function
      7009511a
  33. 05 Jun, 2001 1 commit
  34. 22 May, 2001 1 commit
    • Joe Shaw's avatar
      Simplify as suggested by Havoc. Just get the last iter and work backward · f508a7b7
      Joe Shaw authored
      2001-05-22  Joe Shaw  <joe@ximian.com>
      
      	* gtk/gtktextiter.c (_gtk_text_btree_get_iter_at_last_toggle):
      	Simplify as suggested by Havoc. Just get the last iter and work
      	backward to the tag instead of getting a line and working back from
      	there. Fixes passing in an invalid offset to
      	iter_init_from_byte_offset().
      f508a7b7