1. 21 Mar, 2016 1 commit
  2. 29 Feb, 2016 1 commit
  3. 20 Oct, 2015 1 commit
  4. 16 Oct, 2015 1 commit
  5. 23 Sep, 2015 1 commit
  6. 09 Sep, 2015 1 commit
    • Matthias Clasen's avatar
      Clean up debug features · 3526b08e
      Matthias Clasen authored
      Introduce a GTK_DEBUG_CHECK() macro and use it to check for
      GTK_DEBUG flags everywhere. Also guard all such places by
      3526b08e
  7. 02 Jun, 2015 1 commit
  8. 26 Nov, 2014 1 commit
  9. 20 Jul, 2014 1 commit
  10. 13 Apr, 2014 1 commit
    • Sébastien Wilmet's avatar
      GtkTextView: use GSlice to allocate GtkTextLineSegment's · 983a03d5
      Sébastien Wilmet authored
      Use GSlice to allocate all types of segments:
      - char
      - toggle
      - mark
      - pixbuf
      - child widget
      
      Char segments are a bit more complicated because the length of the text
      is determined at run time and stored in the 'byte_count' field. If the
      text is long, GSlice will call the system malloc() anyway, so it's
      better to always use GSlice for GtkTextLineSegment.
      
      Toggle segments are also freed in gtktextbtree.c, hence the function
      _gtk_toggle_segment_free() (for a later commit it would be nice to
      rename those functions with the _gtk_text prefix).
      
      https://bugzilla.gnome.org/show_bug.cgi?id=727908
      983a03d5
  11. 19 Feb, 2014 1 commit
  12. 07 Feb, 2014 3 commits
  13. 25 Dec, 2011 1 commit
  14. 12 Apr, 2011 1 commit
  15. 03 Jan, 2011 1 commit
  16. 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
  17. 10 Jul, 2010 1 commit
  18. 09 Nov, 2009 1 commit
  19. 11 Sep, 2008 1 commit
  20. 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
  21. 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
  22. 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
  23. 26 Oct, 2007 1 commit
  24. 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
  25. 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
  26. 15 Feb, 2007 1 commit
  27. 07 Nov, 2006 1 commit
  28. 14 May, 2006 1 commit
  29. 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
  30. 22 Feb, 2006 2 commits
  31. 27 Dec, 2005 4 commits
  32. 12 Dec, 2005 1 commit