From 01/14/2008 to 01/20/2008


09:40 PM Revision 15148: * transcode.c (transcode_dispatch): constified return value.
* transcode_data.h (rb_transcoding): include pointer to rb_transcoder
and auxiliary data.
* transcode_data.h (rb_t...
nobu (Nobuyoshi Nakada)
06:45 PM Revision 15147: * string.c (rb_str_each_char): advance offset before get next char
length. [ruby-dev:33211] nobu (Nobuyoshi Nakada)
05:12 PM Revision 15146: add a test.
akr (Akira Tanaka)
01:51 PM Revision 15145: add a test for each_char.
akr (Akira Tanaka)
11:00 AM Revision 15144: Sun Jan 20 20:00:20 2008 Martin Duerst <>
* transcode.c, enc/trans/utf_16_32.c, test/ruby/test_transcode.rb:
added UTF-16LE conversions.
* fixed changelog...
duerst (Martin Dürst)
08:54 AM Revision 15143: Sun Jan 20 15:08:08 2008 Martin Duerst <>
* added changelog for last commit duerst (Martin Dürst)
06:12 AM Revision 15142: Sun Jan 20 15:08:08 2008 Martin Duerst <>
* enc/trans/utf_16_32.c: new file, currently implementing
UTF-16BE conversions only.
* test/ruby/test_transcode....
duerst (Martin Dürst)
04:31 AM Revision 15141: r1479@bean: ser | 2008-01-19 14:26:31 -0500
r1483@bean: ser | 2008-01-19 14:47:23 -0500
Sam's fixes:
* Don't blow up on empty documents
* Add a test case for...
ser (Sean Russell)
04:06 AM Revision 15140: * string.c (rb_str_each_char): performance improvement, and stop if
shortened in the block. [ruby-dev:33189] nobu (Nobuyoshi Nakada)
02:06 AM Revision 15139: add a test.
akr (Akira Tanaka)
01:30 AM Revision 15138: add a assertion message.
akr (Akira Tanaka)
12:51 AM Revision 15137: add a test.
akr (Akira Tanaka)
12:15 AM Revision 15136: * use -Ks when read insns.def. [ruby-dev#33185]
* parse.y: fix -e and stdin strings aren't set encoding. naruse (Yui NARUSE)


08:15 PM Revision 15135: * enc/make_encdb.rb: fix duplication check.
naruse (Yui NARUSE)
08:04 PM Revision 15134: * ascii.c: remove difinition of replica KOI8-U.
naruse (Yui NARUSE)
06:56 PM Revision 15133: update encdump for UTF-16.
akr (Akira Tanaka)
06:36 PM Revision 15132: fix a test.
akr (Akira Tanaka)
05:44 PM Revision 15131: add a test.
akr (Akira Tanaka)
03:37 PM Revision 15130: * enc/koi8_u.c: added.
* regenc.c, enc/utf_8.c, enc/unicode.c, enc/gb18030.c: add ARG_UNUSED. naruse (Yui NARUSE)
01:42 PM Revision 15129: * string.c (coderange_scan): don't call mbclen functions for ASCII
characters with ASCII compatible encoding. akr (Akira Tanaka)
12:04 PM Revision 15128: * lib/rdoc/template.rb (RDoc): defined to avoid uninitialized constant
error by `./ruby test/rubygems/test_gem_server.rb'. akr (Akira Tanaka)
11:43 AM Revision 15127: * encoding.c (enc_new): don't free rb_encoding to avoid SEGV by
`miniruby -e exit' on x86_64 GNU/Linux. akr (Akira Tanaka)
09:42 AM Revision 15126: * lib/date.rb (once): use an instance variable which points a hash
as cache. [experimental] tadf (tadayoshi funaba)
08:23 AM Revision 15125: * lib/date.rb, lib/date/format.rb: parse's hints as an
experimental function has been removed. tadf (tadayoshi funaba)
02:21 AM Revision 15124: * (sigsetjmp): check if available.
* eval.c, gc.c (setjmp): do not use _setjmp if sigsetjmp is available. nobu (Nobuyoshi Nakada)
02:10 AM Revision 15123: * Remove wrong assumptions about Cygwin. a patch from
Corinna Vinschen in [ruby-Bugs-17018]. nobu (Nobuyoshi Nakada)
01:33 AM Revision 15122: * trunk/test/rdoc/test_rdoc_ri_formatter.rb: set eol-style.
* trunk/test/rdoc/test_rdoc_ri_attribute_formatter.rb: set eol-style. nobu (Nobuyoshi Nakada)
12:29 AM Revision 15121: * ext/win32ole/win32ole.c (ole_set_safe_array): should not use
recursive calling.
* test/win32ole/test_win32ole_variant.rb: ditto.
suke (Masaki Suketa)
12:06 AM Revision 15120: * lib/rdoc/markup: Remove ListBase and Line constants.
* lib/rdoc/ri: Allow output IO to be specified.
* test/rdoc/parser/test_parse_c.rb: Move up one level, fixed.
* tes...
drbrain (Eric Hodel)


11:35 PM Revision 15119: * parse.y (parser_prepare): get encoding from the first line.
* ruby.c (load_file): set encoding to input with set_encoding.
nobu (Nobuyoshi Nakada)
06:48 PM Revision 15118: * thread.c (thread_create_core): prohibit thread creation in the
frozen thread group. a patch in [ruby-dev:33176] from sheepman
<sheepman AT>.
* thread.c (t...
matz (Yukihiro Matsumoto)
03:37 PM Revision 15117: * sprintf.c (rb_str_format): set result encoding for wider width.
nobu (Nobuyoshi Nakada)
03:15 PM Revision 15116: * thread_win32.c (w32_wait_events): shouldn't invoke interrupt handle
by timer_thread. usa (Usaku NAKAMURA)
02:49 PM Revision 15115: * thread.c (thread_create_core): set thread group before creating
thread. nobu (Nobuyoshi Nakada)
11:20 AM Revision 15114: * parse.y (ripper_initialize): too early to set parser->enc.
usa (Usaku NAKAMURA)
11:06 AM Revision 15113: * win32/setup.mak (BASERUBY): nmake cannot execute ruby collectly
if the path of ruby.exe is quoted.
* win32/setup.mak ($(ARCH)): if a macro is appended by $(APPEND),
a space wil...
usa (Usaku NAKAMURA)
08:56 AM Revision 15112: * eval_intern.h, insnhelper.h, thread_pthread.h, vm_core.h, vm_opts.h:
prefixed include guards with RUBY.
* id.h: added include guard.
* regenc.h, regint.h, regparse.h: prefixed include ...
nobu (Nobuyoshi Nakada)
06:57 AM Revision 15111: * thread.c (thread_cleanup_func): ignore errors from destroying mutex
of dead thread. [ruby-core:15069]
* thread_pthread.c, thread_win32.c (native_thread_destroy): ditto.
nobu (Nobuyoshi Nakada)
06:56 AM Revision 15110: * encoding.c (rb_enc_name_list_i, rb_enc_aliases_enc_i): freeze
element strings to be returned. nobu (Nobuyoshi Nakada)
05:43 AM Revision 15109: * test/ruby/test_m17n.rb (test_str_dump): added test for
String#dump. [ruby-dev:33142] kazu
04:49 AM Revision 15108: * string.c (rb_str_dump): preserve the encoding of source string
if it is ASCII compatible. otherwise, add '.force_encoding()'
for ugly work around. maybe we should implement som...
matz (Yukihiro Matsumoto)
03:25 AM Revision 15107: * encoding.c (load_encoding): check if successfully loaded.
nobu (Nobuyoshi Nakada)
02:45 AM Revision 15106: missing space
02:39 AM Revision 15105: * encoding.c (rb_enc_find_index): use original encoding name to
replicate loaded encoding instead alias. nobu (Nobuyoshi Nakada)
01:37 AM Revision 15104: * encoding.c (rb_enc_find_index): use original encoding name to
load DLL. matz (Yukihiro Matsumoto)
01:30 AM Revision 15103: * encoding.c (rb_enc_aliases_enc_i): exclude non alias names from
Encoding.aliases. matz (Yukihiro Matsumoto)
12:54 AM Revision 15102: * test_m17n.rb: Regexp switch `s' should mean Windows-31J, as wells as
`-Ks'. usa (Usaku NAKAMURA)
12:44 AM Revision 15101: * re.c (rb_char_to_option_kcode): Regexp switch `s' should mean
Windows-31J, as wells as `-Ks'. usa (Usaku NAKAMURA)
12:38 AM Revision 15100: * parse.y (ripper_initialize): move parser->enc initialization.
matz (Yukihiro Matsumoto)
12:23 AM Revision 15099: * parse.y (parser_initialize): explicitly call rb_ascii8bit_encoding().
* parse.y (parser_prepare): lex_input may not be have encoding (e.g. IO).
* parse.y (rb_parser_compile_string): set ...
matz (Yukihiro Matsumoto)


10:21 PM Revision 15098: * io.c (Init_IO): stdin/stdout may not be duplex.
matz (Yukihiro Matsumoto)
10:20 PM Revision 15097: * io.c (io_fwrite): always flush IO on tty, even without newlines.
[ruby-core:15107] matz (Yukihiro Matsumoto)
07:29 PM Revision 15096: Fix namespacing
drbrain (Eric Hodel)
05:06 PM Revision 15095: * vm_insnhelper.c: math.h for isnan.
nobu (Nobuyoshi Nakada)
05:02 PM Revision 15094: * bootstraptest/runner.rb (assert_valid_syntax): added.
* bootstraptest/test_knownbug.rb: added test for [ruby-list:44479] nobu (Nobuyoshi Nakada)
04:59 PM Revision 15093: * bootstraptest/test_attr.rb: moved test for [ruby-core:14641].
nobu (Nobuyoshi Nakada)
04:53 PM Revision 15092: * bootstraptest/test_attr.rb: added for [ruby-core:15120].
nobu (Nobuyoshi Nakada)
04:48 PM Revision 15091: * vm_insnhelper.c (vm_call_method): check argument number to
attr_reader. [ruby-core:15120] nobu (Nobuyoshi Nakada)
03:49 PM Revision 15090: * io.c (rb_io_check_readable): flush tied write IO too.
* io.c (Init_IO): tie stdin with stdout. [ruby-core:15107] nobu (Nobuyoshi Nakada)
03:23 PM Revision 15089: * encoding.c (enc_free): removed since rb_encoding may be used while
cleanup. nobu (Nobuyoshi Nakada)
03:17 PM Revision 15088: * enc/euc_cn.c: split from enc/euc_kr.c.
nobu (Nobuyoshi Nakada)
03:03 PM Revision 15087: * ext/stringio/stringio.c (strio_init): use default external encoding
if nothing is given. a patch from sheepman <sheepman AT> in [ruby-dev:33159].
nobu (Nobuyoshi Nakada)
02:56 PM Revision 15086: * (encdb.h): give output file name to make_encdb.rb.
* encoding.c (enc_table): simplified.
* encoding.c (enc_register_at): lazy loading. [ruby-dev:33013]
* regenc.h (E...
nobu (Nobuyoshi Nakada)
12:48 PM Revision 15085: * re.c (rb_char_to_option_kcode): fixed typo.
nobu (Nobuyoshi Nakada)
12:05 PM Revision 15083: * lib/date.rb (Date::Infinity#<=>): didn't work. A patch from
Dirkjan Bussink <d.bussink AT> [ruby-core:15098].
This is a bug obviously. However it didn't affect the...
tadf (tadayoshi funaba)
08:08 AM Revision 15082: * enc/shift_jis.c: newline at EOF.
nobu (Nobuyoshi Nakada)


01:45 PM Revision 15081: * encoding.c (enc_register_at): make own copy. [ruby-dev:33136]
nobu (Nobuyoshi Nakada)
09:38 AM Revision 15080: * enc/windows_1251.c: newline at EOF.
nobu (Nobuyoshi Nakada)
09:03 AM Revision 15079: * io.c (pipe_open, rb_io_s_popen): clear temporary object to release
and prevent from GC. nobu (Nobuyoshi Nakada)
08:56 AM Revision 15078: * numeric.c (fix_quo): typo. a patch from Shin-ichiro HARA
<sinara AT> in [ruby-dev:33130] usa (Usaku NAKAMURA)
08:36 AM Revision 15077: * test/test_delegate.rb: add new test file for delegate.rb.
usa (Usaku NAKAMURA)
07:15 AM Revision 15076: Fix grammar.
knu (Akinori MUSHA)
06:27 AM Revision 15075: * ChangeLog: commit miss.
nobu (Nobuyoshi Nakada)
06:26 AM Revision 15074: * load.c (rb_feature_p): get rid of unlimited alloca.
* object.c (rb_cstr_to_dbl): ditto.
* io.c (mode_enc): fixed uninitialized variable.
nobu (Nobuyoshi Nakada)
05:55 AM Revision 15073: * file.c (sys_fail2): get rid of unlimited alloca.
* io.c (mode_enc, pipe_open, rb_io_s_popen): ditto. nobu (Nobuyoshi Nakada)
03:51 AM Revision 15072: * include/ruby/intern.h (rb_str_tmp_new, rb_str_shared_replace):
prototype moved. nobu (Nobuyoshi Nakada)
01:36 AM Revision 15071: Clean up comments
drbrain (Eric Hodel)
01:29 AM Revision 15070: Ignore encdb.h
drbrain (Eric Hodel)


02:54 PM Revision 15069: * enc/*: add ARG_UNUSED.
* enc/koi8_u.c: added. naruse (Yui NARUSE)
02:02 PM Revision 15068: * enc/utf_{16,32}{be,le}.c: remove some ARG_UNUSED. replace struct
OnigEncodingST by OnigEncoding. naruse (Yui NARUSE)
01:36 PM Revision 15067: * encoding.c (ENC_REGISTER): use &OnigEncoding*.
(ENCINDEX_UTF_8): renamed from ENCINDEX_UTF8.
(rb_enc_init): use ENC_REGISTER.
* include/ruby/oniguruma.h (OnigEnc...
naruse (Yui NARUSE)
09:47 AM Revision 15066: * enc/utf_8.c: remove use of ONIG_ENCODING_UTF8 altogether; use
enc argument instead. matz (Yukihiro Matsumoto)
09:06 AM Revision 15065: * enc/utf_8.c (ONIG_ENCODING_UTF8): reverted.
usa (Usaku NAKAMURA)
09:05 AM Revision 15064: * win32/Makefile.sub (MKFILES): add dependecies.
usa (Usaku NAKAMURA)
09:00 AM Revision 15063: * enc/utf_8.c (OnigEncodingDefine): encoding name should be kept
unchanged. matz (Yukihiro Matsumoto)
08:53 AM Revision 15062: * enc/ ditto.
nobu (Nobuyoshi Nakada)
08:26 AM Revision 15061: * enc/utf_8.c: renamed as IANA name.
nobu (Nobuyoshi Nakada)
07:59 AM Revision 15060: * ruby.c (proc_options): encoding libraries cannot be loaded until
load path is set. nobu (Nobuyoshi Nakada)
06:09 AM Revision 15059: * win32/setup.mak: strip out empty lines from CPP output.
nobu (Nobuyoshi Nakada)
05:57 AM Revision 15058: * {win,bcc}32/setup.mak (-basic-vars-): expand BASERUBY to full path
to get rid of ./ruby.exe.
* win32/enc-setup.mak: workaround for Borland make.
nobu (Nobuyoshi Nakada)
05:44 AM Revision 15057: * encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.
nobu (Nobuyoshi Nakada)
04:55 AM Revision 15056: * {bcc32,win32}/Makefile.sub (RUNRUBY): need to set archdir when
invoking ruby. usa (Usaku NAKAMURA)
04:45 AM Revision 15055: * (us_ascii.o): add dependecies. [ruby-dev:33111]
usa (Usaku NAKAMURA)


06:41 PM Revision 15054: * eval.c (eval): check if backtrace is empty. [ruby-core:15040]
nobu (Nobuyoshi Nakada)
04:28 PM Revision 15053: * simplified dummy objects dependencies.
nobu (Nobuyoshi Nakada)
04:19 PM Revision 15052: * (OBJS): moved encoding.o from COMMONOBJS.
* (dmyencoding.o): added. [ruby-dev:33099]
*, {win,bcc}32/Makefile.sub (MINIOBJS): added
nobu (Nobuyoshi Nakada)
03:07 PM Revision 15051: * io.c (appendline): specifying limit should not generate broken
byte sequence. strings should be rounded. [ruby-dev:33088] matz (Yukihiro Matsumoto)
02:37 PM Revision 15050: * ext/nkf/lib/kconv.rb (Kconv.tolocale): argument is str.
naruse (Yui NARUSE)
02:32 PM Revision 15049: * (setup): add -I$(EXTOUT)/$(arch) to MINIRUBY.
* bootstraptest/runner.rb (main): expand -I directory path. matz (Yukihiro Matsumoto)
02:29 PM Revision 15048: * win32/enc-setup.mak (BUILTIN_ENCOBJS): depends on enc/
usa (Usaku NAKAMURA)
01:49 PM Revision 15047: * re.c (rb_char_to_option_kcode): use rb_enc_find_index() instead
of using fixed index value.
* enc/ (encsrcdir): make US-ASCII built-in.
matz (Yukihiro Matsumoto)
01:35 PM Revision 15046: * golf_prelude.rb: Shorter method name completion. Same method
used for const missing. do_while and do_until added. Enumerator
gains all of Array's abilities. Ex:
eban (Hirofumi WATANABE)
12:11 PM Revision 15045: * enc/us_ascii.c: wrong alias name: ANSI_X3.4-1986.
* rubytest.rb: add -I#{srcdir} to load encoding DLL. matz (Yukihiro Matsumoto)
10:02 AM Revision 15044: * thread.c: clear thread structure.
(TODO: survey that child process should clear mutex or not).
* bootstraptest/test_knownbug.rb, test_thread.rb: move a...
ko1 (Koichi Sasada)
09:59 AM Revision 15043: update last test.
akr (Akira Tanaka)
09:45 AM Revision 15042: * bootstraptest/runner.rb: add "flunk" method.
* bootstraptest/test_knownbug.rb: fix to use flunk. ko1 (Koichi Sasada)
09:35 AM Revision 15041: fix a test.
akr (Akira Tanaka)
09:16 AM Revision 15040: * vm.h: remove dangerous assembler sentence.
ko1 (Koichi Sasada)
09:08 AM Revision 15039: * encoding.c (rb_locale_encoding): return US-ASCII when charmap is nil.
naruse (Yui NARUSE)
07:14 AM Revision 15036: * lib/shellwords.rb: scape should be an alias to shellescape. a
patch from Masahiro Kawato <m-kawato AT> in
matz (Yukihiro Matsumoto)
07:10 AM Revision 15035: * ruby.1: a patch to describe --encoding. a patch from Yugui
<yugui AT> in [ruby-dev:33079].
* ruby.c: ditto.
matz (Yukihiro Matsumoto)
04:51 AM Revision 15034: * re.c (rb_reg_prepare_re): initialize error message buffer.
(rb_reg_search): ditto.
(rb_reg_check_preprocess): ditto.
(rb_reg_new_str): ditto.
(rb_enc_reg_new): ditto.
akr (Akira Tanaka)
03:34 AM Revision 15033: Renamespace lib/rdoc/markup from SM::SimpleMarkup to RDoc::Markup.
drbrain (Eric Hodel)
01:59 AM Revision 15032: * lib/rake/ruby182_test_unit_fix.rb: removed.
nobu (Nobuyoshi Nakada)
01:45 AM Revision 15031: Mon Jan 14 10:45:45 2008 Martin Duerst <>
* enc/ascii.c: Exchanged order of arguments for one ENC_ALIAS duerst (Martin Dürst)
12:27 AM Revision 15029: * lib/time.rb: do not reference Time directly from the inside of
definitions. [ruby-dev:33059] tadf (tadayoshi funaba)

Also available in: Atom