summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * parse.y (singleton): typo fixed (ruby-bugs-ja PR#562)matz2003-08-273-5/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): *a = [1,2] now assigns [[1,2]] to a.matz2003-08-276-49/+82
| | | | | | | | | | | | | consistent with *a = [1], which set [[1]] to a. * node.h: merge NODE_RESTARY to NODE_SPLAT. * parse.y: rules simplified a bit by removing NODE_RESTARY. * sample/test.rb: updated for new assignment behavior. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * error.c (rb_bug): should not use other methods; this function isnobu2003-08-272-13/+22
| | | | | | | not for ordinary use. [ruby-dev:21259] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4451 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Forgot to round '*'.shigek2003-08-271-5/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4450 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334 response. ↵aamine2003-08-272-1/+6
| | | | | | [ruby-list:38279] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-27usa2003-08-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4448 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (map_errno): support winsock error.usa2003-08-263-48/+107
| | | | | | | | | | | | | | | | | | | | * win32/win32.c (pipe_exec, CreateChild, poll_child_status, waitpid, kill, link, rb_w32_rename, unixtime_to_filetime, rb_w32_utime): pass errno to map_errno(). * win32/win32.c (rb_w32_select, rb_w32_accept, rb_w32_bind, rb_w32_connect, rb_w32_getpeername, rb_w32_getsockname, rb_w32_getsockopt, rb_w32_ioctlsocket, rb_w32_listen, rb_w32_recv, rb_w32_recvfrom, rb_w32_send, rb_w32_sendto, rb_w32_setsockopt, rb_w32_shutdown, rb_w32_socket, rb_w32_gethostbyaddr, rb_w32_gethostbyname, rb_w32_gethostname, rb_w32_getprotobyname, rb_w32_getprotobynumber, rb_w32_getservbyname, rb_w32_getservbyport, rb_w32_fclose, rb_w32_close): use map_errno(). * win32/win32.h: add winsock errors. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb (OpenStruct::method_missing): prohibit modifyingmatz2003-08-262-0/+8
| | | | | | | frozen OpenStruct. [ruby-talk:80214] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sqrt() error checking bug fixed.shigek2003-08-261-6/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sqrt() speed up.shigek2003-08-261-25/+23
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4444 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-08-261-2/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4443 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-26eban2003-08-261-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4442 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_tmpsrc): add the hook for source.nobu2003-08-262-46/+62
| | | | | | | [ruby-list:38122] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * implicit.c (syck_type_id_to_taguri): corrected detection ofwhy2003-08-263-79/+89
| | | | | | | x-private types. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (rb_file_s_expand_path): avoid calling rb_scan_args() formatz2003-08-233-5/+11
| | | | | | | apparent cases. [ruby-talk:79748] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-24eban2003-08-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4438 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* BUFCHECK() doesn't update p/pend in loop.nobu2003-08-232-7/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (file_expand_path): performance improvement.nobu2003-08-232-8/+18
| | | | | | | [ruby-talk:79748] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added RDoc documentation.wew2003-08-231-5/+764
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* again, sorrynobu2003-08-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-08-231-235/+235
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/nkf/nkf.c (rb_nkf_putchar): should use rb_str_resize() to justnobu2003-08-232-237/+244
| | | | | | | resize a string, rb_str_cat() disallows NULL. [ruby-dev:21237] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4432 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb: bug fix for "foo" !~ /bar/. [ruby-talk:79942]keiju2003-08-232-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval, rb_iterate, block_pass): reduce PUSH/POP_TAG andnobu2003-08-232-45/+55
| | | | | | | EXEC_TAG() for retry. [ruby-dev:21216] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4430 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-23nobu2003-08-231-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4429 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_splat): should check if "values" is array.matz2003-08-233-8/+73
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (each_with_index_i): typo.matz2003-08-223-1/+9
| | | | | | | | * eval.c (rb_yield_splat): should call svalue_to_avalue() before calling rb_yield_0(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: re-formatted.eban2003-08-221-16/+17
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* eval.c: typomatz2003-08-221-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (inject_i): use rb_yield_values.matz2003-08-228-14/+41
| | | | | | | | | | | * enum.c (each_with_index_i): ditto. * eval.c (rb_yield_splat): new function to call "yield *values". * string.c (rb_str_scan): use rb_yield_splat(). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4424 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/rubyext.c: refactoring of the transfer methodwhy2003-08-215-719/+767
| | | | | | | | | | | | | | | dispatch. added yaml_org_handler for faster dispatch of transfers to base types. * lib/yaml/rubytypes.rb: removed handling of builtins from Ruby library. * ext/syck/token.c: quoted and block scalars are now implicit !str * ext/syck/implicit.c: empty string detected as !null. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-22eban2003-08-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (block_pass): improve passing current block.nobu2003-08-212-0/+11
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4421 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Int. overflow bug in multiplication fixed & VpNmlz() speed up.shigek2003-08-212-31/+29
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-21eban2003-08-211-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Small documentation update, including source attribution.gsinclair2003-08-211-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Small changes to documentation; mainly hiding things from RDoc.gsinclair2003-08-215-21/+43
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-20eban2003-08-201-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (ruby_connect): many systems seem to havenobu2003-08-202-5/+28
| | | | | | | a problem in select() after EINPROGRESS. [ruby-list:38080] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.h: Parser definition problems on HP-UX. [ruby-talk:79389]why2003-08-195-49/+63
| | | | | | | | | | | * ext/syck/handler.c (syck_hdlr_get_anchor): Memory leak. * ext/syck/syck.s (syck_io_file_read): Bad arguments to fread. * ext/syck/rubyext.c: Tainting issues. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD -> RDoc, with embellishments, by William Webber.gsinclair2003-08-191-724/+1055
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* to_s("+") implemented.shigek2003-08-195-499/+105
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* E added. Typo corrected.shigek2003-08-191-3/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add lib/webrick/ssl.rb.eban2003-08-191-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/ssl.rb: new file; SSL/TLS enhancement for GenericServer.gotoyuzo2003-08-198-165/+201
| | | | | | | | | | | | | | | | | | | | | | * lib/webrick/https.rb: SSLSocket handling is moved to webrick/ssl.rb. * lib/webrick/compat.rb (File::fnmatch): remove old migration code. * lib/webrick/httpserver.rb (HTTPServer#run): ditto. * lib/webrick/server.rb (GenericServer#listen): the body of this method is pull out as Utils::create_lisnteners. * lib/webrick/utils.rb (Utils::create_lisnteners): new method. * lib/webrick/server.rb (GenericServer#start): should not through unknown errors. and refine comments. * ext/openssl/lib/openssl/ssl.rb (SSLServer#accept): should close socket if SSLSocket raises error. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (next_argv): should not call GetOpenFile() if rb_stdout isshugo2003-08-192-3/+10
| | | | | | | not a IO (T_FILE). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c: sync_close is moved to SSLSocket asgotoyuzo2003-08-187-38/+95
| | | | | | | | | | | | | | | | | | a builtin. * ext/openssl/lib/openssl/buffering.rb (Buffering#close): ditto. * ext/openssl/lib/openssl/buffering.rb (Buffering#puts): should add a return to the tails of each line. * ext/openssl/lib/openssl/ssl.rb: new class OpenSSL::SSL::SSLServer. * ext/openssl/lib/net/protocols.rb (SSLIO#ssl_connect): use sync_close. * ext/openssl/sample/echo_svr.rb: use SSLServer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-19eban2003-08-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): Mac OS X standardnobu2003-08-185-17/+34
| | | | | | | | | | | | | | | headers are inconsistent at this macro. [ruby-core:01432] * ext/curses/extconf.rb: check if _XOPEN_SOURCE_EXTENDED breaks. * ext/tcltklib/stubs.c: Status macro in X11/Xthreads.h bothers winspool.h * instruby.rb: make list at first instead of iterator. [ruby-talk:79347] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-18nobu2003-08-181-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e