summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-03-122002-03-12nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-12* regex.c (re_compile_pattern): '\0111' should be '\011' plus '1',matz
since octal literals are formed by three digits at most. * marshal.c (w_object): module inclusion using extend() should also be detected. * eval.c (rb_eval_cmd): cbase should not be NULL; it should be either ruby_wrapper or Object. * enum.c (enum_each_with_index): should return self. * process.c (proc_setpgrp): should return value for non-void function. * process.c (proc_getpgid): should raise exception if getpgid() return -1. * string.c (rb_str_ljust): should return a duplicated string. * string.c (rb_str_rjust): ditto. * string.c (rb_str_center): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-12* lib/resolv.rb: don't complete domains for absolute FQNs.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11Remove the entries that have already been merged into the stableknu
branch. [Note that the NEWS file on this branch should note the differences from the latest snapshot of the stable branch] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11tsort description modifed.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11tsort library added.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11* lib/tsort.rb: new file.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11StringIO.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2178 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-112002-03-11nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11StringIOnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11Initial revisionnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-11* marshal.c (w_object): module inclusion using extend() shouldmatz
also be detected. * eval.c (rb_eval_cmd): cbase should not be NULL; it should be either ruby_wrapper or Object. * enum.c (enum_each_with_index): should return self. * process.c (proc_setpgrp): should return value for non-void function. * process.c (proc_getpgid): should raise exception if getpgid() return -1. * string.c (rb_str_ljust): should return a duplicated string. * string.c (rb_str_rjust): ditto. * string.c (rb_str_center): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2172 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-08* ext/socket/extconf.rb (have_struct_member): don't print checkedakr
result. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2171 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-082002-03-08eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2170 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-08* eval.c (cvar_cbase): utility function to find innermost nonmatz
singleton cbase. * eval.c (is_defined): adopt new cvar behavior. * eval.c (rb_eval): ditto. * eval.c (assign): ditto. * class.c (rb_mod_clone): should not call rb_obj_clone(), since Module does not provide "allocate". * class.c (rb_singleton_class): should crate new singleton class if obj is a class or module and attached object is different, which means metaclass of singleton class is sought. * time.c (time_s_alloc): now follows allocation framework. * eval.c (rb_eval): should initialize outer class variables from methods in singleton class definitions. * eval.c (assign): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2169 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-08* lib/resolv.rb: use its own thread group for background threads.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2167 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-07* gc.c (rb_source_filename): added. holds unique strings for filenobu
names with GC space. * gc.c (rb_gc_mark): mark source file name. * gc.c (gc_sweep): ditto. * gc.c (Init_GC): initialize source file name table. * intern.h (rb_source_filename): added. * eval.c (rb_eval_string): use rb_source_filename(). * parse.y (yycompile): ditto. * ruby.c (proc_options): ditto. * ruby.c (load_file): ditto. * ruby.c (ruby_script): ditto. * ruby.c (ruby_prog_init): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2166 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-06* dln.c (dln_load): use LoadLibrary instead of LoadLibraryEx.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2165 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-04- Slightly fix one of the last entries. (stdin -> stdin or stdout)knu
- Fix indentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2164 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-04* lib/getopts.rb: Rewrite to fix some bugs and complete features.knu
- Accept options with the colon in the first argument; getopts("a:bcd:") is equivalent to getopts("bc", "a:", "d:"). - Do not discard the argument that caused an error. - Do not discard '-', which commonly stands for stdin. - Allow specifying a long option with a value using '='. (command --long-option=value) - Stop reading options when it meets a non-option argument. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2163 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-04* ext/extmk.rb.in (dir_config): Sync with mkmf.rb: Fix a bug whereknu
--with-xx-{include,lib} is ignored when --with-xx-dir is specified. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2161 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-04Make cvs ignore mkmf.log.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-03fix method name.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2159 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-012002-03-01eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2155 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-01* ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): add consteban
qualifier only for uClibc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2154 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-01* ChangeLog: fixed the description of getacl.shugo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2153 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-03-01* lib/net/imap.rb: added document.shugo
* lib/net/imap.rb (getquotaroot): new method. * lib/net/imap.rb (setacl): remove the rights if the rights parameter is nil. * lib/net/imap.rb (getacl): return a MailboxACLItem object. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2152 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-28* dln.c (dln_load): fix typo.akr
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2151 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-28* ext/socket/extconf.rb (have_struct_member): new method.akr
check msg_control and msg_accrights in struct msghdr. check sys/uio.h. * socket/socket.c: include sys/uio.h if available. (thread_read_select): new function. (unix_send_io): ditto. (unix_recv_io): ditto. (unix_s_socketpair): ditto. (Init_socket): define UNIXSocket#send_io, UNIXSocket#recv_io, git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2150 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-282002-02-28eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-28* eval.c (rb_mod_include): load modules in argument order.matz
* st.c (st_init_table_with_size): num_bins should be prime numbers (no decrement). * st.c (rehash): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2147 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-27* ext/dbm/dbm.c (fdbm_select): 1.7 behavior.matz
* ext/gdbm/gdbm.c (fgdbm_select): ditto. * ext/sdbm/sdbm.c (fsdbm_select): ditto. * ext/dbm/dbm.c (fdbm_delete): adopt Hash#delete behavior. * ext/sdbm/sdbm.c (fsdbm_delete): ditto. * ext/gdbm/gdbm.c: need not to dup key to the block. * ext/sdbm/sdbm.c : replace RuntimeError with SDBMError. * eval.c (rb_f_missing): NoMethod error messages for true, false, nil must respond visibility like for other objects. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2145 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-27* io.c (READ_DATA_PENDING): uClibc support.eban
* random.c (rand_init): ditto. * ext/socket/{addinfo.h,getaddrinfo.c} (gai_strerror): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-26* ext/digest/sha2/sha2.c: Merge from rough. Fix a couple ofknu
off-by-one errors in Aaron Gifford's code. Obtained from: KAME via FreeBSD KAME PR: 393 FreeBSD PR: kern/34242 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2142 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-262002-02-26usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-26* bignum.c (rb_big_2comp): void function cannot return any value.usa
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-26* eval.c (rb_eval): call trace_func for if/while conditions.matz
* marshal.c (r_object): separate r_regist from proc calling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-26* lib/uri/generic.rb: merge0 shuld return [oth, oth] if oth is absolute URI.akira
* lib/uri/generic.rb: registry part must not be allowed for any schemes for the Internet. (RFC2396, section 3.2.2 and 3.2.1.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-25Corrected mis-indentation. Try diff -w to find that these are the same withoutnahi
indentation. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-25* ext/syslog/syslog.c: Merge from rough. Use SafeStringValue().knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-25* ext/syslog/syslog.c: Merge from rough. Turn Syslog into aknu
module keeping backward compatibility intact. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-25commit miss.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-25* sample/test.rb (system): test with scripts under the sourcenobu
directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-252002-02-25eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2130 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-25* eval.c (method_inspect): should not dump core for unboundmatz
singleton methods. * object.c (rb_mod_to_s): better description. * hash.c (env_select): should path the assoc list. * process.c (rb_syswait): thread kludge; should be fixed to support native thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-25* lib/shell.rb (Shell::expand_path): relative to @cwd.nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-24* ext/digest/*/*.h: Merge from rough.knu
- Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-24Merge from rough.knu
- Avoid namespace pollution. (MD5_* -> rb_Digest_MD5_*, etc.) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-23Refactoring. Added Context#format_frame to format a frame, used by up/downnahi
command and Context#display_frames. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-02-22modify typo.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e