Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove remaining CRT PAL wrappers and enable including standard headers in the CoreCLR build #98336

Merged
merged 68 commits into from
Apr 4, 2024

Commits on Feb 15, 2024

  1. Remove PAL_exit as the only usages are in places where we don't use P…

    …AL features that would need global cleanup before process exit.
    jkoritzinsky committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    ffee875 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    04ea4b4 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2527c50 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    610d49f View commit details
    Browse the repository at this point in the history
  5. Remove malloc PAL API and update the few places that could have passe…

    …d in a zero size to bump it to 1 manually on all platforms.
    jkoritzinsky committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    6f5d947 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    33f3224 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    86f4ea7 View commit details
    Browse the repository at this point in the history
  8. Explicitly use the PAL's getenv implementation in the few places we w…

    …ere using it through the define.
    jkoritzinsky committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    865eefb View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    188b02d View commit details
    Browse the repository at this point in the history
  10. Remove bsearch and qsort PAL APIs as they only forward to the underly…

    …ing impl and maintain PAL logging
    jkoritzinsky committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    57e6a10 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    b528590 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    309e330 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    108f83d View commit details
    Browse the repository at this point in the history
  14. Remove duplicate definitions, fix callconv build failure. Disable war…

    …ning on GCC that catches more cases than Clang, at least for now
    jkoritzinsky committed Feb 15, 2024
    Configuration menu
    Copy the full SHA
    16a04e0 View commit details
    Browse the repository at this point in the history

Commits on Feb 16, 2024

  1. Force C++ linkage when including the C++ standard headers (some files…

    … in the build include the PAL headers in an extern C block)
    jkoritzinsky committed Feb 16, 2024
    Configuration menu
    Copy the full SHA
    d8afe1d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e8c8846 View commit details
    Browse the repository at this point in the history

Commits on Feb 20, 2024

  1. Fix some build errors

    jkoritzinsky committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    ce1f3e3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    03963c5 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    c7e6dc3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    03a06fb View commit details
    Browse the repository at this point in the history
  5. Fix more build failures

    jkoritzinsky committed Feb 20, 2024
    Configuration menu
    Copy the full SHA
    54d2c8e View commit details
    Browse the repository at this point in the history

Commits on Feb 23, 2024

  1. Configuration menu
    Copy the full SHA
    90ad1fe View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. Configuration menu
    Copy the full SHA
    a024484 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    d3aec5e View commit details
    Browse the repository at this point in the history

Commits on Mar 8, 2024

  1. Configuration menu
    Copy the full SHA
    27fd400 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    0c4e83a View commit details
    Browse the repository at this point in the history
  3. Define RC_INVOKED when preprocessing RC files and fix more NULL->TADD…

    …R/PCODE conversions for GCC
    jkoritzinsky committed Mar 8, 2024
    Configuration menu
    Copy the full SHA
    5cfe483 View commit details
    Browse the repository at this point in the history

Commits on Mar 11, 2024

  1. Disable the NULL arithmetic and conversion warnings in CoreCLR to avo…

    …id making more NULL fixes than the CRT changes.
    jkoritzinsky committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    d49ae0c View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    75529ac View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    83a4d19 View commit details
    Browse the repository at this point in the history
  4. Further build fixes

    jkoritzinsky committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    2d195d1 View commit details
    Browse the repository at this point in the history
  5. Apply format patch

    jkoritzinsky committed Mar 11, 2024
    Configuration menu
    Copy the full SHA
    110965d View commit details
    Browse the repository at this point in the history

Commits on Mar 12, 2024

  1. Configuration menu
    Copy the full SHA
    141f08c View commit details
    Browse the repository at this point in the history
  2. Ensure that we're doing an unsigned compare with the result of unsign…

    …ed abs, not converting back to a signed compare (which would produce the incorrect result for SSIZE_T_MIN)
    jkoritzinsky committed Mar 12, 2024
    Configuration menu
    Copy the full SHA
    ab910e6 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2ae3160 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    2e45f86 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a11db1d View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    bae9c94 View commit details
    Browse the repository at this point in the history

Commits on Mar 13, 2024

  1. Remove constant manipulation as that wasn't the problem and add missi…

    …ng include for Windows debug build.
    jkoritzinsky committed Mar 13, 2024
    Configuration menu
    Copy the full SHA
    cf9efb2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    eb0180d View commit details
    Browse the repository at this point in the history

Commits on Mar 14, 2024

  1. Configuration menu
    Copy the full SHA
    fb30172 View commit details
    Browse the repository at this point in the history
  2. Remove PAL_STDCPP_COMPAT and remove min/max macro in the GC space and…

    … use the better-inference implementation from the JIT in the GC as well.
    jkoritzinsky committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    93c34c4 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' of github.com:dotnet/runtime into misc-pal

    # Conflicts:
    #	src/coreclr/jit/fgdiagnostic.cpp
    jkoritzinsky committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    d5b82a1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1a0ee6c View commit details
    Browse the repository at this point in the history
  5. Fix build errors

    jkoritzinsky committed Mar 14, 2024
    Configuration menu
    Copy the full SHA
    57ed663 View commit details
    Browse the repository at this point in the history

Commits on Mar 15, 2024

  1. Set NOMINMAX globally and move the CoreCLR and NativeAOT builds to ne…

    …ver use min/max macros, even on Windows.
    jkoritzinsky committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    705bf68 View commit details
    Browse the repository at this point in the history
  2. Move standard headers to the top to avoid having the "debug return" m…

    …acro interfering with those includes. Fix some pointer assignments now that this puts NULL in scope earlier.
    jkoritzinsky committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    12a6143 View commit details
    Browse the repository at this point in the history
  3. Use set_property to append the RC_INVOKED define instead of overwri…

    …ting all source-file-level compiler definitions.
    jkoritzinsky committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    a686376 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    cef5418 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    23f2792 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    283f254 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    ee084ec View commit details
    Browse the repository at this point in the history
  8. More min/max fixes...

    jkoritzinsky committed Mar 15, 2024
    Configuration menu
    Copy the full SHA
    aa54b3f View commit details
    Browse the repository at this point in the history

Commits on Mar 18, 2024

  1. Configuration menu
    Copy the full SHA
    03b42c6 View commit details
    Browse the repository at this point in the history

Commits on Apr 1, 2024

  1. Remove USE_STL

    jkoritzinsky committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    80c56da View commit details
    Browse the repository at this point in the history
  2. PR feedback

    jkoritzinsky committed Apr 1, 2024
    Configuration menu
    Copy the full SHA
    0092a92 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    93be569 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    5dddd14 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    f9647e5 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Configuration menu
    Copy the full SHA
    25c9976 View commit details
    Browse the repository at this point in the history
  2. Fix failures on linux-x64 and when using a compiler that can actually…

    … enforce C++11 compliance vs C++14 compliance.
    jkoritzinsky committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    7315beb View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' of github.com:dotnet/runtime into misc-pal

    # Conflicts:
    #	src/coreclr/jit/emitarm64.cpp
    jkoritzinsky committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    3b8e067 View commit details
    Browse the repository at this point in the history
  4. Fix build

    jkoritzinsky committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    e71df2d View commit details
    Browse the repository at this point in the history

Commits on Apr 3, 2024

  1. PR feedback

    jkoritzinsky committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    140313a View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    e9c5d90 View commit details
    Browse the repository at this point in the history
  3. Convert (TADDR)NULL to (TADDR)0 in places where (TADDR)NULL was not a…

    …lready in use before this PR.
    jkoritzinsky committed Apr 3, 2024
    Configuration menu
    Copy the full SHA
    fca86d3 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3701d49 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a0e2e3d View commit details
    Browse the repository at this point in the history