1. 09 Mar, 2015 1 commit
  2. 28 Jan, 2015 1 commit
  3. 27 Jan, 2015 1 commit
  4. 10 Jan, 2015 1 commit
  5. 01 Jan, 2015 1 commit
  6. 21 Dec, 2014 1 commit
  7. 18 Dec, 2014 5 commits
    • Carlos Garnacho's avatar
      textview: make magnifier size dependent on text size · 51e1e3b4
      Carlos Garnacho authored
      The magnifier is now set enough height to show the line being currently
      manipulated, which makes it just big enough to show the layout height at
      that size and magnification.
      51e1e3b4
    • Carlos Garnacho's avatar
      textview: Implement friendlier touch selection · 025340bf
      Carlos Garnacho authored
      - It is not possible anymore to trigger text DnD through touch, pressing
        and dragging from within the selection will instead extend it. Text
        shrinking is still available through the handles
      - The selection mode for touch is per-word, char-level manipulation is
        still available through the handles.
      - Tapping within the selection will bring in text handles, and toggle
        text selection popover.
      025340bf
    • Carlos Garnacho's avatar
      textview: Make "extend selection" only extend · 8c091d14
      Carlos Garnacho authored
      This mode could also shrink the selection, plus the starting point would
      seem somewhat arbitrary (actually dependent on the dragging direction of
      the last selection).
      
      Made this mode more consistent by only allowing it to extend the selection,
      only in one direction for each operation, and so it keeps the current
      selection as a minimum.
      8c091d14
    • Carlos Garnacho's avatar
      textview: Pass a boolean telling whether a selection drag should extend · a2e71203
      Carlos Garnacho authored
      Instead of passing a GdkEvent and let the function figure out whether the
      selection should be extended, let that to the caller and just pass a
      boolean here.
      a2e71203
    • Carlos Garnacho's avatar
      textview: Show magnifier on top of current line · ccdebb6a
      Carlos Garnacho authored
      The X coordinate is dependent on touch position, but Y is stepped.
      ccdebb6a
  8. 17 Dec, 2014 1 commit
  9. 08 Dec, 2014 1 commit
  10. 06 Dec, 2014 1 commit
  11. 15 Nov, 2014 1 commit
  12. 07 Oct, 2014 2 commits
  13. 03 Oct, 2014 1 commit
    • Benjamin Otte's avatar
      stylecontext: Deprecate functions · 91467a45
      Benjamin Otte authored
      - gtk_style_context_get_background_color()
      - gtk_style_context_get_border_color()
      
      Those functions shouldn't be used anymore, because they don't represent
      anything from the CSS styling we support. The background color often
      isn't used due to background images and there are actually 4 different
      border colors (1 for each side) - if there isn't also a border image in
      use.
      91467a45
  14. 28 Sep, 2014 1 commit
  15. 26 Sep, 2014 1 commit
  16. 26 Aug, 2014 1 commit
  17. 22 Aug, 2014 1 commit
  18. 15 Aug, 2014 1 commit
  19. 13 Aug, 2014 2 commits
  20. 03 Aug, 2014 1 commit
  21. 28 Jul, 2014 2 commits
    • Alexander Larsson's avatar
      textview: Add draw_layer vfunc · 5b53eb28
      Alexander Larsson authored
      This allows subclasses to render things below and above the text
      in the text view. This allows e.g. GtkSourceView to highlight the
      cursor row and to render overlays for colum 80. This used to be done
      by rendering before/after chaining up to the parent, but that doesn't
      work anymore since the view now renders a background, and due to the
      use of the pixel cache.
      5b53eb28
    • Alexander Larsson's avatar
      Revert "GtkTextView: Fix regression in GtkSourceView drawing" · 4fe051bb
      Alexander Larsson authored
      This reverts commit 1ac13435.
      
      We want to instead replace this with special vfunc for drawing
      below/above the main text so that gtksourceview can use it.
      4fe051bb
  22. 20 Jul, 2014 1 commit
  23. 10 Jul, 2014 2 commits
    • Matthias Clasen's avatar
      Add a 'touchscreen' debug flag · 34245515
      Matthias Clasen authored
      This has the same effect as the GTK_TEST_TOUCHSCREEN environment
      variable, but can be toggled at runtime.
      34245515
    • Carlos Garnacho's avatar
      textview: Call gtk_widget_size_allocate() on children widgets invariably · 7178e342
      Carlos Garnacho authored
      There was this hack, taken verbatim from GtkCList according to the comment,
      that would recursively translate the allocation during scrolling, and set
      it on children widgets through the direct gtk_widget_set_allocation() setter.
      
      Since commit 4f89eb05, this has caused the wrong clipping areas to children
      widgets of a textview. The reasons for this seem lost in time, and the approach
      seems indeed wrong for windowed widgets as the repositioning of those windows
      couldn't happen.
      
      So replace all of this with just a gtk_widget_size_allocate() call, which does
      work ok for the children widgets embedded in the "multiple views" gtk demo, and
      ought to work for every other widget.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=732900
      7178e342
  24. 09 Jul, 2014 3 commits
  25. 07 Jul, 2014 1 commit
  26. 03 Jul, 2014 1 commit
  27. 15 Jun, 2014 1 commit
  28. 12 Jun, 2014 1 commit
  29. 09 Jun, 2014 1 commit
  30. 31 May, 2014 1 commit