aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * 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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-22eban2003-08-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (block_pass): improve passing current block.nobu2003-08-212-0/+11
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-21eban2003-08-211-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Small documentation update, including source attribution.gsinclair2003-08-211-2/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4417 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-20eban2003-08-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* RD -> RDoc, with embellishments, by William Webber.gsinclair2003-08-191-724/+1055
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* to_s("+") implemented.shigek2003-08-195-499/+105
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* E added. Typo corrected.shigek2003-08-191-3/+22
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add lib/webrick/ssl.rb.eban2003-08-191-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-19eban2003-08-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-18nobu2003-08-181-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4404 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (glob_helper): preserve raw order for **.nobu2003-08-182-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/extconf.rb (HAVE_VA_ARGS_MACRO): need to compile.nobu2003-08-173-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refinement for speedup.shigek2003-08-171-24/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/ssl.rb (SSLSocket#sync_close=): add agotoyuzo2003-08-174-3/+28
| | | | | | | | | | | | | method to specify if the underlying IO will be closed in SSLSocket#close. * ext/openssl/lib/openssl/buffering.rb: add forwarders to setsockopt, getsockopt and fcntl. * ext/openssl/lib/net/protocols.rb: enable sync for SSLSocket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-17eban2003-08-171-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/extmk.rb (extmake): should not force to remake Makefile whennobu2003-08-172-4/+9
| | | | | | | installation and so on. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-16nobu2003-08-161-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * marshal.c (w_symbol, w_object): get rid of warnings.nobu2003-08-1613-93/+92
| | | | | | | | | | | | | | | | | | | | | | | | | | | * 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Typo 'selt' corrected to 'self'.shigek2003-08-161-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* sqrt() & atan() added.shigek2003-08-152-5/+46
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug fix: limit & div combination.shigek2003-08-152-42/+42
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * configure.in (HUGE_ST_INO): check whether struct stat.st_inonobu2003-08-157-27/+91
| | | | | | | | | | | | | | | | | | | | | | | | | is larger than long. [ruby-dev:21194] http://www.geocities.co.jp/SiliconValley-PaloAlto/1409/ruby/beos.html * error.c (syserr_eqq): errno might exceed Fixnum limit. * error.c (Init_Exception): moved base initialization from init_syserr(). * inits.c (rb_call_inits): postpone initializing errnos until Bignum is available. * ext/curses/curses.c (_XOPEN_SOURCE_EXTENDED): needed to let keyname() and so on be declared. * ext/curses/curses.c (curses_resizeterm, window_resize): arguments conflicted with macros in term.h. * ext/curses/curses.c (Curses module methods): ensure initialized. [ruby-dev:21191] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-15eban2003-08-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4391 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (id2ref): recycle check should be done by klass == 0.matz2003-08-146-7/+46
| | | | | | | | | | | | | | | | | | | [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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug fix and addition of math.rb.shigek2003-08-141-1/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4389 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Newly added.shigek2003-08-141-0/+147
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Changed to use lib/bigdecimal/math.rb.shigek2003-08-141-36/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4387 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/bigdecimal/math.rb added.shigek2003-08-141-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4386 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Bug fix: div method.shigek2003-08-141-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (OLE_FREE): should not callsuke2003-08-142-5/+17
| | | | | | | | | | | | ole_message_loop. * ext/win32ole/win32ole.c (ole_event_free): ditto. * ext/win32ole/win32ole.c (ole_initialize): stop calling OleUninitialize at exit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-14usa2003-08-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4383 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (rb_data_object_alloc): check type of 1st argument.usa2003-08-142-0/+6
| | | | | | | [ruby-dev:21192] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ambiguity of BigDecimal::limit removed.shigek2003-08-135-70/+97
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/https.rb (HTTPServer#run): should set syncing-modegotoyuzo2003-08-132-1/+7
| | | | | | | to SSLSocket. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (POP_BLOCK): turn on BLOCK_LEFT flag when leaving block.matz2003-08-133-4/+44
| | | | | | | | * eval.c (proc_invoke): unpack return/break destination when block is already left. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4379 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-08-13eban2003-08-131-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * object.c (rb_class_s_alloc): add function prototype to avoid VC++eban2003-08-132-3/+8
| | | | | | | warning. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/Win32API/Win32API.c (Win32API_initialize): should pass someusa2003-08-132-1/+6
| | | | | | | class to first argument of Data_Wrap_Struct(). (ruby-bugs PR#1109) git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* commit missnobu2003-08-121-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e