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

break: Fix Hash#each_value

817cc31f4bf787c1ff793f89f11c38fbf494cbc1 authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix Hash#each_key

31039f7b3886d8c4a1e0d5d94a3aa5a669b67254 authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix Hash#each

df09a833bf339a94f9f65ac848188088594a6278 authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix Hash#delete_if

6fbc1a090d70f931c5c55112ee9c8ea477de6f3a authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix Number#upto

c44ccd8108898069ce984cc760d0da03b0369244 authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix Number#times

bfde6af61151c823eedabe500cc4582f95cb1762 authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix Number#downto

636563831e9aae3bc8046287f272218c5405c505 authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix Range#each

c879e75ea0ed425ac6e4218ce7d854cc7f9c43bf authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix String#upto

e29f72bcaf7617213bbe1fbc09cf3b64865179a4 authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix String#each_line

6d545b70f6b19b100ad3e84fc59be7a5bdc8532c authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix String#each_char

3c4cde70d2e6f0bc70b755009d02c6f060f22363 authored almost 9 years ago by Vais Salikhov <[email protected]>
break: Fix Proc#call

1cff8ddda68515dcd7d0d9beb1138ee413a46506 authored almost 9 years ago by Elia Schito <[email protected]>
break: Fix Enumerable#take_while

3b87a4f717c193ad1710d7cfe187cd5831882ab3 authored almost 9 years ago by Elia Schito <[email protected]>
break: Fix Enumerable#none?

02c0825b4bebc6cb2bd6af2706ebd4866ace2f7e authored almost 9 years ago by Elia Schito <[email protected]>
break: Fix Enumerable#first

d6ad20216c67dcba3ea3b95595723d37a2cd2dfc authored almost 9 years ago by Elia Schito <[email protected]>
break: Fix Enumerable#detect

399ed35276e982b5321ecab42cdaa37adf28529b authored almost 9 years ago by Elia Schito <[email protected]>
break: Fix Enumerable#any?

475b1ecea10b71ffc5d2b1f84e975789c201e96d authored almost 9 years ago by Elia Schito <[email protected]>
break: Fix Enumerable#all?

3ede77622f48e47ff4cb1fa049edaf0b72b33d82 authored almost 9 years ago by Elia Schito <[email protected]>
break: Fix Enumerable#find_index

5cd37eed47fd4be9411ed103de4e1b0762c0844c authored almost 9 years ago by Elia Schito <[email protected]>
Remove the legacy break support from Kernel#loop

5184ee623e92eb2d3d97ca5ec5d36c8a7ffc08ab authored almost 9 years ago by Elia Schito <[email protected]>
Don't replace JS-falsy values with nil

6f8cfec4f83cf0d996aa2d9b723ef81ad79f4033 authored almost 9 years ago by Elia Schito <[email protected]>
Don't depend on scopes to detect "break"s

Rather will rely on the global compiler status.

f8ff898ff80de000db5c626ecaedd32d101bdaaf authored almost 9 years ago by Elia Schito <[email protected]>
Make the breaker unique for each call

9e4d1379b314741d4e15adbe519e2bb186445f2e authored almost 9 years ago by Elia Schito <[email protected]>
Treat `break` with try/catch on the first iter

ref #1247

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

674c02f42bb0274fb9f7c6c8606e92b2a37dc382 authored almost 9 years ago by Elia Schito <[email protected]>
Update the Changelog with the latest changes 🎄

[skip ci]

2087b880b4c5952b4cf52c814a68939a07332f62 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1248 from iliabylich/fix-modules-comparison

Fixed modules comparison.

7a57a0c0b8d5c40c7ea2cb4d108d64be83fb752c authored almost 9 years ago by meh <[email protected]>
Merge pull request #1249 from iliabylich/fix-to_n-method-for-opal-objects-containing-native-objects

Fix Array#to_n, Hash#to_n, Struct#to_n when the object contains native objects.

6babe386cc952dfd12b482ed4a7f6365ab149c8d authored almost 9 years ago by meh <[email protected]>
Fix Array#to_n, Hash#to_n, Struct#to_n when the object contains native objects.

Closes #1244.

e6d5ff3f4613645da04696da922864685552794d authored almost 9 years ago by Ilya Bylich <[email protected]>
Fixed modules comparison.

cbb05e53de526cd234e18a4ce5f095b9e27d129d authored almost 9 years ago by Ilya Bylich <[email protected]>
Merge pull request #1246 from vais/range

Range#to_a fully compliant with RubySpec

5b168e678e40a496308d5fb2b0c6708f5466af65 authored almost 9 years ago by Vais Salikhov <[email protected]>
Let build_class_singleton_class build a real class

And also fix the inheritance building all the singleton class
superclasses, which are the singl...

6044d30d239363907aa5ae19fd03578101102b81 authored almost 9 years ago by Elia Schito <[email protected]>
Inline Opal.boot_class_object

Was just a method call and setting $$super and $$parent.

d54984a077d5352d680c4adad892e2ab9b58721a authored almost 9 years ago by Elia Schito <[email protected]>
Move Opal.boot_class_alloc to the class section

afaab6dd1b8800573112e9141da8e608075c3deb authored almost 9 years ago by Elia Schito <[email protected]>
Runtime docs, rules ed.

4f1cc5dd9e8d8c7f1dccf768b49e1dca69e2f9c8 authored almost 9 years ago by Elia Schito <[email protected]>
Remove Opal.boot_class which was just 2 meth calls

556067872badd720aa09439ab644514268dfb94b authored almost 9 years ago by Elia Schito <[email protected]>
Range#to_a fully compliant with RubySpec

4a39155d2872264b28f31a64dd004575873463bc authored almost 9 years ago by Vais Salikhov <[email protected]>
Use "name" instead of "id" for Class/Module names

d142ae4dcc1a9e6efc970add65c5e7349d70b947 authored almost 9 years ago by Elia Schito <[email protected]>
Remove repeated work from Opal.klass

621eed9f7b3316e29595061a625f2af79665509f authored almost 9 years ago by Elia Schito <[email protected]>
Runtime docs

9597ca7c41e190a8c8366e9f7728850e113e6b7d authored almost 9 years ago by Elia Schito <[email protected]>
Inline Opal.boot_core_class_object

The implementation was so simple it was easier to keep it inline.

6cca8c7e5b95d827c83cbd2c0c30fe0d20b65dd3 authored almost 9 years ago by Elia Schito <[email protected]>
Refactor runtime class boot helpers

Keep all the common code in Opal.setup_class_object and avoid ifs

f575139c504a5a581f85111fb6fa0ed0ed341752 authored almost 9 years ago by Elia Schito <[email protected]>
Remove superclass param from setup_class_object()

The method was used by both boot_class_object and boot_core_class_object
In the second case the ...

be3877177d9e4bd3dee60bbe035b90cb06d49a83 authored almost 9 years ago by Elia Schito <[email protected]>
More displayName fixes in the runtime

e6070a4b3be75988095c2270f96b059b3ea84c5c authored almost 9 years ago by Elia Schito <[email protected]>
Let module creation be the same in runtime/corelib

Now Module.new goes through the usual .allocate / #initialize cycle.

e7cc10e2d84514224cdfd990387df37012af82dc authored almost 9 years ago by Elia Schito <[email protected]>
Extract Module#initialize to a helper

Also make Class and module actually call their #initialize methods.

f1dc683c282a7440061d069f68a20053b8c925c3 authored almost 9 years ago by Elia Schito <[email protected]>
Group runtime functions & improve docs

5ffb992270545908315e9c61f08cd6a4885a4849 authored almost 9 years ago by Elia Schito <[email protected]>
Use coercion helpers where appropriate

9484a62c85844991d0416957c874397cb276af46 authored almost 9 years ago by Elia Schito <[email protected]>
Expose all runtime function on the Opal. namespace

ce94a7249c22d4300eceaae18ce7bfdfb5ee0eb3 authored almost 9 years ago by Elia Schito <[email protected]>
Docs for Opal.cdecl()

f72f445346e79ebbd69ad556dfd0c7624b9ecb93 authored almost 9 years ago by Elia Schito <[email protected]>
Just use `superclass` in runtime, was `superklass`

c7a099d8ce79b615da505e49d6f2699f74cf52da authored almost 9 years ago by Elia Schito <[email protected]>
Opal.create_scope() takes a scope as first param

eea6d353020e84d979da2ce89f18c80ea0890602 authored almost 9 years ago by Elia Schito <[email protected]>
Runtime docs

31203062d7d28d726f03f6e970a9aa1fcd1f0dc9 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1243 from vais/rubyspecs-cleanup

Rubyspecs cleanup

8f098c8a029b51ca041b919c74547648e4ea3478 authored almost 9 years ago by Elia Schito <[email protected]>
Parser can handle %<> strings

87c8b66bc09a101ce78ac4e1e14127d9e2ee388c authored almost 9 years ago by Alex Dowad <[email protected]>
Whitespace

c00e6a8d9dd606151f8c8cb2723aa26f017e3e71 authored almost 9 years ago by Elia Schito <[email protected]>
Set dynamic-require to warning for sprockets specs

That makes them using the same config as those using the CLI.

03a4909f5a0d0e8333231f007976e6007942ccfc authored almost 9 years ago by Elia Schito <[email protected]>
Run rubyspec/core/module/autoload_spec

5f84907b444546a0b3da567fd1ad4b85f5d67189 authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/language/match_spec

0f87af711793386c95c128244f1851dc17f11fbb authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/language/line_spec

f6999d7933092fc8847997c0f3e7065d3cd6eb34 authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/language/lambda_spec

eb22916955178f731115416b321495f9f92499d9 authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/core/module/name_spec

88de0ca04e701bd70411b42ac3c645a1d9b64c01 authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/core/module/const_set_spec

ff5015e5ee5ddc80f7037316fc4df8b26010db8c authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/core/proc/arity_spec

ef97e281c58a8a03ca99f39e181b4c069edf044c authored almost 9 years ago by Vais Salikhov <[email protected]>
Add a regression failure (interaction with newly running specs?)

fails "Reopening a class adds new methods to subclasses"

212e2bc98e0989f41beff08bd308b7d2d95ed3d4 authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/core/unboundmethod/arity_spec

6e01bf7493ad7581ccb8b27e348ec96d3f8613f0 authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/core/range/to_a_spec

c1f2796d3943ec6b9c9d88463b7c67685cbb8ce3 authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/language/while_spec

2bd602d597b3c3d2dee575ec2fee135d9b2c8fa6 authored almost 9 years ago by Vais Salikhov <[email protected]>
Run rubyspec/language/regexp_spec

f7f0b40aa1da53823091f31a268b24d57caba3f6 authored almost 9 years ago by Vais Salikhov <[email protected]>
Releasing 0.9.0.rc1

84d804efe5c4a5452fe46f4dab07a523f13b7a82 authored almost 9 years ago by Elia Schito <[email protected]>
Update the changelog with fixes from @alexdowad

5a8fbfda41cbed7454e3805444c0b747ae30b166 authored almost 9 years ago by Elia Schito <[email protected]>
Add Java to JSHint globals

fixes #1239

0e2f99b79b8b8a174d3dc1c3f830343e98506ce2 authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1232 from iliabylich/fix-module-prototype-chain

Fix method lookup on a Module when the same method was defined on a Class.

fb904a15fee4a97b6a50a69c58fe94700fbce3cf authored almost 9 years ago by Elia Schito <[email protected]>
Fix method lookup on a Module when the same method was defined on a Class.

c3c673858c16d0acc21771986afc982c7b079f8d authored almost 9 years ago by Ilya Bylich <[email protected]>
Merge pull request #1238 from opal/elia/runtime-cleanup

runtime.js cleanup

b57e9cdf872680f99d5f021cf4f3d34bc6e907a8 authored almost 9 years ago by Elia Schito <[email protected]>
Always set the constructor displayName in alloc fn

runtime.js @ boot_class_alloc()

acf61e0a0b6b4df8c94d5ac612a61c516186caaa authored almost 9 years ago by Elia Schito <[email protected]>
More uses of displayName and renames in runtime.js

7eea07a1fb49c8cff5b11bf0a3fe3035da9e9316 authored almost 9 years ago by Elia Schito <[email protected]>
Fix comments yard syntax

e55805491c0267605a21b3f286f819f7685013af authored almost 9 years ago by Elia Schito <[email protected]>
Cleanup Opal.klass and Opal.boot_class_object

Also set displayName where appropriate.

60e22091f8dab117fe87a09fabae6de14ffb508d authored almost 9 years ago by Elia Schito <[email protected]>
Match basic class JS and Ruby names in runtime.js

With the only exception of Object, named _Object to avoid confusion
with `window.Object`.

8ccdd1c0a169d657edec9e9af37c72acfc23f416 authored almost 9 years ago by Elia Schito <[email protected]>
Add displayName to special ivar treatment

d5d423eeb979d92e41cda5625ec04ca018c7e600 authored almost 9 years ago by Elia Schito <[email protected]>
Whitespace/Comments

Remove leading empty comments.

df94aa73a80d703ab0ab48430a0d418ae913fa1c authored almost 9 years ago by Elia Schito <[email protected]>
Rename JS constructots for basic Classes

Avoid confusion between the constructor that will be the class' $$alloc
property (and will be us...

30099f65dff850a799e5a2a2862de7abb1bb4bb8 authored almost 9 years ago by Elia Schito <[email protected]>
Make the runtime code more consistent in style

- Directly assign functions to the Opal obj properties:
function foo() {…}
Opal.foo ...

252f0fdb4bd129bf0aaa8dbe443ddc0411d1010c authored almost 9 years ago by Elia Schito <[email protected]>
Avoid if..else without curlies in runtime.js

...And make the code a bit more concise to boot.

3d5f8d32a75f56d8a5d36e298060dad6db7c5be3 authored almost 9 years ago by Alex Dowad <[email protected]>
Remove rubyspec/language/variables_spec from the list of excluded files

a3d60a253ee2a6affeb8e9b4cfb9588076449b67 authored almost 9 years ago by Vais Salikhov <[email protected]>
Update the Gitter badge

[skip ci]

3d4795338f22705fa019275830a297026817abca authored almost 9 years ago by Elia Schito <[email protected]>
Mass assignment is now Rubyspec-compliant

These forms were previously not supported:

a,*b,c = something
a,*,b = something
...

0f6e09f8cad575fd802ff5b20174b2f250afa7e0 authored almost 9 years ago by Alex Dowad <[email protected]>
Alias BasicObject#== as #equal?

Apparently there are no specs for #equal? in either rubyspec or
cruby/test. The test I added is...

9a0a859bdde53aa6b48e78a086eed76425c57e95 authored almost 9 years ago by Elia Schito <[email protected]>
Whitespace + Comment formatting

e071a98816b7d50654c8b10ed977fb6db9d3b0c2 authored almost 9 years ago by Elia Schito <[email protected]>
Ensure that StringScanner#scan anchors the match to beginning of remaining text

The trouble here is that /^abc|def/ anchors only the 'abc', not the 'def'. So,
we can emit /^(?:...

e201d8050eb07e8bbedb8171688aca5178f2dd26 authored almost 9 years ago by Alex Dowad <[email protected]>
Lexer always goes into 'expr_beg' state after lexing an operator-assignment

The correct lexer state was not entered after lexing `|=` and `>>=`. Depending
on what followed ...

40445ff23c4f205d470bb17cf8d5e8f7b40f13be authored almost 9 years ago by Alex Dowad <[email protected]>
Fix parsing of do..end block after lambda argument

In 7b5e479, a `lexer.cmdarg_push` and `lexer.cmdarg_pop` pair was added
around the parsing of `l...

0b1bf550381e023d381595f70cd85ca43d974d5d authored almost 9 years ago by Alex Dowad <[email protected]>
Merge pull request #1231 from vais/issue-1230

Fix #1230 (interpolating an empty expr into string)

78b5c4527dc6ce0cc75b372eb31382bb9d1a9c7a authored almost 9 years ago by Elia Schito <[email protected]>
Fix #1230 (interpolating an empty expr into string)

f62f49b6fe8c45953b05fa2d728a3b7094a36bf6 authored almost 9 years ago by Vais Salikhov <[email protected]>
Merge pull request #1227 from alexdowad/aref_block_arg

Method calls using [] syntax (arefs) accept trailing &block arg

9d3d2eca24be3e1d545a9b281d72695dc958ac8e authored almost 9 years ago by Elia Schito <[email protected]>
Merge pull request #1222 from Mogztter/issue-1220

Resolves #1220, Implement File.read in Nashorn

f58cf3ea853e4d6460af35bdc779e883f9fc1f10 authored almost 9 years ago by Elia Schito <[email protected]>
Method calls using [] syntax (arefs) accept trailing &block arg

Just had to add a missing grammar rule.

1da8aca769515c2c42b84030318d42486ffecfcb authored almost 9 years ago by Alex Dowad <[email protected]>
Remove extends IO

8ab64cd1788f414745c606e2eedce8e2a046e22c authored almost 9 years ago by Guillaume Grossetie <[email protected]>
Make it easy to enable debug output from Racc

Thanks @alexdowad!!!

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