aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* make runnablenobu2012-07-036-0/+77
| | | | | | | * common.mk (runnable): make symbolic links to run in build directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Undef on_parallel_worker? before redefine.naruse2012-07-031-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix tests for previous commit.naruse2012-07-031-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): warn if -K option is specified. [Feature #5206]naruse2012-07-032-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: Restored the comment explaining the choice ofdrbrain2012-07-021-0/+1
| | | | | | | buffer expansion size. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (Init_Object): Added RDoc location pointers fordrbrain2012-07-022-4/+10
| | | | | | | | Kernel#methods, Kernel#protected_methods, Kernel#private_methods and Kernel#public_methods. [Bug #6666] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36272 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-03svn2012-07-021-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (zstream_run): Process zlib streams without GVL.drbrain2012-07-023-38/+122
| | | | | | | | [Feature #6615] * NEWS: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_aref): add explanation for why Thread#[] andakr2012-07-022-0/+39
| | | | | | | | | Thread#[]= are fiber-local and not thread-local. reported by Julien A. [ruby-core:41606] [ruby-trunk - Bug #5750] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (timew_out_of_timet_range): specialization forakr2012-07-022-0/+18
| | | | | | | | SIZEOF_TIME_T == SIZEOF_INT64_T. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rp_class rb_ancestorsnobu2012-07-021-9/+27
| | | | | | | | * .gdbinit (rp_class): Print the content of a Class/Module. * .gdbinit (rb_ancestors): Print ancestors. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* prepend: fix mixing with includenobu2012-07-024-55/+68
| | | | | | | | | | | | * class.c (rb_include_module): include modules after the origin. * class.c (include_modules_at): skip prepended modules. * class.c (rb_prepend_module): now basic.klass in ICLASS refers the old original class/module. [ruby-dev:45868][Bug #6662] * class.c (rb_mod_ancestors): ditto. * vm_method.c (search_method): search method entry from the origin iclass. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36266 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c: [ruby-core:46058].tadf2012-07-013-2/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36265 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/date/date_core.c (d_lite_marshal_load): accepts old dump.tadf2012-07-013-5/+63
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-02svn2012-07-011-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * README.EXT.ja: fixed args, same as r35977. [Bug #6597]ayumin2012-07-012-3/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36262 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c: cosmetic changes.ktsj2012-07-011-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36261 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-07-01svn2012-07-011-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * KNOWNBUGS.rb: add tests. [ruby-dev:45656] [Bug #6460]ktsj2012-07-011-0/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * KNOWNBUGS.rb: Bug #2330 was fixed in r26718.ktsj2012-07-011-11/+0
| | | | | | [ruby-dev:40234] [ruby-core:27959] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-06-30svn2012-06-301-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36257 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix a typokazu2012-06-301-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36256 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Use Syck module after it is defined.naruse2012-06-291-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* rb_builtin_type_namenobu2012-06-292-14/+20
| | | | | | | * error.c (rb_builtin_type_name): extract from rb_check_type() for debug purpose. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36249 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-06-29svn2012-06-281-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/parallel.rb: workaround fix for rubygems.naruse2012-06-282-0/+10
| | | | | | | RubyGems can't find rake if the source directory is not equal to the directory which is running the test. [Bug #6604] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole.rb (test_s_codepage_changed):luislavena2012-06-282-4/+10
| | | | | | | FileSystemObject only supports ANSI or UTF-16LE encoding. Patch by bosko (Bosko Ivanisevic) [ruby-trunk - Bug #6650] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update doc.akr2012-06-281-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (class_instance_method_list): consider prepended Class/Modulenagachika2012-06-283-2/+22
| | | | | | | | | when recur != 0. [ruby-dev:45863] [Bug #6660] * test/ruby/test_module.rb (test_prepend_instance_methods_false): add a test for it. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-06-28svn2012-06-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* prepend: fix ancestors ordernobu2012-06-273-5/+49
| | | | | | | * class.c (rb_mod_ancestors): fix ancestors order. [ruby-core:45919][Bug #6658] [ruby-dev:45861][Bug #6659] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36241 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NotImplementError is not exist.kazu2012-06-273-5/+7
| | | | | | | * lib/racc/parser.rb: NotImplementError is not exist. * lib/irb/output-method.rb (IRB::OutputMethod#print): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* remove from original m_tblnobu2012-06-272-0/+10
| | | | | | | * vm_method.c (remove_method): remove the method from the original m_tbl on a prepended module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36239 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix null m_tblnobu2012-06-272-2/+10
| | | | | | | * class.c (rb_obj_singleton_methods): m_tbl in prepended class/module is NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* ancestor modulesnobu2012-06-273-6/+36
| | | | | | | * class.c (rb_prepend_module): ancestors of prepending module also should be included. [ruby-core:45914][Bug #6654] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix null m_tblnobu2012-06-273-1/+11
| | | | | | | * class.c (class_instance_method_list): m_tbl in prepended class/module is NULL. [ruby-core:45915][Bug #6655] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix null m_tblnobu2012-06-271-1/+3
| | | | | | | * ext/objspace/objspace.c (memsize_of): m_tbl in prepended class/module is NULL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Module#prependnobu2012-06-279-2/+148
| | | | | | | * class.c (rb_prepend_module): prepend module into another module. * eval.c (rb_mod_prepend): new method Module#prepend. [Feature #1102] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* name of klassnobu2012-06-271-1/+1
| | | | | | * vm_method.c (rb_method_entry_make): use name of klass explicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* adjust style.nobu2012-06-274-22/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36232 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NOEX_NOREDEFnobu2012-06-271-2/+6
| | | | | | | * vm_method.c (rb_method_entry_make): use NOEX_NOREDEF itself for the condition. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-06-27svn2012-06-271-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* popen: shell commands with envvars and execoptsnobu2012-06-275-33/+152
| | | | | | | | | | | | | * io.c (is_popen_fork): check if fork and raise NotImplementedError if unavailable. * io.c (rb_io_s_popen): allow environment variables hash and exec options as flat parameters, not in an array arguments. [Feature#6651] [EXPERIMENTAL] * process.c (rb_execarg_extract_options): extract exec options, but no exceptions on non-exec options and returns them as a Hash. * process.c (rb_execarg_setenv): set environment variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36229 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: scan ARGVnobu2012-06-261-6/+8
| | | | | | * sample/test.rb: scan ARGV all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (register_cached_thread_and_wait):ko12012-06-262-2/+16
| | | | | | | | | | return immediately if malloc() failed. [ruby-core:43960] [ruby-trunk - Bug #6235] * thread_pthread.c (USE_THREAD_CACHE): check already defined or not. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test: reduce output if succedednobu2012-06-262-3/+10
| | | | | | | * bootstraptest/runner.rb (exec_test): reduce output if succeded. * sample/test.rb (PROGRESS.finish): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use rb_check_hash_typenobu2012-06-264-6/+6
| | | | | | | | | * class.c (rb_scan_args): use rb_check_hash_type. * process.c (rb_exec_getargs): ditto. * sprintf.c (get_hash): ditto. * string.c (rb_str_sub_bang, str_gsub): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2012-06-26svn2012-06-261-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r36213 "popen: shell commands with envvar"nobu2012-06-263-63/+43
| | | | | | | * io.c (rb_io_s_popen): revert r36213 "popen: shell commands with envvar" because it disabled to let single command bypass shell. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add tests for IO#seek.akr2012-06-251-1/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e