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

Allow to disable backtrace capture

For performance.

00590aa4ce63bf7684f46cd9372ddf6a3d107cb7 authored over 7 years ago by Elia Schito <[email protected]>
Prefer Object.keys/for over for/in (performance)

9d26858d9c02edb6a53a88b930f401f0ba83a290 authored over 7 years ago by Elia Schito <[email protected]>
Don't lookup Object in qualified const ref

fixes #1577

b679d6a8d42463d01e6adc33075fbef5ae456e15 authored over 7 years ago by Elia Schito <[email protected]>
Add some docs for internal Hash properties

deb97c82d39d73c4379d80d253388629c9f02f06 authored over 7 years ago by Elia Schito <[email protected]>
Implement File.readable? in Node.js

9e0ad197a769c3214d866e319b1ea17b9ee2b282 authored over 7 years ago by Guillaume Grossetie <[email protected]>
Merge pull request #1653 from opal/elia/constants

constants system rewrite (in two parts)

2574b79346056538337b8f6511636fa591c397c1 authored over 7 years ago by Elia Schito <[email protected]>
Use a weak constant cache

- It will expire every time a constant is defined, removed or set.
- For relative lookups the ca...

1676712dc7e885abacc32c714e556093a7265f88 authored over 7 years ago by Elia Schito <[email protected]>
Rewrite the constants system

Still needs some fixes for proper autoloading checks and to go back to
acceptable speed.

Specia...

4a412695b2ad2ba835209f9b715e7074910a5bfb authored over 7 years ago by Elia Schito <[email protected]>
Establish a constant lookup IPS benchmark

447e1b4cb313de4bd416f1184b27fcee8cd5edd8 authored over 7 years ago by Elia Schito <[email protected]>
Let Kernel#caller accept *args

Although they're still ignored.

be9f4843de5722bc41871def970acfd2235401d4 authored over 7 years ago by Elia Schito <[email protected]>
No need to require rack in the CLI

0c81518cfeb005bfbe75fcbf07d20ee8f1adcdb7 authored over 7 years ago by Elia Schito <[email protected]>
Dynamic require severity now defaults to `:ignore`

Meaning that by default a `LoadError` will be raised at runtime instead
of compile time.

Also ...

5bede4ea20c51bfa8049fd188c50f5e1d410f3c4 authored over 7 years ago by Elia Schito <[email protected]>
Use an actual monotonic clock if available

319f9c07ea0111e2f8488903cfc0f585d28c2847 authored over 7 years ago by Elia Schito <[email protected]>
Errno::EINVAL takes a name arg

f21a3576f0f2431b2f9c4b39eeda6d1a465fef82 authored over 7 years ago by Elia Schito <[email protected]>
Try to use a formatter for the current platform

Will try to use the "nodejs" formatter when the platform is "nodejs".

850105aba68b2850e67be6ed1ae5423ead8a4f3e authored over 7 years ago by Elia Schito <[email protected]>
Whitespace

1a2cda1c8c60612f92677bfed7effc86042364e2 authored over 7 years ago by Elia Schito <[email protected]>
Accept more MSpec formatter names

6ef8fef242fbedccd9173e3ad92e812ec36b80e4 authored over 7 years ago by Elia Schito <[email protected]>
Use an abstract base formatter class

Instead of hijacking BrowserFormatter.

fc15dc6f37bf2af7499971b4ef2b38c73b673f6d authored over 7 years ago by Elia Schito <[email protected]>
Add opal-platform that will just set OPAL_PLATFORM

d7478de94ea00dcd99968c79fb6244f87bd7d58f authored over 7 years ago by Elia Schito <[email protected]>
Simplify the autoload implementation

The perf gains of the local variable should be negligible for such a
low-traffic method

ea2fba8f4d57e7583fa34b87c4ebbd0d46898465 authored over 7 years ago by Elia Schito <[email protected]>
Remove the now unused Opal.cvars

/cc @iliabylich

33b03df686b4c99a5f0b0d310cfef54411209ae5 authored over 7 years ago by Elia Schito <[email protected]>
Allow InvertedFormatter to override methods

d4dfea9f2dc5e7ee9d99e8049caf315dd8541599 authored over 7 years ago by Elia Schito <[email protected]>
Pass the default compilation as a block to special calls

b54fdd60f1317067e218c8c53e7414b46732eacb authored over 7 years ago by Elia Schito <[email protected]>
Include "server" among the available testing runtimes

Using a live browser makes debugging much easier.

80ecea305409f9c96e2cf9110cda5f8b39123b9d authored over 7 years ago by Elia Schito <[email protected]>
Switch constant scopes to "nesting" terminology

Which better reflects the meaning and mirrors Module.nesting

a5db54d9d6f8b1acbd79bfad700aaf0ad4db1cdf authored over 7 years ago by Elia Schito <[email protected]>
use keys variable in loop in Opal.hash_clone

08a5ac3db7a5e85f52e6097a7d7133c3d19b8465 authored over 7 years ago by Dan Allen <[email protected]>
Implement IO.binread on Node.js

74fbae4f24d6690145b8efe16f8e54e5d89ae5eb authored over 7 years ago by Guillaume Grossetie <[email protected]>
Rewrite logical operator assignment (or_asgn/and_asgn) to condition before compilation.

`lhs ||= rhs` becomes `lhs = lhs || rhs`
`lhs &&= rhs` becomes `lhs = lhs && rhs`
`lhs += rhs` ...

b3121251042838feb70a632f2536a94ac8976b1d authored over 7 years ago by Ilya Bylich <[email protected]>
Implement file.file? and file.readable? for Nashorn

30e5f4f82354bb3362bed2b4afc0aaf04224078d authored over 7 years ago by Guillaume Grossetie <[email protected]>
resolves #1646 File.file?, File.directory? and File.size should never return nil

ccfada98436c82dee3b5cb0ec79a4cbabe48174c authored over 7 years ago by Dan Allen <[email protected]>
Merge pull request #1637 from opal/elia/optimize-hash

optimize hash

9b2dc87d84c91778558bac3970db85d195ae37c0 authored over 7 years ago by Elia Schito <[email protected]>
Respect displayName in Nodejs backtrace

When "nodejs/stacktrace" is loaded.

a7c5597ca82916af715280030aa9e89675336f22 authored over 7 years ago by Elia Schito <[email protected]>
Docs for internal function in Opal.casgn()

bd7ebc8191fbe1974004f44a3ad01cdd9a1dc1d0 authored over 7 years ago by Elia Schito <[email protected]>
Avoid "has own" check by using prototype-less obj

057e576660e1799fad79969568ff26576c932a86 authored over 7 years ago by Elia Schito <[email protected]>
Just reassign Opal.hash_ids instead of deleting it

Keeping a stable object by avoiding keys mutations helps JS VMs make
assuptions and optimize.

B...

fa0186bd5b949b750839c93dad7a1dbd2ef04b03 authored over 7 years ago by Elia Schito <[email protected]>
Add fn.displayName to aliased methods

ad5a1c513e1e0c53832bbfb975dee73023290ea5 authored over 7 years ago by Elia Schito <[email protected]>
Code layout

54ef2a0fbccc1da219f128dadf8e6015a022b2d1 authored over 7 years ago by Elia Schito <[email protected]>
Adds a module id since seekmodule is bundled in opal.js

Improve the documentation on how to update seekmodule.

ff83db584621db65b135bbcd9b71cafe694ad866 authored over 7 years ago by Guillaume Grossetie <[email protected]>
cruby_tests has been renamed to test_cruby

ec00208143ac33c3d11fe05590d80893fdaaf5c2 authored over 7 years ago by Guillaume Grossetie <[email protected]>
Rename task from "cruby_tests" to "test_cruby"

9c168a5010210490c9a6fb6a72950ada359421f5 authored over 7 years ago by Elia Schito <[email protected]>
Store the node separator as "alt" if differs

i.e. on windows ALT_SEPARATOR will be "\".

fixes #1643

df3e0c9387e211b47af2e6d2ff64e1054338b724 authored over 7 years ago by Elia Schito <[email protected]>
Add "&." support for logical operator assignments

26ac42438ccfa9e0f1627fa249d941bc05ce3ecb authored over 7 years ago by Elia Schito <[email protected]>
Add "&." support for operator assignments

+ refactor

e525f8950c8a149e6d5d08e9ac84341f2baaaaf1 authored over 7 years ago by Elia Schito <[email protected]>
Mark some CRuby tests as bug/unsupported

233aa984d1ea71d0c89179de3f34bfd9e4678926 authored over 7 years ago by Elia Schito <[email protected]>
Update Ruby submodule to the latest 2.3 revision

47c2e60d9ec02d5c8fdaf2feee1308772a145e84 authored over 7 years ago by Elia Schito <[email protected]>
Better while indentation

23d4f6a94c23c491e8a8f13d97ba210a21e10b21 authored over 7 years ago by Elia Schito <[email protected]>
Merge pull request #1638 from jgaskins/optimize-methods

Optimize Class#new and aliased methods

e9895377a56274ce847b3cc21e04718d427b637c authored over 7 years ago by Elia Schito <[email protected]>
Avoid long wrapper chains in Opal.alias()

fbe1e58b0177c7ef4f3937299941a4b390141322 authored over 7 years ago by Elia Schito <[email protected]>
Improve docs and rename method wrapper in .alias()

49026aab3daa71116a0d58decd26e04a61bfc8f2 authored over 7 years ago by Elia Schito <[email protected]>
Avoid Chrome deoptim by conditionally reass. block

d4676e2f6700001947c941450dac2ccacb2fab20 authored over 7 years ago by Elia Schito <[email protected]>
Let Hash.new take `Object.create(null)` JS objects

b353237a495c95b3d839246a2aa39c5c9f5848e7 authored over 7 years ago by Adam Jahn <[email protected]>
Add a hint at requiring opal-parser in module_eval

fixes #1500

299c8cdc00124ae9a561ee288486b6ce88c3c9f3 authored over 7 years ago by Elia Schito <[email protected]>
Update the ruby spec

c6c9ce95393d3363ecced3279b0c3ecd85aa6847 authored over 7 years ago by Elia Schito <[email protected]>
Remove debug output

0bd61a054f380062ee8fcbbced8ccf633b28f1e5 authored over 7 years ago by Elia Schito <[email protected]>
Update mspec

03c09eab4ae3839095ddd7753039cd12ba7299a8 authored over 7 years ago by Elia Schito <[email protected]>
Restore showing the error class & message in node

Error.captureStackTrace() will use .name and .toString to build the
first line of the stack tra...

2a217bd6700b0067ccf38c14ec1f363a8242236a authored over 7 years ago by Elia Schito <[email protected]>
Resolves #1639, define Number#=== (#1641)

* Resolves #1639, define Number#===

* Remove typeof and use valueOf()

d732a93d352523f2390615f8845d6b51ccd3dd9f authored over 7 years ago by Guillaume Grossetie <[email protected]>
Revert "Number#=== is called instead of Kernel#=== on switch/case with Numeric"

This reverts commit 348cf42bf093c992146d5d094528c1f1b0ed040f.

c399a3c9b88d7d8d98d8d1419c319187a72ae9cc authored over 7 years ago by meh <[email protected]>
Remove Numeric#[] since it shouldn't be there

6b7a5e95568e0e64f1ac9c9c9f9efd5d1aa712a3 authored over 7 years ago by meh <[email protected]>
Merge pull request #1640 from Mogztter/issue-1639

Number#=== is called instead of Kernel#=== on switch/case with Numeric

fb0cc824758952f632b37afdf310ed94cce2f85f authored over 7 years ago by meh <[email protected]>
Number#=== is called instead of Kernel#=== on switch/case with Numeric

348cf42bf093c992146d5d094528c1f1b0ed040f authored over 7 years ago by Guillaume Grossetie <[email protected]>
Be consistent with previous builds, generated with sprockets

And set generated code to be requireable.

05ef58555af98c9ee8d4754e047282c5c2826531 authored over 7 years ago by Elia Schito <[email protected]>
Optimize Class#new and aliased methods

42527e9fbc3a2057d364c1e2f662457c34517966 authored over 7 years ago by Jamie Gaskins <[email protected]>
Resolves #1630, Escapes meta characters in RegExp

Especially backslashes!
When running on Windows with Node.js, File::SEPARATOR is equals to `path...

b8443c7149a7698fe6a1e2b1c5ca97f807b69a42 authored over 7 years ago by Guillaume Grossetie <[email protected]>
Merge pull request #1613 from jgaskins/allow-emojis-in-strings

Allow emojis in strings

cb00d707d3497f2dbca89a61ccc9fceab0973539 authored over 7 years ago by Elia Schito <[email protected]>
Support higher utf8 codepoints in JS' utf16

Allowing for emoji method names, among other things.

74a54744f4fcf00f556dbc6995ab98703619ce7a authored over 7 years ago by Elia Schito <[email protected]>
Allow emojis in strings

The comment about high-value characters being returned as "\uXXXXXXXX"
from String#inspect doesn...

e37c548a8b5bf38623512cb6da8a9e003bce9b4d authored over 7 years ago by Jamie Gaskins <[email protected]>
Merge pull request #1632 from Mogztter/perf-force-encoding

Returns earlier on force_encoding to improve performance

0c46fca1e7622cc963dd4a48647acf073ea58103 authored over 7 years ago by meh <[email protected]>
Returns earlier on force_encoding to improve performance

52c0f3e00891a1cc5fb1c26cd288cbd3ac0c8f58 authored over 7 years ago by Guillaume Grossetie <[email protected]>
Let builder & simple server use default options

d248e1e2a8932f3d1c64766b530c6a045f7f11fb authored over 7 years ago by Elia Schito <[email protected]>
Reduce stub method calls on startup

This reduces the number of times this function is called on startup by
almost 4x in real-world a...

7ef3aa8a51f2fac3b8d55125a53e59b237b0c83e authored over 7 years ago by Jamie Gaskins <[email protected]>
Test ERB files for string interpolation too

fixes https://github.com/opal/opal/issues/719

e498bc4160737a99131845994b77bf79d0675261 authored over 7 years ago by Elia Schito <[email protected]>
Use Opal::REGEXP_START in path reader

At least until we'll be able to compile `\A` and `\z`.
Also moved it to a constant.

Ref: https:...

2b01d36f38f49bee82e299ec2814efc3241a8dfa authored over 7 years ago by Elia Schito <[email protected]>
Make a couple optimizations in Array (#1627)

* Make a couple optimizations in Array

- Array#initialize was getting deoptimized due to reas...

d2883ad0de65461d6f17e1cf233e9a59b2b1e545 authored over 7 years ago by Jamie Gaskins <[email protected]>
Add abbr-month-name with capital-letter support

Add abbr-month-name with capital-letter support in Date.parse

a7620e2fce4a9ab030d5e5e9dc4a03ac19d3432d authored over 7 years ago by manabu niseki <[email protected]>
Temporarily disable sauce connect

b3dc2c899e401dee9a7293d5bbf68343b871568d authored over 7 years ago by Elia Schito <[email protected]>
Update jruby

6548f9c1f123d2ce459cd26e0a5442834474eb43 authored over 7 years ago by Elia Schito <[email protected]>
Cleanup Gemfile and keep coveralls there

14c948bfaee939b958c5e7f006cb03d885eb1cd5 authored over 7 years ago by Elia Schito <[email protected]>
Code layout

747408a208db5f41b9a9aeb92b9c2421b44520b0 authored over 7 years ago by Elia Schito <[email protected]>
Add "$$" context to Native docs

Since global variables aren't accounted for in yard, add some
extra context to the top level `Na...

d64a0d53bd66697ecd0ba6cc01cd99aba5a52ff0 authored over 7 years ago by bluehavana <[email protected]>
correct anchor to get proper regex source and use supplied flags

1d80a4cf23261bac85879a6a4978b76b96ffb17f authored over 7 years ago by Patrick Kettner <[email protected]>
Adds a test to compile Ruby code with opal-builder.js (#1621)

* Resolves #1619, adds a test to compile Ruby code with opal-builder.js

3392ee2a35a2d5a42ed5fde47992c564a0981511 authored over 7 years ago by Guillaume Grossetie <[email protected]>
Add explicit return to Node.js' File methods (#1620)

5f5ce0487c8d6f409da26aa228629ff5457c18cb authored over 7 years ago by Guillaume Grossetie <[email protected]>
Bump up parser gem's version to 2.3.3.1

6f220e4e5b9a8d233ff0801f056f97d86f3ec044 authored over 7 years ago by Masataka Kuwabara <[email protected]>
Explicitly set Method & UnboundMethod #owner

Most of the time the method's $$owner property will be correctly set.
Otherwise it's ok to guess.

2f6cd21907120393b90e6021c21ed24fc097ccfd authored almost 8 years ago by Elia Schito <[email protected]>
Add a special case for numbers to Opal.is_a()

The Numeric hierarchy is complex enough to deserve that.

00ffb3a4c54e8fe59bb1d548e30ad0847f9fd05e authored almost 8 years ago by Elia Schito <[email protected]>
Use a simple JS "or" instead of a full-blown "if"

Avoid using Ruby ifs when possible.

cbd3533c741009a900a6b1ea490832f4048b9c22 authored almost 8 years ago by Elia Schito <[email protected]>
Allow to skip some filters even in invert mode

c2d2b2aa4ded1a78ed34e090d60e81df72b395aa authored almost 8 years ago by Elia Schito <[email protected]>
Effectively duplicate the methods with Opal.alias

2c4827313d1ed06ea92cd4b77a4d1e24fc386c71 authored almost 8 years ago by Elia Schito <[email protected]>
Convert Node.js' IO errors to Ruby's IOError object

bdd75b3dd07c63a5ed232153e3bcc6c7b3722f89 authored almost 8 years ago by Guillaume Grossetie <[email protected]>
Rename some internal bridged classes method /2

f3ba63f4cc7b3f364cbdc027f8fe2b369ff25bed authored almost 8 years ago by Elia Schito <[email protected]>
Rename some internal bridged classes methods

082b5f35f9c43b3f64170fdd180fb727b59ded48 authored almost 8 years ago by Elia Schito <[email protected]>
Remove duplicate `0.10.3` header in CHANGELOG

h2 header of `0.10.3` is duplicated in CHANGELOG.

Note
------

The following fixes are under 0....

fab514abff90394d209c831f0125e2192e6450d9 authored almost 8 years ago by Masataka Kuwabara <[email protected]>
Ensure node based tests can brake the build

The code was changed from using #sh to #system and only the former was
raising an error when the...

d550fbd1436706467d4abc870ca54e54266c8981 authored almost 8 years ago by Elia Schito <[email protected]>
Declare #windows_platform? before using it

5ae87c52e5006c9e845f9f03ba44e054dfe26daf authored almost 8 years ago by Elia Schito <[email protected]>
Declare Opal to be working with Ruby 2+ only

5990ac3b463ec6b58cadb3f03f0d35933653bb52 authored almost 8 years ago by Elia Schito <[email protected]>
Avoid another hasOwnProperty usage

fixup! c13e83ac22 (Start using empty Objects (since we dropped IE8))

3e5bcb38a1f920d2751cebb0665f0e3a6c8086a8 authored almost 8 years ago by Elia Schito <[email protected]>
Fix Opal.append_features() doc

72ae0f23512c275e661cb0168e26562f9c80d593 authored almost 8 years ago by Elia Schito <[email protected]>
Update MRI versions in travis config

0833c19676bd89d30abd04359d91f2e2520e40e3 authored almost 8 years ago by Elia Schito <[email protected]>
Small Module#instance_methods refactor

2e4cab76a3a1558f84847ed00aa0702fb9ae1ab0 authored almost 8 years ago by Elia Schito <[email protected]>