1. 26 Aug, 2003 1 commit
    • Owen Taylor's avatar
      Since we add one to the layout's reported width to account for the cursor, · 2be259b2
      Owen Taylor authored
      Mon Aug 25 19:55:55 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextview.c (gtk_text_view_update_layout_width):
              Since we add one to the layout's reported width to
              account for the cursor, we need to subtract one when
              setting the wrap width for the layout. (Fixes infinite
              loop (#120325, Federico Crozat)
      
              * gtk/gtktextlayout.c (gtk_text_layout_get_line_display):
              Be a bit more careful about rounding when converting
              wrapped width from Pango units to pixels.
      2be259b2
  2. 05 Jun, 2003 3 commits
    • Owen Taylor's avatar
      If at the end of the buffer, move to the end iter - parallels behavior of · 9cb6de1f
      Owen Taylor authored
      Thu Jun  5 15:33:38 2003  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_next_line):
              If at the end of the buffer, move to the end iter -
              parallels behavior of move_iter_to_previous_line.
              (#81960, Padraig O'Briain)
      9cb6de1f
    • Owen Taylor's avatar
      #80023, Yao Zhang, TOKUNAGA Hiroyuki · 6bbdea92
      Owen Taylor authored
      Thu Jun  5 16:12:54 2003  Owen Taylor  <otaylor@redhat.com>
      
              #80023, Yao Zhang, TOKUNAGA Hiroyuki
      
              * gtk/gtktextlayout.c (gtk_text_layout_get_cursor_locations):
              Account for the preedit cursor offset if the iter passed
              in is at the same place as the insertion cursor.
      
              * gtk/gtktextview.c (gtk_text_view_get_cursor_location):
              Encapsulate getting the insertion cursor location.
      
              * gtk/gtktextview.c (gtk_text_view_update_im_spot_location):
              Pass the real y/height to the IM context. Take
              text_view->x/yoffset into account.
      6bbdea92
    • Owen Taylor's avatar
      #107883, Gustavo Giráldez · de425c5d
      Owen Taylor authored
      Thu Jun  5 17:20:40 2003  Owen Taylor  <otaylor@redhat.com>
      
               #107883, Gustavo Giráldez
      
              * gtk/gtktextlayout.c (gtk_text_layout_emit_changed):
              Split out the case where we know we changed, and
              already dealt with our cached line being invalidated
              from external calls to gtk_text_layout_changed.
      
              * gtk/gtktextlayout.c (gtk_text_layout_changed):
              Check if the invalidate yrange intersects our
              cached line, and clear it if necessary.
      de425c5d
  3. 07 Apr, 2003 1 commit
  4. 21 Jan, 2003 1 commit
  5. 16 Jan, 2003 1 commit
  6. 22 Dec, 2002 1 commit
  7. 08 Nov, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gdk/tmpl/dnd.sgml docs/reference/gdk/tmpl/drawing.sgml · b1165617
      Soeren Sandmann authored
      Fri Nov  8 20:14:52 2002  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* docs/reference/gdk/tmpl/dnd.sgml
      	docs/reference/gdk/tmpl/drawing.sgml
      	docs/reference/gdk/tmpl/gdk-unused.sgml
      	docs/reference/gdk/tmpl/gdkdisplay.sgml
      	docs/reference/gdk/tmpl/general.sgml
      	docs/reference/gdk/tmpl/input_devices.sgml
      	docs/reference/gdk/tmpl/selections.sgml
      	docs/reference/gtk/tmpl/gtkcellrenderer.sgml
      	docs/reference/gtk/tmpl/gtkcurve.sgml
      	docs/reference/gtk/tmpl/gtkdnd.sgml
      	docs/reference/gtk/tmpl/gtkitemfactory.sgml
      	docs/reference/gtk/tmpl/gtkmenu.sgml
      	docs/reference/gtk/tmpl/gtkoldeditable.sgml
      	docs/reference/gtk/tmpl/gtkoptionmenu.sgml
      	docs/reference/gtk/tmpl/gtkpreview.sgml
      	docs/reference/gtk/tmpl/gtkselection.sgml
      	docs/reference/gtk/tmpl/gtksocket.sgml
      	docs/reference/gtk/tmpl/gtkstyle.sgml
      	docs/reference/gtk/tmpl/gtktextbuffer.sgml
      	docs/reference/gtk/tmpl/gtktreemodel.sgml
      	docs/reference/gtk/tmpl/gtkwidget.sgml gdk/gdk.h gdk/gdkdisplay.c
      	gdk/gdkdisplay.h gdk/gdkdnd.h gdk/gdkdraw.c gdk/gdkdrawable.h
      	gdk/gdkinput.h gdk/gdkselection.h gdk/x11/gdkdisplay-x11.c
      	gdk/x11/gdkdnd-x11.c gdk/x11/gdkselection-x11.c gtk/gtkcurve.h
      	gtk/gtkdnd.h gtk/gtkitemfactory.c gtk/gtkitemfactory.h
      	gtk/gtkmenu.h gtk/gtkoldeditable.c gtk/gtkoldeditable.h
      	gtk/gtkoptionmenu.h gtk/gtkplug.c gtk/gtkplug.h gtk/gtkpreview.h
      	gtk/gtkrange.h gtk/gtkselection.c gtk/gtkselection.h
      	gtk/gtksocket.c gtk/gtksocket.h gtk/gtkstyle.c gtk/gtkstyle.h
      	gtk/gtktextlayout.c gtk/gtktextlayout.h gtk/gtktreemodel.c
      	gtk/gtktreemodel.h gtk/gtkwidget.h
      
      	Trivial s/foo/foo_/ fixes to make gtk.h includable with -Wshadow
      	without warnings. (#91680)
      b1165617
  8. 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
  9. 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
  10. 30 Apr, 2002 1 commit
    • Havoc Pennington's avatar
      use gtk_text_layout_invalidate_cache instead of cut-and-paste · eccf6735
      Havoc Pennington authored
      2002-04-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextlayout.c (gtk_text_layout_real_free_line_data): use
      	gtk_text_layout_invalidate_cache instead of cut-and-paste
      	(gtk_text_layout_real_invalidate): always invalidate cache, even
      	if the line has no stored line data. #78573
      
      	* gtk/gtktextview.c (gtk_text_view_get_iter_location): add call to
      	gtk_text_view_ensure_layout, #77388
      	(gtk_text_view_get_iter_at_location): ditto
      	(gtk_text_view_get_line_yrange): ditto
      	(gtk_text_view_get_line_at_y): ditto
      eccf6735
  11. 23 Mar, 2002 1 commit
  12. 03 Mar, 2002 1 commit
  13. 25 Feb, 2002 1 commit
    • Kristian Rietveld's avatar
      free iter before going to done · 4d06c9d0
      Kristian Rietveld authored
      Mon Feb 25 01:14:26 2002  Kristian Rietveld  <kris@gtk.org>
      
              * gtk/gtktextlayout.c (find_display_line_above): free iter before
              going to done
      
              * gtk/gtktreeview.c (validate_visible_area): free above_path,
              (set_destination_row): free path before returning,
              (gtk_tree_view_set_drag_dest_row): free current_dest
      4d06c9d0
  14. 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
  15. 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
  16. 17 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      new function (which I then decided not to use but I think it's needed to · 9e404f2a
      Havoc Pennington authored
      2002-01-17  Havoc Pennington  <hp@redhat.com>
      	* gtk/gtktextlayout.c (_gtk_text_layout_get_line_xrange): new
      	function (which I then decided not to use but I think it's needed
      	to fix #68963
      	* gtk/gtktextview.c: add page_horizontally action signal and
      	implement Ctrl+PgUp, Ctrl+PgDown based on patch from Padraig,
      	hackily modified to avoid adding GTK_MOVEMENT_ API. Part of
      	#53934
      	* gtk/gtkmarshalers.list: add NONE:INT,BOOL
      9e404f2a
  17. 12 Dec, 2001 1 commit
    • Matthias Clasen's avatar
      Typo fixes Typo fix. (#66746) · 43851fe0
      Matthias Clasen authored
              * gtk/gtktextlayout.c: Typo fixes
              * gtk/gtkwindow.c (gtk_window_set_position): Typo fix. (#66746)
      
              * gtk/gtkwidget.c (gtk_widget_send_expose, gtk_widget_get_toplevel,
              gtk_widget_get_default_direction): Doc fixes. (#66727, #66737, #66744)
      
              * gtk/gtkstyle.h (GTK_STYLE_NUM_STYLECOLORS): Remove. (#66467)
      
              * gtk/tmpl/gtklist.sgml: Markup fixes.
      
              * gdk/tmpl/selections.sgml, gtk/tmpl/gtksocket.sgml: s/succesful/successful/g.
      
              * gtk/gtk-sections.txt, gtk/tmpl/gtkstyle.sgml: Remove
              GTK_STYLE_NUM_STYLECOLORS. (#66467)
      43851fe0
  18. 17 Nov, 2001 1 commit
    • Owen Taylor's avatar
      Make gtkmarshal.list/gtkmarshal.h only for compatibility with GTK+-1.2; · a036c6e5
      Owen Taylor authored
      Sat Nov 17 18:26:45 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/Makefile.am gtk/gtkmarshal.list gtk/gtkmarshalers.list
      	gtk/*.c gtk/gtksignal.h: Make gtkmarshal.list/gtkmarshal.h
      	only for compatibility with GTK+-1.2; and deprecate it;
      	put all marshalers we actually use into gtkmarshalers.list
      	and use the _gtk_marshal_ prefix for these marshalers.
      a036c6e5
  19. 27 Oct, 2001 1 commit
    • Hans Breuer's avatar
      to simplify parsing for exported functions: - made implementation · e2e69403
      Hans Breuer authored
      2001-10-27  Hans Breuer  <hans@breuer.org>
      
      	* gtk/gtkbbox.c gtk/gtkctree.c gtk/gtkhbbox.c
      	  gtk/gtkimmulticontext.c gtk/gtklabel.c gtk/gtkliststore.c
      	  gtk/gtkmenu.c gtk/gtkpaned.c gtk/gtkrc.c gtk/gtkscale.c
      	  gtk/gtkstyle.c gtk/gtktextbuffer.c gtk/gtktextlayout.c
      	  gtk/gtktexttag.c gtk/gtktexttagtable.c gtk/gtktextview.c
      	  gtk/gtktreestore.c gtk/gtkvbbox.c :
      	to simplify parsing for exported functions:
      	- made implementation signature static, when the local
      	  prototype already was
      	- put the functions return value on it's own line
      	- added as space between the function name and the
      	  opening bracket
      
      	* gtk/gtk.def : added the remaining exported functions
      e2e69403
  20. 23 Oct, 2001 1 commit
  21. 22 Oct, 2001 1 commit
  22. 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
  23. 21 Sep, 2001 1 commit
  24. 18 Sep, 2001 1 commit
    • Owen Taylor's avatar
      Fix up for changes to PangoFontDescription. · a15d5c36
      Owen Taylor authored
      Wed Sep 12 11:21:14 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkcellrenderertext.[ch] gtk/gtktexttag.[ch]
      	  gtk/gtktextview.c tests/testgtk.c: Fix up for changes to
      	PangoFontDescription.
      
      	* gtk/gtkentry.c gtk/gtkclist.c gtk/gtkcellrenderertext.c
      	gtk/gtkspinbutton.c: Fix up for change to PangoMetrics
      	structure.
      
      	* gtk/gtkfontsel.c: Fix up for new Pango font listing API.
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font/set_font to replace
        	direct access to style->font. Deprecate gtk_style_ref/unref.
      
       	* gtk/gtkclist.c gtk/gtkctree.c gtk/gtkstyle.c gtk/gtkwidget.c:
        	Remove gtk_style_ref/unref with g_object_ref/unref.
      
        	* gtk/gtkcalendar.c: Remove leftover macros accessing
        	style->font.
      
        	* gtk/gtkhruler.c (gtk_hruler_draw_ticks): Remove unused
        	variable.
      
        	* gtk/gtktext.c gtk/gtklabel.c: Use gtk_style_get_font() instead of
      	style->font.
      a15d5c36
  25. 07 Sep, 2001 1 commit
    • 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
  26. 30 Aug, 2001 1 commit
    • Havoc Pennington's avatar
      handle NULL shaped object from the empty-child-anchor case by drawing a · 5137409a
      Havoc Pennington authored
      2001-08-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextdisplay.c (render_layout_line): handle NULL shaped
      	object from the empty-child-anchor case by drawing a little box.
      
      	* gtk/gtktextlayout.c (add_child_attrs): Still set shape attribute
      	if the child anchor has no anchored widgets - fixes #59328.
      
      	Also, remove bizarre deletion of preedit string that seems to have
      	gotten in here somehow.
      5137409a
  27. 18 Jul, 2001 1 commit
    • Owen Taylor's avatar
      Patch from Matthias Clasen to remove remove all instances of · 4e2b60ac
      Owen Taylor authored
      Wed Jul 18 19:28:46 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/*.c: Patch from Matthias Clasen to remove remove
      	all instances of g_return_if_fail (foo != NULL); that are
      	immediately before a g_return_if_fail (GTK_IS_FOO (foo));
      	since the second check catches the NULL anyways.
      4e2b60ac
  28. 29 Jun, 2001 1 commit
    • Havoc Pennington's avatar
      fixes to compile with G_DISABLE_COMPAT · 49c1e6dc
      Havoc Pennington authored
      2001-06-29  Havoc Pennington  <hp@redhat.com>
      
             * Throughout: fixes to compile with G_DISABLE_COMPAT
      	(s/g_signal_connectc/g_signal_connect/,
      	s/g_signal_newc/g_signal_new/,
      	s/g_signal_disconnect_by_func/g_signal_handlers_disconnect_by_func/)
      49c1e6dc
  29. 24 Jun, 2001 1 commit
    • Owen Taylor's avatar
      Fix stupid error introduced last night that was making things decidedly · cc223eef
      Owen Taylor authored
      Sun Jun 24 11:29:35 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gdk/x11/gdkimage-x11.c (gdk_image_new): Fix stupid error
      	introduced last night that was making things decidedly not work.
      
      	* gtk/*.[ch]: Patch from Kristian Rietveld adding 80 getters
      	so that we have getter/setter pairing everywhere it makes
      	sense. (#55767)
      
      	* gtk/gtkradiobutton.[ch] gtk/gtktoolbar.c tests/testgtk.:
      	Rename gtk_radio_button_group to gtk_radio_button_get_group, add a
      	deprecated compat macro. (#55516)
      
      	* gtk/gtklabel.[ch]: Add functions
      	gtk_label_set/get_use_underline(), gtk_label_set/get_use_markup(),
      	gtk_label_set_label(), which mirror the property API for GtkLabel.
      	Make gtk_label_get_attributes() only reflect the attributes
      	set by gtk_label_set_attributes.
      
      	* gtk/gtknotebook.c (gtk_notebook_set_current_page) gtk/gtkcompat.h: Rename
      	from gtk_notebook_set_page().
      cc223eef
  30. 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
  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. 21 May, 2001 1 commit
  33. 17 May, 2001 1 commit
    • Owen Taylor's avatar
      Make logical motion and deletion by graphemes, not by characters. · 69ef3403
      Owen Taylor authored
      Thu May 17 17:10:13 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkentry.c: Make logical motion and deletion by graphemes,
      	not by characters.
      
      	* gtk/gtkentry.c: Handle "trailing" returns from Pango when they
      	are not zero or one; that is, when graphemes of multiple characters
      	are involved.
      
      	* gtk/gtktextlayout.c (line_display_index_to_iter): Remove unnecessary
      	FIXME.
      69ef3403
  34. 07 May, 2001 1 commit
    • Havoc Pennington's avatar
      fix some shell typos · b4e4a0ed
      Havoc Pennington authored
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* configure.in: fix some shell typos
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_destroy): warning fix
      
      	* gtk/gtkimage.c: handle animations
      
      	* gtk/gtkcheckbutton.c (gtk_check_button_size_request): request
      	border_width * 2, not just border_width
      
      	* gtk/gtkscale.c: add "format_value" signal to allow people
      	to override the way values are drawn.
      	(gtk_scale_get_value_size): fix width/height mistake,
      	and compute size from actual displayed text, not
      	from made-up text.
      
      	* gtk/gtktexttag.c (gtk_text_tag_class_init): fix return type in
      	signal registration
      
      	* tests/testtext.c: Add "Remove all tags" menu item for testing
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): implement
      
      	* demos/gtk-demo/main.c (main): add hack so we can find modules
      	without installing gtk
      
      	* demos/gtk-demo/textview.c (insert_text): demo font scaling
      
      	* gtk/gtkcellrenderertext.c: Add "scale" property (font scaling
      	factor)
      	(gtk_cell_renderer_text_set_property): remove some bogus
      	g_object_notify
      
      	* gtk/gtktexttag.c: add "scale" property which is a font scaling
      	factor
      
      	* gtk/gtktextlayout.c (add_text_attrs): add font scale attribute
      	to layout
      
      	* gtk/gtktextiter.c (gtk_text_iter_is_start): rename from
      	gtk_text_iter_is_first
      
      2001-05-04  Havoc Pennington  <hp@redhat.com>
      
      	* pixops/pixops.c (pixops_process): merge fix from stable: Patch
      	 from hoshem@mel.comcen.com.au to fix nonzero X offsets.  Fixes
      	 bug #50371.
      
              * gdk-pixbuf/pixops/pixops.c (pixops_composite_nearest): merge
      	from stable: Patch from OKADA Mitsuru <m-okada@fjb.co.jp> to fix
      	confusion of using "src" instead of "p".
              (pixops_composite_color_nearest): Use a more accurate (and
      	correct, to begin with) compositing method.  This cures checks
      	showing through on images with no alpha.
      
      	* gdk-pixbuf.c (gdk_pixbuf_fill): fix bug that left some trailing
      	bytes unfilled.
      
      	* gdk-pixbuf-io.h: fix UpdatedNotifyFunc to use signed ints
      
      	* gdk-pixbuf-loader.h (struct _GdkPixbufLoaderClass): Change
      	area_updated signal to use signed ints.  Removed animation-related
      	signals.
      
      	* io-gif.c, io-gif-animation.h, io-gif-animation.c: Massive
      	rewrite action
      
      	* gdk-pixbuf-animation.c: Add GdkPixbufAnimationIter to abstract
      	all the pesky details. Remove old frame-based API. Make
      	GdkPixbufAnimation an abstract base class, derived by the loaders.
      b4e4a0ed
  35. 28 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      voc Pennington <hp@redhat.com> · 7ad36413
      Havoc Pennington authored
      	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_previous_line):
      	(gtk_text_layout_move_iter_to_next_line): fix these two for
      	invisible text, lots of other stuff still hosed.
      
      	* gtk/gtkcolorsel.c (gtk_color_selection_set_change_palette_hook):
      	new function, replaces the get/set palette stuff. This function
      	is intended for use by libgnomeui which should set the hook to a
      	thing which sets the palette in GConf, and we need the
      	GConf-to-xsettings proxy which will result in the change being
      	propagated back to the GTK app.
      
      	* gtk/gtkaccelgroup.c (gtk_accel_group_add): add note to warning
      	about unusable signals that it may be because the signal has
      	parameters.
      
      	* gtk/gtkwidget.c (gtk_widget_modify_style): always copy the
      	style, otherwise gtkrc.c won't know to create a new GtkStyle for
      	it.
      	(gtk_widget_modify_color_component): call
      	gtk_widget_modify_style() so the rc style will get copied.
      	(gtk_widget_modify_font): ditto
      
      	* gtk/gtkrc.c: make a couple variables static
      
      	* gtk/gtkcolorseldialog.c (gtk_color_selection_dialog_init): hide
      	help button by default, since it does nothing
      
      	* gtk/gtkcolorsel.c: add tooltips, work on key navigation, fool
      	around with UI
      
      	* gtk/gtkentry.c (gtk_entry_realize): request enter/leave notify
      	so we can have tooltips
      
      	* gtk/gtkhsv.c (gtk_hsv_realize): request enter/leave notify so we
      	can have tooltips
      
      	* gdk/gdkimage.h: mark gdk_image_new_bitmap with
      	GDK_ENABLE_BROKEN, because its memory behavior is completely
      	hosed.
      
      	* gtk/gtknotebook.c: remove key press handler, replace with
      	binding set, add numeric keypad support
      
      	* gtk/gtktextview.c (gtk_text_view_class_init): accept KP_Delete
      
      	* gtk/gtktext.c (gtk_text_key_press): add a bunch of KP keysyms
      
      	* gtk/gtkentry.c (gtk_entry_class_init): accept GDK_KP_Delete in
      	addition to plain Delete
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): accept
      	GDK_KP_Enter in addition to GDK_Return
      
      	* gtk/gtkfontsel.c (gtk_font_selection_size_key_press): connect to
      	activate on entry instead of key press
      	(gtk_font_selection_on_clist_key_press): get
      	rid of this signal handler, not needed with new font sel.
      
      	* gtk/gtkfilesel.c (gtk_file_selection_key_press): remove a
      	no-longer-needed emit_stop_by_name(), just return TRUE
      
      	* gtk/gtkhscrollbar.c, gtk/gtkvscrollbar.c: remove keybindings
      	cruft, this widget is no longer focusable.
      
      	* gtk/gtkrange.h, gtk/gtkrange.c, gtk/gtkvscale.c,
      	gtk/gtkhscale.c: Get rid of trough_keys virtual function, add
      	move_slider action signal, add binding set for vscale/hscale, in
      	the process support numeric keypad
      
      	* gtk/gtkentry.c (gtk_entry_class_init): Add keypad bindings;
      	make GDK_Return and GDK_KP_Enter activate the entry via
      	binding set, instead of hardcoded.
      7ad36413
  36. 24 Apr, 2001 1 commit
    • Havoc Pennington's avatar
      handle 0-height empty/invisible lines. · b84d2f12
      Havoc Pennington authored
      2001-04-21  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextdisplay.c (gtk_text_layout_draw): handle 0-height
      	empty/invisible lines.
      
      	* gtk/gtktextiter.c (gtk_text_iter_set_visible_line_offset)
      	(gtk_text_iter_set_visible_line_index): new functions to set
      	indexes excluding invisible text
      
      	* gtk/gtktextlayout.c (line_display_iter_to_index): get visible
      	index
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_visible_line_index)
      	(gtk_text_iter_get_visible_line_offset): new functions to
      	get indexes excluding invisible text
      
      	* gtk/gtkmessagedialog.c (gtk_message_dialog_init): strip out a
      	bunch of extra padding that served no purpose
      
      	* gtk/gtkdialog.c: Make all the spacings configurable via style
      	properties, for chubbiness configuration in themes
      
      	* tests/testtext.c: fix path to the immodules.
      b84d2f12
  37. 08 Mar, 2001 1 commit
    • Tim Janik's avatar
      added accumulator data argument to g_signal_newc() functions. · 06718ecf
      Tim Janik authored
      Thu Mar  8 16:51:21 2001  Tim Janik  <timj@gtk.org>
      
              * *.c: added accumulator data argument to g_signal_newc()
              functions.
      
              * gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_model):
              * gtk/gtktreeview.c (gtk_tree_view_setup_model):
              * gtk/treestoretest.c (make_window):
              s/g_signal_connect/g_signal_connectc/.
      
              * gtk/gtktextbuffer.c: completed signal arg fixups,
              they also needed G_SIGNAL_TYPE_STATIC_SCOPE flag.
      06718ecf
  38. 07 Mar, 2001 1 commit
    • Tim Janik's avatar
      marshaller fixes. · 35af5c4e
      Tim Janik authored
      Wed Mar  7 13:24:57 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/*.c: marshaller fixes.
      
              * gtk/gtkmarshal.list: extreme cleanup.
      
              * gtk/gtktreeview.c (gtk_tree_view_class_init): disable interface
              param spec for now.
      
              * gtk/gtktexttag.c (gtk_text_tag_set_property): use g_value_get_boxed()
              where appliable.
      
              * gtk/gtktypeutils.[hc]: updates to GLib API changes.
              special cased autogenerated boxed types from gtktypebuiltins_ids.c
              which are not reference counted:
              GtkSelectionData, GdkEvent, GdkColor, GtkTextIter, PangoTabArray,
              PangoFontDescription, GtkTreeIter and GtkTreePath.
      
      Thu Mar  1 03:58:56 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktreeselection.h:
              * gtk/gtktreemodel.c:
              * gtk/gtktreedatalist.[hc]: fixed includes. no gobject/*
              file should be included directly, and gobject/gmarshal.h
              as well as gtk/gtkmarshal.h even can't be included directly.
      
              * Makefile.am: grr, install gtk-config-2.0.
      
              * gtk/testgtk.c:
              * gtk/simple.c:
              * gtk/gtkmenu.c:
              * gtk/gtkitemfactory.c: use g_object_connect() instead of
              passing "*signal*::*" args to gtk_widget_set().
      
              * gtk/gtktypeutils.[hc]: got rid of GTK_TYPE_SIGNAL.
      
              * gtk/*.c: removed trailer arg from property setters and getters.
              macro fixups.
      
      Thu Mar  1 04:01:57 2001  Tim Janik  <timj@gtk.org>
      
              * test-gdk-pixbuf.c: fixed includes.
      35af5c4e