wanabe
f163275b5c
* test/psych/test_emitter.rb (setup): encoding of @out should be same as script's.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27126 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-31 06:33:45 +00:00
naruse
35b2c59ac0
* test/rubygems/gemutilities.rb (setup, teardown):
...
Object#to_yaml must use syck on RubyGem.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27125 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-31 04:57:31 +00:00
akr
0da3fc65db
* time.c (timew2timespec): fix previous change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27124 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 21:57:53 +00:00
svn
8fcc8e2d67
* 2010-03-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27123 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 15:34:42 +00:00
akr
7b83aa4f3c
* time.c (wdivmod): renamed from wdivmodv. fix neg/pos and pos/neg.
...
(split_second): return number of seconds as wideval_t.
(timet2wv): new function.
(wv2timet): new function.
(timet2wideval): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27122 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 15:34:33 +00:00
akr
39146c6b6b
* time.c: use more polymorphic operations.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27121 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 13:25:57 +00:00
kazu
91616a00ba
* NEWS: add URI.decode and URI.encode to Obsoleted methods,
...
and fix typos. [ruby-dev:40852]
* NEWS: add Time#subsec.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27120 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 13:13:20 +00:00
kazu
cda49a46f6
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27119 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 13:13:07 +00:00
akr
c4845fdf36
* time.c: reorder wide value implementation.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 13:07:48 +00:00
keiju
6ca6efc246
* lib/irb.rb: suppoort [Feature#988], [ruby-core:21177].
...
* lib/irb/context.rb: fix Context#verbose?.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27117 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 13:03:23 +00:00
akr
08f828002b
* time.c: make wide value more polymorphic.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27116 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 12:58:34 +00:00
naruse
ee90d5d30e
* ext/psych/extconf.rb: install psych .so to not psych/ but direct.
...
This prepends to install *.rb files to psych/psych.
* ext/psych/lib/psych.rb: require 'psych.so'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27115 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 12:21:55 +00:00
akr
0cf5d3fa96
fix previous commit for LP64.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27114 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 12:00:31 +00:00
akr
a00c1c00c1
* time.c (w2v): renamed from w2xv.
...
(v2w): renamed from xv2w.
(rb_time_magnify): takes wideval_t.
(rb_time_unmagnify): returns wideval_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27113 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 11:57:03 +00:00
nobu
f1330fd124
* ext/psych/lib: moved external library dependent files from lib.
...
[ruby-core:29129]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27112 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 10:46:06 +00:00
nobu
38af94c6ab
* file.c (rb_file_dirname): split from rb_file_s_dirname.
...
* load.c (rb_f_require_relative): use absolute path instead of
expanded path.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 09:26:09 +00:00
knu
635bdf6f13
* process.c (proc_daemon): Process.daemon should raise an error on
...
failure regardless of whether the implementation uses daemon(3)
or not. [ruby-dev:40832]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 05:00:15 +00:00
nobu
4a6acc26d5
* tool/file2lastrev.rb (VCS::GIT_SVN): removed because git-log can
...
deal with git-svn repository faster than git-svn-info.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 04:11:24 +00:00
nobu
0c6fb8ccaa
* tool/file2lastrev.rb (VCS#get_revisions): particular commands do
...
not depend on instance.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27104 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 04:01:17 +00:00
akr
6c7edcb00a
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-30 00:12:21 +00:00
tenderlove
9dd3af9ae7
* ext/psych/extconf.rb: Making library detection more agnostic.
...
[ruby-core:29118]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 23:57:43 +00:00
tenderlove
797f482fe8
* lib/psych.rb: Fix problem with empty and white-space only strings.
...
Thanks Peter McLain!
* test/psych/test_psych.rb: tests for change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 23:57:25 +00:00
tenderlove
c294fcc0ab
* lib/psych.rb: documentation updates. Thanks Peter McLain!
...
* lib/psych/{coder,tree_builder}.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 20:33:22 +00:00
naruse
e43b94231b
* ext/psych/{emitter,parser,psych}.c: move variable
...
declaration to the first of the block.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 18:58:22 +00:00
svn
7abf7e58e8
* 2010-03-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 18:26:10 +00:00
tenderlove
03399d9001
* test/psych/*: switching tests to use relative require.
...
[ruby-core:29104]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27095 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-03-29 18:25:57 +00:00
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