1. 18 Jul, 2017 1 commit
  2. 28 Jul, 2014 1 commit
  3. 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
  4. 19 Feb, 2014 1 commit
  5. 07 Feb, 2014 3 commits
  6. 05 Feb, 2014 1 commit
  7. 04 Feb, 2014 1 commit
  8. 28 Jan, 2014 1 commit
    • William Jon McCann's avatar
      docs: don't use footnotes · 4a2043cb
      William Jon McCann authored
      Temporarily remove documentation for keybinding signals for
      GtkFileChooserDefault until we can find a way to add them
      properly.
      4a2043cb
  9. 18 Apr, 2011 1 commit
  10. 10 Jul, 2010 1 commit
  11. 04 Apr, 2010 2 commits
  12. 19 Feb, 2010 1 commit
  13. 16 Dec, 2009 1 commit
    • Colin Walters's avatar
      [introspection] Merge in Gtk-custom.c annotations · 6529c076
      Colin Walters authored
      The Gtk-custom.c file in gir-repository contained a number of
      introspection annotations.  Merge those into the GTK source files.
      
      Some documentation was moved from the tmpl/ files to accomodate
      the addition of annotations.
      6529c076
  14. 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
  15. 26 May, 2007 2 commits
    • Matthias Clasen's avatar
      Formatting fixes. · d8e3fc2b
      Matthias Clasen authored
      2007-05-25  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtktextmark.c:
              * gtk/gtktextbuffer.c: Formatting fixes.
      
      
      
      svn path=/trunk/; revision=17923
      d8e3fc2b
    • 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
  16. 14 May, 2006 1 commit
  17. 02 May, 2006 1 commit
  18. 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
  19. 01 Sep, 2005 1 commit
    • Matthias Clasen's avatar
      Intern some more strings. · 94eec042
      Matthias Clasen authored
      2005-09-01  Matthias Clasen  <mclasen@redhat.com>
      
              * gdk/*.c: Intern some more strings.
              * gtk/gtkintl.h:
              * gtk/*.c: Define an I_() macro and use it instead of the
              bulky g_intern_static_string().
      94eec042
  20. 31 Aug, 2005 1 commit
    • Matthias Clasen's avatar
      Intern type names in code generated by glib-mkenums, too. · c09cc893
      Matthias Clasen authored
      2005-08-31  Matthias Clasen  <mclasen@redhat.com>
      
      	* gdk/Makefile.am:
      	* gtk/Makefile.am: Intern type names in code generated by
      	glib-mkenums, too.
      
      	* gtk/*.c:
      	* gdk/x11/*.c:
      	* gdk/*.c: Intern type names before registering the type to avoid
      	unnecessary copies.
      c09cc893
  21. 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
  22. 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
  23. 06 Mar, 2004 1 commit
  24. 06 Mar, 2003 1 commit
    • Matthias Clasen's avatar
      Fix NULL/FALSE confusion (#107648, Morten Welinder) · ce58806c
      Matthias Clasen authored
      2003-03-06  Matthias Clasen  <maclas@gmx.de>
      
      	* gtk/gtktextmark.c (gtk_text_mark_get_buffer):
      	* gtk/gtkeditable.c (gtk_editable_get_chars):
      	* gtk/gtkctree.c (gtk_ctree_find_node_ptr):
      	* demos/gtk-demo/main.c (demo_find_file): Fix NULL/FALSE confusion
      	(#107648, Morten Welinder)
      ce58806c
  25. 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
  26. 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
  27. 22 Oct, 2001 1 commit
  28. 21 Sep, 2001 1 commit
    • Havoc Pennington's avatar
      Bug #60862 · b7eec02f
      Havoc Pennington authored
      2001-09-21  Havoc Pennington  <hp@redhat.com>
      
              Bug #60862
      
      	* gtk/gtktextbtree.c (gtk_text_btree_node_destroy):
      	(_gtk_text_btree_unref): fix up mark memory management
      
      	* gtk/gtktextmark.c (mark_segment_delete_func): ditto
      b7eec02f
  29. 23 Aug, 2001 1 commit
    • Tim Janik's avatar
      chain parent class handlers, pointed out by Joshua N Pritikin · 0b5311f5
      Tim Janik authored
      Thu Aug 23 16:26:47 2001  Tim Janik  <timj@gtk.org>
      
              * gtk/gtktreeviewcolumn.c (gtk_tree_view_column_finalize):
              * gtk/gtktextmark.c (gtk_text_mark_finalize): chain parent class
              handlers, pointed out by Joshua N Pritikin <vishnu@pobox.com>.
      0b5311f5
  30. 12 Jan, 2001 1 commit
    • Havoc Pennington's avatar
      offset the current invalid region, fixes redraw bug while scrolling the · f4b31ff5
      Havoc Pennington authored
      2001-01-12  Havoc Pennington  <hp@redhat.com>
      
      	* gdk/x11/gdkgeometry-x11.c (gdk_window_scroll): offset the
      	current invalid region, fixes redraw bug while scrolling the
      	text widget
      
      	* gtk/gtktextview.c, gtk/gtktextview.h:
      	Rearrange the scrolling/validation/etc. code in a major way,
      	so it seems to make sense to me. Probably isn't genuinely that
      	much better, but...
      
      	* gtk/gtktexttag.c (set_fg_color): fix name of property used for
      	notifies
      
      	* gtk/gtktextmark.c (gtk_text_mark_get_left_gravity): new function
      f4b31ff5
  31. 14 Dec, 2000 1 commit
  32. 02 Dec, 2000 1 commit
    • Havoc Pennington's avatar
      don't create dangling pointers to the appearance attributes from the line · 35876710
      Havoc Pennington authored
      2000-11-30  Havoc Pennington  <hp@pobox.com>
      
      * gtk/gtktextdisplay.c (gtk_text_layout_draw): don't create
      dangling pointers to the appearance attributes from the
      line display
      
      * gdk/gdkdraw.c (gdk_drawable_get_image): allow negative
      width/height to mean "full width/height of drawable"
      
      * gtk/gtktextview.h, gtk/gtktextview.c: Implement double/triple
      click to select word/line
      
      * gtk/gtktextiter.c (test_log_attrs): include paragraph delimiters
      when getting log attrs. Get a slice, so that pixmaps and stuff
      are properly handled.
      
      * gtk/gtktextbuffer.c (paste): Fix pasting to work properly if you
      paste into the selection (replaces selection now, previously
      crashed or added to selection). Reveals longstanding btree bug -
      select multiple lines, middle-click on the selection, boom. This
      isn't related to my changes though.
      
      * gtk/gtkentry.c (gtk_entry_move_forward_word): Update to reflect
      PangoLogAttrs changes
      (gtk_entry_move_backward_word): ditto
      
              * gtk/gtktextlayout.h, gtk/gtktextlayout.c: Make the iter motion
      	functions return bool whether the iter moved onto a
      	dereferenceable position.
      
      	 * gtk/gtktextview.h, gtk/gtktextview.c: Add a bunch of public
      	 functions for motion in terms of display lines.
      
      	 * gtk/gtktextmark.c (gtk_text_mark_get_buffer): Add function to
      	 get the buffer a mark is inside
      35876710
  33. 07 Nov, 2000 1 commit
    • Havoc Pennington's avatar
      rename to gtk_text_mark_get_visible · f1de9df0
      Havoc Pennington authored
      2000-11-07  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktextmark.c (gtk_text_mark_is_visible): rename
      	to gtk_text_mark_get_visible
      
      	* gtk/gtktextlayout.c (gtk_text_layout_move_iter_to_line_end): fix
      	bug that was generating an invalid iterator
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_offset): move call to
      	ensure_char_offsets() in front of code placing the iter in an
      	invalid state.
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_paste_primary):
      	make override_location arg const
      	(paste): Replace the selection if we paste into the
      	current selection
      
      	* gtk/gtkselection.h: Remove "GtkSelectioData"
      	(struct _GtkSelectionData): move the definition here.
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_update_primary_selection):
      	Export the GTK_TEXT_BUFFER_CONTENTS target for in-process copies
      
      	* gtk/gtktextiter.c (gtk_text_iter_get_tags): New function
      
      	* gtk/gtktextbuffer.c (gtk_text_buffer_insert_range): implement
      	(gtk_text_buffer_insert_range_interactive): implement
      	(gtk_text_buffer_get_tags): Remove, replaced by
      	gtk_text_iter_get_tags()
      
      	* gtk/gtktextiter.c (gtk_text_iter_forward_search): Add a search
      	limit parameter, to avoid infinite linear scan.
      	(gtk_text_iter_backward_search): Add search limit
      	(gtk_text_iter_forward_find_char): Add search limit
      	(gtk_text_iter_backward_find_char): Add search limit
      f1de9df0
  34. 03 Nov, 2000 1 commit
    • Havoc Pennington's avatar
      Docs (gtk_text_tag_table_size): return a signed int · 6c9d8adc
      Havoc Pennington authored
      2000-11-03  Havoc Pennington  <hp@redhat.com>
      
      	* gtk/gtktexttagtable.c: Docs
      	(gtk_text_tag_table_size): return a signed int
      
      	* gtk/gtktexttag.c: s/tkxt/text/g; write documentation
      	(gtk_text_tag_event): make the event_object a GObject
      
      	* gtk/gtktextview.c: Write API docs for all functions.
      
      	* gtk/gtktextview.h: add GTK_TEXT_WINDOW_PRIVATE as return value
      	for gtk_text_view_get_window_type() called on one of the private
      	windows.
      
      	* gtk/gtktextview.c: Instead of accessing text_view->buffer
      	directly, call get_buffer() which demand-creates a default
      	buffer. So gtk_text_view_new() can be used to create a view with a
      	default buffer in it, if you just want an empty text box users can
      	put data in. Useful for GUI builders also.
      6c9d8adc
  35. 30 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      Massive reindentation and reformatting. Arg alignment and comments still · 5190c739
      Havoc Pennington authored
      2000-10-30  Havoc Pennington  <hp@redhat.com>
      
      	* gtktextbtree.c, gtktextbtree.h, gtktextbuffer.c,
      	gtktextbuffer.h, gtktextchild.c, gtktextchild.h,
      	gtktextchildprivate.h, gtktextdisplay.c, gtktextdisplay.h,
      	gtktextiter.c, gtktextiter.h, gtktextiterprivate.h,
      	gtktextlayout.c, gtktextlayout.h, gtktextmark.c, gtktextmark.h,
      	gtktextmarkprivate.h, gtktextsegment.c, gtktextsegment.h,
      	gtktexttag.c, gtktexttag.h, gtktexttagprivate.h,
      	gtktexttagtable.c, gtktexttagtable.h, gtktexttypes.c,
      	gtktexttypes.h, gtktextview.c, gtktextview.h:
      
      	Massive reindentation and reformatting. Arg alignment and comments
      	still need fixing in various places.
      5190c739
  36. 26 Oct, 2000 1 commit
    • Havoc Pennington's avatar
      fix constness warning · 36059302
      Havoc Pennington authored
      2000-10-26  Havoc Pennington  <hp@redhat.com>
      
              * gtk/gtktextiter.c (my_strrstr): fix constness warning
      
              Fixed output of:
              nm -g -l .libs/libgtk-x11-1.3.so | grep ' T ' | grep -v gtk_ | grep -v GTK_
      
              * gtk/gtktextsegment.c (char_segment_new): rename
              (_char_segment_new_from_two_strings): rename
              (_toggle_segment_new): rename
      
              * gtk/gtkclipboard.c (ensure_clipboard_widget): make this static
              (make_clipboard_widget): make it static
              (text_get_func): static
              (text_clear_func): static
      
              * gtk/gtkcolorsel.c (adjustment_changed): make this function
              static
              (hex_changed): make it static
              (hsv_changed): make it static
              (opacity_entry_changed): make it static
      
              * gtk/gtktextbtree.c (change_node_toggle_count): rename with _gtk
              (toggle_segment_check_func): rename with _gtk
      
              * gtk/gtktextchild.c (_pixbuf_segment_new): rename with _gtk
              (_widget_segment_new): rename
              (_widget_segment_add): rename
              (_widget_segment_remove): rename
              (_widget_segment_ref): rename
              (_widget_segment_unref): rename
      
              * gtk/gtktextmark.c (_mark_segment_new): Rename
              _gtk_mark_segment_new
      36059302