summaryrefslogtreecommitdiffstats
path: root/lib
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/net/smtp.rb (check_response): AUTH CRAM-MD5 returns 334 response. ↵aamine2003-08-271-1/+1
| | | | | | [ruby-list:38279] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4449 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/ostruct.rb (OpenStruct::method_missing): prohibit modifyingmatz2003-08-261-0/+3
| | | | | | | frozen OpenStruct. [ruby-talk:80214] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4446 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (create_tmpsrc): add the hook for source.nobu2003-08-261-43/+55
| | | | | | | [ruby-list:38122] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4441 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
* * lib/irb/ruby-lex.rb: bug fix for "foo" !~ /bar/. [ruby-talk:79942]keiju2003-08-231-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4431 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enum.c (inject_i): use rb_yield_values.matz2003-08-222-5/+11
| | | | | | | | | | | * 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-211-78/+0
| | | | | | | | | | | | | | | 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
* 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
* 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
* * lib/webrick/ssl.rb: new file; SSL/TLS enhancement for GenericServer.gotoyuzo2003-08-196-160/+170
| | | | | | | | | | | | | | | | | | | | | | * 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
* * marshal.c (w_symbol, w_object): get rid of warnings.nobu2003-08-161-9/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | * re.c (rb_memsearch): ditto. * time.c (time_dump): ditto. * ext/extmk.rb (extmake): not continue making when extconf.rb failed. * ext/openssl/extconf.rb: check __VA_ARGS__ macro more precisely. * ext/openssl/ossl.h: remove version.h dependency. * ext/openssl/ruby_missing.h: ditto. * lib/mkmf.rb (pkg_config): use --libs output except with only-L for other options. [ruby-list:38099] * lib/mkmf.rb (create_makefile): separate rule for static library from shared object. * win32/Makefile.sub, bcc32/Makefile.sub, wince/Makefile.sub: define exec_prefix and libdir. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (id2ref): recycle check should be done by klass == 0.matz2003-08-141-1/+1
| | | | | | | | | | | | | | | | | | | [ruby-core:01408] * eval.c (Init_Thread): Continuation#[] added. [ruby-talk:79028] * parse.y (mlhs_node): should allow "::Foo" (colon3) as lhs. * parse.y (lhs): ditto. * parse.y (yylex): should return tCOLON3 right after kCLASS. [ruby-talk:78918] * error.c (exc_initialize): was converting argument to string too eagerly. Only check was needed. [ruby-talk:78958] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/https.rb (HTTPServer#run): should set syncing-modegotoyuzo2003-08-131-0/+1
| | | | | | | to SSLSocket. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD -> RDoc by William Webbergsinclair2003-08-111-248/+381
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/debug.rb(debug_command): inspection command should inspect resultingnahi2003-08-111-6/+6
| | | | | | | | | value even if it's nil. [ruby-dev:21180] by OMAE, jun <jun66j5@ybb.ne.jp>. * lib/debug.rb(debug_command): incomplete regexp. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httputils.rb (FormData#list): should not takegotoyuzo2003-08-071-2/+1
| | | | | | | a side effect for the receiver. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4352 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/testcase.rb: Added equality checking.ntalbott2003-08-063-3/+23
| | | | | | | | * lib/test/unit/testsuite.rb: Added equality checking. * lib/test/unit/assertions.rb: Fixed a warning. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4341 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD -> RDoc by William Webbergsinclair2003-08-061-326/+302
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_library): treat nil function name as "main".nobu2003-08-061-4/+4
| | | | | | | (ruby-bugs:PR#1083) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4338 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): pass LIBPATH to make ruby. [ruby-dev:21137]nobu2003-08-061-14/+38
| | | | | | | | | | | | | | | | | | | | | | | | | * ext/extmk.rb (extmake): set library name as source file name in Init_ext(). [ruby-dev:21137] * lib/mkmf.rb (Logging::postpone): postpone logging messages after heading message as the result of the block. * lib/mkmf.rb (macro_defined?): append newline to src unless ended with it. * lib/mkmf.rb (have_library): allow nil function name to just append a library. (ruby-bugs:PR#1083) * lib/mkmf.rb (pkg_config): should append additional libraries to $libs but not $LIBS. [ruby-dev:21137] * ext/io/wait/extconf.rb: check DOSISH macro instead of platform. * ext/digest/sha1/extconf.rb: have_library already appends library name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: update document.aamine2003-08-053-69/+80
| | | | | | | | * lib/net/pop.rb: ditto. * lib/net/protocol.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4335 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc updated by William Webbergsinclair2003-08-051-135/+204
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4334 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RDoc comments provided by William Webber <wew@williamwebber.com>gsinclair2003-08-051-467/+405
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4331 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/shell/command-processor.rb (Shell::CommandProcessor::rmdir):matz2003-08-051-1/+1
| | | | | | | | | simple typo. * string.c (str_new4): ptr may refer null_str. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4328 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/fileutils.rb (install): should preserve timestamp only.eban2003-08-051-5/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lex.rb, lib/irb/ruby-token.rb: support %s-notation for irb.keiju2003-08-052-2/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4322 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb/ruby-lec.rb: support %W-notation.keiju2003-08-051-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4321 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/delegate.rb (marshal_dump, marshal_load: defined for Marshal.matz2003-08-041-0/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4318 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit/ui/console/testrunner.rb: Flushed io in thematz2003-08-041-0/+2
| | | | | | | Console::TestRunner so that it will output immediately. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4312 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb (receive_responses): raise exception toshugo2003-08-041-17/+33
| | | | | | | client_thread. Thanks to William Webber. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4310 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/imap.rb: convert RD to RDoc.shugo2003-08-041-812/+871
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4309 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.h (help): new. % ruby -run -e help cpeban2003-08-031-13/+44
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4301 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_to_s): get rid of buffer overflow.matz2003-08-021-219/+237
| | | | | | | | * io.c (appendline): clearerr(3) before raising exception, since exception may be captured by rescue. [ruby-talk:77794] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4290 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/https.rb: change an option name.gotoyuzo2003-08-021-2/+2
| | | | | | | :SSLCertStore -> :SSLCertificateStore. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/smtp.rb: respond_to? needs 2nd argument. [ruby-talk:77796]aamine2003-08-021-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4288 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (pkg_config): get configuration by pkg-config. [new]nobu2003-08-021-0/+21
| | | | | | | * ext/openssl/extconf.rb: use pkg_config. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb: add each descriptions for the -v option.eban2003-08-021-0/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4280 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_obj_singleton_methods): should not go up tomatz2003-08-011-1/+2
| | | | | | | | | | | | | | ancestors unless the recursive flag is set. [ruby-list:38007] * hash.c (env_each_key): use env_keys to avoid environment modify on the fly. * hash.c (env_each_value): use env_values for safety. * hash.c (env_each): allocate environment array first. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4277 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/store.rb (YAML::Store#initialize): filename is firstwhy2003-08-011-1/+1
| | | | | | | argument. Thanks Kent Dahl. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4275 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: refine document.aamine2003-08-011-118/+174
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb: convert RD to RDoc. Thanks William Webber. [ruby-doc:456]aamine2003-08-011-591/+566
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4270 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (BEGIN_CALLARGS): should not always reset ruby_iter,matz2003-08-011-1/+0
| | | | | | | | | | | | | | | | | | | need to restore previous value. [ruby-talk:77577] * array.c (rb_ary_fill): array length may be changed during the block execution. [ruby-talk:77579] * array.c (rb_ary_zip): ditto. * array.c (rb_ary_fill): ditto. * hash.c (env_reject_bang): length may be changed during the block execution. * hash.c (env_clear): ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4254 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* import erb-2.0.4b4seki2003-07-311-9/+9
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4246 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_num_coerce_relop): export function.matz2003-07-311-69/+63
| | | | | | | | * marshal.c (w_object): check has been dropped. "_dump must return string." [ruby-dev:21024] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4243 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* add explicit trim modeseki2003-07-311-16/+144
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4238 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (return_code): obsolete.shugo2003-07-301-26/+28
| | | | | | | | | * lib/net/ftp.rb (last_response_code): new method. lastresp is now alias to last_response_code. * lib/net/ftp.rb (last_response): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4237 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (dir_config): allow multiple directories separatednobu2003-07-301-11/+20
| | | | | | | | | | | | | by File::PATH_SEPARATOR. * lib/mkmf.rb (create_makefile): DLDFLAGS include $LDFLAGS again. [ruby-talk:76894] * lib/mkmf.rb (init_mkmf): not default $LDFLAGS to LDFLAGS for ruby itself, but default $DLDFLAGS to DLDFLAGS. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4236 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/un.rb: add descriptions.eban2003-07-301-21/+103
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4234 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-07-301-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4228 b2dd03c8-39d4-4d8f-98ff-823fe69b080e