* lib/mkmf.rb (configuration): follow nil.to_s.
8 lines of code changed in:
* eval.c (search_required): use RSTRING_PTR and RSTRING_STR.
* object.c (nil_plus): ditto.
* ext/dl/cptr.c (rb_dlptr_s_to_ptr): ditto.
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): ditto.
14 lines of code changed in:
* ext/Win32API/Win32API.c (Win32API_initialize): use RSTRING_PTR and
RSTRING_LEN.
* ext/tk/stubs.c, ext/tk/tcltklib.c, ext/tk/tkutil/tkutil.c: ditto.
* ext/win32ole/win32ole.c (ole_val2olevariantdata): ditto.
* lib/mkmf.rb (create_makefile): follow nil.to_s.
* win32/resource.rb: ditto.
146 lines of code changed in:
* file.c (test_identical, rb_file_s_truncate): use RSTRING_PTR and
RSTRING_STR.
* io.c (pipe_open, rb_io_reopen): ditto.
* process.c (proc_spawn_n, rb_spawn): ditto.
* util.c (ruby_add_suffix): ditto.
33 lines of code changed in:
* ruby.h (struct RString): embed small strings.
(RSTRING_LEN): defined for accessing string members.
(RSTRING_PTR): ditto.
* string.c: use RSTRING_LEN and RSTRING_PTR.
900 lines of code changed in:
* ruby.h (struct RString): embed small strings.
(RSTRING_LEN): defined for accessing string members.
(RSTRING_PTR): ditto.
* string.c: use RSTRING_LEN and RSTRING_PTR.
484 lines of code changed in:
* array.c (rb_ary_shuffle_bang): new method.
* array.c (rb_ary_shuffle): ditto.
* random.c (genrand_real): ditto.
* random.c (genrand_int32): export the function.
* random.c (Init_Random): initialize random seed at the
beginning.
65 lines of code changed in:
* ext/tk/lib/tkextlib/blt.rb: double dashes (--) option doesn't work
properly on some versions of BLT (wrong description on the
manual of `blt::bgexec'?).
8 lines of code changed in:
2006-08-31
3 lines of code changed in:
* eval.c (ruby_init): rename top_cref to ruby_top_cref and export,
along with ruby_cref, for use by the sandbox. [ruby-core:08762]
* node.h: ditto.
15 lines of code changed in:
* gc.c (gc_sweep): typo fixed.
5 lines of code changed in:
* object.c (rb_Integer): Integer(nil) should raise TypeError.
[ruby-talk:210205]
* object.c (nil_to_s): no longer returns empty string but "nil".
[ruby-talk:210205]
* lib/mkmf.rb: avoid COMMON_HEADERS being nil.
18 lines of code changed in:
* lib/rdoc/parsers/parse_c.rb (RDoc::C_Parser::handle_method):
rdoc documents C module methods as instance methods. a patch in
[ruby-core:08536].
8 lines of code changed in:
2006-08-30
3 lines of code changed in:
* numeric.c (flo_hash): improve collision.
* string.c (rb_memhash): new generic function to calculate hash value
for memory chunk.
21 lines of code changed in:
2006-08-29
3 lines of code changed in:
* hash.c (rb_hash_s_create): fixed memory leak, based on the patch
by Kent Sibilev <ksruby at gmail.com>. fixed: [ruby-talk:211233]
19 lines of code changed in:
Document and fix my commit.
15 lines of code changed in:
Revert.
3 lines of code changed in:
Add digest.c
1 lines of code changed in:
Make RDoc show up.
1 lines of code changed in:
Fix call-seq in RDoc.
3 lines of code changed in:
Include attribution
46 lines of code changed in:
More comprehensive tests.
45 lines of code changed in:
2006-08-28
3 lines of code changed in:
Fix documentation submitted by Rick Ohnemus. ruby-Bugs-5529. [ruby-core:08725]
8 lines of code changed in:
merge Oniguruma 4.4.0
828 lines of code changed in:
updated based on date2 3.8.2.
1090 lines of code changed in:
2006-08-26
3 lines of code changed in:
add regint.h and oniguruma.h to dependence
12 lines of code changed in:
* test/wsdl/document/echo.rb: removed.
* test/wsdl/document/test_rpc.rb: remove echo.rb after test.
[ruby-dev:29337]
8 lines of code changed in:
2006-08-25
3 lines of code changed in:
* object.c (sym_call): check if the receiver is given.
9 lines of code changed in:
* lib/rexml/source.rb (REXML::IOSource#initialize): encoding have to
be set with the accessor. fixed: [ruby-list:42737]
10 lines of code changed in:
2006-08-23
3 lines of code changed in:
* lib/net/smtp.rb: parameter `to_addrs' might be an Array, .flatten is required. [ruby-dev:29316]
6 lines of code changed in:
* ext/nkf/lib/kconv.rb (Kconv::RegexpEucjp): fix regexp for euc-jp [ruby-dev:29344]
7 lines of code changed in:
2006-08-22
3 lines of code changed in:
* numeric.c (num_step): also return an enumerator object if no block
is given.
7 lines of code changed in:
2006-08-20
3 lines of code changed in:
Add TupleBag tests.
150 lines of code changed in:
accept hash argument of Symbol key.
61 lines of code changed in:
2006-08-19
3 lines of code changed in:
* file.c (rb_file_s_rename): use errno if set properly.
fixed: [ruby-dev:29293]
12 lines of code changed in:
* lib/cgi.rb (CGI::out): specify -m0 to disable MIME decode. a
patch from Fujioka <fuj at rabbix.jp>. [ruby-dev:29284]
9 lines of code changed in:
2006-08-18
3 lines of code changed in:
* file.c (rb_stat_[rRwWxX]): check for super user.
fixed: [ruby-core:08616]
32 lines of code changed in:
* ChangeLog: fixed typo.
1 lines of code changed in:
* lib/mkmf.rb: added rdoc by Daniel Berger. [ruby-core:08177]
122 lines of code changed in:
2006-08-17
3 lines of code changed in:
* marshal.c (r_byte): IO#getc returns one byte string now.
fixed: [ruby-dev:29255]
6 lines of code changed in:
* common.mk (pre-install-local): remove unnecessary code.
[ruby-dev:29249]
5 lines of code changed in:
* process.c (proc_setuid, proc_setgid, proc_seteuid, proc_setegid):
get rid of bogus implementations on Mac OS X.
36 lines of code changed in:
* ruby.c (set_arg0): fill argv other than the first with an empty
string instead of NULL.
11 lines of code changed in:
2006-08-16
3 lines of code changed in:
fix typo.
1 lines of code changed in:
* lib/net/smtp.rb: support SMTP/SSL. Thanks Kazuhiro NISHIYAMA.
* lib/net/smtp.rb: new method SMTP.use_ssl?
* lib/net/smtp.rb: new method SMTP.enable_ssl.
* lib/net/smtp.rb: new method SMTP.disable_ssl.
* lib/net/smtp.rb: new method SMTP.default_ssl_port.
* lib/net/smtp.rb: new method SMTP.default_tls_port.
* lib/net/smtp.rb: now SMTP#enable_tls accepts a SSLContext object, instead of a verity and cert. [FEATURE CHANGE]
* lib/net/smtp.rb: new method SMTP.ssl_context.
* lib/net/smtp.rb: new method SMTP.default_ssl_context.
* lib/net/smtp.rb: export SMTP.authenticate.
* lib/net/smtp.rb: export SMTP.auth_plain.
* lib/net/smtp.rb: export SMTP.auth_login.
* lib/net/smtp.rb: export SMTP.auth_cram_md5.
* lib/net/smtp.rb: export SMTP.starttls.
* lib/net/smtp.rb: export SMTP.helo.
* lib/net/smtp.rb: export SMTP.ehlo.
* lib/net/smtp.rb: export SMTP.mailfrom.
* lib/net/smtp.rb: export SMTP.rcptto.
* lib/net/smtp.rb: export SMTP.rcptto_list.
* lib/net/smtp.rb: export SMTP.data.
* lib/net/smtp.rb: export SMTP.quit.
312 lines of code changed in:
2006-08-15
3 lines of code changed in:
ansificated.
29 lines of code changed in:
Describe String#split grouping behavior. Patch by Jan Svitok [ruby-core:08603].
7 lines of code changed in:
* ext/socket/socket.c: ANSIfied. [ruby-core:08601]
6 lines of code changed in:
2006-08-13
3 lines of code changed in:
* configure.in, bcc32/Makefile.sub, win32/Makefile.sub, win32/dir.h,
win32/win32.c, win32/win32.h: large file support for win32.
248 lines of code changed in:
* ChangeLog: fix entry header format.
128 lines of code changed in:
RDoc C parser and documentation fixes
8 lines of code changed in:
Make RDoc ignore C function prototypes by Tilman Sauerbeck [ruby-core:8574].
1 lines of code changed in:
2006-08-12
3 lines of code changed in:
Replace nodoc with stopdoc so Module methods get documented.
3 lines of code changed in:
2006-08-11
3 lines of code changed in:
* ChangeLog: correct auther name.
2 lines of code changed in:
2006-08-10
3 lines of code changed in:
fix typos.
2 lines of code changed in:
* lib/net/smtp.rb (Net::SMTP::auth_cram_md5): use ord to retrieve
bytes from strings. a patch from WATANABE Tetsuya
<Tetsuya.WATANABE at nifty.com>. [ruby-dev:29240]
10 lines of code changed in:
* lib/irb/extend-command.rb (IRB::ExtendCommandBundle): pacify
RDoc. a patch from Eric Hodel <drbrain at segment7.net>.
[ruby-core:08522]
11 lines of code changed in:
2006-08-09
3 lines of code changed in:
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_string):
affected by str[0] returns 1 char string. [ruby-dev:29223]
* lib/resolv.rb (Resolv::DNS::Message::MessageDecoder::get_labels):
ditto.
12 lines of code changed in:
2006-08-08
3 lines of code changed in:
* parse.y (arg): allow newlines before ternary colon. [ruby-dev:29189]
11 lines of code changed in:
revert
4 lines of code changed in:
* ext/bigdecimal/bigdecimal.c, ext/digest/rmd160/rmd160ossl.c,
ext/digest/sha1/sha1ossl.c, ext/readline/readline.c: move
incluion of config.h to pacify AIX. a patch from Yutaka
Kanemoto <kinpoco at gmail.com>. [ruby-dev:29197]
18 lines of code changed in:
* lib/date/format.rb: specify maximum number of digits to parse
"200608007". %Y(4), %y(2), %m(2), %d(2). [ruby-core:8484]
[experimental]
10 lines of code changed in:
* configure.in, common.mk: AIX link issue. a patch from Yutaka
Kanemoto <kinpoco at gmail.com>. [ruby-dev:29190]
* ext/socket/socket.c: AIX socket support. [ruby-dev:29190]
38 lines of code changed in:
* dln.c, eval.c, gc.c, ruby.h: shut up AIX alloca warning.
[ruby-dev:29191]
10 lines of code changed in:
2006-08-07
3 lines of code changed in:
* parse.y (top_local_setup): local_vars[-1] should point
ruby_scope itself to protect local_tbl from garbage collection.
[ruby-dev:29049]
7 lines of code changed in:
%[EO]U didn't denote %U.
6 lines of code changed in:
2006-08-06
3 lines of code changed in:
* io.c (io_reopen): STDERR.reopen(open("/dev/tty", "w")) should not
clear FMODE_PREP in STDERR.
8 lines of code changed in:
merge Oniguruma 4.2.2
437 lines of code changed in:
"%\n" means "\n".
13 lines of code changed in:
add ML entry
1 lines of code changed in:
Remove tabs from Finalizer RDoc
12 lines of code changed in:
RDoc for #run= and #run?
2 lines of code changed in:
Move Example so RDoc picks it up.
22 lines of code changed in:
Clean up files for RDoc.
Add files to lib/.document.
Small fixes to drb/ssl.rb and ri_formatter.rb.
8 lines of code changed in:
Include more documentation.
56 lines of code changed in:
Leave HTML escaped for HtmlFormatter.
1 lines of code changed in:
Don't document test or sample directories.
2 lines of code changed in:
Close the socket on SSLError. [ruby-core:7198]
1 lines of code changed in:
Documentation cleanup.
Includes patches by Hugh Sasse:
* ping.rb
* weakref.rb
* mailread.rb
326 lines of code changed in:
2006-08-05
3 lines of code changed in:
* sprintf.c (rb_str_format): a bug in %c type check.
9 lines of code changed in:
* forget to ci ChangeLog
lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for
[ruby-core: 7122]. and support for ruby1.8.X.
5 lines of code changed in:
* lib/irb/{init.rb,ruby-lex.rb,slex.rb}: can't input '\c' for
[ruby-core: 7122]. and support for ruby1.8.X
38 lines of code changed in:
* lib/date/format.rb (__strptime, strftime): allow multi-line patterns
in Date#strftime the same as Time#strftime accepts.
fixed: [ruby-core:08466]
8 lines of code changed in:
* pack.c (pack_pack): check argument overrun for 'P'. based on a
patch by rucila <rucila at yahoo.cojp>. fixed: [ruby-dev:29182]
10 lines of code changed in:
2006-08-04
3 lines of code changed in:
* io.c (io_reopen): STDERR.reopen(File.open("/dev/null", "w")) should
not fclose stderr.
9 lines of code changed in:
2006-08-03
4 lines of code changed in:
* range.c (range_include): should always call Enumerable#include?
(not #===) for non numeric end points. [ruby-core:08477]
[ruby-core:08496]
8 lines of code changed in: