summaryrefslogtreecommitdiff
path: root/ChangeLog
AgeCommit message (Collapse)Author
2008-06-10* lib/find.rb (Find#find): Return an enumerator if no block isknu
given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* include/ruby/intern.h, proc.c: revert rb_proc_call() andko1
create rb_proc_call_with_block() instaed. * include/ruby/ruby.h, eval_jump.c, thread.c, vm_insnhelper.c: rb_blockptr should not be exposed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* test/ruby/test_float.rb: add tests. [ruby-dev:35009]kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10 * complex.c (nucomp_s_convert): need not to initialize optionaltadf
argument for rb_scan_args(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* ext/extmk.rb: negate default of --without-ext if --with-ext isnobu
given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* ext/extmk.rb: negate default of --without-ext.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* array.c (rb_ary_shuffle_bang): update RDoc. [ruby-dev:35034]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* include/ruby/intern.h (rb_obj_instance_exec, rb_mod_module_exec):nobu
added prototypes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10fix Changelog time(typo). sorry.wanabe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* util.c (ruby_strtod): ruby_strtod don't allow a trailingwanabe
decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* rational.c (nurat_s_convert): need not to initialize optionalmatz
argument for rb_scan_args(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* ext/io/wait/wait.c (FIONREAD_POSSIBLE_P): suppress warnings.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* include/ruby/ruby.h (CONST_ID_CACHE): fixed statement expression.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* ruby.c (rb_argv0): revised for ext/tk.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-10* include/ruby/encoding.h: not to use varargs.h since requiring C89.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* include/ruby/ruby.h, vm_core.h: add a type rb_blockptr.mame
* vm_insnhelper.c (vm_yield_with_cfunc): vm_yield_with_cfunc receives blockptr and passes it to iterating block. * proc.c (rb_proc_call), include/ruby/intern.h: rb_proc_call receives blockptr. "rb_proc_call(self, args, blockptr)" in C corresponds to "self.call(*args, &block)" in Ruby. * proc.c (proc_call): pass blockptr to block that is written in C. * proc.c (curry): receive blockptr and pass it to original proc. [ruby-core:15551] * vm.c (invoke_block_from_c): fix for change of vm_yield_with_cfunc. * thread.c (call_trace_proc), eval_jump.c (rb_call_end_proc): fix for change of rb_proc_call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* common.mk (test-knownbug): give $(OPTS) for bootstraptest/runner.rb.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* eval.c (Init_stack): don't declare. it is a macro now.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* compile.c : treat []&&= in virtually the same way as []||=.wanabe
[ruby-dev:34679] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* enc/depend (clean): remove build directories.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* test_knownbug.rb -> KNOWNBUGS.rb: renamed.ko1
* common.mk: apply above change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* lib/mkmf.rb (configuration): set flags.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* bootstraptest/test_knownbug.rb -> ./test_knownbug.rb: moved.ko1
* common.mk: add a rule "test-knownbug". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09 * complex.c (nucomp_s_convert): can accept Complex('i').tadf
[ruby-dev:34991] and some minor changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* include/ruby/ruby.h (CONST_ID): constant ID cache for non-gcc.nobu
* *.c: no cache in init functions. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* lib/set.rb (Set#delete_if): Call to_a.knu
(SortedSet#delete_if, TC_SortedSet#test_sortedset): Use super to yield elements in sorted order; [ruby-core:17144] by Arthur Schreiber. (SortedSet#each, SortedSet#each, TC_Set#test_each) (TC_SortedSet#test_sortedset): Return self; [ruby-dev:35002] by Arthur Schreiber. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* io.c (fptr_finalize): close IO object if fd is already closed.akr
(rb_p): call rb_io_write just once. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* test/ruby/test_dir.rb (TestDir::test_glob): glob file names not sorted.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* ruby.c (require_libraries): req_list may be NULL. [ruby-dev:35008]matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* vm_core.h (struct rb_vm_struct): moved ruby_debug, ruby_verbose, andnobu
rb_progname. * ruby.c (rb_argv0): no longer used. * vm.c: getters/setters for ruby_{debug,verbose}. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* vm_core.h (struct rb_vm_struct): moved src_encoding_index.nobu
* ruby.c (struct cmdline_options): moved setids and req_list, and the latter is now an array, to prevent memory leak. * ruby.c (cmdline_options_init): added. * ruby.c (add_modules, require_libraries, init_ids, forbid_setid): use struct cmdline_options. * vm.c (vm_init2): initialize src_encoding_index. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-09* include/ruby/intern.h (Init_stack): make to call ruby_init_stack.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08* vm_insnhelper.c, vm.c, proc.c : revert r17021. [ruby-dev:34997]wanabe
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08* bootstraptest/pending.rb: move/remove solved issues.ko1
* bootstraptest/test_class.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08* ext/zlib/zlib.c (rb_deflate_init_copy): Copy buffers as well.knu
[ruby-list:45018] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08* vm_insnhelper.c, vm.c, proc.c (proc_call): allow call method withwanabe
block that both is written in C. [ruby-dev:34273] [ruby-core:15551] * proc.c (curry): use proc_call instead of rb_proc_call. [ruby-dev:34273] [ruby-core:15551] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08* test/zlib/test_zlib.rb: add tests to achieve over 90% test coveragemame
of zlib. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08* vm_insnhelper.c (vm_throw): regard break as return in lambda.wanabe
[ruby-dev:34646] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08* gc.c: add a build option "CALC_EXACT_MALLOC_SIZE".ko1
This option enables to calculate exact size of current allocated size by malloc(). You can access these information with GC.malloc_allocated_size and GC.malloc_allocations. This option consume additional memory as a header of each memory object. This option also helps to find out xmalloc()/xfree() consistency. If you get trouble with this option, some extension using "free()" instead of "xfree()". This options is disabled by default. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-08* array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,ko1
enumerator.c (enumerator_allocate), eval_jump.c, file.c, hash.c, io.c, load.c, pack.c, proc.c, random.c, re.c, ruby.c, st.c, string.c, thread.c, thread_pthread.c, time.c, util.c, variable.c, vm.c, gc.c: allocated memory objects by xmalloc (ruby_xmalloc) should be freed by xfree (ruby_xfree). * ext/curses/curses.c, ext/dbm/dbm.c, ext/digest/digest.c, ext/gdbm/gdbm.c, ext/json/ext/parser/parser.c, ext/json/ext/parser/unicode.c, ext/openssl/ossl_cipher.c, ext/openssl/ossl_hmac.c, ext/openssl/ossl_pkey_ec.c, ext/sdbm/init.c, ext/strscan/strscan.c, ext/zlib/zlib.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@17017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-07* hash.c (hash_i): make Hash#hash order insensitive.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-07* ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix upknu
initialize_copy; [ruby-list:45016]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-07* configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well asnobu
SITE_DIR. a patch from Richard Brown <rbrown AT exherbo.org> in [ruby-core:17129]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-07* io.c (rb_f_open), re.c (rb_reg_search), transcode.c (str_transcode):nobu
suppress warnings. * util.c (quorem, rv_alloc, nrv_alloc): only used in dtoa(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-07* configure.in (CFLAGS, CXXFLAGS): append default flags.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-06 * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.usa
fixed [ruby-dev:34979] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-06* vm_insnhelper.c (vm_callee_setup_arg): check simple flag beforeko1
calling setup_arg function(). this change reduce function call. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-06 * win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.usa
* ext/socket/addrinfo.h (addrinfo, getaddrinfo, getnameinfo, freehostent, freeaddrinfo): undef before define because these are macros in some versions of Windows SDK. merged from ruby_1_8. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-06* test/iconv/utils.rb (default_test): override not to croak.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-06-06 * include/ruby/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@16854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e