Nobuyoshi Nakada
8745fa2ff0
Default to true when no exception flag [Bug #15987 ]
2019-07-11 21:05:25 +09:00
Nobuyoshi Nakada
f74e23af32
Fixed argument in the fallback function [Bug #15987 ]
2019-07-11 20:21:50 +09:00
Nobuyoshi Nakada
c2723e59c2
Removed wrong argument in the fallback function [Bug #15987 ]
2019-07-11 20:20:02 +09:00
git
4018eee431
* expand tabs.
2019-07-11 20:14:57 +09:00
Nobuyoshi Nakada
3e7d002118
Check exception flag as a bool [Bug #15987 ]
2019-07-11 20:04:29 +09:00
Nobuyoshi Nakada
cd069df365
File::Stat uses Time#inspect
2019-07-11 19:46:11 +09:00
aycabta
71ead07872
Add arg check to Reline.dig_perfect_match_proc=
2019-07-11 17:21:00 +09:00
Nobuyoshi Nakada
4e038a7e64
Revert "parse.y: Deprecate flip-flops"
...
This reverts commit bae638ad5b782c44c80efe33834cb9039279af46.
[Feature #5400 ]
2019-07-11 14:52:02 +09:00
Nobuyoshi Nakada
d77b84ca82
$LOAD_PATH.resolve_feature_path
...
Moved from RubyVM. [Feature #15903 ]
2019-07-11 14:05:34 +09:00
Tanaka Akira
d34303ad10
remove an unused variable.
2019-07-11 13:04:07 +09:00
Nobuyoshi Nakada
26d674fdc7
Suppress warning on x64-mingw
2019-07-11 11:58:35 +09:00
Tanaka Akira
50d85436f8
WEBrick::HTTPResponse create tempfile if required.
...
WEBrick::HTTPProxyServer implementes HTTP proxy using
WEBrick and Net::HTTP.
WEBrick accepts HTTP/1.0 clients and
Net::HTTP uses always HTTP/1.1.
However HTTP/1.1 supports chunked transfer coding HTTP/1.0 doesn't.
Chunked transfer coding doesn't require that
content-length before the content is sent.
But non-chunked transfer coding require content-length before
the content is sent.
So, when HTTP/1.0 clients connects WEBrick::HTTPProxyServer and
origin server returns chunked response,
WEBrick::HTTPProxyServer needs to store whole content to
know the length of it.
This patch do it using tempfile.
2019-07-11 09:18:41 +09:00
git
d57ce99b7d
* 2019-07-11
2019-07-11 03:37:22 +09:00
Aaron Patterson
12762b76cb
Don't manipulate GC flags directly
...
We need to disable the GC around compaction (for now) because object id
book keeping can cause malloc to happen and that can trigger GC.
2019-07-10 11:12:28 -05:00
NARUSE, Yui
f91879a7b5
handle_interrupt to defend monitor state [Bug #15992 ]
...
If an exception is raised from another thread for example Timeout
and this thread is just after `mon_exit`'s `@mon_owner = nil`,
the exception breaks the state of MonitorMixin. To prevent that situation,
it need to block interruption in mon_enter and mon_exit.
2019-07-10 18:13:38 +09:00
Nobuyoshi Nakada
1d2ec4b216
Added Etc::VERSION
2019-07-10 12:33:29 +09:00
Nobuyoshi Nakada
612b7b6224
Removed unused files
2019-07-10 12:32:35 +09:00
Nobuyoshi Nakada
cc936402eb
C90 for old versions
2019-07-10 03:02:01 +09:00
Nobuyoshi Nakada
de4889ce5c
Use the found version number
2019-07-10 02:07:42 +09:00
Nobuyoshi Nakada
9c48472b1e
Removed useless freezes
2019-07-10 01:57:18 +09:00
Nobuyoshi Nakada
db844749af
Added StringIO::VERSION
2019-07-10 01:21:05 +09:00
Nobuyoshi Nakada
49cad67635
Removed duplicate assignment
...
This `last_state` is set to `lex.state` just before the `switch`
statement, and `token_flush` nor `nextc` never change the state.
2019-07-10 00:20:00 +09:00
git
57b8ca21f1
* 2019-07-10
2019-07-10 00:09:43 +09:00
Nobuyoshi Nakada
d0ef5c21fb
Check dependencies on Travis-CI
2019-07-09 23:13:43 +09:00
Nobuyoshi Nakada
b1be349bfb
Make symlink to "ruby" only from the install-name
2019-07-09 21:22:07 +09:00
Hiroshi SHIBATA
9f275f7971
Restore support library for only test files that are digest and csv.
2019-07-09 21:16:49 +09:00
Hiroshi SHIBATA
f9a2440866
Restore support library for only test files.
2019-07-09 21:04:07 +09:00
Nobuyoshi Nakada
d905ff61e6
Update dependencies
2019-07-09 13:47:07 +09:00
Nobuyoshi Nakada
8a831e5cb6
Do not make Unicode tables timestamp phony
2019-07-09 13:15:51 +09:00
Kazuhiro NISHIYAMA
515e106fb7
[DOC] Add link to Enumerable#grep from Enumerable#select
2019-07-09 13:01:11 +09:00
Nobuyoshi Nakada
4cda2e5013
Moved error messages
2019-07-09 10:58:12 +09:00
git
9b18cb341f
* 2019-07-09
2019-07-09 08:39:30 +09:00
Nobuyoshi Nakada
2a8be8ec33
Suppress uninitialized instance variable warnings
2019-07-09 08:31:27 +09:00
Hiroshi SHIBATA
ad38f02645
Adopt the directory structure of ruby repository for racc extension.
2019-07-08 20:31:40 +09:00
Nobuyoshi Nakada
995ae6d529
Check indent of end against else if present
2019-07-08 17:09:59 +09:00
Nobuyoshi Nakada
e0a3c547dd
Get rid of toplevel methods
2019-07-08 16:05:04 +09:00
git
93c9405e0e
* expand tabs.
2019-07-08 16:00:29 +09:00
Nobuyoshi Nakada
663d58ffde
Fix indent
2019-07-08 15:13:59 +09:00
Nobuyoshi Nakada
a8c54932ba
Renamed fib to fiber
2019-07-08 15:07:43 +09:00
Lourens Naudé
612cad5d20
Let struct dump_config in objspace fit in a single cache line
...
Let dump_config boolean members roots and full_heap be bit flags
instead
Closes: https://github.com/ruby/ruby/pull/2274
2019-07-08 13:30:21 +09:00
Nobuyoshi Nakada
e9907122ed
Suppress a warning when write_headers: true
2019-07-08 13:03:50 +09:00
git
a2e0aaea1b
* 2019-07-08
2019-07-08 10:59:04 +09:00
Jeremy Evans
3fcffceafd
Fix default argument values for OptParse::Switch#summarize
...
The documentation describes these arguments being hashes, and the method
is called with hashes, so a hash default makes more sense.
The method would fail previously if called without arguments and @short
or @long contained a non-integer value.
Fixes [Bug #10928 ]
2019-07-07 13:49:47 -07:00
Kazuhiro NISHIYAMA
c1ebb384fd
Fix a typo
2019-07-07 20:16:31 +09:00
Nobuyoshi Nakada
fc4dd7d3e2
Git branch name can contain #{} too
2019-07-07 19:05:33 +09:00
Nobuyoshi Nakada
19a4c42d61
Unescape #{} in the last commit title
...
Get rid of unknown escape sequence warning, as `#` is not a
special character in C.
```
version.c:126:26: warning: unknown escape sequence '\#' [-Wunknown-escape-sequence]
fputs("last_commit=" RUBY_LAST_COMMIT_TITLE, stdout);
^~~~~~~~~~~~~~~~~~~~~~
revision.h:4:42: note: expanded from macro 'RUBY_LAST_COMMIT_TITLE'
^~
```
2019-07-07 19:01:48 +09:00
Lars Kanis
68e5804022
Add coroutine context switch for i386-mingw32
...
It's essentially a translation of Context.asm from Intel
to AT&T syntax.
2019-07-07 21:33:47 +12:00
Nobuyoshi Nakada
a13636e756
Message to pipe should end with a newline
2019-07-07 18:18:22 +09:00
git
a33948f40a
* 2019-07-07
2019-07-07 15:50:58 +09:00
Nobuyoshi Nakada
d548073f68
Enable indentation warning against if just after else
...
```ruby
if false
puts 'false'
else if true
puts 'true'
end # -:5: warning: mismatched indentations at 'end' with 'if' at 3
end
```
[Feature #15990 ]
2019-07-07 15:47:40 +09:00