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
d11927dc46a6fa85e835c0c2e5b57429f05b2ccf authored almost 5 years ago by Elia Schito <[email protected]>
Reduce size of compiled code skipping unused helpers
951cd0bf79ec45107ec50e50cfe71f5b5820a904 authored almost 5 years ago by Elia Schito <[email protected]>*tiny fix* README.md: coveralls - switch branch to master
3de21b679778ebcca98bc2500859e2c82736f6cc authored almost 5 years ago by Elia Schito <[email protected]>The link mistakenly linked to a development branch.
304106dd7e8e4097424bb90f94e618b268b19be6 authored almost 5 years ago by ahmadine <[email protected]>ab5df53aaa4adacfb8f180a40aa175cde3233009 authored almost 5 years ago by Elia Schito <[email protected]>
Previously those were preloaded for every file, this saves some bytes:
BEFORE:
development: 77...
Each file can load an internal helper without requiring it to be
available for every single comp...
Allowing magic comments to have complex values will make the good
vehicles for method names and ...
7c422279ed7890bdd8335175885e2260e453815f authored almost 5 years ago by Elia Schito <[email protected]>
Chrome runner fixes
b182af3c977813905d882ca9836d2efa21b4edbf authored almost 5 years ago by Elia Schito <[email protected]>This works better with opal-rspec.
affa7c4fc8c0822ebc32617efa77e1d32de94aca authored almost 5 years ago by Elia Schito <[email protected]>Was failing most of the time by a few seconds.
c1c8f83b4c6d6ed5def57be92891b3571f159c23 authored almost 5 years ago by Elia Schito <[email protected]>Fix Number#round for Integers
8a6b975a5022396a14475057f9b8a48199489501 authored almost 5 years ago by Elia Schito <[email protected]>Fix nested for-loops
18fe9d88972aa536d0693d92547ad9f91de6b36d authored almost 5 years ago by Elia Schito <[email protected]>Fixes #2033
0f4752f2ccefd126e7a1fe49145cbb7c4d3c95b9 authored almost 5 years ago by Elia Schito <[email protected]>Fixing a small mistake which triggered my closure compiler.
Was:
>> 8099.round(-1)
=> NaN
...
Allow calling define_method from the top object
f1c093bb946af78403971151ec5fa12b086c6f76 authored almost 5 years ago by Elia Schito <[email protected]>Typo, was supposed to be "use strict";
ebb58baf61b9382fd0126d7e26706dd3190177ad authored almost 5 years ago by Elia Schito <[email protected]>
MRI defines it on the singleton object and makes it a proxy for
Object.define_method. This imple...
390f302b8e2a9d8334f9c990009b7b1257ece0aa authored almost 5 years ago by Elia Schito <[email protected]>
Add per-file "use strict" support
01f63335ffc5763abdf4968e6ae9f45c494e1871 authored almost 5 years ago by Elia Schito <[email protected]>Update to JRuby 9.2.9.0.
ca00c315a595e7635b7629bec3927a3b43e5e04a authored almost 5 years ago by Elia Schito <[email protected]>e3cbb8652e57cb74b1a68f924591a437996fd89e authored almost 5 years ago by Charles Oliver Nutter <[email protected]>
f789fc37e2772f412cbbb33d840da4c7ac30637c authored almost 5 years ago by Charles Oliver Nutter <[email protected]>
This is more consistent with what's done by MRI.
3c4a91f8780e0032e1843c68c6aa55501420dd08 authored almost 5 years ago by Elia Schito <[email protected]>
Moving towards strict-mode string literals won't be upgraded to boxed
object when inside methods...
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]>9b3f291702314b81b4bccc40707eba8d8808386a authored almost 5 years ago by Elia Schito <[email protected]>
Options are frequently fetched and can benefit from memoization.
ca3f893e1e9c042b6269402a63b6e981be7105f4 authored almost 5 years ago by Elia Schito <[email protected]>Let's save some work if it's not needed.
b3948cb970bed97845bc591b2efd55b52bad5081 authored almost 5 years ago by Elia Schito <[email protected]>It's easier on the eye.
2637595badbc42595a171ae77f8e261dc96a8ef4 authored almost 5 years ago by Elia Schito <[email protected]>
Will put a "use strict" mark at the top of the files anonymous
function marking the file's conte...
10360077212b6c24c492ee2f8fe96e2c83dbc1f7 authored almost 5 years ago by Elia Schito <[email protected]>
This is mandatory in strict mode because that property is not writable
by default.
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]>Fix bugs and add a spec for the server runner
3a75e247cc919022edc94802467644cb34c03853 authored almost 5 years ago by Elia Schito <[email protected]>bd2dc21fc4d0d97e403363a4f4bdb869ecb5966b authored almost 5 years ago by Elia Schito <[email protected]>
Update Bundler lock files, remove usage of deprecated APIs and let
the Rack example do something...
Runtime fixes, courtesy of @Mogztter
83bc62baa06a5387d1ed8bcf7bee382646f08c9d authored about 5 years ago by Elia Schito <[email protected]>This is in preparation for when we'll enable "use strict".
ca41d7ff60eb93ccc3048c7dfad530a4bb5a3c99 authored about 5 years ago by Guillaume Grossetie <[email protected]>90ea62da1805723fee19876386d92cb82c935db2 authored about 5 years ago by Guillaume Grossetie <[email protected]>
ac6146cbec80e4fdd334188f7d2079f38cdd3d54 authored about 5 years ago by Guillaume Grossetie <[email protected]>
benchmarking.rake - bench:ips - correct a path to benchmarks
a541d49bb7b101b2ef31fd4a6c0ed13afef67d6e authored about 5 years ago by Elia Schito <[email protected]>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]>Used parser version is incompatible with rubocop
010ac46fe86eb7dcee1f4732f461ba07872b28bd authored about 5 years ago by Elia Schito <[email protected]>f0abfb6a77535eb145194e569f26759698eca11d authored about 5 years ago by Elia Schito <[email protected]>
Add Opal::Compiler#magic_comment_flags
dc15063f3497e9cdde0f70be893b7c21a82b98f6 authored about 5 years ago by Elia Schito <[email protected]>Using `next` isn't always the best and most readable solution.
37c1ec76964ae5519a77c09d72d8d4ad7aa3d03a authored about 5 years ago by Elia Schito <[email protected]>Will allow access to magic-comments nicely converting them to a hash.
cf8044fc84ebdb545ad84c21379cb610026c9e51 authored about 5 years ago by Elia Schito <[email protected]>034b9e67effdbbf2c552062e68fbeaf4aa1e64b0 authored about 5 years ago by Moritz Winter <[email protected]>
Remove legacy runner API
df3ade4a711eb19ca04c6620c76561b4b8d2b84c authored about 5 years ago by Elia Schito <[email protected]>c94c5c34cf8614a0d4a3488fd6d3251034dac183 authored about 5 years ago by Elia Schito <[email protected]>
c645777dcbc6dc0ce516b372893db4ba7f403b49 authored about 5 years ago by Elia Schito <[email protected]>
28111c1e916f9df819040b42272e1e4f8320e6f2 authored about 5 years ago by Elia Schito <[email protected]>
8f1985bca07e4b1d5a203790fded22987b265edf authored about 5 years ago by Elia Schito <[email protected]>
eea8b01118e337aa14f69fa6295dc92d99669315 authored about 5 years ago by Elia Schito <[email protected]>
Get them out of the legacy API and extract the common code.
c3f42f0168f9fd1bd31ba2cb1fbb8c0fa32dfca7 authored about 5 years ago by Elia Schito <[email protected]>Update submodules
b51fca910564aea5ecaa6f38ebf2ab4113338367 authored about 5 years ago by Elia Schito <[email protected]>Remove workaround targeted at JRuby 1.7
8302df91b8cf05d2361dfe2c6a7c30671255bae9 authored about 5 years ago by Elia Schito <[email protected]>
At this moment the current JRuby version is 9.2.8.0, so should be safe
to assume we're good now.
19eeac3283084c159426ef0774becd72af34bebf authored about 5 years ago by Elia Schito <[email protected]>
f2fbf2bb44b1cc0e98ab692d384fee12c2044ced authored about 5 years ago by Elia Schito <[email protected]>
Fix Module#attr with multiple arguments
Resolves #2003
c50069eecf38603e29281328bf4bffde8f58836c authored about 5 years ago by Elia Schito <[email protected]>
This will better reflect the original C code by also adding a warning
and a single fallback case.
1c4c2b9073ac20f2545b725034e23a32effccad9 authored about 5 years ago by Kenichi Kamiya <[email protected]>
9d312baf7c6ad5460abf9b720dba07bc9c96f3a4 authored about 5 years ago by Elia Schito <[email protected]>
Update to latest Rubocop
5c9dc10d8b91263055e8737fc0656bd615fe0e82 authored about 5 years ago by Elia Schito <[email protected]>614dc124713f77e559f04f59659b087a9bf3b35c authored about 5 years ago by Elia Schito <[email protected]>
Update to latest mspec & ruby specs
7fcbbec0a939a58ca8098dba1e4d485bcb06543e authored about 5 years ago by Elia Schito <[email protected]>1d5b26d124595eb5a2b4d9020d29337ca625a8ec authored about 5 years ago by Elia Schito <[email protected]>
1ba4e86f24e4aeb7504fd3f9383d7b9c38b4892b authored about 5 years ago by Elia Schito <[email protected]>
8c7d214e15ddaa1f0fd579a5e3e74a139e4513c6 authored about 5 years ago by Elia Schito <[email protected]>
Remove duplicates from .rubocop.yml
68577e1caeb323cfcee0df9805bc057caa2f7e06 authored about 5 years ago by Elia Schito <[email protected]>46966e3415d2887e0b6189f42dc3454354cb4f16 authored about 5 years ago by Elia Schito <[email protected]>
2135cf46af9293879dff6a76b49b1952ab68d5b8 authored about 5 years ago by Elia Schito <[email protected]>
As it's not compatible with --parallel.
10249e91860382a9b7fe36c26e1f79f8a592e3c1 authored about 5 years ago by Elia Schito <[email protected]>7268284c6fefd654e10e36eb6f318818d0287a5e authored about 5 years ago by Elia Schito <[email protected]>
7e62d9a0da485bedaacf839de38cadc4d46bf16f authored about 5 years ago by Elia Schito <[email protected]>
0bd2f23479d552dba0d8c6c03cf57517d86b3bbf authored about 5 years ago by Elia Schito <[email protected]>
90b84fdbb048acbe5daf713285bb0839d31cd64c authored about 5 years ago by Elia Schito <[email protected]>
Also get rid of bigdecimal/kernel and embed the method definition in
the main file.
7bb0d0f6272ab47914d87af04a8b090b97704a9e authored about 5 years ago by Elia Schito <[email protected]>
095ace51fe68597976ce8c25b478d923ddff6baf authored about 5 years ago by Elia Schito <[email protected]>
9cd57151497a618b4fe69ff45b8d1bbe0d117116 authored about 5 years ago by Elia Schito <[email protected]>
9f3387ab72da4ff6eea55eb61d7c265099ec01ca authored about 5 years ago by Elia Schito <[email protected]>
d2553bdf3ce1729ceb48a6c98879af258a9cc69a authored about 5 years ago by Elia Schito <[email protected]>
Passing `uplevel:` prints a warning with the same format as those
printed by the corelib.
Add a simple filters formatter
27d6eab60d8d84d1260821dc1b2070aac5fde420 authored about 5 years ago by Elia Schito <[email protected]>Ensure filters are always sorted and formatted consistently.
- Removes duplicates ignoring the ...
8494292fc85b9d94bf2eeca3ee4ddade379e1205 authored about 5 years ago by Elia Schito <[email protected]>[skip ci]
a8e4616cd6cef2650d83751bebc5a3b0894f6192 authored about 5 years ago by Elia Schito <[email protected]>opal 1.0 fix: raises "warning: Removed semicolon ending x-string expression,...
c0f038be71df1e805f8409d87dc77b8c7e7f842e authored about 5 years ago by Elia Schito <[email protected]>[skip ci]
ca3b9e7f68f103043c51a1fd185816bb50deaae5 authored about 5 years ago by Elia Schito <[email protected]>Add opal/io to opal/mini
ffe4593268602eb5e31dc248899df5d8e6b8cd29 authored about 5 years ago by Elia Schito <[email protected]>913093ad99cf636b6b9325c079f216ac463ee3c7 authored about 5 years ago by Bernhard Weichel <[email protected]>
Related to #1481 and #1466.
92c779f184b71b630a8efe8eb3e040bf03c23dd3 authored about 5 years ago by Elia Schito <[email protected]>Remove duplicated spec filter
5f1ef2ddc024ed2b071bfa47db2a4db8be3756ce authored about 5 years ago by Elia Schito <[email protected]>5d59ade20d29dc60f0a1217e916156d4a4daa537 authored about 5 years ago by Kenichi Kamiya <[email protected]>
Allow to change Nashorn path if using GraalVM
70353c19337d145291817ca9124116d436dd6754 authored over 5 years ago by Elia Schito <[email protected]>
See also:
- https://github.com/graalvm/graaljs/blob/master/docs/user/NashornMigrationGuide.md#la...
Move the compiler runner to its own file
529e5328b62780e190ac5f1eebdacde2a70d3ecd authored over 5 years ago by Elia Schito <[email protected]>