summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-19* ext/socket/option.c (inspect_tcp_info): New function to inspect struct ↵akr
tcp_info. (sockopt_inspect): Use inspect_tcp_info. * ext/socket/extconf.rb: Check tcp_info related things. * ext/socket/rubysocket.h: Include netinet/tcp_fsm.h if available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-19ignore constdefs.h.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-19* test/dbm/test_dbm.rb: Use Etc.uname.akr
* test/gdbm/test_gdbm.rb: Ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-19etc.c: Etc.uname on Windowsnobu
* ext/etc/etc.c (etc_uname): add support for Windows using GetVersionExW(), GetSystemInfo(), and GetComputerNameExW() with `ComputerNameDnsHostname`. [Feature #9842] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46014 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-19string.c: byte offsetnobu
* string.c (rb_pat_search): advance by byte offset but not by char offset. [ruby-core:62669] [Bug #9849] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-19string.c: constifynobu
* string.c (rb_str_index): constify local pointer variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-19* bin/testrb: Removed. Forgot to remove in r45971.sorah
[Feature #9711] [ruby-core:62620] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18envutil.rb: fix argumentnobu
* test/ruby/envutil.rb (assert_separately): fix missing `message` argument to FailDesc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18test_etc.rb: omit unrunnable testsnobu
* test/etc/test_etc.rb (test_sysconf, test_confstr, test_pathconf): define test cases only if corresponding constants are available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46009 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18* 2014-05-19svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46008 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18increase waitnaruse
http://chkbuild002.hsbt.org/chkbuild/ruby-trunk/log/20140518T160015Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18win32.c: fix infinite recursionnobu
* win32/win32.c: include "missing/nextafter.c" and address finite() and isnan() macros, to get rid of infinite recursion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18fix typenaruse
struct RVALUE.file is const char*. struct RVALUE.line is int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18eval_error.c: investigate core dumpnobu
* eval_error.c (error_handle): show backtrace at SIGSEGV, to investigate core dump in CI. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18Use Etc.uname instead of uname command invocation.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46001 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18[DOC]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46000 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18Fix a constant reference.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45999 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18configure.in: rb_cv_atan2_inf_c99nobu
* configure.in (rb_cv_atan2_inf_c99): set `no` if atan2f and atan2l are not available, and quote the result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18signal.c: use mcontext_tnobu
* signal.c (check_stack_overflow): use mcontext_t. the struct tag name is not portable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18* test/ruby/test_m17n_comb.rb (test_str_crypt): Use Etc.confstr toakr
detect the glibc version. libc.so is not an executable on Debian GNU/kFreeBSD 7.0 (wheezy). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18signal.c: check stack overflow by SPnobu
* signal.c (check_stack_overflow): raise SystemStackError if SP register and fault address is in the same page or the next, on x86 Mac OS X. [EXPERIMENTAL] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45995 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18increase timeout 10 to 15 on test_LSHIFT_neary_long_maxnaruse
http://chkbuild002.hsbt.org/chkbuild/ruby-trunk/log/20140517T160021Z.fail.html.gz http://chkbuild002.hsbt.org/chkbuild/ruby-trunk/log/20140517T200036Z.fail.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18extmk.rb: discard empty Makefilenobu
* ext/extmk.rb (extmake): discard empty Makefile which can be left accidentally. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18Makefile.sub: fix nextafternobu
* win32/Makefile.sub (MISSING, CONFIG_H): msvcr120.dll provides nextafter() as well as other mathematic functions. finite() and isnan() used in missing/nextafter.c are not by older runtimes. [Feature #9834] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18io.c: update ARGF examplesnobu
* io.c (argf_each_line, argf_inplace_mode_set): [DOC] Update ARGF documentation examples. `ARGF.lines` has been deprecated in favor of `ARGF.each_line`. [Fixes GH-615] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45991 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18enum.c: suppress warningsnobu
* enum.c (sliceafter_ii): suppress unused-value warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45990 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18output more verbose to debugnaruse
following failure insists unexpected condition http://c5664.rubyci.org/~chkbuild/ruby-trunk/log/20140515T133301Z.diff.html.gz git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45989 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18Fix a dependency for etc.o.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45988 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18* missing/nextafter.c: Include ruby/missing.h.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18* win32/Makefile.sub: Add nextafter.obj to MISSING.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18[DOC]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18* ext/etc/etc.c: Etc.sysconf, Etc.confstr and IO#pathconf implemented.akr
* ext/etc/extconf.rb: Check sysconf(), confstr() and fpathconf(). * ext/etc/mkconstants.rb: New file. [ruby-core:62600] [Feature #9842] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18* ext/etc/etc.c: Etc.uname method implemented.akr
* ext/etc/extconf.rb: Check uname() function. [ruby-core:62139] [Feature #9770] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18* configure.in: Check nextafter() availability.akr
* include/ruby/missing.h (nextafter): New optional declaration. * missing/nextafter.c: New file. * numeric.c: Float#next_float and Float#prev_float implemented. [ruby-core:62562] [Feature #9834] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-18* enum.c: Enumerable#slice_after implemented.akr
* enumerator.c: Enumerator::Lazy#slice_after implemented. Requested by Tsuyoshi Sawada. [ruby-core:58123] [Feature #9071] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17mkmf.rb: add NULLCMDnobu
* lib/mkmf.rb (configuration): add NULLCMD. * lib/mkmf.rb (create_makefile): use NULLCMD macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17io.c: buffer must be modifiablenobu
* io.c (io_setstrbuf): always check if the buffer is modifiable. [ruby-core:62643] [Bug #9847] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17Remove empty directory.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17* 2014-05-18svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17* include/ruby/ruby.h: Hide Rational internal.akr
(RRational): Moved to internal.h (RRATIONAL): Ditto. (RRATIONAL_SET_NUM): Moved to rational.c. (RRATIONAL_SET_DEN): Ditto. * rational.c (rb_rational_num): New function. (rb_rational_den): Ditto. * include/ruby/intern.h (rb_rational_num): Declared. (rb_rational_den): Ditto. * ext/bigdecimal/bigdecimal.c: Follow the above change. * ext/date/date_core.c: Ditto. [ruby-core:60665] [Feature #9513] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45976 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17* NEWS: Add news about removal of lib/test/**/*.rb.sorah
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17* lib/test: Removed because ruby's test cases now independent tosorah
lib/test by r45970. [Feature #9711] [ruby-core:62620] I'm still considering about the future of lib/minitest, lib/test. (bundling gems?) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17configure.in: disable install-capi by defaultnobu
* configure.in (install-capi): do not install C API documents by default. [ruby-core:62557] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17Doxyfile.tmpl: exclude ccannobu
* template/Doxyfile.tmpl (EXCLUDE): exclude ccan. [ruby-core:62557] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17* properties.svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17* test/runner.rb: remove dependency test-unit and minitesthsbt
from stdlib when running with test-all. [Feature #9711][ruby-core:61890] * test/testunit/*.rb: ditto. * test/lib: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17dir.c: try match PLAINnobu
* dir.c (glob_helper): try match PLAIN as well as ALPHA, which are separated by previous commits. [ruby-core:61552] [Bug #9648] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17dir.c: set PLAIN for non-magicalnobu
* dir.c (glob_make_pattern): set PLAIN for non-magical path to skip parts which not need to glob. [ruby-core:61552] [Bug #9648] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-17dir.c: fix conditions for ALPHAnobu
* dir.c (has_magic): return ALPHA at alphabetical name regardless FNM_CASEFOLD flag. * dir.c (glob_helper): fix conditions for ALPHA. [ruby-core:61552] [Bug #9648] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-16dir.c: reduce matchingnobu
* dir.c (glob_helper): reduce matching at non-mgaical path on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e