svn
922f3d0bed
* 2010-02-08
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26617 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-08 01:32:48 +00:00
matz
41ec00e019
* configure.in: check pthread_attr_getstack to prevent obsolete
...
warning for pthread_attr_getstackaddr.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26616 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-08 01:32:43 +00:00
akr
fe0598ac82
* sample/test.rb: sort files for syntax validataion.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-07 14:13:19 +00:00
akr
dd4537ad99
* bootstraptest/runner.rb: sort test files.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-07 14:09:43 +00:00
naruse
bd0a3dfd65
* test/dl/test_handle.rb (test_NEXT): fix for BSD.
...
Linux and Darwin's RTLD_NEXT searchs second occurrence of the function.
But FreeBSD and NetBSD's RTLD_NEXT searchs in libraries loaded after dl.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-07 10:29:39 +00:00
akr
666409ba50
* lib/rake.rb (Rake::FileList::ARRAY_METHODS): fix test failure by <=>
...
definition at Kernel.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26611 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-07 03:55:21 +00:00
akr
fcd2fb4e87
* math.c (math_lgamma): initialize sign because
...
lgamma(NaN) doesn't set the sign in OpenSolaris.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 18:02:59 +00:00
shugo
b09eabd430
* class.c (rb_class_init_copy): raise a TypeError if the argument is
...
BasicObject. [ruby-core:27060]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 15:26:34 +00:00
svn
141179186b
* 2010-02-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26606 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 15:26:24 +00:00
shugo
0381cec507
* lib/net/ftp.rb (initialize): set @sock to a NullSocket instance to
...
raise FTPConnectionError when not connected. [ruby-dev:40258]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26605 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 15:26:20 +00:00
shugo
e432a4c423
added a ChangeLog entry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26604 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 14:26:19 +00:00
shugo
5fe1f62633
ext/curses/view2.rb: replaced with Hugh Sasse's version.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 14:26:07 +00:00
shugo
3b21e88faa
test/net/imap/test_imap_response_parser.rb: fixed test_resp_text_code.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26602 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 14:11:21 +00:00
shugo
d724d5e771
* test/net/imap/test_imap_response_parser.rb (test_resp_text_code): added a test
...
for [ruby-core:27913].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 14:09:13 +00:00
shugo
b44070175a
added a ChangeLog entry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26600 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 13:57:23 +00:00
shugo
69c3348b79
* lib/net/imap.rb (receive_responses): does not hang when an unexpected BYE
...
response received. fixed [ruby-core:27944]. Thanks, Bob Potter.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26599 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 13:57:10 +00:00
shugo
bc885aeae6
added a ChangeLog entry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26597 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 12:32:12 +00:00
shugo
237c2211e6
* test/net/imap/test_imap.rb (test_exception_during_idle): use timeout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26596 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 12:31:59 +00:00
shugo
332e8fe51f
* lib/monitor.rb (wait): supported timeout.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26595 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 12:31:52 +00:00
akr
cef8a996be
fix a test.
...
OpenSolaris cannot remove the current directory.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26594 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 11:47:00 +00:00
mame
cd2a49f3c7
* tool/compile_prelude.rb: fix require path.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 10:36:32 +00:00
nobu
a6569ad637
* lib/delegate.rb (Delegator#method_missing),
...
(Delegator.delegating_block): don't hide backtrace from
__getobj__ and reduced exception messages when $DEBUG.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26592 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 03:02:40 +00:00
nobu
26b8c0890f
* test/test_delegate.rb (TestDelegateClass::IV#initialize): should
...
set delegation target.
* test/test_delegate.rb (TestDelegateClass#test_copy_frozen):
clone of frozen delegator also should be frozen.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 02:41:04 +00:00
nobu
af2f1bf4f9
* ext/socket/ipsocket.c (ip_addr, ip_peeraddr),
...
ext/socket/socket.c (sock_s_getaddrinfo): added optional
reverse_lookup flag. [ruby-core:28007]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-06 02:35:11 +00:00
mame
e5757042f9
* ext/stringio/stringio.c (strio_ungetc): pads with \000 when the
...
current position is after the end. [ruby-dev:40271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05 16:57:54 +00:00
mame
63cbe555b7
* ext/purelib.rb, common.mk: to simulate ruby command more precisely,
...
remove "." from $: of virtual environment for build and test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05 16:21:56 +00:00
akr
a68c79f716
fix typos.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05 15:29:19 +00:00
svn
a2d51931f6
* 2010-02-06
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05 15:04:43 +00:00
akr
19b2909ee8
* random.c (fill_random_seed): don't use O_NOFOLLOW because
...
/dev/urandom is a symlink in OpenSolaris.
* lib/securerandom.rb (SecureRandom.random_bytes: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26583 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05 15:04:38 +00:00
nobu
7873c05684
* lib/delegate.rb (Delegator): include copy of Kernel.
...
[ruby-dev:40314]
* lib/delegate.rb (Delegator#{dup,clone}): class of copy should be
Delegator. [ruby-dev:40313]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05 07:38:10 +00:00
naruse
1c4fe5395d
* bignum.c (big_op): remove unused variables.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26579 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-05 00:28:22 +00:00
tenderlove
510cde74a6
* lib/yaml/rubytypes.rb: Struct members are emitted without a leading
...
colon. Thanks Yusuke Endoh! [ruby-core:28052]
* test/yaml/test_struct.rb: fixed tests to go with Struct changes
* test/yaml/test_yaml.rb: fixed tests to go with Struct changes
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26576 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-04 17:11:00 +00:00
svn
f6b75e30d8
* 2010-02-05
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-04 15:36:31 +00:00
mame
f574df443a
* bignum.c (big_gt, big_ge, big_lt, big_ge): added Bignum#>, >=, < and
...
<= to allow to compare with BigDecimal. [ruby-dev:40167]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-04 15:36:29 +00:00
naruse
72ed7981fb
* ext/io/nonblock (Makefile,extconf.h.mkmf.log): svn:ignore.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-04 07:26:23 +00:00
naruse
b323b86b6b
* thread_pthread.c (native_thread_init_stack): use get_stack.
...
patched by KOSAKI Motohiro [ruby-dev:40309]
* thread_pthread.c (ruby_init_stack): use get_stack
on platforms which have pthread_attr_get_np.
(FreeBSD, DragonFlyBSD and NetBSD)
This is because FreeBSD and DragonFly BSD must use
pthread_attr_get_np to get stack size of main thread,
but Mac OS X and Linux with LinuxThreads must use getrlimit.
<http://www.nminoru.jp/~nminoru/programming/stackoverflow_handling.html >
<http://d.hatena.ne.jp/nurse/20100204 >
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-04 07:17:03 +00:00
naruse
669862a416
* configure.in: FreeBSD, DragonFly BSD and Mac OS X needs
...
pthread_np.h to use pthread_*_np functions.
Mac OS X's pthread_*_np also depend sys/signal.h,
but it is included at signal.h via vm_core.h via thread.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26567 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-04 01:00:30 +00:00
nobu
10e8419da6
* lib/delegate.rb (Delegator): now inherits BasicObject.
...
[ruby-dev:39154], [Bug #2679 ], [ruby-dev:40242]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26566 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 23:15:55 +00:00
mame
7a4621eecf
* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): get red of
...
floating point exception.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26565 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 18:02:47 +00:00
mame
6c1c35db17
* ext/bigdecimal/bigdecimal.c (BigDecimal_DoDivmod): fix infinity
...
handling. 1 / Infinity was evaluated to NaN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26563 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 16:34:24 +00:00
nobu
b3085ba508
* time.c (time_mdump, time_mload): dump/load utc_offset.
...
[ruby-dev:40063]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26560 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 15:37:45 +00:00
nobu
572c266e05
* time.c (quo, time_mdump): use RRATIONAL().
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 15:29:15 +00:00
nobu
e916ccc5cd
* NEWS (socket): Socket.do_not_reverse_lookup.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 14:52:23 +00:00
akr
85518db978
add comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26557 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 14:51:39 +00:00
nobu
ec7872aff7
* configure.in: check for non-portable stack attribute functions.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 13:22:32 +00:00
nobu
f9994ada30
* configure.in: some tidy.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26555 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 13:20:43 +00:00
akr
e7d267c42a
* ext/iconv/charset_alias.rb: pass block argument to outer local
...
variable.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 11:12:04 +00:00
akr
688ca71c13
* file.c (realpath_rec): rb_path_last_separator may return NULL.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 11:08:44 +00:00
naruse
44b5a74a9a
* thread_pthread.c: DragonFlyBSD is also the same as FreeBSD
...
on getting the stack size of the main thread.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 04:17:19 +00:00
naruse
fb15c0f16c
* thread_pthread.c (ruby_init_stack): use pthread_get_attr_np
...
to get the stack size of the main thread on FreeBSD.
* thread_pthread.c: include pthread_np.h on FreeBSD.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26549 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-02-03 03:35:11 +00:00