gotoyuzo
ca8be43f0e
* ext/openssl/ossl_ocsp.c (ossl_ocspreq_initialize): the argument
...
should be a String.
* ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): ditt.
* ext/openssl/ossl_x509attr.c (ossl_x509attr_initialize): ditto.
* ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): ditto.
* ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4582 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20 19:18:22 +00:00
nahi
879944aa32
* reduce expecting size of backtrace.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4581 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20 02:54:52 +00:00
nahi
deb2caf4b5
* lib/logger.rb: typo fixed.
...
* test/logger/test_logger.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-20 02:51:06 +00:00
gsinclair
1469fdd06c
Minor documentation improvements
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 07:47:46 +00:00
gsinclair
34ab8c77a1
Improved documentation
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4578 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 06:53:02 +00:00
gsinclair
fc5df64667
Converted RD to RDoc (Lyle Johnson) and improved documentation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4577 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 06:39:07 +00:00
ntalbott
65fe176ea4
* test/testunit/*: Added.
...
* lib/test/unit.rb: Documentation update.
* lib/test/unit/ui/console/testrunner.rb (TestRunner#initialize):
Ditto.
* lib/test/unit.rb: Factored out an ObjectSpace collector.
* lib/test/unit/collector/objectspace.rb: Ditto.
* sample/testunit/*: Added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 02:48:46 +00:00
gsinclair
50cd24f1cf
Small documentation correction
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-19 01:51:17 +00:00
gotoyuzo
df7c89b442
* lib/webrick/log.rb (BasicLog#log): get rid of as ineffectual
...
condition.
* lib/webrick/log.rb (BasicLog#format): add "\n" to message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 16:09:02 +00:00
matz
54fec448f5
* eval.c (proc_invoke): should push PROT_PCALL tag for orphans.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 13:57:53 +00:00
matz
5f1db6ea96
* eval.c (proc_invoke): should update "result" for orphans.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 13:43:42 +00:00
akr
def3aa514a
lib/pathname.rb: update document.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4571 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 11:35:38 +00:00
nahi
c40f4227f5
* lib/logger.rb: Comment fix. I don't like inline documentation... Hard to
...
maintain, doesn't go together with refactoring. [defensively]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4570 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 07:58:09 +00:00
eban
7e1c97611a
2003-09-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4569 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 06:38:13 +00:00
nahi
9c219837b3
* lib/logger.rb: new file. Logger, formerly called devel-logger or
...
Devel::Logger.
* sample/logger/*: new file. samples of logger.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4568 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-18 06:31:25 +00:00
matz
ea2e8d3592
* eval.c (localjump_destination): should not raise ThreadError
...
exception for "break". [ruby-dev:21348]
* eval.c (proc_invoke): use result instead of prot_tag->retval.
retval is no longer propagated to the ancestors.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 14:45:25 +00:00
nobu
6d779ac139
re-formatted wrongly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 11:39:28 +00:00
nobu
d3b780b1cf
* parse.y (tokadd_string, parse_string, yylex): escaped terminator
...
is now interpreted as is. [ruby-talk:82206]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 11:34:02 +00:00
aamine
577fa4c6a8
* test/fileutils/fileassertions.rb: new file.
...
* test/fileutils/test_fileutils.rb: new file.
* test/fileutils/test_nowrite.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4564 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:52:50 +00:00
aamine
ed970e2513
* test/strscan/test_stringscanner.rb: require test/unit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:51:32 +00:00
gotoyuzo
45ca1d0754
should check retuen value of rb_protect.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:40:17 +00:00
eban
d83381e717
2003-09-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4561 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:39:49 +00:00
aamine
dbfd0ae0bb
* test/strscan/test_stringscanner.rb: new file.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:36:04 +00:00
gotoyuzo
ad143475b9
fix command line in 'dep'.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:09:31 +00:00
gotoyuzo
30103702c3
* ext/openssl: all files are reviewed to simplify and avoid memory leak.
...
* ext/openssl/extconf.rb: add check for assert.h.
* ext/openssl/ossl.c (ossl_buf2str): new function to convert
C buffer to String and free buffer.
* ext/openssl/ossl.c (ossl_x509_ary2sk): new function to convert
Array of OpenSSL::X509 to STACK_OF(X509) with exception safe.
* ext/openssl/ossl.c (ossl_to_der, ossl_to_der_if_possible): new
functions to convert object to DER string.
* ext/openssl/ossl.h: ditto.
* ext/openssl/ossl_bio.c (ossl_membio2str): new function to convert
BIO to String object and free BIO.
* ext/openssl/ossl_bio.h: ditto.
* ext/openssl/ossl_pkcs7.c (ossl_pkcs7_to_der): add for "to_der".
* ext/openssl/ossl_x509name.c (ossl_x509name_to_der): ditto.
* ext/openssl/ossl_x509ext.c (ossl_x509ext_to_der): ditto.
* ext/openssl/ossl_x509ext.c (create_ext_from_array): removed
and reimplement in openssl/x509.rb.
* ext/openssl/ossl_x509attr.c: reimplemented and disable some
method temporarily. this class doesn't work fine without ASN.1
data support;-) I'll rewrite in near future.
* ext/openssl/lib/openssl/x509.c (X509::Attribute): get rid off
unused code.
* ext/openssl/lib/openssl/x509.c (X509::ExtensionFactory): refine all.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-17 09:05:02 +00:00
matz
12196ee24f
* regex.c (re_compile_pattern): should not translate character
...
class range edge. [ruby-list:38393]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-16 17:37:34 +00:00
nahi
a59f05a455
* test/csv/test_csv.rb: add negative tests of row_sep.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-16 13:26:10 +00:00
eban
2b935b5041
2003-09-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-16 07:50:02 +00:00
eban
57606ec408
* MANIFEST: add test/csv/mac.csv.
...
* win32/Makefile.sub, bcc32/Makefile.sub (test): add phony NUL target.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4554 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-16 07:50:00 +00:00
nahi
ffc136a024
* lib/csv.rb: add extra pamameter to specify row(record) separater character.
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-15 10:07:42 +00:00
michal
bd96b4c8cc
OpenSSL update
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-12 13:46:48 +00:00
nobu
ecf0c48d5a
* intern.h (rb_disable_super, rb_enable_super): replace with dummy
...
expressions instead of prototypes. the functions remain yet for
binary compatibility. [ruby-talk:81758]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-12 03:30:45 +00:00
eban
1a98699db6
2003-09-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-12 03:27:25 +00:00
matz
fc8e62d0df
* bignum.c (rb_big_and): convert argument using 'to_int'.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-12 03:16:31 +00:00
wew
20e165a040
Added documentation in RDoc format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4548 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-12 02:29:38 +00:00
dblack
960b91c629
whitespace fix in ChangeLog entry
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4547 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-11 22:15:58 +00:00
dblack
689389ac95
lib/scanf.rb
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-11 22:13:50 +00:00
dblack
e7653fa093
Took out useless @matched_item variable; some small refactoring.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4545 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-11 22:06:14 +00:00
gotoyuzo
fb65eed72e
* ext/openssl/ossl.h: define OSSL_NO_CONF_API for win32 platform.
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@4544 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-10 13:58:31 +00:00
eban
8852a09e9e
2003-09-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-10 13:45:14 +00:00
usa
3587c1c725
* eval.c (win32_get_exception_list): avoid VC7 warning.
...
[ruby-win32:577]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-10 13:43:27 +00:00
eban
46b5d7308b
2003-09-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-09 02:19:56 +00:00
nagai
7038484831
* fill empty full-name fields on ChangeLog. Sorry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-09 01:44:16 +00:00
nobu
80edcf82a1
* eval.c (struct tag): dst should be VALUE.
...
* eval.c (localjump_destination): stop at the scope where the current
block was created. [ruby-dev:21353]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4539 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-09 01:39:58 +00:00
gotoyuzo
9edcc5e99a
* ext/openssl/ossl_config.rb: avoid compile error in OpenSSL-0.9.6.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4538 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-08 20:19:01 +00:00
gotoyuzo
be28a6ffd8
meta_vars should be String.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4537 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-08 20:13:15 +00:00
gotoyuzo
dba351e9c2
* lib/webrick/httpserver.rb (HTTPServer#access_log): add "\n" to
...
the message.
* lib/webrick/log.rb (BasicLog#log): add "\n" only if needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-08 16:57:25 +00:00
nagai
56663d45fc
* forget the file path for the ChangeLog entry. Sorry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-08 13:21:16 +00:00
nagai
8951a69a16
* multi-tk.rb: modify security check at creating a new interpreter
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-08 13:16:57 +00:00
eban
4b98d17022
* ext/openssl/ossl_config.c (ext/openssl/ossl_config.c): typofix (ossl_raise).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@4533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2003-09-08 11:02:35 +00:00