1. 12 Apr, 2003 1 commit
    • Matthias Clasen's avatar
      Document. · 913e6e9e
      Matthias Clasen authored
      2003-04-13  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktreeviewcolumn.c
      	(gtk_tree_view_column_cell_get_position): Document.
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_select_range):
      	* gtk/gtktreeviewcolumn.c (gtk_tree_view_column_[sg]et_expand):
      	* gtk/gtkbutton.c (gtk_button_[sg]et_focus_on_click): Document
      	these as 2.4 additions.
      913e6e9e
  2. 28 Feb, 2003 1 commit
    • Manish Singh's avatar
      demos/gtk-demo/main.c demos/gtk-demo/tree_store.c gdk/x11/gdkscreen-x11.c · dd74be94
      Manish Singh authored
      Thu Feb 27 17:44:24 2003  Manish Singh  <yosh@gimp.org>
      
              * demos/gtk-demo/main.c
              * demos/gtk-demo/tree_store.c
              * gdk/x11/gdkscreen-x11.c
              * gtk/gtkcellrenderertoggle.c
              * gtk/gtkcolorsel.c
              * gtk/gtkdnd.c
              * gtk/gtkeditable.c
              * gtk/gtkentry.c
              * gtk/gtkmenu.c
              * gtk/gtkmenubar.c
              * gtk/gtkmenuitem.c
              * gtk/gtkmenushell.c
              * gtk/gtkrc.c
              * gtk/gtksettings.c
              * gtk/gtkstyle.c
              * gtk/gtktextbuffer.c
              * gtk/gtktextview.c
              * gtk/gtktreeviewcolumn.c
              * tests/testgtk.c
              * tests/testtext.c
              * tests/testtreeedit.c
              * tests/testtreefocus.c
              * tests/testtreeview.c: remove unnecessary G_OBJECT() casts.
      dd74be94
  3. 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
  4. 24 Dec, 2002 1 commit
  5. 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
  6. 30 Sep, 2002 1 commit
  7. 01 Sep, 2002 1 commit
    • Soeren Sandmann's avatar
      docs/reference/gtk/tmpl/gtkdialog.sgml · 1f4e829f
      Soeren Sandmann authored
      2002-09-01  Soeren Sandmann  <ssp@localhost.localdomain>
      
      	* docs/reference/gtk/tmpl/gtkdialog.sgml
      	docs/reference/gtk/tmpl/gtkhbbox.sgml
      	docs/reference/gtk/tmpl/gtkvbbox.sgml
      	docs/reference/gtk/tmpl/gtktogglebutton.sgml
      	docs/reference/gtk/tmpl/gtktreeselection.sgml
      	gtk/gtktextbuffer.c
      	gtk/gtktogglebutton.c
      	gtk/gtktreesortable.c
      
      	Minor documentation fixes:
      
      	#79107, #82854, #76398, Vitaly Tishkov;
      	#88627, Brian Tarricone;
      	#81046, Owen Taylor
      1f4e829f
  8. 30 May, 2002 1 commit
  9. 29 Apr, 2002 1 commit
    • Alexander Larsson's avatar
      Integrate Erwann Chenede's multihead changes for the gtk/ directory. · 4632fb81
      Alexander Larsson authored
      Mon Apr 29 18:28:00 2002  Owen Taylor  <otaylor@redhat.com>
      
      	Integrate Erwann Chenede's multihead changes for the gtk/ directory.
      
      	* gtk/gtkclipboard.[ch]: Add gtk_clipboard_get_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtkcolorsel.[ch]: Add
      	gtk_color_selection_set_change_palette_with_screen_hook () [ugh!]
      	make up for non-multihead safety of
      	gtk_color_selection_set_change_palette_hook()
      
      	* gtk/gtkinvisible.[ch] gtk/gtkmenu.[ch] gtkwindow.[ch]: Add
      	gtk_{invisible,menu,window}_set_screen(); add "screen" properties
      	for GtkWindow and GtkMenu.
      
      	* gtk/gtkplug.[ch]: Add gtk_plug_construct_for_display(),
      	gtk_plug_new_for_display(). Multihead fixes.
      
      	* gtk/gtkselection.[ch]: Add gtk_selection_owner_set_for_display(),
      	make internals multihead aware.
      
      	* gtk/gtksettings.[ch]: Add gtk_settings_get_for_screen(), get
      	rid of now-useless gtk_settings_constructor().
      
      	* gtk/gtkstyle.[ch]: Add gtk_style_get_font_for_display(), fix
      	check/radio button indicators bitmap handling to be multihead
      	safe.
      
      	* gtk/gtkwidget.[ch]: Add gtk_widget_get_screen(), gtk_widget_has_screen(),
      	gtk_widget_get_display(), gtk_widget_get_clipboard(),
      	gtk_widget_get_root_window().
      
      	* gtk/gtkbindings.c gtk/gtkbutton.c gtk/gtkclist.c gtk/gtkcombo.c
      	gtk/gtkctree.c gtk/gtkdnd.c gtk/gtkfilesel.c gtk/gtkgamma.c
      	gtk/gtkhandlebox.c gtk/gtkhsv.c gtk/gtkimcontext.c gtk/gtklabel.c
      	gtk/gtklist.c gtk/gtkmain.c gtk/gtkmenuitem.c gtk/gtkmenushell.c
      	gtk/gtknotebook.c gtk/gtkoldeditable.c gtk/gtkoptionmenu.c
      	gtk/gtkpaned.c gtk/gtkpreview.c gtk/gtksocket.c gtk/gtktext.c
      	gtk/gtktextbuffer.c gtk/gtktextview.c gtk/gtktipsquery.c
      	gtk/gtktooltips.c gtk/gtktreeview.c gtk/gtktreeviewcolumn.c:
      	misc mechanical multihead-safety fixes.
      
      	* gtk/gtkclipboard.c: Use a GtkImage rather than a pixmap for
      	the dropper, look up the color palette only at realization time,
      	other multihead fixes.
      
      	* gtk/gtkcombo.c (gtk_combo_unrealize): Popdown the list when
      	unrealizing.
      
      	* gtk/gtkentry.c: Only claim ownership of the primary selection
      	when realized, misc multihead fixes.
      
      	* gtk/gtkfontsel.c: Only fill in fonts when attached to a screen,
      	fix gtk_font_selection_get_font() for multihead.
      
      	* gtk/gtkgc.c: make the depth => drawable hash per-screen.
      
      	* gtk/gtkinvisible.c: Add a constructor that realizes the
      	widget, so we get a realized widget with g_object_new() as
      	well gtk_invisible_new() as before.
      
      	* gtk/gtkmain.c: Get rid of unused gtk_visual/gtk_colormap
      	variables.
      
      	* gtk/gtktextdisplay.c: Add warnings if stipple bitmaps
      	are used on the wrong screen.
      
      	* gtk/gtktoolbar.c: Make handling of GtkSettings-based layout
      	read properties and connect to settings when the screen is changed,
      	rather than on init/finalize.
      
      	* gtk/gtkwindow.c: Fix icon handing to be multihead safe ...
      	default icon pixmaps/mask are only shared between windows on the
      	same screen. Misc multihead fixes.
      
      Sat Apr 27 13:49:53 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get_for_display):
      	Update docs to reference GDK_SELECTION_CLIPBOARD rather GDK_NONE.
      
      2002-04-29  Alex Larsson  <alexl@redhat.com>
      
      	* gdk/linux-fb/gdkproperty-fb.c (gdk_property_get):
      	Fix silly bug, noticed by Sven Neumann.
      
      Sun Apr 28 22:43:55 2002  Jonathan Blandford  <jrb@gnome.org>
      
      	* gtk/gtktreemodelsort.c (gtk_tree_model_sort_set_sort_func): Fix
      	so that you can set a new sort func.
      4632fb81
  10. 23 Mar, 2002 1 commit
    • Havoc Pennington's avatar
      add more explanatory text to the error message about missing charsets, and · 8d3df4d9
      Havoc Pennington authored
      2002-03-22  Havoc Pennington  <hp@pobox.com>
      
      	* gdk/x11/gdkfont-x11.c (gdk_fontset_load): add more explanatory
      	text to the error message about missing charsets, and use
      	g_printerr() not g_warning() since this is typically not a
      	programming error (we do not export any API to ask whether
      	a font set will have missing charsets so apps realistically can't
      	do anything other than try the gdk_fontset_load())
      
      	* gtk/gtktextview.c (gtk_text_view_key_press_event): return FALSE
      	if the text view isn't editable and the user presses Return,
      	so default buttons and such can be activated, #74937
      
      	* gtk/gtktextbuffer.c (paste_from_buffer): don't insert
      	if the insertion point is not editable and the paste
      	is interactive, #74125
      
      	* gtk/gtkwindow.c (gtk_window_move_resize): enhance the #if 0
      	debug spew
      
      	* gtk/gtktextbuffer.c (cut_or_copy): only remove the previous
      	cut/copied data right before replacing it, when we know we are
      	going to replace it. Fixes #74049
      8d3df4d9
  11. 25 Feb, 2002 1 commit
    • Havoc Pennington's avatar
      parent_class variable was GtkObjectClass instead of GObjectClass · 0ca2aa50
      Havoc Pennington authored
      2002-02-24  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/gtktextbuffer.c (parent_class): parent_class variable was
      	GtkObjectClass instead of GObjectClass
      
      	* gtk/gtktextview.c (widget_to_buffer): fix this the way
      	buffer_to_widget was fixed, to avoid duplicating
      	the code that computes text_window->allocation.x/y
      0ca2aa50
  12. 24 Feb, 2002 1 commit
  13. 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
  14. 08 Jan, 2002 1 commit
    • Owen Taylor's avatar
      Fix coordinate translations, once and for all. · cc605cf5
      Owen Taylor authored
      Tue Jan  8 15:53:28 2002  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkdnd.c (gtk_drag_find_widget): Fix coordinate
      	translations, once and for all.
      
      	* gtk/gtktextbuffer.c (paste_from_buffer): Free
      	the ClipboardRequest structure. (#66198, HideToshi
      	Tajima)
      cc605cf5
  15. 01 Jan, 2002 1 commit
    • Havoc Pennington's avatar
      move README.linux-fb in here · e7153de0
      Havoc Pennington authored
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* gtk/framebuffer.sgml: move README.linux-fb in here
      
      	* gtk/tmpl/gtkpreview.sgml: explain what to use instead
      
      	* gtk/tmpl/gtkseparator.sgml: typo fix
      
      	* gtk/tmpl/gtkstock.sgml: add some overview docs
      
      	* gtk/Makefile.am (content_files): add new files
      
      	* gtk/changes-1.2.sgml: move Changes-1.2.txt in here
      
      	* gtk/changes-2.0.sgml: move Changes-2.0.txt in here
      
      	* gdk/tmpl/threads.sgml: mention gdk_threads_init() in the
      	overview docs, copy in the examples from the FAQ
      
      	* gtk/gtk-docs.sgml: change DTD to 3.1, and add
      	question_index.sgml and changes-1.2, changes-2.0
      
      	* gtk/tmpl/gtkdrawingarea.sgml: fixups to reflect 2.0 changes
      
      	* gtk/question_index.sgml: new section with question-based
      	index of the manual
      
      	* gtk/text_widget.sgml: fix some cross-references
      
      2002-01-01  Havoc Pennington  <hp@pobox.com>
      
      	* docs/README.linux-fb: note that this file is obsolete
      
      	* docs/Changes-2.0.txt, docs/Changes-1.2.txt: Add notes to these
      	files that they should not be edited and look in the reference
      	manual instead. Probably these files should just be replaced by
      	the note, and their main contents deleted.
      
      	* gtk/gtktextview.c: docs
      
      	* gtk/gtktextmark.c: docs
      
      	* gtk/gtktextchild.c: docs
      
      	* gtk/gtktextbuffer.c: docs stuff
      
      	* gtk/gtkclipboard.c (gtk_clipboard_get): fool with docs to maybe
      	give people more leads in sorting out PRIMARY vs. CLIPBOARD
      e7153de0
  16. 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
  17. 23 Nov, 2001 1 commit
  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. 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. 31 Oct, 2001 1 commit
    • Owen Taylor's avatar
      Add a "menu" property and notify on it. (#62798, Padraig O'Briain) · 2145a4ef
      Owen Taylor authored
      Wed Oct 31 18:23:47 2001  Owen Taylor  <otaylor@redhat.com>
      
      	* gtk/gtkoptionmenu.c (gtk_option_menu_detacher):
      	Add a "menu" property and notify on it. (#62798,
      	Padraig O'Briain)
      
      	* gtk/gtkselection.[ch] gtk/{gtkentry.c, gtkfilesel.c,
      	gtkoldeditable.c, gtktextbuffer.c, gtktextview.c}:
      	Fix set_text to take a gchar, not a guchar, and to have
      	a len argument.
      2145a4ef
  21. 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
  22. 24 Oct, 2001 1 commit
  23. 22 Oct, 2001 2 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 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
  24. 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
  25. 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
  26. 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
  27. 21 Sep, 2001 1 commit
  28. 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
  29. 31 Aug, 2001 1 commit
    • Owen Taylor's avatar
      Instead of always mirroring the selection to a single PRIMARY selection, · b97a0a45
      Owen Taylor authored
      Wed Aug 29 20:40:58 2001  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtktextbuffer.[ch] (gtk_text_buffer_add/remove_selection_clipboard):
              Instead of always mirroring the selection to a single PRIMARY
              selection, allow it to be mirrored to any number of clipboards.
      
              * gtk/gtktextbuffer.[ch] (gtk_text_buffer_paste_primary): Remove,
              just use gtk_text_buffer_paste_clipboard with the appropriate clipboard.
      
              * gtk/gtktextbuffer.[ch] (gtk_text_buffer_cut/copy/paste_clipboard): Add a
              GtkClipboard argument, and for paste_clipboard, the
              @override_location argument from @paste_primary.
      
              * gtk/gtktextview.c: Adapt to above change.
      b97a0a45
  30. 24 Aug, 2001 1 commit
  31. 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
  32. 14 Jun, 2001 2 commits
    • 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
    • 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
  33. 08 Jun, 2001 2 commits
    • 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
    • Havoc Pennington's avatar
      geez, don't call g_list funcs on GSList · 74e7da21
      Havoc Pennington authored
      2001-06-08  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_remove_all_tags): geez,
      	don't call g_list funcs on GSList
      
      	* gtk/gtkwidget.c (gtk_widget_child_focus): replaces
      	gtk_container_focus(), since some widgets have focusable locations
      	which are not other widgets. These widgets should not have to be
      	containers just to manage the focus. For example, GtkHSV is
      	currently a container for no good reason. Also, this cleans
      	up the "if (is_container && is_sensitive && is_drawable)
      	container_focus ()" mess in widget implementations.
      
      	* gtk/gtkcontainer.c (gtk_container_focus): deprecate this
      	function, and have it just call gtk_widget_child_focus().
      
      	* gtk/gtkhsv.c: derive from widget not container
      
      	Throughout: fix to reflect GtkContainer::focus change
      74e7da21
  34. 05 Jun, 2001 1 commit
  35. 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
  36. 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
  37. 16 Mar, 2001 1 commit
    • Havoc Pennington's avatar
      add varargs for properties to set on the tag. · e7a21a2e
      Havoc Pennington authored
      2001-03-15  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_create_tag): add varargs
      	for properties to set on the tag.
      
      	* gtk/testtext.c: fixups to reflect create_tag change
      
      	* gtk/gtktexttag.c (gtk_text_tag_set_property):
      	background/foreground stipple are objects, not boxed.
      
      	* demos/gtk-demo/textview.c: intellihancing
      e7a21a2e