summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
* * include/ruby/defines.h (TRUE, FALSE): for internal use.nobu2009-07-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c: workaround for VC++ 6.0.usa2009-07-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rb_random_{int32,real,bytes,int}): added functions fornobu2009-07-181-0/+5
| | | | | | | extension libraries. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (fill_random_seed): use cryptographic service on Windows.nobu2009-07-181-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: fail to create a widget object for an unknown wiget path.nagai2009-07-171-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb,ext/tk/lib/tk/grid.rb: Bug fix on grid_slaves().nagai2009-07-171-0/+5
| | | | | | | Extend usage pattern of grid_column()/grid_row(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h: include winsock headers in extern "C++" forusa2009-07-171-0/+8
| | | | | | | | | | | C++ extension libraries. * include/ruby/missing.h (vsnprintf): workaround for VC++. [ruby-core:23096] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (Init_readline): rl_catch_signals doesyugui2009-07-171-0/+7
| | | | | | | | not exist on some platform like Mac OS X 10.5. * ext/readline/extconf.rb: checks existance of rl_catch_signals. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (socket_s_ip_address_list): drop inactiveusa2009-07-171-0/+9
| | | | | | | | | | | adapters. * test/socket/test_{nonblock,addrinfo,socket}.rb: skip some tests on Windows. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (Init_readline): use rl_catch_sigwinch onlyusa2009-07-171-0/+8
| | | | | | | | | | | when existing. * ext/readline/extconf.rb: check existance of rl_catch_sigwinch, and workaround for native Win32 readline port. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (recursive_hash): extracted from range_hash. rejectakr2009-07-171-0/+6
| | | | | | | | recursive key. (range_hash): use recursive_hash. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (recursive_hash): extracted from rb_struct_hash. rejectakr2009-07-171-0/+6
| | | | | | | | recursive key. (rb_struct_hash): use recursive_hash. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (recursive_hash): reject recursive key.akr2009-07-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (DIGSPERINT): fix for LP64.nobu2009-07-171-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (fill_random_seed): /dev/urandom is not available onnobu2009-07-171-1/+4
| | | | | | | DOSISH systems. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (random_equal): new method Random#==.nobu2009-07-171-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24162 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/init.c (rsock_getfamily): return AF_UNSPEC if getsocknameakr2009-07-171-0/+5
| | | | | | | is failed. [ruby-core:24383] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (recursive_join): raise ArgumentError for joiningmatz2009-07-171-0/+10
| | | | | | | | | | | recursive array. * array.c (ary_join_1): ditto. * test/ruby/test_array.rb (TestArray#test_join2): test updated for recursive join. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb,ext/tk/config_list.in: ignore paths which includesnagai2009-07-161-0/+8
| | | | | | | | | white space characters on Windows.[ruby-dev:38794] * ext/tk/lib/tk.rb: works on Cygwin (limitation:: Tk.mainloop works on the main thread only). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole.rb (test_s_codepage_changed,suke2009-07-161-0/+9
| | | | | | | | | | | test_s_locale_set, test_s_locale_change): skip test if Japanese locale is not installed. [ruby-core:23806] * test/win32ole/test_win32ole_variant.rb (test_conversion_str2cy): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/lib/socket.rb (Socket.tcp_server_sockets_port0): serversusa2009-07-161-0/+5
| | | | | | | | is nil if an error occurs before setting it. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (fill_random_seed): suppress a warning.nobu2009-07-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_aset, recursive_hash): rejects recursive hash.nobu2009-07-161-0/+5
| | | | | | | [ruby-core:22921] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * id.c (Init_id), vm.c (vm_exec): @#__ThrowState__ is no longernobu2009-07-161-0/+5
| | | | | | | used. [ruby-dev:38760] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: log entry for r24144.nobu2009-07-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: reverted entries removed mistakenly at r23889.nobu2009-07-161-36/+1245
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c (rb_alias): fix a case which try non-existing method alias.ko12009-07-161-0/+6
| | | | | | | | * test/ruby/test_alias.rb: add a test. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_new, rb_bigzero_p), range.c (rb_range_values):nobu2009-07-161-1/+4
| | | | | | | added for random.c. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * random.c (rb_random_t): objectified. [EXPERIMENTAL]nobu2009-07-161-0/+5
| | | | | | | [ruby-dev:30954] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_sample): RDoc update. a patch from Florianmatz2009-07-161-0/+5
| | | | | | Frank. [ruby-core:24347] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix SEGV of readline on FreeBSD. [ruby-core:21884]naruse2009-07-161-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * node.h, vm_core.h, variable.c: rename global_entry to rb_global_entry.ko12009-07-161-0/+6
| | | | | | | | * compile.c, insns.def, iseq.c, vm_insnhelper.h: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_method.c: separate clearing cache entry code.ko12009-07-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (push_glob): re-fix GC problem.ko12009-07-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk: add method.h.ko12009-07-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (argf_free): free data body.ko12009-07-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * method.h, vm_core.h: add rb_method_entry_t. Remove nodes aroundko12009-07-151-0/+27
| | | | | | | | | | | | | | | | | | | | | method management. This change affect some VM control stack structure. * vm.c, vm_insnhelper.c, vm_method.c, vm_eval.c: ditto. and make some refactoring. * insns.def, class.c, eval.c, proc.c, vm_dump.c : ditto. * vm_core.h, compile.c (iseq_specialized_instruction): remove VM_CALL_SEND_BIT. use another optimization tech for Kernel#send. * node.h: remove unused node types. * ext/objspace/objspace.c (count_nodes): ditto. * gc.c: add mark/free functions for method entry. * include/ruby/intern.h: remove decl of rb_define_notimplement_method_id(). nobody can use it because noex is not opend. * iseq.c (iseq_mark): fix to check ic_method is available. * iseq.c (rb_iseq_disasm): fix to use rb_method_get_iseq(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (push_glob): fix GC problem.ko12009-07-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/purelib.rb: translates a fake path to rubygems in $" intoyugui2009-07-151-0/+13
| | | | | | | | | | | | | | an alternative in $: so that Kernel.#require does not load more rubygems.rb. Resolves many failures in test/rubygems/*. * gem_prelude.rb (Gem.load_full_rubygems_library): supports case the rubygems to load is not in $(rubylibprefix). (Gem.path_to_full_rubygems_library): new method for the changes in purelib.rb and Gem.load_full_rubygems_library. (Gem.fake_rubygems_as_loaded): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (LIBPATHFLAG): path is already quoted in mkmf.rb.usa2009-07-151-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/extconf.rb: --with-{tcl,tk}-dir doesn't work.[ruby-dev:38782]nagai2009-07-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Set tempfile name with literal.naruse2009-07-141-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/nonblock: moved from ext/io/wait/lib.nobu2009-07-141-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Check pos and strlen on Regexp#index(str, pos) [ruby-core:23660]naruse2009-07-141-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_initialize): check if the descriptor can be accessednobu2009-07-141-0/+5
| | | | | | | in the specified open mode. [ruby-dev:38571] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/multi-tk.rb: Long-term-callback support isn't stable yet.nagai2009-07-141-0/+5
| | | | | | | So, disable the feature and waiting for improvement in the future. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Follow tests for changes of ENV's encoding.naruse2009-07-131-0/+5
| | | | | | | * test/ruby/test_m17n.rb (TestM17N#test_env): the encoding of ENV is now locale encoding. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (r_object0): should return real object.naruse2009-07-131-8/+12
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enumerator.c (yielder_yield_i): use rb_proc_new instead ofmame2009-07-131-0/+10
| | | | | | | | | | | | rb_iterate. [ruby-dev:38518] * README.EXT: rb_iterate is obsolete since 1.9; use rb_block_call instead. * README.EXT.ja: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_case.rb (TestCase#test_deoptimization):yugui2009-07-131-0/+5
| | | | | | test for [ruby-core:23190]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@24092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e