Commit graph

  • de0f017540
    Refactor export tables for roblox builtin library Filip Tibell 2023-08-23 14:53:52 -05:00
  • 57e2072bc0
    Remove broken link in changelog Filip Tibell 2023-08-23 12:34:30 -05:00
  • c1876392bc
    Update changelog Filip Tibell 2023-08-23 12:09:06 -05:00
  • 52a6c4f4da
    Revert #85 to fix SIGSEGV Filip Tibell 2023-08-23 12:07:16 -05:00
  • 3b57d90a29
    fix: tag instead of version Erica Marigold 2023-08-23 21:07:15 +05:30
  • fa4ccc138a
    chore(deps): update chrono_locale Erica Marigold 2023-08-23 21:06:00 +05:30
  • 80341ce874
    chore(deps): bump chrono_locale rev Compey 2023-08-23 19:11:05 +05:30
  • 2efc0be6f7
    feat: finish DateTime implementation Compey 2023-08-23 19:05:01 +05:30
  • 40b1494536
    refactor: minor changes Compey 2023-08-23 18:18:42 +05:30
  • 83db30496d Add notes for future scheduler improvements, add wrapper structs for messaging Filip Tibell 2023-08-22 19:41:20 -05:00
  • 5ae8f662b9 Wait, context already works, what the heck Filip Tibell 2023-08-22 15:59:49 -05:00
  • fc90630781 Implement context preservation for Lune struct Filip Tibell 2023-08-22 15:51:28 -05:00
  • 3450d0ed4f Update dependencies Filip Tibell 2023-08-22 15:02:02 -05:00
  • b18e1ed519 Add new test for require while a background task is running Filip Tibell 2023-08-22 14:59:27 -05:00
  • 58d64fc0c8 Use default env filter for tracing Filip Tibell 2023-08-22 10:47:09 -05:00
  • 1cb8ea99a3 Raise tracing max level Filip Tibell 2023-08-22 10:38:08 -05:00
  • e5ed668a33 Improvements to scheduler futures resumption Filip Tibell 2023-08-22 10:36:45 -05:00
  • 38a91a3dc3 Implement tracing for scheduler, set to debug for now Filip Tibell 2023-08-22 09:43:27 -05:00
  • 5309060af8 Update changelog Filip Tibell 2023-08-21 22:22:08 -05:00
  • 1f11ceb91a Finish implementation of serve Filip Tibell 2023-08-21 21:41:05 -05:00
  • 609eba08a8 Implement handler calling for serve again, now with extra multithreading Filip Tibell 2023-08-21 20:59:43 -05:00
  • 851589c695 Add test for error global Filip Tibell 2023-08-21 19:10:20 -05:00
  • 2f3fb07b7c New net.serve implementation Filip Tibell 2023-08-21 12:39:43 -05:00
  • b4b119cf42 Rip out old net.serve implementation Filip Tibell 2023-08-21 11:46:02 -05:00
  • acae6a6369 Get rid of lua lifetime in scheduler, add scheduler documentation Filip Tibell 2023-08-21 10:47:43 -05:00
  • 8e4fc4b65e Add descriptive error messages for lua registry and oom Filip Tibell 2023-08-21 10:16:17 -05:00
  • 30dc027e3e Clean up interrupt listener Filip Tibell 2023-08-21 09:57:55 -05:00
  • 888f00dd8b Rename scheduler methods to be consistent with tokio, more obvious Filip Tibell 2023-08-21 09:52:38 -05:00
  • dbf5c989c2 Make task.wait test a bit more lenient Filip Tibell 2023-08-20 21:54:45 -05:00
  • 3f5371a7c1 Figure out how to solve background tasks in new scheduler Filip Tibell 2023-08-20 21:53:21 -05:00
  • 70caf89295 Fix typeof function registry key not being unique Filip Tibell 2023-08-20 21:38:36 -05:00
  • 49864eb162 More accurate task.wait benchmarks in test Filip Tibell 2023-08-20 21:15:50 -05:00
  • d7404679c7 More robust task.spawn implementation Filip Tibell 2023-08-20 21:15:22 -05:00
  • ecf5c9db44 Replace result with expect for process.spawn Filip Tibell 2023-08-20 20:58:28 -05:00
  • 5dd5fb2ad1 Remove unnecessary static lifetime from process.spawn Filip Tibell 2023-08-20 20:54:11 -05:00
  • e3449e7fd9 Run process.spawn on separate thread, if possible Filip Tibell 2023-08-20 20:51:42 -05:00
  • 6db01d7b94 Clean up process spawn options Filip Tibell 2023-08-20 20:45:24 -05:00
  • 1baf10fa87 Fix custom typeof function being recursivve Filip Tibell 2023-08-20 20:05:58 -05:00
  • 02c9bce645 Add test to ensure warn global exists and is a function Filip Tibell 2023-08-20 20:02:01 -05:00
  • 4412d02b34 Add back typeof global Filip Tibell 2023-08-20 19:58:00 -05:00
  • 9b4ca94c13 Add back print and warn globals Filip Tibell 2023-08-20 19:54:29 -05:00
  • 029873fd5f Store net client in registry instead of app data, remove require context from registry Filip Tibell 2023-08-20 19:34:35 -05:00
  • 616846c316 Fix web sockets using old registry values Filip Tibell 2023-08-20 19:26:34 -05:00
  • ebdc8a6261 Remove old lune lib Filip Tibell 2023-08-20 19:18:16 -05:00
  • 90fce384d0 Fix net client app data Filip Tibell 2023-08-20 19:13:00 -05:00
  • 3b0f6ebab2 Add fixme note to process spawn test Filip Tibell 2023-08-20 18:59:11 -05:00
  • 59788d9116 Use app data for net builtin client Filip Tibell 2023-08-20 18:56:28 -05:00
  • 59aef5c170 Split scheduler futures into lua & background, improve async tests Filip Tibell 2023-08-20 18:54:34 -05:00
  • 9bb3854554 Net serve test improvements, add some impl notes to scheduler Filip Tibell 2023-08-20 16:55:06 -05:00
  • a3b364ae23 Start work on background tasks Filip Tibell 2023-08-20 16:20:45 -05:00
  • f0099ac5e8 Figure out whats causing sigsegv Filip Tibell 2023-08-20 15:29:36 -05:00
  • 577f8d7928 Remove usage of unstable mlua feature Filip Tibell 2023-08-20 15:22:16 -05:00
  • dc6903cfae Rename scheduler struct member Filip Tibell 2023-08-20 15:12:29 -05:00
  • 57677278c4 Fix pcall test, improve scheduler panic message Filip Tibell 2023-08-20 15:07:02 -05:00
  • 5905b2d6cf Add back support for init files in require Filip Tibell 2023-08-20 15:01:20 -05:00
  • 3cd7a8945c Fix wait_for_thread and remove debugging for it Filip Tibell 2023-08-20 14:56:58 -05:00
  • 98bb475afe Use real thread ids instead of randomized ones Filip Tibell 2023-08-20 14:22:27 -05:00
  • 7e7cfd7cd0 Add some different debugging Filip Tibell 2023-08-20 14:11:48 -05:00
  • a8db74d40d Remove debugging Filip Tibell 2023-08-20 14:02:48 -05:00
  • 3ab15e63e8 Fix new lua threads not breaking scheduler out of futures resumption Filip Tibell 2023-08-20 14:01:34 -05:00
  • ee21921601 Add some debugging for require Filip Tibell 2023-08-20 13:44:52 -05:00
  • 4eb7d5ab8b Support require without extension for path requires Filip Tibell 2023-08-20 12:27:34 -05:00
  • 38994b941c Store reference to lua in require context Filip Tibell 2023-08-20 12:01:28 -05:00
  • 9182427a0a Fix async require cache, unify relative and cwd-relative require functions Filip Tibell 2023-08-20 11:46:38 -05:00
  • d6c31f67ba Implement functionality necessary for relative path requires Filip Tibell 2023-08-19 23:00:05 -05:00
  • a91e24eb01 Make it easier to emit formatted lua errors Filip Tibell 2023-08-19 21:59:05 -05:00
  • c484ae73d6 Add back net builtin Filip Tibell 2023-08-19 20:22:11 -05:00
  • d40a7b6b4f Add back roblox builtin Filip Tibell 2023-08-19 20:01:55 -05:00
  • 8a2c5f65bb Add back process builtin Filip Tibell 2023-08-19 19:43:08 -05:00
  • 67e1d6c7fc Add back fs builtin Filip Tibell 2023-08-19 19:26:12 -05:00
  • 780f155377 Add back serde builtin Filip Tibell 2023-08-19 19:22:55 -05:00
  • d6dbe5c861 Add back luau builtin Filip Tibell 2023-08-19 19:18:36 -05:00
  • 73361d5a52 Add back stdio builtin and pretty error formatting Filip Tibell 2023-08-19 19:13:50 -05:00
  • e4cf40789c Dont try to resume dead threads in the scheduler Filip Tibell 2023-08-19 18:44:43 -05:00
  • 0757d6f293 Initial implementation of builtin libraries, task library Filip Tibell 2023-08-19 18:42:28 -05:00
  • 7a63987cbe Bring back version global Filip Tibell 2023-08-19 17:34:15 -05:00
  • 24b6498774 Rename version global test Filip Tibell 2023-08-19 17:27:42 -05:00
  • 2762a43dbb Add back _G table Filip Tibell 2023-08-19 17:23:40 -05:00
  • b69f824b57 Pretty-print lua errors Filip Tibell 2023-08-19 17:15:24 -05:00
  • 4acc730d38 Ensure thread safety of scheduler state Filip Tibell 2023-08-19 17:09:13 -05:00
  • b1847bf84c Add documentation for scheduler state Filip Tibell 2023-08-19 16:45:46 -05:00
  • 2960f960de More robust scheduler error resumption mechanism Filip Tibell 2023-08-19 16:38:07 -05:00
  • dcb989fd92 Implement basic abs path require, propagate async errors back to lua threads Filip Tibell 2023-08-19 16:06:12 -05:00
  • bcef44e286 Implement bulk of new require behavior Filip Tibell 2023-08-19 15:31:17 -05:00
  • 7d73601a58 Initial scaffolding to get custom globals and require working Filip Tibell 2023-08-18 16:35:33 -05:00
  • 7fe43a969f Use static lifetime bound instead of spamming actual static lifetime Filip Tibell 2023-08-18 14:03:06 -05:00
  • 0dbf466817 Add back lua lifetime to scheduler Filip Tibell 2023-08-18 13:57:31 -05:00
  • 6e83958653 Remove mlua macros feature Filip Tibell 2023-08-18 13:55:09 -05:00
  • b4bbc0630a Add table builder util Filip Tibell 2023-08-18 13:50:04 -05:00
  • 1f72033a6a Use static lua for now, to make lifetimes work Filip Tibell 2023-08-18 13:43:18 -05:00
  • e1fa89cf60 Some lifetime and async arg improvements Filip Tibell 2023-08-18 12:23:26 -05:00
  • 62e6130223 Relax scheduler method args since lifetimes are now correct Filip Tibell 2023-08-18 09:36:08 -05:00
  • dc80b1c28f Scheduler now manages entire Lua struct, elide lifetimes where possible Filip Tibell 2023-08-18 09:20:35 -05:00
  • 1b7287a742 Methods take owned threads Filip Tibell 2023-08-17 21:37:09 -05:00
  • ab386e000d Add lifetimes because they are fun Filip Tibell 2023-08-17 21:24:20 -05:00
  • 6416ef5fb7 More work on scheduler async stuff Filip Tibell 2023-08-17 20:00:01 -05:00
  • e08908e22e Update mlua version Filip Tibell 2023-08-17 18:54:05 -05:00
  • 7c8af9730f Some work on async functions for new scheduler Filip Tibell 2023-08-17 00:23:20 -05:00
  • 0a5305b947 Add api for scheduling plain futures in scheduler Filip Tibell 2023-08-16 22:51:40 -05:00
  • eafc42531f Implement futures resumption Filip Tibell 2023-08-16 22:40:59 -05:00