1. 22 Mar, 2021 1 commit
  2. 16 Mar, 2021 1 commit
  3. 14 Mar, 2021 1 commit
  4. 24 Feb, 2021 1 commit
  5. 15 Feb, 2021 1 commit
  6. 13 Feb, 2021 2 commits
  7. 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.
      
      !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.
      
      !176
      4e86d80c
  8. 07 Feb, 2021 2 commits
    • Florian Müllner's avatar
      ircParser: Define N_() · 4a6c0aed
      Florian Müllner authored
      Not sure how we got away with this until now ...
      
      !176
      4a6c0aed
    • Florian Müllner's avatar
      main: Set up correct typelib/library path · 7755faa8
      Florian Müllner authored
      Currently it doesn't matter that the search path we set doesn't match
      the install location of the typelib, as imports.package sets up the
      correct paths for us later.
      
      However that will stop working when we switch to ES modules for imports,
      so prepare for that by setting up the correct paths.
      
      !176
      7755faa8
  9. 16 Jan, 2021 13 commits
  10. 11 Jan, 2021 2 commits
  11. 06 Jan, 2021 1 commit
  12. 18 Dec, 2020 2 commits
  13. 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!
      
      !169
      042d62b6
  14. 30 Nov, 2020 1 commit
  15. 27 Nov, 2020 7 commits
  16. 15 Nov, 2020 2 commits