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 #2426 from takaram/fix-2405

Make `Time.new` not depend on `Date.prototype.getTimezoneOffset()`

e2fd5be30c6c7d14263a617c64a8a3d5eb6a4283 authored over 2 years ago by Elia Schito <[email protected]>
Run tests on CI with timezone

This was mistakenly removed in c01e309916b5fc456257bd1a46ef8f5fca3415a0

08bfcc1d1d6bf8ecd0306c8f65011b63b144a76b authored over 2 years ago by Takuya Aramaki <[email protected]>
Make `Time.new` not depend on `Date.prototype.getTimezoneOffset()`

Fixes #2405

a45e08d81cb2f16b104a099f58c20c1d083cdf40 authored over 2 years ago by Takuya Aramaki <[email protected]>
Require opal/full before spec_helper

6ea09fa969b10beb938a1c26c7ef9bf05150a8c0 authored over 2 years ago by Elia Schito <[email protected]>
Trigger Dir autoloading to avoid random Module.constants spec failures

0604e2ead605d0e368990ef725f54d0bfb376f9f authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2420 from Leon0402/fix/StringScanner

Fix `scan_until` and `check_until` implementation of StringScanner

af6e6c207c3daf5cddfd8ec45e663a8b1f3ddc4c authored over 2 years ago by hmdne <[email protected]>
StringScanner: fix scan_until and check_until

7a157d46c31e44c02f0e41ccc0c6ba2ac32c0984 authored over 2 years ago by Leon De Andrade <[email protected]>
Release v1.5.0

534edd19e20677e9ec70aad4f680cd598aaaea32 authored over 2 years ago by Elia Schito <[email protected]>
Release v1.5.0.rc1

473ceb3a7abc000a448ca27c58fc8bdceaa4cf0b authored over 2 years ago by Elia Schito <[email protected]>
Typo

29a50839b3026f9f7896bc897f32eed7f3d94376 authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2418 from opal/hmdne/fix-2417

Correct String#to_proc and method_missing compatibility

eaed1c4e23a6d0bf2facd815f2f23da5436337e5 authored over 2 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

d67cdaec2741de225e620b407b252b395076d68d authored over 2 years ago by Elia Schito <[email protected]>
Correct String#to_proc and method_missing compatibility

This fixes #2417

Co-authored-by: Lionel Chauvin <[email protected]>
Co-authored-by: Elia Schi...

3ce0f540ac55607d4f8926b53509e152709bd1e3 authored over 2 years ago by hmdne <[email protected]>
Merge pull request #2401 from opal/hmdne/optimize-returning-functions

Improve performance with optimized common method/iter implementation shortcuts

1f1d1d11c98a99dd1dfad69f1abfd40c6941111e authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2411 from opal/hmdne/case-to-if-to-switch

Try to compile case statements as switch

6fc5f7c7b4975bbf554083b431585e727a16595f authored over 2 years ago by Elia Schito <[email protected]>
Introduce method/iter definition shortcuts.

This optimizes defs like `def a = 5`

50b3cefaa3ec699b1b61d3c4b52b056ed9d91bb2 authored over 2 years ago by hmdne <[email protected]>
Remove the backtrace destroying shortcuts

We will reintroduce them later on in Opal v1.6 behind an optimization
flag.

e9dfc09f9485113ecb74f71598c4caf3a86cafd5 authored over 2 years ago by hmdne <[email protected]>
Try to compile case statements as switch

This improves deeply nested `case` structures, like in... lexer.
Compared to a tree of else ifs,...

6d1b83d1cc45b1fc062222029cca92e413da9ae9 authored over 2 years ago by hmdne <[email protected]>
Update UNRELEASED.md

23c9149bde67511f900e9342501d9a4055e7a9fe authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2402 from opal/hmdne/optimize-writer

Optimize writer

75b01e76f5d72bf1cfe287390ae325894ea861da authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2392 from opal/hmdne/irb

Support binding.irb

c68cfff124acccdfcda064897839c2a300239ee1 authored over 2 years ago by Elia Schito <[email protected]>
Remove nodejs/irb. It never worked.

828f2093e823d673ca9d2d36918b6b304973be7d authored over 2 years ago by hmdne <[email protected]>
Rename Debug to IRB

d8ba07767532f194e66d8d06ce387d9f301ea64b authored over 2 years ago by hmdne <[email protected]>
Update UNRELEASED.md

8bb911bb9e9d69e836f3adcea7f765ee5464373a authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2414 from opal/elia/dce-tangential-fixes

Misc changes extracted from DCE work

19fad560458f8c53a81497fa04c0519caed1c8b8 authored over 2 years ago by Elia Schito <[email protected]>
CSendNode is now handled by CallNode

Conditional send in Ruby can be used together with writers to
return a correct value.

6ef5abea33259822ef5ee10d1121025c58b40687 authored over 2 years ago by hmdne <[email protected]>
Replace the explicit_writer_return rewriter with call node logic.

This allows us to optimize the AsciiDoctor code a lot, but also
brings us closer to compatibilit...

e448dbcd033d4ff32cfe3b9ff0743e386660d186 authored over 2 years ago by hmdne <[email protected]>
Merge pull request #2397 from opal/elia/super-in-reused-lambda

Restore "Fix defining multiple methods with the same block"

225f2caa546e5faed0bbbc8b37ffbfb514905084 authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2413 from opal/hmdne/string-no-cast

String methods always return Strings even when overloaded

b857fe37f118fb6149185409905fee7ff0cf91b5 authored over 2 years ago by Elia Schito <[email protected]>
Consider alias use as method calls on the "old name"

44c1509848a907fd0453be1cba250f27d42e3cbe authored over 2 years ago by Elia Schito <[email protected]>
Use a dedicated method for collecting method calls

We can use it later to store additional informations or perform more
complex operations.

f0202a2100aadc79e540dd8045b0cbc08f737992 authored over 2 years ago by Elia Schito <[email protected]>
Remove unused Nodes::CallNode#record_method?

Was always returning true.

Co-Authored-By: hmdne <[email protected]>

c66fda34b7ba146e7a5c6a594108993a9fd2ef97 authored over 2 years ago by Elia Schito <[email protected]>
String methods always return Strings even when overloaded

fe7a4a31ffa78617477c7648ba28f9cb867478a0 authored over 2 years ago by hmdne <[email protected]>
Keep track of the proxied method body for optimization checks

51d4ba6ded71c266965cdde1a6055f8177280ae9 authored over 2 years ago by Elia Schito <[email protected]>
Fix the wrapper for a re-used define_method block

Use Proxy and Reflect to wrap a define_method block and dynamically set
`$$jsid` on the target.
...

235d5596bc834fe819e9693618ba0a88042794aa authored over 2 years ago by Elia Schito <[email protected]>
Fix failure management in the performance task

939ea1b51106a34d7cd4198778074de46df8cb0a authored over 2 years ago by Elia Schito <[email protected]>
Alphabetize eslint globals

b5d373de1fb5ead82a02368998546e1f89954616 authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2407 from opal/hmdne/releasing-step

releasing.md: add a step to prepare for next release

195442aab3bcd6c627411bda2eb1fa836329196b authored over 2 years ago by Elia Schito <[email protected]>
Attempt to optimize binding

2fb4f9aa800a30c893fb31210941923f3d591d27 authored over 2 years ago by hmdne <[email protected]>
Load corelib/binding and corelib/debug by default

d3137d873d7606c948afbb71c0e66db29b436668 authored over 2 years ago by hmdne <[email protected]>
Support binding.irb

e612196fce6abffed39e6def6e8a016dd854bbfa authored over 2 years ago by hmdne <[email protected]>
Merge pull request #2408 from opal/hmdne/irb-pre

Prepare for the irb

6d7cb82e58ffb962ec07149e9a282279b5cd76ea authored over 2 years ago by hmdne <[email protected]>
Update Opal version to v1.5.0.dev

f1a4fc78c2256a812ffac9c05f9b016114ccf1a2 authored over 2 years ago by hmdne <[email protected]>
Fix newly found lint errors

08d318c5d36447520dc466d95e8965afa334e8ce authored over 2 years ago by hmdne <[email protected]>
Move opal/replutils to opal-replutils

9d900ddd5802aea46431b29b864fd008993a7668 authored over 2 years ago by hmdne <[email protected]>
releasing.md: add a step to prepare for next release

This is so that we clearly denote when we stray off to -dev.

3d8260bc543ad595dfc17a79f839724d8c87acf0 authored over 2 years ago by hmdne <[email protected]>
Update UNRELEASED.md

5405e4910c2b4f734b023c038835a04d3c729584 authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2404 from takaram/prev_next_float

Implement Number#prev_float/next_float

738c70db04f60a700ffb6c3361d0a59e3d19c6d2 authored over 2 years ago by hmdne <[email protected]>
Implement Number#prev_float/next_float

62473cfeb0f8b0a9ae05a97b11278f1dc14cc31a authored over 2 years ago by Takuya Aramaki <[email protected]>
Update UNRELEASED.md

6f84b76717c2c56e031baa40d3309c1562405577 authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2400 from opal/hmdne/rewriters-refactor

Rewriters refactor

9271fe071beac46ddc3c9ed614a8af2df7686a51 authored over 2 years ago by hmdne <[email protected]>
Merge pull request #2398 from opal/hmdne/date

DateTime and Date refactor

b4a85f9455e3b82b7842e2de730428a055557b36 authored over 2 years ago by hmdne <[email protected]>
Merge pull request #2403 from janbiedermann/hash_each_delete

Fix exception during Hash#each and Hash#each_key if keys get deleted during loop

8310df1d9f53427e3093243c4c5d9631a59247e8 authored over 2 years ago by hmdne <[email protected]>
uses Hash#each_pair alias for each for the spec, doesnt fail

a0b6b909e47eec9e0da42cf356fa3ee41024e87b authored over 2 years ago by Jan Biedermann <[email protected]>
doesnt fail

60d00100973f98b49266a7360559d2b1b6767a78 authored over 2 years ago by Jan Biedermann <[email protected]>
Must copy $$keys Array so that the indexes remain valid in case keys are deleted during loop

c940c0fca66614ef980141398eee8e517c1105b5 authored over 2 years ago by Jan Biedermann <[email protected]>
Fix and clean up the rewriter specs

e25e2956be8c85e11776a99361ddc523f662d7c3 authored over 2 years ago by hmdne <[email protected]>
Rewriters refactor:

* The :top node is created before rewriting now.
* Allow for a rewriter to mark content as dynam...

bc430ad85341728d433b5ac82a4612781b98f03d authored over 2 years ago by hmdne <[email protected]>
Finishing touches; pass a few more tests

023aceae13a2a756577a527631c1e832749bdaff authored over 2 years ago by hmdne <[email protected]>
Implement Time & Date & DateTime formatters

Also start some work towards implementing different Gregorian reform start dates.

64f6625815919dde2d7d8974c63ed13dbd5fe93e authored over 2 years ago by hmdne <[email protected]>
Date & DateTime refactoring

f671e593631f9edc06d261a9b51be9bcab39692f authored over 2 years ago by hmdne <[email protected]>
Remove Date#{<,<=,>,>=}, because we include Comparable

30f529be046cbf10fb2e57220fba1088f6b8cadb authored over 2 years ago by hmdne <[email protected]>
Use Forwardable to not duplicate some methods with Time

a6d41d7752882bc6000fb3384efaf8db5ff9d5b3 authored over 2 years ago by hmdne <[email protected]>
Preliminary DateTime implementation

fa50744c350a7e4888f39a62d558bed745021188 authored over 2 years ago by hmdne <[email protected]>
Factor out Date::Infinity to a separate file

4345224d2dbd2b30c2e0bd1b8cbe58b4ef6ff1db authored over 2 years ago by hmdne <[email protected]>
Number#=== is identical to #==, let's alias one to another

13eea55bfe55fd7da4aee90893ed3c8ca5fbe3ce authored over 2 years ago by hmdne <[email protected]>
Update UNRELEASED.md

dde3c350e8adeb8aa323afbb9bfae20936ef25b8 authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2394 from opal/hmdne/timezone

Introduce timezone support for Time

1ff36f61634c0d0007e8ccb5050dc06b3430bf19 authored over 2 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

d772d7412d0d1ce923b560c99c371e382343fb2b authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2395 from opal/hmdne/math

Move `Math` IE11-supporting polyfills to a separate file

fa125c3176f8cc10d1c234249e32e698c34e51fe authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2396 from janbiedermann/exit_gracefully

exit repl gracefully

bcc27a2566e6ccfe5984e0bed8cf3fa36efed3c1 authored over 2 years ago by hmdne <[email protected]>
exit gracefully

c04ad2dff034a6132f9972728c30dfc01c978399 authored over 2 years ago by Jan Biedermann <[email protected]>
Bugfix: Rational and Complex should trigger autoload when triggered via syntax sugar

d3d7d3657af307753ef1ea40b3ef2e3e47b423a7 authored over 2 years ago by hmdne <[email protected]>
Math refactor

* Moved IE11-times polyfills to a separate file.
* Condensed generation of JS-equivalent functio...

8ef4c98da27525e0900ec3430b6eaae36606e441 authored over 2 years ago by hmdne <[email protected]>
Compress the weekday methods

0e6e56c9742da73b2ebb172d1107462cefd473af authored over 2 years ago by hmdne <[email protected]>
Introduce timezone support for Time

Co-authored-by: Elia Schito <[email protected]>

d99fc7c4069cb8e2d4568185d39fdc8a70ecc749 authored over 2 years ago by hmdne <[email protected]>
Improve the benchmark for symbol property access

ac3477d97b94fef1626d0972c0d6da110d9d650e authored over 2 years ago by Elia Schito <[email protected]>
Add missing require to the applescript runner

8c2d2b4a94a0ecd144f5b917b4775d66c3b152c1 authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2387 from HoneyryderChuck/stdlib-uri

added URI.decode_www_form

dbe23d6f00630d40e778223b415bb839d3454555 authored over 2 years ago by hmdne <[email protected]>
Add partial encoding support and tests to URI

- Added support for the enc argument
- Fix isindex resetting to false

Co-authored-by: Elia Schi...

4d3540e952de2f0b70728760fc1d37288475e392 authored over 2 years ago by hmdne <[email protected]>
Correct a lint issue

6d9cfcc7fae4f635d853b20c26155965b41d5111 authored over 2 years ago by hmdne <[email protected]>
Reformat the patch slightly: 2-spaces

21a2df6e28bc46db584de09bfd0e981548ca9b9a authored over 2 years ago by hmdne <[email protected]>
added URI.decode_www_form

57e2c7cdeac7c13403c602d438cd21974154eddf authored over 2 years ago by HoneyryderChuck <[email protected]>
Update UNRELEASED.md

fd55fb636ca9e3564cb1ad4206053db0a3d55bc7 authored over 2 years ago by Elia Schito <[email protected]>
Merge pull request #2079 from ysakasin/fix_regexp_new

Fix Regexp.new, replace \A to ^ and \z to $

bb1b70a5ce087d865199d06893f0ad8bb01c2056 authored over 2 years ago by Elia Schito <[email protected]>
Fix Regexp.new, replace \A to ^ and \z to $

\A and \z isn't supported by JavaScript but Regexp.new didn't replace
these.

05cf3bdbd276cda4a699c85a779b0279217198a5 authored over 2 years ago by SAKATA Sinji <[email protected]>
Merge pull request #2383 from opal/hmdne/runtime-optimization

Runtime optimization

4fc1632ccdd17b92a3e8034518d47485d0ddaa76 authored over 2 years ago by Elia Schito <[email protected]>
Optimize Array#[]=

Fast-track some type checks and move if/else statements to JS.

e71ed446291178d6e4b3d9f1ea24c5df3c2f5a98 authored almost 3 years ago by Elia Schito <[email protected]>
Opal.send: Don't apply blockopts twice

907b00fd763da3cba6e7dfd12538b7904f60f054 authored almost 3 years ago by hmdne <[email protected]>
Fast track coerce_to Opal.Integer

f7be5805b0e9f4a3ea036a1128a96024670e8f49 authored almost 3 years ago by hmdne <[email protected]>
Optimize Opal.coerce_to for Strings

0cca4b2b97ce0f9b9d984c29fecceeff3c90ab5d authored almost 3 years ago by Elia Schito <[email protected]>
Opal.coerce_to: Fast path the most common situation

649884920fdaac389a91c9d2bcc859d32835d2fa authored almost 3 years ago by hmdne <[email protected]>
Opal.is_a: Use indexOf to find an ancestor

e09121c132da081e778c2d8ada6bdbf0c2cc6b4a authored almost 3 years ago by hmdne <[email protected]>
Move performance calculations to utility classes

060528098d3e9c3bb3f237664305040e9c7acb6f authored almost 3 years ago by Elia Schito <[email protected]>
Raise the performance run inner iteration

Working with bigger numbers should better highlight the changes in
performance.

918c3bba8ef85af1d2650626ee0cfe3efc6c0d1b authored almost 3 years ago by Elia Schito <[email protected]>
Update yarn.lock

b97c1709dbad892a44fee20f36ec365f52eaadf2 authored almost 3 years ago by Elia Schito <[email protected]>
Release v1.4.1

f46d2294d9f46b0ac9080c314bec2f62b8b61eb1 authored almost 3 years ago by Elia Schito <[email protected]>
Merge pull request #2380 from opal/hmdne/promise-v2-stable

PromiseV2 is now stable!

d035f152db56e9ff652a82a72fe033ecaa4bbf66 authored almost 3 years ago by Elia Schito <[email protected]>
Update UNRELEASED.md

d0bdd3c79a12d3a8c2126da7cc65930bf46df610 authored almost 3 years ago by hmdne <[email protected]>
PromiseV2 is now stable!

a37a577867b9ae7cc28742f409cb59f0ca11f911 authored almost 3 years ago by hmdne <[email protected]>