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

4.3.5 #11724

Merged
merged 28 commits into from
Jul 18, 2024
Merged

4.3.5 #11724

merged 28 commits into from
Jul 18, 2024

Commits on Jun 28, 2024

  1. add missing recursion when checking abstract casts

    closes #11676
    Simn authored and kLabz committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    dffc733 View commit details
    Browse the repository at this point in the history
  2. [macro] Don't choke on namePos for reification pattern matching (#11671)

    * [macro] Don't choke on namePos for reification pattern matching
    
    * [tests] Add test for 11670
    
    * Do it like in #11433
    kLabz committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    e17d099 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    1d01a83 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    feb9728 View commit details
    Browse the repository at this point in the history
  5. also inherit @:keepSub while we're at it

    closes #6500
    kLabz committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    09bb931 View commit details
    Browse the repository at this point in the history
  6. [Pretty errors] Position file is already resolved, don't resolve again (

    #11700)
    
    * Pretty errors: pfile is already resolved
    
    * [tests] add test
    
    * Simplify test hxml
    kLabz committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    916fb07 View commit details
    Browse the repository at this point in the history
  7. fail nicer if unify_min can't find a common type

    closes #11684
    Simn authored and kLabz committed Jun 28, 2024
    Configuration menu
    Copy the full SHA
    c7e65bc View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    75b82f8 View commit details
    Browse the repository at this point in the history

Commits on Jul 18, 2024

  1. [4.3.5] Backport Json RPC diagnostics (#11707)

    * [display] diagnostics as json rpc (Backport #11412)
    
    * [tests] use json rpc diagnostics
    
    * [tests] Add test for 11695
    
    * [tests] Update diagnostics tests
    
    * Run some filters in diagnostics (#11220)
    
    * let's see how much breaks
    
    * [tests] enable diagnostics tests for 11177 and 11184
    
    * [tests] Update test for 5306
    
    * Don't cache/run filters for find reference/implementation requests (#11226)
    
    * Only run filters and save cache on diagnostics, not usage requests
    
    * [tests] Update test for 11184
    
    * disable test
    
    * add VUsedByTyper to avoid bad unused local errors
    
    * revert @:compilerGenerated change
    
    ---------
    
    Co-authored-by: Rudy Ges <[email protected]>
    
    * [display] get rid of TypeloadParse.current_stdin
    
    * [display] fix -D display-stdin handling
    
    * [display] generalize fileContents behavior to other json rpc display calls
    
    * [display] fix range of pattern variables
    
    Note: not including texprConverter changes
    
    see 160a490
    see #7282
    
    * [tests] add test for #7282
    
    * [tests] add test for #7931
    
    * Remove populateCacheFromDisplay config
    
    Legacy diagnostics = false, json rpc diagnostics = true
    
    * [std] Diagnostics request doc
    
    * [tests] Test Json RPC diagnostics with several open files
    
    * [diagnostics] fix multi display files (#11722)
    
    * [diagnostics] fix json rpc diagnostics display config
    
    * [tests] Server tests: do not fail silently when runHaxeJsonCb errors
    
    * [tests] add more diagnostics tests
    
    * [display] rework multiple display files handling
    
    * clean up a bit...
    
    * [diagnostics] handle a.b.c.hx case, even if pointless
    
    * [diagnostics] do not skip errors during DisplayProcessing.process_display_file
    
    * Enable display tests again...
    
    * [tests] fix display tests
    
    ---------
    
    Co-authored-by: Simon Krajewski <[email protected]>
    kLabz and Simn authored Jul 18, 2024
    Configuration menu
    Copy the full SHA
    f3ebf88 View commit details
    Browse the repository at this point in the history
  2. [ci] Build macOS universal binaries (#11572)

    * start messing
    
    * upd
    
    * Build universal binary before testing
    
    * separate job
    
    * Update macos ocaml version, fix warnings
    RblSb authored and kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    66ed49e View commit details
    Browse the repository at this point in the history
  3. [ci] Make mac universal builds more universal (#11663)

    * [ci] Install arm64 neko for arm64 mac builds
    
    * [ci] Create universal binary for haxelib
    
    * [ci] Build native haxelib binary on arm64 mac
    
    * [make] Use universal neko binaries for mac package
    
    It can still be configured to specific architectures if needed, using
    `PACKAGE_INSTALLER_MAC_ARCH`.
    
    * [make] Default to host arch for mac installer
    
    * [make] Use neko version 2.4.0-rc
    
    * [make] Use neko version 2.4.0-rc.1
    
    This version fixes a permission issue with universal mac binaries
    tobil4sk authored and kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    762fd2d View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    3f7a1da View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    0152556 View commit details
    Browse the repository at this point in the history
  6. Fix macOS CI. (#11503)

    Download zlib from the github release.
    Hopefully this URL will be stable.
    Remove those failing brew invocations.
    Remove unneeded dependencies in the Brewfile.
    Apprentice-Alchemist authored and kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    20423c5 View commit details
    Browse the repository at this point in the history
  7. [ci] update nsis

    kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    b8043e3 View commit details
    Browse the repository at this point in the history
  8. [ci] Specify macOS runner versions instead of using macos-latest. (#1…

    …1645)
    
    * [ci] Specify macOS runner versions instead of using macos-latest.
    
    Use `runner.arch` to decide where to upload the macOS artifacts.
    
    * [ci] Use macos-13 for tests.
    Apprentice-Alchemist authored and kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    26ce70b View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    53ae82f View commit details
    Browse the repository at this point in the history
  10. [CI] fix windows64 tests

    kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    d1ac29f View commit details
    Browse the repository at this point in the history
  11. [make] Generate haxelib binary with nekotools boot -c on Mac/Linux (#…

    …11653)
    
    * [make] Generate haxelib binary with `nekotools boot -c` on Mac/Linux
    
    `nekotools boot` is a bit of a hack and some tools that deal with executables on linux can strip away the haxelib bytecode if it is done this way.
    
    `nekotools boot -c` will generate a .c file which can then be compiled manually.
    
    * [make] Fix for unix platforms if PLATFORM is defined
    
    * [make] Set the HAXE_STD_PATH while building haxelib
    
    Otherwise it doesn't work if haxe isn't already installed, or it might use the wrong version of the standard library
    
    * [ci] Install missing neko headers during setup
    
    They are now needed for compiling haxelib
    
    * [ci] Ensure /usr/local/include exists before installing neko
    
    * [ci] Install neko headers for earthly builds as well
    
    * [make] Omit HAXE_STD_PATH when building haxelib on windows
    
    For some reason this environment variable isn't working here on Windows
    
    * [ci] Continue building x64 haxelib on mac arm64 for now
    
    We don't have neko binaries for mac arm64 yet
    
    `nekotools boot run.n` was previously also producing an x64 binary
    
    * [make] Set rpath on mac when building haxelib
    
    It looks like /usr/local/lib is no longer used as a default path in some cases.
    
    * [make] Set std path for haxelib build on windows
    tobil4sk authored and kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    edb46fa View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3478ca7 View commit details
    Browse the repository at this point in the history
  13. [hl] Fix do-while loop in genhl+hlopt (#11461)

    * [hl] Fix do-while loop in genhl+hlopt
    
    * remove can_do
    
    Closes #10783
    yuxiaomao authored and kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    10829a3 View commit details
    Browse the repository at this point in the history
  14. [tests] add test for 10783

    Simn authored and kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    3b5b3cc View commit details
    Browse the repository at this point in the history
  15. error if we inline a static local

    closes #11725
    Simn authored and kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    71307d6 View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    30b5a2d View commit details
    Browse the repository at this point in the history
  17. [display] file diagnostics should be DFPOnly

    Simn authored and kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    70f6aff View commit details
    Browse the repository at this point in the history
  18. Configuration menu
    Copy the full SHA
    09af53a View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    73e6151 View commit details
    Browse the repository at this point in the history
  20. 4.3.5

    kLabz committed Jul 18, 2024
    Configuration menu
    Copy the full SHA
    30e912c View commit details
    Browse the repository at this point in the history