summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * ChangeLog: fixed a typo.nobu2009-07-222-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (struct rb_iseq_t): add a new field line_no. This fieldmame2009-07-226-51/+64
| | | | | | | | | | | | | | | | represents line number from which the original code of the iseq starts. [ruby-dev:38698] * iseq.c, compile.c: ditto. * parse.y: line number hack (for Proc#source_location) is no longer needed. * test/ruby/test_settracefunc.rb: line number of set_trace_func is now compatible with 1.8's. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h : Commas at end of enum list not allowed as of C89shyouhei2009-07-224-4/+15
| | | | | | | | | * vm_method.c (rb_add_method): avoid C++ comment * vm_insnhelper.c (vm_call_cfunc): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: define IPPROTO_IPV6 macro for recent Windowsusa2009-07-222-0/+8
| | | | | | | | SDK. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: define IPV6_* constants only when INET6usa2009-07-222-1/+6
| | | | | | | | is defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: ipv6 support is disabled by default on mswin.usa2009-07-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ipsocket.c (init_inetsock_internal): drop IPv6 addressesusa2009-07-222-0/+9
| | | | | | | | if INET6 is not defined. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/extconf.rb: enable ipv6 support for win32.usa2009-07-222-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (Hash::[]): rdoc. patch by Marc-Andre Lafortune.yugui2009-07-222-7/+16
| | | | | | #1385. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (WSABUF): get rid of compile error on VC9 and mingw.usa2009-07-222-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rand.rb (test_big_seed): tests also instance methods.nobu2009-07-211-2/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb: forget svn commit.keiju2009-07-212-2/+14
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_io.rb: block write may block for long time.matz2009-07-212-14/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-22svn2009-07-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb, lib/irb/init.rb, lib/irb/ext/save-history.rb: addkeiju2009-07-213-19/+40
| | | | | | | | IRB::irb_at_exit. no use finalizer saving history. [ruby-dev-38563] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rand_init): array length of random seed was broken, whichmame2009-07-213-4/+14
| | | | | | | | | causes memory error with srand(2**1000000-1). * test/ruby/test_rand.c: test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/cmd/help.rb: fixed irb's "help" command. [ruby-core:22310].keiju2009-07-212-4/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: no show lines unkonwn line number. [ruby-core:22096],keiju2009-07-212-25/+59
| | | | | | | | no trace display c-call and c-return as default. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24226 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (vtdate2rbtime): VT_DATE variant object suke2009-07-213-143/+75
| | | | | | | | | | | | | is converted to Time object now. * test/win32ole/test_win32ole_variant.rb (test_s_new_with_nil, test_conversion_time2date, test_conversion_str2date, test_conversion_vt_date, test_set_value): ditto. * ext/win32ole/win32ole.c (rbtime2vtdate): refactoring. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tracer.rb: toplevel caller exists now. [ruby-core:24454]nobu2009-07-212-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.[ch] (recvmsg, sendmsg): new functions to support recvmsg/usa2009-07-213-1/+229
| | | | | | | | | sendmsg like UNIX. these functions are experimental and not tested well. bug reports are welcome. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (TEST_RUNNABLE): follow r24209.usa2009-07-212-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_gc_enable, rb_gc_disable): should return Qtrue/Qfalse.nobu2009-07-212-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_generic_ivar_memsize): should not remove genericnobu2009-07-213-7/+12
| | | | | | | instance variable table. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_open): add rdoc about specifying ext_enc as *-bom.naruse2009-07-202-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (compile_dstr_fragments): reduced needless literal.nobu2009-07-204-10/+25
| | | | | | | | | * parse.y (xstring, regexp, dsym, literal_concat, evstr2dstr): literal at the top of dstr is no longer needed if it is empty, since concatstrings and toregexp always create new strings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/matrix.rb (Matrix#rank): revert a part of r20859 to avoidwanabe2009-07-202-3/+7
| | | | | | infinite loop. [Bug #1020] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24211 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated.akr2009-07-201-0/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in, Makefile.in (TEST_RUNNABLE): tests are notnobu2009-07-204-5/+26
| | | | | | | | | runnable if cross-compiling. * common.mk (btest*, test*): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-20svn2009-07-201-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Addrinfo#family_addrinfo): fix a typo in akr2009-07-202-1/+6
| | | | | | | error message. patch by Nobuhiro IMAI. [ruby-dev:38828] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (float_to_r): an improvement.tadf2009-07-192-0/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (make_patterns): do not use \d.tadf2009-07-193-2/+8
| | | | | | | * rational.c (make_patterns): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use UDP for sendmsg/recvmsg tests.akr2009-07-191-5/+31
| | | | | | | sendmsg/recvmsg doesn't work with SOCK_STREAM on Windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_read): should taint the result. [ruby-dev:38826]nobu2009-07-193-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (me_opts): fixed optimized method aliasing.nobu2009-07-193-0/+15
| | | | | | | [ruby-dev:38824] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.accept_loop): rescueakr2009-07-192-2/+8
| | | | | | | | IO::WaitReadable instead of Errno::EWOULDBLOCK. (Socket.udp_server_loop_on): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_socket.rb (test_udp_server): cannot check the existance of sendmsg byusa2009-07-191-6/+13
| | | | | | | respond_to?. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-19svn2009-07-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use rb_enc_get to get the encoding of a Regexp object.naruse2009-07-182-1/+8
| | | | | | | | | * re.c (reg_enc_error): use rb_enc_get to get the encoding of a Regexp object. REGEXP(re)->ptr->enc is the encoding of the regexp engin for patterns and target strings. [ruby-core:23208] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_hash_cmp): got rid of overflow.nobu2009-07-182-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * suppressed shorten-64-to-32 warnings.nobu2009-07-1816-145/+151
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c: suppressed shorten-64-to-32 warnings.nobu2009-07-181-8/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (TRUE, FALSE): for internal use.nobu2009-07-182-0/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c: workaround for VC++ 6.0.usa2009-07-182-1/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rb_random_{int32,real,bytes,int}): added functions fornobu2009-07-183-5/+35
| | | | | | | extension libraries. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (fill_random_seed): needs wincrypt.h.nobu2009-07-181-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (fill_random_seed): use cryptographic service on Windows.nobu2009-07-182-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: fail to create a widget object for an unknown wiget path.nagai2009-07-172-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix skip condition.akr2009-07-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e