knu
a828a658a4
* prelude.rb, .document: Stuff in prelude.rb should be documented
...
as well.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27092 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 12:48:43 +00:00
keiju
cd492563f8
* lib/matrix.rb(Vector#each2, Vector#collect2): add type check for
...
Integer[Bug #2495 ].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27091 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 11:27:03 +00:00
akr
33d1647252
* time.c: wide value condition changed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 10:47:00 +00:00
nobu
b1b3e13570
* lib/optparse.rb (Numeric): accept rationals.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27089 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 09:10:12 +00:00
nobu
d0cb5c71ce
* lib/tempfile.rb (Tempfile#open): re-open with same mode and
...
options as initialize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27086 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 06:11:48 +00:00
shyouhei
d894e1d930
instance_methods should not special-case singleton classes, fixes #2993
...
Signed-off-by: URABE, Shyouhei <shyouhei@ruby-lang.org>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 05:59:46 +00:00
tenderlove
0a5d4d29e2
* test/psych/visitors/test_to_ruby.rb: switching to assert_in_delta
...
* test/psych/visitors/test_yaml_tree.rb: switching to assert_in_delta
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 04:30:30 +00:00
naruse
6c4a07dfa7
Revert "* configure.in (ac_cv_func_snprintf, ac_cv_func_vsnprintf):"
...
This reverts commit r27078.
It causes build failure on some environments.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27083 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 01:40:43 +00:00
naruse
46a4000a68
* random.c: change include order; ruby.h should be at first.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27082 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 00:21:20 +00:00
nobu
cb905affbd
* psych: svn:eol-style.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27081 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 23:34:56 +00:00
svn
910a078162
* 2010-03-29
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 21:49:49 +00:00
tenderlove
b9b923ca94
* ext/psych/*: importing Psych to trunk
...
* test/psych/*: ditto
* lib/psych/*: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 21:49:37 +00:00
naruse
a8a99a7379
* configure.in (ac_cv_func_snprintf, ac_cv_func_vsnprintf):
...
use own vsnprintf to avoid locale problems and platform
difference.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27078 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 13:34:39 +00:00
naruse
1720e7e0df
* lib/scanf.rb: fix max width modifier for %f.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27077 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 04:26:42 +00:00
ryan
1392791a9e
Imported minitest 1.6.0 r5717.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27076 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 01:37:07 +00:00
akr
d8cc6ccb56
* time.c (rb_time_magnify): fix for LP64.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 01:13:00 +00:00
naruse
63dd50961e
* lib/scanf.rb: fix %[egEFG] isn't accept.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27074 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 00:56:35 +00:00
akr
c08277c62d
* time.c: rename small integer specialization related identifiers.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27073 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-28 00:54:29 +00:00
akr
86aa8f3f0f
* time.c (weq): optimize for small integer.
...
(wne): ditto.
(wlt): ditto.
(wgt): ditto.
(wle): ditto.
(wge): ditto.
(rb_time_magnify): ditto.
(rb_time_unmagnify): ditto.
(rb_time_unmagnify_to_float): new function to avoid rational for
Time#to_f and Time#-.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-27 23:24:20 +00:00
akr
075cbd2ad6
* time.c (mul): condition refined.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-27 22:14:23 +00:00
svn
d5c005fd36
* 2010-03-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-27 17:14:21 +00:00
akr
f0aa9838a2
* time.c: fix previos commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-27 17:14:13 +00:00
svn
7f9b9fbae8
* 2010-03-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-27 14:18:24 +00:00
akr
cea57f8fff
* time.c: use 64bit arithmetic even on platforms with 32bit VALUE.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-27 14:18:08 +00:00
wanabe
c31129ffb8
* NEWS: add Thread#add_trace_func and Thread#set_trace_func.
...
* test/ruby/test_settracefunc.rb (test_thread_trace): add test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 14:55:00 +00:00
mame
2b0156b6de
* ChangeLog: add author name of a patch
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 14:04:05 +00:00
mame
1ab5d3947c
* ext/openssl/ossl_x509store.c (ossl_x509store_initialize): initialize
...
store->ex_data.sk. [ruby-core:28907] [ruby-core:23971]
[ruby-core:18121]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 14:01:24 +00:00
knu
4685b6d9c8
* Makefile.in (DOXYGEN): Define a missing variable DOXYGEN. Build
...
has been failing when doxygen(1) is found by configure but the
variable is not defined by the system and make(1) does not allow
an empty command. ("@$(DOXYGEN)" was the cause)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 11:19:22 +00:00
shugo
4f7d401d51
* test/ruby/test_hash.rb (test_recursive_key): recursive keys are
...
permitted now. [ruby-dev:40735]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 10:32:36 +00:00
tenderlove
1a80b5c01f
* lib/yaml.rb: adding deprecation notices to YAML methods
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 04:01:11 +00:00
tenderlove
f82b8e76e8
* lib/yaml/basenode.rb: deprecating YPath methods
...
* lib/yaml/stream.rb: deprecating YAML::Stream#edit
* test/yaml/test_yaml.rb: requiring yaml/ypath for tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 03:42:21 +00:00
tenderlove
e959fda8ff
* lib/yaml/encoding.rb: YAML.encode, YAML.decode are deprecated.
...
* lib/yaml/stringio.rb: yaml/stringio.rb is deprecated.
* lib/yaml/ypath.rb: YAML::YPath is deprecated.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-26 03:33:08 +00:00
nagai
9e415266a8
* ext/tk/extconf.rb: fix [ruby-core:28901] [Bug #2997 ]. Thanks, Michael Graff.
...
* ext/tk/tcltklib.c: use xfree() for memories allocated by ALLOC().
* ext/tk/tkutil/tkutil.c: ditto.
* ext/tk/lib/tkextlib/version.rb: forgot updating.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 19:55:32 +00:00
svn
77891d864f
* 2010-03-26
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 15:05:28 +00:00
wanabe
dfcf364384
add ref.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 15:05:21 +00:00
wanabe
0a6418d85e
* thread.c (thread_reset_event_flags): set flags to thread.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 14:56:38 +00:00
mame
e70499732a
* file.c (rb_get_path_check): prefer #to_path over #to_str. a patch
...
originally written by me, and modified by Nobuyoshi Nakada.
[ruby-core:24257]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 14:22:41 +00:00
kazu
9c15f6f822
* NEWS: Array#{uniq,uniq!} can take a block. see [ruby-dev:37998]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 09:11:47 +00:00
kazu
21f56f6de9
* NEWS: add IO#autoclose=, IO#autoclose?, IO#codepoints, IO#each_codepoint.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 08:23:17 +00:00
nobu
b3a039a2cb
* win32/win32.c (rb_w32_{read,write}): fix handle leaks. based on
...
a patch from Heesob Park in [ruby-core:28919]. [ruby-core:28833]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 05:50:08 +00:00
kazu
98131a6da1
* NEWS: add Kernel#singleton_class.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27041 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 03:39:00 +00:00
muraken
e4d8dc5c46
* bignum.c, node.h, strftime.c, enc/trans/utf8_mac.trans: added explicit casts for supplessing warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 03:08:28 +00:00
muraken
31bc607cf1
* test/ruby/test_dir_m17n.rb: HFS+ escapes invalid byte sequences of filenames.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27039 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-25 02:37:22 +00:00
nobu
da8a31bc47
* configure.in (ruby_version): needs runnable CPP.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 20:44:45 +00:00
nobu
2ca764948c
* tool/make-snapshot (package): take a breath for HP-UX make
...
[ruby-core:28938].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:42:24 +00:00
nobu
d0cd67ef68
* tool/make-snapshot (Dir.mktmpdir): for 1.8.6 backward compatibility.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:38:22 +00:00
nobu
058b9db421
* tool/make-snapshot (package): $: no longer contains ".", in trunk.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 19:36:57 +00:00
nobu
487a267899
* ext/iconv/charset_alias.rb: update of URL. [ruby-dev:38360]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27034 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 18:52:50 +00:00
mame
96ecfe9a57
* thread.c (thread_create_core): let new thread inherit RUBY_EVENT_VM
...
of event_flags. [ruby-core:25191]
* thread.c (rb_threadptr_exec_event_hooks): delete RUBY_EVENT_VM if
all event_hooks are removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27033 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 14:47:00 +00:00
mame
30a4825aea
* configure.in: revert the previous commit, which seemed to break make
...
install. The files of standard libraries are directly installed to
$(PREFIX)/lib/ruby instead of $(PREFIX)/lib/ruby/1.9.1
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27032 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-24 14:01:57 +00:00