1. 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
  2. 11 Feb, 2018 1 commit
  3. 10 Feb, 2018 3 commits
  4. 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
  5. 20 Jun, 2017 1 commit
  6. 22 Mar, 2017 2 commits
  7. 09 Mar, 2017 1 commit
  8. 06 Mar, 2017 1 commit
  9. 16 Nov, 2016 1 commit
  10. 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
  11. 06 Jul, 2016 1 commit
  12. 04 Jul, 2016 1 commit
  13. 02 Jul, 2016 1 commit
  14. 11 May, 2016 2 commits
  15. 08 May, 2016 1 commit
  16. 27 Feb, 2016 2 commits
  17. 15 Feb, 2016 1 commit
  18. 10 Feb, 2016 1 commit
  19. 07 Feb, 2016 1 commit
  20. 06 Feb, 2016 2 commits
    • Jonathan Wilkes's avatar
      fix #5 · a55f55fa
      Jonathan Wilkes authored
      changed the interface for canvas_objtext, but it's not public so that shouldn't be a problem
      a55f55fa
    • Jonathan Wilkes's avatar
      fix for #5 · ed82b414
      Jonathan Wilkes authored
      changed the interface for canvas_objtext, but it's not public so that shouldn't be a problem
      ed82b414
  21. 29 Jan, 2016 1 commit
  22. 25 Jan, 2016 1 commit
  23. 22 Jan, 2016 1 commit
  24. 20 Jan, 2016 1 commit
  25. 18 Jan, 2016 1 commit
  26. 09 Jan, 2016 2 commits
  27. 08 Jan, 2016 3 commits
  28. 28 Dec, 2015 1 commit
  29. 18 Sep, 2015 1 commit
  30. 14 Aug, 2015 1 commit
  31. 13 Jul, 2015 1 commit