1. 25 Dec, 2011 1 commit
  2. 12 Apr, 2011 1 commit
  3. 03 Jan, 2011 1 commit
  4. 08 Sep, 2010 2 commits
    • Tor Lillqvist's avatar
      Get rid of the rest of variables exported from libgtk · 87141cf4
      Tor Lillqvist authored
      Especially the gtk_*_type ones in gtktexttypes.h were mentioned in
      gtk.symbols presumably by accident. That header isn't even installed,
      so no way can they be supposed to be public.
      
      gtk_text_attr_appearance_type is from the installed but "semi-private"
      gtktextlayout.h, so drop that one too from gtk.symbols for now.
      
      The use of gtk_text_unknown_char_utf8 is bit of a mess. Code in a few
      files knew implicitly that it is three bytes. Define a symbolic name
      for the length of it instead. Add an exported function
      gtk_text_unknown_char_utf8_gtk_tests_only() that returns a pointer to
      it just for the sake of gtk/tests/textbuffer.c. Prefix the variable
      with an underscore.
      
      I doubt the usefulness of the test_utf8() in textbuffer.c. If it could
      be dropped, gtk_text_unknown_char_utf8_gtk_tests_only() could be
      dropped, too.
      87141cf4
    • Tor Lillqvist's avatar
      Replace gtk_debug_flags with getter and setter functions · 801875b8
      Tor Lillqvist authored
      Preferrably should be made just into a local variable for libgtk like
      _gdk_debug_flags for libgdk. But for now used by
      gtk/tests/textbuffer.c and modules/printbackends/cups/gtkprintbackendcups.c.
      801875b8
  5. 10 Jul, 2010 1 commit
  6. 09 Nov, 2009 1 commit
  7. 11 Sep, 2008 1 commit
  8. 12 Aug, 2008 1 commit
    • Sven Neumann's avatar
      gtk/gtkaccellabel.c gtk/gtkaction.c gtk/gtkclist.c gtk/gtkcolorbutton.c · b699ac58
      Sven Neumann authored
      2008-08-12  Sven Neumann  <sven@gimp.org>
      
      	* gtk/gtkaccellabel.c
      	* gtk/gtkaction.c
      	* gtk/gtkclist.c
      	* gtk/gtkcolorbutton.c
      	* gtk/gtkctree.c
      	* gtk/gtkdialog.c
      	* gtk/gtkdnd-quartz.c
      	* gtk/gtkdnd.c
      	* gtk/gtkentry.c
      	* gtk/gtkfilechooserdefault.c
      	* gtk/gtkfilesel.c
      	* gtk/gtkgamma.c
      	* gtk/gtkiconview.c
      	* gtk/gtkkeyhash.c
      	* gtk/gtklabel.c
      	* gtk/gtkmenu.c
      	* gtk/gtkmenubar.c
      	* gtk/gtkpaned.c
      	* gtk/gtkrecentchooserdialog.c
      	* gtk/gtkrecentchooserutils.c
      	* gtk/gtkselection.c
      	* gtk/gtksizegroup.c
      	* gtk/gtktextbtree.c
      	* gtk/gtktextbuffer.c
      	* gtk/gtktextview.c
      	* gtk/gtktoolbar.c
      	* gtk/gtktreemodel.c
      	* gtk/gtkuimanager.c
      	* gtk/gtkwindow-decorate.c
      	* gtk/gtkwindow.c: use canonical signal names in some more places
      	that I missed earlier. Also changed this in the documentation and
      	comments.
      
      
      svn path=/trunk/; revision=21094
      b699ac58
  9. 22 Jun, 2008 1 commit
    • Johan Dahlin's avatar
      Include "config.h" instead of <config.h> Command used: find -name · d97cdbdf
      Johan Dahlin authored
      2008-06-21  Johan Dahlin  <jdahlin@async.com.br>
      
          * *.[ch]: Include "config.h" instead of <config.h>
          Command used:
          find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g'
          Rubberstamped by Mitch and Tim
      
      
      svn path=/trunk/; revision=20669
      d97cdbdf
  10. 15 Nov, 2007 2 commits
    • Yevgen Muntyan's avatar
      new functions _gtk_text_btree_get_insert() and · abad58b0
      Yevgen Muntyan authored
      2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtktextbtree.h:
      	* gtk/gtktextbtree.c: new functions _gtk_text_btree_get_insert()
      	and _gtk_text_btree_get_selection_bound() (#497102).
      	* gtk/gtktextbuffer.c (gtk_text_buffer_get_insert),
      	(gtk_text_buffer_get_selection_bound): use them here instead of
      	hash table lookup.
      
      
      svn path=/trunk/; revision=18996
      abad58b0
    • Yevgen Muntyan's avatar
      sort returned tags array by tags priority (#497102). · 921da326
      Yevgen Muntyan authored
      2007-11-15  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_get_tags): sort returned
      	tags array by tags priority (#497102).
      	* gtk/gtktextiter.c (gtk_text_iter_get_tags), (gtk_text_iter_get_attributes):
      	* gtk/gtktextlayout.c (get_tags_array_at_iter): and do not sort it here.
      
      
      svn path=/trunk/; revision=18995
      921da326
  11. 26 Oct, 2007 1 commit
  12. 01 Jun, 2007 1 commit
    • Yevgen Muntyan's avatar
      Avoid recreating pangolayouts in GtkTextView on cursor movement (#435405, · 8f4aa8c6
      Yevgen Muntyan authored
      2007-06-01  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	Avoid recreating pangolayouts in GtkTextView on cursor movement
      	(#435405, Behdad Esfahbod).
      
      	* gtk/gtktextlayout.c:
      	* gtk/gtktextlayout.h: new GtkTextLayout method invalidate_cursors(),
      	and functions gtk_text_layout_invalidate_cursors() and
      	gtk_text_layout_cursors_changed(), to use when invalidation is due
      	to moved marks or changed selection.
      
      	* gtk/gtktextbtree.c:
      	* gtk/gtktextbtree.h: use what's appropriate when invalidating layout.
      
      	* gtk/gtk.symbols: add new functions.
      
      	* README.in: added a note about changed GtkTextLayout API.
      
      
      svn path=/trunk/; revision=18000
      8f4aa8c6
  13. 26 May, 2007 1 commit
    • Matthias Clasen's avatar
      Allow to separate GtkTextMark creation from buffer insertion. (#132818, · 6ac30db0
      Matthias Clasen authored
      2007-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              Allow to separate GtkTextMark creation from buffer insertion.
              (#132818, Gustavo Giráldez, patch by Yevgen Muntyan)
      
              * gtk/gtktextmarkprivate.h:
              * gtk/gtktextmark.[hc] (gtk_text_mark_new): New function to
              create a GtkTextMark.
      
              * gtk/gtktextbuffer.[hc] (gtk_text_buffer_add_mark): New
              function to add an existing mark to a buffer.
      
              * gtk/gtktextbtree.c: Allow adding existing marks.
      
              * gtk/gtk.symbols: Add new functions.
      
              * tests/testtextbuffer.c: Add some tests for new mark
              functionality.
      
      
      svn path=/trunk/; revision=17922
      6ac30db0
  14. 15 Feb, 2007 1 commit
  15. 07 Nov, 2006 1 commit
  16. 14 May, 2006 1 commit
  17. 03 Apr, 2006 1 commit
    • Matthias Clasen's avatar
      Fix a warning. · 8de7c8b7
      Matthias Clasen authored
      
      	* gtk/gtktextlayout.c: Fix a warning.
      
      	* gtk/gtktextsegment.h:
      	* gtk/gtktextsegment.c:
      	* gtk/gtktextchild.c:
      	* gtk/gtktextbtree.c:
      	* gtk/gtktextmark.c:
      	* gtk/gtktexttypes.h: Make the segment class pointers const.
      
      	* gtk/gtktextbufferserialize.c: Make parser struct const.
      
      	* gtk/gtkuimanager.c: Make parser struct const.
      8de7c8b7
  18. 22 Feb, 2006 2 commits
  19. 27 Dec, 2005 4 commits
  20. 12 Dec, 2005 1 commit
  21. 02 Nov, 2005 1 commit
  22. 26 Oct, 2005 1 commit
  23. 11 Oct, 2005 1 commit
    • Matthias Clasen's avatar
      Try to match an off toggle here with the matching on toggle if it · a07a5ecb
      Matthias Clasen authored
      2005-10-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtktextbtree.c (_gtk_text_btree_delete): Try to match an off
      	toggle here with the matching on toggle if it immediately follows.
      	This is a common case, and handling it here prevents quadratic blowup
      	in cleanup_line() below.  (#317125)
      
      	* gtk/gtktextsegment.h:
      	* gtk/gtktextsegment.c (_gtk_char_segment_new_from_two_strings): Pass
      	the character counts into this function instead of computing them
      	again.
      a07a5ecb
  24. 13 Sep, 2005 1 commit
  25. 09 Jun, 2005 1 commit
  26. 26 May, 2005 1 commit
  27. 20 Mar, 2005 1 commit
    • Matthias Clasen's avatar
      Make PLT-reduction work with gcc4, and don't include everything in · cca8dd63
      Matthias Clasen authored
      2005-03-20  Matthias Clasen  <mclasen@redhat.com>
      
      	Make PLT-reduction work with gcc4, and don't include
      	everything in gdkalias.h:
      
      	* gtk/grk.symbols: Group symbols by header and source file.
      	* gtk/makegtkalias.pl: Protect definitions by the same
      	preprocessor symbols used to guard the headers. Move
      	the alias declarations to a separate file which is
      	produced when calling makegtkalias.pl -def
      	* gdk/Makefile.am (gtkaliasdef.c): Add a rule to generate
      	this file.
      	* gtk/*.c: Include gtkalias.h after the other headers,
      	include gtkaliasdef.c at the bottom.
      	* gtk/*.h: Small cleanups.
      cca8dd63
  28. 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
  29. 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
  30. 23 Jul, 2004 1 commit
  31. 19 Apr, 2004 1 commit
  32. 06 Mar, 2004 1 commit
  33. 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