summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-04* eval.c (rb_f_send): allow send/__send__ to call methods of allmatz
visibility again. we no longer provide __send, __send!. * eval.c (rb_invoke_method): new method to honor private visibility. if it's invoked in a function call style, it calls private methods as well (previous 1.9 send behavior). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13824 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04* lib/optparse.rb (OptionParser::Switch::summarize): fix for long formnobu
option with very long argument. a patch from Kobayashi Noritada <nori1 AT dolphin.c.u-tokyo.ac.jp> in [ruby-list:44179]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04* parse.y (call_args): remove "parenthesize argument(s) for futurematz
version" warning. when I added this warning, I had a plan to reimplement the parser that is simpler than the current one. since we abandoned the plan, warning no longer required. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13821 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04* lib/net/http.rb (HTTPHeader#initialize): provide default User-Agent to fix ↵aamine
500 error on some corrupted HTTP servers. [ruby-core:13135] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04 * win32/Makefile.sub: vendor_ruby support.usa
* configure.in (RUBY_LIB): duplicated. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04* re.c (rb_reg_quote): quote \v as well.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13818 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04* re.c (rb_reg_initialize_m): use StringValuePtr instead ofakr
StringValueCStr because \0 exists when Regexp.new("\0"). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04 Fixes ticket:110 (more UTF-16 problems)ser
Missing include for UndefinedNamespaceException was causing errors in some cases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-04add test for Regexp.new("\0").akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-03* gc.c (count_objects): count TOTAL.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-03* string.c (tr_setup_table): use C array for characters that fitmatz
in a byte to gain performance. * string.c (rb_str_delete_bang): ditto. * string.c (rb_str_squeeze_bang): ditto. * string.c (rb_str_count): ditto. * string.c (tr_trans): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-03add ML ref.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-03* gc.c (count_objects): ObjectSpace.count_objects implemented.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13810 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-03* hash.c (rb_hash_each_pair): make Hash#each to be alias tomatz
Hash#each_pair for compatibility and clarity. * hash.c (env_each_pair): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-03* README.EXT: explain --vendor option for extconf.rbakr
* README.EXT.ja: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-03* configure.in: --with-vendor-hdrdir implemented.akr
* lib/mkmf.rb: check --vendor argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-03* configure.in: --with-vendordir implemented.akr
* mkconfig.rb: add config to vendorlibdir and vendorarchdir. * instruby.rb: make vendor library directories. * ruby.c: insert vendor library directories into load path. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-02* lib/rss/content.rb, lib/rss/content/, lib/rss/maker/content.rb,kou
test/rss/test_content.rb, test/rss/test_maker_content.rb, test/rss/rss-testcase.rb (RSS::TestCase): supported content:encoded with RSS 2.0. Suggested by Sam Lown. Thanks. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-02* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.0 -> 0.2.1.kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13804 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-02* error.c (Init_Exception): make NameError to be subclass ofmatz
StandardError again. * error.c (Init_Exception): make SecurityError to be subclass of Exception, since it's too important to be handled implicitly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-11-01* enum.c (take_while_i, drop_while_i) add RTEST to handle nil returndavidflanagan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-31 * common.mk (prereq): update the path of prelude.c.usa
* common.mk (prelude.c): rollback a part of r13675, because it is not documented and causes build error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13799 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-31 * enum.c (enum_drop): fix typo.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-31 * vm_core.h (ruby_current_thread): RUBY_EXTERN'ed for probeprofiler.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13797 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-31 * win32/setup.mak: commit miss.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13796 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-31 * win32/configure.bat, setup.mak: now can recognize OS even ifusa
the ``--target'' option of configure is omitted. * win32/README.win32: update the descriptions about compiler. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-30* enum.c (enum_take_while): separate with-block form.matz
* enum.c (drop_while_i): ditto. * enum.c (enum_butfirst): abandon butfirst method. reverted. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-30* enum.c (enum_butfirst): add a new method to iterates overmatz
elements but first n. RDoc need to be updated. * enumerator.c (Init_Enumerator): remove unnecessary symbol initialization. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-29* parse.y (bvar): block-local variable can shadow outer variable.nobu
[ruby-core:13036] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13792 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-29* string.c (rb_str_substr): perfomance improvement. [ruby-dev:31806]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13791 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-29* encoding.c (rb_enc_replicate): new function to replicate encoding.nobu
* encoding.c (enc_based_encoding): Encoding#base_encoding returns based encoding of replica. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13790 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-29* encoding.c (rb_enc_compatible): ASCII encoding is compatible withnobu
ASCII-compatible encoding, even for non-string objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-28* lib/open-uri.rb: :redirect option implemented to disable redirects.akr
(OpenURI::HTTPRedirect): new exception class for redirection. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13788 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-26* numeric.c (int_chr): take an optional encoding parameter.nobu
[ruby-core:12816] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13787 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-26* numeric.c (fix_pow): returns 1.0 for 0**0.0.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13786 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-26* numeric.c (fix_pow): returns infinity for 0**-1. [ruby-dev:32084]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-26* misc/ruby-style.el (ruby-style-{case,label}-indent): adjust fornobu
labels inside switch block. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-26array.c: raise IndexError for negative length in rb_ary_filldavidflanagan
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* lib/net/telnet.rb (Net::Telnet#login): Allowing "passphrase" injeg2
addition to "password" for Telnet login prompts. [ruby-Bugs-10746] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* lib/net/telnet.rb (Net::Telnet#login): Making the password promptjeg2
pattern case insensitive. [ruby-Bugs-10746] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13779 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* lib/net/pop.rb (Net::POP3::do_start): type fixed. a patch frommatz
Dan Zwell <dzwell AT zwell.net> in [ruby-core:12941]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* parse.y (parser_yylex): dot at the head of the line denote linematz
continuation from previous one to support fluent interface. [experimental] * misc/ruby-mode.el (ruby-calculate-indent): support fluent dot. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13777 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* hash.c (rb_hash_s_create): check and convert argument hashmatz
using #to_hash. * hash.c (rb_hash_s_create): Hash#[] now takes assocs as source of hash conversion. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* array.c (rb_ary_assoc): check and convert inner arrays (assocs)matz
using #to_ary. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* io.c (rb_io_tell, rb_io_seek): check errno too. [ruby-dev:32093]nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* parse.y (parser_tokspace): increment tokidxdavidflanagan
fixes test failure at [test/ruby/test_stringchar.rb:72] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-25* lib/uri.rb, lib/uri/ldaps.rb: added LDAPSakira
cheme. [ruby-dev:31896] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24* lib/xmlrpc/parser.rb (XMLRPC::Convert::dateTime): Fixing a bug thatjeg2
caused time zone conversion to fail for some ISO 8601 date formats. [ruby-Bugs-12677] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13770 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Explicitly startjeg2
the HTTP connection to support keepalive requests. [ruby-Bugs-9353] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-10-24* lib/xmlrpc/client.rb (XMLRPC::Client#do_rpc): Improving the errorjeg2
message for Content-Type check failures. [ruby-core:12163] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13768 b2dd03c8-39d4-4d8f-98ff-823fe69b080e