1. 17 Jul, 2018 - 1 commit
  2. 16 Jul, 2018 - 1 commit
  3. 13 Jul, 2018 - 1 commit
  4. 12 Jul, 2018 - 1 commit
  5. 29 Jun, 2018 - 2 commits
  6. 20 Jun, 2018 - 3 commits
  7. 11 Jun, 2018 - 1 commit
  8. 07 Jun, 2018 - 3 commits
  9. 05 Jun, 2018 - 4 commits
  10. 04 Jun, 2018 - 2 commits
  11. 01 Jun, 2018 - 5 commits
    • Morten Johan Sørvig's avatar
      Merge remote-tracking branch 'gerrit/5.11' into wip/webassembly · 02c8fa20
      Morten Johan Sørvig authored
      Change-Id: Ie6757dd81b49f4d9e677dbd08f5378d6190187b7
      02c8fa20
    • Morten Johan Sørvig's avatar
      wasm: implement QHtml5Window::requestUpdate() · 36e8cf3c
      Morten Johan Sørvig authored
      
      We’ve already set up emscripten_set_main_loop_arg to
      call the main loop callback using requestAnimationFrame.
      
      Pause main loop updates when no updates have been requested.
      Restart when requestUpdate() is called again.
      
      Applications can now be completely idle when there
      are no updates, or animate continuously if requestUpdate()
      is called at the end of the paint event.
      
      Change-Id: I1764b09a698f2d98a0f0e008d93e553f04831d4f
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      36e8cf3c
    • Morten Johan Sørvig's avatar
      wasm: implement event dispatcher timers · 01d75bb8
      Morten Johan Sørvig authored
      
      Use native timers to wake up when there are pending
      events and when its time to activate Qt timers.
      
      Make processEvents() process one round of events by
      removing the loop that processes until hasPendingEvents()
      returns false. Instead, check hasPendingEvents() before
      returning control to the browser and schedule a zero-
      timer if there are pending events. This way all events
      will be processed without triggering the “unresponsive
      page” timeout in the browser.
      
      Use QTimerList to map all Qt timers down to a single
      native timer by scheduling a wakeup when the fist
      Qt timer should fire.
      
      Making this work requires adjusting the native timer
      whenever events are posted or Qt timers are modified.
      In practice this is done by calling maintainTimers()
      as the very last thing in callbacks we install with emscripten.
      
      Change-Id: I4e1c2090c96b243466b51901c39e315347af1744
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      01d75bb8
    • Morten Johan Sørvig's avatar
      wasm: move event dispatcher implementation · 7b194ce3
      Morten Johan Sørvig authored
      
      Move the majority of the implementation from from
      qeventloop.cpp to qhtml5eventdispatcher.cpp. Keep
      the parts that handle nested event loops and app
      exit since they require access to QEventLoop internals.
      
      Change-Id: Ica344fdf7b3b7777985f7217e0c781580ec5e5b4
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      7b194ce3
    • Morten Johan Sørvig's avatar
      Add QUnixEventDispatcherQPAPrivate · e0265030
      Morten Johan Sørvig authored
      
      Standard QObjectPrivate subclass implementation.
      
      Change-Id: I017a9a68124ef13f410f9653d420aca89d406c71
      Reviewed-by: default avatarLorn Potter <lorn.potter@gmail.com>
      e0265030
  12. 31 May, 2018 - 1 commit
  13. 30 May, 2018 - 14 commits
  14. 29 May, 2018 - 1 commit