aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/test/unit.rb, bin/testrb, test/runner.rb: revert r28655, whichmame2010-07-164-35/+12
| | | | | | broke test-all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dbm/dbm.c (struct dbmdata, fdbm_key, fdbm_delete_if): fixednobu2010-07-162-6/+5
| | | | | | | | type warnings. * time.c (calc_tm_yday): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit.setup_argv): run tests only whennobu2010-07-164-7/+42
| | | | | | | | | any tests have not run. * bin/testrb, test/runner.rb: use Test::Unit.start. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/rbinstall.rb (ext-arch): prune directories start with '-'.nobu2010-07-163-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_divide): must not use rb_rational_new1 for coercionmame2010-07-152-1/+7
| | | | | | | because it returns an argument itself when canonical mode is set. [ruby-core:31279] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (bm_free): fix memory leak. [ruby-core:30869] [Bug #3466]mame2010-07-152-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regexec.c (onig_search): don't skip non-ANYCHARs whennaruse2010-07-153-5/+12
| | | | | | | | .* fails to match. This causes to fail matching ANYCHAR_STAR with LOOK_BEHIND. This fix is workaround and disable the optimization. [ruby-dev:41851] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/markup/attribute_manager.rb: fixing ri output when specialtenderlove2010-07-143-2/+23
| | | | | | | characters are inside html tags. Thanks Tomo Kazahaya! [Bug #3512] * test/rdoc/test_attribute_manager.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (guess_local_offset): use the UTC offset of an older date onakr2010-07-143-3/+20
| | | | | | | 64bit time_t environment. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (setup_argv): convert to using optparse, addingtenderlove2010-07-142-12/+26
| | | | | | --help and -I. [ruby-core:30154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-15svn2010-07-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (localtime_with_gmtoff_zone): renamed fromakr2010-07-143-31/+76
| | | | | | | | | | localtime_with_gmtoff and return the timezone abbreviation name. (guess_local_offset): return the isdst and timezone abbreviation name. (localtimew): use the returned isdst and timezone abbreviation name. [ruby-core:31275] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (frame_func_id), vm_eval.c (rb_iterate),nobu2010-07-147-1/+57
| | | | | | | | | vm_insnhelper.c (vm_yield_with_cfunc): as the name of a C-level block, use the current method ID at the creation point. [ruby-dev:41852] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention the json library. (Pointed out by yhara)knu2010-07-141-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-14svn2010-07-141-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regexec.c (match_at): add end point to enclen's argument.naruse2010-07-142-2/+7
| | | | | | This only effect on compilinig with -DONIG_DEBUG_MATCH. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: libedit is missing declaration ofnobu2010-07-132-0/+9
| | | | | | | rl_getc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_daemon): split from proc_daemon.nobu2010-07-132-9/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28630 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (rb_fork_err): suppress gcc 4.4 warnings.nobu2010-07-133-3/+13
| | | | | | | * random.c (fill_random_seed): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in: fix for universal binary.nobu2010-07-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pty/pty.c (establishShell): chfunc must not raise anynobu2010-07-132-13/+24
| | | | | | | exceptions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (RUBY_DEFAULT_ARCH): adjust for targetnobu2010-07-132-2/+30
| | | | | | | cpu. [ruby-core:31243] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/dl/handle.c (rb_dlhandle_close): should not pass a dynamicnobu2010-07-132-1/+6
| | | | | | | string to rb_raise directly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-13svn2010-07-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/close.c: keep original errno.naruse2010-07-132-0/+16
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28623 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-12svn2010-07-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: Fix unused variable warnings.marcandre2010-07-1110-21/+38
| | | | | | | | | | | | | | | | | | | | | | Patch by Run Paint [ruby-core:30991] * lib/date.rb: ditto * lib/debug.rb: ditto * lib/drb/drb.rb: ditto * lib/drb/invokemethod.rb: ditto * lib/irb/ruby-lex.rb: ditto * lib/irb/slex.rb: ditto * lib/logger.rb: ditto * lib/pathname.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT{,.ja} (rb_block_call): fixed about third/fourthnobu2010-07-113-6/+19
| | | | | | | | arguments to the block. based on [ruby-core:31192] by Asher Haig. [Bug #3558] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_cRandom): added.mrkn2010-07-111-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in ({,dist-,real-}clean-ext): should also omitnobu2010-07-113-7/+6
| | | | | | | | | semicolon when omitting "in WORDS" of FOR-statement. * tool/rmdirs: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in ({,dist-,real-}clean-ext): omission of "in WORDS" ofnobu2010-07-113-3/+11
| | | | | | | | | | FOR-statement is not allowed in /bin/sh on Solaris. fore-ported r28609 from 1.9.2. * tool/rmdirs: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-11svn2010-07-111-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rdoc/test_rdoc_ri_driver.rb (test_formatter): add a test. amame2010-07-112-0/+9
| | | | | | patch from caleb clausen in [ruby-core:31182]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime_with_timespec): fix precision handling forakr2010-07-102-2/+7
| | | | | | | %:z and %::z. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-10svn2010-07-101-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2010-07-101-28/+68
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c: unused declarations removed.akr2010-07-092-28/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2010-07-091-22/+58
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c (rb_strftime_with_timespec): clear colons at unknownakr2010-07-092-0/+6
| | | | | | | directive. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * strftime.c: don't call tzset. strftime.c doesn't depend onakr2010-07-092-44/+5
| | | | | | | the global timezone. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (find_time_t): 24:00 should be the beginning of the nextakr2010-07-093-1/+24
| | | | | | | day even if the leap second, 23:59:60, exists. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/yaml_tree.rb (format_time): use newtenderlove2010-07-081-5/+2
| | | | | | timezone format options. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/emitter.rb (initialize): line_width istenderlove2010-07-083-0/+13
| | | | | | | a valid option passed to the emitter. * test/psych/test_psych.rb: corresponding tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-09svn2010-07-081-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/emitter.c (line_width, set_line_width): preferred line maytenderlove2010-07-084-1/+42
| | | | | | | | be set on the emitter. * ext/psych/lib/psych/visitors/yaml_tree.rb: ditto * test/psych/test_emitter.rb: corresponding tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2010-07-081-54/+78
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* unused code removed.akr2010-07-081-77/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* document %g and %G for Time#strftime.akr2010-07-081-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_conv_enc_opts): fix infinite loop becausenaruse2010-07-082-4/+10
| | | | | | | of ISO-2022-JP conversion with empty string. patched by Brian Buchanan [ruby-core:31107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/psych/lib/psych/visitors/yaml_tree.rb (push): adding versiontenderlove2010-07-073-1/+41
| | | | | | | and header emit options. * test/psych/test_psych.rb: corresponding test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e