summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2012-11-03Revert r37439 and r37441kou
r37439: * lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encoding module because XMLDecl doesn't convert encoding. This causes removing XML encoding name normalization (encoding.upcase). Encoding name in XML declaration is what user specifies. I think this is reasonable change. * test/rexml/test_xml_declaration.rb: Add tests for the above change. r37441: * test/rexml/test_core.rb (Tester#test_ticket_88): Follow the change that encoding name in XML declaration isn't normalized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* io.c (IO#new):zzak
Documentation for IO#open modes and formatting [ruby-core#48052] [Bug #7179] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* test/rexml/test_encoding.rb (EncodingTester#test_in_different_out):kou
Fix a test that expects encoding in XML declaration is changed by Output's encoding. It is dropped feature. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* test/rexml/test_core.rb (Tester#test_ticket_88): Follow thekou
change that encoding name in XML declaration isn't normalized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* lib/rexml/document.rb (REXML::Document#write): Document encodingkou
option. Now different encoding between XML file's encoding and XML declaration's encodiong is support. [Feature #4872] (work in progress) * lib/rexml/xmldecl.rb (REXML::XMLDecl#write): Always use XMLDecl's encoding. * test/rexml/test_document.rb: Update tests for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* lib/rexml/xmldecl.rb (REXML::XMLDecl): Stop using REXML::Encodingkou
module because XMLDecl doesn't convert encoding. This causes removing XML encoding name normalization (encoding.upcase). Encoding name in XML declaration is what user specifies. I think this is reasonable change. * test/rexml/test_xml_declaration.rb: Add tests for the above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* array.c (recursive_equal): fix not to make invalid pointers whenglass
self and other are resized to same size in #== of their elements. [ruby-dev:46373] [Feature #6177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* test/rexml/test_xml_declaration.rb (TestXmlDeclaration#test_*):kou
Remove needless prefix from test names. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* test/rexml/test_xml_declaration_parent_child.rb: Rename to ...kou
* test/rexml/test_xml_declaration.rb: ... this. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* hash.c (rb_hash_delete): Correct grammarzzak
Patch by Glenn Oppegard [Fixes #208 Github] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* NEWS: add a news about GC::Profiler.raw_data.nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* NEWS: add a news about rb_newobj_of() and NEWOBJ_OF().nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* eval.c (f_current_dirname): add the new method for Kernel.nari
This method almotst same as File.dirname(__FILE__). One different behavior is it returns nil when __FILE__ returns nil. [Feature #3346] * NEWS: ditto * test/ruby/test_method.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-03* test/ruby/test_refinement.rb (test_new_method_by_send,shugo
test_new_method_by_method_object): add tests for Kernel#send and Kernel#method with refinements. * test/ruby/test_refinement.rb (test_symbol_to_proc): add a test calling a proc created by Symbol#to_proc outside the scope where a refinement is closed over. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02vm.c: rewrite all catch pointsnobu
* vm.c (rb_vm_rewrite_ep_in_errinfo): rewrite all catch points in errinfo, not only the topmost frame. based on the patch by ktsj (Kazuki Tsujimoto) in [ruby-dev:45656]. [Bug #6460] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02* ChangeLog: add explanation about how performace is improved in r37420.glass
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02mkmf.rb: timestamp_filenobu
* lib/mkmf.rb (MakeMakefile#timestamp_file): remove @ which looks like configure variables. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02mkmf.rb: timestamp_filenobu
* lib/mkmf.rb (MakeMakefile#timestamp_file): use .-. instead of !, a special character of NMAKE and BSD make. [Bug #7265] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02* lib/test/unit.rb (_run_parallel): Delete status line before showingsorah
results. Patch by Hiroshi Shirosaki. [Bug #6897] [ruby-core:47250] * lib/test/unit.rb (_run_parallel): Fix strange result when disabled retrying. Patch by Hiroshi Shirosaki. [Bug #6897] [ruby-core:47250] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02* object.c (rb_mod_to_s): Module#{to_s,inspect}, when invoked onshugo
a refinement, returns a string in the format #<refinement:C@M>, where C is a refined class and M is a module at which the refinemet is defined. * eval.c (rb_mod_refine): store information on a refinement for the above change. * test/ruby/test_refinement.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02* vm_dump.c (rb_vm_bugreport): Because of many log directories,sorah
making directory lists readable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02* vm_dump.c (rb_vm_bugreport): add ~/Library/Logs/DiagnosticReportsmrkn
in the locations list of crash reports. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02* ChangeLog: added a missed spaceglass
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02* array.c (recursive_equal): performance improvement.glass
[ruby-dev:45412] [Feature #6177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-02* string.c (sym_to_proc, sym_call): A Proc created by Symbol#to_procshugo
should close over the current refinements. [ruby-dev:46345] [Bug #7261] * vm_eval.c (rb_call0, rb_search_method_entry, rb_funcall_passing_block_with_refinements): add a new argument `refinements' for the above changes. * test/ruby/test_refinement.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01proc.c: main.define_methodnobu
* proc.c (top_define_method): new method, main.define_method. [ruby-core:45715] [Feature #6609] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01eval.c: fix messagenobu
* eval.c (top_include): fix a warning message, main is not a class or module. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01mkmf.rb: timestamp_filenobu
* lib/mkmf.rb (MakeMakefile#timestamp_file): use ! instead of %, a GNU make special character. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01test_process.rb: use never existing filenobu
* test/ruby/test_process.rb (test_execopts_preserve_env_on_exec_failure): use never existing file in the current temporary directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* tool/merger.rb: add feature to tag preview/rc.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01lib/mkmf.rb: fix for if config["libdir"] is nil.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* tool/make-snapshot: fix wrong regexp for releasing preview.naruse
patched by mame. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* NEWS: add a news about objspace,ko1
ObjectSpace.reachable_objects_from. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* ext/bigdecimal/bigdecimal.c (BigDecimal_new),mrkn
test/bigdecimal/test_bigdecimal.rb: Fix exception message of BigDecimal constructor with a Float. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* ext/bigdecimal/bigdecimal.c (BigDecimal_add),mrkn
test/bigdecimal/test_bigdecimal.rb: need to specify precision for converting Rational and Float. [ruby-core:48045] [Bug #7176] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* test/ruby/test_process.rb: Revert r37404. My ubuntu box hasmame
actually the directory named "/nonexistent"... Sorry. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* test/ruby/test_process.rb: Process.exec raised EACCES on Linuxmame
3.5.0-17-generic. This is a temporal fix to rescue that exception. Needs kosaki's review. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01iseq.c: fix r37397nobu
* iseq.c (set_relation): parent_iseq need to be set regardless iseq type. fix r37397. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01thread_pthread.c: RUBY_STACK_MINnobu
* thread_pthread.c (RUBY_STACK_MIN): may not a compile time constant. fix r37079. [ruby-dev:46322] [Bug #7247] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* NEWS: add note for Module#refine, Module#refinements,shugo
Module#using, and Kernel#using. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* ChangeLog: fix indentation.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-11-01* eval.c (rb_using_module): using should be used indirectly.shugo
[ruby-dev:46326] [Feature #7251] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-31* gc.c (gc_profile_record): don't define unused variables whennari
GC_PROFILE_MORE_DETAIL is 0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-31* gc.c (gc_prof_mark_timer_stop): count is not initialized.nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-31* thread.c (rb_thread_call_without_gvl2): Note that ubf() may or maydrbrain
not be called with the GVL. Hinted that rb_thread_call_with_gvl() can be used to access ruby functionality. [ruby-trunk - #6433] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-31* thread.c (rb_thread_call_without_gvl2): Update documentation todrbrain
natural English. * thread.c (rb_thread_call_with_gvl): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-30* ext/dl/lib/dl/struct.rb: fix strange require order. [ruby-dev:45702]tenderlove
* ext/dl/lib/dl/value.rb: ditto * test/dl/test_c_struct_entry.rb: remove strange require order from tests. * test/dl/test_c_union_entity.rb: ditto git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-30* eval.c (rb_mod_refine): fix the error message when no block isshugo
given. [ruby-dev:46319] [Bug #7244] * test/ruby/test_refinement.rb: related test. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2012-10-30fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e