summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2012-08-11* 2012-08-12svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-11* benchmark/driver.rb: fix typos.eregon
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-11* 2012-08-11svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-11remove trailing spaceskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-10Refix r36678: switch with zlib and check content-encoding.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36680 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-10Suppress warnings: Net::HTTPResponse#header is obsoletenaruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-10Run automatic deflate decoding only if it has zlib.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09 * gc.c (gc_malloc_allocated_size): RDoc does not process macros, sodrbrain
mention this method is only available when ruby is built with CALC_EXACT_MALLOC_SIZE * gc.c (gc_malloc_allocations): ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36677 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09 * sample/coverage.rb: fix typo.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09* 2012-08-10svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09mkrunnable.rb: build_osnobu
* tool/mkrunnable.rb: see build_os instead of target arch for cross-compiling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09configure.in: use real pathnobu
* configure.in (MINIRUBY): use real path for include path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09fake.rb.in: remove duplicationsnobu
* template/fake.rb.in (builddir): remove duplications git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09* ChangeLog: fix a typo.nagachika
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09Optimize winnt_statshirosaki
* test/ruby/test_file_exhaustive.rb (TestFileExhaustive#test_stat_special_file): add a test. GetFileAttributesExW fails to get attributes of special files such as pagefile.sys. * win32/win32.c (check_valid_dir): for performance, check the path by FindFirstFileW only if the path containts "..." * win32/win32.c (winnt_stat): use GetFileAttributesExW instead of FindFirstFileW since GetFileAttributesExW is faster. Based on the patch by Dusan D. Majkic. [ruby-core:47083] [Feature #6845] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09ruby.c: show version only oncenobu
* ruby.c (proc_options): show version only once even if -v and --verbose are given together. http://twitter.com/d6rkaiz/status/233491797085671424 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-09* test/openssl/test_config.rb (OpenSSL#test_constants): skip thiskosaki
test if platform is Mac OS X or Windows. [Bug #6830] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-08* 2012-08-09svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-08fix a typokazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-08vm_eval.c: cref-scope hacknobu
* vm_eval.c (eval_under): singletons other than special constants don't need cref-scope hack. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-08use local variablesnobu
* test/ruby/test_eval.rb: use local variables instead global variables if possible. * test/ruby/test_ifunless.rb: ditto. * test/ruby/test_iterator.rb: ditto. * test/ruby/test_stringchar.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-08common.mk: id.h dependencynobu
* common.mk (.y.h): split from .y.c rule to manage dependency on parse.h. [ruby-core:46741] [Bug #6789] * common.mk (id.h): keep old file unless changed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-08* compile.c (ADD_INSNL): make ADD_INSNSL as alias of ADD_INSN1.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-08* bootstrap/test_exception.rb: fix a last committed test.ko1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-08* compile.c, insns.def (checkmatch):ko1
remove checkincludearray instruction and add new instruction checkmatch. This change is to solve [Bug #4438] "rescue args type check omitted". * iseq.c: increment ISEQ_MAJOR_VERSION because removal of checkincludearray instruction. * vm_core.h: add several definitions for the checkmatch instruction. * vm_insnhelper.c (check_match): added. * bootstraptest/test_exception.rb: add a test. * test/ruby/test_exception.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-07* 2012-08-08svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-07* proc.c (method_clone): Added documentation. Patch by Robin Dupret.drbrain
Fixes #152 on github. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-07* ext/readline/readline.c (Init_readline): rl_catch_signals=0 returnsnaruse
back. Without this, on FreeBSD9 and readline 6.2 irb can't catch ^C. [Bug #5423] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-07* vm_exec.c, insns.def (leave): solve problems onko1
OPT_CALL_THREADED_CODE. Catch up finish frame structure on OPT_CALL_THREADED_CODE. * vm_core.h: add rb_thread_t#retval for temporary space on OPT_CALL_THREADED_CODE. * vm.c (th_init): clear rb_thread_t#retval as Qundef. * vm_dump.c (rb_vmdebug_debug_print_pre): fix debug print format. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-07* test/ruby/test_require.rb (TestRequire#test_require_twice): added.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-07* vm_method.c (rb_redefine_opt_method): use RCLASS_ORIGIN to avoidshugo
SEGV when a module-prepended class is refined. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-07* test/ruby/test_file_exhaustive.rbusa
(TestFileExhaustive#test_expand_path*): refactoring. split the method into some chunks of the same kind of tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-07test String#each_line when separator is longer than string.tenderlove
Thanks Charles Nutter. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36648 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06method in instance_evalnobu
* class.c (rb_special_singleton_class_of): utility function. * vm_eval.c (eval_under): special deal for class variable scope with instance_eval. * vm_eval.c (rb_obj_instance_eval, rb_obj_instance_exec): allow method definition in instance_eval of special constants. [ruby-core:28324] [Bug #2788] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06* 2012-08-07svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06variable.c: split CVAR_LOOKUPnobu
* variable.c (CVAR_LOOKUP): split into helper functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06test_exception.rb: split testsnobu
* test/ruby/test_exception.rb (test_exception, test_else): split huge tests into simple tests. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06test_exception.rb: use local variablesnobu
* test/ruby/test_exception.rb (test_exception, test_else): use local variables instead unnecessary global variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36643 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06vm_eval.c: check exceptional condition firstnobu
* vm_eval.c (vm_call_super): check exceptional condition first. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06* test/win32ole/test_win32ole_variant.rb: setting WIN32OLE.localesuke
to pass some assertion. Thanks to Hiroshi Shirosaki. [ruby-core:46873][Bug #6814] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36641 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06* internal.h, class.c, eval.c, insns.def: find the appropriateshugo
receiver for super called in instance_eval. If such a receiver is not found, raise NoMethodError. [ruby-dev:39772] [Bug #2402] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06* include/ruby/ruby.h, eval.c, vm_insnhelper.c: fix typo.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06vm_eval.c: remove dead codenobu
* vm_eval.c (vm_call_super): since cfp->klass is always class or iclass, no search from method entry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36638 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06insns.def: use klass in cfpnobu
* insns.def (defined): now should use klass in the current control frame to search superclass, not me->klass. reported by naruse. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36637 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06* test/etc/test_etc.rb (TestEtc#test_getpwuid): `s' is never set to nil.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36636 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06* syslog/test_syslog_logger.rb: miss.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-06* test/syslog/test_syslog_logger.rb: skip unless Syslog module isusa
available. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36634 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-05bigdecimal.c: fix format specifiernobu
* ext/bigdecimal/bigdecimal.c (BigMath_s_log): fix format specifier. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-08-05io.c: suppress unused variable warningsnobu
* io.c (pipe_open): suppress warnings agains variable which are used when spawnv is available but fork is not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36632 b2dd03c8-39d4-4d8f-98ff-823fe69b080e