1. 29 Dec, 2008 1 commit
  2. 03 Oct, 2008 1 commit
    • Matthias Clasen's avatar
      Bug 530575 – GtkEntry with invisible chars has a confused cursor in · 3a4fea33
      Matthias Clasen authored
      2008-10-02  Matthias Clasen <mclasen@redhat.com>
      
              Bug 530575 – GtkEntry with invisible chars has a confused cursor in
              overwrite mode
      
              * gtk/gtkentry.c (gtk_entry_draw_cursor): Use the visible text
              in the layout when positioning the cursor, not the actual text
              content of the entry. This makes a different when using overwrite
              mode in an invisible entry.
              Problem noticed by Jonathan Blandford
      
              * gtk/gtktextutil.c: Fix a typo in a comment
      
      
      svn path=/trunk/; revision=21580
      3a4fea33
  3. 01 Jul, 2008 1 commit
  4. 30 Jun, 2008 1 commit
    • Cody Russell's avatar
      Practically everything changed. · fce9c8b7
      Cody Russell authored
      2008-06-30  Cody Russell  <bratsche@gnome.org>
      
              * Practically everything changed.
      
              Change	all references	of GIMP	Toolkit	(and variations	of it)
              to GTK+	Toolkit, showing no mercy at all to our	beloved
      	ancestry. (#540529)
      
      
      svn path=/trunk/; revision=20709
      fce9c8b7
  5. 26 Jun, 2008 1 commit
  6. 24 Jun, 2008 1 commit
    • Michael Natterer's avatar
      remove includes from this internal header. · 7146dd12
      Michael Natterer authored
      2008-06-24  Michael Natterer  <mitch@imendio.com>
      
      	* gtk/gtktextutil.h: remove includes from this internal header.
      
      	* gtk/gtktextutil.c: include gtktextbuffer.h before gtktextutil.h.
      
      
      svn path=/trunk/; revision=20678
      7146dd12
  7. 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
  8. 28 Jun, 2007 1 commit
    • Yevgen Muntyan's avatar
      do right thing in one-character lines and at paragraph end (#448313). · 55ac5cd7
      Yevgen Muntyan authored
      2007-06-28  Yevgen Muntyan  <muntyan@tamu.edu>
      
      	* gtk/gtktextutil.c (_gtk_text_util_get_block_cursor_location):
      	do right thing in one-character lines and at paragraph end (#448313).
      
      	* configure.in: require pango-1.17.3 to get fixed pango_layout_index_to_line_x()
      	(pango #448342).
      
      
      svn path=/trunk/; revision=18273
      55ac5cd7
  9. 12 Jun, 2007 1 commit
    • Yevgen Muntyan's avatar
      Implement block-cursor for overwrite mode. (#80378) · ef1e05f7
      Yevgen Muntyan authored
      2007-06-12  Yevgen Muntyan  <muntyan@tamu.edu>
      
              * gtk/gtkentry.c (gtk_entry_expose), (gtk_entry_toggle_overwrite),
              (gtk_entry_draw_cursor):
              * gtk/gtkstyle.c (_gtk_widget_get_cursor_gc),
              (_gtk_widget_get_cursor_color):
              * gtk/gtkstyle.h:
              * gtk/gtktextdisplay.c (gtk_text_renderer_prepare_run),
              (gtk_text_renderer_draw_shape), (text_renderer_set_state),
              (render_para):
              * gtk/gtktextlayout.c (gtk_text_layout_set_overwrite_mode),
              (gtk_text_layout_invalidate_cache), (get_block_cursor),
              (add_cursor), (gtk_text_layout_get_line_display),
              (_gtk_text_layout_get_block_cursor):
              * gtk/gtktextlayout.h:
              * gtk/gtktextutil.c (layout_get_char_width),
              (_gtk_text_util_get_block_cursor_location):
              * gtk/gtktextutil.h:
              * gtk/gtktextview.c (gtk_text_view_set_editable),
              (gtk_text_view_toggle_overwrite), (gtk_text_view_set_overwrite),
              (gtk_text_view_ensure_layout), (text_window_invalidate_cursors):
              Implement block-cursor for overwrite mode.  (#80378)
      
      
      svn path=/trunk/; revision=18108
      ef1e05f7
  10. 25 Dec, 2006 1 commit
    • Matthias Clasen's avatar
      Remove debug output. · e7e84bb8
      Matthias Clasen authored
      2006-12-24  Matthias Clasen  <mclasen@redhat.com>
      
              * gtk/gtktextutil.c: Remove debug output.
      
              * gtk/gtktextview.c: Improve the DND scrolling
              behaviour.  (#92387, Carlos Garnacho Parro)
      e7e84bb8
  11. 24 Dec, 2006 1 commit
    • Behdad Esfahbod's avatar
      Bug 340141 – Update to Pango 1.16 API · d698e3ea
      Behdad Esfahbod authored
      2006-12-24  Behdad Esfahbod  <behdad@gnome.org>
      
              Bug 340141 – Update to Pango 1.16 API
      
              * gdk/gdkpango.c (layout_iter_get_line_clip_region),
              (gdk_pango_layout_line_get_clip_region):
              * gtk/gtkcalendar.c (gtk_calendar_size_request):
              * gtk/gtkentry.c (gtk_entry_get_pixel_ranges),
              (get_layout_position), (gtk_entry_find_position),
              (gtk_entry_adjust_scroll):
              * gtk/gtkiconview.c (get_pango_text_offsets):
              * gtk/gtklabel.c (get_cursor_direction):
              * gtk/gtkstyle.c (get_insensitive_layout):
              * gtk/gtktextdisplay.c (render_para):
              * gtk/gtktextlayout.c (allocate_child_widgets),
              (find_display_line_below), (find_display_line_above),
              (gtk_text_layout_move_iter_to_previous_line),
              (gtk_text_layout_move_iter_to_next_line),
              (gtk_text_layout_move_iter_to_line_end),
              (gtk_text_layout_iter_starts_line),
              (gtk_text_layout_move_iter_to_x):
              * gtk/gtktextutil.c (limit_layout_lines):
              Use the _readonly version of pango_layout_iter_get_line(),
              pango_layout_iter_get_run(), pango_layout_get_line(), and
              pango_layout_get_lines().
      
              * gtk/gtkmain.c (gtk_get_default_language): Use
              pango_get_default_language().
      d698e3ea
  12. 07 Mar, 2006 1 commit
    • Michael Natterer's avatar
      Add infrastructure for copy/paste and DND of rich text for GtkTextBuffer. · 6c1d990a
      Michael Natterer authored
      2006-03-07  Michael Natterer  <mitch@imendio.com>
      
      	Add infrastructure for copy/paste and DND of rich text for
      	GtkTextBuffer. Fixes bug #324177.
      
      	* gtk/gtktextbufferrichtext.[ch]: new files implementing a
      	per-buffer registry of rich text formats.
      
      	* gtk/gtk.h: #include gtktextbufferrichtext.h
      
      	* gtk/gtktextbufferserialize.[ch]: new files implementing an
      	internal serialization format that can handle all of a text
      	buffer's tags and pixbufs. It's not useful for anything except
      	tranfer between instances of GtkTextBuffer (Anders Carlsson).
      
      	* gtk/Makefile.am: build the new files.
      
      	* gtk/gtkclipboard.[ch]: added convenience APIs for rich text,
      	just as they exist for plain text and pixbufs.
      
      	* gtk/gtkselection.[ch]: added rich text convenience APIs here
      	too.  Return the target list from gtk_target_list_ref(). Register
      	GtkTargetList as boxed type. Added
      	gtk_target_table_new_from_list() and gtk_target_table_free(),
      	which make converting between GtkTargetList and arrays of
      	GtkTargetEntry considerably easier.
      
      	* gtk/gtktextutil.[ch]: added _gtk_text_util_create_rich_drag_icon()
      	which creates a fancy rich text icon (Matthias Clasen).
      
      	* gtk/gtktextbuffer.[ch]: use all the new stuff above and
      	implement copy and paste of rich text. Added APIs for getting the
      	target lists used for copy and paste. Added public enum
      	GtkTextBufferTargetInfo which contains the "info" IDs associated
      	with the entries of the target lists.
      
      	* gtk/gtktextview.c: use the new rich text APIs and
      	GtkTextBuffer's new target list API to enable DND of rich text
      	chunks.
      
      	* gtk/gtk.symbols: export all the new symbols added.
      
      	* tests/testtext.c: added rich text testing stuff.
      6c1d990a
  13. 13 Sep, 2005 1 commit
  14. 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
  15. 31 Aug, 2005 1 commit
  16. 13 Jul, 2005 1 commit
  17. 11 Jul, 2005 1 commit
    • Matthias Clasen's avatar
      When dragging text, use a drag icon showing the (ellipsized) text that is · 13a341e0
      Matthias Clasen authored
      2005-07-11  Matthias Clasen  <mclasen@redhat.com>
      
      	When dragging text, use a drag icon showing the (ellipsized)
      	text that is being dragged: (#161132, Kevin Duffus, patch
      	by Carlos Garnacho Parro)
      
      	* gtk/gtktextutil.h:
      	* gtk/gtktextutil.c (_gtk_text_util_create_drag_icon): Add
      	a function to create a pixmap for use when dragging text.
      
      	* gtk/gtktextview.c (gtk_text_view_start_selection_dnd):
      	* gtk/gtklabel.c (gtk_label_motion):
      	* gtk/gtkentry.c (gtk_entry_motion_notify): Use a drag icon
      	showing the text being dragged.
      
      2005-07-11  Matthias Clasen  <mclasen@redhat.com>
      
      	* gtk/gtkentry.c (gtk_entry_move_forward_word)
      	(gtk_entry_move_backward_word): Match the text view change
      	to allow selecting whitespace with double-click.
      13a341e0
  18. 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
  19. 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
  20. 06 Mar, 2004 1 commit
  21. 29 Aug, 2003 1 commit
    • Soeren Sandmann's avatar
      Fix use of uninitialized variable. · ce00fa89
      Soeren Sandmann authored
      Fri Aug 29 21:40:01 2003  Soeren Sandmann  <sandmann@daimi.au.dk>
      
      	* gtk/gtkactiongroup.c (gtk_action_group_add_radio_actions_full):
      	Fix use of uninitialized variable.
      
      	* gtk/gtktextutil.c
      	(_gtk_text_util_append_special_char_menuitems): add const cast to
      	get rid of warning
      ce00fa89
  22. 10 Dec, 2002 1 commit
  23. 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
  24. 12 Jun, 2002 1 commit
  25. 31 Jan, 2002 2 commits
    • Mark McLoughlin's avatar
      make static. · 60dd9e54
      Mark McLoughlin authored
      2002-01-31  Mark McLoughlin  <mark@skynet.ie>
      
              * gdk/gdkimage.c: (scratch_image_info_for_depth): make static.
      
              * gdk/x11/gdkimage-x11.c: (get_full_image): ditto.
      
              * gdk/x11/gxid_lib.[ch]: (_gxid_claim_device), (_gxid_release_device):
              renamed from gxid_(claim|release)_device.
      
              * gdk/x11/gdkinput-gxi.c: (_gdk_input_enable_window),
              (_gdk_input_disable_window): upd for gxid change.
      
              * gtk/gtkimage.c: (animation_timeout): make static.
      
              * gtk/gtkstyle.c: (draw_thin_shadow), (draw_spin_entry_shadow): make
              static.
      
              * gtk/gtktextutil.c: (bidi_menu_entries): make static.
      60dd9e54
    • Owen Taylor's avatar
      Handle the case where bin->child is NULL. (#70153, Padraig O'Briain) · bb3ddb39
      Owen Taylor authored
      Thu Jan 31 10:21:05 2002  Owen Taylor  <otaylor@redhat.com>
      
              * gtk/gtkplug.c (gtk_plug_focus): Handle the case where
              bin->child is NULL. (#70153, Padraig O'Briain)
      
              * gtk/gtktextutil.c (_gtk_text_util_append_special_char_menuitems):
              Actually call gettext() on the labels; previously they
              were marked with N_() but we never called gettext().
      bb3ddb39
  26. 17 Dec, 2001 1 commit
    • Havoc Pennington's avatar
      Add Unicode control char menu, based on patch from Dov. Bug #63495 · 8a44bc04
      Havoc Pennington authored
      2001-12-06  Havoc Pennington  <hp@redhat.com>
      
              Add Unicode control char menu, based on patch from Dov.
              Bug #63495
      
              * gtk/gtkentry.c (gtk_entry_commit_cb): share code via
              gtk_entry_enter_text
              (gtk_entry_enter_text): function to do "typing in text"
              (popup_targets_received): add the Unicode menu items
      
              * gtk/gtktextview.c (popup_targets_received): add missing mnemonic
              on Input Methods item, and add the unicode menu items.
      
              * gtk/gtktextutil.h, gtk/gtktextutil.c: private utilities to be
              used in GtkEntry and GtkTextView - may become public later.
      8a44bc04