Skip to content
Snippets Groups Projects
This project is mirrored from https://git.alchemyviewer.org/alchemy/alchemy-next.git. Pull mirroring failed .
Repository mirroring has been paused due to too many failed attempts. It can be resumed by a project maintainer or owner.
  1. May 19, 2023
  2. May 17, 2023
  3. May 15, 2023
  4. May 09, 2023
  5. May 04, 2023
  6. May 03, 2023
    • Nat Goodspeed's avatar
      SL-19647: Eliminate LLSDArray entirely. · e7c5b9fb
      Nat Goodspeed authored
      Newer C++ compilers have different semantics around LLSDArray's special copy
      constructor, which was essential to proper LLSD nesting. In short, we can no
      longer trust LLSDArray to behave correctly. Now that we have variadic
      functions, get rid of LLSDArray and replace every reference with llsd::array().
      e7c5b9fb
    • Nat Goodspeed's avatar
      DRTVWR-575: Replace some LLSDArray() usage with llsd::array(). · 3c77c1b9
      Nat Goodspeed authored
      It seems newer compilers have a different interpretation of exactly when to
      engage LLSDArray's copy constructor. In particular, this assignment:
      
      some_LLSD_map[key] = LLSDArray(...)(...)...;
      
      used to convert the LLSDArray object directly to LLSD; now it first calls the
      custom copy constructor, which embeds the intended array within an outer array
      before assigning it into the containing map.
      
      The newer llsd::array() function avoids that problem because what it returns
      is already an LLSD object.
      
      Taking inventory of LLSDArray assignments of that form turned up a number of
      workarounds like LLSD(LLSDArray(...)). Replacing those with llsd::array() is
      both simpler and more readable.
      
      Tip of the hat to Chorazinallen for surfacing this issue!
      
      (cherry picked from commit bb718155)
      3c77c1b9
  7. May 02, 2023
  8. Apr 30, 2023
  9. Apr 19, 2023
  10. Apr 17, 2023
  11. Apr 03, 2023
  12. Mar 31, 2023
  13. Mar 30, 2023
  14. Mar 29, 2023
  15. Mar 27, 2023
  16. Mar 24, 2023
  17. Mar 23, 2023
  18. Mar 22, 2023
  19. Mar 20, 2023
  20. Mar 19, 2023
Loading