aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * lib/rdoc/markup: Remove ListBase and Line constants.drbrain2008-01-1915-261/+443
| | | | | | | | | | | | | | | | | | | | * lib/rdoc/ri: Allow output IO to be specified. * test/rdoc/parser/test_parse_c.rb: Move up one level, fixed. * test/rdoc/parser/test_rdoc_markup_attribute_manager.rb: Renamed to match new class name, updated to match new classes. * test/rdoc/test_rdoc_ri_formatter.rb: Start of RI formatting tests. * test/rdoc/test_rdoc_ri_attribute_manager.rb: Start of RDoc::RI::AttributeManager tests. * test/rdoc/test_simple_markup.rb: Moved to match new class name. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (parser_prepare): get encoding from the first line.nobu2008-01-183-6/+17
| | | | | | | | | [ruby-dev:33168] * ruby.c (load_file): set encoding to input with set_encoding. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_create_core): prohibit thread creation in thematz2008-01-183-1/+47
| | | | | | | | | | frozen thread group. a patch in [ruby-dev:33176] from sheepman <sheepman AT sheepman.sakura.ne.jp>. * thread.c (thread_create_core): should inherit ThreadGroup from the current thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (rb_str_format): set result encoding for wider width.nobu2008-01-183-0/+37
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (w32_wait_events): shouldn't invoke interrupt handleusa2008-01-183-4/+9
| | | | | | | | by timer_thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_create_core): set thread group before creatingnobu2008-01-183-1/+13
| | | | | | | thread. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (ripper_initialize): too early to set parser->enc.usa2008-01-182-1/+7
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * win32/setup.mak (BASERUBY): nmake cannot execute ruby collectlyusa2008-01-182-9/+17
| | | | | | | | | | | if the path of ruby.exe is quoted. * win32/setup.mak ($(ARCH)): if a macro is appended by $(APPEND), a space will be inserted on the top of the line. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * eval_intern.h, insnhelper.h, thread_pthread.h, vm_core.h, vm_opts.h:nobu2008-01-1810-26/+38
| | | | | | | | | | | | prefixed include guards with RUBY. * id.h: added include guard. * regenc.h, regint.h, regparse.h: prefixed include guards with ONIGURUMA. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_cleanup_func): ignore errors from destroying mutexnobu2008-01-184-2/+9
| | | | | | | | | of dead thread. [ruby-core:15069] * thread_pthread.c, thread_win32.c (native_thread_destroy): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_name_list_i, rb_enc_aliases_enc_i): freezenobu2008-01-182-5/+14
| | | | | | | element strings to be returned. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15110 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_m17n.rb (test_str_dump): added test forkazu2008-01-182-0/+43
| | | | | | | String#dump. [ruby-dev:33142] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_dump): preserve the encoding of source stringmatz2008-01-182-1/+17
| | | | | | | | if it is ASCII compatible. otherwise, add '.force_encoding()' for ugly work around. maybe we should implement some other way to keep non ASCII encoding in dumped string. [ruby-dev:33142] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (load_encoding): check if successfully loaded.nobu2008-01-182-12/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* missing spacekazu2008-01-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_find_index): use original encoding name tonobu2008-01-182-1/+8
| | | | | | | replicate loaded encoding instead alias. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 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