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

Feat/typedefs #36

Merged
merged 23 commits into from
Jun 30, 2024
Merged

Feat/typedefs #36

merged 23 commits into from
Jun 30, 2024

Commits on Jun 24, 2024

  1. refactor(lib/*/api.js): remove lib_api_typed import

    lostrepo committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    fbc72fb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ac90ac1 View commit details
    Browse the repository at this point in the history
  3. refactor(lib/*/api.js): cast structs as const

    lostrepo committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    17131a7 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    d70bf18 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    30c0dbd View commit details
    Browse the repository at this point in the history
  6. feat(init, type): added type generation "lo type <config.js path>"

    "lo init" doesn't modify existing files except ones generated by internal "lo type" call
    files generated by "lo type" can be removed (but must update binding symbols)
    lostrepo committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    bce012f View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    0e4ca57 View commit details
    Browse the repository at this point in the history
  8. feat(init, type): improve generated readme

    lostrepo committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    1a53b9e View commit details
    Browse the repository at this point in the history
  9. fix(init, type): reduce apis.all.d.ts file writes

    lostrepo committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    8dab870 View commit details
    Browse the repository at this point in the history
  10. fix(makefile): disable weird c++20 template-id-cdtor warning

    we use -std=c++17
    ./v8/include/v8-local-handle.h:401:30: error: template-id not allowed for constructor in C++20
    lostrepo committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    cd0cee8 View commit details
    Browse the repository at this point in the history
  11. refactor: remove generated *.d.ts files

    lostrepo committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    4268c8c View commit details
    Browse the repository at this point in the history
  12. feat(types): add global.gc, global.Iterator types

    lostrepo committed Jun 24, 2024
    Configuration menu
    Copy the full SHA
    5b43f43 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    75d3f85 View commit details
    Browse the repository at this point in the history

Commits on Jun 29, 2024

  1. Configuration menu
    Copy the full SHA
    be39a27 View commit details
    Browse the repository at this point in the history
  2. fix(lib/build.js): remove -Wno-template-id-cdtor

    use LO_WARN environment variable if breaking fixes like that are needed for local development
    lostrepo committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    0eca332 View commit details
    Browse the repository at this point in the history
  3. feat(lib/libssl.js): expose get_libssl/get_boringssl for proper type …

    …hints
    
    ts bails on intersections of complex types
    lostrepo committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    6c3a898 View commit details
    Browse the repository at this point in the history
  4. feat(lib/net.js): add types, remove hardcoded consts

    few hardcoded consts still remain
    lostrepo committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    436a06f View commit details
    Browse the repository at this point in the history
  5. feat(lib/loop.js): add OS support to types

    replace Core.os: OS with Core.os: CurrentRuntimeGenerics['os']
    later do the same for arch, engine so unreachable (lo.core[<runtime_generic>] === 'value') checks will be marked red by type checker and it'll infer correct types without us writing extra d.ts files
    lostrepo committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    c8877c9 View commit details
    Browse the repository at this point in the history
  6. feat(lib/timer.js): added types

    lostrepo committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    5b13363 View commit details
    Browse the repository at this point in the history
  7. feat(lib/[inflate|untar|zlib].js): added types

    lostrepo committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    a2087d4 View commit details
    Browse the repository at this point in the history
  8. fix(lib/hash.js): removed native lib prop override

    lostrepo committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    cca7fe2 View commit details
    Browse the repository at this point in the history
  9. feat(lib/[fs|thread].js): added types

    lostrepo committed Jun 29, 2024
    Configuration menu
    Copy the full SHA
    cb6651f View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    6faf8e5 View commit details
    Browse the repository at this point in the history