Skip to content
Snippets Groups Projects
  1. Aug 23, 2022
  2. Aug 03, 2022
    • Ben Dean-Kawamura's avatar
      Bug 1766045 - Initial work for UniFFI JS bindings r=nika · 1cf71b70
      Ben Dean-Kawamura authored
      Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
      is completely static and doesn't need to be generated.
      
      There's support for both synchronus and async functions, but we haven't
      decided the how we want this to be configured.  In practice, almost all
      functions will need to be async, so for now we're just forcing all
      functions to be.
      
      The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
      bindings.  This binary needs to be fed a list of UDL files, the path of
      the .cpp file to generate, and the directory to generate .jsm files in
      (and also all of those arguments again, but for the test fixtures).
      This is quiet a horrible UI, but it's going to be wrapped in a mach
      command.
      
      The `uniffi-js` directory contains shared C++ code for
      `uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
      functionality here and have the generated code simply forward function
      calls here.
      
      Still Todo:
        - CallbackInterfaces
        - Custom and external types
        - Datetime and TimeInterval
      
      Differential Revision: https://phabricator.services.mozilla.com/D144472
      1cf71b70
    • Butkovits Atila's avatar
      Backed out 6 changesets (bug 1766045) for causing build bustages. CLOSED TREE · a8ad39a2
      Butkovits Atila authored
      Backed out changeset 113593df6272 (bug 1766045)
      Backed out changeset f137315bb6af (bug 1766045)
      Backed out changeset d86ad195a9a0 (bug 1766045)
      Backed out changeset e8bc2ec40cff (bug 1766045)
      Backed out changeset 2d33e41ac507 (bug 1766045)
      Backed out changeset 4d5874e16302 (bug 1766045)
      a8ad39a2
    • Ben Dean-Kawamura's avatar
      Bug 1766045 - Initial work for UniFFI JS bindings r=nika · 703dbdfe
      Ben Dean-Kawamura authored
      Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
      is completely static and doesn't need to be generated.
      
      There's support for both synchronus and async functions, but we haven't
      decided the how we want this to be configured.  In practice, almost all
      functions will need to be async, so for now we're just forcing all
      functions to be.
      
      The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
      bindings.  This binary needs to be fed a list of UDL files, the path of
      the .cpp file to generate, and the directory to generate .jsm files in
      (and also all of those arguments again, but for the test fixtures).
      This is quiet a horrible UI, but it's going to be wrapped in a mach
      command.
      
      The `uniffi-js` directory contains shared C++ code for
      `uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
      functionality here and have the generated code simply forward function
      calls here.
      
      Still Todo:
        - CallbackInterfaces
        - Custom and external types
        - Datetime and TimeInterval
      
      Differential Revision: https://phabricator.services.mozilla.com/D144472
      703dbdfe
  3. Aug 02, 2022
    • criss's avatar
      Backed out 2 changesets (bug 1766045) for causing Bp-hybrid failures on... · 04616ca5
      criss authored
      Backed out 2 changesets (bug 1766045) for causing Bp-hybrid failures on UniFFIGeneratedScaffolding.cpp
      
      Backed out changeset 5708672d0e83 (bug 1766045)
      Backed out changeset cc77fd5ec7a8 (bug 1766045)
      04616ca5
    • Ben Dean-Kawamura's avatar
      Bug 1766045 - Initial work for UniFFI JS bindings r=nika · c1816bab
      Ben Dean-Kawamura authored
      Generate the C++ and JS code to handle UniFFI bindings.  The WebIDL code
      is completely static and doesn't need to be generated.
      
      There's support for both synchronus and async functions, but we haven't
      decided the how we want this to be configured.  In practice, almost all
      functions will need to be async, so for now we're just forcing all
      functions to be.
      
      The `uniffi-bindgen-gecko-js` crate builds the binary that generates the
      bindings.  This binary needs to be fed a list of UDL files, the path of
      the .cpp file to generate, and the directory to generate .jsm files in
      (and also all of those arguments again, but for the test fixtures).
      This is quiet a horrible UI, but it's going to be wrapped in a mach
      command.
      
      The `uniffi-js` directory contains shared C++ code for
      `uniffi-bindgen-gecko-js`.  As much as possible we tried to put the
      functionality here and have the generated code simply forward function
      calls here.
      
      Still Todo:
        - CallbackInterfaces
        - Custom and external types
        - Datetime and TimeInterval
      
      Differential Revision: https://phabricator.services.mozilla.com/D144472
      c1816bab
  4. Jul 06, 2022
  5. Jun 27, 2022
  6. Apr 19, 2022
  7. Jan 24, 2022
  8. Dec 06, 2021
  9. Dec 03, 2021
  10. Nov 27, 2021
  11. Oct 18, 2021
  12. Oct 14, 2021
    • Butkovits Atila's avatar
      Backed out 9 changesets (bug 1719746, bug 1735341) as requested by dev. CLOSED TREE · c8101d20
      Butkovits Atila authored
      Backed out changeset f1b3e7dec7e2 (bug 1735341)
      Backed out changeset e7675e3524da (bug 1719746)
      Backed out changeset 05109157a4b5 (bug 1719746)
      Backed out changeset b98f10477f44 (bug 1719746)
      Backed out changeset dce9c0d6c79c (bug 1719746)
      Backed out changeset 472767f43cad (bug 1719746)
      Backed out changeset 4fa55bded471 (bug 1719746)
      Backed out changeset 391c305dce1f (bug 1719746)
      Backed out changeset 5f20632de2be (bug 1719746)
      c8101d20
    • Butkovits Atila's avatar
      Backed out 9 changesets (bug 1719746, bug 1735341) as requested by dev. CLOSED TREE · 7495be35
      Butkovits Atila authored
      Backed out changeset f1b3e7dec7e2 (bug 1735341)
      Backed out changeset e7675e3524da (bug 1719746)
      Backed out changeset 05109157a4b5 (bug 1719746)
      Backed out changeset b98f10477f44 (bug 1719746)
      Backed out changeset dce9c0d6c79c (bug 1719746)
      Backed out changeset 472767f43cad (bug 1719746)
      Backed out changeset 4fa55bded471 (bug 1719746)
      Backed out changeset 391c305dce1f (bug 1719746)
      Backed out changeset 5f20632de2be (bug 1719746)
      7495be35
  13. Oct 13, 2021
  14. Sep 03, 2021
  15. Jul 07, 2021
  16. Jun 09, 2021
  17. Jan 28, 2021
  18. Jan 27, 2021
  19. Jan 14, 2021
  20. Oct 02, 2020
  21. Sep 30, 2020
  22. Sep 22, 2020
  23. Jul 09, 2020
  24. Jun 04, 2020
  25. May 07, 2020
  26. Apr 15, 2020
  27. Feb 12, 2020
Loading