summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2014-05-02parse.y: fix wrong static symbolnobu
* parse.y (next_id): no reason to set ID_STATIC_SYM here, as ID returned by rb_intern3 can be a dynamic symbol and the static symbol flag is set otherwise. [Bug #9787] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02* lib/net/imap.rb: Proofreading docs. [ruby-core:61931][Bug #9720]hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02* lib/rinda/tuplespace.rb: fix document. [ruby-core:62003][Bug #9738]hsbt
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02mkmf.rb: no messages unless needednobu
* lib/mkmf.rb (create_makefile): no library scripts to install, no installing messages. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02parse.y: hide anonymous idnobu
* parse.y (rb_id_attrset): should not reveal anonymous ID as an instance variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02test_io.rb: defer f_typenobu
* test/ruby/test_io.rb (test_seek, test_seek_symwhence): defer File::Statfs#type call which may not be implemented, to mitigate errors on platforms where SEEK_DATA is available but f_type in struct statfs is not. [ruby-dev:48154] [Bug #9789] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02parse.y: turn dynamically interned Symbol into an IDnobu
* parse.y (rb_id_attrset): turn dynamically interned Symbol into an ID, since rb_str_dynamic_intern returns a Symbol but not an ID. [ruby-core:62226] [Bug #9787] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45782 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02* 2014-05-02svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02symbol/type.c: bug_pindownnobu
* ext/-test-/symbol/type.c (bug_pindown): method for debug, which pins down the given symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-02symbol/type.c: bug_static_p bug_dynamic_pnobu
* ext/-test-/symbol/type.c (bug_static_p, bug_dynamic_p): methods for debug, which predicate the given symbol type. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-01parse.y: abort at inappropriate symbolnobu
* parse.y (must_be_dynamic_symbol): abort if inappropriate symbol is given, which should never happen. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-01fix typoskazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-01add indentkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-01* file.c: Change AND condition to nested condition.kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-05-01parse.y: show symbol namenobu
* parse.y (must_be_dynamic_symbol): show the name if it is a static symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45771 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30win32.c: add linkagenobu
* win32/win32.c (ustatfs): need a linkage to get rid of conflict. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30win32.c: declare for old VCnobu
* win32/win32.c (ustatfs): declare GetVolumePathNameW for old VC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30* file.c (FSTATFS): check availability of struct statfs andngoto
struct statvfs in addition to fstatfs(2) and fstatvfs(2). This fixes error in Solaris. [Bug #9788] [ruby-dev:48145] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30parse.y: show name as possiblenobu
* parse.y (rb_id_attrset): show the name of broken ID if it is still registered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30parse.y: raise with numeric ID typenobu
* parse.y (rb_id_attrset): all valid ID types are handled properly, raise with numeric ID type which may be broken for GCed static symbol. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45766 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30* 2014-05-01svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45765 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30parse.y: use rb_id2strnobu
* parse.y (rb_id_attrset): use rb_id2str to get rid of method call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30test_inadvertent_creation.rb: use Symbol.findnobu
* ext/-test-/symbol/intern.c: Symbol.find is available now. * test/-ext-/symbol/test_inadvertent_creation.rb (noninterned_name): use Symbol.find instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45763 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30parse.y: use rb_str_ellipsizenobu
* parse.y (next_id): use rb_str_ellipsize to preserve encoding and get rid of incomplete multibyte sequence. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45761 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30* gc.c (gc_after_sweep): suppress unnecessary expanding heap.nari
Tomb heap pages are freed pages here, so expanding heap is not required. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30* remove trailing spaces.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45759 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30* vm.c (invoke_block_from_c): add VM_FRAME_FLAG_BMETHOD to recordko1
it is bmethod frame. * vm.c (vm_exec): invoke RUBY_EVENT_RETURN event if rollbacked frame is VM_FRAME_FLAG_BMETHOD. [Bug #9759] * test/ruby/test_settracefunc.rb: add a test for TracePoint/set_trace_func. * vm_core.h: renmae rb_thread_t::passed_me to rb_thread_t::passed_bmethod_me to clarify the usage. * vm_insnhelper.c (vm_call_bmethod_body): use renamed member. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30* 2014-04-30svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-30parse.y: pin down dynamic symbol onlynobu
* parse.y (rb_id_attrset): pin down dynamic symbol only. it is possibe that attrset ID can be registered as a static symbol after the corresponding attrget ID has been registered as a dynamic, and then the latter may be collected. [ruby-core:62226] [Bug #9787] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-29fix style of ChangeLogkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-29* (lib/tmpdir.rb): Rescue LoadError on etc.so for miniruby.akr
Revert r45707, r45711, r45717. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45744 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-29* lib/fileutils.rb: Don't need to define fu_get_gid and fu_get_gid inakr
rescue LoadError on 'etc'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45743 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-29* test/ruby/test_symbol.rb (TestSymbol#test_symbol_gc_1): fix typo.ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-29* parse.y (symbols_i): like r45492, call rb_gc_resurrect().ktsj
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45741 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28new macros for statfs_tkazu
* file.c (HAVE_STRUCT_STATFS_T_F_FSTYPENAME): Add new macro for statfs_t. * file.c (HAVE_STRUCT_STATFS_T_F_TYPE): ditto. * file.c (rb_io_statfs): check FSTATFS macro only instead of HAVE_FSTATFS and HAVE_FSTATVFS. * file.c (statfs_type): use new macro. * file.c (statfs_fstypename): ditto. * file.c (statfs_inspect): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28fix preprocessor conditionkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28* 2014-04-29svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45738 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28fix typo [Fix GH-603]nobu
* bootstraptest/test_literal.rb: fix typo of "dynamic". [ci skip] * regexp.rdoc: fix typo of "organized". [ci skip] * lib/session.rb: fix typo of "recognized". [ci skip] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45737 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28file.c: fix typonobu
* file.c (FSTATFS): fix typo and commit miss. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28file.c: fix errors on Windowsnobu
* file.c (rb_io_statfs, rb_statfs_init, statfs_inspect): fix compilation errors on Windows. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28* configure.in (HAVE_STRUCT_STATFS_F_TYPE): check struct statfs.f_typenaruse
to support OpenBSD. * file.c (statfs_type): use above macro to switch. * file.c (statfs_inspect): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28* configure.in: check struct statvfs and struct statvfs.f_fstypename.naruse
* configure.in: on NetBSD fstatfs is obsoleted. * file.c: support NetBSD for File::Statfs. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28* 2014-04-28svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45732 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28* gc.c: This argument must be a pointer.nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-28* gc.c: Fix typos. These are undefined variables.nari
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-27trivial changetadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45729 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-27 * ext/date/date_strptime.c (date__strptime_internal): do not overwrite century.tadf
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-27* 2014-04-27svn
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-27fix indentkazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45726 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2014-04-26* test/ruby/test_enum.rb (test_flat_map): Added test for flat_map.hsbt
Contribute from @igaiga. [fix GH-598] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@45725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e