Commit graph

55018 commits

Author SHA1 Message Date
git
f1b52d3a88 * expand tabs. 2019-05-05 11:13:54 +09:00
Nobuyoshi Nakada
ff21e75d32
parse.y: duplicated when clause warning
* parse.y (case_args): moved "duplicated when clause" warning from
  compile phase, so that `ruby -wc` shows them.
2019-05-05 00:29:12 +09:00
Masatoshi SEKI
848edb03f8 ignore test_RangeError 2019-05-04 23:32:13 +09:00
Marcus Stollsteimer
a380f4c2b7 Fix typos, grammar, and style 2019-05-04 15:31:21 +02:00
Marcus Stollsteimer
8bf3040e30 Fix grammar 2019-05-04 15:02:20 +02:00
Nobuyoshi Nakada
b9e52db283
Add a pathologic check 2019-05-04 22:00:22 +09:00
git
7d30cd47c4 * remove trailing spaces. 2019-05-04 19:29:14 +09:00
Masatoshi SEKI
8980b53a48 add DRb::WeakIdConv (Bug #15711) 2019-05-04 19:28:57 +09:00
Hiroshi SHIBATA
b72623012d
Update broken URL in Float documentation.
[Misc #15775][ruby-core:92332]
2019-05-04 06:23:25 +09:00
git
a3cbce7822 * 2019-05-04 2019-05-04 00:00:01 +09:00
git
04fd98d596 * expand tabs. 2019-05-03 23:59:58 +09:00
Nobuyoshi Nakada
77440e949b
Improve performance of case-conversion methods 2019-05-03 23:59:18 +09:00
Marcus Stollsteimer
1f349ea297 Fix typo 2019-05-03 16:12:22 +02:00
Nobuyoshi Nakada
5776ae3475
UTF-8 is one of byte based encodings 2019-05-03 15:33:59 +09:00
git
58cd4b7bde * 2019-05-03 2019-05-03 06:26:18 +09:00
NAKAMURA Usaku
7d02bab0b0
Nil cannot and should not convert to a string 2019-05-03 06:24:57 +09:00
git
5c87bb3b90 * expand tabs. 2019-05-02 22:44:43 +09:00
Nobuyoshi Nakada
5e23b1138f
Fix potential memory leak 2019-05-02 22:44:20 +09:00
git
d6efb386ba * 2019-05-02 2019-05-02 14:47:26 +09:00
Kazuhiro NISHIYAMA
a1ae478a31
Fix a typo 2019-05-02 14:44:47 +09:00
Nobuyoshi Nakada
71952440ad
Silence a (probable) debug print 2019-05-01 20:55:08 +09:00
Nobuyoshi Nakada
474af9ee9a
No last commit when up-to-date
Get the last commit title from the upstream to the head, so that
no `last_commit` line will be shown when the branch is up to date
with the upstream.
2019-05-01 20:47:00 +09:00
Nobuyoshi Nakada
2f0f9115d3
Ignore ChangeLog 2019-05-01 20:27:51 +09:00
NAKAMURA Usaku
dcb6a6ae3e
Windows simply causes an error to open invalid path 2019-05-01 17:38:45 +09:00
NARUSE, Yui
fc3e80cf6d guard include with has_feature
clang's sanitizer/msan_interface.h has fallback macros.
It causes redefinition of __msan_unpoison().
2019-05-01 01:07:05 +09:00
aycabta
3de03544ff Add Reline.delete_text that raises NotImplementedError 2019-05-01 00:45:54 +09:00
git
c06821161a * 2019-05-01 2019-05-01 00:03:58 +09:00
manga_osyo
4e88e86928 Add exception support in Range#first.
Closes: https://github.com/ruby/ruby/pull/2163
2019-05-01 00:03:30 +09:00
Kazuhiro NISHIYAMA
0eedec6867
Change Accept-Encoding from * to identity
When `Accept-Encoding` is `*`,
http://www.unicode.org/Public/12.1.0/ucd/ returns gzipped content now.
So set `identity`.
2019-04-30 22:35:38 +09:00
NAKAMURA Usaku
dd942cd5b3
Use redirect keyword arguments instead of ">" 2019-04-30 22:24:45 +09:00
Nobuyoshi Nakada
50872f4a15
Use array mode of system instead of shellescape
`&.` is not available in ruby 2.0.
2019-04-30 22:23:20 +09:00
Nobuyoshi Nakada
df3de40932
String#[] with index to extract matched substring safely 2019-04-30 22:13:47 +09:00
NAKAMURA Usaku
1dd94dfba3
Must use IO::NULL instead of platform dependent filename 2019-04-30 21:51:03 +09:00
NAKAMURA Usaku
830e40ee05
Skip on Windows now when using reline because it causes hang of whole tests 2019-04-30 19:45:44 +09:00
NAKAMURA Usaku
5a83a1d554
**Must** use IO::NULL for null device 2019-04-30 18:01:17 +09:00
Kazuhiro NISHIYAMA
c222f4d31f
from is not nil but "" on shallow clone [ci skip] 2019-04-30 16:20:46 +09:00
NAKAMURA Usaku
151b7d72bd
Forgotten to remove 2019-04-30 15:02:03 +09:00
aycabta
94b740b249 Use Ripper for IRB
The debug option of IRB is deleted because it's just for IRB's pure Ruby
parser.
2019-04-30 14:40:06 +09:00
aycabta
567cb1ae1d Use Encoding::UTF_8 if RELINE_TEST_ENCODING doesn't exist 2019-04-30 12:53:24 +09:00
aycabta
3be5907e73 Move Win32API to Reline::Win32API 2019-04-30 12:53:20 +09:00
aycabta
319eee0f4a Use Encoding::UTF_8 if Encoding.default_external is Encoding::IBM437 2019-04-30 12:33:24 +09:00
aycabta
17350c7e55 Add Reline as a fallback library for Readline
* lib/reine.rb, lib/reline/*: Reline is a readline stdlib compatible
  library.
* lib/readline.rb: Readline uses a fallback to Reline when ext/readline
  doesn't exist.
* tool/sync_default_gems.rb: add ruby/reline as a default gem.
* appveyor.yml: add "set RELINE_TEST_ENCODING=Windows-31J" for test suit
  of Reline, and add "--exclude readline" to "nmake test-all" on Visual
  Studio builds because of strange behavior.
* spec/ruby/library/readline/spec_helper.rb: skip Reline as with
  RbReadline.
2019-04-30 11:44:20 +09:00
NAKAMURA Usaku
eb45ba6116
Skip the spec on Windows because RUBY_EXE is RUNRUBY and it calls ruby as grandchild 2019-04-30 04:09:25 +09:00
NAKAMURA Usaku
320f0aba49
Revert previous commit; it was meaningless 2019-04-30 04:09:07 +09:00
git
ae3a986204 * expand tabs. 2019-04-30 03:33:51 +09:00
NAKAMURA Usaku
09022b6d70 Use CreateToolhelp32Snapshot instead of NtQueryInformationProcess to get ppid on Windows
Try to get rid of a spec error.
2019-04-30 03:33:31 +09:00
git
b7d9ec8caa * 2019-04-30 2019-04-30 00:28:44 +09:00
Kazuhiro NISHIYAMA
7a34d8902a
Merge .time 2019-04-30 00:28:00 +09:00
Kazuhiro NISHIYAMA
040b37f8b4
Use 10 chars as RUBY_REVISION in snapshot too 2019-04-29 23:02:18 +09:00
Urabe, Shyouhei
f95f07dad3 avoid passing NULL to memset
`GC::Profiler.enable; GC::Profiler.clear` tries to clear
objspace->profile.records but it has never been allocated before.
Thus the MEMCPY took NULL argument before this changeset.

The objspace->profile.records is allocated appropriately elsewhere.
Why not juts free it if any?  That should work.
2019-04-29 21:52:44 +09:00