Nobuyoshi Nakada
8deabcd328
Constified afamily functions
2019-07-16 18:42:56 +09:00
Nobuyoshi Nakada
19d592dc82
Somehow `if` didn't work
2019-07-16 18:41:11 +09:00
Nobuyoshi Nakada
76c6cf2cbc
Print debugging information when updating failed
2019-07-16 17:23:43 +09:00
Nobuyoshi Nakada
75fb0a9afa
Allow mday in Date.iso8601 to be omitted
...
[Bug #12285 ]
2019-07-16 09:41:23 +09:00
git
e2f987e654
* expand tabs.
2019-07-16 09:22:11 +09:00
Nobuyoshi Nakada
00dc0dae0d
Removed intermediate local variables
2019-07-16 09:15:25 +09:00
Nobuyoshi Nakada
8e37ef76f6
Fixed the library path for tools
2019-07-16 08:46:38 +09:00
Nobuyoshi Nakada
71d5b4c32e
Fixed the library path for tools
2019-07-16 08:25:39 +09:00
Nobuyoshi Nakada
ca524bcd49
Expanded f_numerator
2019-07-16 08:15:05 +09:00
Nobuyoshi Nakada
34019a22eb
Expanded f_denominator
2019-07-16 07:59:30 +09:00
git
325d546d62
* 2019-07-16
2019-07-16 07:19:56 +09:00
git
a8e4b7b12f
* expand tabs.
2019-07-16 07:19:52 +09:00
Yusuke Endoh
c184a1c261
compile.c: add NO_CHECK for the calls to COMPILE whose result is unused
...
to suppress many warnings of Coverity Scan
2019-07-16 07:18:54 +09:00
Yusuke Endoh
6aab77a7a3
Add a /* fall through */ comment
2019-07-16 07:17:57 +09:00
Nobuyoshi Nakada
0c6c937904
Removed duplicate highlighting
2019-07-15 19:39:47 +09:00
Nobuyoshi Nakada
b452c03a14
Always evaluate the expression RUBY_ASSERT_MESG_WHEN just once
2019-07-15 17:45:37 +09:00
aycabta
c20445ab56
Require Ruby 2.4 or later because needs lex_state from Ripper
2019-07-15 17:22:18 +09:00
Nobuyoshi Nakada
c781b1b7a3
update-deps for dependencies
2019-07-15 17:06:35 +09:00
git
5a42dca688
* expand tabs.
2019-07-15 16:51:18 +09:00
Nobuyoshi Nakada
5e0d27a32f
Removed dead code
...
If `emesg` is `Qundef`, it is not a message string and then `elen`
(the length of the message) is 0. So `emesg` cannot be `Qundef` in
the `elen != 0` block. Pointed out by Coverity Scan.
2019-07-15 16:49:39 +09:00
aycabta
de0f192444
Add features of IRB to NEWS
2019-07-15 16:25:50 +09:00
aycabta
574e8a6812
Add Reline section to NEWS
2019-07-15 15:49:59 +09:00
aycabta
3a1d3556e2
Fix a typo of Markdown of NEWS
2019-07-15 15:46:08 +09:00
Hiroshi SHIBATA
f73ea3342b
Fixed ruby/spec for Logger::LogDevice changes.
2019-07-15 15:07:26 +09:00
Hiroshi SHIBATA
5349aa23c8
Also fixed up with 036039c8a2
2019-07-15 14:47:47 +09:00
Hiroshi SHIBATA
036039c8a2
Fixed LoadError of version file.
2019-07-15 14:45:30 +09:00
git
f103ed8b7d
* expand tabs.
2019-07-15 14:43:39 +09:00
Yusuke Endoh
4b345f9d4b
compile.c: ignore the result of COMPILE by marking with NO_CHECK
...
to suppress many warnings of Coverity Scan
2019-07-15 14:43:24 +09:00
Hiroshi SHIBATA
0eafa1dce8
Fixed inconsitency locations of default gems.
2019-07-15 14:43:08 +09:00
Hiroshi SHIBATA
1b59ed9b49
Move helper file of logger to under the test/logger.
2019-07-15 14:43:08 +09:00
Rafael Mendonça França
58065b8701
[ruby/logger] Add option to set the binary mode of the log device
...
Without binmode strings with incompatible encoding can't be written in
the file. This is very common in applications that log user provided
parameters.
We need to allow changing the binnary mode because right now it is impossible to use
the built-in log rotation feature when you provide a File object to the
LogDevice, and if you provide a filename you can't have binmode.
https://github.com/ruby/logger/commit/9114b3ac7e
2019-07-15 14:43:08 +09:00
Jeremy Evans
f4064a0a0c
[ruby/logger] Set filename when initializing logger with a File object
...
This should allow reopen to work. Requested in ruby issue #14595 .
https://github.com/ruby/logger/commit/bd367aff12
2019-07-15 14:43:08 +09:00
Samuel Williams
2c22051b4b
[ruby/logger] Enable `frozen_string_literal: true` in `logger.rb`.
...
https://github.com/ruby/logger/commit/2dc832e901
2019-07-15 14:43:08 +09:00
Samuel Williams
3fdb963827
[ruby/logger] Prefer require_relative, it's a little bit faster.
...
https://github.com/ruby/logger/commit/1e2aab4bea
2019-07-15 14:43:07 +09:00
sonots
7ef0856287
[ruby/logger] Update logger.gemspec
...
https://github.com/ruby/logger/commit/1335a71d98
2019-07-15 14:43:07 +09:00
sonots
7f10da9d27
[ruby/logger] require 'logger/errors' just for compat
...
https://github.com/ruby/logger/commit/255a51dc10
2019-07-15 14:43:07 +09:00
Colby Swandale
bbe157f340
[ruby/logger] split logger classes/modules into separate files
...
https://github.com/ruby/logger/commit/f10ce9fff2
2019-07-15 14:43:07 +09:00
sonots
136196785b
[ruby/logger] Fix to use logger and test-unit in this repo with
...
`ruby test/logger/test_xxx.rb`
https://github.com/ruby/logger/commit/d3c2402340
2019-07-15 14:43:07 +09:00
Samuel Williams
47500f2055
[ruby/logger] Add support for changing severity using bang methods.
...
https://github.com/ruby/logger/commit/ae4c6dfcbb
2019-07-15 14:43:07 +09:00
Samuel Giddins
310198d6be
[ruby/logger] Add missing closing "
...
https://github.com/ruby/logger/commit/b4b3caae40
2019-07-15 14:43:07 +09:00
Samuel Giddins
227eae79ac
[ruby/logger] Say that logger requires ruby >= 2.3
...
Since it uses `&.`, it can't be used on older rubies
https://github.com/ruby/logger/commit/b872f90ab9
2019-07-15 14:43:07 +09:00
Colby Swandale
b9ba07a05c
[ruby/logger] dont lock bundler to a specific version in travis
...
https://github.com/ruby/logger/commit/eb5ac229a5
2019-07-15 14:43:07 +09:00
Colby Swandale
99c14fb694
[ruby/logger] remove files that dont need to be included in gem releases
...
https://github.com/ruby/logger/commit/9a3be8650f
2019-07-15 14:43:07 +09:00
Koichi Sasada
3dc212896c
check return value of blocking_region_begin().
...
blocking_region_begin() can return FALSE if it fails to acquire
GVL, so check it.
2019-07-15 14:29:47 +09:00
Tanaka Akira
e4c1b19996
add tests for orphan/not-orphan proc/lambda.
2019-07-15 14:17:27 +09:00
Yusuke Endoh
711dfec3fa
parse.y (here_document): remove dead code
...
str is always zero when evaluating the branch.
Found by Coverity Scan.
2019-07-15 14:08:17 +09:00
Yusuke Endoh
5353401c25
thread.c (rb_thread_shield_waiting_{inc,dec}): prefer long to int
...
`(unsigned int)(THREAD_SHIELD_WAITING_MASK>>THREAD_SHIELD_WAITING_SHIFT)`
is 0xffffffff, and w > 0xffffffff is always true.
Coverity Scan pointed out this issue.
2019-07-15 14:08:17 +09:00
Kazuhiro NISHIYAMA
62f34bd1fe
doc/globals.rdoc: Add deprecated to TRUE,FALSE,NIL [ci skip]
...
They are warned since 2.4.0.
2019-07-15 13:59:02 +09:00
Takashi Kokubun
9c38904ead
Use consistent fetchDepth for all jobs
...
a7dd6763bd
was not applied for all jobs.
2019-07-15 13:57:23 +09:00
Takashi Kokubun
d1e2650aca
Force-fetch unicode update only when it's needed
...
nobu said that we could be banned if we aggressively downloaded unicode
file from Travis.
2019-07-15 13:49:15 +09:00