1. 21 Feb, 2019 1 commit
  2. 29 Jan, 2019 1 commit
  3. 23 Apr, 2018 1 commit
  4. 14 Apr, 2018 1 commit
    • Jonathan Wilkes's avatar
      speed up msg box by caching the glist in t_messresponder for fetching $0 · f57259d6
      Jonathan Wilkes authored
      This brings msg box back to the same performance it had before $0 expansion
      was added as a feature to message boxes.
      
      The first implementation relied on calling canvas_setcurrent and
      canvas_unsetcurrent in the message box methods. This added a malloc/free
      for each message box method call.
      
      Instead this implementation caches the msg box glist in the t_messresponder.
      That is available as the target parameter in m_binbuf. Unfortunately, we
      have to add a parameter to binbuf_realizedollsym. Since that's a public
      function we have to break out the new param into binbuf_dorealizedollsym.
      f57259d6
  5. 11 Feb, 2018 1 commit
  6. 10 Feb, 2018 3 commits
  7. 15 Oct, 2017 1 commit
    • Jonathan Wilkes's avatar
      Add "svg" type for [draw svg] containers · e16e7453
      Jonathan Wilkes authored
      This makes it possible to define an editable viewport outside of which the
      contents are clipped.
      
      One big benefit is that the getrect routine doesn't need to fetch the bboxes
      of the shapes inside the viewport. It just needs the svg width, height, x,
      y, and parent transform. It's also possible to add an optimized branch if
      there is no parent transform specified.
      
      One drawback is that the HTML5 method getBBox() includes the clipped content
      in its calculation. That means the user will get scrollbars even though the
      [draw svg] is clipping the contents which cause the scrollbars. Hopefully we
      can just work around this by adding a "scrollbars" method for canvases to
      just turn them off altogether.
      
      Code for an experimental [draw array] is also added here. Combining it with
      the viewport of [draw svg] will make it possible to interact with arrays of
      widgets without the performance penalty normally associated with mouse
      motion on Pd canvases.
      
      Also:
      * fixes some display bugs in certain cases for [draw image] and
      [draw sprite]
      * adds a default png for both [draw image] and [draw sprite] if none are
      given
      e16e7453
  8. 20 Jun, 2017 1 commit
  9. 22 Mar, 2017 2 commits
  10. 09 Mar, 2017 1 commit
  11. 06 Mar, 2017 1 commit
  12. 16 Nov, 2016 1 commit
  13. 16 Oct, 2016 1 commit
    • Jonathan Wilkes's avatar
      revert a change to text_setto from 91cf2a84... · 42585678
      Jonathan Wilkes authored
      revert a change to text_setto from 91cf2a84 that caused a subtle regression when a broken object gets retexted.  (It caused the object to be put at the end of the glist, which caused the consequent canvas_restoreconnections call to make a wire connection to the wrong object)
      42585678
  14. 06 Jul, 2016 1 commit
  15. 04 Jul, 2016 1 commit
  16. 02 Jul, 2016 1 commit
  17. 11 May, 2016 2 commits
  18. 08 May, 2016 1 commit
  19. 27 Feb, 2016 2 commits
  20. 15 Feb, 2016 1 commit
  21. 10 Feb, 2016 1 commit
  22. 07 Feb, 2016 1 commit
  23. 06 Feb, 2016 2 commits
  24. 29 Jan, 2016 1 commit
  25. 25 Jan, 2016 1 commit
  26. 22 Jan, 2016 1 commit
  27. 20 Jan, 2016 1 commit
  28. 18 Jan, 2016 1 commit
  29. 09 Jan, 2016 2 commits
  30. 08 Jan, 2016 3 commits
  31. 28 Dec, 2015 1 commit