aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* [ruby/logger] Set filename when initializing logger with a File objectJeremy Evans2019-07-152-0/+18
| | | | | | This should allow reopen to work. Requested in ruby issue #14595. https://github.com/ruby/logger/commit/bd367aff12
* [ruby/logger] Enable `frozen_string_literal: true` in `logger.rb`.Samuel Williams2019-07-151-1/+1
| | | | https://github.com/ruby/logger/commit/2dc832e901
* [ruby/logger] Prefer require_relative, it's a little bit faster.Samuel Williams2019-07-152-6/+7
| | | | https://github.com/ruby/logger/commit/1e2aab4bea
* [ruby/logger] Update logger.gemspecsonots2019-07-151-4/+4
| | | | https://github.com/ruby/logger/commit/1335a71d98
* [ruby/logger] require 'logger/errors' just for compatsonots2019-07-152-1/+2
| | | | https://github.com/ruby/logger/commit/255a51dc10
* [ruby/logger] split logger classes/modules into separate filesColby Swandale2019-07-158-294/+308
| | | | https://github.com/ruby/logger/commit/f10ce9fff2
* [ruby/logger] Fix to use logger and test-unit in this repo withsonots2019-07-154-9/+11
| | | | | | `ruby test/logger/test_xxx.rb` https://github.com/ruby/logger/commit/d3c2402340
* [ruby/logger] Add support for changing severity using bang methods.Samuel Williams2019-07-152-0/+26
| | | | https://github.com/ruby/logger/commit/ae4c6dfcbb
* [ruby/logger] Add missing closing "Samuel Giddins2019-07-151-1/+1
| | | | https://github.com/ruby/logger/commit/b4b3caae40
* [ruby/logger] Say that logger requires ruby >= 2.3Samuel Giddins2019-07-151-0/+2
| | | | | Since it uses `&.`, it can't be used on older rubies https://github.com/ruby/logger/commit/b872f90ab9
* [ruby/logger] dont lock bundler to a specific version in travisColby Swandale2019-07-151-1/+1
| | | | https://github.com/ruby/logger/commit/eb5ac229a5
* [ruby/logger] remove files that dont need to be included in gem releasesColby Swandale2019-07-151-1/+1
| | | | https://github.com/ruby/logger/commit/9a3be8650f
* check return value of blocking_region_begin().Koichi Sasada2019-07-151-1/+2
| | | | | blocking_region_begin() can return FALSE if it fails to acquire GVL, so check it.
* add tests for orphan/not-orphan proc/lambda.Tanaka Akira2019-07-152-0/+54
|
* parse.y (here_document): remove dead codeYusuke Endoh2019-07-151-4/+1
| | | | | str is always zero when evaluating the branch. Found by Coverity Scan.
* thread.c (rb_thread_shield_waiting_{inc,dec}): prefer long to intYusuke Endoh2019-07-151-4/+4
| | | | | | `(unsigned int)(THREAD_SHIELD_WAITING_MASK>>THREAD_SHIELD_WAITING_SHIFT)` is 0xffffffff, and w > 0xffffffff is always true. Coverity Scan pointed out this issue.
* doc/globals.rdoc: Add deprecated to TRUE,FALSE,NIL [ci skip]Kazuhiro NISHIYAMA2019-07-151-3/+3
| | | | They are warned since 2.4.0.
* Use consistent fetchDepth for all jobsTakashi Kokubun2019-07-151-3/+3
| | | | a7dd6763bd1dac7952ace46be58083dbea332a0a was not applied for all jobs.
* Force-fetch unicode update only when it's neededTakashi Kokubun2019-07-151-3/+6
| | | | | nobu said that we could be banned if we aggressively downloaded unicode file from Travis.
* Add tool/leaked-globals to .gitattributes [ci skip]Kazuhiro NISHIYAMA2019-07-151-0/+1
|
* Removed needless LOAD_PATH modification.Hiroshi SHIBATA2019-07-152-2/+0
| | | | We can use require_relative now.
* Add bug triaging guideJeremy Evans2019-07-141-0/+80
| | | | Implements [Misc #15943]
* Move vpath.rb into tool library direcotry.Hiroshi SHIBATA2019-07-154-3/+3
|
* add tests for "break" in lambda.Tanaka Akira2019-07-151-0/+15
|
* respect RUBY_DEBUG tooKoichi Sasada2019-07-151-1/+1
|
* encoding.c (enc_table_expand): prefer xrealloc to reallocYusuke Endoh2019-07-151-2/+4
| | | | And raise an exception when failed to register an encoding
* respect RUBY_DEBUG.Koichi Sasada2019-07-153-5/+8
| | | | see RUBY_DEBUG for each debug options.
* Added help message for test-tool target.Hiroshi SHIBATA2019-07-151-0/+1
|
* Added test-tool target for the test suite of tool/test files.Hiroshi SHIBATA2019-07-152-1/+46
|
* Put jisx0208.rb to under the library directory.Hiroshi SHIBATA2019-07-153-2/+2
|
* Try to prevent random build failure on Travis osxTakashi Kokubun2019-07-151-0/+2
|
* doc/irb/irb.rd.ja: Update options from `irb -h` [ci skip]Kazuhiro NISHIYAMA2019-07-151-17/+22
|
* Enable RUBY_ASSERT_MESG_WHEN when RUBY_DEBUG is turned onNobuyoshi Nakada2019-07-151-3/+4
|
* [DOC] Struct::Passwd#uclass renamed from #class at r2500 [ci skip]Kazuhiro NISHIYAMA2019-07-151-1/+1
|
* Move a test file of Reline to test/reline/aycabta2019-07-151-0/+0
|
* simplify around GC_ASSERT()Koichi Sasada2019-07-151-9/+6
|
* Handle failure of opening a null deviceTakashi Kokubun2019-07-151-3/+7
| | | | This issue is detected by Coverity Scan.
* Simplify start_process by exploiting C99Takashi Kokubun2019-07-151-22/+18
| | | | | Having a block for mixing a declaration was confusing. Also I moved `dev_null` and `pid` to limit their scope.
* Change PROMPT_S of simple-promptKazuhiro NISHIYAMA2019-07-151-1/+1
| | | | | | | | | | | | When input `"` or `/` with simple-prompt, Before: `"` or `/` (prompt disappeared and indent is changed) After: `"> "` or `/> /` (indent is unchanged since `>> `)
* introduce RUBY_ASSERT_ALWAYS(expr).Koichi Sasada2019-07-152-1/+2
| | | | | RUBY_ASSERT_ALWAYS(expr) ignores NDEBUG (we cannot remove this assertion).
* Simplify history saving codeaycabta2019-07-151-8/+1
|
* Followed up e8ddbc0239.Hiroshi SHIBATA2019-07-151-1/+1
|
* catch up e8ddbc0239.Koichi Sasada2019-07-151-2/+2
|
* Separate the assertions of ruby core tests from test/unit/assertions.Hiroshi SHIBATA2019-07-152-205/+218
|
* Put colorize to library directory.Hiroshi SHIBATA2019-07-157-6/+6
| | | | Same as 66299e7ca83d379d13abaa5411f3e0419334cabb
* Put vcs .rb to under the lib direcotory.Hiroshi SHIBATA2019-07-153-2/+2
| | | | Because it's the common library for tool files.
* The default charset of text/* media type is UTF-8.Tanaka Akira2019-07-153-7/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Thanks for the patch gareth (Gareth Adams). [Bug #15933] ------- Combines two small, but very related changes 1: Treat HTTPS the same as HTTP Previously, OpenURI followed guidance in RFC2616/3.7.1: > When no explicit charset parameter is provided by the sender, media > subtypes of the "text" type are defined to have a default charset > value of "ISO-8859-1" when received via HTTP. However this RFC was written before TLS was established and OpenURI was never updated to treat HTTPS traffic the same way. So, HTTPS documents received a different default to HTTP documents. This commit removes the scheme check so that all text/* documents processed by OpenURI are treated the same way. In theory this processing gets applied to FTP URIs too, but there's no mechanism in OpenURI for FTP documents to have Content-Type metadata appended to them, so this ends up being a no-op. 2: Change default charset for text/* to UTF-8 Replaces the default ISO-8859-1 charset previously defined in RFC2616 (now obsoleted) with a UTF-8 charset as defined in RFC6838. Fixes: https://bugs.ruby-lang.org/issues/15933
* Always call va_end in form_args()Takashi Kokubun2019-07-151-1/+2
| | | | This issue is detected by Coverity Scan.
* Insert a newline before `=end`Nobuyoshi Nakada2019-07-151-1/+2
| | | | For a certain editor which cannot handle here-document properly.
* addr2line.c: clarify the type of integer expressionYusuke Endoh2019-07-151-1/+1
| | | | | | to suppress Coverity Scan warning. This expression converted uint8_t to int, and then int to unsigned long. Now it directly converts uint8_t to unsigned long.