aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Be sure to load the custom require even if --disable-rubygems was usedevan2010-07-202-3/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28695 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-21svn2010-07-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Pull rubygem's custom require into gem_preludeevan2010-07-205-111/+40
| | | | | | | | This solves the gem loading issue by never touching $LOAD_PATH in gem_prelude and instead loading all of rubygems more quickly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/generator/generator.c (fbuffer_free): removed unused function.nobu2010-07-202-6/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RSTRING_GETMEM): new macro to get ptr andnobu2010-07-203-12/+29
| | | | | | | | len at once. * string.c (rb_str_cmp, str_eql, rb_str_eql): trivial improvements. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/fiddle/closure.c (closure_data_type),nobu2010-07-203-2/+8
| | | | | | | ext/fiddle/function.c (function_data_type): rb_data_type_t has changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: don't call after_gc_sweep() after when garbage_collect()nari2010-07-202-8/+15
| | | | | | | | | was called, because rb_sweep_method_entry() free live unlinked method entries. [ruby-core:31169] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (rb_getaddrinfo): according to my valgrind output ↵shyouhei2010-07-202-0/+6
| | | | | | this variable should be initialized beforehand. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_flush_buffer): write and buffer operations should benobu2010-07-203-32/+56
| | | | | | monolithic. [ruby-core:31348] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-20svn2010-07-201-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (FileUtils::Entry_#copy): check file namenobu2010-07-203-1/+26
| | | | | | spearator boundary. [ruby-core:31360] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2010-07-191-35/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pathname/pathname.c (get_strpath): check the type.akr2010-07-193-5/+30
| | | | | | | | | | (path_initialize): bypass to_path call for T_STRING. (path_freeze): implemented. * ext/pathname/lib/pathname.rb (Pathname#freeze): removed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (DEFAULT_SEED_LEN): suppress a warning.nobu2010-07-191-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/lib/syck.rb: fixing unused variable warningstenderlove2010-07-193-8/+7
| | | | | | | * ext/syck/lib/syck/basenode.rb: ditto * ext/syck/lib/syck/rubytypes.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_clear): should not unshare embedded array, andnobu2010-07-192-1/+9
| | | | | | should make unshared array embedded. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS (Kernel#instance_eval): add an incompatible change sincenobu2010-07-192-8/+13
| | | | | | the 1.9.1 release. [ruby-core:31336] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_data_type_t): add new feature macros.nobu2010-07-183-2/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_clear): no need to duplicate buffer just beforenobu2010-07-182-2/+10
| | | | | | clearing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_data_type_t): restructured. [ruby-dev:41862]nobu2010-07-1825-70/+119
| | | | | | | | add parent member. * error.c (rb_typeddata_inherited_p): new function. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_objspace_each_objects): adjust indent.nobu2010-07-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2010-07-171-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2010-07-171-11/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pathname/pathname.c (path_initialize): return a value.akr2010-07-172-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-18svn2010-07-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pathname/lib/pathname.rb (Pathname#initialize): removed.akr2010-07-173-15/+45
| | | | | | | | | * ext/pathname/pathname.c (path_initialize): implemented. (get_strpath): new function. (set_strpath): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (MiniTest::Unit#process_args): refactored.nobu2010-07-174-61/+124
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/file2lastrev.rb: don't depend on pathname.rb if File.realpathakr2010-07-172-16/+28
| | | | | | | is available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_add_suffix): fixed type warnings.nobu2010-07-172-5/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/pathname/lib/pathname.rb: moved from lib/pathname.rb.akr2010-07-175-0/+24
| | | | | | | | | | | | require pathname.so. * ext/pathname/pathname.c: new file to define empty Pathname class. * ext/pathname/extconf.rb: new file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix svn:ignore.akr2010-07-170-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* set svn:ignore.akr2010-07-170-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_wakeup_alive): split from rb_thread_wakeup.nobu2010-07-173-1/+16
| | | | | | merged from r13476. c.f. [ruby-core:31320] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-07-17svn2010-07-171-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: MiniTest::Unit is different class fromnobu2010-07-174-9/+46
| | | | | | Test::Unit, and install runner before loading test/minitest. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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