summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/mkmf.rb (configuration): leaves PATH_SEPARATOR unchanged.nobu2009-01-231-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21750 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (mkintpath): new function which converts native pathnobu2009-01-231-1/+8
| | | | | | | | | | | to format acceptable in Makefile. * lib/mkmf.rb (configuration): convers srcdir, topdir and hdrdir. a patch by Alexey Borzenkov <snaury AT gmail.com> at [ruby-core:21448]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21749 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (try_func): got rid of c-mode confusion.nobu2009-01-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * signal.c (trap_handler): also accepts symbols. [ruby-dev:37823]nobu2009-01-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_makefile): removes installed files undernobu2009-01-221-0/+5
| | | | | | | extout at distclean. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/core.rb (CGI.parse): generate only key on params hashxibbar2009-01-221-0/+8
| | | | | | | if request have only key uri parameters. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21739 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rubygems/installer.rb (Gem::Installer#initialize): fixednobu2009-01-221-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | typos. * test/rubygems/test_gem.rb (test_self_dir): removed false assertions. * test/rubygems/test_gem.rb (test_self_set_paths): checks if paths are included. * test/rubygems/test_gem_commands_install_command.rb (test_execute_remote): checks diagnostic message too. * test/rubygems/test_gem_installer.rb (load): uses Gem.ruby. * test/rubygems/gemutilities.rb (Gem.ruby): initializes from the environment variable to run without installation. * test/rubygems/gemutilities.rb (RubyGemTestCase#util_build_gem): creates cache directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * revert previous revision. it's already out-of-date.usa2009-01-221-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h, win32/win32.c (rb_w32_is_valid_fd): new functionusa2009-01-221-0/+7
| | | | | | | | | | to validate fd. * io.c (rb_io_initialize): check fd with above function. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_process.rb (MANDATORY_ENVS): needs RUBYLIB to runnobu2009-01-221-0/+5
| | | | | | | tests without install. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (define_final): cannot define finalizer for immediatenobu2009-01-221-0/+7
| | | | | | | | | values. [ruby-core:21500] * gc.c (define_final): freezes or hides internal values. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_time_timeval): made a real prototype. a patch fromnobu2009-01-221-0/+5
| | | | | | | Marcus Rueckert <darix AT opensu.se> at [ruby-core:21492]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_double_capa): a new function to expand array morematz2009-01-211-0/+11
| | | | | | | | | | | | aggressively. [ruby-core:21460] * array.c (rb_ary_store): use ary_double_capa(). * array.c (rb_ary_unshift_m): ditto. * array.c (rb_ary_splice): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ungetbyte, rb_io_ungetc): allows nil to reset EOFnobu2009-01-211-0/+8
| | | | | | | | | | flag with ungetting nothing. * ruby.c (load_file_internal): rests EOF flag to make possible to load from stdin after reading data. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21718 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_ungetbyte, rb_io_ungetc): clears EOF flag.nobu2009-01-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (take_items): to_ary() raises ArgumentError if cannot tousa2009-01-211-0/+5
| | | | | | | | convert to Array. [ruby-dev:37797] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21713 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (debug_lines): calls rb_intern() once.nobu2009-01-211-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/io.h (FMODE_EOF): EOF flag on TTY.nobu2009-01-211-8/+11
| | | | | | | | | | | | | * io.c (io_set_eof): sets EOF flag for TTY. * io.c (io_seek): clears EOF flag. * io.c (io_fillbuf): returns EOF if already met EOF. [ruby-dev:37798] * io.c (io_fillbuf, io_fread, io_getpartial): sets EOF. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/io.h (typedef struct rb_io_t):nobu2009-01-211-0/+9
| | | | | | | | | | | * io.c (flush_before_seek): * io.c (io_fillbuf): * io.c (io_fread): * io.c (io_getpartial): * ruby.c (load_file_internal): git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Imported minitest 1.3.1 r4532.ryan2009-01-201-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21701 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (socket_s_list_ip_address): new method.akr2009-01-201-0/+14
| | | | | | | | | | | | | | | | | (sockaddr_obj): new function. * ext/socket/rubysocket.h: include ifaddrs.h, sys/ioctl.h, sys/sockio.h, net/if.h if available. (addrinfo_new): declared. * ext/socket/raddrinfo.c (addrinfo_new): exported. * ext/socket/extconf.rb: check ifaddrs.h, sys/ioctl.h, sys/sockio.h, net/if.h and getifaddrs. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/rubysocket.h (pseudo_AF_FTIP): moved from mkconstants.rb.akr2009-01-201-0/+6
| | | | | | | | * ext/socket/mkconstants.rb: prepend header if -H is not given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21698 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c (nkf_buf): use nkf_char.naruse2009-01-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * cont.c (ruby_Init_{Continuation_body,Fiber_as_Coroutine}): prefixednobu2009-01-201-3/+10
| | | | | | | | | with ruby_ to export. * ext/continuation/continuation.c, ext/fiber/fiber.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (miniruby): renames and then removes, to get rid ofnobu2009-01-201-0/+15
| | | | | | | | | | | | | | | | | EPERM on cygwin and mingw. * Makefile.in ($(LIBRUBY_SO)): use wildcard option of objcopy. * configure.in (DLDFLAGS): do not export all symbols. * cygwin/GNUmakefile.in (RUBYDEF): rejects symbols prefixex with Init_. * win32/mkexports.rb (Exports::Mingw): includes all symbols except for prefixed with Init_ as well as mswin32. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (hash): fixed the tail bytes handling in the alignednobu2009-01-201-0/+5
| | | | | | | access case. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c (nkf_buf_push): maybe a bug.usa2009-01-201-0/+6
| | | | | | | | * ext/nkf/nkf-utf8/nkf.c (options): no need to support help option. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (take_items), enum.c (enum_zip): tries to convert tonobu2009-01-191-0/+5
| | | | | | | array first. [ruby-core:21442] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf-utf8/nkf.c: Update nkf to 2.0.9.naruse2009-01-191-0/+5
| | | | | | revert -s meaning as Shift_JIS, etc. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (hash): fixed typo. [ruby-dev:37791]nobu2009-01-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb (SOMAXCONN): defined.akr2009-01-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/mkconstants.rb: use erb for generating code.akr2009-01-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (hash): defaulted to MurmurHash 2.0.nobu2009-01-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (RUBY_ALIAS_FUNCTION_TYPE): added.nobu2009-01-191-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/defines.h (RUBY_ALIAS_FUNCTION2): added.nobu2009-01-191-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (hash): added MurmurHash 2.0.nobu2009-01-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_execute_interrupts): needsnobu2009-01-191-0/+5
| | | | | | | rb_signal_buff_size to be declared. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21662 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (require_libraries): reset th->parse_in_eval whileko12009-01-191-0/+5
| | | | | | | | loading libraries. fixes [ruby-dev:37780] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_eval.c, eval.c (rb_f_block_given_p): move definition ofko12009-01-191-0/+11
| | | | | | | | | | | | "iterator?" and "block_given?" to make static. * vm.c (vm_get_ruby_level_caller_cfp): make it static. * eval_intern.h, vm_insnhelper.c: move decl. of vm_get_ruby_level_caller_cfp() from eval_intern.h to vm_insnhelper.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21660 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c: add a prefix "rb_" to exposed functionsko12009-01-191-0/+15
| | | | | | | | | | | | | | | | | vm_get_ruby_level_next_cfp(), rb_vm_make_env_object(), vm_stack_to_heap(), vm_make_proc(), vm_invoke_proc(), vm_get_sourceline(), vm_cref(), vm_localjump_error(), vm_make_jump_tag_but_local_jump(), vm_jump_tag_but_local_jump(). This changes may affect only core because most of renamed functions require a pointer of not-exposed struct such as rb_thread_t or NODE. In short, they are core functions. * cont.c, eval.c, eval_intern.h, load.c, proc.c, thread.c, vm_core.h, vm_dump.c, vm_eval.c, vm_exec.c, vm_insnhelper.c: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/rubysocket.h (rb_cUNIXSocket, rb_cUNIXServer),nobu2009-01-191-0/+5
| | | | | | | (unixpath, unixaddr): UNIX domain sockets depend on sys/un.h. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c: add a prefix "rb_vmdebug_" toko12009-01-191-0/+15
| | | | | | | | | | | | | | | | vm_stack_dump_raw(), vm_stack_dump_raw_current(), vm_env_dump_raw(), vm_proc_dump_raw(), vm_stack_dump_th(), vm_debug_print_register(), vm_thread_dump_regs(), vm_debug_print_pre(), vm_debug_print_post(), vm_thread_dump_state(). This change also may affect core (in fact, user of above functions may be only ko1). * vm_core.h: ditto. * vm_exec.h (SDR2): remove duplicate definition. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21657 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (addrinfo_ip_port): use AF_INET6 only whennobu2009-01-191-0/+5
| | | | | | | defined, as well as addrinfo_ipv6_p(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (garbage_collect_with_gvl): suppress warnings.ko12009-01-191-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/depend: workaround for nmake. files in depend withoutusa2009-01-191-0/+6
| | | | | | | | | paths should converted by RULE_SUBST, but mkmf.rb cannot recognize macros currently. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c:ko12009-01-191-0/+22
| | | | | | | | | | | | | | | | | | | | | | rename ruby_iseq_disasm_insn() -> rb_iseq_disasm_insn(). rename ruby_iseq_disasm() -> rb_iseq_disasm(). * compile.c: rename ruby_iseq_compile() -> rb_iseq_compile_node(). rename ruby_iseq_translate_threaded_code() -> rb_iseq_translate_threaded_code(). rename ruby_insns_name_array() -> rb_insns_name_array(). rename ruby_iseq_build_from_ary() -> rb_iseq_build_from_ary(). * iseq.c, compile.c: remove ruby_insn_make_insn_table() and make static function insn_make_insn_table(). * iseq.h, ruby.c, vm.c, vm_core.h, vm_eval.c, vm_dump.c, blockinlining.c: ditto. Rename strange "ruby_" prefix to "rb_" prefix. This changes may affect only core because renamed functions require a pointer of rb_iseq_t which is not exposed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/raddrinfo.c (addrinfo_mdump, addrinfo_mload): supportusa2009-01-191-0/+8
| | | | | | | | UNIX socket only on platforms which support it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c, vm_eval.c (rb_f_local_variables): move definition from eval.cko12009-01-191-0/+8
| | | | | | | | | | to vm_eval.c because vm_collect_local_variables_in_heap() should be static function. * vm.c (vm_collect_local_variables_in_heap): make it static. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21651 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (rb_iseq_load): renamed from ruby_iseq_load, since it isnobu2009-01-181-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for C extensions or the ruby core. [ruby-core:21407] ?\012 Index: compile.c =================================================================== --- compile.c (revision 21649) +++ compile.c (working copy) @@ -5078,5 +5078,5 @@ iseq_build_exception(rb_iseq_t *iseq, st } else { - eiseqval = ruby_iseq_load(ptr[1], iseq->self, Qnil); + eiseqval = rb_iseq_load(ptr[1], iseq->self, Qnil); } @@ -5162,5 +5162,5 @@ iseq_build_body(rb_iseq_t *iseq, LINK_AN if (op != Qnil) { if (TYPE(op) == T_ARRAY) { - argv[j] = ruby_iseq_load(op, iseq->self, Qnil); + argv[j] = rb_iseq_load(op, iseq->self, Qnil); } else if (CLASS_OF(op) == rb_cISeq) { Index: iseq.c =================================================================== --- iseq.c (revision 21649) +++ iseq.c (working copy) @@ -448,5 +448,5 @@ iseq_s_load(int argc, VALUE *argv, VALUE VALUE -ruby_iseq_load(VALUE data, VALUE parent, VALUE opt) +rb_iseq_load(VALUE data, VALUE parent, VALUE opt) { return iseq_load(rb_cISeq, data, parent, opt); Index: iseq.h =================================================================== --- iseq.h (revision 21649) +++ iseq.h (working copy) @@ -21,5 +21,5 @@ VALUE ruby_iseq_build_from_ary(rb_iseq_t /* iseq.c */ -VALUE ruby_iseq_load(VALUE data, VALUE parent, VALUE opt); +VALUE rb_iseq_load(VALUE data, VALUE parent, VALUE opt); struct st_table *ruby_insn_make_insn_table(void); git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * transcode.c (str_transcode0): fix: :xml option doesn'tnaruse2009-01-181-0/+5
| | | | | | work on str.encode([options]) form without default_internal. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e