summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/find.rb (Find#find): Return an enumerator if no block isknu2008-06-101-0/+5
| | | | | | | given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h, proc.c: revert rb_proc_call() andko12008-06-101-0/+8
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@17081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_float.rb: add tests. [ruby-dev:35009]kazu2008-06-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_s_convert): need not to initialize optionaltadf2008-06-101-0/+5
| | | | | | | | argument for rb_scan_args(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: negate default of --without-ext if --with-ext isnobu2008-06-101-1/+4
| | | | | | | given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb: negate default of --without-ext.nobu2008-06-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_shuffle_bang): update RDoc. [ruby-dev:35034]matz2008-06-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_obj_instance_exec, rb_mod_module_exec):nobu2008-06-101-0/+5
| | | | | | | added prototypes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix Changelog time(typo). sorry.wanabe2008-06-101-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * util.c (ruby_strtod): ruby_strtod don't allow a trailingwanabe2008-06-101-0/+5
| | | | | | | decimal point like "7.". [ruby-dev:34835] [ruby-dev:35009] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rational.c (nurat_s_convert): need not to initialize optionalmatz2008-06-101-0/+5
| | | | | | argument for rb_scan_args(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/io/wait/wait.c (FIONREAD_POSSIBLE_P): suppress warnings.nobu2008-06-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (CONST_ID_CACHE): fixed statement expression.nobu2008-06-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (rb_argv0): revised for ext/tk.nobu2008-06-101-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/encoding.h: not to use varargs.h since requiring C89.nobu2008-06-101-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h, vm_core.h: add a type rb_blockptr.mame2008-06-091-0/+21
| | | | | | | | | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@17065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (test-knownbug): give $(OPTS) for bootstraptest/runner.rb.akr2008-06-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (Init_stack): don't declare. it is a macro now.akr2008-06-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * compile.c : treat []&&= in virtually the same way as []||=.wanabe2008-06-091-0/+5
| | | | | | [ruby-dev:34679] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/depend (clean): remove build directories.nobu2008-06-091-1/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_knownbug.rb -> KNOWNBUGS.rb: renamed.ko12008-06-091-0/+6
| | | | | | | | * common.mk: apply above change. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (configuration): set flags.nobu2008-06-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_knownbug.rb -> ./test_knownbug.rb: moved.ko12008-06-091-0/+6
| | | | | | | | * common.mk: add a rule "test-knownbug". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * complex.c (nucomp_s_convert): can accept Complex('i').tadf2008-06-091-0/+5
| | | | | | | | [ruby-dev:34991] and some minor changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (CONST_ID): constant ID cache for non-gcc.nobu2008-06-091-0/+6
| | | | | | | * *.c: no cache in init functions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/set.rb (Set#delete_if): Call to_a.knu2008-06-091-0/+10
| | | | | | | | | | | | (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: http://svn.ruby-lang.org/repos/ruby/trunk@17045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (fptr_finalize): close IO object if fd is already closed.akr2008-06-091-0/+5
| | | | | | | (rb_p): call rb_io_write just once. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_dir.rb (TestDir::test_glob): glob file names not sorted.matz2008-06-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (require_libraries): req_list may be NULL. [ruby-dev:35008]matz2008-06-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (struct rb_vm_struct): moved ruby_debug, ruby_verbose, andnobu2008-06-091-2/+7
| | | | | | | | | | | rb_progname. * ruby.c (rb_argv0): no longer used. * vm.c: getters/setters for ruby_{debug,verbose}. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_core.h (struct rb_vm_struct): moved src_encoding_index.nobu2008-06-091-0/+14
| | | | | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@17038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (Init_stack): make to call ruby_init_stack.nobu2008-06-091-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c, vm.c, proc.c : revert r17021. [ruby-dev:34997]wanabe2008-06-081-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/pending.rb: move/remove solved issues.ko12008-06-081-0/+6
| | | | | | | | * bootstraptest/test_class.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_deflate_init_copy): Copy buffers as well.knu2008-06-081-0/+5
| | | | | | | [ruby-list:45018] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c, vm.c, proc.c (proc_call): allow call method withwanabe2008-06-081-0/+8
| | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@17021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/zlib/test_zlib.rb: add tests to achieve over 90% test coveragemame2008-06-081-0/+5
| | | | | | | of zlib. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_throw): regard break as return in lambda.wanabe2008-06-081-0/+5
| | | | | | [ruby-dev:34646] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@17019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c: add a build option "CALC_EXACT_MALLOC_SIZE".ko12008-06-081-0/+12
| | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@17018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c, bignum.c, cont.c, dir.c, dln.c, encoding.c, enumerator.c,ko12008-06-081-0/+17
| | | | | | | | | | | | | | | | | | | 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: http://svn.ruby-lang.org/repos/ruby/trunk@17017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (hash_i): make Hash#hash order insensitive.akr2008-06-071-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (rb_deflate_initialize, Init_zlib): Fix upknu2008-06-071-0/+5
| | | | | | | initialize_copy; [ruby-list:45016]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16875 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (VENDOR_DIR): use LIBDIR instead of PREFIX as well asnobu2008-06-071-0/+6
| | | | | | | | SITE_DIR. a patch from Richard Brown <rbrown AT exherbo.org> in [ruby-core:17129]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_f_open), re.c (rb_reg_search), transcode.c (str_transcode):nobu2008-06-071-0/+7
| | | | | | | | | suppress warnings. * util.c (quorem, rv_alloc, nrv_alloc): only used in dtoa(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16873 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (CFLAGS, CXXFLAGS): append default flags.nobu2008-06-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16871 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_open_file, rb_io_s_sysopen): fmode should be unsigned int.usa2008-06-061-0/+5
| | | | | | | | fixed [ruby-dev:34979] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_callee_setup_arg): check simple flag beforeko12008-06-061-0/+5
| | | | | | | | calling setup_arg function(). this change reduce function call. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (COMMON_HEADERS): include ws2tcpip.h.usa2008-06-061-0/+10
| | | | | | | | | | | | * 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: http://svn.ruby-lang.org/repos/ruby/trunk@16867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/iconv/utils.rb (default_test): override not to croak.nobu2008-06-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16859 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/win32.h: include ws2tcpip.h. fixed [ruby-Bugs-20528]usa2008-06-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e