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 #1225 from alexdowad/fix_return_percent_str

Fix parsing of `return %{string}`

4da871d30df9ba993ae4cd7bb1dc6ef7a6ae1f13 authored almost 9 years ago by Elia Schito <[email protected]>
Fix parsing of `return %{string}`

The (ludicrously convoluted) Ruby lexer has a number of states, which affect
how various constru...

520a539e9c2e58efb9813d22d4f50fdb00d6b2b8 authored almost 9 years ago by Alex Dowad <[email protected]>
Merge pull request #1224 from alexdowad/fix_lambda

Fix parsing of `method do ... end` inside lambda body

d1af1983973ec8190c0f49851543f12f5aba8d11 authored almost 9 years ago by Elia Schito <[email protected]>
Fix parsing of `method do ... end` inside lambda body

The lexer has a special state in which it lexes "do" as kDO_BLOCK rather than
kDO. It enters thi...

7b5e4797e6fbdbe1dda99b7df25e0b4af0b3510c authored almost 9 years ago by Alex Dowad <[email protected]>
Merge pull request #1223 from vais/date

Correct defaults for Date.new

59163b462b62bbde2e9ccb786f269b2efb473133 authored almost 9 years ago by Elia Schito <[email protected]>
Normalize the comment style in runtime.js

[skip ci]

8bf761dcc14500d7c333c7af00acf52a14fbd204 authored almost 9 years ago by Elia Schito <[email protected]>
Resolves #1220, Implement File.read in Nashorn

b4fa02bfd3989340a89e7435b390a8686483d17a authored almost 9 years ago by Guillaume Grossetie <[email protected]>
Correct defaults for Date.new

6c291c574b07835c78edc0af2652dad4546a14a5 authored almost 9 years ago by Vais Salikhov <[email protected]>
Adds a changelog entry for Nashorn runner

3e59eff3a2003b2ad96c0f37390eb584b20208a0 authored almost 9 years ago by Guillaume Grossetie <[email protected]>
Adds Nashorn runner

4df94cdecbe3bb5f64df52bcb5ac3815e712f252 authored almost 9 years ago by GUILLAUME GROSSETIE <[email protected]>
Add io stdlib for Nashorn

7019af65cc521245ff25fab141a8d57a0b8e285a authored almost 9 years ago by Guillaume Grossetie <[email protected]>
Merge pull request #1195 from Mogztter/pr-nashorn

Adds Nashorn runner

6b1adf5329485f2273452e5c79f06e2d12594a49 authored almost 9 years ago by Elia Schito <[email protected]>
Implement Date constants

e37b925289aabac0fbdd73b2412147889c709aa9 authored almost 9 years ago by Vais Salikhov <[email protected]>
Implement Date::Infinity (lifted from cruby/ext/date/lib/date.rb)

ae8500ca18561f25c5604196c46c1a4e4e5aa866 authored almost 9 years ago by Vais Salikhov <[email protected]>
Merge pull request #1217 from vais/kernel-extend

Run rubyspec/core/kernel/extend_spec

e41007ab8033913dd0699efae15e752f78415434 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1216 from opal/elia/split-runtime-bridge

Split the internal runtime bridge() helper

2496716d5d63ab1acb19957d8cb0dab95c2fae78 authored almost 9 years ago by meh <[email protected]>
Run rubyspec/core/kernel/extend_spec

bd50e1ff1f6bf988819cb16ad68ba2fec143d2c4 authored almost 9 years ago by Vais Salikhov <[email protected]>
Split the internal runtime bridge() helper

Previously the bridge helper had a double life with internal branching
based on the number of a...

90b4942b2fa9d881be6e5d0d1657682c42c4db2f authored almost 9 years ago by Elia Schito <[email protected]>
Remove duplicated comment

Was copy/pasted from Opal.append_features.

51fb56948c298c9c9b80dda6a1c1a931d5e91774 authored almost 9 years ago by Elia Schito <[email protected]>
fixup! e4a8015f0f (Add a missing local ref to the defined module)

Was missing the variable declaration.

5b7d33c6fdd6642371fb491b050e635c8c922dc1 authored almost 9 years ago by Elia Schito <[email protected]>
README typos and fixes

[ci skip]

fc9c087966d2f1e75f5ce31274ca52380545400f authored almost 9 years ago by Elia Schito <[email protected]>
cli: Alias --no-exit with -E

90ec4eb0411c3d21b443e701d01aaf0ea8ff83e4 authored almost 9 years ago by Elia Schito <[email protected]>
Add a missing local ref to the defined module

fixes #935

e4a8015f0f80d6119881831860680f807f8b05a4 authored almost 9 years ago by Elia Schito <[email protected]>
Fix the default rake task

962a2a5f04f9aa48dd6414160c5be81be7bc9ff1 authored almost 9 years ago by Vais Salikhov <[email protected]>
Merge pull request #1214 from opal/elia/testing-cleanup

Introduce opal/platform (stdlib) & cleanup testing.rake

eb4575b70e1b24c1a6e034b0e273a2542948ed8b authored almost 9 years ago by Elia Schito <[email protected]>
Freezing stubs are expected to be enabled in spec/

8d7c193532c3c2525e34de8cff5974088bb24766 authored almost 9 years ago by Elia Schito <[email protected]>
Move MSpec formatters to a separate file

7f49bdadfe65704536d4b11b7d64a753df94713f authored almost 9 years ago by Elia Schito <[email protected]>
Require opal/platform by default in specs

45ce37bb95f27ce5af548c3830e44d0928280b99 authored almost 9 years ago by Elia Schito <[email protected]>
Manage MSpec exit code with Kernel#exit

5dd7634640578812c668f0fe9c3c127113546747 authored almost 9 years ago by Elia Schito <[email protected]>
Remove the legacy mspec take tasks

cc @vais

140e281899aaab8dfedf848662b0d299c28e2556 authored almost 9 years ago by Elia Schito <[email protected]>
Add a phantomjs specific runner

- use CLI runners instead of dumping to a file to better test runners*
- use opal/platform to ha...

c854c920af90bcbb666c7aba3d9f70edd5382b45 authored almost 9 years ago by Elia Schito <[email protected]>
Add opal/platform to the stdlib

This file will take care of detecting the current platform and loading
the proper IO & Kernel ad...

56fc8318dbf39778b3f374731bda962821d5f189 authored almost 9 years ago by Elia Schito <[email protected]>
Rename the phantom spec to sprockets_phantomjs

This better reflects the parts exercised by the spec.

cd3f8f2df01b3fb4fe3a5760a942b81af1c56251 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1215 from alexdowad/str_sym_literals_in_hash

Accept { 'symbol literal': val } syntax

036578834b46cbdf4341ea14ffb56816c09d7f67 authored almost 9 years ago by Elia Schito <[email protected]>
Accept { 'symbol literal': val } syntax

At the same time, don't mess up the parsing of:

cond ? 'string':'another string'

dfc259eca42726357f069380641290093e7418ee authored almost 9 years ago by Alex Dowad <[email protected]>
Add missing token declaration for tEQL

ef13b1b9a11719bde598786a3bd1735d875c2a4b authored almost 9 years ago by Alex Dowad <[email protected]>
Unary minus has the precedence of... unary minus

The precedence declaration for unary plus followed by a number is not needed.
It doesn't actuall...

2d250539b8e542620c37e43511fcd374b604808e authored almost 9 years ago by Alex Dowad <[email protected]>
Make the CLI phantomjs runner more robust

- CDATA is not supported in HTML5 doctype
- JS code wasn't escaped leading to errors (e.g. if it...

95a630184914a4acdabf9937e7ce89509e69f326 authored almost 9 years ago by Elia Schito <[email protected]>
Make the mspec runner phantomjs v2 compatible

fixes #1026

506c5b1b6b93f9bf11374c06ab9a455f38e5efc9 authored almost 9 years ago by Elia Schito <[email protected]>
Add IO#flush as a noop

Platform dependent code can override it.

12a103ded9bac24e0b6b06237f8a669dd5643821 authored almost 9 years ago by Elia Schito <[email protected]>
Add a changelog entry for #1212

4a475693b560cb4532be001f5c9793363a7e4709 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1212 from fazibear/fix-native

fix Native to work with Array

04e6ef990890ed2581436e16d6987917b074e4b1 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1213 from vais/update-rubyspec

Update to latest RubySpec

90ae27a64fcde2bda6e2dc0180131faad009add4 authored almost 9 years ago by Elia Schito <[email protected]>
Stub out `a_file` for autoload

5609fc1fbae0ae0eafce6e050c43ef0968b220c6 authored almost 9 years ago by Vais Salikhov <[email protected]>
Update to latest RubySpec

2e0769b4870e43a1aac00f5711587969b8bb8931 authored almost 9 years ago by Vais Salikhov <[email protected]>
add a block to proc

7c1df31c3412c233b07cc883f1ca91ea2c3ee47e authored almost 9 years ago by Michał Kalbarczyk <[email protected]>
add Proc implementation and specs

1b3e74becb162fa9c7c710c974a866fac409fb37 authored almost 9 years ago by Michał Kalbarczyk <[email protected]>
fix Native to work with Array

b1d6a007f11c9cae6e759671d31f471c7ce69771 authored almost 9 years ago by Michał Kalbarczyk <[email protected]>
Add ruby-head to allowed failures (take 2)

c416e56c207734ad0dee0104d1586fe7f2b3ea93 authored almost 9 years ago by Elia Schito <[email protected]>
Add ruby-head to allowed failures

3a4468871701d26908659d915340ec85c564810c authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1210 from opal/elia/instance_eval_with_string

BasicObject#instance_eval(str) now compliant

e2f4e9a2c577861cd3728a0cbb9c88231fe7625a authored almost 9 years ago by Elia Schito <[email protected]>
BasicObject#instance_eval(str)` now compliant

Needs `require "opal-parser"`.

44b8cfca1490915022b478b35e4a67a599bec968 authored almost 9 years ago by Elia Schito <[email protected]>
minitest: Remove patch, as #690 seems resolved

closes #690 (seems fixed on master)

e7b3154e2485b32efad16d864a2721d6112e71b3 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1209 from jgaskins/optimize-struct-access

Optimize Struct access

e7f2ba4bca8b727958af175fa4f8f5f666e0b1d3 authored almost 9 years ago by meh <[email protected]>
Merge pull request #1208 from jgaskins/optimize-zsuper

Optimize super as a bareword

85c74f009e5bc0965d997768669d76fd50ec903a authored almost 9 years ago by meh <[email protected]>
Interpolate Ruby code instead of port to JS

This keeps style similar to surrounding code by only porting what does
not directly work in Ruby.

6499d1fb971696825ff632719f93daa2e99a2ef4 authored almost 9 years ago by Jamie Gaskins <[email protected]>
Reduce name clashing with Ruby code

2e0e0de6776bcc01ce9ec8b917230013385a731d authored almost 9 years ago by Jamie Gaskins <[email protected]>
Optimize Struct setter methods

0b17f8b3f58354b93bd474d0fcef51d23949c9dd authored almost 9 years ago by Jamie Gaskins <[email protected]>
Optimize Struct access

When using methods on a struct, we don't need to check whether the
struct has that as a member. ...

f9526d423223a23b563b2bd77f852d93d3df4426 authored almost 9 years ago by Jamie Gaskins <[email protected]>
Use proper local variables for super/splat

067532414086851b1bf9cd291187deaae54d71a0 authored almost 9 years ago by Jamie Gaskins <[email protected]>
Optimize super without args

d513c05cd2a4117d31717e55a7345e1025e13f34 authored almost 9 years ago by Jamie Gaskins <[email protected]>
Merge pull request #1207 from jgaskins/optimize-kernel-hash

Optimize Kernel#hash

be4e1de386da32b7fa1c2feee1f6f27f5e87e337 authored almost 9 years ago by meh <[email protected]>
Optimize Kernel#hash

Using the class name and id aren't necessary since the Hash redux in
bd61c41ebeb59885ac9d325141e...

4bb3e519e340b36b00e91875ad4d2dd1c42d9b97 authored almost 9 years ago by Jamie Gaskins <[email protected]>
Merge pull request #1205 from alexdowad/grammar

Remove unused terminals from grammar

f57f719c367407be4fb12918c2149c6f2566b57f authored almost 9 years ago by Elia Schito <[email protected]>
Remove unused terminals from grammar

Clean up a bit of cruft in the grammar. If these are ever needed, they can
be added back.

1f7b1902444bc894ff435eeec851be8d8d62d1a6 authored almost 9 years ago by Alex Dowad <[email protected]>
Merge pull request #1204 from jgaskins/optimize-alias

Optimize aliasing methods

6de3cddfe1e14b0703f69bdbdb2df57db9250db0 authored almost 9 years ago by meh <[email protected]>
Merge pull request #1150 from fazibear/fix-1146

throw exception when included object is a class, fixes #1146

fa1403adcde131f45b9f1147f0ad7d3f056e9269 authored almost 9 years ago by Vais Salikhov <[email protected]>
Optimize aliasing methods

Doesn't seem the wrapper is necessary anymore. This removes
deoptimizations that occur due to th...

e480fe8b566b0c5705110c2cc82844b2e18b628c authored almost 9 years ago by Jamie Gaskins <[email protected]>
fix-1146

c9f3e5bcecef27010e23e4f2f29d587397f8e26c authored almost 9 years ago by Michał Kalbarczyk <[email protected]>
Merge pull request #1203 from rocLv/delete-repeat-but

delete repeat "but"

2696a38c64e6b2e84a05e9ebc100bf6e3e651b3a authored almost 9 years ago by Vais Salikhov <[email protected]>
delete repeat "but"

9df3b37591f95b29e72a0900521a13f22699bb21 authored almost 9 years ago by rocLv <[email protected]>
Merge pull request #1201 from wied03/clone_fix

Ensure cloned objects do not copy ivars that are not returned by #instance_variables

a05caa0591d1d92cfe5b1bc3fc4af2626bf90bdd authored almost 9 years ago by meh <[email protected]>
Ensure cloned objects do not copy ivars it shouldn't

Makes https://github.com/opal/opal/pull/1186 behavior consistent

7622a9640aef496c30a35f2a6636b78f1c22cb8b authored almost 9 years ago by Brady Wied <[email protected]>
Merge pull request #1199 from jakutis/opal_erb_dont_fix_quotes

fix "backslash must appear before newline" when Opal ERB code block includes a function call wit...

c14666c49117a12011862a552504bfc6cb9efa8e authored almost 9 years ago by Elia Schito <[email protected]>
fix "backslash must appear before newline" when Opal ERB code block includes a function call with doublequotes

2aa469de97212ca5232f8840f97710e47a04ff07 authored almost 9 years ago by Vytautas Jakutis <[email protected]>
Extract Module#ancestors to a runtime function

870337072b87068e27c7065d93cfb5e32073b6e1 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1193 from vais/kernel

Implement Kernel#remove_instance_variable

8c63adb73587b70b46447e4b381951f0ec806752 authored almost 9 years ago by meh <[email protected]>
Implement Kernel#remove_instance_variable

7aeacffbac6e853df77892cc27eb5c88d5508332 authored almost 9 years ago by Vais Salikhov <[email protected]>
Remove unused mspec support file

ref #1192

ab0511fe44d0da2370721ca9400b45ef8936db25 authored almost 9 years ago by Elia Schito <[email protected]>
Mark both Phantom & Node stdout/err as tty = true

Also update the write proc of const instead go gvars for Node.

f21ba919664d5cb0d1124991b369c433fbd2093d authored almost 9 years ago by Elia Schito <[email protected]>
Move the mspec runner to spec/

3586c752c1899316d8abaefba1f28a003b44dcff authored almost 9 years ago by Elia Schito <[email protected]>
Rename strscan.rb filter to stringscanner.rb to match the new RubySpec file name

6b2b4d99ac52f16d4f54fded2aca551f19803f7f authored almost 9 years ago by Vais Salikhov <[email protected]>
Merge pull request #1186 from iliabylich/fix-ivars-for-js-keywords

Fix Kernel#instance_variables, Kernel#instance_variable_get and Kernel#instance_variable_set for...

36c0a36730c08a388da9b9a3fa1b680257b89f3a authored almost 9 years ago by Elia Schito <[email protected]>
Fix Kernel#instance_variables, Kernel#instance_variable_get and Kernel#instance_variable_set for reserved JS keywords as ivar names.

3aa843517c8721153f54d9c5d3af9aefdffa1163 authored almost 9 years ago by Ilya Bylich <[email protected]>
Merge pull request #1190 from vais/rubyspec

Clean up RubySpec bug filters

1baac3a5e9d68b0dd6e98859bc0efaa5b7d527db authored almost 9 years ago by Elia Schito <[email protected]>
Clean up RubySpec bug filters

5ab3af6dfc527dcf73404c2da782405b60f7cca5 authored almost 9 years ago by Vais Salikhov <[email protected]>
Pass "Array#zip stops at own size when given an infinite enumerator"

fcbf51291f928408f2ef585ca17aa649dc9cfbfc authored almost 9 years ago by Vais Salikhov <[email protected]>
Merge pull request #1188 from fazibear/fix-js-new

fix JS.new to work with DOM objects

8f92f28e77e75e8df7243ebd853d2c2ff11f9193 authored almost 9 years ago by meh <[email protected]>
Merge pull request #1189 from vais/2.2.3

Bump RUBY_VERSION from 2.1.5 to 2.2.3

e18b890b7d0c28b90c569b93510bbfdf4a358afd authored almost 9 years ago by meh <[email protected]>
fix jshint error

66b741504c567d11f187ef79c5d211f61a7468df authored almost 9 years ago by Michał Kalbarczyk <[email protected]>
fix JS.new to work with DOM objects

0ebc29db73cc4fcae87f113bc8a9b7cd65721efe authored almost 9 years ago by Michał Kalbarczyk <[email protected]>
Add unsupported (taint) filter for Hash#reject to make phantomjs pass

332e0c8d609d804bbe6cd391729d6878b9af4d47 authored almost 9 years ago by Vais Salikhov <[email protected]>
Move runtime declarations top-side to pass latest jshint

71c57c07bd02e986c0f1b8afd08c73936d8d7a3f authored almost 9 years ago by Vais Salikhov <[email protected]>
Bump RUBY_VERSION from 2.1.5 to 2.2.3

aa49d4656305f6257a1a93aac6527a5368622189 authored almost 9 years ago by Vais Salikhov <[email protected]>
Cleanup rubyspec list

- removed noop kernel inclusions
- fixed sorting
- added some empty lines around library specs

e61f5b0ee8608e1644e57da5fcecb88782b7e563 authored almost 9 years ago by Elia Schito <[email protected]>
Fix Kernel#exit to allow exit inside #at_exit

c6ffbfee22c031e90f30adfd8daf7ac23650e430 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1180 from iliabylich/fix-ivars-for-nil-and-hash

Fix Kernel#instance_variables for Hash and nil

759c6c357afff11bd0d52c989ed2d3f588b04168 authored almost 9 years ago by Elia Schito <[email protected]>
Fix Kernel#instance_variables to return blank array for base classes.

5e72c31a90480868a5745cb0924e5c5658bbfd1b authored almost 9 years ago by Ilya Bylich <[email protected]>
Merge pull request #1185 from opal/elia/on-commits

doc: On the number of commits per PR

6c69152100090ad17dd9dd18e4c29b48d83b94cd authored almost 9 years ago by Vais Salikhov <[email protected]>
doc: On the number of commits per PR

In response to @vais (https://github.com/opal/opal/pull/1180#issuecomment-155060845) :)

[skip ci]

b78bd1a298e04751f1015d2f6d528252eab7ffda authored almost 9 years ago by Elia Schito <[email protected]>