aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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
* * lib/matrix.rb: resolve 'ruby -w' warnings.keiju2001-06-277-13/+27
| | | | | | | | | | | | * lib/irb/locale.rb: resolve 'ruby -w' warnings. * lib/irb/multi-irb.rb: resolve 'ruby -w' warnings. * lib/irb/ruby-lex.rb: fix problem for "\\M-\\..." and "\\C-\\..." and resolve 'ruby -w' warnings. * lib/irb/ruby-token.rb: fix typo * lib/shell/command-processor.rb: resolve 'ruby -w' warnings. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * protocol.rb,smtp.rb,pop.rb,http.rb: modify document.aamine2001-06-273-179/+195
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sorry, check in miss.aamine2001-06-261-1/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* aamineaamine2001-06-265-382/+749
| | | | | | | | | | * lib/net/pop.rb: new methods POP3.auth_only, POP3#auth_only * lib/net/http.rb: HTTP.Proxy returns self if ADDRESS is nil. * lib/net/protocol.rb: new method ProtocolError#response * lib/net/protocol.rb,smtp.rb,pop.rb,http.rb: add document. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/stubs.c (ruby_tcltk_stubs): fix a typo in commenteban2001-06-251-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (svalue_to_avalue): new conversion scheme between singlematz2001-06-236-52/+88
| | | | | | | | | | | | | | | | | | | 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@1544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c (readline_event): a non-void functionknu2001-06-232-0/+6
| | | | | | | should return a value. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_connect): typoeban2001-06-221-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_connect): workaround for the setup ofeban2001-06-222-0/+13
| | | | | | | Cygwin socket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/locale.rb: fix for require "kconv" problemkeiju2001-06-222-15/+18
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0): no mvalue_to_svalue conversion here.matz2001-06-2210-96/+155
| | | | | | | | | | | | | | | | | | * eval.c (massign): takes svalue, convert it to mvalue inside. * eval.c (rb_eval): parameters for yield/return are always svalues now. * eval.c (svalue_to_mvalue): more strict conversion. * eval.c (mvalue_to_svalue): ditto. * st.c (new_size): prime hash size enabled. * ext/socket/socket.c (Init_socket): SO_* constants added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_setjmp): avoid GCC 3.0 warnings.eban2001-06-192-18/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2001-06-19eban2001-06-191-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/readline/readline.c: add new methods:knu2001-06-194-3/+56
| | | | | | | | Readline::completion_append_character and Readline::completion_append_character=.k git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (svalue_to_mvalue): new function to convert from svaluematz2001-06-193-97/+89
| | | | | | | | | | | | | | | | to mvalue. [experimental] * eval.c (mvalue_to_svalue): new function to convert from mvalue to svalue. * eval.c (rb_eval): use mvalue_to_svalue(). * eval.c (rb_yield_0): use mvalue_to_svalue(). * eval.c (proc_invoke): proper mvalue handling. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update.knu2001-06-191-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_f_require): searches ".rb" and ".so" at the samematz2001-06-1910-104/+249
| | | | | | | | | | | | | | | | | | | | | | | | | | | time. previous behavior (search ".rb", then ".so") has a security risk (ruby-bugs#PR140). * array.c (rb_ary_to_ary): new function to replace internal rb_Array(), which never calls to_a, but to_ary (rb_Array() might call both). [new] * regex.c (PUSH_FAILURE_POINT): push option status again. * regex.c (re_compile_pattern): avoid pushing unnecessary option_set. * eval.c (rb_load): tainted string is OK if wrapped *and* $SAFE >= 4. * eval.c (rb_thread_start_0): should not nail down higher blocks before preserving original context (i.e. should not alter original context). * eval.c (proc_yield): new method equivalent to Proc#call but no check for number of arguments. [new] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (Init_Dir): add a new method File::fnmatch? along withknu2001-06-133-4/+51
| | | | | | | | File::Constants::FNM_*. While I am here, FNM_NOCASE is renamed to FNM_CASEFOLD which is commonly used by *BSD and GNU libc. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Update.knu2001-06-121-0/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e