summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2002-12-02WinCE patch mergedmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-02* pack.c (utf8_to_uv): added checks for malformed or redundantmatz
UTF-8 sequences. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-01* lib/optparse.rb (OptionParser::new): same as OptionParser#on butnobu
returns new OptionParser::switch. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-012002-12-01nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-01* win32/win32.c (rb_w32_stat): empty path is invalid, and returnnobu
ENOENT rather than EBADF in such case. [ruby-talk:57177] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-12-01Clarify that this file is not actively maintained.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-28* lib/mkmf.rb: Avoid the use of "clean::" in favor of "clean:" inknu
order not to let make(1) choke if there is another dependency on the target added in a depend file. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-272002-11-27knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* lib/mkmf.rb: Make sure to dig the destination directory beforeknu
installing a file there. Formerly "make install" could fail depending on make(1)'s mood of the moment, especially when -jN is given. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* dln.c (init_funcname_len): remove MAXPATHLEN dependency.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* ext/syslog/syslog.c: Cut redundancy.knu
* ext/syslog/syslog.c: Do not leak ident. * ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.close should raise RuntimeError when not opened. * ext/syslog/syslog.c, ext/syslog/test.rb: Syslog.{ident,options,facility,mask} should all return nil when not opened. * ext/syslog/syslog.c, ext/syslog/test.rb: Change back the output format of inspect(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* ext/syslog/test.rb: Syslog.close should raise RuntimeError whenknu
not opened. * ext/syslog/test.rb: Syslog.{ident,options,facility,mask} should all return nil when not opened. * ext/syslog/test.rb: Change back the output format of inspect(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* ext/digest/test.rb: Switch from RUnit to Test::Unit.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* ext/syslog/syslog.c: Fix a problem where Syslog#ident was notknu
marked and could thus be GC'd. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-27* ext/syslog/test.rb: Switch from RUnit to Test::Unit.knu
* ext/syslog/test.rb: The output format of inspect() is slightly altered. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-262002-11-26nobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-26commit missnobu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-26* error.c (exit_initialize): add SystemExit#initialize to setnobu
instance variable status. (ruby-bugs-ja:PR#362) Now accepts status as optional first argument. * eval.c (error_handle): now SystemExit have status always. * eval.c (system_exit): just instantiate SystemExit without raise. * eval.c (rb_thread_start_0): initialize SystemExit properly. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-26dlsizeof() should handle 'S' and 's'.ttate
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-25* ext/extmk.rb (extmake): return true if not dynamic and not static.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-24typofix.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-24* dln.c: devert and add the MAXPATHLEN definition on mswin32/mingw32.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-24* dln.c: move the MAXPATHLEN definition in front.eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-22* sprintf.c (rb_f_sprintf): preceding ".." for negativematz
hexadecimal numbers should not appear if prec (e.g. %.4) is specified. * pack.c (NUM2I32): support platforms which does not have 32bit integers (e.g. Cray). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-22* instruby.rb: Install batch files on Windows. [Submitted by usa]knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-222002-11-22eban
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-22* eval.c (rb_add_method): node may be NULL.matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-22* file.c (rb_find_file_ext): should not terminate searching withmatz
empty path, just ignore. * dir.c: remove <sys/parm.h> inclusion. * compar.c (cmp_eq,cmp_gt,cmp_ge,cmp_lt,cmp_le): check using rb_cmpint(). * error.c (init_syserr): remove sys_nerr dependency. * numeric.c (num_cmp): added to satisfy Comparable assumption. * eval.c (rb_add_method): "initialize" should be public if it is a singleton method. * regex.c (re_match): avoid dereferencing if size == 0. (ruby-bugs-ja:PR#360) * time.c (time_cmp): should return nil if an operand is not a number nor time. (ruby-bugs-ja:PR#359) * file.c (rb_stat_cmp): should return nil if an operand is not File::Stat. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-22change default prompt.keiju
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* erb.rb: fix def_class bug.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* bin/erb: fix -S 4 option bug.seki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* lib/net/smtp.rb: changes coding style.aamine
* lib/net/pop.rb: ditto. * lib/net/protocol.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* lib/net/http.rb: unify coding style.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21sorry, conflicts in ChangeLog is now resolved.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21modify ChangeLog.aamine
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* lib/net/http.rb: should not overwrite Host: header. (Original patch is ↵aamine
contributed by sean@ruby-lang.org) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-21* lib/net/http.rb: support Proxy-Authorization. (Original patch is ↵aamine
contributed by Alexander Bokovoy) * lib/net/http.rb: should not overwrite Host: header. (Original patch is contributed by sean@ruby-lang.org) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-20add bin/erbseki
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-19* array.c (rb_ary_zip): iterates over items in the receiver.matz
zipped with nil if argument arrays are shorter. if arrays are longer, left items are ignored. now works with blocks. * enum.c (zip_i): changed for new behavior. * array.c (rb_ary_transpose): added. [new] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-19URI::extract extracts only URIs of specified schemes when schemes are specified.akira
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-19initialize hackmatz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18defines.h: hack for the case sizeof(short) == sizeof(int)matz
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18* instruby.rb: Do not install various working files under bin/.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18* instruby.rb: not rewrite installed scripts when dry-run mode.nobu
* lib/ostruct.rb (OpenStruct::initialize): should symbolize keys instead of values. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18Oops, I mean ruby_install_name.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18* instruby.rb: Rewrite installed scripts' shebang lines.knu
* instruby.rb: Use File.join() where appropriate. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18sample/irb.rb -> bin/irbknu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18* bin/irb: Moved from sample/irb.rb.knu
* instruby.rb: Install script files under bin/ with ruby's program prefix and suffix. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-18Improve the comment section.knu
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2002-11-17* lib/tempfile.rb: Make this libary thread safe.knu
* lib/tempfile.rb: Do not pick a name which was once used and is still scheduled for removal. * lib/tempfile.rb: A lock file need not and must not be scheduled for removal. * lib/tempfile.rb: Compare Max_try with the number of mkdir failures instead of the suffix counter. * lib/tempfile.rb: Overall cleanup and add some important notices. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e