summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * test/ruby/test_module.rb (test_ancestors, test_included_modules):mame2009-07-302-6/+17
| | | | | | | ignore rake mixins. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-31svn2009-07-301-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24330 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_cfunc): let set_trace_func use called_idmame2009-07-302-1/+6
| | | | | | | instead of original_id. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb (Gem.path): uses Gem.default_path as a default valueyugui2009-07-302-1/+18
| | | | | | | | so that ruby finds gems in ~/.gem/. (Gem.user_home): reduced version of lib/rubygems.rb's. Gem.default_path needs it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/compile_prelude.rb: replaces "require" with in-place evaluationyugui2009-07-304-107/+34
| | | | | | | | | | | so that copy & paste for lib/rubygems/default.rb is not necessary. * gem_prelude.rb: removes copied codes from lib/rubygems/defaults.rb. uses require instead. * common.mk (prelude.c): adds dependency for lib/rubygems/defaults.rb. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_rand.rb: add tests for Random class.mame2009-07-302-0/+194
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24326 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (init_genrand): ensure invariant of mt->next and mt->left.mame2009-07-302-1/+7
| | | | | | | | mt->next should always equal mt->state + N + 1 - mt->left. In fact, 'r = Random.new(0); r == r.dup' has returned false. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24325 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_bytes): use NUM2LONG instead of FIX2LONG becausemame2009-07-302-1/+6
| | | | | | | Random#bytes may receive bignum. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24324 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (iseq_compile_each): fix stack consistency error.mame2009-07-303-6/+19
| | | | | | | | | [ruby-core:24611] * bootstraptest/test_method.rb: add tests for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c: added check for frozen string for encode! (see Bug #1836)duerst2009-07-303-0/+12
| | | | | | | * test/ruby/test_transcode.rb: added tests for the above git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (defineclass): preserve encoding of class/modulenobu2009-07-306-2/+43
| | | | | | | | | | names. [ruby-core:24600] * variable.c (rb_set_class_path_string): set class path with a string value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_class_path): fixed a variable.nobu2009-07-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24320 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add a test.xibbar2009-07-301-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (Init_var_tables): initializes __classid__ ID.nobu2009-07-302-7/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c: use st_data_t for st functions.nobu2009-07-302-69/+80
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24317 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/cgi/test_cgi_util.rb: properties.nobu2009-07-300-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-30svn2009-07-301-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb (CGI::unescape): support encoding option.xibbar2009-07-306-16/+57
| | | | | | | * lib/cgi/cookie.rb (CGI::Cookie.parse): fix for the encoded value. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24314 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (regexp): regexp literal at the top of dstr is still needed even ↵naruse2009-07-282-1/+6
| | | | | | if it is empty. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24311 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/json/lib/json/common.rb (JSON#recurse_proc): removematz2009-07-282-1/+5
| | | | | | unnecessary private specifier. [ruby-dev:38929] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h, vm_insnhelper.c (vm_call_method): reviveko12009-07-283-4/+8
| | | | | | | | VM_CALL_OPT_SEND_BIT and use it to recognize "send" method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-29svn2009-07-281-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_method_entry_arity): support not_implemented method.ko12009-07-282-2/+9
| | | | | | | | (I have no idea to test it) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * proc.c (rb_method_entry_arity): support optimized method (send).ko12009-07-283-0/+18
| | | | | | | | * test/ruby/test_method.rb: add a test for above. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24306 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_eof): should call next_argv() before testing.matz2009-07-282-0/+6
| | | | | | [ruby-core:24561] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24305 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typoskazu2009-07-281-12/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24304 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-28svn2009-07-271-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/extconf.rb: bug fix and ignore invalid Tcl/Tk libraries.nagai2009-07-274-170/+327
| | | | | | | | * ext/tk/lib/config_list.in: bug fix and add a new option. * ext/tk/lib/README.tcltklib: update for a new option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_*str_new_cstr, rb_str_buf_new_cstr),nobu2009-07-272-10/+15
| | | | | | | (rb_str_buf_cat2, rb_str_cat2, rb_exc_new2): suppress warnings. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24298 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rdoc/parser.rb (RDoc::Parser.binary?): fix for empty files.nobu2009-07-273-5/+12
| | | | | | | [ruby-dev:38848] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24297 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: forgotten ML ref, [ruby-core:24561].nobu2009-07-272-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24296 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_eof): go to the next file if called after ARGF.closenobu2009-07-263-0/+18
| | | | | | | or ARGF.skip. [ruby-core:24561] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: removed extra spaces.nobu2009-07-261-28/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): __send__ can call protectednobu2009-07-263-2/+29
| | | | | | | methods. [ruby-core:24500] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): fixed indent.nobu2009-07-261-37/+36
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match ↵azav2009-07-251-1/+1
| | | | | | | | changes in bignum.c and array.c. * ext/bigdecimal.c: moved BASE_FIG definition before it is used first time. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match ↵azav2009-07-251-0/+8
| | | | | | | | changes in bignum.c and array.c. * ext/bigdecimal.c: moved BASE_FIG definition before it is used first time. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h [__SYMBIAN32__]: defined TRUE and FALSE to match ↵azav2009-07-251-0/+5
| | | | | | changes in bignum.c and array.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24276 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-26svn2009-07-251-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/bigdecimal.c: moved BASE_FIG definition before it is used first time.azav2009-07-251-18/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24274 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_eof): should not have reached EOF before trying tonobu2009-07-253-5/+11
| | | | | | | | read. based on a patch by Heesob Park <phasis AT gmail.com> at [ruby-core:24559]. [ruby-core:24557] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_hash), rational.c (nurat_hash): not to usenobu2009-07-255-8/+19
| | | | | | | | hash value of class so that equality against subclasses can work. [ruby-dev:38850] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/big5.c: not executable.nobu2009-07-251-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-25svn2009-07-241-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24268 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/big5.c: Fix EncLen_BIG5 for Big5-HKSCS. see [ruby-core:24390]naruse2009-07-242-18/+39
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24267 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/big5.trans, big5-hkscs-tbl.rb:duerst2009-07-246-1/+18474
| | | | | | | | | | | | | | | | new Chinese BIG5-HKSCS transcoding (with Tatsuya Mizuno) * test/ruby/test_transcode.rb: added tests for the above (with Tatsuya Mizuno) * enc/big5.c: Added BIG5-HKSCS as a replicate encoding of BIG5 (short term solution, needs more work; with Tatsuya Mizuno) * tool/transcode-tblgen.rb: made 'pat' directly accessible in class StrSet git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24264 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (idle): leaves IDLE in a ensure clause. a patchshugo2009-07-243-10/+116
| | | | | | | | | from Eric Hodel. * test/net/imap/test_imap.rb (setup, teardown): turn on Socket.do_not_reverse_lookup in tests. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-07-24svn2009-07-231-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24260 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (resp_text_code): accepts response codes withoutshugo2009-07-233-5/+130
| | | | | | | | | | | text. [ruby-core:24194] * lib/net/imap.rb (idle, idle_done): new methods for the IMAP4 IDLE command (RFC 2177). Thanks, Eric Hodel. * lib/net/imap.rb (format_date, format_datetime): new method to format IMAP-style date/datetime. Thanks, Eric Hodel. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24259 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb: make irb be able to parsekeiju2009-07-232-1/+44
| | | | | | | | string_dvar. [ruby-core: 24051] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e