Nobuyoshi Nakada
e91e3274be
Keep `lex.pcur` after `looking_at_eol_p`
2019-11-04 23:37:53 +09:00
Nobuyoshi Nakada
26316cc350
Warn `if` and `elsif` at EOL [EXPERIMENTAL]
...
It is unnatural and probably a typo.
2019-11-04 23:17:34 +09:00
Yusuke Endoh
c303854e13
Revert "Warn `if` and `elsif` at EOL [EXPERIMENTAL]"
...
This reverts commit ba35c14325
.
This is because ripper fails symbol lookup error.
2019-11-04 22:27:37 +09:00
Nobuyoshi Nakada
ba35c14325
Warn `if` and `elsif` at EOL [EXPERIMENTAL]
...
It is unnatural and probably a typo.
2019-11-04 21:39:54 +09:00
Kazuhiro NISHIYAMA
cf377c5556
Fix a typo [ci skip]
2019-11-04 17:12:18 +09:00
Nobuyoshi Nakada
ffa9298076
Fixed a typo
2019-11-04 16:38:36 +09:00
Nobuyoshi Nakada
823f25bb96
sync_default_gems.rb: Show the progress at fetching
...
It looks like hanging up when fetching from a remote first time.
2019-11-04 09:40:26 +09:00
Nobuyoshi Nakada
cbbdb4e5a2
[ruby/racc] Strip trailing whitespaces at the last line of actions
...
https://github.com/ruby/racc/commit/a887ebe529
2019-11-04 09:28:01 +09:00
git
046be65c08
* 2019-11-04 [ci skip]
2019-11-04 09:18:29 +09:00
Nobuyoshi Nakada
df62d6522a
Use the dedicated function `rb_io_check_io`
2019-11-04 09:14:18 +09:00
Nobuyoshi Nakada
5a7487bdcd
Added assertions for linebreak
2019-11-03 23:20:01 +09:00
Nobuyoshi Nakada
7b2cd548aa
[DOC] mentioned `\R` [ci skip]
2019-11-03 23:18:01 +09:00
Nobuyoshi Nakada
f8b3d7d159
[DOC] \s in regexp is not same as in string [ci skip]
2019-11-03 22:53:17 +09:00
Benoit Daloze
782d1b8fb0
Fix warnings in Regexp#{match,match?} specs
2019-11-03 11:25:42 +01:00
Benoit Daloze
fbacfe6820
Update NEWS entry for Feature #13083
2019-11-03 11:14:31 +01:00
Benoit Daloze
4a16623707
Remove incorrect NEWS entry, only Regexp#match and #match? changed
2019-11-03 11:14:31 +01:00
git
985e6ced99
* 2019-11-03 [ci skip]
2019-11-03 19:03:24 +09:00
Kenichi Kamiya
31110d820c
Improve warning message
...
https://github.com/ruby/ruby/pull/2637#discussion_r341812475
2019-11-03 11:03:04 +01:00
Kenichi Kamiya
452bee3ee8
Revert nil error and adding deprecation message
2019-11-03 11:03:04 +01:00
Burdette Lamar
772b0613c5
Correct documented return values for certain ENV methods ( #2620 )
2019-11-02 15:32:49 +09:00
git
e6f0fd8af4
* 2019-11-02 [ci skip]
2019-11-02 00:15:05 +09:00
aycabta
ea97933645
Use prompt_list to calculate height by lines
2019-11-02 00:11:15 +09:00
Justin McNally
10c2a08548
Clean up implementation of SOCKSSocket, its confusing and undocumented
2019-11-01 18:40:24 +09:00
Justin McNally
68e0bfcd4a
Prefer libsocksd over libsocks
2019-11-01 18:39:59 +09:00
Justin McNally
b800410387
Support libsocksd socks library for SOCKSSocket
2019-11-01 18:39:59 +09:00
Alan Wu
c56d8deaff
Mention correct class name in uninitialized error
...
I think this meant to mention `MatchData`? This is a breaking change, but
should be a minor one.
2019-11-01 18:37:57 +09:00
Kazuhiro NISHIYAMA
cc8116b03e
Fix a typo [ci skip]
2019-11-01 18:33:58 +09:00
Nobuyoshi Nakada
6abf4c4802
[ruby/date] Added update-zonetab target
...
https://github.com/ruby/date/commit/9bc6e30a82
2019-11-01 17:30:17 +09:00
Jeremy Evans
b2126d3fcf
[ruby/date] Remove unneeded line in update-abbr
...
https://github.com/ruby/date/commit/ae14e5f293
2019-11-01 17:30:16 +09:00
Jeremy Evans
469545307f
[ruby/date] Add more timezone abbreviations
...
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 17:30:14 +09:00
git
51825c04db
* 2019-11-01 [ci skip]
2019-11-01 16:59:02 +09:00
卜部昌平
72f997edf6
mark functions that do not return NULL as such.
...
Apply __attribute__((__returns_nonnull__)) when available.
2019-11-01 16:58:19 +09:00
卜部昌平
f5e4063272
ruby_mimmalloc can return NULL
...
malloc can fail. Should treat such situations.
2019-11-01 16:58:19 +09:00
卜部昌平
fb495b2928
rb_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-01 16:58:19 +09:00
卜部昌平
2c889e9b05
RUBY_ATTR_ALOC_SIZE for clang
...
clang also supports __attribute__((__alloc_size__)) so why not use
it when the compiler says it does.
2019-11-01 16:58:19 +09:00
Nobuyoshi Nakada
63f70eb651
[ruby/zlib] Removed no longer used variables
...
https://github.com/ruby/zlib/commit/3e98e4cac3
2019-10-31 22:24:00 +09:00
Alan Wu
0aaa15f636
[ruby/zlib] Fix setting mtime to zero in GzipWriter
...
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-31 22:23:58 +09:00
Jeremy Evans
d6ed7a984c
Fix verbose warning being emitted
...
Fixes Ruby Bug 16281.
2019-10-31 17:51:50 +09:00
Yusuke Endoh
5f6fbf8725
spec: Fix syntax errors
...
Follow up of 473882e01f
2019-10-31 17:11:23 +09:00
Hiroshi SHIBATA
473882e01f
Skip tainted examples for stringio
2019-10-31 16:50:00 +09:00
Jeremy Evans
ebc884461b
[ruby/stringio] Remove taint support
...
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 16:24:02 +09:00
Jeremy Evans
3895e548bd
[ruby/date] Revert "Simplify #inspect"
...
This reverts commit af01edd7d8575f544f647dbe8cde5b6ae535d459.
Revert requested by Yui Naruse.
https://github.com/ruby/date/commit/875d563557
2019-10-31 15:51:30 +09:00
glaszig
fce940aac7
[ruby/date] introduce Date::Error, raise Date::Error for every
...
"invalid <anything>" type of exception
https://github.com/ruby/date/commit/3e55c09ba4
2019-10-31 15:51:25 +09:00
Jeremy Evans
e4cd0d7287
[ruby/fileutils] Remove use of untaint on Ruby 2.7 to avoid deprecation warnings
...
https://github.com/ruby/fileutils/commit/5ac9a8a1f7
2019-10-31 15:41:46 +09:00
Hiroshi SHIBATA
39281d5774
[ruby/gdbm] Use Gemfile instead of Gem::Specification#add_development_dependency.
...
https://github.com/ruby/gdbm/commit/bd2e7f6647
2019-10-31 15:34:01 +09:00
Jeremy Evans
b93ab7d693
[ruby/gdbm] Remove taint support
...
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 15:34:01 +09:00
Jeremy Evans
290903dba0
[ruby/zlib] Remove taint support
...
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-31 15:34:01 +09:00
Martin Dürst
bc7fbb6f02
Mention update to Unicode Emoji version 12.1 in NEWS.
...
Also fixed some grammatical errors. [ci skip]
2019-10-31 15:19:59 +09:00
Hiroshi SHIBATA
c38ba75780
Fixed the sync task for json
...
* Ignode to change ext/json/depend
* Fixed to ignore json_pure files
2019-10-31 10:19:57 +09:00
Aaron Patterson
79d96b42df
Revert "Fix zero free objects assertion"
...
This reverts commit e1bf29314f
.
I'm not sure why this broke stuff, I need to investigate later.
2019-10-30 18:05:32 -07:00