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

Return nil from PathReader if the file is missing

d11927dc46a6fa85e835c0c2e5b57429f05b2ccf authored almost 5 years ago by Elia Schito <[email protected]>
Merge pull request #2038 from opal/elia/helpers-compaction

Reduce size of compiled code skipping unused helpers

951cd0bf79ec45107ec50e50cfe71f5b5820a904 authored almost 5 years ago by Elia Schito <[email protected]>
Merge pull request #2040 from ahmadine/patch-1

*tiny fix* README.md: coveralls - switch branch to master

3de21b679778ebcca98bc2500859e2c82736f6cc authored almost 5 years ago by Elia Schito <[email protected]>
README.md: coveralls - switch branch to master

The link mistakenly linked to a development branch.

304106dd7e8e4097424bb90f94e618b268b19be6 authored almost 5 years ago by ahmadine <[email protected]>
Shorten const getter to compact compiled code

ab5df53aaa4adacfb8f180a40aa175cde3233009 authored almost 5 years ago by Elia Schito <[email protected]>
Move break and slice helpers to magic comments

Previously those were preloaded for every file, this saves some bytes:

BEFORE:
development: 77...

f1525968fbfd77a10816d41a65c18e639d232d60 authored almost 5 years ago by Elia Schito <[email protected]>
Let helpers be defined by magic comments

Each file can load an internal helper without requiring it to be
available for every single comp...

1f7c43e13c90829d8d2ee8eeba3ae5a0e6eccb34 authored almost 5 years ago by Elia Schito <[email protected]>
Let magic comments have complex values

Allowing magic comments to have complex values will make the good
vehicles for method names and ...

4321155772cfefa0e820b8aa7eec1ac6e724a6ab authored almost 5 years ago by Elia Schito <[email protected]>
Update the changelog

7c422279ed7890bdd8335175885e2260e453815f authored almost 5 years ago by Elia Schito <[email protected]>
Merge pull request #2036 from opal/elia/chrome-runner-fixes

Chrome runner fixes

b182af3c977813905d882ca9836d2efa21b4edbf authored almost 5 years ago by Elia Schito <[email protected]>
Run the opal code within the body

This works better with opal-rspec.

affa7c4fc8c0822ebc32617efa77e1d32de94aca authored almost 5 years ago by Elia Schito <[email protected]>
Increase the chrome runner timeout

Was failing most of the time by a few seconds.

c1c8f83b4c6d6ed5def57be92891b3571f159c23 authored almost 5 years ago by Elia Schito <[email protected]>
Merge pull request #2030 from ahmadine/patch-4

Fix Number#round for Integers

8a6b975a5022396a14475057f9b8a48199489501 authored almost 5 years ago by Elia Schito <[email protected]>
Merge pull request #2035 from opal/elia/fix-nested-for-loops

Fix nested for-loops

18fe9d88972aa536d0693d92547ad9f91de6b36d authored almost 5 years ago by Elia Schito <[email protected]>
Fix nested for-loops

Fixes #2033

0f4752f2ccefd126e7a1fe49145cbb7c4d3c95b9 authored almost 5 years ago by Elia Schito <[email protected]>
Fix Number#round for Integers

Fixing a small mistake which triggered my closure compiler.

Was:
>> 8099.round(-1)
=> NaN
...

82a2b6282c11679394db06107067c6084c016f1f authored almost 5 years ago by ahmadine <[email protected]>
Merge pull request #2029 from opal/elia/main-define-method

Allow calling define_method from the top object

f1c093bb946af78403971151ec5fa12b086c6f76 authored almost 5 years ago by Elia Schito <[email protected]>
Merge pull request #2025 from opal/elia/fix-runtime-use-strict-typo

Typo, was supposed to be "use strict";

ebb58baf61b9382fd0126d7e26706dd3190177ad authored almost 5 years ago by Elia Schito <[email protected]>
Allow calling define_method from the top object

MRI defines it on the singleton object and makes it a proxy for
Object.define_method. This imple...

997084a9cb6f1f54414755471e82cb9d27e3e020 authored almost 5 years ago by Elia Schito <[email protected]>
Typo, was supposed to be "use strict";

390f302b8e2a9d8334f9c990009b7b1257ece0aa authored almost 5 years ago by Elia Schito <[email protected]>
Merge pull request #2023 from opal/elia/reprise-pr-1959

Add per-file "use strict" support

01f63335ffc5763abdf4968e6ae9f45c494e1871 authored almost 5 years ago by Elia Schito <[email protected]>
Merge pull request #2024 from headius/travis_ci_jruby_9290

Update to JRuby 9.2.9.0.

ca00c315a595e7635b7629bec3927a3b43e5e04a authored almost 5 years ago by Elia Schito <[email protected]>
Add --dev to speed up JRuby runs.

e3cbb8652e57cb74b1a68f924591a437996fd89e authored almost 5 years ago by Charles Oliver Nutter <[email protected]>
Update to JRuby 9.2.9.0.

f789fc37e2772f412cbbb33d840da4c7ac30637c authored almost 5 years ago by Charles Oliver Nutter <[email protected]>
Prefer singleton over anonymous classes

This is more consistent with what's done by MRI.

3c4a91f8780e0032e1843c68c6aa55501420dd08 authored almost 5 years ago by Elia Schito <[email protected]>
Don't force encoding on string literals

Moving towards strict-mode string literals won't be upgraded to boxed
object when inside methods...

e1e2600bcf87ea573311fa6f270d8bddb41c6834 authored almost 5 years ago by Elia Schito <[email protected]>
Using singleton_class over class << is ~8% faster.

It also generates less code, resulting in a smaller size.

---

⤑ bin/opal-benchmark-ips benchma...

a607dc3f05690c4c0a4b24a18590253b7ee2d043 authored almost 5 years ago by Elia Schito <[email protected]>
Let use_strict to be controlled by magic comments

9b3f291702314b81b4bccc40707eba8d8808386a authored almost 5 years ago by Elia Schito <[email protected]>
Use a separate method to fetch and memoize options

Options are frequently fetched and can benefit from memoization.

ca3f893e1e9c042b6269402a63b6e981be7105f4 authored almost 5 years ago by Elia Schito <[email protected]>
Don't extract encoding if we're not gonna force it

Let's save some work if it's not needed.

b3948cb970bed97845bc591b2efd55b52bad5081 authored almost 5 years ago by Elia Schito <[email protected]>
Rename Compiler#magic_comment_flags to #magic_comments

It's easier on the eye.

2637595badbc42595a171ae77f8e261dc96a8ef4 authored almost 5 years ago by Elia Schito <[email protected]>
Add a compiler option to enable strict mode

Will put a "use strict" mark at the top of the files anonymous
function marking the file's conte...

b62f00bd6a0f14a3d5a9cfa1789474ac98f7cea8 authored almost 5 years ago by Guillaume Grossetie <[email protected]>
Typo

10360077212b6c24c492ee2f8fe96e2c83dbc1f7 authored almost 5 years ago by Elia Schito <[email protected]>
Assign alias.length with Object.defineProperty

This is mandatory in strict mode because that property is not writable
by default.

997834d9fd737f675a92a12ef920f13055f059a4 authored almost 5 years ago by Guillaume Grossetie <[email protected]>
Use `this` only if the scope is `null` (not falsy)

In strict-mode primitive values are not boxed within their methods.

E.g. 0 is falsy as a value ...

7235b51b8eb99dd78e38ae7ed40f6308de5cb4d8 authored almost 5 years ago by Guillaume Grossetie <[email protected]>
Merge pull request #2021 from opal/elia/fix-server-runner

Fix bugs and add a spec for the server runner

3a75e247cc919022edc94802467644cb34c03853 authored almost 5 years ago by Elia Schito <[email protected]>
Fix bugs and add a spec for the server runner

bd2dc21fc4d0d97e403363a4f4bdb869ecb5966b authored almost 5 years ago by Elia Schito <[email protected]>
Update examples

Update Bundler lock files, remove usage of deprecated APIs and let
the Rack example do something...

b257d9d2a3d9d973014b484e78bc0bef33d6a9c8 authored almost 5 years ago by Elia Schito <[email protected]>
Merge pull request #2015 from opal/elia/runtime-fixes

Runtime fixes, courtesy of @Mogztter

83bc62baa06a5387d1ed8bcf7bee382646f08c9d authored about 5 years ago by Elia Schito <[email protected]>
Just use the "global_object" instead of "this"

This is in preparation for when we'll enable "use strict".

ca41d7ff60eb93ccc3048c7dfad530a4bb5a3c99 authored about 5 years ago by Guillaume Grossetie <[email protected]>
Typos

90ea62da1805723fee19876386d92cb82c935db2 authored about 5 years ago by Guillaume Grossetie <[email protected]>
Remove unused variables from runtime

ac6146cbec80e4fdd334188f7d2079f38cdd3d54 authored about 5 years ago by Guillaume Grossetie <[email protected]>
Merge pull request #2017 from ahmadine/patch-1

benchmarking.rake - bench:ips - correct a path to benchmarks

a541d49bb7b101b2ef31fd4a6c0ed13afef67d6e authored about 5 years ago by Elia Schito <[email protected]>
benchmarking.rake - bench:ips - correct a path to benchmarks

This instruction was probably originally in a Rakefile and so it referenced __dir__ correctly. A...

677d0b11a8e0d5ebf77faaa58bc0c5f2b0850f33 authored about 5 years ago by ahmadine <[email protected]>
Merge pull request #2013 from wintersolutions/master

Used parser version is incompatible with rubocop

010ac46fe86eb7dcee1f4732f461ba07872b28bd authored about 5 years ago by Elia Schito <[email protected]>
Fix "duplicated range" regexp warning

f0abfb6a77535eb145194e569f26759698eca11d authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #2014 from opal/elia/parse-magic-comments

Add Opal::Compiler#magic_comment_flags

dc15063f3497e9cdde0f70be893b7c21a82b98f6 authored about 5 years ago by Elia Schito <[email protected]>
Allow for if/unless inside blocks

Using `next` isn't always the best and most readable solution.

37c1ec76964ae5519a77c09d72d8d4ad7aa3d03a authored about 5 years ago by Elia Schito <[email protected]>
Add Opal::Compiler#magic_comment_flags

Will allow access to magic-comments nicely converting them to a hash.

cf8044fc84ebdb545ad84c21379cb610026c9e51 authored about 5 years ago by Elia Schito <[email protected]>
Bump parser to 2.6 for rubocop-support

034b9e67effdbbf2c552062e68fbeaf4aa1e64b0 authored about 5 years ago by Moritz Winter <[email protected]>
Merge pull request #2012 from opal/elia/remove-legacy-runner-api

Remove legacy runner API

df3ade4a711eb19ca04c6620c76561b4b8d2b84c authored about 5 years ago by Elia Schito <[email protected]>
Use the new API directly for the Server runner

c94c5c34cf8614a0d4a3488fd6d3251034dac183 authored about 5 years ago by Elia Schito <[email protected]>
Use the new API directly for the Chrome runner

c645777dcbc6dc0ce516b372893db4ba7f403b49 authored about 5 years ago by Elia Schito <[email protected]>
Move autoloading runners within #register_runner

28111c1e916f9df819040b42272e1e4f8320e6f2 authored about 5 years ago by Elia Schito <[email protected]>
Remove support for the legacy runner API

8f1985bca07e4b1d5a203790fded22987b265edf authored about 5 years ago by Elia Schito <[email protected]>
Update JRuby version in travis

eea8b01118e337aa14f69fa6295dc92d99669315 authored about 5 years ago by Elia Schito <[email protected]>
Refactor system-based CLI runners

Get them out of the legacy API and extract the common code.

c3f42f0168f9fd1bd31ba2cb1fbb8c0fa32dfca7 authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #2010 from opal/elia/update-submodules

Update submodules

b51fca910564aea5ecaa6f38ebf2ab4113338367 authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #2011 from opal/elia/remove-older-java-workaround

Remove workaround targeted at JRuby 1.7

8302df91b8cf05d2361dfe2c6a7c30671255bae9 authored about 5 years ago by Elia Schito <[email protected]>
Remove workaround targeted at JRuby 1.7

At this moment the current JRuby version is 9.2.8.0, so should be safe
to assume we're good now.

eb56b411c69232d55ed38a7af0ac9b5a502fb4de authored about 5 years ago by Elia Schito <[email protected]>
Update submodules

19eeac3283084c159426ef0774becd72af34bebf authored about 5 years ago by Elia Schito <[email protected]>
Typo

f2fbf2bb44b1cc0e98ab692d384fee12c2044ced authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #2003 from kachick

Fix Module#attr with multiple arguments

Resolves #2003

c50069eecf38603e29281328bf4bffde8f58836c authored about 5 years ago by Elia Schito <[email protected]>
Convert Module#attr to JavaScript

This will better reflect the original C code by also adding a warning
and a single fallback case.

70d8a033017fc2678db42319966bcad8bdee4a78 authored about 5 years ago by Elia Schito <[email protected]>
Fix Module#attr with multiple arguments

1c4c2b9073ac20f2545b725034e23a32effccad9 authored about 5 years ago by Kenichi Kamiya <[email protected]>
Update UNRELEASED.md

9d312baf7c6ad5460abf9b720dba07bc9c96f3a4 authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #2007 from opal/elia/update-rubocop

Update to latest Rubocop

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

614dc124713f77e559f04f59659b087a9bf3b35c authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #2006 from opal/elia/update-ruby-specs

Update to latest mspec & ruby specs

7fcbbec0a939a58ca8098dba1e4d485bcb06543e authored about 5 years ago by Elia Schito <[email protected]>
Update rubocop to v0.66

1d5b26d124595eb5a2b4d9020d29337ca625a8ec authored about 5 years ago by Elia Schito <[email protected]>
Update rubocop to v0.61

1ba4e86f24e4aeb7504fd3f9383d7b9c38b4892b authored about 5 years ago by Elia Schito <[email protected]>
Freeze constants with mutable values

8c7d214e15ddaa1f0fd579a5e3e74a139e4513c6 authored about 5 years ago by Elia Schito <[email protected]>
Update rubocop to v0.65

Remove duplicates from .rubocop.yml

68577e1caeb323cfcee0df9805bc057caa2f7e06 authored about 5 years ago by Elia Schito <[email protected]>
Update rubocop to v0.67

46966e3415d2887e0b6189f42dc3454354cb4f16 authored about 5 years ago by Elia Schito <[email protected]>
Update rubocop to v0.59

2135cf46af9293879dff6a76b49b1952ab68d5b8 authored about 5 years ago by Elia Schito <[email protected]>
Disable --fail-fast for the Rubocop linting task

As it's not compatible with --parallel.

10249e91860382a9b7fe36c26e1f79f8a592e3c1 authored about 5 years ago by Elia Schito <[email protected]>
Remove config duplication in .rubocop.yml

7268284c6fefd654e10e36eb6f318818d0287a5e authored about 5 years ago by Elia Schito <[email protected]>
Upgrade to latest mspec and ruby/spec

7e62d9a0da485bedaacf839de38cadc4d46bf16f authored about 5 years ago by Elia Schito <[email protected]>
Make BigDecimal a subclass of Numeric

0bd2f23479d552dba0d8c6c03cf57517d86b3bbf authored about 5 years ago by Elia Schito <[email protected]>
Add bigdecimal/util with #to_d methods for corelib

90b84fdbb048acbe5daf713285bb0839d31cd64c authored about 5 years ago by Elia Schito <[email protected]>
BigDecimal.new is deprecated

Also get rid of bigdecimal/kernel and embed the method definition in
the main file.

5e64acd7a2adaf5e4ca873a07fa7cd34b0a94306 authored about 5 years ago by Elia Schito <[email protected]>
Update rubocop to v0.57

7bb0d0f6272ab47914d87af04a8b090b97704a9e authored about 5 years ago by Elia Schito <[email protected]>
Update rubocop to v0.58

095ace51fe68597976ce8c25b478d923ddff6baf authored about 5 years ago by Elia Schito <[email protected]>
Update rubocop to v0.56

9cd57151497a618b4fe69ff45b8d1bbe0d117116 authored about 5 years ago by Elia Schito <[email protected]>
Add respond_to_missing? to some core/std classes

9f3387ab72da4ff6eea55eb61d7c265099ec01ca authored about 5 years ago by Elia Schito <[email protected]>
Move extra rubocop config to .rubocop/

d2553bdf3ce1729ceb48a6c98879af258a9cc69a authored about 5 years ago by Elia Schito <[email protected]>
Add initial support for warn(uplevel:)

Passing `uplevel:` prints a warning with the same format as those
printed by the corelib.

29b4c0c98790e7f34fa42ad5e2422f47214c6ffd authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #2005 from opal/elia/filters-formatter

Add a simple filters formatter

27d6eab60d8d84d1260821dc1b2070aac5fde420 authored about 5 years ago by Elia Schito <[email protected]>
Add a simple filters formatter

Ensure filters are always sorted and formatted consistently.

- Removes duplicates ignoring the ...

8494292fc85b9d94bf2eeca3ee4ddade379e1205 authored about 5 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

[skip ci]

a8e4616cd6cef2650d83751bebc5a3b0894f6192 authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #2004 from bwl21/removed-superfluous-semicolon

opal 1.0 fix: raises "warning: Removed semicolon ending x-string expression,...

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

[skip ci]

ca3b9e7f68f103043c51a1fd185816bb50deaae5 authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #2002 from opal/elia/add-opal-io-to-opal-mini

Add opal/io to opal/mini

ffe4593268602eb5e31dc248899df5d8e6b8cd29 authored about 5 years ago by Elia Schito <[email protected]>
opal 1.0 raises "warning: Removed semicolon ending x-string expression, interpreted as unintentional -- nodejs/fileutils.rb:14"

913093ad99cf636b6b9325c079f216ac463ee3c7 authored about 5 years ago by Bernhard Weichel <[email protected]>
Add opal/io to opal/mini

Related to #1481 and #1466.

92c779f184b71b630a8efe8eb3e040bf03c23dd3 authored about 5 years ago by Elia Schito <[email protected]>
Merge pull request #1999 from kachick/duped-spec-filters

Remove duplicated spec filter

5f1ef2ddc024ed2b071bfa47db2a4db8be3756ce authored about 5 years ago by Elia Schito <[email protected]>
Remove duplicated spec filter

5d59ade20d29dc60f0a1217e916156d4a4daa537 authored about 5 years ago by Kenichi Kamiya <[email protected]>
Merge pull request #1997 from opal/elia/nashorn-deprecation

Allow to change Nashorn path if using GraalVM

70353c19337d145291817ca9124116d436dd6754 authored over 5 years ago by Elia Schito <[email protected]>
Allow to change Nashorn path if using GraalVM

See also:
- https://github.com/graalvm/graaljs/blob/master/docs/user/NashornMigrationGuide.md#la...

360bbe937d053ac96bdfe977d5a8549b0ff27d2b authored over 5 years ago by Elia Schito <[email protected]>
Merge pull request #1996 from opal/elia/move-compiler-runner-to-its-own-file

Move the compiler runner to its own file

529e5328b62780e190ac5f1eebdacde2a70d3ecd authored over 5 years ago by Elia Schito <[email protected]>