1. 14 Mar, 2021 2 commits
  2. 24 Feb, 2021 1 commit
  3. 15 Feb, 2021 1 commit
  4. 13 Feb, 2021 2 commits
  5. 12 Feb, 2021 2 commits
    • Florian Müllner's avatar
      Port to ES modules · ff19867a
      Florian Müllner authored
      gjs gained support for ES modules, which gives us a standardized way
      for imports/exports (with an extension for GI libraries) rather than
      the custom system that's in use now.
      
      GNOME/polari!176
      ff19867a
    • Florian Müllner's avatar
      Split out JS config · 4e86d80c
      Florian Müllner authored
      We currently set up all build-time variables in config.h, and
      pass the ones that are relevant to JS to package.start().
      
      That won't work when we switch to ES modules, as we'll handle
      over control to JS by evaluating a (module) file instead of an
      embedded script.
      
      Prepare for that by setting up a config.js file with the variables
      that are relevant for JS.
      
      GNOME/polari!176
      4e86d80c
  6. 07 Feb, 2021 2 commits
  7. 16 Jan, 2021 13 commits
  8. 11 Jan, 2021 2 commits
  9. 06 Jan, 2021 1 commit
  10. 18 Dec, 2020 2 commits
  11. 02 Dec, 2020 1 commit
    • Florian Müllner's avatar
      js: Promisify async operations · 042d62b6
      Florian Müllner authored
      Promises make asynchronous operations easier to manage, in particular
      when used through the async/await syntax that allows for asynchronous
      code to closely resemble synchronous one.
      
      gjs has included a Gio._promisify() helper for a while now, which
      monkey-patches methods that follow GIO's async pattern to return a
      Promise when called without a callback argument.
      
      Use that to get rid of all those GAsyncReadyCallbacks!
      
      GNOME/polari!169
      042d62b6
  12. 30 Nov, 2020 1 commit
  13. 27 Nov, 2020 7 commits
  14. 15 Nov, 2020 3 commits