Skip to content

October 12, 2020

Compare
Choose a tag to compare
@phoddie phoddie released this 12 Oct 23:51
· 5046 commits to public since this release

October 12, 2020

  • Timer class allows a timer to be unscheduled without being cleared as an optimization to avoid frequently allocating/deallocating a timer. To unschedule a timer, call Timer.schedule with only the id argument:
let t = Timer.repeat(() => trace("tick\n"), 1000);
t.schedule(t);
  • Piu unschedules internal idle timer when not needed by current UI content.
  • Fix ESP32 audio to play if first sound is queued after playback begins. This fixes Piu Sound playback failure reported by @meganetaaan
  • Backlight control is working on Moddable Two in all cases again
  • XS JavaScript engine partial fix for "Object rest incorrectly accepts complex assignment targets" #155 (reported by @bakkot)
  • Projects running on touch devices that do not use touch input can disable the touch driver entirely by setting touchCount to 0 in the config section of the manifest
  • Remove JavaScript module API interface to instrumentation from the base manifest. Most projects do not use it and removing it reduces the binary by several hundred bytes. Projects may still include the module directly. (The Instruments pane in xsbug is unchanged.)
  • Remove accents from Piu text example