aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Skip tests when the lib is with gdbm 1.8.0.naruse2011-12-061-4/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/extconf.rb: detect gdbm_version in libgdbm.akr2011-12-063-1/+55
| | | | | | | | | * ext/dbm/dbm.c: make DBM::VERSION more informative for gdbm, qdbm and Berkeley DB 1.x. [ruby-dev:44944] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c: Improve documentation for Range. Patch by Chris Zetter.drbrain2011-12-052-81/+122
| | | | | | | [Ruby 1.9 - Bug #5656] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-12-06svn2011-12-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Comment out tests which fails with GDBM-DBM compat mode.naruse2011-12-051-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c: fix typo.nobu2011-12-051-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regparse.c (PFETCH_READY): separate gcc specific trick.nobu2011-12-052-0/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (proc_seteuid_m): fix argument.nobu2011-12-053-1/+21
| | | | | | | | * test/ruby/test_process.rb (test_geteuid): fix typo. * test/ruby/test_process.rb (test_getegid, test_set[eg]uid): add. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: remove dup entry.nobu2011-12-051-8/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (big_rshift), compile.c (validate_label,nobu2011-12-0514-23/+63
| | | | | | | | | | | | | | iseq_build_from_ary_exception), cont.c (cont_capture), dir.c (dir_open_dir), gc.c (objspace_each_objects), io.c (pipe_open) (rb_io_advise), parse.y (parser_compile_string) (rb_parser_compile_file), proc.c (binding_free), process.c (rb_proc_exec_n, rb_seteuid_core, proc_setegid, rb_setegid_core) (p_uid_exchange, p_gid_exchange), regparse.c (strdup_with_null), signal.c (sig_dfl), vm.c (rb_iseq_eval, rb_iseq_eval_main), vm_insnhelper.c (vm_expandarray): suppress unused-but-set-variable warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_obj_methods), compile.c (iseq_compile_each),nobu2011-12-058-35/+24
| | | | | | | | | iseq.c(iseq_load, rb_iseq_parameters), pack.c (pack_pack), regcomp.c (is_not_included, update_string_node_case_fold), transcode.c (rb_econv_open0, make_replacement), vm_eval.c (raise_method_missing): remove unused variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (newline.c, miniprelude.c): use VPATH.nobu2011-12-051-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (reserved_signal_p): static.nobu2011-12-052-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/{subst.h,win32.h}, ext/socket/rubysocket.h: revertusa2011-12-055-95/+102
| | | | | | | | | r33876. [ruby-core:41475] [Bug #5706] * ext/socket/extconf.rb: the alternative hack for [Bug #5675]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_gzreader_initialize): revert a part of r33937.usa2011-12-052-8/+9
| | | | | | | | | | | 1st, to change the mode of an IO is very sensitive problem, so the maintainer of this library should judge it. 2nd, usually Zlib::GzReader.new is not called directly. #initialize is called via .open, and in the method the I/O is opened in binary mode, so there is no problem without changing the mode in #initialize. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-12-05svn2011-12-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c: suppress unused-value warnings. fixup of r33937.nobu2011-12-041-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: don't use lock directory. [ruby-dev:39197]akr2011-12-042-24/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typo.akr2011-12-041-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile::MAX_TRY): remove unused constant.akr2011-12-042-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pp.rb: fix rdoc.ktsj2011-12-042-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (Delegator#methods): Kernel#methods receivesnaruse2011-12-044-3/+17
| | | | | | zero or one argument. [ruby-core:37118] [Bug #4882] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-12-04svn2011-12-041-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Introduce NEED_READCONV and NEED_WRITECONV to replace universal newline ↵luislavena2011-12-046-19/+214
| | | | | | | | | decorator Use CRLF only when required to improve file reading and writing under Windows. Patch by Hiroshi Shirosaki. [ruby-core:40706] [Feature #5562] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (set_const_visibility): print a warning when no argumentmame2011-12-033-0/+17
| | | | | | | | | is passwd to Module#private_constant. [ruby-list:48558] * vm_method.c (set_method_visibility): ditto for Module#private_class_method. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (set_const_visibility): Module#private_constant hasmame2011-12-033-1/+22
| | | | | | | | | changed the visibility of only the first argument. Now it changes all of them. [ruby-list:48558] * test/ruby/test_module.rb: add a test for above. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (CFLAGS): append ARCH_FLAG.nobu2011-12-024-7/+11
| | | | | | * configure.in (ARCH_FLAG): exclude from CFLAGS. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-12-03svn2011-12-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (UNIVERSAL_INTS): include short int. fix fornobu2011-12-022-1/+6
| | | | | | test/mkmf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.c (VpAllocReal): reduce extra frac.nobu2011-12-022-6/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_TRY_CFLAGS, RUBY_TRY_LDFLAGS): more verbose messages.nobu2011-12-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: check whether -pie or -Wl,-pie is valid asnobu2011-12-022-3/+15
| | | | | | LDFLAGS. [ruby-core:41438] [Bug#5697] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use $linker_flag for LDFLAGS option which is notnobu2011-12-022-2/+7
| | | | | | limited to particular platforms. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r33926 "* configure.in: use $linker_flag for LDFLAGS option which is not"naruse2011-12-022-8/+3
| | | | | | | This breaks build process of Linux and FreeBSD. It may depend the version of gcc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: use $linker_flag for LDFLAGS option which is notnobu2011-12-022-3/+8
| | | | | | limited to particular platforms. [ruby-core:41438] [Bug#5697] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-12-02svn2011-12-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r33921.naruse2011-12-012-14/+9
| | | | | | | | | | | | | | | | | Revert "* proc.c (rb_proc_arity): Fix Proc#arity in case of optional arguments" Because following two reason: * Proc#arity's return value with optional arguments is not clear. The optional argument for proc/lambda is Ruby 1.9 feature. In 1.9, proc(a, b=1){} can receive 1 or more arguments. But lambda(a, b=1){} can receive only 1 or two arguments. r33921 breaks lambda's arity. The spec arround optional arguments of proc/lambda needs more discussion. * No tests. Add tests to test-all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) only ifnagachika2011-12-012-1/+6
| | | | | | PR_SET_NAME is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (linux_get_maxfd): change local variable name.akr2011-12-012-4/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_arity): Fix Proc#arity in case of optional argumentsmarcandre2011-12-012-9/+14
| | | | | | [bug #5694] [rubyspec:b8b259] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33921 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: get rid of warnings bynobu2011-12-011-4/+5
| | | | | | -Wmissing-declarations or -Wold-style-definition options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33920 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: add arguments for macro calls.nobu2011-12-012-6/+11
| | | | | | [ruby-core:41370] [Bug#5681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33919 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (MakeMakefile#try_func): fix broken patch at r33834.nobu2011-12-012-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/subst.h: reverted r33916, since some names in vm.inc conflict.nobu2011-12-012-38/+31
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33917 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/subst.h: removed arguments lists so that functionnobu2011-12-012-30/+37
| | | | | | | | calls with zero arguments can be substituted. aliasing in .def file has no effect for static library. [ruby-core:41370] [Bug#5681] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal/bigdecimal.h (Real): suppress false warning fromnobu2011-12-012-1/+12
| | | | | | clang. [ruby-core:41418] [Bug#5693] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33915 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (LDFLAGS): -fstack-protector is always needed tonobu2011-12-012-0/+7
| | | | | | | link static library created with it. [ruby-core:41387] [Bug#5686] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33914 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* properties.nobu2011-12-010-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33913 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: add sys/prctl.h test.kosaki2011-11-303-1/+14
| | | | | | | * thread_pthread.c (thread_timer): call prctl(PR_SET_NAME) to change thread name. It may help to debug. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2011-12-01svn2011-11-301-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e