summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-11-04* 2019-11-04 [ci skip]git
2019-11-04Use the dedicated function `rb_io_check_io`Nobuyoshi Nakada
2019-11-03Added assertions for linebreakNobuyoshi Nakada
2019-11-03[DOC] mentioned `\R` [ci skip]Nobuyoshi Nakada
2019-11-03[DOC] \s in regexp is not same as in string [ci skip]Nobuyoshi Nakada
2019-11-03Fix warnings in Regexp#{match,match?} specsBenoit Daloze
2019-11-03Update NEWS entry for Feature #13083Benoit Daloze
2019-11-03Remove incorrect NEWS entry, only Regexp#match and #match? changedBenoit Daloze
2019-11-03* 2019-11-03 [ci skip]git
2019-11-03Improve warning messageKenichi Kamiya
https://github.com/ruby/ruby/pull/2637#discussion_r341812475
2019-11-03Revert nil error and adding deprecation messageKenichi Kamiya
Notes: Merged: https://github.com/ruby/ruby/pull/2637
2019-11-02Correct documented return values for certain ENV methods (#2620)Burdette Lamar
2019-11-02* 2019-11-02 [ci skip]git
2019-11-02Use prompt_list to calculate height by linesaycabta
2019-11-01Clean up implementation of SOCKSSocket, its confusing and undocumentedJustin McNally
Notes: Merged: https://github.com/ruby/ruby/pull/2539
2019-11-01Prefer libsocksd over libsocksJustin McNally
Notes: Merged: https://github.com/ruby/ruby/pull/2538
2019-11-01Support libsocksd socks library for SOCKSSocketJustin McNally
Notes: Merged: https://github.com/ruby/ruby/pull/2538
2019-11-01Mention correct class name in uninitialized errorAlan Wu
I think this meant to mention `MatchData`? This is a breaking change, but should be a minor one. Notes: Merged: https://github.com/ruby/ruby/pull/2608
2019-11-01Fix a typo [ci skip]Kazuhiro NISHIYAMA
Notes: Merged: https://github.com/ruby/ruby/pull/2510
2019-11-01[ruby/date] Added update-zonetab targetNobuyoshi Nakada
https://github.com/ruby/date/commit/9bc6e30a82
2019-11-01[ruby/date] Remove unneeded line in update-abbrJeremy Evans
https://github.com/ruby/date/commit/ae14e5f293
2019-11-01[ruby/date] Add more timezone abbreviationsJeremy Evans
This gets the time zone abbreviations from https://www.timeanddate.com/time/zones/, and adds unambiguous time zones not already present in zonetab.list. See bin/update-abbr for the program used. This regenerates zonetab.h using prereq.mk (requires gperf). Only one test line is added, just to make sure a new time zone abbreviation is picked up. Fixes Ruby Bug 16286 https://github.com/ruby/date/commit/702e8b3033
2019-11-01* 2019-11-01 [ci skip]git
2019-11-01mark functions that do not return NULL as such.卜部昌平
Apply __attribute__((__returns_nonnull__)) when available.
2019-11-01ruby_mimmalloc can return NULL卜部昌平
malloc can fail. Should treat such situations.
2019-11-01rb_aligned_malloc can return NULL卜部昌平
Looking at gc.c, rb_aligned_malloc contains `return NULL;` so it has to be taken care of. Note however that posix_memalign(3posix) does _not_ set errno.
2019-11-01RUBY_ATTR_ALOC_SIZE for clang卜部昌平
clang also supports __attribute__((__alloc_size__)) so why not use it when the compiler says it does.
2019-10-31[ruby/zlib] Removed no longer used variablesNobuyoshi Nakada
https://github.com/ruby/zlib/commit/3e98e4cac3
2019-10-31[ruby/zlib] Fix setting mtime to zero in GzipWriterAlan Wu
Before this change, it was not possible to write out zero for the timestamp part of a Gzip file's header, as calling GzipWriter#mtime with zero was ignored. Judging from the docs for `GzipWriter#mtime=`, it should be possible to indicate that no timestamp is available by calling the method with zero. https://github.com/ruby/zlib/commit/310be39cac
2019-10-31Fix verbose warning being emittedJeremy Evans
Fixes Ruby Bug 16281.
2019-10-31spec: Fix syntax errorsYusuke Endoh
Follow up of 473882e01f7e55753733e2607ace633b5041f11f
2019-10-31Skip tainted examples for stringioHiroshi SHIBATA
2019-10-31[ruby/stringio] Remove taint supportJeremy Evans
Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions. https://github.com/ruby/stringio/commit/60ee9ccd95
2019-10-31[ruby/date] Revert "Simplify #inspect"Jeremy Evans
This reverts commit af01edd7d8575f544f647dbe8cde5b6ae535d459. Revert requested by Yui Naruse. https://github.com/ruby/date/commit/875d563557
2019-10-31[ruby/date] introduce Date::Error, raise Date::Error for everyglaszig
"invalid <anything>" type of exception https://github.com/ruby/date/commit/3e55c09ba4
2019-10-31[ruby/fileutils] Remove use of untaint on Ruby 2.7 to avoid deprecation warningsJeremy Evans
https://github.com/ruby/fileutils/commit/5ac9a8a1f7
2019-10-31[ruby/gdbm] Use Gemfile instead of ↵Hiroshi SHIBATA
Gem::Specification#add_development_dependency. https://github.com/ruby/gdbm/commit/bd2e7f6647
2019-10-31[ruby/gdbm] Remove taint supportJeremy Evans
Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions. https://github.com/ruby/gdbm/commit/f9aaa1a08d
2019-10-31[ruby/zlib] Remove taint supportJeremy Evans
Ruby 2.7 deprecates taint and it no longer has an effect. The lack of taint support should not cause a problem in previous Ruby versions. https://github.com/ruby/zlib/commit/21711ed0ce
2019-10-31Mention update to Unicode Emoji version 12.1 in NEWS.Martin Dürst
Also fixed some grammatical errors. [ci skip]
2019-10-31Fixed the sync task for jsonHiroshi SHIBATA
* Ignode to change ext/json/depend * Fixed to ignore json_pure files
2019-10-30Revert "Fix zero free objects assertion"Aaron Patterson
This reverts commit e1bf29314feee6aaf535917da0178e868e7ff3fa. I'm not sure why this broke stuff, I need to investigate later.
2019-10-30Fix zero free objects assertionAaron Patterson
This commit is to attempt fixing this error: http://ci.rvm.jp/results/trunk-gc-asserts@ruby-sky1/2353281 Each non-full heap_page struct contains a reference to the next page that contains free slots. Compaction could fill any page, including pages that happen to be linked to as "pages which contain free slots". To fix this, we'll iterate each page, and rebuild the "free page list" depending on the number of actual free slots on that page. If there are no free slots on the page, we'll set the free_next pointer to NULL. Finally we'll pop one page off the "free page list" and set it as the "using page" for the next allocation.
2019-10-31Also ignore mswin platformHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2635
2019-10-31Ignore test_racc_command with linux platformHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2635
2019-10-31Try to run assert_output_unchanged with racc testsHiroshi SHIBATA
Notes: Merged: https://github.com/ruby/ruby/pull/2635
2019-10-31* 2019-10-31 [ci skip]git
2019-10-31Allow only one argument for keyword_init structAlan Wu
``` irb(main):001:0> RUBY_VERSION => "2.6.5" irb(main):002:0> S = Struct.new(:foo, keyword_init: true) => S(keyword_init: true) irb(main):003:0> S.new({foo: 23424}, 234) # I don't think this is intentional => #<struct S foo=23424> irb(main):004:0> ``` Tightening this up should inform users when they are confused about whether a struct is `keyword_init`. Notes: Merged: https://github.com/ruby/ruby/pull/2634
2019-10-30Update the latest versions from upstream repository of raccHiroshi SHIBATA
2019-10-30Regenerate the output results for test fixtures of raccHiroshi SHIBATA