Ecosyste.ms: OpenCollective

An open API service for software projects hosted on Open Collective.

Opal

Ruby 💛 JavaScript
Collective - Host: opensource - https://opencollective.com/opal - Website: https://opalrb.com - Code: https://github.com/opal/opal

Update UNRELEASED.md

github.com/opal/opal - dc5e1d241c7206303a1c75dbab4484971bccecd5 authored almost 3 years ago by Elia Schito <[email protected]>
Merge pull request #2385 from takaram/fix_zsuper_with_js_reserved_word

Fix zsuper with args named with js reserved word

github.com/opal/opal - 3c52c42350b64b7ee901de038d4a2430f5091202 authored almost 3 years ago by Elia Schito <[email protected]>
Fix zsuper with args named with js reserved word

Fixes #2361

github.com/opal/opal - a8c69256e68a4fdecb8188ebd25bea6d9493772c authored almost 3 years ago by Takuya Aramaki <[email protected]>
Merge pull request #2382 from opal/hmdne/gha-head-ruby

GHA: Test head Ruby

github.com/opal/opal - a46adeac3cb7b5e13a8ac9e77dd3aa11278ccef8 authored almost 3 years ago by hmdne <[email protected]>
GHA: Test head Ruby, test 3.1

github.com/opal/opal - 45a132846ac2531f4486a3cd89d06d4ea34b94f4 authored almost 3 years ago by hmdne <[email protected]>
Release v1.4.0

github.com/opal/opal - 6e6af72e6ba246118fd812e62590845a28c3a27c authored almost 3 years ago by Elia Schito <[email protected]>
Merge pull request #2377 from opal/hmdne/revert-2345

Revert "Fix defining multiple methods with the same block"

github.com/opal/opal - 19e1a5e55ae42ac37c84e9dc943018a6824f71d7 authored almost 3 years ago by Elia Schito <[email protected]>
Merge pull request #2378 from opal/hmdne/fix-ml-xstr-case-asgn

Fix multiline x-string in a case assignment

github.com/opal/opal - b969356a063dc4695878b0db97e023ba02b48429 authored almost 3 years ago by Elia Schito <[email protected]>
Fix multiline x-string in a case assignment

github.com/opal/opal - 214ffe30900b695d040c0dabcd008f8651e3a85a authored almost 3 years ago by hmdne <[email protected]>
Update UNRELEASED.md

github.com/opal/opal - 8e3f1175ef900bd950d5f6441e13b3b7212341c6 authored almost 3 years ago by hmdne <[email protected]>
Revert "Fix defining multiple methods with the same block"

This reverts commit 3eacd508eb55daa34198330bf6820579428d845d.

github.com/opal/opal - 787c6065ff6045c57aeb3c98e887c920fb1270c7 authored almost 3 years ago by hmdne <[email protected]>
Update the release date for v1.4.0.alpha1

github.com/opal/opal - 9602ec806abc6830d1df2018fb11e6549896c0df authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2374 from opal/elia/doc-fixes

Docs & opal/platform fixes

github.com/opal/opal - 24ef00edb15d3860260d869cfe839ee39ab2d8b7 authored about 3 years ago by Elia Schito <[email protected]>
Declare opalminiracer as a global in stdlib/opal/miniracer

github.com/opal/opal - 45d79a3ff1b44036b17e2225c5dc529bb446cece authored about 3 years ago by Elia Schito <[email protected]>
Improve the readability of opal/platform

github.com/opal/opal - 78978eb888bc7b7fddda5a25203371848d3764ac authored about 3 years ago by Elia Schito <[email protected]>
Move the generic nodejs Process::Status implementation to corelib

Also remove requiring "native" which is not used here.

github.com/opal/opal - 47da2296385876b1bdafc45faa32fa0c02c11b82 authored about 3 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

github.com/opal/opal - 45d2e8b4c6d280b3f493bd5ddd2974adc570e6ee authored about 3 years ago by Elia Schito <[email protected]>
Move the bare-minimum nodejs config to nodejs/base

Also require nodejs/file so that IO.read and friends won't break.

github.com/opal/opal - 56ab4c9eff3b759b3ab519e29b41215b1f2fb177 authored about 3 years ago by Elia Schito <[email protected]>
Remove nodejs Kernel.node_require

It's been deprecated for a while.

github.com/opal/opal - ec43803c853fd08b2d21e7b12e0446bfb04e15a7 authored about 3 years ago by Elia Schito <[email protected]>
Remove nodejs/irb

It's very outdated and not working, no need for a deprecation cycle.

github.com/opal/opal - fb62b2baabc85f30a84848ce81824c991c3a8d07 authored about 3 years ago by Elia Schito <[email protected]>
Let opal-repl binaries just perform an exec toward `opal --repl`

github.com/opal/opal - 3e57ab68bc6073294c877cade066e530227740cd authored about 3 years ago by Elia Schito <[email protected]>
Update the Opal.add_stubs documentation

github.com/opal/opal - 0989d2708f6baef8a0b987e9e3c74fc968bbbdd7 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2373 from opal/hmdne/opal-14-release-work

Opal v1.4 alpha release work

github.com/opal/opal - 7458d66b483188e6e2aad4691384541263ed50fe authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2347 from opal/hmdne/ruby31

Ruby 3.1 support branch

github.com/opal/opal - 9d095c38e4f701cab7275d63e4ee6b5fc930ba72 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2364 from opal/hmdne/fix-opalopal-indentation

Fix opalopal <<~END support.

github.com/opal/opal - b29b446d68ac1cd86aaed181825544b8c343ec54 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2326 from opal/hmdne/opalinopal

Opal-in-Opal workshop

github.com/opal/opal - 77e3c371dfa87cff0b508f6ae640e5695bbe7f38 authored about 3 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

github.com/opal/opal - 68f96487e555047101e66fb0d70fa3dff270cae7 authored about 3 years ago by hmdne <[email protected]>
Update UNRELEASED.md

github.com/opal/opal - b5acc7b9a2464d94bf798ba0846197d0de2ff072 authored about 3 years ago by hmdne <[email protected]>
Update UNRELEASED.md

github.com/opal/opal - b08a19bd5abff40143e1c57d92d07629a5792a07 authored about 3 years ago by hmdne <[email protected]>
Update UNRELEASED.md and version

github.com/opal/opal - e21bb32603aedb2eeb59325276f3a06f70f29516 authored about 3 years ago by hmdne <[email protected]>
Update UNRELEASED.md

github.com/opal/opal - b223c4d3b65eaa6e0055c19b30cfb84ba99975e0 authored about 3 years ago by hmdne <[email protected]>
[bugfix] Make Opal.respond_to correctly handle classes where respond_to_missing? has been defined

github.com/opal/opal - b6a73e2bb2554ff40f8a33582e83e73967fb4f44 authored about 3 years ago by hmdne <[email protected]>
Array#values_at to also support beginless/endless ranges

github.com/opal/opal - 512d2f6781a06cf3dc8726af731c10305b8f6e39 authored about 3 years ago by hmdne <[email protected]>
Kernel/BasicObject#inspect/p/pp improvements

github.com/opal/opal - ae70e59dd680ae27fe59b769ab3b133f2adb71bf authored about 3 years ago by hmdne <[email protected]>
main#{public,private} to have a 3.1-compatible return value

github.com/opal/opal - 216f4ac50d1efd848060647d101eeb4915098b3c authored about 3 years ago by hmdne <[email protected]>
Move the filters we won't support for Ruby 3.1 to appropriate files

github.com/opal/opal - a9969de6c2a27b22d8a378995872e41f3f990e01 authored about 3 years ago by hmdne <[email protected]>
File.dirname to support limit argument

github.com/opal/opal - 493e678132e2e22858407dce6d207154da1a94a0 authored about 3 years ago by hmdne <[email protected]>
Enumerable#sum to use Kahan summation algorithm

github.com/opal/opal - 64d6895a7fb37fe02dbe0ce64edf13fc07b72ac4 authored about 3 years ago by hmdne <[email protected]>
Large Enumerator rework commit.

* Separate Enumerator subclasses into separate files and autoload them.
* Introduce Enumerator::...

github.com/opal/opal - 39c1e41836b502182d6cb97c0b27e8fdb13db8d1 authored about 3 years ago by hmdne <[email protected]>
Switch to a Ruby 3.1 parser

github.com/opal/opal - 3a97cd3f46e6e53b660796e1d81007bfa1e71cfd authored about 3 years ago by hmdne <[email protected]>
Kernel#local_variables

github.com/opal/opal - 4ea01f471e5be33f319de6dbc879fdd3105f73cc authored about 3 years ago by hmdne <[email protected]>
Integer.try_convert

github.com/opal/opal - eb737e0060104a54fd7b47c765ab51d985be87a1 authored about 3 years ago by hmdne <[email protected]>
Update parser dependency

github.com/opal/opal - 303442344c2423464a7fb37989f79652cc7b352e authored about 3 years ago by hmdne <[email protected]>
Class#{descendants,subclasses}

github.com/opal/opal - 6f3620d1adfc06e6996a0d23cd2fa21d2283097a authored about 3 years ago by hmdne <[email protected]>
UnboundMethod#bind_call

github.com/opal/opal - df3e9b677821460b3efadcffb4cb6785a9d3a8cc authored about 3 years ago by hmdne <[email protected]>
Remove deprecated NIL, TRUE and FALSE constants, as Ruby 3.1 did

github.com/opal/opal - 499b9afabd09b951ffd6767ec3bb6cb103a90b80 authored about 3 years ago by hmdne <[email protected]>
Move Refinement to become its own class (as in 3.1)

github.com/opal/opal - cbab8163c047b52d3a7f4ef2d2f7ca58e2813270 authored about 3 years ago by hmdne <[email protected]>
Enumerable modernization

* Enumerable#tally to support an optional hash argument for accumulation
* Enumerable#each_{cons...

github.com/opal/opal - 5132e86a75068c719c9e0f905c3c1f78e0430b7e authored about 3 years ago by hmdne <[email protected]>
MatchData#{match,match_length}

github.com/opal/opal - d36d2d8c9f0d9da8efa6e1821ff677223e9ebb84 authored about 3 years ago by hmdne <[email protected]>
String#unpack{1,} to support `offset:` kwarg

github.com/opal/opal - ab9db77ba2da70f397b2364b364bc67bd62e02e8 authored about 3 years ago by hmdne <[email protected]>
Correct an ArgumentError message to fix a few bugs

github.com/opal/opal - abb4044f8b56125aa84f577342736841b0593e7f authored about 3 years ago by hmdne <[email protected]>
Set local variables for named captures

github.com/opal/opal - 0f31a5acca763b8920478b69b8cef213c3bd961e authored about 3 years ago by hmdne <[email protected]>
Remove not applicable filters

github.com/opal/opal - eb451df569ba219aa9ef3b7d0c0a8eecbb8fca69 authored about 3 years ago by hmdne <[email protected]>
Module#{public,private,protected,module_function} to return arguments

github.com/opal/opal - 034a136584a33e1bf74400bcf7c798e200b9ee36 authored about 3 years ago by hmdne <[email protected]>
Move unsupported filters

github.com/opal/opal - 378f118879513a78dac47a8827488b8aca8b6a80 authored about 3 years ago by hmdne <[email protected]>
Update filters

github.com/opal/opal - c6b5003a1186a8765a73da93ee07b58ae9c8e320 authored about 3 years ago by hmdne <[email protected]>
String#{strip,lstrip} to also remove NUL bytes

github.com/opal/opal - d4c7a1db66309f8343882c5ce216501c45ef6996 authored about 3 years ago by hmdne <[email protected]>
Array#intersect?

github.com/opal/opal - 962126b6cdca170eeff3c99fc8ec15e1c0907877 authored about 3 years ago by hmdne <[email protected]>
Add filters to ruby31.rb - we will move them out once this PR is finished

github.com/opal/opal - b2f6667f321536cf8d8d4f3a3aff75dd4fc2b1ff authored about 3 years ago by hmdne <[email protected]>
Struct#keyword_init?

github.com/opal/opal - 610c74f73098cff283f9e22d31049ab209174c8a authored about 3 years ago by hmdne <[email protected]>
Fix opalopal <<~END support.

* Fixes #2169
* Fixes #2363

Avoid using String#slice! in the dedenter and expect a new string f...

github.com/opal/opal - 83eb4f96ae1658d5e50c33eab35a5211350a61e4 authored about 3 years ago by hmdne <[email protected]>
Merge pull request #2293 from opal/hmdne/optimize-truthiness

Optimize truthiness/falsiness checks

github.com/opal/opal - f79df3a6a4a751839f7dc353699a72a2b49c2530 authored about 3 years ago by Elia Schito <[email protected]>
Import Parser::Builders::Default#dedent_string & Parser::Lexer::Dedenter#dedent

They'll be patched in a following commit, this import is there just to
maintain a clean diff.

github.com/opal/opal - 2dd6fe8b696982749e71f395af334e9004870214 authored about 3 years ago by hmdne <[email protected]>
A rather large patch that makes at least a few interconnected changes

* Load corelib/main before corelib/error
* Correct an edge case where errors weren't readable at...

github.com/opal/opal - d8280e817cc26f3afd7eacb4dd440cf4e4870ba2 authored about 3 years ago by hmdne <[email protected]>
Update filters and fix rubocop

github.com/opal/opal - a30c765634e6962db0cd907c0ac8b31aba0fc66c authored about 3 years ago by hmdne <[email protected]>
optparse: Correct long arguments support

github.com/opal/opal - b0fa564bf8391f067906f724101088a7cb18cc05 authored about 3 years ago by hmdne <[email protected]>
Make nodejs runner work in opalopal

github.com/opal/opal - 75315147719b8864ef2e962679d9fab1c9c0b10f authored about 3 years ago by hmdne <[email protected]>
Optparse&Shellwords - remaining issues + pass all tests

github.com/opal/opal - 5d2d7d4e40298bdbf106233fd4b1292f1b124396 authored about 3 years ago by hmdne <[email protected]>
nodejs: revamp file errors; a few new methods to File::Stat

github.com/opal/opal - 9c0992b816af2439f9bc14a5fd2b8fc49a9857fc authored about 3 years ago by hmdne <[email protected]>
Factor out opal-the-compiler requires to opal/requires

github.com/opal/opal - 4da7e9cf8a1a1b3d3e04a2a172c3866e2f7a0d18 authored about 3 years ago by hmdne <[email protected]>
Vendor-in optparse and shellwords

github.com/opal/opal - 97cb1fb21beb18223fbdaeec8913cd5dfd15897c authored about 3 years ago by hmdne <[email protected]>
boolean.rb & kernel.rb & basic_object.rb - Enable strict mode; ensure String can get a singleton class

github.com/opal/opal - 4114fa912c1e1b7188d54066b35ca8afe005266c authored about 3 years ago by hmdne <[email protected]>
Don't allocate a singleton class if it's not needed

github.com/opal/opal - 4e12940eb268478a6c27e9882eded1db53b60af5 authored about 3 years ago by hmdne <[email protected]>
Fix Marshal for boxed booleans

github.com/opal/opal - b4dd9245294ca69dc1c16393658a96a9d10eb115 authored about 3 years ago by hmdne <[email protected]>
Merge pull request #2365 from opal/hmdne/generated-code-optimization-pt2

Second batch of generated code optimization

github.com/opal/opal - 15e76b8d474b5ab65d3d0f95bfeb3ba12eb70a27 authored about 3 years ago by Elia Schito <[email protected]>
Further improve Opal.truthy by fast-tracking nil and false

=== Files: benchmark-ips/bm_truthy.rb
bundle exec opal --dynamic-require ignore --missing-requir...

github.com/opal/opal - b1b28c5e52162aaa62884a06a1d5bb21eda7638e authored about 3 years ago by Elia Schito <[email protected]>
Optimize $eqeq and $eqeqeq calls.

```
Comparison of the Asciidoctor (a real-life Opal application) compile and run:
...

github.com/opal/opal - d83d7400f49f8e255de9e10cf3fc277d195ef85b authored about 3 years ago by hmdne <[email protected]>
Optimize $truthy and $not

This came from my cooperation with Elia on writing extensive benchmarks
for how to write the $tr...

github.com/opal/opal - acfc3dda8e79c9f74f571f311d3af1f64bc4f0c6 authored about 3 years ago by hmdne <[email protected]>
Also optimize a != b and !b

The ! and != calls happen quite often. Let's also optimize them akin
to how we optimize == and =...

github.com/opal/opal - 07f21f9fffa7583676d553ca57574956d13f80b6 authored about 3 years ago by hmdne <[email protected]>
Explicitly define operator helpers

Are easier to read and still manageable with and editor supporting
multicaret changes.

github.com/opal/opal - bfbf1c62e828c824834fda3fe4d69bee3cfcc2c9 authored about 3 years ago by Elia Schito <[email protected]>
Optimize the If node to facilitate case nodes better

Since we don't have a `case` node anymore, we can make an `if` node
generate code better.

This ...

github.com/opal/opal - 6b778fb55e83306d5fe399e4e791cf29afacb09b authored about 3 years ago by hmdne <[email protected]>
Optimize the args node outputs

This is very simple. I found a few places where we can make the
arguments handling boilerplate a...

github.com/opal/opal - b8c34354a39a066b293813a134c2f23617799085 authored about 3 years ago by hmdne <[email protected]>
Don't generate $ret_or_ tmp values conditionally.

Sometimes we don't care about the return value except of if it's
truthy or falsy.

Let's conside...

github.com/opal/opal - 3e4db4ef4b11a49829a249520f32ef97d73d8b67 authored about 3 years ago by hmdne <[email protected]>
Don't generate $rb_plus-like helpers for every top, but convert them to become regular helpers

We used to generate helpers for $rb_plus, $rb_minus etc. for every top.
Now we generate them in ...

github.com/opal/opal - c511781bd2b874d89ca5fec51f949d638d9dbc49 authored about 3 years ago by hmdne <[email protected]>
Eliminate falsy calls whenever possible

This may not be that important, but there was a `js_falsy` method
inside a compiler which isn't ...

github.com/opal/opal - a2ceefc989a5fce96ea50d17f14bdb8c80281fb9 authored about 3 years ago by hmdne <[email protected]>
`$truthy('a'['$==']('b'))` is now shortened to `$eqeq('a', 'b')`.

Same with `===` -> `$eqeqeq`. This is so that we can safely cherry-pick case
node elimination. S...

github.com/opal/opal - 147da7ce7029ddf264297768a5d278788a92656c authored about 3 years ago by hmdne <[email protected]>
Case: free_tmp

This is a small patch, but as we free the temporary variables for the or
rewriter, we can also f...

github.com/opal/opal - 94e3ef5734dd1b870db931227171189d2a5f505c authored about 3 years ago by hmdne <[email protected]>
Eliminate case node with a rewriter.

This is a backport from an earlier pull request, but this time it makes
a lot of sense, because ...

github.com/opal/opal - f935a7455bdca59fe9ffa400d87027ebb9abdd06 authored about 3 years ago by hmdne <[email protected]>
Update UNRELEASED.md

github.com/opal/opal - e6e41bd1058c5faf5c6f8dcd66c86a0c01e31c00 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2372 from opal/elia/fix-io-puts

Fix io puts

github.com/opal/opal - 2071900a7bae9af9a80f93894564ab890eb57cd4 authored about 3 years ago by Elia Schito <[email protected]>
Fix & test IO#puts

Copied and adapted some specs from rubyspec as Benchmark IPS was
messing up some output when pri...

github.com/opal/opal - daecf447323a3319e109d522e3557c90691fe66b authored about 3 years ago by Elia Schito <[email protected]>
Coerce paths given to File.absolute_path to Strings

Passing nil as the first argument was resulting in an obscure JS error.

github.com/opal/opal - e9e78d504adfa499b903f1a4b8bffa9cd1733e56 authored about 3 years ago by Elia Schito <[email protected]>
Fix the ENV name in bin/opal-mspec

github.com/opal/opal - 015ab5798f3c97d5ce1ce74b6bd609ade9ef403a authored about 3 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

github.com/opal/opal - 30a0d5f60b17a88b57651d3399176823800f56ab authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2371 from opal/elia/sort-aliases

Move aliases to the end of classes

github.com/opal/opal - 90a7d0f9598f445b8eb8ff10697aef5be2c654c4 authored about 3 years ago by Elia Schito <[email protected]>
Keep aliases at the end of classes

We had a loose policy in the corelib to keep method definitions
alphabetized, that doesn't work ...

github.com/opal/opal - 5e5a33d5b2fabebafd4996cac056ac4b6bb43ced authored about 3 years ago by Elia Schito <[email protected]>
Fix coertion for Array#drop

github.com/opal/opal - 7c09dd5d7eb9d5a54d7b404fe071f88434e563bb authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2369 from opal/hmdne/chore

Spec updates chore

github.com/opal/opal - b21f23b2f50ac38cc5d9b4db433c675dc35dc974 authored about 3 years ago by hmdne <[email protected]>
A bad test case for Chromium

github.com/opal/opal - 6e008e3985cc0624eec617fc3081e767267fb325 authored about 3 years ago by hmdne <[email protected]>
Remove unused filters

github.com/opal/opal - 512c71ea90fa8332a466cebc28a2bb2b81169dc8 authored about 3 years ago by hmdne <[email protected]>