aboutsummaryrefslogtreecommitdiffstats
path: root/ext
Commit message (Collapse)AuthorAgeFilesLines
* Update references when tracing allocationsAaron Patterson2020-08-181-3/+77
| | | | | | | | | | The allocation tracing code keeps essentially a weak reference to objects that have been allocated (storing the allocation information along with the weak ref). Compacting the heap would break references in this weak map, so the wrong values could be returned. This commit just updates the values in the weak ref in order to fix the allocation tracing book keeping
* Fixed the invalid SPDX identifier on gemspecHiroshi SHIBATA2020-08-181-1/+1
|
* Update the license for the default gems to dual licensesHiroshi SHIBATA2020-08-1811-11/+11
|
* Fixed the attribute name for multiple licenses.Hiroshi SHIBATA2020-08-182-2/+2
|
* Fix method name escaping in ObjectSpace.dumpJohn Hawthorn2020-08-171-1/+2
| | | | | | | | It's possible to define methods with any name, even if the parser doesn't support it and it can only be used with ex. send. This fixes an issue where invalid JSON was output from ObjectSpace.dump when a method name needed escaping.
* Also escape DEL codeNobuyoshi Nakada2020-08-171-0/+3
|
* Fixed the radix for control charsNobuyoshi Nakada2020-08-171-1/+1
|
* [ruby/racc] Return `nil` for all syntax errorsMarc-Andre Lafortune2020-07-301-1/+1
| | | | https://github.com/ruby/racc/commit/51817ce0f6
* Promote io-nonblock to the default gems.Hiroshi SHIBATA2020-07-301-0/+22
|
* Promote io-wait to the default gemsHiroshi SHIBATA2020-07-301-0/+22
|
* Use https instead of httpKazuhiro NISHIYAMA2020-07-284-13/+13
|
* [DOC] Clarify ObjectSpace return values are in bytes [ci skip]Simon Perepelitsa2020-07-281-2/+2
|
* Avoid allocating a string when dumping an anonymous module or classJean Boussier2020-07-231-2/+5
|
* [ruby/stringio] Bump version to 0.1.3Nobuyoshi Nakada2020-07-201-1/+1
| | | | https://github.com/ruby/stringio/commit/376516cd2d
* [ruby/stringio] No compatibility check in US-ASCII caseNobuyoshi Nakada2020-07-201-2/+3
| | | | https://github.com/ruby/stringio/commit/59df1c8293
* [ruby/stringio] Removed wrong UNREACHABLENobuyoshi Nakada2020-07-201-1/+0
| | | | https://github.com/ruby/stringio/commit/f528538d10
* [ruby/stringio] Bump version to 0.1.2Nobuyoshi Nakada2020-07-201-1/+1
| | | | https://github.com/ruby/stringio/commit/8cbe3f7397
* [ruby/stringio] Raise an error if encoding conversion not succeededNobuyoshi Nakada2020-07-201-1/+6
| | | | | | | | | | As `rb_str_conv_enc()` returns the argument string object itself unchanged when any conversion failed, check the incompatibility in that case. Fixes https://github.com/ruby/stringio/issues/13 https://github.com/ruby/stringio/commit/ede6bdcc71
* Remove trailing spaces [ci skip]Nobuyoshi Nakada2020-07-202-2/+2
|
* Fix MonitorMixin when the super's initialize has kwargsMasataka Pocke Kuwabara2020-07-171-1/+1
|
* Fix missing imemo cases in objspace_dump by refactoringAlan Wu2020-07-101-23/+1
| | | | | | imemo_callcache and imemo_callinfo were not handled by the `objspace` module and were showing up as "unknown" in the dump. Extract the code for naming imemos and use that in both the GC and the `objspace` module.
* [ruby/bigdecimal] Version 2.0.1Kenta Murata2020-07-061-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/3fa4f2ac67
* [ruby/bigdecimal] Return US-ASCII string from BigDecimal#to_sKenta Murata2020-07-061-1/+1
| | | | | | Fixes #159 https://github.com/ruby/bigdecimal/commit/57ee92e700
* [ruby/bigdecimal] Drop Ruby 2.3 supportKenta Murata2020-07-061-1/+1
| | | | https://github.com/ruby/bigdecimal/commit/79a819d205
* [ruby/bigdecimal] Support Ruby < 2.6Kenta Murata2020-07-062-0/+27
| | | | https://github.com/ruby/bigdecimal/commit/61ec452599
* [ruby/bigdecimal] Add Complex#to_dKenta Murata2020-07-061-0/+33
| | | | https://github.com/ruby/bigdecimal/commit/97e794ac97
* [ruby/bigdecimal] Remove definition of BigDecimal#initialize_copyJeremy Evans2020-07-061-3/+0
| | | | | | This leaves the default definition, which will raise FrozenError. https://github.com/ruby/bigdecimal/commit/05e843d838
* [ruby/bigdecimal] Support a Complex in Kernel.BigDecimal()Kenta Murata2020-07-061-0/+13
| | | | https://github.com/ruby/bigdecimal/commit/00795cb01f
* [ruby/bigdecimal] Undef BigDecimal#initialize_copyJeremy Evans2020-07-061-1/+3
| | | | | | | | | Both BigDecimal#clone and BigDecimal#dup return self, there is no reason to have initialize_copy exposed as a Ruby method. The same is true for initialize_clone and initialize_dup. https://github.com/ruby/bigdecimal/commit/aaf237fa9e
* Removed ext/bigdecimal/util/depend unused since ↵Nobuyoshi Nakada2020-07-061-14/+0
| | | | dd0c75fdc2104a6ba38b68d4431a572504a3bbc2
* Merge json-2.3.1 from flori/jsonHiroshi SHIBATA2020-07-012-3/+3
|
* [flori/json] Typo fixMarc-Andre Lafortune2020-07-011-1/+1
| | | | https://github.com/flori/json/commit/26c1769969
* [flori/json] Added :call-seq: to RDOc for some methodsBurdetteLamar2020-07-011-0/+12
| | | | https://github.com/flori/json/commit/ee5b6a74e9
* [flori/json] Use frozen string for hash keyWatson2020-07-012-67/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When use non-frozen string for hash key with `rb_hash_aset()`, it will duplicate and freeze it internally. To avoid duplicate and freeze, this patch will give a frozen string in `rb_hash_aset()`. ``` Warming up -------------------------------------- json 14.000 i/100ms Calculating ------------------------------------- json 148.844 (± 1.3%) i/s - 756.000 in 5.079969s ``` ``` Warming up -------------------------------------- json 16.000 i/100ms Calculating ------------------------------------- json 165.608 (± 1.8%) i/s - 832.000 in 5.025367s ``` ``` require 'json' require 'securerandom' require 'benchmark/ips' obj = [] 1000.times do |i| obj << { "id": i, "uuid": SecureRandom.uuid, "created_at": Time.now } end json = obj.to_json Benchmark.ips do |x| x.report "json" do |iter| count = 0 while count < iter JSON.parse(json) count += 1 end end end ``` https://github.com/flori/json/commit/18292c0c1d
* [flori/json] RDoc enhancementsBurdetteLamar2020-07-011-17/+1
| | | | https://github.com/flori/json/commit/ada48f0236
* [flori/json] RDoc enhancementsBurdetteLamar2020-07-012-22/+22
| | | | https://github.com/flori/json/commit/470d909c0d
* [flori/json] RDoc enhancementsBurdetteLamar2020-07-012-28/+3
| | | | https://github.com/flori/json/commit/7bee2c7c13
* [flori/json] Rdoc enhancementsBurdetteLamar2020-07-012-154/+732
| | | | https://github.com/flori/json/commit/e7e3732130
* [ruby/fiddle] support for very old libffiNobuyoshi Nakada2020-06-281-0/+2
| | | | | Define `Fiddle::TYPE_VARIADIC` only when `ffi_prep_cif_var` is available, otherwise skip the test for it.
* [ruby/fiddle] try bundled libffi by defaultNobuyoshi Nakada2020-06-281-1/+1
| | | | | If no installed libffi found, use bundled libffi unless explicitly `--disable-bundled-libffi` option is given.
* [ruby/fiddle] Support MSWIN (#43)Sutou Kouhei2020-06-273-31/+48
| | | | https://github.com/ruby/fiddle/commit/f16e7ff6e0
* [ruby/fiddle] Add missing includeSutou Kouhei2020-06-271-0/+2
| | | | https://github.com/ruby/fiddle/commit/4ca61efcd7
* [ruby/fiddle] Add support for variadic argumentsSutou Kouhei2020-06-274-63/+197
| | | | | | | | GitHub: fix GH-39 Reported by kojix2. Thanks!!! https://github.com/ruby/fiddle/commit/6c4cb904dc
* [ruby/fiddle] Use meaningful variable nameSutou Kouhei2020-06-271-3/+3
| | | | https://github.com/ruby/fiddle/commit/2cac24b7c8
* [ruby/fiddle] Use "do { } while (0)" to ensure requiring ";"Sutou Kouhei2020-06-271-8/+8
| | | | https://github.com/ruby/fiddle/commit/2155ae5979
* [ruby/fiddle] Fixed typosNobuyoshi Nakada2020-06-261-4/+5
| | | | | | https://github.com/ruby/fiddle/commit/a09e66adf4 https://github.com/ruby/fiddle/commit/6cab9b45d6 https://github.com/ruby/fiddle/commit/ab72b19bed
* Removed nonsense `rubygems_version` in input gemspec filesNobuyoshi Nakada2020-06-253-3/+0
| | | | | As it is ignored and set at building packages automatically, it is just nonsense to set in gemspec file for input.
* [flori/json] add metadatanoraj2020-06-251-0/+8
| | | | https://github.com/flori/json/commit/9f430a7bba
* [flori/json] Gem::Specification#date is set automatically by RubyGems.org.Hiroshi SHIBATA2020-06-251-1/+0
| | | | https://github.com/flori/json/commit/1920653013
* [flori/json] keyword argument is provided after Ruby 2.0+Hiroshi SHIBATA2020-06-251-1/+1
| | | | https://github.com/flori/json/commit/78ec5e2bd3