1. 03 Apr, 2018 1 commit
  2. 22 Mar, 2018 1 commit
    • Yussuf Khalil's avatar
      clutter: Avoid unnecessary relayouts in ClutterText · 31779404
      Yussuf Khalil authored
      We can save an unnecessary relayout if the required size to fully draw the text
      is equal to the currently allocated size after the underlying text buffer or
      attributes that only affect the PangoLayout have changed.
      31779404
  3. 13 Mar, 2018 1 commit
  4. 18 Feb, 2018 1 commit
  5. 12 Feb, 2018 1 commit
  6. 18 Jan, 2018 4 commits
  7. 20 Jul, 2016 1 commit
  8. 12 May, 2016 1 commit
  9. 12 Apr, 2016 1 commit
  10. 30 Nov, 2015 3 commits
  11. 28 Nov, 2015 1 commit
    • Emmanuele Bassi's avatar
      text: Allow selectability without editability · 78eb07d6
      Emmanuele Bassi authored
      Being able to select text and being able to edit text are two separate
      capabilities, but ClutterText only allows the former with the latter.
      
      The ClutterText:selectable property is set to TRUE by default, given
      that it depends on the :editable property; this implies that all
      ClutterText instances now are going to show a cursor as soon as they get
      key focused. Obviously, this would make labels look a bit off — but if
      you have a label then you would not give it key focus, either by
      explicitly calling clutter_actor_grab_focus(), or by setting it as
      reactive and allowing it to be clicked.
      
      If this turns out to be a problem, we have various ways to avoid showing
      a cursor — for instance, we could change the default value of the
      selectable property, and ensure that setting the :editable property to
      TRUE would also set the :selectable property as a side effect. Or we
      could hide the cursor until the first button/touch press event. Finally,
      we could always back this commit out if it proves to be too much of a
      breakage for existing code bases.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=757470
      78eb07d6
  12. 03 Mar, 2015 1 commit
    • Emmanuele Bassi's avatar
      Drop the UProf dependency · 25329280
      Emmanuele Bassi authored
      Nobody has been compiling Clutter with profiling enabled in a long time.
      
      UProf itself hasn't been updated in 5 years, and it still depends on
      deprecated components like dbus-glib, with no port to GDBus in sight.
      
      The profiling code was moderately useful in the past, but these days
      it's probably better to profile Cogl than Clutter itself; timing
      information can be extracted by the timestamp on each diagnostic message
      that is now available by default in the CLUTTER_NOTE macro, and we can
      add ad hoc counters where needed.
      25329280
  13. 03 Jan, 2015 1 commit
    • Emmanuele Bassi's avatar
      WARNING: Massive revert commit · 77ec8774
      Emmanuele Bassi authored
      Revert all the work that happened on the master branch.
      
      Sadly, this is the only way to merge the current development branch back
      into master.
      
      It is now abundantly clear that I merged the 1.99 branch far too soon,
      and that Clutter 2.0 won't happen any time soon, if at all.
      
      Since having the development happen on a separate branch throws a lot of
      people into confusion, let's undo the clutter-1.99 → master merge, and
      move back the development of Clutter to the master branch.
      
      In order to do so, we need to do some surgery to the Git repository.
      
      First, we do a massive revert in a single commit of all that happened
      since the switch to 1.99 and the API version bump done with the
      89a2862b commit. The history is too long
      to be reverted commit by commit without being extremely messy.
      77ec8774
  14. 22 Sep, 2014 1 commit
  15. 17 Mar, 2014 1 commit
  16. 03 Mar, 2014 3 commits
  17. 24 Jan, 2014 1 commit
    • Emmanuele Bassi's avatar
      text: Fix the implementation of delete_chars() · 0dc4986f
      Emmanuele Bassi authored
      The internal delete_text() implementation takes a start and an end
      position, whereas the public delete_chars() method takes a number of
      characters to delete starting from the current cursor position.
      0dc4986f
  18. 16 Jan, 2014 2 commits
  19. 04 Dec, 2013 2 commits
    • Emmanuele Bassi's avatar
      text: Add a hacky fallback for the framebuffer · e619de20
      Emmanuele Bassi authored
      The text-cache conformance test breaks because ClutterText gets a paint
      without an active framebuffer associated to the ClutterStage. Keep a
      fallback while we investigate the issue.
      e619de20
    • Emmanuele Bassi's avatar
      Use the non-deprecated Cogl clipping API · 70564036
      Emmanuele Bassi authored
      Cogl 1.18 deprecated the global clipping API in favour of the
      per-framebuffer one, but since we're using the 2.0 API internally we
      don't have access to the deprecated symbols any more.
      
      This is pretty much a mechanical port for all the places where we're
      still using the old 1.x API.
      70564036
  20. 11 Sep, 2013 1 commit
  21. 10 Jul, 2013 1 commit
  22. 03 Jul, 2013 1 commit
  23. 20 Jun, 2013 2 commits
  24. 12 Jun, 2013 2 commits
  25. 05 Apr, 2013 2 commits
  26. 04 Apr, 2013 1 commit
    • Emmanuele Bassi's avatar
      text: Add ::cursor-changed signal · 1724536c
      Emmanuele Bassi authored
      Since we are trying to eliminate the ClutterGeometry type, we should
      replace the only entry point still using it: the ::cursor-event signal
      of ClutterText.
      
      Instead of passing the cursor geometry, we should add an accessor
      function.
      
      The combination of signal and getter for the cursor geometry means that
      we can deprecate ClutterText::cursor-event, and mark it for removal in
      Clutter 2.0.
      
      https://bugzilla.gnome.org/show_bug.cgi?id=682789
      1724536c
  27. 04 Mar, 2013 1 commit
  28. 16 Jan, 2013 1 commit