summaryrefslogtreecommitdiff
path: root/ext
AgeCommit message (Collapse)Author
2019-09-10[ruby/io-console] Added IO#goto and IO#cursor= for VTNobuyoshi Nakada
https://github.com/ruby/io-console/commit/7f2b1b473d Notes: Merged: https://github.com/ruby/ruby/pull/2440
2019-09-10[ruby/io-console] Added IO#cursor for VTNobuyoshi Nakada
https://github.com/ruby/io-console/commit/41a6a6cace Notes: Merged: https://github.com/ruby/ruby/pull/2440
2019-09-10[ruby/io-console] Added console_vt_responseNobuyoshi Nakada
A function to query console info. https://github.com/ruby/io-console/commit/db75a07fa3 Notes: Merged: https://github.com/ruby/ruby/pull/2440
2019-09-10[ruby/io-console] Drop fat gem supportNobuyoshi Nakada
https://github.com/ruby/io-console/commit/972ceb081d Notes: Merged: https://github.com/ruby/ruby/pull/2440
2019-09-09add minimaist C++ check卜部昌平
This is a test extension so we basically want test failures rather than a configure breakage but if there is no C++ compiler, we need no test at all because there will be no chance for the tested header file to be used later. This makes it possible to build the ruby binary without any C++ compiler installed in a build environment. Notes: Merged: https://github.com/ruby/ruby/pull/2434
2019-09-09static member variables must explictly be initialized卜部昌平
These variables then get their room for storage. See also https://github.com/ruby/ruby/runs/214042030 Notes: Merged: https://github.com/ruby/ruby/pull/2434
2019-09-09Revert "save committers' weekend from CI failures"卜部昌平
This reverts commit 53d21087da078cf999cc4757b03b2ff0fab4c2cf. Notes: Merged: https://github.com/ruby/ruby/pull/2434
2019-09-09Revert "Support timeout for Addrinfo"Masaki Matsushita
This reverts commit 6382f5cc91ac9e36776bc854632d9a1237250da7. test failed on Solaris.
2019-09-09Support timeout for AddrinfoMasaki Matsushita
Addrinfo.getaddrinfo and .foreach now accepts :timeout in seconds as a keyword argument. If getaddrinfo_a(3) is available, the timeout will be applied for name resolution. Otherwise, it will be ignored. Socket.tcp accepts :resolv_timeout to use this feature.
2019-09-07Rename NODE_ARRAY to NODE_LIST to reflect its actual use casesYusuke Endoh
and NODE_ZARRAY to NODE_ZLIST. NODE_ARRAY is used not only by an Array literal, but also the contents of Hash literals, method call arguments, dynamic string literals, etc. In addition, the structure of NODE_ARRAY is a linked list, not an array. This is very confusing, so I believe `NODE_LIST` is a better name.
2019-09-07[DOC] Update output of Ripper.sexp [ci skip]Kazuhiro NISHIYAMA
2019-09-06save committers' weekend from CI failures卜部昌平
Kill the failing tests.
2019-09-06avoid name mangling卜部昌平
Otherwise the dynamic linker cannot find this function. See also https://ci.appveyor.com/project/ruby/ruby/builds/27224231/job/4pg6lxlsnsjotu2l
2019-09-06nullptr is a C++11ism.卜部昌平
Should use numeric 0 for maximum portability. See also https://travis-ci.org/ruby/ruby/jobs/581543798
2019-09-06fix Visual Studio compilation error卜部昌平
See also https://github.com/ruby/ruby/runs/213964487
2019-09-06add test for cxxanyargs.hpp卜部昌平
2019-08-29drop-in type check for rb_define_singleton_method卜部昌平
We can check the function pointer passed to rb_define_singleton_method like how we do so in rb_define_method. Doing so revealed many arity mismatches.
2019-08-29drop-in type check for rb_define_module_function卜部昌平
We can check the function pointer passed to rb_define_module_function like how we do so in rb_define_method. The difference is that this changeset reveales lots of atiry mismatches.
2019-08-29fix arity of bug_start卜部昌平
This is just a trivial mistake introduced in 0f36e8fc03a5c6433972d6bb5f177d5f6e106bac.
2019-08-29Revert "Add pipeline operator [Feature #15799]"Nobuyoshi Nakada
This reverts commits: * d365fd5a024254d7c105a62a015a7ea29ccf3e5d * d780c3662484d6072b3a6945b840049de72c2096 * aa7211836b769231a2a8ef6b6ec2fd0ec882ef29 * 043f010c28e82ea38978bf8ed885416f133b5b75 * bb4dd7c6af05c7821d572e2592ea3d0cc748d81f * 043f010c28e82ea38978bf8ed885416f133b5b75 * f169043d81524b5b529f2c1e9c35437ba5bc3a7a http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-core/94645
2019-08-27st_foreach now free from ANYARGS卜部昌平
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from st_foreach. I strongly believe that this commit should have had come with b0af0592fdd9e9d4e4b863fde006d67ccefeac21, which added extra parameter to st_foreach callbacks.
2019-08-27rb_catch now free from ANYARGS卜部昌平
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_catch, and fixes some bugs revealed by that.
2019-08-27rb_ensure now free from ANYARGS卜部昌平
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_ensure, which also revealed many arity / type mismatches.
2019-08-27rb_rescue / rb_rescue2 now free from ANYARGS卜部昌平
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit deletes ANYARGS from rb_rescue / rb_rescue2, which revealed many arity / type mismatches.
2019-08-27rb_iterate now takes rb_block_call_func_t卜部昌平
After 5e86b005c0f2ef30df2f9906c7e2f3abefe286a2, I now think ANYARGS is dangerous and should be extinct. This commit makes rb_iterate free from ANYARGS.
2019-08-24ext/psych/yaml/api.c: Suppress a "variable set but not used" warningYusuke Endoh
``` compiling ../.././ext/psych/yaml/api.c ../.././ext/psych/yaml/api.c: In function 'yaml_document_delete': ../.././ext/psych/yaml/api.c:1122:7: warning: variable 'context' set but not used [-Wunused-but-set-variable] } context; ^~~~~~~ ``` https://rubyci.org/logs/rubyci.s3.amazonaws.com/ubuntu1604/ruby-master/log/20190824T093004Z.log.html.gz
2019-08-23[ruby/stringio] Fixed a typoNobuyoshi Nakada
https://github.com/ruby/stringio/commit/b249631c433f800c979be2705bf63555075db2fc#commitcomment-34804150 https://github.com/ruby/stringio/commit/998d6257fb
2019-08-23Check metadata a bit moreNobuyoshi Nakada
2019-08-23Hoisted out get_digest_obj_metadataNobuyoshi Nakada
2019-08-22Hoisted out rb_id_metadataNobuyoshi Nakada
2019-08-22Hoisted out rb_digest_namespaceNobuyoshi Nakada
2019-08-21Separated initializing IDsNobuyoshi Nakada
2019-08-16Hoisted out unixsocket_len, triming NUL chars from sun_pathNobuyoshi Nakada
2019-08-14[ruby/stringio] Supported BOMNobuyoshi Nakada
https://github.com/ruby/stringio/commit/b249631c43
2019-08-14[ruby/stringio] Supported `mode:` optionNobuyoshi Nakada
https://github.com/ruby/stringio/commit/53def32ba0
2019-08-14[ruby/stringio] Allow bignum modeNobuyoshi Nakada
https://github.com/ruby/stringio/commit/d28927b561
2019-08-14[ruby/stringio] Added support for older versionsNobuyoshi Nakada
https://github.com/ruby/stringio/commit/c4a13d41cd https://github.com/ruby/stringio/commit/359c9f395c
2019-08-14[ruby/stringio] stringio: encoding supportNobuyoshi Nakada
https://github.com/ruby/stringio/commit/7b20075ab0
2019-08-12date_parse.c: trim offNobuyoshi Nakada
* ext/date/date_parse.c (date_zone_to_diff): trim off by zone name length.
2019-08-12date_parse.c: avoid copyingNobuyoshi Nakada
* ext/date/date_parse.c (date_zone_to_diff): get rid of copying the whole argument string.
2019-08-10Warn instance variable `E`Nobuyoshi Nakada
It is not dumped, as it is a short alias for `:encoding`.
2019-08-07ext/ripper/lib/ripper/lexer.rb: Consistently use `Array#push`Yusuke Endoh
instead of <<. All the other callsites use `push`.
2019-08-07ext/ripper/lib/ripper/lexer.rb: fix a wrong delegationYusuke Endoh
The target method name is a typo.
2019-08-05Remove documentation of %m in SyslogJeremy Evans
Fixes [Bug #6726]
2019-08-05ext/psych/yaml/loader.c: Cast the difference of pointers to intYusuke Endoh
instead of casting a pointer to int. Follow up of 39622232c7542d062f79277a11f6b8b6b6cfd994.
2019-08-04Suppress warnings of bundled libyaml.Hiroshi SHIBATA
2019-08-04yaml few build warning fixesDavid Carlier
Closes: https://github.com/ruby/ruby/pull/2283
2019-08-04Remove dependency on `openssl/conf_api.h`Dmitry Petrashko
None of the functions defined in this header are actually used in Ruby. Fixes build against boringssl that does not have this file. Closes: https://github.com/ruby/ruby/pull/2210
2019-08-01ext/-test-/bug-14834/bug-14384.c: fallback for MAYBE_UNUSEDYusuke Endoh
__unused__ is unavailable on Sun C. https://rubyci.org/logs/rubyci.s3.amazonaws.com/solaris11s-sunc/ruby-master/log/20190801T112505Z.fail.html.gz
2019-08-01fix VC 2013 compile error卜部昌平
It seems the compiler does not support VLAs. See also: https://ci.appveyor.com/project/ruby/ruby/builds/26392589/job/px6nuiuw4e78weg1