1. 11 8月, 2022 31 次提交
  2. 10 8月, 2022 9 次提交
    • A
      [wasm] Misc fixes (#73662) · 9b9ccf84
      Ankit Jain 提交于
      - Change base url used for generated code
      - Emit message about initial memory size, on native builds
      - Don't trigger all the mono jobs based on changes in `src/mono/wasm/debugger`
      - Also, truncate all protocol log messages to max line length of 64k. This reduces the proxy log file for tests from `1.0G` to `160M`.
        - truncating can be disabled by setting the environment variable `WASM_DONT_TRUNCATE_LOG_MESSAGES=1`.
      
      Fixes #71727
      Fixes #62736
      9b9ccf84
    • E
      87d5ece7
    • R
      Update dotnet/msquic ref to release/7.0 (#73641) · 90e58190
      Radek Zikmund 提交于
      * Update dotnet/msquic ref to release/7.0
      
      * Regenerate using darc
      90e58190
    • E
      Add Directory.CreateTempSubdirectory (#73408) · 9fd407ae
      Eric Erhardt 提交于
      * Add Directory.CreateTempSubdirectory
      
      CreateTempSubdirectory will create a new uniquely named directory under the temp directory. This allows applications to write temporary files in a co-located directory.
      
      Contributes to #72881
      9fd407ae
    • A
      Fix Android x86 Debug build (#73685) · a1ed8641
      Alexander Köplinger 提交于
      It was failing with
      
      ```
      pal_ifaddrs.c(315,67): error GBA20CE26: format specifies type 'unsigned long' but the argument has type 'unsigned int' [-Werror,-Wformat]
      ```
      a1ed8641
    • M
      [wasm] Update javascript API usage in samples and tests (#73367) · 30c1c2c2
      Marek Fišera 提交于
      - Use object instead of callback.
      - Replace bind_static_method with getAssemblyExports.
      - Drop MethodImplAttribute where JSExport is present.
      - Drop es6 from sample folder names.
      30c1c2c2
    • J
      Add `scoped` keyword where needed on interpolated string handlers (#73665) · 79a0df63
      Jeremy Barton 提交于
      Only two `ref struct` handlers are in dotnet/runtime:
      * DefaultInterpolatedStringHandler
      * MemoryExtensions.TryWriteInterpolatedStringHandler
      
      each of them only have two overloads of AppendFormatted that took
      a `ref struct` (always ReadOnlySpan<char>).
      
      DefaultInterpolatedStringHandler does have a Span parameter in a ctor,
      but that one does escape to the instance, so `scoped` isn't correct there.
      79a0df63
    • R
      Update MsQuic and use ConnectionCloseStatus in StreamShutdown (#73563) · 8a4de2eb
      Radek Zikmund 提交于
      * Update MsQuic and use ConnectionCloseStatus in StreamShutdown
      
      * Require MsQuic 2.1.*
      
      * Add a few comments
      8a4de2eb
    • M
      Fix preinit of types placing the same value in two fields (#73605) · bbcc0ab7
      Michal Strehovský 提交于
      We had a problem where types that put the same object instance in two different fields would see two different object instances at runtime due to two frozen objects being created for what should have been just one instance. (See the test.)
      
      Frozen objects were deriving their identity from the field to which they were assigned to so the problem fell out from this awkward design.
      
      The fix is actually a simplification - stop deriving object identity from field and use a "Allocation site ID" instead. The Allocation Site ID is a tuple of "Type whose cctor we were interpreting" + "instruction counter at the time of allocation". That way we can uniquely identify object instances and keep referring to objects allocated in different cctors.
      
      I've also lifted the limitation that instance delegates can only point to objects that were assigned to some fields in a different cctor because it's no longer required to limit it.
      bbcc0ab7