summaryrefslogtreecommitdiff
path: root/NEWS
AgeCommit message (Collapse)Author
2010-02-03* NEWS (socket): Socket.do_not_reverse_lookup.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-21* array.c (rb_ary_rotate): new methods, Array#rotate! andnobu
Array#rotate. [ruby-dev:17194] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-17* ext/digest/digest.c (rb_digest_instance_hexdigest_bang): Fixknu
rdoc. * ext/digest/lib/digest.rb (Digest::Class.base64digest) (Digest::Instance#base64digest{,!}): New methods. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-13Add news.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-12* prelude.rb (require_relative): use File.realpath. [ruby-dev:40040]akr
* include/ruby/intern.h: declare rb_dir_getwd. * dir.c (rb_dir_getwd): copied from dir_s_getwd to export. (dir_s_getwd): use rb_dir_getwd. * file.c (rb_file_s_realpath): new method File.realpath. (rb_file_s_realdirpath): new method File.realdirpath. * lib/pathname.rb (Pathname#realpath): use File.realpath. (Pathname#realdirpath): use File.realdirpath. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-11* hash.c (ruby_setenv): ENV.[]= should raise an error if setenv(3)knu
or putenv(3) fails. [ruby-dev:40023] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-09Add news: net/http merges net/https.naruse
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-05describe RbConfig.ruby.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26245 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-05removes the dtrace support. reverts r26239, r26238 and r26235.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-05Add Float::INFINITY and Float::NAN.naruse
Current Unicode version of Regexp is 5.2. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26242 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-01-03* trace.h: new file. wraps tracing mechanisms.yugui
* defs/dtrace.d: new file. defined a dtrace provider "ruby". * include/ruby/ruby.h (LIKELY): moved from vm.c. (UNLIKELY): ditto. (OBJSETUP): probe "object-create". (RUBY_EVENT_RESCUE): new event. * vm_exec.c (DEBUG_ENTER_INSN): embeded a probe insn-entry into it. (DEBUG_END_INSN): insn-return. * vm.c (LIKELY): moved into ruby.h. (UNLIKELY): ditto. (Init_BareVM): embeded a probe "raise" into it. * variable.c (rb_class2name_without_alloc): new utility function. * tool/rbinstall.rb (install?(:ext, :arch, :'ext-arch')): installs dtrace.d if necessary. * thread_pthread.c (add_signal_thread_list): probe "raise". (rb_thread_create_timer_thread): ditto. * thread.c (rb_thread_schedule_rec): probes "thread-enter" and "thread-leave", (thread_start_func_2): ditto. (thread_cleanup_func): probe "thread-term" * lib/mkmf.rb: supports dtrace postprocessor on making an extension. * iseq.c (rb_vm_insn_name): new utility function. (rb_vm_insn_len): ditto. * insns.def (hook): probes "method-etnry", "method-return", "line", and "rescue". * compile.c (iseq_compile_each): adds a trace op for "rescue" probe. * gc.c (garbage_collect): probes "gc-begin" and "gc-end". (obj_free): probe "object-free" (garbage_collect_with_gvl): probe "raise" (negative_size_allocation_error): ditto. (rb_memerror): ditto. * eval.c (rb_rescue2): probe "rescue" (rb_longjmp): probe "raise" * ext/probe/probe.c: new extension for application defined probes. * ext/probe/extconf.rb: ditto. * configure.in (--with-tracing-model): new option to choose a tracing mechanism. (DTRACE): new substitution. name of dtrace(1). (RUBY_TRACING_MODEL): new substitution. (DTRACE_OBJ): ditto. (MINIDTRACE_OBJ): ditto. (GOLFDTRACE_OBJ): ditto. (LIBRUBY_DTRACE_OBJ): ditto. (RUBY_DTRACE_POSTPROCESS): new macro. checks whether the dtrace on the system needs postprocessing. (RUBY_DTRACE_BSD_BROKEN): new macro. checks whether the dtrace supports USDT. * Makefile.in: (DTRACE): new variable. name of dtrace(1). (TRACING_MODEL): new variable. name of the chosen tracing mechanism. (DTRACE_OBJ): same as the one in configure.in. (MINIDTRACE_OBJ): ditto. (GOLFDTRACE_OBJ): ditto. (LIBRUBY_DTRACE_OBJ): ditto. (CPPOUTFILE): new substitution. necessary for generating dtrace.d (trace_none.h): new target for TRACING_MODEL=none (RUBY_H_INCLUDES): appended a header for tracing. (distclean-local): also removes preprocessed version of dtrace.d ($(LIBRUBY_A)): needs $(LIBRUBY_DTRACE_OBJ) if dtrace needs postprocessing. ($(PROGRAM)): ditto. (golf): ditto. (miniruby): ditto. ($(arch_hdrdir)/ruby/dtrace.d): new target. preprocessed verson of defs/dtrace.d. generated if necessary. ($(arch_hdrdir)/ruby/trace_dtrace.h): new target. definition of probes. ($(LIBRUBY_DTRACE_OBJ)): new target. generated if dtrace needs postprocessing. ($(DTRACE_OBJ)): ditto. ($(MINIDTRACE_OBJ)): ditto. ($(GOLFDTRACE_OBJ)): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23* lib/thread.rb (ConditionVariable#wait): add timeout argument.akr
[ruby-talk:346154] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23cosmetic change.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-23describe Enumerable#chunk and Enumerable#slice_before.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-09-11* NEWS: update for 1.9.2. based on a patch from Run Paint Run Runnobu
in [ruby-core:25534]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24854 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-08-19* enumerator.c: implement Enumerator#{next_values,peek_values,feed}akr
and StopIteration#result. [ruby-dev:39109] (struct enumerator): replace no_next by stop_exc. new field feedvalue. (enumerator_mark): mark feedvalue and stop_exc. (enumerator_init): initialize feedvalue and stop_exc. (enumerator_init_copy): initialize feedvalue. (next_ii): send yield arguments as an array. return feedvalue. (next_i): generate StopIteration exception here. set result. (next_init): initialize feedvalue. (enumerator_next_values): new method Enumerator#next_values. (ary2sv): new function. (enumerator_peek_values): new method Enumerator#peek_values. (enumerator_feed): new method Enumerator#feed. (yielder_yield): return the yield value. (generator_each): return the iterator value. (stop_result): new method StopIteration#result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-07-20updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-27* NEWS, lib/rss/maker/base.rb, test/rss/test_maker_2.0.rb: addkou
item.guid.permanent_link? and item.guid.permanent_link=. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-27* NEWS: rss: 0.2.5 -> 0.2.7.kou
* lib/rss/rss.rb, test/rss/test_version.rb: 0.2.6 -> 0.2.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-06-23describe IO#fdatasync.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23833 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-22* NEWS: add Time#to_r.mame
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-20NEWS (--program-prefix and --program-suffix): describe r23368.yugui
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-16* NEWS: add RSS::Maker.supported?(version).kou
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-05-12* time.c: support fixed UTC offset. [ruby-dev:38326]akr
(leap_year_v_p): new macro. (TIME_FIXOFF_P): new macro. (TIME_SET_FIXOFF): new macro. (time_init_0): renamed from time_init. (time_set_utc_offset): new function. (vtm_add_offset): new function. (utc_offset_arg): new function. (time_init_1): new function. (time_init): call time_init_0 or time_init_1 according argc. (validate_utc_offset): new function. (time_localtime_m): new function. (time_fixoff): new function. (time_getlocaltime): take optional UTC offset argument. (time_get_tm): support fixed UTC offset time. (Init_Time): make Time#{initialize,localtime,getlocal} varargs. * strftime.c (rb_strftime): vtm->zone can be NULL now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-25mention Time.{utc,gm,local,mktime} as incompatibility.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23269 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-22* ext/zlib/zlib.c (Zlib::GzipFile#path): New method.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23263 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21* time.c (time_arg): use the year argument as-is. [ruby-dev:38194]akr
* lib/time.rb (Time.parse): interpret small year 0..99 as 1950..2049. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-21describe about Time.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16* node.h (rb_notimplement_body_p): declared.akr
* vm_method.c (Init_eval_method): suppress a warning. * io.c (rb_io_fsync): use rb_f_notimplement if not implemented. (rb_io_close_on_exec_p): ditto. (rb_io_set_close_on_exec): ditto. (rb_io_fcntl): ditto. (rb_f_syscall): ditto. * dir.c (dir_tell): ditto. (dir_seek): ditto. (dir_s_chroot): ditto. * process.c (proc_getpgrp): ditto. (proc_setpgrp): ditto. (proc_getpgid): ditto. (proc_setpgid): ditto. (proc_setsid): ditto. (proc_getpriority): ditto. (proc_setpriority): ditto. (proc_getrlimit): ditto. (proc_setrlimit): ditto. (p_sys_setuid): ditto. (p_sys_setruid): ditto. (p_sys_seteuid): ditto. (p_sys_setreuid): ditto. (p_sys_setresuid): ditto. (p_sys_setgid): ditto. (p_sys_setrgid): ditto. (p_sys_setegid): ditto. (p_sys_setregid): ditto. (p_sys_setreuid): ditto. (p_sys_setresgid): ditto. (p_sys_issetugid): ditto. (proc_getgroups): ditto. (proc_setgroups): ditto. (proc_initgroups): ditto. (proc_daemon): ditto. (rb_proc_times): ditto. * file.c (rb_file_s_lchown): ditto. (rb_file_s_link): ditto. (rb_file_s_symlink): ditto. (rb_file_s_readlink): ditto. (rb_file_s_truncate): ditto. (rb_file_truncate): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-04-16* class.c (rb_define_method_id): use rb_define_notimplement_method_idakr
if rb_f_notimplement is given. (rb_define_protected_method): ditto. (rb_define_private_method): ditto. (rb_define_method): use rb_define_method_id. * include/ruby/intern.h (rb_f_notimplement): declared. (rb_define_notimplement_method_id): declared. * proc.c (method_inspect): show not-implemented. * vm_method.c (notimplement_body): new variable. (rb_notimplement_body_p): new function. (rb_method_boundp): return false if not implemented. (rb_f_notimplement): new function. (rb_define_notimplement_method_id): new function. * process.c (rb_f_fork): use rb_f_notimplement if not implemented. * file.c (rb_file_s_lchmod): use rb_f_notimplement if not implemented. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-21* ext/openssl/ossl_ssl.c (write_would_block): defined.akr
(read_would_block): defined. (ossl_start_ssl): add nonblock argument. (ossl_ssl_connect): follow ossl_start_ssl change. (ossl_ssl_connect_nonblock): new method. (ossl_ssl_accept): follow ossl_start_ssl change. (ossl_ssl_accept_nonblock): new method. (ossl_ssl_read_internal): use write_would_block and read_would_block. (ossl_ssl_write_internal): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-20* ext/openssl/lib/openssl/buffering.rbakr
(OpenSSL::Buffering#write_nonblock): new method. * ext/openssl/ossl_ssl.c (ossl_ssl_write_nonblock): new method. (ossl_ssl_write_internal): defined. (ossl_ssl_write): use ossl_ssl_write_internal. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23020 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-19update rdoc and NEWS.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@23010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-15updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22972 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-03-14* string.c (rb_str_subpat): accept capture name.akr
(rb_str_aref): follow above change. (rb_str_aref_m): pass the 2nd argument to rb_str_subpat. (rb_str_subpat_set): accept capture name. (rb_str_aset): follow above change. (rb_str_partition): ditto. (rb_str_aset_m): pass the 2nd argument to rb_str_subpat_set. * include/ruby/intern.h (rb_reg_backref_number): declared. * re.c (rb_reg_backref_number): defined. [ruby-core:21057] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-27update doc (add Pathname#binread)kazu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-26* ext/socket/lib/socket.rb (BasicSocket#connect_address): new method.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-17* NEWS: added Etc::{Passwd,Group}.each.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-15mention SecureRandom.urlsafe_base64.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-14* lib/time.rb (Time.parse): raise ArgumentError if Date._parse don'takr
extract date information. [ruby-core:20912] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-12updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-11updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-11add getpeereid.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-10updated.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-09Mention Enumerator#with_index.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-05* ext/socket: AddrInfo is renamed to Addrinfo. [ruby-dev:37876]akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-02-04add Socket.pair.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e