summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * lib/csv.rb: add extra pamameter to specify row(record) separater character.nahi2003-09-154-177/+327
| | | | | | | | | | | | | | | To parse Mac's CR separated CSV, do like this. CSV.open("mac.csv", "r", ?,,?\r) { |row| p row.to_a } The 3rd parameter in this example ?, is for column separater and the 4th ?\r is for row separater. Row separater is nil by default. Nil separater means "\r\n" or "\n". * test/csv/test_csv.rb: add tests for above feature. * test/csv/mac.csv: added. Sample CR separated CSV file. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* OpenSSL updatemichal2003-09-1217-335/+409
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * intern.h (rb_disable_super, rb_enable_super): replace with dummynobu2003-09-123-4/+13
| | | | | | | | expressions instead of prototypes. the functions remain yet for binary compatibility. [ruby-talk:81758] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-09-12eban2003-09-121-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bignum.c (rb_big_and): convert argument using 'to_int'.matz2003-09-127-24/+55
| | | | | | | | | | | | | | | * bignum.c (rb_big_or): ditto. * bignum.c (rb_big_xor): ditto. * eval.c (rb_f_require): allow "require" on $SAFE>0, if feature name is not tainted. * lib/rexml/parsers/baseparser.rb (REXML::Parsers::BaseParser::stream): Supports StringIO. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added documentation in RDoc format.wew2003-09-121-38/+799
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* whitespace fix in ChangeLog entrydblack2003-09-111-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* lib/scanf.rbdblack2003-09-111-0/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Took out useless @matched_item variable; some small refactoring.dblack2003-09-111-18/+18
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.h: define OSSL_NO_CONF_API for win32 platform.gotoyuzo2003-09-102-0/+14
| | | | | | | | | | | | | | | libeay32.dll doesn't export functions defined in conf_api.h. this workaround is to avoid link error. * ext/openssl/ossl_config.c (ossl_config_initialize): ditto. * ext/openssl/ossl_config.c (ossl_config_add_value): ditto. * ext/openssl/ossl_config.c (set_conf_section_i): should check if the argument is Array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-09-10eban2003-09-101-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (win32_get_exception_list): avoid VC7 warning.usa2003-09-104-0/+18
| | | | | | | [ruby-win32:577] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-09-09eban2003-09-091-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * fill empty full-name fields on ChangeLog. Sorry.nagai2003-09-091-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (struct tag): dst should be VALUE.nobu2003-09-093-10/+19
| | | | | | | | * eval.c (localjump_destination): stop at the scope where the current block was created. [ruby-dev:21353] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_config.rb: avoid compile error in OpenSSL-0.9.6.gotoyuzo2003-09-082-0/+22
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* meta_vars should be String.gotoyuzo2003-09-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpserver.rb (HTTPServer#access_log): add "\n" togotoyuzo2003-09-083-2/+12
| | | | | | | | | the message. * lib/webrick/log.rb (BasicLog#log): add "\n" only if needed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * forget the file path for the ChangeLog entry. Sorry.nagai2003-09-081-1/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * multi-tk.rb: modify security check at creating a new interpreternagai2003-09-082-4/+16
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl_config.c (ext/openssl/ossl_config.c): typofix (ossl_raise).eban2003-09-081-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb, lib/optparse/version.rb: search also allnobu2003-09-083-9/+29
| | | | | | | capital versions. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.h: include openssl/conf.h and openssl/conf_api.h.gotoyuzo2003-09-086-61/+316
| | | | | | | | | | | | | | | | | | | | | | * ext/openssl/ossl_config.c: refine all with backward compatibility. * ext/openssl/ossl_config.h: export GetConfigPtr() and DupConfigPtr(). * ext/openssl/ossl_x509.c: added new constants under X509 module. DEFAULT_CERT_AREA, DEFAULT_CERT_DIR, DEFAULT_CERT_FILE, DEFAULT_CERT_DIR_ENV, DEFAULT_CERT_FILE_ENV and DEFAULT_PRIVATE_DIR. * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_free): don't free the members of the struct. it's left to GC. * ext/openssl/ossl_x509ext.c (ossl_x509_set_config): add for config=. * ext/openssl/ossl_x509ext.c (Xossl_x509extfactory_initialize): add attr readers: issuer_certificate, subject_certificate, subject_request, crl and config. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ossl.h: include openssl/conf.h and openssl/conf_api.h.gotoyuzo2003-09-081-0/+21
| | | | | | | | | | | | | | | | | | | | | | * ext/openssl/ossl_config.c: refine all with backward compatibility. * ext/openssl/ossl_config.h: export GetConfigPtr() and DupConfigPtr(). * ext/openssl/ossl_x509.c: new constants (DEFAULT_CERT_AREA, DEFAULT_CERT_DIR, DEFAULT_CERT_FILE, DEFAULT_CERT_DIR_ENV, DEFAULT_CERT_FILE_ENV and DEFAULT_PRIVATE_DIR) in X509 module. * ext/openssl/ossl_x509ext.c (ossl_x509extfactory_free): don't free the members of the struct. it's left to GC. * ext/openssl/ossl_x509ext.c (ossl_x509_set_config): add for config=. * ext/openssl/ossl_x509ext.c (Xossl_x509extfactory_initialize): add attr readers: issuer_certificate, subject_certificate, subject_request, crl and config. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-09-08eban2003-09-081-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/accesslog.rb (AccessLog::setup_params): use req.portgotoyuzo2003-09-088-14/+33
| | | | | | | | | | | | | | | | | | | | instead of config[:Port] or req.request_uri.port. * lib/webrick/httprequest.rb (HTTPRequest#meta_vars): ditto. * lib/webrick/httpservlet/filehandler.rb (FileHandler#dir_list): ditto. * lib/webrick/config.rb: :Listen option never be used. * lib/webrick/server.rb (GenericServer#initialize): don't use :Listen option and add warning message. * lib/webrick/log.rb (BasicLog#<<): shortcut of log(INFO, ...). * lib/webrick/httpserver.rb (HTTPServer#accesslog): use << for logging. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tcltklib.c (lib_mainloop_core): fixed signal-trap bugnagai2003-09-0717-79/+229
| | | | | | | | * multi-tk.rb, tk.rb, tkafter.rb, tkcanvas.rb, tkfont.rb, tktext.rb, tkvirtevent.rb : Ruby/Tk works at $SAFE == 4 git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_*.rb: assert_same, assert_match, and so on.nahi2003-09-0610-28/+28
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-09-07eban2003-09-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (assignable): call rb_compile_error(), not rb_bug().matz2003-09-062-1/+6
| | | | | | | [ruby-core:01523] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4524 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ruby_missing.c: rid of unnecessary backwardgotoyuzo2003-09-061-2/+0
| | | | | | | compatibility stuff. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/ruby_missing.c: rid of unnecessary backwardgotoyuzo2003-09-0617-37/+102
| | | | | | | | | | | | | | | | compatibility stuff. and remove DEFINE_ALLOC_WRAPPER from all sources. * ext/openssl/ossl_x509ext.c (X509::Extension.new): new method. * ext/openssl/ossl_x509ext.c (X509::Extension#oid=): new method. * ext/openssl/ossl_x509ext.c (X509::Extension#value=): new method. * ext/openssl/ossl_x509ext.c (X509::Extension#critical=): new method. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sync to lib/csv/tests/csv_ut.rb.nahi2003-09-051-9/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 2003-09-06usa2003-09-051-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (CreateChild): need to quote cmd if RUBYSHELL is set.usa2003-09-052-6/+18
| | | | | | | | * win32/win32.c (CreateChild): fix condition about whether to call shell or not. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/win32.c (isInternalCmd): stupid miss.nobu2003-09-052-9/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * Makefile.in (test): phony target.nobu2003-09-052-2/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (OptionParser#order, #permute, #parse): allow annobu2003-09-0532-802/+788
| | | | | | | | | | array as argument. * test/ruby/test_*.rb: moved invariants to left side in assert_equal, and use assert_nil, assert_raises and so on. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/mkmf.rb (have_library, find_library): configure by librarynobu2003-09-053-44/+88
| | | | | | | | | | | | | name. * win32/win32.c (isInternalCmd): distinguish command.com and cmd.exe. * win32/win32.c (make_cmdvector): a character just after wildcard was ignored. [ruby-core:01518] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * same as the previous commit.nahi2003-09-052-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * MANIFEST: add test/ruby/test_gc.rb.nahi2003-09-051-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_*.rb: replace 'assert(a == b)' with assert_equal(a, b)'nahi2003-09-0525-563/+569
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/openssl/lib/openssl/x509.rb: new method X509::Name::parse.gotoyuzo2003-09-056-1/+56
| | | | | | | | | | | | | * ext/openssl/ossl_digest.c: add ossl_digest_new(). * ext/openssl/ossl_digest.h: ditto. * ext/openssl/ossl_cipher.c: add ossl_cipher_new(). * ext/openssl/ossl_cipher.h: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * misc/ruby-mode.el (ruby-font-lock-maybe-here-docs): should notnobu2003-09-052-2/+7
| | | | | | | search delimiter forward if found in backward. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (mark_frame_adj): need to adjust argv pointer if usingmatz2003-09-055-28/+60
| | | | | | | | | | | | system's alloca. [ruby-core:01503] * io.c (rb_f_gets): should call next_argv() before type check current_file. [ruby-list:38336] * eval.c (proc_invoke): should retrieve retval when pcall is true. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/runner.rb: arguments should be keys.nobu2003-09-052-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_system.rb (test_system): check existence of rubyeban2003-09-052-7/+17
| | | | | | | interpreter. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/runner.rb: convert Version to numeric array.nobu2003-09-051-3/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* test/runner.rb: add Release.nobu2003-09-051-3/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/optparse.rb (--version): fix assignment/reference order.nobu2003-09-055-16/+53
| | | | | | | | | | | | | | * lib/optparse.rb (OptionParser#help): new; OptionParser#to_s may be deprecated in future. * lib/optparse/version.rb (OptionParser#show_version): hide Object. * test/runner.rb: fix optparse usage. * test/runner.rb: glob all testsuits if no tests given. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e