Ecosyste.ms: OpenCollective

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

github.com/opal/opal

Ruby ♥︎ JavaScript
https://github.com/opal/opal

Merge pull request #2270 from opal/hmdne/gvar_alias

Alias for gvars, alias on main

e04cfe9718db337c63c6da7e08119d014f68795e authored about 3 years ago by Elia Schito <[email protected]>
Allow aliasing on main

ceed2729a34d7f048eb39cd647b4f3c19ac8cca4 authored about 3 years ago by hmdne <[email protected]>
Implement gvar aliases

Thanks to elia for the idea on how to accomplish that!

1286a5b3086e7df07880f47b2edae7e395fbf92d authored about 3 years ago by hmdne <[email protected]>
Merge pull request #2277 from opal/hmdne/roda-sprockets-doc-fixup

Update roda-sprockets.md

594b06ee6263653fbb46295ab355c136aab019cd authored about 3 years ago by hmdne <[email protected]>
Merge pull request #2242 from opal/hmdne/compiler-cache

Opal::Cache, an optional compiler cache

8479c0f1d410e8b38f6a8efb2b3c54e198ad6fef authored about 3 years ago by Elia Schito <[email protected]>
Update roda-sprockets.md

Update for roda-sprockets 1.1

7b4f3b45562dbfcca45090592563457eb469dc2a authored about 3 years ago by hmdne <[email protected]>
Opal::Cache, an optional compiler cache

First, maybe how to use it:

```ruby
OPAL_CACHE=1 bundle exec rake mspec_opal_nodejs
```

I made...

6113814576bc4f65129e263d91e236531d72b40e authored about 3 years ago by hmdne <[email protected]>
Opal::Cache: gzip cache files

aa491719871f3e85ced9c4c57c62573480be3220 authored about 3 years ago by hmdne <[email protected]>
Use two different cache classes instead of an enable flag

Instead of disabling it we'll just use a null-cache.
Also the cache can now be configured with a...

e0ec87bcf9d8dc8998022274a7d7b5c14f5a2614 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2276 from opal/hmdne/ci-performance-check

CI: Performance regression (and progression) check

61759425b34e0319bb51b3a4aefafd9433163f04 authored about 3 years ago by hmdne <[email protected]>
CI: Performance regression (and progression) check

8b345ed7785f7305f627351896bdf747e1f99c43 authored about 3 years ago by hmdne <[email protected]>
Merge pull request #2268 from opal/hmdne/ci-optstatus

CI: Permissively check for introduced V8 deoptimizations

6e7cc7356dbeef1da1f8181762fad7bccffbe321 authored about 3 years ago by hmdne <[email protected]>
Output Exception#full_message on uncaught exceptions

Before:
```
[user@localhost opal]# bin/opal <<< 'test'
from -:1:1:in `undefined'
from /tmp/o...

2b088a4525e62ee677fcfc0d96616395fb6030d6 authored about 3 years ago by hmdne <[email protected]>
CI: Permissively check for introduced V8 deoptimizations

Co-authored-by: Brady Wied <[email protected]>

3b76a65c35118436ed41729c0056359c65f99375 authored about 3 years ago by hmdne <[email protected]>
Update the UNRELEASED.md changelog

bcd19d40a932df1d9fa7072ec9398fd9ad0ef322 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2259 from opal/hmdne/rspec-backport

Backport some methods from opal-rspec

2e906756a39f52b3f2a1b9afa4fce2e8fed170c7 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2261 from opal/hmdne/flipflop

Implement the Flip-Flop operators

d4b4bca83678f8f4e24086c74d94a42b127e8ce9 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2264 from opal/hmdne/exception

Modernize Exceptions

59167d30a4cbf1989e182792f966c76d1d4aeebc authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2049 from janbiedermann/tracepoint_class

TracePoint :class support.

ce630def9a3483ab346218c3ea0ac495fdeaeea2 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #1616 from pocke/multiline-regexp

Fixed multiple line Regexp literal to not generate invalid syntax as JavaScript

c16bb259f1fb2e727b170456f3dda717bb7ea1ed authored about 3 years ago by Elia Schito <[email protected]>
Fixed multiple line Regexp literal to not generate invalid syntax as JavaScript

Currently, the following ruby code is compiled to invalid syntax as a
JavaScript code by Opal.

...

9d8352fe48f8202eb1939625770c72c8330bc6e7 authored about 3 years ago by Masataka Kuwabara <[email protected]>
Enable tracepoint :class specs and filter those that are not yet supported

Co-authored-by: hmdne <[email protected]>

1bb706f6c01692fe2739401b230f1e632af4a9b2 authored about 3 years ago by Jan Biedermann <[email protected]>
Require trace_point in opal/full

125cf84cd0c50bfd84a92267277a74a16edf6453 authored about 3 years ago by hmdne <[email protected]>
Add TracePoint support

Provide functionality according to ruby specs/docs, add `invoke_tracers_for_class()`
to `runtime...

114dcf041584705b66d2729d40ef6169914e972b authored about 3 years ago by Jan Biedermann <[email protected]>
Bump version to 1.3.0.dev on the master branch

c87e8bffae430b204a50de0edb8d5edbc29315c8 authored about 3 years ago by Elia Schito <[email protected]>
Exceptions: implement retry (fixes #2041)

a835a81446531de0338b0fb1ace85e870e095a79 authored about 3 years ago by hmdne <[email protected]>
Exception: Further robustness corrections

f5c831568a42389efbed4be57c0d42aa295ed126 authored about 3 years ago by hmdne <[email protected]>
Update source-map-support to fix an off-by-one error

The problem was, that frames were offset by one line (as in: function
names and source location ...

55e3b9cb937791dffd133cf9ecf7a7e7cff1a76c authored about 3 years ago by hmdne <[email protected]>
Final fixes to appease CI; also make Logger use Exception#full_message

6cc252d61180c42ac4f579861bcb9293a3d6e221 authored about 3 years ago by hmdne <[email protected]>
Fix Kernel#{try,catch} along with UncaughtThrowError

95f2e22379fefe7dcd9cacfc513a93c089ec1e61 authored about 3 years ago by hmdne <[email protected]>
Exception#full_message: Ensure proper formatting

f02beb9ee793c7a19fe8a94418f193a729fab6e8 authored about 3 years ago by hmdne <[email protected]>
Exceptions: add errors to filters

1919b4d3fe65c849836a3a596a19d35c0e18b741 authored about 3 years ago by hmdne <[email protected]>
Modernize Exception system

a57d2df8ae1237297c4c403a53ee11142c88d6b7 authored about 3 years ago by hmdne <[email protected]>
Merge pull request #2262 from opal/hmdne/changelog

Update CHANGELOG.md

5589339967b08c4d98e48e540cb3bacdb175b120 authored about 3 years ago by hmdne <[email protected]>
Update CHANGELOG.md

081520563d7f6a3e851f9b908964909802a9b4fd authored about 3 years ago by hmdne <[email protected]>
Release v1.2.0

82e1a128a2bf98e564fdefcbaadb6293513a4ee8 authored about 3 years ago by Elia Schito <[email protected]>
Typo

df20858ed611cb71977b79d368ccd2b637da0806 authored about 3 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

42277ddab5974f80be8539cb01f078a50f0d3ae4 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2220 from opal/hmdne/native-promises

Reimplement Promise to make it bridged with JS native Promise

378df92072dc39176eb82d0b8dd2c5f289c50e84 authored about 3 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

a4d0274308d992e8f3d6f21180dba93ade2711ba authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2243 from opal/hmdne/parser30-pattern-matching

Parser 3.0: Implement pattern matching.

e524e0c37164ea8831d92838d8d609d6026fafdf authored about 3 years ago by Elia Schito <[email protected]>
Remove PromiseV2 tests for now, as we have no way to handle them at this point

09f57d5ccb1aa1073daa982c9e144d0606fa6a81 authored about 3 years ago by hmdne <[email protected]>
Reimplement Promise to make it bridged with JS native Promise

85cf68b773cffd384acb61e6cc5d3f3960dfcd91 authored about 3 years ago by hmdne <[email protected]>
Finalize Promise, rewrite tests to Minitest

1d3fa9749d5c2568a65d34fcb6bebc2d0641a5dd authored about 3 years ago by hmdne <[email protected]>
Restore V1 Promise, set the new Promise to become PromiseV2

ac2d7eb3eaacd879167650ee4abd159ed6e48d28 authored about 3 years ago by hmdne <[email protected]>
Native promises: We should have now most feature parity with old promises

462d78e08be8f09553eab4afd607427322165025 authored about 3 years ago by hmdne <[email protected]>
Further work on pattern matching:

* Support the find pattern
* Fix a few bugs (save pattern, wrong return values for inline matchi...

6a09886989cb450fe18fd75eba31e8243802c8da authored about 3 years ago by hmdne <[email protected]>
Implement pattern matching.

Most of things work, except for the find pattern (`a => [*, b, *]`),
which is experimental and t...

6662e0c47f47e24e91c5ce09c0a83f55002ddb49 authored about 3 years ago by hmdne <[email protected]>
Backport some methods from opal-rspec

In addition, modify the Struct initializer a little. In my experience,
I have never encountered ...

f8290f6331b29a197f5fb81cd06c736efa31a1fe authored about 3 years ago by hmdne <[email protected]>
Implement the Flip-Flop operators

638fc5af017dc26b180af035840e2bbe53d71038 authored about 3 years ago by hmdne <[email protected]>
Merge pull request #2260 from opal/hmdne/chore

Chore: Update filters

88e94f11543fb59c05748894b1008c121955b0b3 authored about 3 years ago by hmdne <[email protected]>
Update filters

01a6f7156f5dacbbbf3ade5eebbd08409e05eb4f authored about 3 years ago by hmdne <[email protected]>
Release v1.2.0.beta1

584d8e758fa12b378b44e5beacc15e0298d51af9 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2235 from opal/hmdne/unpack-utf8-problem-fix

Correct the utf-8 unpack implementation

0f34d8f7c5bd19ae08a41b9d42cd6811615884dc authored about 3 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

62eb34c2ea5fa3f9128ad2da26181779f53d8d74 authored about 3 years ago by hmdne <[email protected]>
Provide a heavily optimized path for String#unpack("U*")

a730c4d7900354a43df332e0d54436b0c48b48ed authored about 3 years ago by hmdne <[email protected]>
Update filters

7e76c91f6433f7cfaafe4cf8e9741c3f31e2f13c authored about 3 years ago by hmdne <[email protected]>
Change a few things suggested by elia:

- better semantics of force_encoding regarding frozen strings
- String#+ to optimize String cons...

85ec5844114dd086a39aec0607d0df5bb5dd9a6d authored about 3 years ago by hmdne <[email protected]>
Encoding-related changes to String

* #ord to use codePointAt, to support >BOM characters
* #inspect to use \x notation for binary s...

3979d0334a2620552bab9e0af53761448e943a8e authored about 3 years ago by hmdne <[email protected]>
Unsupported String filters: We certainly can pass some of those tests

0e9e15a11f3e36dbb30c501ac4f657372b03d803 authored about 3 years ago by hmdne <[email protected]>
Optimize a heavily hit AST#process function. ~10% time gains on MRI.

4ba847a0df8d331a758964054613671f12ca94a3 authored about 3 years ago by hmdne <[email protected]>
Number#chr should be encoding-aware

c1a20abe156843c6bdb38487e8850cd105ab1d26 authored about 3 years ago by hmdne <[email protected]>
Add support for UTF-32BE, compact encodings slightly, create a binary? matcher

8293afad6e14914670a4a43b2e5eb82eea0c0cfa authored about 3 years ago by hmdne <[email protected]>
Remove the outdated `c_lexer` dependency

It's not been updated in a while.

4f98685348e5142ae45078e9d6adf009d567a018 authored about 3 years ago by Elia Schito <[email protected]>
Parser support for UTF-8 incompatible strings

bfc412101e2c3ec3798ed162e90800339e99f5df authored about 3 years ago by hmdne <[email protected]>
Optimize readUnicodeCharChunk

* replace `bytes = bytes.slice(1, bytes.length);` copying with index

8f6dd975a49b6eaf60494781b71c0259a1012fc0 authored about 3 years ago by oleksiika <[email protected]>
A bigger Encoding refactor

* Array#pack now returns a properly encoded string (so #pack and #unpack work two way)
* A fix t...

dfab9bc1ef90a967a7e605d1e8294b3bfc2fa5ba authored about 3 years ago by hmdne <[email protected]>
String#unpack: update filters fixed by this change

6025ccc3877601fcb66aeb4fdbb566381729a3ff authored about 3 years ago by hmdne <[email protected]>
String#to_json: inspect doesn't really concern itself with producing JSON

cb9c8556342461ad34f639441e62b53976f8c47d authored about 3 years ago by hmdne <[email protected]>
String#unpack: Take encoding into account

360c3f1c2aeac994173d8bb662e9c4bd64d870e8 authored about 3 years ago by hmdne <[email protected]>
Correct the utf-8 unpack implementation fixes #2189 #2094 #2099

Co-authored-by: catmando <[email protected]>

3f3d09aba27a5ea26f383b830f31fc306c357263 authored about 3 years ago by hmdne <[email protected]>
Merge pull request #2255 from opal/hmdne/do-while

Implement begin .. end while

c5adb6b838fb28c1e80baa87c1e2eada932de230 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2251 from opal/hmdne/rework-class-variables

Rework class variables to support inheritance correctly

95c588a03622d3253e67e533cfcfacb1c5728a9e authored about 3 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

c0a178080698ea11f44336428f16f42b89006b8b authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2247 from opal/hmdne/object-space

ObjectSpace & ObjectSpace::WeakMap

d70a3265e2bac8d0138d69bfcd58302e2033bee5 authored about 3 years ago by Elia Schito <[email protected]>
Merge pull request #2249 from opal/hmdne/fix-class-doublecolon-string

Fix `class ::String`.

33a011686921bfca5788ced80a39f2ad2dc23489 authored about 3 years ago by hmdne <[email protected]>
Update UNRELEASED.md

255041b3254f3b47ae5a36f739195b63dd83ffe9 authored over 3 years ago by Elia Schito <[email protected]>
Merge pull request #2123 from davispuh/class

Fix `class Class < superclass` for invalid superclass

d2d18e0602f0478fc929e7b71cb689b6d2ab9670 authored over 3 years ago by Elia Schito <[email protected]>
Merge pull request #2100 from takaram/fix_step

Remove Number#step and implement Numeric#step

b21b516db45096ea4ba23430b82d721c809a4443 authored over 3 years ago by Elia Schito <[email protected]>
Properly implement Numeric#step

Co-Authored-By: Elia Schito <[email protected]>

d3a0f803670a880ac421e79432e30a7606d2207f authored over 3 years ago by Takuya Aramaki <[email protected]>
Setup bundler when starting bin/opal-mspec

ea520eda2c66af0a58aa73761bc40cc1060fa9a9 authored over 3 years ago by Elia Schito <[email protected]>
Move #step from Number to Numeric

9e229d632f263e0ba7ef6e6305e44251883da71e authored over 3 years ago by Takuya Aramaki <[email protected]>
Merge pull request #2233 from s-leroux/node-runner-opts

Parse the NODE_OPTS environment variable in the Node runner

c76835e64baaf1522fe4909677d6634393f4799c authored over 3 years ago by hmdne <[email protected]>
Use simple quotes

bd72d36153d178f45d35ac13a79c5577be86e65e authored over 3 years ago by Sylvain Leroux <[email protected]>
Implement begin .. end while

340ba645bdb7bbb1bd6fdd647cdfee39cf3208b6 authored over 3 years ago by hmdne <[email protected]>
Merge pull request #2254 from opal/hmdne/chore

Chore (small CI change, update UNRELEASED, Ruby version)

7bef3e055ae5bf934b42992e1b49900cb2ec5f01 authored over 3 years ago by hmdne <[email protected]>
While testing, explicitly require securerandom

Depending on if SecureRandom tests have already been ran, sometimes a call
to Random.urandom fai...

b2d3043f561696feb50e3bae25315d1caec0919a authored over 3 years ago by hmdne <[email protected]>
Update the targeted Ruby version to 3.0.2

bab672bc0b82966e197e25ed2b45928277d8c655 authored over 3 years ago by hmdne <[email protected]>
Update UNRELEASED

00a5981d88ef89961e05cc51310e01cec26a0a9c authored over 3 years ago by hmdne <[email protected]>
Build workflow should run when creating a pull request to any branch

6a4f7796a1c3fdc07e0df6fdeb3e1f1b639f3602 authored over 3 years ago by hmdne <[email protected]>
Rework class variables to support inheritance correctly. Fixes #2167

291f4dd3b48bbfe41f79e27b4c520bcf979d3a31 authored over 3 years ago by hmdne <[email protected]>
Fix `class ::String`.

The former behavior was to create a subclass of String (as
`"::".$$class` is a String), which wa...

7f1a53d39d3601927adc34917760f0edcbd00386 authored over 3 years ago by hmdne <[email protected]>
Merge pull request #2218 from opal/hmdne/securerandom-and-formatters

A proper SecureRandom support + Random::Formatter module

3510cb8d03b1a6253e5802c2d847de9a217a1b20 authored over 3 years ago by hmdne <[email protected]>
ObjectSpace & ObjectSpace::WeakMap

f48f346a28cc44d98c90da05e58d311eb655ec55 authored over 3 years ago by hmdne <[email protected]>
Merge pull request #2238 from opal/hmdne/string-constructor

Rework the String constructor; fixes #2185

14c62d1827dcbadaf5ac1af3e9a2871a3c88834b authored over 3 years ago by hmdne <[email protected]>
Merge pull request #2116 from Mogztter/perf-unshift

Improve Array#unshift performance on v8 > 7.1

7b4964978e3ca3d049255650b600bb037383e424 authored over 3 years ago by hmdne <[email protected]>
A proper SecureRandom support + Random::Formatter module

f68d5777bd199667c4f9c124333514a141a14ff9 authored over 3 years ago by hmdne <[email protected]>
Actually support Node.js and opal-repl

cb3ba5bb1c6ea11acd870ec69ef7691330110080 authored over 3 years ago by hmdne <[email protected]>
Optimize the Array#unshift method.

Adapt the "unshiftAllGuillaume" function from
https://gist.github.com/Mogztter/1d0005cc40555ae79...

fa218dd469b70010b155ffe251c6d5736cfcf1ea authored over 3 years ago by hmdne <[email protected]>
Improve Array#unshift performance on v8 > 7.1

d726b54a30fcb35cd80cb0ea497c7d4d34a257de authored over 3 years ago by Guillaume Grossetie <[email protected]>