summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* * include/ruby/io.h (rb_io_t): added write_lock to serialize.nobu2008-11-074-21/+89
| | | | | | | | | | | | | | [ruby-core:19668] * gc.c (gc_mark_children): mark write_lock. * gc.c (rb_gc_call_finalizer_at_exit): Mutex also needs to be deferred. * io.c (io_fflush, io_binwrite, fptr_finalize): serializes writing. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20144 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * safe.c (safe_setter): add warning for $SAFE=3.matz2008-11-072-0/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20143 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (rb_thread_create_timer_thread): do not wait nevernobu2008-11-072-3/+7
| | | | | | | coming signal if failed to create tiemr thread. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (native_cond_timedwait): returns error code.nobu2008-11-072-4/+10
| | | | | | | * thread_pthread.c (thread_timer): typo fixed. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-08svn2008-11-071-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (thread_timer, rb_thread_create_timer_thread):nobu2008-11-072-9/+32
| | | | | | | handshakes properly. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * inits.c (rb_call_inits): do not repeat.nobu2008-11-072-87/+50
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (thread_timer): fixed typo.nobu2008-11-072-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (thread_timer): initializes mutex each time.nobu2008-11-072-1/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (thread_start_func_1): use already gotten stack info.nobu2008-11-072-18/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.matz2008-11-072-1/+6
| | | | | | [ruby-core:19718] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * nkf.c: update to r1.188. fixes for 16bit environment.naruse2008-11-074-25/+75
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_timer): pthread_cond_timedwait returns ETIMEDOUTnobu2008-11-062-1/+6
| | | | | | | when timed out. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/yaml/rubytypes.rb: support Rational and Complex as 1.8matz2008-11-063-0/+67
| | | | | | does. a patch from Hiroshi Moriyama in [ruby-dev:36899]. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (Init_String): remove Symbol#===. [ruby-dev:37026]matz2008-11-062-8/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_pthread.c (thread_timer): uses pthread_cond_timedwait alwaysnobu2008-11-062-27/+5
| | | | | | | instead of pthread_kill. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (thread_timer): uses timedwait on cygwin.nobu2008-11-062-4/+46
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rexml/entity.rb (unnormalized): do not callshugo2008-11-063-2/+12
| | | | | | | | | | document.record_entity_expansion if document is nil. see <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=502535>. Thanks, Naohisa Goto. * test/rexml/test_document.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-07svn2008-11-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/make-snapshot: binary encoding spec is no longer needed in 1.9.nobu2008-11-062-2/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread.c (rb_thread_stop_timer_thread): terminates timer threadnobu2008-11-064-24/+56
| | | | | | | immediately. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-06svn2008-11-061-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (fole_s_connect, fole_initialize,suke2008-11-065-1/+62
| | | | | | | | | | | | | | | | folevariant_initialize): check argument type of WIN32OLE.connect, WIN32OLE.new, WIN32OLE_VARIANT.new. * test/win32ole/test_win32ole.rb (test_s_new_exc, test_s_connect_exc): ditto. * test/win32ole/test_win32ole_variant.rb (test_s_new_exc): ditto. * test/win32ole/test_win32ole_method.rb: add assertion of WIN32OLE_METHOD.new. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb: sorry, removed debug code.usa2008-11-041-1/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/test/unit.rb (Test::Unit.setup_argv): now can specify ``-xname''usa2008-11-042-5/+11
| | | | | | | | instead of ``-x name''. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/zlib/test_zlib.rb(test_readchar): compare in same type.takano322008-11-032-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_join): do not repeat self in a recursive array.nobu2008-11-032-1/+9
| | | | | | | [ruby-dev:37019] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/intern.h (rb_mutex_synchronize): fixed prototype.nobu2008-11-034-5/+11
| | | | | | | * thread.c (rb_mutex_synchronize): fixed function name. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * missing.h: needs RUBY_EXTERN instead of extern for mswin.nobu2008-11-032-29/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole_variant_outarg.rb: eol-style.nobu2008-11-030-0/+0
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_take_first_or_last): renamed rb_ary_partial moreyugui2008-11-032-10/+25
| | | | | | | | | | | appropriately. (ary_take_pos_flags): new enum. makes the fourth argument of rb_ary_take_first_or_last more descriptive. (rb_ary_partial): renamed rb_ary_partial0 more appropriately. takes a new parameter klass for what class to instanciate. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * range.c (rb_range_beg_len): rb_raise takes C values as arguments.yugui2008-11-032-1/+6
| | | | | | | [BUG] ranges turned into other value in a message of RangeError. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-03svn2008-11-021-3/+3
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_win32ole_event.rb: rename test class.suke2008-11-025-54/+85
| | | | | | | | | | | * test/win32ole/test_win32ole_variant_outarg.rb: add in order to use ADO instead of Internet Explorer. remove test/win32ole/test_win32ole_variant_with_ie.rb. * test/win32ole/orig_data.csv: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/win32ole/test_err_in_callback.rb: add teardown.suke2008-11-022-0/+8
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_event_free): invoke IConnectionPoint::Unadvisesuke2008-11-025-343/+307
| | | | | | | | | | | before invoking IConnectionPoint::Release. * test/win32ole/test_win32ole_event.rb, test/win32ole/err_in_callback.rb, test/win32ole/test_err_in_callback.rb: Use ActiveX Data Object Library instead of InternetExplorer. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* win32/Makefile.sub: add RUNRUBYOPT. [ruby-dev:37009]suke2008-11-022-1/+5
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefiningnobu2008-11-023-5/+11
| | | | | | | readchar. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2008-11-01svn2008-10-311-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Don't require rubygems/defaults from gem_prelude.rb.drbrain2008-10-315-9/+139
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/rss/converter.rb (RSS::Converter): use String#encode.kou2008-10-312-1/+13
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/webrick/httpauth/digestauth.rbmame2008-10-312-1/+6
| | | | | | | (WEBrick::HTTPAuth::DigestAuth#initialize): fix typo. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * test/ruby/test_array.rb (test_array_subclass) test for r20076.yugui2008-10-312-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (ary_partial0): recovers mistakenly feature change at r19723.yugui2008-10-312-1/+10
| | | | | | | | Array#[m,n] had returned an Array even for an instance of a subclass. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * enc/trans/single_byte.trans, maccroatioan-tbl.rb,duerst2008-10-316-0/+473
| | | | | | | | | | | maccyrillic-tbl.rb, maciceland-tbl.rb: new single-byte transcodings (from Yoshihiro Kambayashi) * test/ruby/test_transcode.rb: added tests for the above (from Yoshihiro Kambayashi) git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dir.c (dir_globs): need taint check. reported by stevematz2008-10-312-1/+6
| | | | | | <oksteev at gmail.com> git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * array.c (rb_ary_decrement_share): fix to work recyclingwanabe2008-10-312-5/+18
| | | | | | | | shared-array without the following. [ruby-dev:36991] * array.c (ary_make_substitution): don't recycle substitution array. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * spec/default.mspec: supports that the build directory != srcdir.yugui2008-10-312-3/+10
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * encoding.c (rb_enc_set_default_internal): no alias "internal" ifnobu2008-10-312-2/+12
| | | | | | | defalt internal is not set. [ruby-dev:37000] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ruby.c (process_options): delays setting safe level.nobu2008-10-304-16/+32
| | | | | | | [ruby-dev:36997] git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@20067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e