summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* rdoc update.akr2009-02-241-5/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_delete_bang): should recalculate coderange.nobu2009-02-243-2/+20
| | | | | | | [ruby-talk:329267] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-241-1/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_size): new method added. [ruby-core:22088]matz2009-02-242-0/+21
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_scan_args): Allow specifying the number of trailingknu2009-02-245-9/+23
| | | | | | | | | | mandatory arguments right after the number of optional arguments only if the number of leading mandatory arguments is not omitted. * ext/socket/tcpserver.c (tcp_svr_init): Make use of it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (curses_colors): new method added. a patchmatz2009-02-243-0/+32
| | | | | | | | from Alexander Beisig in [ruby-core:22331]. * ext/curses/curses.c (curses_color_pairs): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_scan_args): Revamp rb_scan_args() to compute theknu2009-02-242-78/+74
| | | | | | | | number of required and optional arguments precisely to prepare for a more informative error message. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-25svn2009-02-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_index, rb_ary_rindex): Emit a warning that aknu2009-02-242-0/+9
| | | | | | | given block is unused when an argument is specified. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add comment.akr2009-02-241-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (sockaddr_obj): convert fe80:1::1 to fe80::1%1.akr2009-02-242-0/+20
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* reordered.akr2009-02-241-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-241-0/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (ancillary_timestamp): support SCM_BINTIME.akr2009-02-243-2/+27
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (ancillary_timestamp): new method.akr2009-02-243-0/+68
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (main): split from exts and makes main program afternobu2009-02-245-11/+59
| | | | | | | | | | | | | | building exts with miniruby, to get rid of overwriting running program. [ruby-core:22339] * Makefile.in, win32/Makefile.sub (RUNCMD, MKMAIN_CMD): macros to run script file. * ext/extmk.rb (parse_args): added --command-output option which creates script file to make main program. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (ripper.c): exec can't work on Windows.nobu2009-02-244-2/+9
| | | | | | | * ext/ripper/depend (.SUFFIXES): nmake doesn't have .y by default. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (id.h): overwrites unconditinally.nobu2009-02-242-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD_vfprintf): ptrdiff_t may be larger thannobu2009-02-242-0/+10
| | | | | | | long. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (rb_disable_interrupt, rb_enable_interrupt): seenobu2009-02-242-2/+7
| | | | | | | USE_TRAP_MASK. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_waitpid): last argument was missing.nobu2009-02-242-2/+9
| | | | | | | | * process.c (waitall_each): fixed typo. a patch from shinichiro.h <shinichiro.hamaji AT gmail.com> at [ruby-dev:38054]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_eq): remove unnecessary NaN check using isnan().matz2009-02-232-15/+9
| | | | | | | | comparison regarding NaN is false anyway. * numeric.c (flo_gt, flo_ge, flo_lt, flo_le, flo_eql): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_thread.rb: fix for environment where fork is notmame2009-02-232-3/+12
| | | | | | | available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_cleanup_func): unlock all locked mutexes even whenmame2009-02-233-11/+28
| | | | | | | forking. [ruby-core:22269] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_minus): inline float operation.matz2009-02-232-0/+51
| | | | | | * insns.def (opt_lt, opt_gt): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * math.c (Need_Float): call rb_to_float() only when it is reallymatz2009-02-232-1/+4
| | | | | | needed. small performance improvement. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_each): check #succ only when it is reallymatz2009-02-232-4/+9
| | | | | | needed. small performance improvement. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-24svn2009-02-231-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#foreachline): removed wronglymatz2009-02-232-6/+5
| | | | | | resurrected method. [ruby-dev:38065] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (inspect_timespec_as_abstime): new function toakr2009-02-233-2/+54
| | | | | | | | | show struct timespec. (ancillary_inspect): use it for SCM_TIMESTAMPNS on GNU/Linux. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (inspect_bintime_as_abstime): new function toakr2009-02-234-0/+78
| | | | | | | | | | | show struct bintime. (ancillary_inspect): use it for SCM_BINTIME on FreeBSD. * ext/socket/mkconstants.rb: define SCM_BINTIME. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (inspect_timeval_as_abstime): use time_takr2009-02-233-7/+15
| | | | | | | | variable to avoid a warning on environments which use long as tv_sec as NetBSD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_index, rb_ary_rindex): We know that argc is notknu2009-02-232-4/+12
| | | | | | | | | | | zero when we reach here. * array.c (rb_ary_initialize, rb_ary_index): Shrink a double space. (NFC) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (mv): added description for the case ofnobu2009-02-232-1/+6
| | | | | | | different partitions. [ruby-talk:329072] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (USE_SYMBOL_AS_METHOD_NAME): Module#methods,nobu2009-02-234-0/+19
| | | | | | | #singleton_methods and so on return Symbols. [ruby-talk:328775] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT, README.EXT.ja: added macros for the Compatibilities.nobu2009-02-233-0/+54
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* typonobu2009-02-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: define SO_TIMESTAMPNS and SCM_TIMESTAMPNSakr2009-02-222-0/+7
| | | | | | | if available. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.akr2009-02-221-0/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (ancillary_inspect): use SCM_TIMESTAMP insteadakr2009-02-222-3/+8
| | | | | | | | of SO_TIMESTAMP. SCM_TIMESTAMP != SO_TIMESTAMP on MacOS X. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/ancdata.c (inspect_timeval_as_abstime): new function.akr2009-02-222-0/+30
| | | | | | | (ancillary_inspect): use it for SO_TIMESTAMP. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/option.c (inspect_timeval_as_interval): renamed fromakr2009-02-222-3/+8
| | | | | | | inspect_timeval. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/option.c (inspect_timeval): fix the size test.akr2009-02-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-02-23svn2009-02-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-221-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rdoc update.akr2009-02-221-12/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stripped trailing spaces.nobu2009-02-221-202/+202
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* stripped trailing spaces.nobu2009-02-2243-849/+847
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (tr_trans): should recalculate coderange.nobu2009-02-223-2/+20
| | | | | | | [ruby-core:22326] (reopened at [ruby-core:22328]) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@22547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e