matz
9f6b3edcd6
* array.c (rb_ary_times): Array#* should return an instance of
...
the class of right operand. [ruby-dev:24526]
* ext/zlib/zlib.c (zstream_detach_buffer): should not expose
class-less object to Ruby world. [ruby-dev:24530]
* eval.c (proc_dup): provide Proc#dup as well. [ruby-talk:116915]
* eval.c (ruby_exec): stack marking position may be higher than
expected. thanks to Guy Decoux. [ruby-core:03527]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 19:17:33 +00:00
dave
b9ec9b69a9
Commit missed file.. Sorry folks
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 16:21:50 +00:00
nobu
60a7b3a935
* eval.c (search_required): required name must not be changed before
...
loading. [ruby-dev:24492]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 15:25:49 +00:00
nobu
db00c782f4
* eval.c (rb_require_safe): provide the feature after loaded.
...
[ruby-list:40085]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 14:59:52 +00:00
dave
d43b40dbdd
RDoc can now deal with "attr" used as a variable
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 13:46:05 +00:00
suke
05a43e2367
* ext/win32ole.c(ole_invoke): retrieve the result value when
...
retrying the IDispatch::invoke.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 11:40:33 +00:00
matz
1057902ac7
* io.c (read_all): block string buffer modification during
...
rb_io_fread() by freezing it temporarily. [ruby-dev:24479]
* dir.c (rb_push_glob): block call at once the end of method.
[ruby-dev:24487]
* ext/enumerator/enumerator.c (enum_each_slice): remove
rb_gc_force_recycle() to prevent potential SEGV.
[ruby-dev:24499]
* ext/zlib/zlib.c (zstream_expand_buffer): hide internal string
buffer by clearing klass. [ruby-dev:24510]
* ext/socket/socket.c (sock_s_getservbyaname): protocol string
might be altered. [ruby-dev:24503]
* string.c (rb_str_upto): check if return value from succ is a
string. [ruby-dev:24504]
* io.c (rb_io_popen): get mode string via rb_io_flags_mode() to
avoid mode string modification. [ruby-dev:24454]
* io.c (rb_io_getline_fast): should take delim as unsigned char to
distinguish EOF and '\377'. [ruby-dev:24460]
* io.c (rb_io_getline): add check for RS modification.
[ruby-dev:24461]
* enum.c (enum_sort_by): use qsort() directly instead using
rb_iterate(). [ruby-dev:24462]
* enum.c (enum_each_with_index): remove rb_gc_force_recycle() to
prevent access to recycled object (via continuation for
example). [ruby-dev:24463]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 10:25:23 +00:00
nobu
c0700eba8d
2004-10-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 00:07:23 +00:00
nobu
9bd744a092
* indent and tabify
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-19 00:03:01 +00:00
nobu
39324f819f
* string.c (rb_str_upto): method result must be checked. [ruby-dev:24504]
...
* eval.c (error_print): ditto. [ruby-dev:24519]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-18 23:47:32 +00:00
nobu
f2549e0bf7
* marshal.c (r_object0): check inheritance by the internal function.
...
[ruby-dev:24515]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-18 14:37:42 +00:00
eban
79e68a49d9
* ext/tk/MANIFEST: add lib/tkextlib/tcllib/ico.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-18 02:40:13 +00:00
nobu
0fdb2ae104
* io.c (rb_io_flags_mode, rb_io_mode_flags): distinguish whether file
...
not existing is created. [ruby-dev:24505]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-18 02:29:43 +00:00
nobu
6a6773b969
2004-10-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-17 22:28:29 +00:00
nobu
2cb2ef977c
* file.c (rb_file_truncate): discard read buffer before truncation.
...
[ruby-dev:24197]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-17 22:26:58 +00:00
gotoyuzo
96bd1643a0
* lib/webrick/httprequest.rb (WEBrick::HTTPRequest#initialize):
...
initial value of accpet-* should be array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-17 16:57:44 +00:00
nagai
6fb00e8a1f
* ext/tk/lib/tk/timer.rb: TkTimer#start and restart accept a block
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-17 14:05:19 +00:00
usa
fa420ca48a
2004-10-17
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-17 09:26:15 +00:00
suke
deaed31974
* ext/win32ole/win32ole.c (fole_func_methods): correct argument mismatch.
...
* ext/win32ole/win32ole.c (fole_get_methods): ditto.
* ext/win32ole/win32ole.c (fole_put_methods): ditto.
* ext/win32ole/tests/testWIN32OLE.rb: add test for WIN32OLE#ole_func_methods
WIN32OLE#ole_get_methods, WIN32OLE#ole_put_methods
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-17 04:02:16 +00:00
kou
42dc258031
* lib/rss/0.9.rb (RSS::Rss#to_s): removed garbage.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-16 05:47:17 +00:00
kou
891ad83098
* lib/rss/: untabified.
...
* test/rss/: untabified.
* lib/rss/0.9.rb (RSS::Rss#to_s): inent -> indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-16 04:51:15 +00:00
kou
0ebac90b0e
* lib/rss: supported prety print.
...
* test/rss/test_1.0.rb: added test for calculating default indent size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-16 04:39:58 +00:00
nagai
64422ae494
* ext/tk/lib/tkextlib/tcllib: based on Tcllib 1.7
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-16 02:13:54 +00:00
eban
af6061e50b
* 2004-10-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-16 01:59:44 +00:00
nobu
740b2d99ce
* lib/mkmf.rb (create_makefile): install-rb is needed for statically
...
linked extensions. [ruby-dev:24491]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-16 01:56:44 +00:00
suke
f282f05fbc
.document : entry win32ole.c for rdoc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-15 14:49:44 +00:00
suke
4e5c3ea0dc
.document : entry win32ole.c for rdoc.
...
MANIFEST : add .document
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-15 14:43:39 +00:00
eban
52d096987b
* 2004-10-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-15 09:24:29 +00:00
gotoyuzo
8c1b803ed4
* ext/openssl/ossl_x509store.c
...
(ossl_x509stctx_initialize): setup OpenSSL::X509::StoreContext with
ossl_x509stctx_* functions instead of X509_STORE_CTX_*.
(ossl_x509store_set_time): add OpenSSL::X509::Store#time=.
(ossl_x509stctx_set_time): add OpenSSL::X509::StoreContext#time=.
* test/openssl/ossl_x509store.rb: test certificate validity times.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-15 09:16:19 +00:00
nagai
bb4e34110b
* ext/tk/lib/tk/timer.rb: TkTimer.new(interval, loop){ ... } is acceptable.
...
Add TkTimer.start ( == new + start ).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-15 09:06:52 +00:00
akr
5677755bae
eval.c (Init_stack): make prototype declaration consistent with the definition in gc.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-15 03:54:02 +00:00
eban
8069e3f8e7
* 2004-10-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-14 04:42:47 +00:00
kou
56d7198e55
* added link to Tutorial.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-14 04:36:35 +00:00
gotoyuzo
385edf1e5c
* lib/webrick/config.rb:
...
add WEBrick::Config::FileHandler[:AcceptableLanguages].
* lib/webrick/httpservlet/filehandler.rb
(WEBrick::HTTPServlet::FileHandler#set_filename): search files
having suffix of language-name which Accept-Language header field
includes if :AcceptableLanguages options is present.
* lib/webrick/httpservlet/filehandler.rb
(WEBrick::HTTPServlet::FileHandler#get_servlet): new method to
search servlet correspond to the suffix of filename.
* lib/webrick/httprequest.rb: add attributes access methods: accept,
accept_charset, accept_encoding, accept_language, content_length
and content_type.
* lib/webrick/httpresponse.rb: add attribute access methods:
content_length, content_length=, content_type and content_type=.
* lib/webrick/httputils.rb (WEBrick::HTTPUtils.mime_types):
use the second suffix to detect media type. (the first suffix
may be a language name.)
* lib/webrick/httputils.rb (WEBrick::HTTPUtils.parse_qvalues):
add method to parse Accept header field. it returns an Array of
values sorted by the qvalues.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-12 12:26:39 +00:00
eban
90b337ce37
* 2004-10-12
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-12 06:07:42 +00:00
eban
1d81baaf36
* io.c (MODE_BINMODE, MODE_BINARY): fixed reversed condition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7031 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-12 06:07:01 +00:00
eban
6c2684ab95
* 2004-10-11
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7030 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-11 07:39:51 +00:00
nagai
3514110b89
* ext/tk/lib/tk/*: untabify
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-11 04:51:21 +00:00
eban
05f5928c9d
* 2004-10-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-10 05:56:09 +00:00
dave
f5666a648d
Support "require" as variable name in RDoc
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-10 03:35:51 +00:00
aamine
1344cfba26
* test/ripper/test_scanner_events.rb: test location information.
...
* test/ripper/test_scanner_events.rb: test \n between comments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-09 18:20:46 +00:00
aamine
493bcc9b64
* ext/ripper/lib/ripper/filter.rb: require ripper/tokenizer.
...
* ext/ripper/lib/ripper/filter.rb (parse): argument is optional.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-09 17:49:41 +00:00
aamine
580a9e70e2
* parse.y [ripper]: \n between two comments disappeared.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-09 17:45:20 +00:00
kou
3f5c0f4f6f
* lib/rss/converter.rb: changed to try to use Iconv for default
...
conversion.
* lib/rss/rss.rb: 0.0.9 -> 0.1.0.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-09 12:30:52 +00:00
eban
abc8e89324
* 2004-10-09
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-09 11:57:51 +00:00
akr
126cd9d01e
add test for [ruby-dev:24460]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7019 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-09 11:53:16 +00:00
nobu
225f22cd9a
* io.c (rb_io_getline): should not treat char as negative value.
...
[ruby-dev:24460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7018 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-09 10:51:11 +00:00
aamine
e9f4ad970a
* lib/fileutils.rb (fu_traverse): return value of Dir.entries is reliable. (pass $SAFE=1)
...
* lib/fileutils.rb (remove_dir): return value of Dir.foreach is reliable. (pass $SAFE=1)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7017 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-08 12:37:19 +00:00
eban
1f1d15f899
* 2004-10-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7016 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-08 04:08:06 +00:00
matz
5de7917c8e
* pack.c (pack_pack): pointer modification check before each
...
iteration. [ruby-dev:24445]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@7015 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2004-10-08 03:36:54 +00:00