aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * io.c (rb_io_gets_m): set lastline ($_) even when read line ismatz2004-06-045-6/+10
| | | | | | | nil. [ruby-dev:23663] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-28eban2004-05-281-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6426 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval): bad influence on frame node.nobu2004-05-282-5/+8
| | | | | | | * eval.c (eval): reverted wrongly removed condition. [ruby-dev:23638] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pathname.rb (Pathname#initialize): fix pathname initializationakr2004-05-272-1/+14
| | | | | | | by pathname. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fwrite): check all case errno != 0 [ruby-dev:23648]ocean2004-05-272-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/pstore.rb (transaction): allow overriding dump and load.matz2004-05-275-80/+50
| | | | | | | | | [ruby-dev:23567] * lib/yaml/store.rb: follow lib/pstore.rb's change. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6420 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.shugo2004-05-272-1/+6
| | | | | | | Thanks, Rutger Nijlunsing. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fwrite): should check if errnro == ENOENT, too.eban2004-05-272-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_fwrite): workaround for bcc32's fwrite bug.eban2004-05-272-2/+11
| | | | | | | add errno checking. [ruby-dev:23627] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6415 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-27nahi2004-05-271-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/csv/test_csv.rb: illegal require module name (../lib/csv.rb).nahi2004-05-272-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6413 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add test for OpenSSL::SSL.gotoyuzo2004-05-263-0/+264
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6412 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_ssl.c (ossl_ssl_read): take optional second argumentgotoyuzo2004-05-263-8/+19
| | | | | | | | | | | | | | | | to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#read): take optional second argument to specify a string to be written. * ext/openssl/lib/openssl/buffering.rb (OpenSSL::Buffering#gets): refine regexp for end-of-line. * ext/opnessl/lib/openssl/ssl.rb (OpenSSL::SSL::SocketForwarder#listen): fix typo. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6411 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb (CSV.read, CSV.readlines): added. works as IO.read andnahi2004-05-263-92/+144
| | | | | | | | | | | | | | | IO.readlines in CSV format. * lib/csv.rb (CSV.parse): [CAUTION] behavior changed. in the past, CSV.parse accepts a filename to be read-opened (it was just a shortcut of CSV.open(filename, 'r')). now CSV.parse accepts a string or a stream to be parsed e.g. CSV.parse("1,2\n3,r") #=> [['1', '2'], ['3', '4']] * test/csv/test_csv.rb: follow above changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_eval, eval): make line number consistent on eval withnobu2004-05-262-4/+10
| | | | | | | Proc. [ruby-talk:101253] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6409 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-26eban2004-05-261-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Allow "do" after "for". Fix up css for standalone code windowdave2004-05-264-10/+34
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_init_copy): copy also positions. [ruby-talk:100910]nobu2004-05-262-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6406 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fix ML reference.nobu2004-05-261-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6405 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/syck/syck.c (syck_new_parser): clear parser on init.why2004-05-255-25/+24
| | | | | | | | | | | | thanks, ts. [ruby-core:02931] * ext/syck/token.c (sycklex_yaml_utf8): buffer underflow. thanks, ts. [ruby-core:02929] * lib/yaml/baseemitter.rb (indent_text): simpler flow block code. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (rb_yield_0, proc_invoke, proc_arity): allow passing a blocknobu2004-05-255-28/+186
| | | | | | | | | to a Proc. [ruby-dev:23533] * parse.y (block_par, block_var): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-25eban2004-05-251-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/openssl/test_x509name.rb: short names of some OIDs (serialNumbergotoyuzo2004-05-242-8/+25
| | | | | | | | | and emailAddress) are mismatched between OpenSSL 0.9.6 and 0.9.7. * test/openssl/test_x509store.rb: get rid of unused flag. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_asn1.c (ossl_i2d_ASN1_TYPE, ossl_ASN1_TYPE_free):gotoyuzo2004-05-242-8/+37
| | | | | | | workaround for the versions earlier than OpenSSL-0.9.7. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test Kernel.open accepts pathname object.akr2004-05-241-1/+12
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-24eban2004-05-241-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6397 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tcltklib/extconf.rb: add --enable-tcl-thread configure option andnagai2004-05-242-33/+144
| | | | | | | --with-tclConfig-file=<path of tclConfig.sh> configure option git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6396 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* SYSTEM identifiers must be absolutedave2004-05-243-3/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6395 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-23eban2004-05-231-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6394 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Merged Nakada-san's patch [ruby-core:02916].ttate2004-05-236-49/+70
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6393 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-22eban2004-05-221-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6392 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/sample/remote-ip_sample2.rb: modifynagai2004-05-221-10/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test/openssl/test_x509store.rb.nobu2004-05-223-0/+12
| | | | | | | * ext/tk/MANIFEST: add recent files. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * add a new sample 'ext/tk/sample/remote-ikp_sample2.rb'nagai2004-05-222-1/+54
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6385 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/tk/lib/tk.rb: add Tk.appsend_deny and improve Tk.rb_appsendnagai2004-05-2118-43/+562
| | | | | | | | | * ext/tk/lib/tk.rb, ext/tk/lib/tk/*.rb : replace obj.send() -> obj.__send__() * ext/tk/lib/remote-tk.rb: add a new library which create an object to control a Tk interpreter on the other process git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6384 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_x509crl.rb (test_basic): add test for CRL issuer.gotoyuzo2004-05-213-0/+145
| | | | | | | | * test_x509store.rb: test for OpenSSL::X509::Store * utils.rb (issue_crl): should set issuer's subject. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6381 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* MANIFEST: removed trailing white spaces.eban2004-05-211-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add '()' around parameters that don't have themdave2004-05-212-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6378 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/csv.rb: fixed a few bugs around multi char record/field separator.nahi2004-05-204-86/+251
| | | | | | | * test/csv/test_csv.rb: added boundary test for above feature. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6377 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (check_sizeof): define result size. [ruby-core:02911]nobu2004-05-202-3/+10
| | | | | | | | * lib/mkmf.rb (create_header): macro name should not include equal sign. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6376 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c: check SCM_RIGHTS macro addition toakr2004-05-202-9/+27
| | | | | | | | the msg_control field to test existence of file descriptor passing by msg_control. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6374 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/socket/socket.c (make_hostent_internal): remove debug print.matz2004-05-201-1/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (flo_eq): alway check if operands are NaN.matz2004-05-208-28/+44
| | | | | | | | | | [ruby-list:39685] * lib/cgi/session.rb: use LOCK_SH to read, and a few other improvements. [ruby-core:02328] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6372 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2004-05-20eban2004-05-201-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6370 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* At Ryan Davis' suggestion, honor visibility modifers if guarded by a ↵dave2004-05-202-1/+13
| | | | | | statement modifier git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_type): do not check pointer to incomplete type,nobu2004-05-202-2/+8
| | | | | | | | which always get compiled. [ruby-list:39683] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6368 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * rescue LoadError. [ruby-dev:23539]gotoyuzo2004-05-194-7/+35
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/envutil.rb (EnvUtil::rubybin): give priority tonobu2004-05-192-3/+7
| | | | | | | environment variable. [ruby-dev:23538] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6366 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* revert mis-edited entrynobu2004-05-191-5/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6365 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/inlinetest.rb (InlineTest::loadtest): requiring library withnobu2004-05-192-8/+15
| | | | | | | | replaced $0 can make $0 == __FILE__ block be evaluated twice. [ruby-dev:23538] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e