summaryrefslogtreecommitdiffstats
path: root/ChangeLog
Commit message (Collapse)AuthorAgeFilesLines
...
* * dir.c (dir_s_chdir): raise if environment variable HOME/LOGDIRnobu2001-09-061-0/+8
| | | | | | | | | | not set. * dir.c (glob_helper): avoid infinite loop on a file name with wildcard characters. (ruby-bugs#PR177) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1740 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_base_s_hexdigest): remove a debugknu2001-09-061-0/+5
| | | | | | | print. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1736 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: restore terminal modeshugo2001-09-061-0/+22
| | | | | | | | | | | | | | | | | | | | | | | | even if readline() interrupted. * ext/readline/readline.c: returned string need to be tainted. * ext/readline/readline.c: fixed memory leak. * ext/readline/readline.c: allow negative index. * ext/readline/readline.c: added Readline::HISTORY.size same as Readline::HISTORY.length * ext/readline/readline.c: allow conditional parsing of the ~/.inputrc file by `$if Ruby'. * ext/readline/extconf.rb: check whether the libreadline has the variable `rl_completion_append_character' (this feature was implemented from GNU readline 2.1). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1735 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/digest.c (rb_digest_base_s_digest,knu2001-09-061-0/+5
| | | | | | | rb_digest_base_s_hexdigest): ensure that a string is given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/jcode.rb (_regexp_quote): fix quote handling, again.eban2001-09-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1733 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file_ext): add const qualifiers to ext.nobu2001-09-051-0/+6
| | | | | | | * intern.h (rb_find_file_ext): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1731 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (Init_socket): remove duplicating constants.nobu2001-09-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/jcode.rb (_regexp_quote): fix quote handling.eban2001-09-051-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (Init_Regexp): to_s to be alias to inspect.matz2001-09-051-0/+19
| | | | | | | | | | * parse.y (yylex): should support 'keyword='. * ruby.c (proc_options): should not adjust argc/argv if -e option is supplied. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (rb_find_file_ext): changed from rb_find_file_noext().nobu2001-09-031-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1725 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): should not alter origargv[].matz2001-09-031-0/+31
| | | | | | | | | | | | | | | | | | | | | | * ruby.c (set_arg0): long strings for $0 dumped core. * ruby.c (set_arg0): use setprogtitle() if it's available. * io.c (rb_io_popen): accept integer flags as mode. * file.c (rb_find_file_ext): extension table can be supplied from outside. renamed. * eval.c (rb_f_require): replace rb_find_file_noext by rb_find_file_ext. * eval.c (rb_provided): should also check feature without extension. * numeric.c (flo_to_s): do not rely on decimal point to be '.' git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1722 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c: unbreak the build on *BSD with gcc 3.0.1 by removingknu2001-09-031-0/+5
| | | | | | | the conflicting declaration of sys_nerr for *BSD. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1719 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (set_arg0): prevent SEGV when val is longer than thenobu2001-09-011-0/+8
| | | | | | | | | | original arguments. * ruby.c (ruby_process_options): initialize total length of original arguments at first. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1715 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (yylex): ternary ? can be followed by newline.matz2001-08-291-0/+29
| | | | | | | | | | | | | | | | | | | | | | * eval.c (rb_f_require): should check static linked libraries before raising exception. * array.c (rb_ary_equal): check identiry equality first. * string.c (rb_str_equal): ditto. * struct.c (rb_struct_equal): ditto. * numeric.c (Init_Numeric): undef Integer::new. * eval.c (rb_eval): NODE_WHILE should update result for each conditional evaluation. * eval.c (rb_eval): NODE_UNTIL should return last evaluated value (or value given to break). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1714 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c (dln_strerror): fix a bug that sometimes made null message onusa2001-08-241-0/+7
| | | | | | | | | win32 (Tietew <tietew@tietew.net>'s patch). * win32/win32.c (mystrerror): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1709 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix typo.nobu2001-08-231-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1708 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (is_defined): should not dump core for "defined?(())".matz2001-08-231-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * eval.c (umethod_bind): recv can be an instance of descender of oklass if oklass is a Module. * hash.c (rb_hash_equal): check identiry equality first. * file.c (group_member): should check real gid only. * file.c (eaccess): do not cache euid, since effective euid may be changed via Process.euid=(). * file.c (eaccess): return -1 unless every specified access mode is permitted. * eval.c (rb_eval): while/until returns the value which is given to break. * parse.y (value_expr): using while/until/class/def as an expression is now gives a warning, not an error. * range.c (range_eqq): should compare strings based on magical increment (using String#upto), not dictionary order. * enum.c (enum_sort_by): new method for Schewartzian transformed stable sort. * variable.c (mod_av_set): detect constant overriding for built-in classes/modules. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1707 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/sha2/extconf.rb: fix support for cross-compiling.eban2001-08-201-0/+6
| | | | | | | * mkconfig.rb: fix support for autoconf 2.52. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (tokadd_escape): escaped backslashes too much.matz2001-08-201-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1704 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): 'iter' here should be an array.matz2001-08-201-0/+21
| | | | | | | | | | | | | | | | * marshal.c (w_object): should retrieve __member__ data from non-singleton class. * variable.c (rb_cvar_get): class variable override check added. * variable.c (rb_cvar_set): ditto * variable.c (rb_cvar_declare): ditto. * parse.y (parse_regx): handle backslash escaping of delimiter here. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1703 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-08-171-0/+12
| | | | | | | | | | * lib/net/protocol.rb: Protocol.new requires at least one arg. * lib/net/smtp.rb: ditto. * lib/net/pop.rb: ditto. * lib/net/http.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (s_recvfrom): fix typo.usa2001-08-161-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (s_recvform): avoid VC++6 warning.usa2001-08-161-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1689 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (NtCmdGlob): avoid VC++ warning.usa2001-08-151-0/+6
| | | | | | | * lib/mkmf.rb: add -I$(srcdir) to CPPFLAGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1687 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/*/extconf.rb: really fix so that they build from anyknu2001-08-141-0/+5
| | | | | | | directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1686 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/sha2/extconf.rb: fix so that they build from anyknu2001-08-141-0/+5
| | | | | | | directory. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/defs.h: Define NO_UINT64_T instead of emitting anknu2001-08-141-0/+8
| | | | | | | | | | error to fail. * ext/digest/sha2/extconf.rb: Do not exit on error, and utilize NO_UINT64_T to detect if the system has a 64bit integer type. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1684 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/sha2/extconf.rb: do not create Makefile when no 64bitknu2001-08-141-0/+5
| | | | | | | integer type is detected. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (range_step): new method.matz2001-08-141-0/+27
| | | | | | | | | * string.c (rb_str_cmp): remove needless conditional. * string.c (rb_str_lstrip_bang) `return Qnil' was missing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c, marshal.c: Detypo: s/SIZEOF_ING/SIZEOF_INT/.knu2001-08-131-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1678 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cat): fix buffer overflow.nobu2001-08-121-2/+9
| | | | | | | | * string.c (rb_str_append): nothing to append actually when `str2' is empty. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1675 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.h: fix problems with BC++ (ruby-bugs#PR161).usa2001-08-071-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1673 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* a problem about `associated' String and `str_buf'.nobu2001-08-061-0/+8
| | | | | | | | | | | * pack.c (pack_unpack): associates p/P strings once at last(reverted to 1.26). * string.c (rb_str_associate): associates an Array at once, not but a String. realloc's when str_buf. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (num_divmod): fix typo.usa2001-08-061-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1669 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * struct.c (rb_struct_modify): should check frozen and taintmatz2001-08-061-0/+5
| | | | | | | status. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_lstrip_bang): new method.matz2001-08-061-0/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * string.c (rb_str_rstrip_bang): new method. * string.c (rb_str_associate): should consider STR_ASSOC too. * eval.c (rb_undefined): do not recurse if method_missing is undefined. * process.c (proc_waitpid): now all arguments are optional. * process.c (Init_process): waitpid is now alias to wait. * process.c (Init_process): waitpid2 is now alias to wait2. * process.c (rb_waitpid): made public. * ext/pty/pty.c (pty_getpty): avoid disturbing SIGCHLD using thread and rb_waitpid. * process.c (proc_getpgrp): now takes no argument on all platforms. * process.c (proc_setpgrp): ditto. * ext/socket/socket.c (sock_s_pack_sockaddr_in): added Socket::pack_sockaddr_in(). [new] * ext/socket/socket.c (sock_s_pack_sockaddr_un): added Socket::pack_sockaddr_un(). [new] * ext/socket/socket.c (sock_s_pack_sockaddr_in): added Socket::unpack_sockaddr_in(). [new] * ext/socket/socket.c (sock_s_pack_sockaddr_un): added Socket::unpack_sockaddr_un(). [new] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (strrdirsep): removed meaningless code.nobu2001-08-011-0/+6
| | | | | | | * file.c (rb_file_s_expand_path): return to 1.66. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (ruby_run): avoid VC++ warning.usa2001-08-011-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (Init_marshal): fix typos.usa2001-07-311-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1661 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * process.c (last_status_set): nothing returned, should be void.nobu2001-07-311-0/+6
| | | | | | | * ext/socket/socket.c (load_addr_info): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1659 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (Init_marshal): new constant Marshal::MAJOR_VERSIONmatz2001-07-311-0/+29
| | | | | | | | | | | | | | | | | | | | | and Marshal::MINOR_VERSION. * marshal.c (marshal_load): ruby_verbose test should be wrapped by RTEST(). * hash.c (rb_hash_index): should return nil (not the default value) if value is not in the hash. * numeric.c (num_div): new method added. alias to '/' which should be preserved even if '/' is redefined (e.g. by mathn). [new] * bignum.c (rb_cstr2inum): "0 ff".hex should return 0, not 255. * file.c (rb_file_s_expand_path): fixed using CharNext(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_expand_path): scans per path element not pernobu2001-07-301-2/+8
| | | | | | | | byte/character, including fix of [ruby-talk:18152] and multi-byte pathname support. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1655 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: added new commands for managing folder quotasshugo2001-07-301-0/+5
| | | | | | | and folder ACLs. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1654 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_provided): extension should be guessed usingmatz2001-07-271-0/+28
| | | | | | | | | | | | | | | rb_find_file_noext(). * eval.c (rb_f_require): should call rb_feature_p() after extension completion. * eval.c (rb_eval): add CHECK_INTS before next, redo, retry to avoid potential uninterruptable infinite loop. * file.c (rb_file_s_expand_path): use CharNext() to expand. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1653 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_find_file_noext, rb_find_file): fix tilde expansioneban2001-07-261-0/+5
| | | | | | | problem. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h: add some missing function prototypes.knu2001-07-251-0/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (strrdirsep): multi-byte pathname and DOSish separaternobu2001-07-241-1/+15
| | | | | | | | | | | | | | | | supprot. originally comes from Patrick Cheng. [new] * file.c (rb_file_s_basename, rb_file_s_dirname): use strrdirsep(). comes from Patrick Cheng. * file.c (is_absolute_path): restricted in DOSish absolute path with drive letter, and UNC support. originally comes from Patrick Cheng. * file.c (getcwd): define macro using getwd() unless provided. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1646 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb: dig the target subdirectory forknu2001-07-241-0/+5
| | | | | | | lib/* files properly in case of create_makefile("dir/name"). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_provide_feature): should not tweak extension used formatz2001-07-241-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | loading. * io.c (io_fread): use fread(3) if PENDING_COUND is available. * class.c (rb_mod_include_p): Module#include? added. [new] * re.c (ignorecase_setter): give warning on modifying $=. * string.c (rb_str_casecmp): new method. [new] * string.c (rb_str_eql): separated from rb_str_equal(), make it always be case sensitive. [new] * string.c (rb_str_hash): made it always be case sensitive. * eval.c (rb_f_require): should not include path in $" value * file.c (rb_find_file): should return 0 explicitly on failure. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in, lib/mkmf.rb: introduce a couple of new makeknu2001-07-221-0/+6
| | | | | | | | variables: CLEANFILES and DISTCLEANFILES. They'd typically be defined in a file "depend". git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e