aboutsummaryrefslogtreecommitdiffhomepage
AgeCommit message (Collapse)AuthorLines
2026-02-20Add builders for issue #1716Calvin Rose-2/+2
2026-02-20Suspicious locking behavior with select.Calvin Rose-0/+2
This looks like it could cause deadlocks with threaded channels (normal channels are unaffected, locking/unlocking is a no-op).
2026-02-20fix multicast on illumos (#1717)R Fisher-1/+1
illumos, like BSD, expects IP_MULTICAST_TTL to be an unsigned char
2026-02-18Prepare for next patch release.Calvin Rose-4/+7
2026-02-18Fix vestigial doc string.Calvin Rose-3/+1
2026-02-18Prepare for v1.41.2 and indicate vm changes for stack correction.v1.41.2Calvin Rose-0/+1
2026-02-181.42.2 patch.Calvin Rose-1/+1
2026-02-18Update for 1.41.2 patch.Calvin Rose-5/+5
2026-02-17Update CHANGELOG.mdCalvin Rose-0/+1
2026-02-17Generate JOP_PUT_INDEX in the compiler when possible.Calvin Rose-9/+26
2026-02-17Add regression test for issue #1714Calvin Rose-0/+8
2026-02-17Initialize memory allocated by put (#1715)Evan Shaw-0/+8
2026-02-16Use snprintf instead of sprintf - sequel (#1713)sogaiu-5/+6
Co-authored-by: sogaiu <983021772@users.noreply.github.com>
2026-02-16Code defensively with regard to stack resizes from custom get and putCalvin Rose-18/+59
for abstract types. Abstract types whose get/put/length/etc. implementations allocated fiber slots could break the VM by invalidating the stack pointer in the interpreter. This is admittedly a bit unusual but is something most users would probably expect to work. Debugging this would be a real pain.
2026-02-15Expose module/add-syspath and update CHANGELOG.mdCalvin Rose-1/+6
2026-02-15Don't reference argv after fiber may have been resized.Calvin Rose-2/+4
2026-02-15Improve ability to load modules by full path.Calvin Rose-1/+20
Be explicit when we are including this functionality. Add a function module/add-file-extension that can do this programatically.
2026-02-15Allow garbage collection to be called inside the module entry.Calvin Rose-0/+3
This usually shouldn't be needed, but in the case that it is, or if garbage collection is triggered manually, we can prevent use-after-free.
2026-02-15Remove macos-13Calvin Rose-1/+1
2026-02-15Patch release to 1.41.1v1.41.1Calvin Rose-5/+5
2026-02-15Add explicit include of inttypes.hCalvin Rose-0/+1
2026-02-15Use correct format specifier on windows if missing message.Calvin Rose-1/+1
2026-02-15Cosmo libc builds were not working.cosmo-fixupCalvin Rose-4/+23
2026-02-15Sort keys when compiling struct and table literals.Calvin Rose-4/+18
Order of evaluation becomes more clear in some cases.
2026-02-15Prepare for 1.41.0 releasev1.41.0Calvin Rose-1/+2
2026-02-14Work on windows for WSAConnect not working.Calvin Rose-5/+11
For remote connections, if you did not manually wait for the connection to settle, the programmer would see unspecified network errors. This is is because the underlying TCP Connection had not been established yet. The correct way to deal with this is to use ConnectEx if available instead of WSAConnect.
2026-02-14Update for msvc build.Calvin Rose-1/+1
2026-02-14Use snprintf instead of sprintf (#1711)sogaiu-3/+3
Co-authored-by: sogaiu <983021772@users.noreply.github.com>
2026-02-14When pretty printing, don't sort keys for huge tables.Calvin Rose-38/+61
This was exposed when printing `(invert (range 200000))`, which isn't so large that we shouldn't be able to sort it, but was taking far too long to compute.
2026-02-13Don't use preload on absolute paths.Calvin Rose-3/+8
When importing full paths, the old preload code was preventing (import <fullpath> :fresh true) from working as expected.
2026-02-06Merge branch 'make-modules-easier'Calvin Rose-8/+17
2026-02-06Remove extra output from peg test.Calvin Rose-3/+5
2026-02-06VERBOSE=1 caused tests to fail as we did more asserts inside the assert.Calvin Rose-9/+5
Thenc checked stderr for messages. Since the helper makes assert write to stderr, this caused extra cruft in our test output.
2026-02-06More tweaks to peg suite for arm32 failures.Calvin Rose-3/+5
2026-02-05Print "actual" output on verbose mode for suite-pegCalvin Rose-28/+36
2026-02-05Line endings in tests.Calvin Rose-2/+2
2026-02-05Update CHANGELOG.mdmake-modules-easierCalvin Rose-4/+7
2026-02-05Allow simpler loading of modules.Calvin Rose-4/+10
E.g. (import project/file.janet :as file) (import ./project/file.janet :as file) (import /home/me/project/file.janet :as file) Will now do what you expect. When loading with a file extension, this will first check directly if the relative (or absolute) path exists. Also expands `module/find` to be able to show all matches for a given module name without needing to try and catch import errors. Lastly, one can also override the module/find functionality by passing `:loader` directly. E.g. (import ./macoslib.dylib :loader :native :as my-thing) Which will allow easily bypassing all module/find logic; "./macoslib.dylib" will be passed directly to the :native loader `(get module/loaders :native)`. The module system was previously left open to customization but with defaults to encourage a more typical style. However, these qol improvements are more than worth it and can in some cases let people stop fighting the module system.
2026-02-05Auto-format janet.Calvin Rose-137/+138
2026-02-04Show accumulation buffer and tagged capture in peg debug rule.Calvin Rose-16/+81
2026-02-04Move peg debug output to stderr in line with other internal debug tools.Calvin Rose-17/+29
Also allow disabling color in the debug output.
2026-02-04Update changelog.Calvin Rose-0/+1
2026-02-04Add ??/debug PEG rule (#1710)0xbec163-0/+73
* Add debug (short-form ??) PEG rule * Display capture stack to debug PEG rule * Revise spec_debug to emit just the rule * Update to proper indentation Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Add a marshal/unmarshal test for ??/debug --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-02Speed up symbol resolution.Calvin Rose-18/+105
In my testing of `janet -l spork -e '(os/exit)'`, this speeds up compilation by ~5%. Allocating and interning symbols from C is often slow, so avoid it. Add utility function for looking up keywords in tables more quickly. More measurement on compiling spork for compilation speed, win over original code closer to between 1-2% improvement
2026-02-02Add unmarshal sandbox.Calvin Rose-1/+5
2026-02-02Add :compile, :asm, and :threads to sandbox flags.Calvin Rose-1/+14
These can be used to limit programs in a very expansive way.
2026-02-01More tweaks to changelog.Calvin Rose-0/+1
2026-02-01Update CHANGELOG.mdCalvin Rose-0/+4
2026-02-01Revert changes to peg grammar.Calvin Rose-2/+0
2026-02-01Merge pull request #1703 from amano-kenji/pegCalvin Rose-2/+4
Make peg-grammar available in all threads for peg/compile