aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * ext/extmk.rb.in, lib/mkmf.rb: introduce a couple of new makeknu2001-07-223-4/+10
| | | | | | | | variables: CLEANFILES and DISTCLEANFILES. They'd typically be defined in a file "depend". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (ruby_xrealloc): fix a dangling bug which led memoryknu2001-07-202-1/+8
| | | | | | | | reallocation to fail even though the second try after a GC succeeds. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1639 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update.knu2001-07-191-0/+39
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Rename *.jp to *.ja, since jp is a region code and ja is a languageknu2001-07-1918-16/+17
| | | | | | | code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1629 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: enable volatile directive with VC++.usa2001-07-193-3/+9
| | | | | | | * regex.c: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sync MANIFEST (add doc/net/http,pop,smtp).aamine2001-07-181-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* date-time was wrong.aamine2001-07-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add doc/net/http.rd.ja pop.rd.ja smtp.rd.jaaamine2001-07-184-0/+886
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1622 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (NUM_FAILURE_ITEMS): was confusing NUM_REG_ITEMS andmatz2001-07-1811-24/+71
| | | | | | | | | | | | | | | | | | NUM_NONREG_ITEMS, which have happened to be same value. * class.c (rb_class_new): subclass check moved to this function. * class.c (rb_class_boot): check less version of rb_class_new(). * eval.c (proc_invoke): should preserve iter status for embedded frame in the block. * file.c (rb_file_s_expand_path): may overrun buffer on stack. * string.c (rb_str_insert): forgot to call rb_str_modify(). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1621 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* modify check-in miss.aamine2001-07-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in: modify RM macro because command.com/cmd.exe don'tusa2001-07-173-2/+9
| | | | | | | | | recognize single quotation as quote character. * lib/mkmf.rb: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_load_ok): fix typo.usa2001-07-162-9/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * regex.c (re_search): should consider reverse search.matz2001-07-1418-448/+961
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dir.c (dir_s_chdir): warn only when invoked from multiple threads or block is not given. * object.c (rb_convert_type): should use rb_rescue(), not rb_rescue2(). * range.c (range_init): ditto. * object.c (rb_obj_dup): should free generic_ivar if original owns them. * string.c (rb_str_each_line): should propagate taint mark. * ext/nkf/nkf.c (rb_nkf_kconv): ditto. * eval.c (rb_f_require): revamp for simpler implementation. * file.c (rb_find_file_noext): use String object, instead of passing char* around. * file.c (rb_find_file): ditto. * dln.c (dln_load): should use NSLINKMODULE_OPTION_BINDNOW. * ruby.c (load_file): local variables 'c' remain uninitialized on xflag. * regex.c (re_match): prefetched escaped character too early. * eval.c (rb_call0): add argument check for attr_readers. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1612 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/digest/*/extconf.rb: fix so that they build from anyknu2001-07-145-4/+9
| | | | | | | directory. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-07-133-3/+7
| | | | | | | * lib/net/http.rb: HTTP#proxy? did not worked. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1610 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Import the "digest" module and the submodules, from the Rough Rubyknu2001-07-1358-784/+3558
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | project. ext/digest: This module provides the module Digest and the abstract class Digest::Base. ext/digest/md5 (which obsoletes ext/md5): This module provides the class Digest::MD5 which implements the MD5 Message-Digest Algorithm. ext/digest/rmd160: This module provides the class Digest::RMD160 which implements the RIPEMD-160 cryptographic hash function. ext/digest/sha1 (which obsoletes ext/sha1): This module provides the class Digest::SHA1 which implements the SHA-1 Secure Hash Algorithm. ext/digest/sha2: This module provides the classes Digest::SHA256, Digest::SHA384 and Digest::SHA512 which implement the SHA-256, SHA-384 and SHA-512 Secure Hash Algorithms, respectively. lib/md5.rb, lib/sha1.rb: These files are provided for backward compatibility. All these classes have the common API, which previously ext/md5 and ext/sha1 modules provided. While the new API keeps 100% backward compatibility, it has been enriched with several utility methods. Read digest.txt for further details. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in: support multi-level ext/ directories.knu2001-07-133-9/+23
| | | | | | | | | (e.g. you can have ext/foo, ext/foo/bar and ext/foo/baz) * ext/.cvsignore: let cvs ignore extinit.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Substitute "licence" with "license".knu2001-07-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention ext/nkf/nkf1.7/nkf.c.knu2001-07-131-0/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: use File::split to split a target into a prefix andknu2001-07-133-6/+14
| | | | | | | | | | a module name. This also works around a just found bug of String#rindex. * ext/extmk.rb.in: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention config.guess, config.sub, configure, parse.c andknu2001-07-131-3/+58
| | | | | | | lib/getoptlong.rb. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Detypo.knu2001-07-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention ext/socket/{addrinfo.h,getaddrinfo.c,getnameinfo.c}.knu2001-07-131-0/+33
| | | | | | | [Noted by: usa] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add LEGAL.knu2001-07-131-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Mention util.c.knu2001-07-131-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Point to the newly added file LEGAL.knu2001-07-132-6/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add LEGAL, legal notice information.knu2001-07-131-0/+171
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2001-07-12eban2001-07-121-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Let cvs ignore extmk.log.knu2001-07-121-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Let cvs ignore libruby.so.*.knu2001-07-121-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_connect): workaround for the setup ofeban2001-07-122-6/+20
| | | | | | | Cygwin socket(EALREADY). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * It is confusing to put the GPL license terms in the file COPYING;knu2001-07-119-534/+569
| | | | | | | | | | | | Rename the files COPYING and COPYING.LIB to GPL and LGPL, respectively. * While I am here, update the LGPL with the "Lesser" one. * Move the "copying" sections of the files README and README.jp to COPYING and COPYING.jp, respectively. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Oops.knu2001-07-111-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Correct the FTP site's URL.knu2001-07-112-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: modify RM macro.eban2001-07-092-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb.in: modify RM macro.eban2001-07-092-3/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.h: fix a wrong function name: rb_iglob() -> rb_globi().knu2001-07-082-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-07-085-23/+67
| | | | | | | | * lib/net/http.rb: rename HTTP#request_by_name to send_request. * lib/net/protocol.rb (ProtoSocket#read): modify typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/tempfile.rb: a tempfile must be created with mode 0600.knu2001-07-052-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Reflect the previous backport.knu2001-07-051-5/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Detypo and reword a bit.knu2001-07-052-11/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-07-032-2/+6
| | | | | | | * lib/net/http.rb (HTTP#request_by_name): arg order changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-07-035-11/+29
| | | | | | | | | | * lib/net/http.rb (HTTP#request_by_name): bug fix. * lib/net/http.rb: does not write Connection: by default. * lib/net/protocol.rb: "start" for started protocol is an error. * lib/net/protocol.rb: "finish" for finished protocol is an error. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-07-035-114/+152
| | | | | | | | * lib/net/http.rb: new method HTTP#request_by_name (test) * lib/net/http.rb: new class HTTPGenericRequest git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb: distclean should remove mkmf.log as well.knu2001-07-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval_string_wrap): should push frame (and adjustmatz2001-07-032-7/+25
| | | | | | | | | | | cbase) before wrapped eval. * eval.c (rb_eval_cmd): ditto. * eval.c (eval): should update ruby_class always after all. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* credit rb_name_error() fix to Nobuyoshi Nakada.matz2001-07-034-3/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (block_pass): do not change wrapper information.shugo2001-07-032-4/+11
| | | | | | | * eval.c (rb_yield_0): preserve wrapper information. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_name_error): raise NameError instead of LoadError.shugo2001-07-032-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (exc_exception): clone the receiver exception instead ofmatz2001-07-0224-163/+373
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | creating brand new exception object of the receiver. * eval.c (rb_eval_string_wrap): extend new ruby_top_self, not original self. * eval.c (rb_eval_cmd): respect ruby_wrapper if set. * eval.c (eval): do not update ruby_class unless scope is not provided. * eval.c (eval): preserve wrapper information. * eval.c (proc_invoke): ditto. * eval.c (block_pass): ditto. * parse.y (void_expr): too much warnings for void context (e.g. foo[1] that can be mere Proc call). * error.c (rb_name_error): new function to raise NameError with name attribute set. * eval.c (rb_f_missing): set name and args in the exception object. [new] * error.c (name_name): NameError#name - new method. * error.c (nometh_args): NoMethodError#args - new method. * lex.c (rb_reserved_word): lex_state after tRESCUE should be EXPR_MID. * gc.c (add_heap): allocation size of the heap unit is doubled for each allocation. * dir.c (isdelim): space, tab, and newline are no longer delimiters for glob patterns. * eval.c (svalue_to_avalue): new conversion scheme between single value and array values. * eval.c (avalue_to_svalue): ditto. * eval.c (rb_eval): REXPAND now uses avalue_to_svalue(), return and yield too. * eval.c (rb_yield_0): use avalue_to_svalue(). * eval.c (proc_invoke): Proc#call gives avaules, whereas Proc#yield gives mvalues. * eval.c (bmcall): convert given value (svalue) to avalue. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e