aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * encoding.c (rb_enc_find_index): use original encoding name tomatz2008-01-182-1/+4
| | | | | | load DLL. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_aliases_enc_i): exclude non alias names frommatz2008-01-182-4/+11
| | | | | | Encoding.aliases. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test_m17n.rb: Regexp switch `s' should mean Windows-31J, as wells asusa2008-01-181-12/+12
| | | | | | | `-Ks'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_char_to_option_kcode): Regexp switch `s' should meanusa2008-01-182-1/+6
| | | | | | | | Windows-31J, as wells as `-Ks'. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ripper_initialize): move parser->enc initialization.matz2008-01-182-0/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_initialize): explicitly call rb_ascii8bit_encoding().matz2008-01-183-2/+19
| | | | | | | | | | | * parse.y (parser_prepare): lex_input may not be have encoding (e.g. IO). * parse.y (rb_parser_compile_string): set encoding from input string. * encoding.c (rb_enc_find_index): use ASCII-8BIT if loading known encoding failed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (Init_IO): stdin/stdout may not be duplex.matz2008-01-172-1/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (io_fwrite): always flush IO on tty, even without newlines.matz2008-01-172-1/+6
| | | | | | [ruby-core:15107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix namespacingdrbrain2008-01-173-25/+32
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c: math.h for isnan.nobu2008-01-171-0/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/runner.rb (assert_valid_syntax): added.nobu2008-01-173-4/+18
| | | | | | | * bootstraptest/test_knownbug.rb: added test for [ruby-list:44479] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_attr.rb: moved test for [ruby-core:14641].nobu2008-01-172-23/+26
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15093 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * bootstraptest/test_attr.rb: added for [ruby-core:15120].nobu2008-01-171-0/+10
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_insnhelper.c (vm_call_method): check argument number tonobu2008-01-172-27/+36
| | | | | | | attr_reader. [ruby-core:15120] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_check_readable): flush tied write IO too.nobu2008-01-172-0/+12
| | | | | | | * io.c (Init_IO): tie stdin with stdout. [ruby-core:15107] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_free): removed since rb_encoding may be used whilenobu2008-01-172-12/+6
| | | | | | | cleanup. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/euc_cn.c: split from enc/euc_kr.c.nobu2008-01-173-2/+15
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/stringio/stringio.c (strio_init): use default external encodingnobu2008-01-173-4/+10
| | | | | | | | if nothing is given. a patch from sheepman <sheepman AT sheepman.sakura.ne.jp> in [ruby-dev:33159]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (encdb.h): give output file name to make_encdb.rb.nobu2008-01-176-175/+305
| | | | | | | | | | | | | | | * encoding.c (enc_table): simplified. * encoding.c (enc_register_at): lazy loading. [ruby-dev:33013] * regenc.h (ENC_DUMMY): added. * enc/make_encdb.rb: now emits macros only. * enc/iso_2022_jp.h: split from encoding.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * re.c (rb_char_to_option_kcode): fixed typo.nobu2008-01-172-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (Date::Infinity#<=>): didn't work. A patch fromtadf2008-01-173-7/+16
| | | | | | | | | | | Dirkjan Bussink <d.bussink AT gmail.com> [ruby-core:15098]. This is a bug obviously. However it didn't affect the library's functions. * lib/date.rb, lib/date/format.rb: some trivial changes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/shift_jis.c: newline at EOF.nobu2008-01-171-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (enc_register_at): make own copy. [ruby-dev:33136]nobu2008-01-162-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/windows_1251.c: newline at EOF.nobu2008-01-161-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (pipe_open, rb_io_s_popen): clear temporary object to releasenobu2008-01-162-0/+7
| | | | | | | and prevent from GC. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (fix_quo): typo. a patch from Shin-ichiro HARAusa2008-01-162-1/+6
| | | | | | | | <sinara AT blade.nagaokaut.ac.jp> in [ruby-dev:33130] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/test_delegate.rb: add new test file for delegate.rb.usa2008-01-162-0/+19
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix grammar.knu2008-01-162-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: commit miss.nobu2008-01-161-6/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * load.c (rb_feature_p): get rid of unlimited alloca.nobu2008-01-164-10/+29
| | | | | | | | | * object.c (rb_cstr_to_dbl): ditto. * io.c (mode_enc): fixed uninitialized variable. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (sys_fail2): get rid of unlimited alloca.nobu2008-01-164-19/+59
| | | | | | | * io.c (mode_enc, pipe_open, rb_io_s_popen): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_str_tmp_new, rb_str_shared_replace):nobu2008-01-165-7/+10
| | | | | | | prototype moved. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Clean up commentsdrbrain2008-01-161-41/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Ignore encdb.hdrbrain2008-01-160-0/+0
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/*: add ARG_UNUSED.naruse2008-01-1524-90/+101
| | | | | | | * enc/koi8_u.c: added. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_{16,32}{be,le}.c: remove some ARG_UNUSED. replace structnaruse2008-01-155-32/+37
| | | | | | | OnigEncodingST by OnigEncoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (ENC_REGISTER): use &OnigEncoding*.naruse2008-01-1514-67/+58
| | | | | | | | | | | | | (ENCINDEX_UTF_8): renamed from ENCINDEX_UTF8. (rb_enc_init): use ENC_REGISTER. * include/ruby/oniguruma.h (OnigEncodingUTF8, ONIG_ENCODING_UTF8): removed. * enc/*.c: remove use of &encoding_*; use enc argument instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_8.c: remove use of ONIG_ENCODING_UTF8 altogether; usematz2008-01-152-41/+8
| | | | | | enc argument instead. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_8.c (ONIG_ENCODING_UTF8): reverted.usa2008-01-152-4/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/Makefile.sub (MKFILES): add dependecies.usa2008-01-152-1/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_8.c (OnigEncodingDefine): encoding name should be keptmatz2008-01-152-1/+6
| | | | | | unchanged. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/Makefile.in: ditto.nobu2008-01-152-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/utf_8.c: renamed as IANA name.nobu2008-01-154-5/+13
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (proc_options): encoding libraries cannot be loaded untilnobu2008-01-152-8/+12
| | | | | | | load path is set. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak: strip out empty lines from CPP output.nobu2008-01-152-2/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {win,bcc}32/setup.mak (-basic-vars-): expand BASERUBY to full pathnobu2008-01-154-4/+22
| | | | | | | | | to get rid of ./ruby.exe. * win32/enc-setup.mak: workaround for Borland make. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_locale_charmap): use ASCII-8BIT in miniruby.nobu2008-01-152-1/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * {bcc32,win32}/Makefile.sub (RUNRUBY): need to set archdir whenusa2008-01-153-2/+7
| | | | | | | | invoking ruby. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * common.mk (us_ascii.o): add dependecies. [ruby-dev:33111]usa2008-01-152-0/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval.c (eval): check if backtrace is empty. [ruby-core:15040]nobu2008-01-142-4/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e