aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
...
* [ruby/bigdecimal] Alloc wrapper object before VpAllocKenta Murata2020-12-291-10/+17
| | | | | | | | Calling TypedData_Wrap_Struct after VpAlloc may cause memory leak. This commit reverts d11b78f9c420f39ee800b9feed4839cd28f4ff5c. https://github.com/ruby/bigdecimal/commit/2c5a288caf
* [ruby/bigdecimal] Refactor to extract VpCheckExceptionKenta Murata2020-12-291-14/+14
| | | | https://github.com/ruby/bigdecimal/commit/6fd171308b
* transcode-tblgen.rb: make silent a little when just -vNobuyoshi Nakada2020-12-291-0/+1
|
* Fix compile error of sockssocketMasaki Matsushita2020-12-291-1/+1
| | | | | | | | The patch is provided by PhobosK (Phobos Kappa). This should be backported to Ruby 3.0. [Feature #17187]
* [ruby/bigdecimal] Refactor to decompose VpNewVarArg into small functionsKenta Murata2020-12-291-95/+137
| | | | https://github.com/ruby/bigdecimal/commit/7504871c48
* [ruby/bigdecimal] Reduce needless object allocation in f_BigDecimalKenta Murata2020-12-291-5/+3
| | | | https://github.com/ruby/bigdecimal/commit/5c808eeabb
* [ruby/bigdecimal] [Doc] Fix the document of BigDecimal()Kenta Murata2020-12-281-1/+1
| | | | | | [ci-skip] https://github.com/ruby/bigdecimal/commit/905d0345ec
* [ruby/bigdecimal] Reduce conditional branch count in VpNewVarArgKenta Murata2020-12-281-14/+10
| | | | https://github.com/ruby/bigdecimal/commit/741fb3e00f
* Get rid of inconsistent dll linkages against vcpkg readlineNobuyoshi Nakada2020-12-271-6/+6
|
* Removed declarations conflicting on MinGWNobuyoshi Nakada2020-12-271-3/+0
|
* etc: use atomic operation instead of mutexNobuyoshi Nakada2020-12-242-26/+12
|
* Expose atomic operation macros with RUBY prefixNobuyoshi Nakada2020-12-242-0/+2
| | | | | Now we need atomic operations, which are lighter than mutex, more widely for extension libraries because of Ractor.
* [fiddle] Update to 1.0.6Kenta Murata2020-12-231-1/+1
|
* [ruby/psych] Bump version to 3.3.0Hiroshi SHIBATA2020-12-231-1/+1
| | | | https://github.com/ruby/psych/commit/0abce07b90
* [ruby/date] Define dummy RUBY_TYPED_FROZEN_SHAREABLE for old RubyKenta Murata2020-12-231-0/+4
| | | | https://github.com/ruby/date/commit/9f3e90ad10
* [ruby/psych] Optimize cache with `compare_by_identity`Marc-Andre Lafortune2020-12-232-2/+2
| | | | | Using `compare_by_identity` gives a 4x performance boost on cache hits. Benchmark in https://github.com/JuanitoFatas/fast-ruby/issues/189
* [ruby/psych] Make Ractor-ready.Marc-Andre Lafortune2020-12-233-6/+43
| | | | | | | Config is Ractor-local. Benchmarking reveals that using `Ractor.local_storage` for storing cache is similar to accessing a constant (~15% slower).
* [ruby/psych] Don't use instance variables directly for configMarc-Andre Lafortune2020-12-231-9/+9
|
* [ruby/psych] Avoid methods depending on bindingsMarc-Andre Lafortune2020-12-231-3/+5
| | | | Improves Ractor-readiness.
* [ruby/psych] Freeze constants.Marc-Andre Lafortune2020-12-232-3/+3
| | | | Improves Ractor-readiness.
* Update version for Ractor-safe extensionsHiroshi SHIBATA2020-12-232-2/+2
|
* [ruby/etc] Make Ractor safeMarc-Andre Lafortune2020-12-222-14/+23
|
* [ruby/etc] Refactor locks using mutex APIMarc-Andre Lafortune2020-12-221-9/+23
|
* [memory_view] Make some rb_memroy_view_t members constKenta Murata2020-12-231-2/+2
|
* [memory_view] Remove needless use of StringValueCStrKenta Murata2020-12-231-3/+2
|
* [memory_view] Add mdview_release_view for testKenta Murata2020-12-231-1/+11
|
* [memory_view][fiddle] Rename len to byte_size in rb_memory_view_tKenta Murata2020-12-232-7/+7
|
* [memory_view][fiddle] Use bool for boolean return valueKenta Murata2020-12-232-10/+10
|
* fiddle: Update to 1.0.5Sutou Kouhei2020-12-233-5/+8
|
* Merge json-2.5.1Hiroshi SHIBATA2020-12-223-2/+4
|
* Prepare to release json-2.5.0Hiroshi SHIBATA2020-12-223-2/+3
|
* [ruby/date] Make Ractor-compatibleMarc-Andre Lafortune2020-12-221-1/+4
|
* [ruby/date] Deep-freeze internal constants.Marc-Andre Lafortune2020-12-223-23/+27
| | | | Probably not strictly necessary, but good principle anyways.
* Removed rb_cData entityNobuyoshi Nakada2020-12-225-5/+5
| | | | | | | * Use the wrapper of rb_cObject instead of data access * Replaced rest of extentions * Updated the version guard for Data * Added the version guard of rb_cData
* [json] Avoid method redefinitionKenta Murata2020-12-211-9/+9
|
* [json] Make json Ractor safeKenta Murata2020-12-213-1/+18
|
* [json] JSON_parse_float: Fix how to convert numberKenta Murata2020-12-212-50/+72
| | | | | | | | | | | Stop BigDecimal-specific optimization. Instead, it tries the conversion methods in the following order: 1. `try_convert`, 2. `new`, and 3. class-named function, e.g. `Foo::Bar.Baz` function for `Foo::Bar::Baz` class If all the above candidates are unavailable, it fallbacks to Float.
* [json] Make JSON.create_id thread-safeKenta Murata2020-12-211-1/+14
|
* [json] Stop using prototype objectsKenta Murata2020-12-212-13/+15
|
* [ruby/digest] Remove .gitignore and .travis.yml from gemspecKenta Murata2020-12-211-6/+8
| | | | https://github.com/ruby/digest/commit/7b57b73f46
* Remove unnecessary files from .documentKazuki Tsujimoto2020-12-201-2/+3
| | | | | | | | | | | * ruby:ext/rbconfig/exts.mk * ruby:ext/rbconfig/sizeof/Makefile * ruby:ext/rbconfig/sizeof/depend * ruby:ext/rbconfig/sizeof/mkmf.log * ruby:ext/win32/depend * ruby:ext/win32/exts.mk * ruby:ext/win32/resolv/depend * ruby:lib/racc/pre-setup
* ext/racc/cparse is ractor-safeKoichi Sasada2020-12-201-0/+4
|
* ext/monitor is ractor-safeKoichi Sasada2020-12-201-0/+4
|
* cgi/escape is ractor-safeKoichi Sasada2020-12-201-0/+4
|
* bigdecimal: initialize conditionally assigned variableNobuyoshi Nakada2020-12-201-1/+1
|
* [pathname] Make Pathname Ractor safe (#3940)Kenta Murata2020-12-201-0/+4
|
* [bigdecimal] Version 3.0.0Kenta Murata2020-12-191-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/e68f1eb33a
* [bigdecimal] Add BigDecimal#n_significant_digitsKenta Murata2020-12-191-2/+30
| | | | | https://github.com/ruby/bigdecimal/commit/981dc48f95 https://github.com/ruby/bigdecimal/commit/9ecf880ec04
* [bigdecimal] Make BigDecimal#precs deprecatedKenta Murata2020-12-193-4/+15
| | | | | https://github.com/ruby/bigdecimal/commit/7e80e6e145 https://github.com/ruby/bigdecimal/commit/0ed7846e8c
* [bigdecimal] Add BigDecimal#precisionKenta Murata2020-12-191-0/+68
| | | | https://github.com/ruby/bigdecimal/commit/458eb66c49