aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* NEWS-3.0.0: backquote a few code related words. [doc]Marc-Andre Lafortune2021-01-021-8/+8
|
* NEWS: We have links now, and there is no changelog anymore [doc]Marc-Andre Lafortune2021-01-022-8/+2
|
* NEWS: [Feature #17312] [ci skip]Nobuyoshi Nakada2021-01-021-0/+11
|
* Add Enumerable#compact and Enumerator::Lazy#compactzverok2021-01-024-0/+88
|
* Fixed dangling imemo_tmpbufNobuyoshi Nakada2021-01-021-2/+3
| | | | | | | | The count of rb_alloc_tmp_buffer_with_count is the allocation size counted in VALUE size but not in the requested element size. Co-authored-by: Yusuke Endoh <mame@ruby-lang.org> Co-authored-by: Koichi Sasada <ko1@atdot.net>
* mkmf.rb: always try_compile as try_headerNobuyoshi Nakada2021-01-021-1/+1
| | | | | Get rid of "present but cannot be compiled" headers, on some multi-architecture platforms.
* Avoid to use __builtin_clzl in SPARC SolarisKenta Murata2021-01-021-1/+1
|
* Add -v to make benchmarkTakashi Kokubun2021-01-011-1/+1
| | | | I simply can't tell which of compare-ruby and built-ruby is what.
* Improve performance some Float methods [Feature #17498] (#4018)S.H2021-01-016-59/+78
|
* Add __x86_64__ guard to include x86intrin.hKenta Murata2021-01-021-1/+1
|
* Check if x86intrin.h is available not only existingNobuyoshi Nakada2021-01-021-1/+3
|
* [ruby/bigdecimal] Update dependKenta Murata2021-01-021-12/+15
|
* [ruby/bigdecimal] Fix test for Ruby 2.4Kenta Murata2021-01-022-10/+21
| | | | | | Ruby 2.4 does not have RbConfig::LIMITS. https://github.com/ruby/bigdecimal/commit/c8087523b0
* [ruby/bigdecimal] Implement special conversions for 64-bit integersKenta Murata2021-01-027-7/+378
| | | | | | | | | | | | | | | | | This change improves the conversion speed from small integers. ``` Comparison: big_n9 master: 4003688.9 i/s bigdecimal 3.0.0: 1270551.0 i/s - 3.15x slower big_n19 master: 5410096.4 i/s bigdecimal 3.0.0: 1000250.3 i/s - 5.41x slower ``` https://github.com/ruby/bigdecimal/commit/3429bd7e6f
* * 2021-01-02 [ci skip]git2021-01-021-1/+1
|
* [ruby/bigdecimal] Fix test_limitKenta Murata2021-01-021-9/+10
| | | | | | | Keep the default value of BigDecimal.limit by BigDecimal.save_limit to avoid failures of the other test methods due to the unexpected limit. https://github.com/ruby/bigdecimal/commit/bdc1cc6585
* Hoisted out compile_builtin_arg to refine messagesNobuyoshi Nakada2021-01-011-12/+30
|
* Added AST assertions for method definition arguments [Bug #17495]Nobuyoshi Nakada2021-01-011-0/+8
|
* Added AST tests for endless method definitionsNobuyoshi Nakada2021-01-011-0/+19
|
* Make args info for RubyVM::AST to available on endless method without parensMasataka Pocke Kuwabara2021-01-011-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Problem === Arguments information is missing for endless method without parens. For example: ```ruby # ok pp RubyVM::AbstractSyntaxTree.parse(<<~RUBY).children[2] def x() = 42 RUBY # => (DEFN@1:0-1:12 # mid: :x # body: # (SCOPE@1:0-1:12 # tbl: [] # args: # (ARGS@1:5-1:6 # pre_num: 0 # pre_init: nil # opt: nil # first_post: nil # post_num: 0 # post_init: nil # rest: nil # kw: nil # kwrest: nil # block: nil) # body: (LIT@1:10-1:12 42))) # ok pp RubyVM::AbstractSyntaxTree.parse(<<~RUBY).children[2] def x() 42 end RUBY # => (DEFN@1:0-1:14 # mid: :x # body: # (SCOPE@1:0-1:14 # tbl: [] # args: # (ARGS@1:5-1:6 # pre_num: 0 # pre_init: nil # opt: nil # first_post: nil # post_num: 0 # post_init: nil # rest: nil # kw: nil # kwrest: nil # block: nil) # body: (LIT@1:8-1:10 42))) # It has a problem, the `args` is nil pp RubyVM::AbstractSyntaxTree.parse(<<~RUBY).children[2] def x = 42 RUBY # => (DEFN@1:0-1:10 # mid: :x # body: (SCOPE@1:0-1:10 tbl: [] args: nil body: (LIT@1:8-1:10 42))) ``` It causes an error if a program expects `args` node exists. For example: https://github.com/ruby/rbs/issues/551 Solution ==== Call `new_args` on this case.
* Remove unused fileDavid Rodríguez2021-01-011-55/+0
|
* * 2021-01-01 [ci skip]git2021-01-011-3/+3
|
* Method ID of call and fcall can be const not only identNobuyoshi Nakada2021-01-011-1/+1
|
* get_tmopt is no longer usedNobuyoshi Nakada2020-12-311-17/+0
|
* Moved Time.at to builtinNobuyoshi Nakada2020-12-312-61/+57
|
* Moved Time.now to builtinNobuyoshi Nakada2020-12-312-16/+13
|
* Moved time.rb to timev.rbNobuyoshi Nakada2020-12-314-5/+5
|
* Add time.rb as builtinNobuyoshi Nakada2020-12-314-0/+11
|
* Access to reserved word parameter like as `__builtin.arg!(:if)`Nobuyoshi Nakada2020-12-312-5/+30
|
* Fixed missing NORETURN on rb_mod_const_missingNobuyoshi Nakada2020-12-311-1/+1
|
* Defined RBIMPL_ATTR_DEPRECATED_INTERNALNobuyoshi Nakada2020-12-311-12/+12
| | | | | Get rid of duplicate attributes, which may be warned or ignored except for the first.
* Make any hash values fixable [Bug #17488]Nobuyoshi Nakada2020-12-312-8/+29
| | | | | | | As hnum is an unsigned st_index_t, the result of RSHIFT may not be in the fixable range. Co-authored-by: NeoCat <neocat@neocat.jp>
* * 2020-12-31 [ci skip]git2020-12-311-1/+1
|
* [ruby/bigdecimal] Refactor object allocationKenta Murata2020-12-312-101/+107
| | | | https://github.com/ruby/bigdecimal/commit/271cebe567
* [ruby/bigdecimal] Remove ToValueKenta Murata2020-12-311-61/+59
| | | | https://github.com/ruby/bigdecimal/commit/97e9feeebd
* Replaced deprecation macrosNobuyoshi Nakada2020-12-301-28/+21
| | | | | | * DECLARE_DEPRECATED_FEATURE with RBIMPL_ATTR_DEPRECATED_SINCE * DECLARE_DEPRECATED_INTERNAL_FEATURE with RBIMPL_ATTR_INTERNAL And moved function declarations outside both.
* Stop managing valid class serialsTakashi Kokubun2020-12-295-67/+1
| | | | `mjit_valid_class_serial_p` has no longer been used since b9007b6c548.
* Minor grammar fix in String#chomp documentationEric Schneider2020-12-301-1/+1
|
* Try increasing SMTP's read_timeout for --jit-waitTakashi Kokubun2020-12-291-0/+11
| | | | | | | for random hangs like: http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3302796 http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3302188 http://ci.rvm.jp/results/trunk-mjit-wait@phosphorus-docker/3301293
* Increase timeout for reline with --jit-waitTakashi Kokubun2020-12-291-0/+1
| | | | | | | for failures like: http://ci.rvm.jp/logfiles/brlog.trunk-mjit-wait.20201229-130509 http://ci.rvm.jp/logfiles/brlog.trunk-mjit-wait.20201229-165132 http://ci.rvm.jp/logfiles/brlog.trunk-mjit-wait.20201228-015519
* * 2020-12-30 [ci skip]git2020-12-301-1/+1
|
* [ruby/bigdecimal] Remove VP_EXCEPTION_MEMORYKenta Murata2020-12-302-3/+1
| | | | | | It is no longer used due to the previous commit. https://github.com/ruby/bigdecimal/commit/7d463f802b
* [ruby/bigdecimal] Remove needless pointer checksKenta Murata2020-12-301-10/+1
| | | | | | xmalloc and xrealloc return non-NULL pointers or raise memory error. https://github.com/ruby/bigdecimal/commit/507f0a6a64
* bisect.sh: Apply bisect.patch if exists [ci skip]Nobuyoshi Nakada2020-12-291-1/+16
| | | | | For some external reasons, e.g. Bison 3.5.91, some commits need to be applied retroactively in order to pass builds.
* Canonicalization functions were removed alreadyNobuyoshi Nakada2020-12-291-1/+1
| | | | At b958e2add835d62c0a62edaf9a23ecbbd70a3635
* Fixed wrong configure optionNobuyoshi Nakada2020-12-291-2/+2
|
* [ruby/bigdecimal] Define bool, true, and false for old RubyKenta Murata2020-12-292-0/+16
| | | | https://github.com/ruby/bigdecimal/commit/a6d3bd2d44
* [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
* Make more silent when -s on GNU makeNobuyoshi Nakada2020-12-293-3/+7
|