nobu
b15e0697fd
* thread_pthread.c (rb_thread_create_timer_thread): do not wait never
...
coming signal if failed to create tiemr thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20141 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 16:48:22 +00:00
nobu
006be2d790
* thread_pthread.c (native_cond_timedwait): returns error code.
...
* thread_pthread.c (thread_timer): typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20140 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 16:42:31 +00:00
svn
1ebc4f6057
* 2008-11-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20139 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 16:14:53 +00:00
nobu
8da157ae51
* thread_pthread.c (thread_timer, rb_thread_create_timer_thread):
...
handshakes properly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 16:14:48 +00:00
nobu
bd87b50273
* inits.c (rb_call_inits): do not repeat.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 13:52:07 +00:00
nobu
b81ccf3167
* thread_pthread.c (thread_timer): fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20134 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 13:47:11 +00:00
nobu
3899005d2e
* thread_pthread.c (thread_timer): initializes mutex each time.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20133 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 13:42:36 +00:00
nobu
df6ea23faf
* thread_win32.c (thread_start_func_1): use already gotten stack info.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20132 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 12:23:15 +00:00
matz
4faa9ea612
* lib/irb.rb (IRB::Irb#eval_input): remove extra @context.prompt_i.
...
[ruby-core:19718]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 03:27:57 +00:00
naruse
10ddffb278
* nkf.c: update to r1.188. fixes for 16bit environment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20128 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-07 02:59:38 +00:00
nobu
2657faae01
* thread.c (thread_timer): pthread_cond_timedwait returns ETIMEDOUT
...
when timed out.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20127 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 22:43:30 +00:00
matz
1343680398
* lib/yaml/rubytypes.rb: support Rational and Complex as 1.8
...
does. a patch from Hiroshi Moriyama in [ruby-dev:36899].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 22:36:07 +00:00
matz
1d8b7bc624
* string.c (Init_String): remove Symbol#===. [ruby-dev:37026]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 22:18:34 +00:00
nobu
90c6c35f2e
* thread_pthread.c (thread_timer): uses pthread_cond_timedwait always
...
instead of pthread_kill.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 22:12:20 +00:00
nobu
4f3abb93f6
* thread.c (thread_timer): uses timedwait on cygwin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 19:02:35 +00:00
shugo
a324863b99
* lib/rexml/entity.rb (unnormalized): do not call
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 17:03:40 +00:00
svn
e992737b4a
* 2008-11-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 16:24:36 +00:00
nobu
b2a9e7c85a
* tool/make-snapshot: binary encoding spec is no longer needed in 1.9.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 16:24:32 +00:00
nobu
5732566f4d
* thread.c (rb_thread_stop_timer_thread): terminates timer thread
...
immediately.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 13:21:26 +00:00
svn
514626ad8d
* 2008-11-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 12:38:54 +00:00
suke
696e6a9b76
* ext/win32ole/win32ole.c (fole_s_connect, fole_initialize,
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-06 12:38:49 +00:00
usa
0ca8c28e4d
* lib/test/unit.rb: sorry, removed debug code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-04 04:10:12 +00:00
usa
645246d1d1
* lib/test/unit.rb (Test::Unit.setup_argv): now can specify ``-xname''
...
instead of ``-x name''.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-04 04:09:10 +00:00
takano32
a3fb952a4f
* test/zlib/test_zlib.rb(test_readchar): compare in same type.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-03 23:00:40 +00:00
nobu
4927a7c77a
* array.c (rb_ary_join): do not repeat self in a recursive array.
...
[ruby-dev:37019]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20103 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-03 18:28:34 +00:00
nobu
88a4f33121
* include/ruby/intern.h (rb_mutex_synchronize): fixed prototype.
...
* thread.c (rb_mutex_synchronize): fixed function name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-03 16:56:49 +00:00
nobu
1f4b40f449
* missing.h: needs RUBY_EXTERN instead of extern for mswin.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-03 07:32:57 +00:00
nobu
15195772ed
* test/win32ole/test_win32ole_variant_outarg.rb: eol-style.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-03 07:23:47 +00:00
yugui
c2ded64653
* array.c (rb_ary_take_first_or_last): renamed rb_ary_partial more
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-03 04:13:04 +00:00
yugui
d5c6b265b9
* range.c (rb_range_beg_len): rb_raise takes C values as arguments.
...
[BUG] ranges turned into other value in a message of RangeError.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-03 04:10:17 +00:00
svn
feb25e25cd
* 2008-11-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-02 15:41:07 +00:00
suke
1dead12e7f
* test/win32ole/test_win32ole_event.rb: rename test class.
...
* 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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-02 15:41:02 +00:00
suke
f35fb72f44
* test/win32ole/test_err_in_callback.rb: add teardown.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-02 14:10:46 +00:00
suke
2d45869c76
* ext/win32ole/win32ole.c (ole_event_free): invoke IConnectionPoint::Unadvise
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-02 13:22:42 +00:00
suke
510d2a7d2e
win32/Makefile.sub: add RUNRUBYOPT. [ruby-dev:37009]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20088 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-02 13:11:16 +00:00
nobu
388abb698c
* ext/zlib/zlib.c (Init_zlib): defines readbyte instead redefining
...
readchar.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20087 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-11-02 07:41:56 +00:00
svn
b3d8272a28
* 2008-11-01
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 22:27:40 +00:00
drbrain
af0221e728
Don't require rubygems/defaults from gem_prelude.rb.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 22:27:35 +00:00
kou
ff5a076e7e
* lib/rss/converter.rb (RSS::Converter): use String#encode.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 13:01:40 +00:00
mame
b5a0eb6754
* lib/webrick/httpauth/digestauth.rb
...
(WEBrick::HTTPAuth::DigestAuth#initialize): fix typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 12:31:22 +00:00
yugui
7ac0beaeea
* test/ruby/test_array.rb (test_array_subclass) test for r20076.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 09:57:45 +00:00
yugui
b4729e2db3
* array.c (ary_partial0): recovers mistakenly feature change at r19723.
...
Array#[m,n] had returned an Array even for an instance of a
subclass.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 09:46:31 +00:00
duerst
d37df9fb13
* enc/trans/single_byte.trans, maccroatioan-tbl.rb,
...
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: svn+ssh://ci.ruby-lang.org/ruby/trunk@20075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 09:07:21 +00:00
matz
ec280ecbe6
* dir.c (dir_globs): need taint check. reported by steve
...
<oksteev at gmail.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 04:40:34 +00:00
wanabe
5eacf68c2a
* array.c (rb_ary_decrement_share): fix to work recycling
...
shared-array without the following. [ruby-dev:36991]
* array.c (ary_make_substitution): don't recycle substitution array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 03:49:29 +00:00
yugui
30887efb8a
* spec/default.mspec: supports that the build directory != srcdir.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 03:31:09 +00:00
nobu
b1c07ee240
* encoding.c (rb_enc_set_default_internal): no alias "internal" if
...
defalt internal is not set. [ruby-dev:37000]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-31 02:35:41 +00:00
nobu
04e94c6ec8
* ruby.c (process_options): delays setting safe level.
...
[ruby-dev:36997]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-30 23:16:16 +00:00
mame
ea4ae3302d
* array.c (rb_ary_permutation): hide temporal array.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-30 12:35:04 +00:00
matz
93fa4cbf3d
* pack.c (pack_pack): templates a, A, Z should propagate encoding
...
of original strings. templates b, B, h, H brings ASCII-8BIT to
the result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-10-30 09:19:13 +00:00