aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * win32/Makefile.sub (config.h): added RUBY_COREDLL.nobu2009-03-174-1/+44
| | | | | | | | * ext/dl/handle.c (rb_dlhandle_initialize): returns msvcrt if libc or RUBY_COREDLL is given. [ruby-core:22828] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-03-171-4/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c, dln.c, parse.y, re.c, ruby.c, sprintf.c, strftime.c,nobu2009-03-1711-35/+46
| | | | | | | | string.c, util.c, variable.c: use strlcpy, memcpy and snprintf instead of strcpy, strncpy and sprintf. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-17svn2009-03-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl: made indent style insistent.nobu2009-03-173-160/+160
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/dl/test_win32.rb (Win32API): enclosed by DL::TestWin32.nobu2009-03-162-3/+8
| | | | | | | [ruby-core:22827] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/tcltklib.c (eventloop_sleep, lib_eventloop_core),nobu2009-03-162-4/+9
| | | | | | | (lib_watchdog_core): tv_usec is not time_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_spawn_internal): suppressed a warning.nobu2009-03-161-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (REVISION_H): keeps timestamp of revision.h.nobu2009-03-164-17/+61
| | | | | | | | | [ruby-core:22900] * tool/ifchange, win32/ifchange.bat: extended --timestamp option. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in, common.mk, win32/Makefile.sub: added preprocessing rules.nobu2009-03-165-3/+24
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated.akr2009-03-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/minitest/test_mini_test.rb: fixed tests depending on thenobu2009-03-151-5/+13
| | | | | | | detail of floating point representation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22970 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/installer.rb (Gem::Installer#shebang): fix for envnobu2009-03-153-19/+19
| | | | | | | shebang. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22969 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h ({RSTRING,RBIGNUM}_EMBED_LEN_MAX): made int.nobu2009-03-151-5/+5
| | | | | | | | | * include/ruby/ruby.h (OBJ_{TAINTED,UNTRUSTED,FROZEN}): return int. * include/ruby/encoding.h (ENC_CODERANGE): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h ({RSTRING,RBIGNUM}_EMBED_LEN_MAX): made int.nobu2009-03-152-4/+12
| | | | | | | | | * include/ruby/ruby.h (OBJ_{TAINTED,UNTRUSTED,FROZEN}): return int. * include/ruby/encoding.h (ENC_CODERANGE): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_hash_uint, rb_hash_start, rb_hash_end): use VALUEnobu2009-03-153-28/+45
| | | | | | | rather than unsigned int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (load_file_internal): stop the timer thread before exec.nobu2009-03-152-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (.y.c): use SRC_FILE which contains slashes instead ofnobu2009-03-154-1/+10
| | | | | | | backslashes. [ruby-core:22891] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (srcs-ext): creates ext/dl/callback/callback.c also.nobu2009-03-143-3/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb (TestFloat#test_to_s): precision wasnobu2009-03-141-1/+1
| | | | | | | increased. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (SAVED_GROUP_ID, p_gid_switch): should be rb_gid_t.nobu2009-03-142-4/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_subpat): accept capture name.akr2009-03-146-9/+47
| | | | | | | | | | | | | | | | | | | (rb_str_aref): follow above change. (rb_str_aref_m): pass the 2nd argument to rb_str_subpat. (rb_str_subpat_set): accept capture name. (rb_str_aset): follow above change. (rb_str_partition): ditto. (rb_str_aset_m): pass the 2nd argument to rb_str_subpat_set. * include/ruby/intern.h (rb_reg_backref_number): declared. * re.c (rb_reg_backref_number): defined. [ruby-core:21057] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (bmcall): should not uninitialized variable. a patch fromnobu2009-03-143-4/+9
| | | | | | | pegacorn at [ruby-dev:38169]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22958 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_scan_oct, ruby_scan_hex): use size_t.nobu2009-03-146-23/+23
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22957 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_call, bmcall): commit miss.nobu2009-03-141-2/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_call, rb_node_arity, bmcall, curry): checksnobu2009-03-142-14/+30
| | | | | | | overflow. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_call): checks overflow.nobu2009-03-142-2/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22954 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_arity): commit miss.nobu2009-03-141-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_proc_parameters): unnamed_parameters() expects intnobu2009-03-142-12/+18
| | | | | | | not VALUE. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22952 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_each_words): assume no string exceeds INT_MAX.nobu2009-03-142-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_spawn_internal): use int variable for status.akr2009-03-142-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22950 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* assert connects doesn't raise.akr2009-03-141-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_f_system): use rb_pid_t for pid.akr2009-03-142-12/+18
| | | | | | | (rb_spawn_internal): local variable renamed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strdup, Balloc, rv_alloc): use size_t.nobu2009-03-142-12/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_qsort): the result of cmp must be signed, so getnobu2009-03-142-18/+24
| | | | | | | rid of reuse of a variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (init_funcname_len, dln_find_exe_r, dln_find_file_r): usenobu2009-03-141-1/+1
| | | | | | | | | | | size_t. * file.c (rb_stat_inspect, file_expand_path): ditto. * util.c (ruby_qsort): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (init_funcname_len, dln_find_exe_r, dln_find_file_r): usenobu2009-03-145-13/+22
| | | | | | | | | | | size_t. * file.c (rb_stat_inspect, file_expand_path): ditto. * util.c (ruby_qsort): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22943 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (CXX_EXT): checks for case-sensitive filesystem withnobu2009-03-142-10/+15
| | | | | | | FNM_SYSCASE rather than build_os. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-03-14svn2009-03-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils#fu_get_gid): stringify groupmatz2009-03-132-0/+6
| | | | | | argument before making regexp match. [ruby-dev:38155] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (wait_connectable0): remove unreachable code.akr2009-03-132-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_CHECK_SIZEOF): pass [include] to AC_CHECK_SIZEOF.akr2009-03-132-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_find_1): compare fspace in size_t world.akr2009-03-132-3/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (CFLAGS, CXXFLAGS): moved after warnflags.nobu2009-03-132-2/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c (rb_throw_obj): inverted call flow. [ruby-core:22872]nobu2009-03-132-21/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (bool): not define to get rid of conflictnobu2009-03-132-25/+8
| | | | | | | against curses. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/openssl_missing.h (i2d_of_void): cast for callbacks.nobu2009-03-136-12/+30
| | | | | | | | | | | | | | | | | [ruby-core:22860] * ext/openssl/ossl_engine.c (ossl_engine_s_by_id): suppress a warning. * ext/openssl/ossl_ssl.c (ossl_sslctx_flush_sessions): time_t may be larger than long. * ext/openssl/ossl_ssl_session.c (ossl_ssl_session_get_time), (ossl_ssl_session_get_timeout): use TIMET2NUM() to convert time_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): should usenobu2009-03-132-3/+9
| | | | | | | | OPENSSL_free instead of free. a patch from Charlie Savage at [ruby-core:22858]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c: fixed indent.nobu2009-03-131-21/+21
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (AC_HEADER_DIRENT): added.nobu2009-03-135-12/+53
| | | | | | | | | | | | * include/ruby/ruby.h (NUM2INT, rb_special_const_p): returns true and false instead of Qtrue and Qfalse for platforms where VALUE is bigger than int. * gc.c (gc_stress_set), ext/openssl/ossl_asn1.c (decode_bool): got rid of variables named `bool'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e