summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * spec/default.mspec: follows runruby.rb's move at r23542.yugui2009-05-222-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add Time#to_r.mame2009-05-222-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* update rdoc.akr2009-05-221-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * config.guess: moved into tool/.yugui2009-05-226-3/+16
| | | | | | | | | | | | * config.sub: ditto. * install-sh: ditto * configure.in: follows the moves. * LEGAL: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * instruby.rb: moved into tool/.yugui2009-05-228-10/+26
| | | | | | | | | | | | | | | | * mkconfig.rb: ditto. * rubytest.rb: ditto. * runruby.rb: ditto. * common.mk: follows the moves. * configure.in: ditto. * win32/Makefile.sub: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_slice_bang): avoid call of rb_scan_args() unlessmatz2009-05-212-3/+14
| | | | | | it's really necessary. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-22svn2009-05-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_count): optimized for 1byte string count bymatz2009-05-212-6/+23
| | | | | | avoiding tr_setup_table(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * template/id.h.tmpl, id.h (enum ruby_method_ids): added some IDs.nobu2009-05-215-117/+210
| | | | | | | | | * debug.c (dummy_gdb_enums): added enum ruby_method_ids. * .gdbinit (rp): improved output of Symbol. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* .gdbinit (rp): missing "else" after T_NODE block.nobu2009-05-211-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing/vsnprintf.c (BSD_vfprintf): support for 'z' modifier.nobu2009-05-212-27/+60
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gem_prelude.rb (Gem.default_dir and misc.): use rubylibprefix.yugui2009-05-212-8/+9
| | | | | | follows the chagne in r23368. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (RB_EVENT_HOOKS_HAVE_CALLBACK_DATA):nobu2009-05-214-4/+27
| | | | | | | new macro for compatibility check. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (rb_long2int, RARRAY_LENINT): check long tonobu2009-05-207-21/+45
| | | | | | | | | cast to int. [ruby-dev:38508] * struct.c, vm_eval.c, vm_insnhelper.c: use RARRAY_LENINT. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* NEWS (--program-prefix and --program-suffix): describe r23368.yugui2009-05-201-0/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rb_enc_get_index: allows an arbitrary RData as the argument but notyugui2009-05-202-0/+9
| | | | | | only what points a rb_encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/.gitignore: ignores rubyspec/ and mspec/.yugui2009-05-202-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_new): get rid of too large alloca.nobu2009-05-202-5/+15
| | | | | | | * struct.c (rb_struct_hash): use long. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c, vm_insnhelper.c: argument number is restricted tonobu2009-05-203-19/+24
| | | | | | | int, and fixed overflow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (inspect_enumerator): should use long.nobu2009-05-202-2/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (zip_ary): should use long.nobu2009-05-202-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_fast_mbclen): faster mbclen for strings knownmatz2009-05-204-25/+91
| | | | | | | | | | | | | | | to be valid. * string.c (enc_strlen): coderange specified version of rb_enc_strlen(). use rb_enc_fast_mbclen() if coderange is 7bit or valid. * string.c (str_gsub): use rb_enc_fast_mbclen(). * string.c (rb_str_reverse, rb_str_split_m, rb_str_each_char, scan_once): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb (Tempfile#unlink): close first for Windows. amatz2009-05-202-1/+9
| | | | | | patch from Florian Frank. [ruby-core:23505] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_codepoint_len): combine rb_enc_codepoint()matz2009-05-196-46/+81
| | | | | | | | | | | | | | | | | | | and rb_enc_codelen() in one function to reduce calls. * encoding.c (rb_enc_codepoint): compatibility function. * sprintf.c (rb_str_format): use rb_enc_codepoint_len(). * string.c (rb_str_inspect, rb_str_upcase_bang, rb_str_downcase_bang, rb_str_capitalize_bang, rb_str_swapcase_bang, trnext, tr_trans, rb_str_delete_bang, rb_str_squeeze_bang, rb_str_count, rb_str_split_m, rb_str_each_line, rb_str_each_codepoint, rb_str_lstrip_bang, sym_printable): ditto. * transcode.c (make_econv_exception): use rb_enc_mbc_to_codepoint() git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-20svn2009-05-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_attr): should preserve encoding info.matz2009-05-192-1/+9
| | | | | | [ruby-dev:38498] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * time.c (time_minus): always return a Float. [ruby-dev:38446]mame2009-05-192-1/+32
| | | | | | | * time.c (time_to_r): new method. [ruby-dev:38461] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (clone_method): add cast to remove warning frommatz2009-05-192-1/+6
| | | | | | rb_gc_write_barrier(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (struct_ivar_get): new function to avoid repeatedmatz2009-05-193-10/+31
| | | | | | | | | | | | | | | rb_intern() calls. * struct.c (rb_struct_iv_get): use struct_ivar_get() * struct.c (num_members): ditto. * struct.c (rb_struct_s_members): ditto. * class.c (rb_singleton_class): cache symbol to reduce calls to rb_intern(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-19svn2009-05-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_time.rb: make tests timezone independent.akr2009-05-182-2/+7
| | | | | | | | reported by zunda. [ruby-dev:38492] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2009-05-18svn2009-05-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#sub): suppress a warning. [ruby-dev:38488]akr2009-05-182-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (SRC_EXT): should be flat.nobu2009-05-172-1/+6
| | | | | | http://twitter.com/_tad_/status/1825862632 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath_safe): VARIABLE_LIBPATH is alwaysnobu2009-05-172-1/+6
| | | | | | | defined, see its value instead. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (-version-): r23426.nobu2009-05-171-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h (nd_line): NODE_LMASK is not needed.nobu2009-05-172-2/+8
| | | | | | | * node.h (NOEX_SAFE): made int. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c: fixed types.nobu2009-05-171-14/+15
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c (rb_parse_in_eval): returns true in true eval, not innobu2009-05-173-4/+12
| | | | | | | | | main. [ruby-dev:38382] * parse.y (program): inherits dvars in eval or main. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_script): sets also VM toplevel program name.nobu2009-05-174-22/+21
| | | | | | | * ruby.c (process_options): no longer needs additional frame. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23473 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (rb_vm_get_sourceline): should not access out of bound.nobu2009-05-172-3/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23472 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (cmdline_options_init): initialize encodings.nobu2009-05-171-2/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (cmdline_options_init): initialize encodings.nobu2009-05-172-28/+41
| | | | | | | | | | | * ruby.c (add_modules, require_libraries, process_sflag): * ruby.c (process_sflag): not process twice. * ruby.c (moreswitches): get rid of possible overflow. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (foletypelib_name): should returnsuke2009-05-172-2/+8
| | | | | | | encoded name corresponding to WIN32OLE.codepage. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (ruby_init_loadpath_safe): support for cygwin 1.7. seenobu2009-05-172-5/+50
| | | | | | | | [ruby-core:23241]. gets rid of possible buffer overflow with realpath(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_arg0): get rids of overrun.nobu2009-05-163-23/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb: add nil check.kou2009-05-162-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/rss/test_maker_atom_feed.rb: suppress warnings.kou2009-05-162-3/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * NEWS: add RSS::Maker.supported?(version).kou2009-05-162-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/parser.rb, test/test_parser_1.0.rb: fix foaf:Imagekou2009-05-166-11/+49
| | | | | | | element causes parse error even if ignore_unknown_element mode. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e