akr
8aa17733fa
* ext/pathname/pathname.c (path_readlink): Pathname#readlink translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-09 21:27:20 +00:00
akr
ec5bb26fa0
* ext/pathname/pathname.c (path_open): Pathname#open
...
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-09 13:15:49 +00:00
naruse
f795d0f418
* ext/nkf/nkf-utf8/nkf.c: Fix type of mimeout_state.buf.
...
[nkf-bug:20079]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-09 05:11:04 +00:00
akr
239692dde8
* ext/pathname/pathname.c (path_make_link): Pathname#make_link
...
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28923 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-08 10:29:16 +00:00
akr
739e022d00
* ext/pathname/pathname.c (path_ftype): Pathname#ftype translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-08 04:21:26 +00:00
akr
b50fb9034e
* ext/pathname/pathname.c (path_fnmatch): Pathname#fnmatch and
...
Pathname#fnmatch? translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 22:33:51 +00:00
akr
49cb5a78a1
* ext/pathname/pathname.c (path_lchown): Pathname#lchown translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 09:21:37 +00:00
nobu
e4e9758aa5
* ext/extmk.rb (extract_makefile): follow the change of
...
install-rb-default line format at r28850, which causes second
run to create dummy makefiles.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28899 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 08:18:42 +00:00
nobu
c53664c84d
.cvsignore: have not been used already. [Bug #3468 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28898 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 05:43:21 +00:00
nobu
a438fce7e3
* ext/pathname/pathname.c (path_sub_ext): don't clobber shared string.
...
[ruby-core:31640]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 04:59:27 +00:00
nobu
fd0485acf7
* vm_eval.c (vm_call0): fix for VM_METHOD_TYPE_NOTIMPLEMENTED.
...
[ruby-dev:41953]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 04:33:33 +00:00
suke
93426cd6e8
* ext/win32ole/win32ole.c: fix checking version of GCC.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28894 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 00:49:59 +00:00
akr
d1893fe74d
* ext/pathname/pathname.c (Init_pathname): fix number of arguments for
...
Pathname#chown.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-07 00:32:20 +00:00
akr
261bb184c6
* ext/pathname/pathname.c (path_chown): Pathname#chown translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-06 23:27:28 +00:00
akr
9352485e47
* ext/pathname/pathname.c (path_lchmod): Pathname#lchmod translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-06 17:09:31 +00:00
akr
c4c4bff456
* ext/pathname/pathname.c (path_chmod): Pathname#chmod translated from
...
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-06 12:30:28 +00:00
akr
dc2676a8a0
* ext/pathname/pathname.c (path_mtime): Pathname#mtime translated from
...
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-05 20:53:56 +00:00
akr
9bf69293e7
* ext/pathname/pathname.c (path_ctime): Pathname#ctime translated from
...
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-05 13:09:53 +00:00
nobu
8965ed167d
* string.c (rb_str_set_len): should fail to modify shared string.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-05 07:42:47 +00:00
nobu
5f13d888cf
* string.c (rb_str_resize): reverted r28851. rb_str_resize cannot
...
work before the length is set. [ruby-core:31615]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-04 11:08:28 +00:00
nobu
99d96a89ce
* string.c (rb_str_resize): should copy the content properly. a
...
patch from Jeremy Evans at [ruby-core:31615].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28851 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-04 07:09:47 +00:00
akr
88e78ac59b
* ext/pathname/pathname.c (path_atime): Pathname#atime translated from
...
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28848 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-03 21:25:43 +00:00
naruse
b5dc2576cc
* ext/mkext.rb: remove purelib, fixes a bug in r28440, r28441.
...
* spec/default.mspec: ditto.
* template/Doxyfile.tmpl: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28843 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-03 05:48:05 +00:00
nobu
45992b4b25
* ext/purelib.rb: no longer used since the default load path of
...
miniruby is empty.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28840 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-02 22:52:25 +00:00
nobu
cefa9413d2
* ext/-test-/add_suffix/bug.c: for the prototype.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-02 22:37:38 +00:00
nobu
aa1141e167
* ext/bigdecimal/bigdecimal.c (BigDecimal_hash): fix type warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28838 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-02 22:34:44 +00:00
suke
d4fc0799b7
* ext/win32ole/win32ole.c: NONAMELESSUNION defined only if gcc
...
version is older than 3.4.4. [ruby-core:31567] [Bug #3637 ]
* ext/win32ole/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28835 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-02 12:21:00 +00:00
akr
88431b74fc
* ext/pathname/pathname.c (path_realdirpath): Pathname#realdirpath
...
translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28831 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 20:35:33 +00:00
mrkn
98685cc70f
* ext/bigdecimal/bigdecimal.c (BigDecimal_hash): use rb_memhash and take care of negative finite numbers properly.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28825 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 13:20:22 +00:00
akr
c29b801afa
* ext/pathname/pathname.c (path_realpath): Pathname#realpath translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 11:57:58 +00:00
akr
caa05197d3
* ext/pathname/pathname.c (path_sub_ext): Pathname#sub_ext translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28817 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 05:59:49 +00:00
akr
572b8b3749
* ext/pathname/pathname.c (path_sub): Pathname#sub translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28812 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-08-01 00:22:18 +00:00
suke
e8f2d9e808
* ext/win32ole/win32ole.c: fix typo. [ruby-core:31564][Bug #3636 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 23:54:49 +00:00
akr
b6ebd0622c
* ext/pathname/pathname.c (path_inspect): Pathname#inspect translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28808 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 14:16:10 +00:00
akr
9006bd2015
* ext/pathname/pathname.c (Init_pathname): The alias,
...
Pathname#to_path, is translated from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28807 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 07:21:42 +00:00
akr
c57e8f7ddc
* ext/pathname/pathname.c (path_to_s): Pathname#to_s translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-31 00:13:10 +00:00
akr
be2f3c58e6
* ext/pathname/pathname.c (path_hash): Pathname#hash translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28802 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-30 12:44:41 +00:00
nobu
7ae7ac4aba
* util.c (ruby_add_suffix): fixed a bug returning uninitialized
...
value.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28794 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29 22:59:54 +00:00
nagai
bc8e650735
* ext/tk/extconf.rb: use TK_XINCLUDES on tkConfig.sh when not empty,
...
even if MacOS X Aqua version [ruby-dev:41883].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28793 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29 22:54:01 +00:00
akr
8db76b2135
class description document moved.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28789 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29 21:13:34 +00:00
akr
3608baa990
* ext/pathname/pathname.c (path_cmp): Pathname#<=> translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28783 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-29 13:29:20 +00:00
nobu
8d228b2579
* common.mk (EXT_SRCS): add ext/json/parser/parser.c.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28780 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-28 21:51:31 +00:00
akr
7996581a82
* ext/pathname/pathname.c (path_eq): Pathname#{==,===,eql?} translated
...
from pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28776 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-28 13:24:55 +00:00
akr
0cb17010c4
* ext/pathname/pathname.c (path_taint): use rb_obj_taint.
...
(path_untaint): Pathname#untaint translated from
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28767 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-27 14:14:14 +00:00
akr
aa4f1d8e81
* ext/pathname/pathname.c (path_taint): Pathname#taint translated from
...
pathname.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-26 13:35:18 +00:00
nobu
062b4d6752
* include/ruby/{intern,io}.h: add missing prototypes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-22 03:02:40 +00:00
nobu
b117475e18
* ext/json/generator/generator.c (fbuffer_free): removed unused function.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-20 09:47:50 +00:00
nobu
6de2f601af
* ext/fiddle/closure.c (closure_data_type),
...
ext/fiddle/function.c (function_data_type): rb_data_type_t has
changed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28690 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-20 09:23:08 +00:00
shyouhei
a52dd6cc5c
* ext/socket/raddrinfo.c (rb_getaddrinfo): according to my valgrind output this variable should be initialized beforehand.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-20 04:00:46 +00:00
akr
a0d5258df0
* ext/pathname/pathname.c (get_strpath): check the type.
...
(path_initialize): bypass to_path call for T_STRING.
(path_freeze): implemented.
* ext/pathname/lib/pathname.rb (Pathname#freeze): removed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28683 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-19 09:35:31 +00:00
tenderlove
8ef7bb8c21
* ext/syck/lib/syck.rb: fixing unused variable warnings
...
* ext/syck/lib/syck/basenode.rb: ditto
* ext/syck/lib/syck/rubytypes.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28681 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-19 04:54:06 +00:00
nobu
25b9eb5e57
* include/ruby/ruby.h (rb_data_type_t): restructured. [ruby-dev:41862]
...
add parent member.
* error.c (rb_typeddata_inherited_p): new function.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-18 07:31:54 +00:00
akr
17749e5168
* ext/pathname/pathname.c (path_initialize): return a value.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 16:10:19 +00:00
akr
03bb750d56
* ext/pathname/lib/pathname.rb (Pathname#initialize): removed.
...
* ext/pathname/pathname.c (path_initialize): implemented.
(get_strpath): new function.
(set_strpath): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 15:03:31 +00:00
akr
4bf3cb5ba9
* ext/pathname/lib/pathname.rb: moved from lib/pathname.rb.
...
require pathname.so.
* ext/pathname/pathname.c: new file to define empty Pathname class.
* ext/pathname/extconf.rb: new file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-17 04:50:19 +00:00
nobu
048d2e6d32
* ext/dbm/dbm.c (struct dbmdata, fdbm_key, fdbm_delete_if): fixed
...
type warnings.
* time.c (calc_tm_yday): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28656 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-16 07:40:37 +00:00
nobu
0f36e8fc03
* eval.c (frame_func_id), vm_eval.c (rb_iterate),
...
vm_insnhelper.c (vm_yield_with_cfunc): as the name of a C-level
block, use the current method ID at the creation point.
[ruby-dev:41852]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28642 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-14 11:23:10 +00:00
nobu
2dbc92b07d
* ext/readline/readline.c: libedit is missing declaration of
...
rl_getc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28631 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-13 12:34:19 +00:00
nobu
9afb0f0837
* ext/pty/pty.c (establishShell): chfunc must not raise any
...
exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-13 12:01:45 +00:00
nobu
7aa4c13360
* ext/dl/handle.c (rb_dlhandle_close): should not pass a dynamic
...
string to rb_raise directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28625 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-13 11:46:01 +00:00
tenderlove
4eec1b31b9
* ext/psych/lib/psych/visitors/yaml_tree.rb (format_time): use new
...
timezone format options.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-08 16:51:28 +00:00
tenderlove
a5dec23045
* ext/psych/lib/psych/visitors/emitter.rb (initialize): line_width is
...
a valid option passed to the emitter.
* test/psych/test_psych.rb: corresponding tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-08 16:10:10 +00:00
tenderlove
ba9a959a18
* ext/psych/emitter.c (line_width, set_line_width): preferred line may
...
be set on the emitter.
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* test/psych/test_emitter.rb: corresponding tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28584 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-08 16:02:26 +00:00
tenderlove
646b699536
* ext/psych/lib/psych/visitors/yaml_tree.rb (push): adding version
...
and header emit options.
* test/psych/test_psych.rb: corresponding test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-07 23:18:27 +00:00
tenderlove
3a185ede69
* ext/psych/lib/psych/visitors/emitter.rb: sending emit options to
...
YAML emitter. [ruby-core:28318]
* ext/psych/emitter.c: updating documentation about emit options
* ext/psych/lib/psych/core_ext.rb: ditto
* ext/psych/lib/psych.rb (dump): passing emit options to emitter.
* ext/psych/lib/psych/nodes/node.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28573 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-07 23:05:45 +00:00
nobu
01e1a0ac78
* ext/zlib/zlib.c (gzfile_raise): add invalid header to
...
exceptions.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-07 02:44:04 +00:00
tenderlove
3b87ff32de
* ext/psych/lib/psych/scalar_scanner.rb (parse_time): dealing with
...
negative partial hour time zones. [ruby-core:31064]
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
* test/psych/visitors/test_to_ruby.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28558 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-06 16:06:20 +00:00
usa
80b9fb5a7b
* io/console/console.c (winsize_row): should return actual screen
...
size, not buffer size.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28556 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-06 12:47:18 +00:00
tenderlove
ff10d93563
* ext/dl/lib/dl/import.rb (handler): add a more helpful error message
...
when calling import_symbol or import_function without calling
dlload. Thanks nobu! [ruby-core:30996]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-05 23:38:35 +00:00
tenderlove
c27e0ebab6
* ext/psych/lib/psych/visitors/yaml_tree.rb (format_time): nanoseconds
...
require more digits when dumping. Thanks akr! [ruby-core:31047]
* test/psych/visitors/test_to_ruby.rb: adjusting tests for nanoseconds
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28551 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-05 23:12:44 +00:00
tenderlove
f32ae44629
* ext/psych/lib/psych/scalar_scanner.rb: making the code more beautiful.
...
Thanks nobu!
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28550 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-05 18:14:37 +00:00
tenderlove
ce2e7368d7
* ext/psych/lib/psych/scalar_scanner.rb (parse_string): support
...
timezones that are not one hour off. [ruby-core:31023]
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-05 03:33:56 +00:00
mrkn
1c3e07f0d6
* ext/bigdecimal/bigdecimal.c (Init_bigdecimal): add two new constants BigDecimal::INFINITY and BigDecimal::NAN.
...
* ext/bigdecimal/lib/bigdecimal/math.rb (BigMath.exp): modify the behaviors for infinity arguments as same as Math.exp.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-03 07:47:00 +00:00
tenderlove
59cad45f99
* ext/psych/lib/psych/visitors/to_ruby.rb(visit_Psych_Nodes_Scalar):
...
teaching Psych to deserialize DateTime objects. [Bug #1390 ]
* ext/psych/lib/psych/visitors/yaml_tree.rb(visit_DateTime): added a
method for serializing DateTime objects.
* ext/psych/lib/psych/scalar_scanner.rb(parse_time): add method for
parsing times objects from a string.
* test/psych/test_date_time.rb: tests for dumping DateTime objects.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28532 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-03 00:52:43 +00:00
tenderlove
6fe92a3cd6
* ext/psych/lib/psych/visitors/yaml_tree.rb (visit_Time): use
...
Time#nsec to accurately serialize time objects. [ruby-core:29233]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-07-03 00:15:51 +00:00
tarui
952b1bf355
* ext/stringio/stringio.c (strio_write): add RB_GC_GUARD.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-29 12:12:07 +00:00
nobu
3e8540543e
* ext/fiddle/fiddle.h: fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28470 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28 21:22:57 +00:00
tenderlove
50bb2544bb
* ext/fiddle/fiddle.h: added FFI type detection to avoid bug in ffi
...
header files. Thanks Yugui! [ruby-core:30917]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-28 16:26:59 +00:00
tarui
db4a0d42dd
* ext/dl/lib/dl/func.rb (call): don't overwrite original arguments
...
to defend from GC.
* test/dl/test_func.rb (test_string): add test for above.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-25 19:43:15 +00:00
akr
f77d8722c2
* ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): the workaround
...
for Mac OS X moved from rsock_getaddrinfo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28414 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 21:24:31 +00:00
akr
512a35693b
* ext/socket/raddrinfo.c (str_is_number): renamed from str_isnumber to
...
avoid confusion to str_isnumber in ext/socket/getaddrinfo.c.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28410 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 15:05:25 +00:00
akr
89f2c44d37
* ext/socket/raddrinfo.c: don't use __P.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28408 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 13:56:20 +00:00
suke
0864df17fb
* ext/win32ole/win32ole.c (reg_get_typelib_file_path): try win64
...
registry entry at first. [ruby-dev:41674] [Bug #3464 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 12:41:26 +00:00
akr
eab33b597d
add a comment.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28402 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 12:35:04 +00:00
akr
acb8b3f7a9
* ext/socket/raddrinfo.c (ruby_getaddrinfo__darwin): new workaround for
...
getaddrinfo problem on Mac OS X Snow Leopard. [ruby-core:29427]
patch by Wataru Kimura. [ruby-core:30842]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28401 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 12:25:07 +00:00
nobu
80684e9c09
* ext/pty: moved documents and samples to the appropriate places.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 08:25:12 +00:00
nobu
c7d001465c
* NEWS (ptr): new method and deprecated methods. [ruby-dev:41681]
...
* ext/pty/{README,README.ja}: ditto.
* ext/pty/pty.c (pty_check): add rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28399 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 08:12:54 +00:00
naruse
0de2d84af8
Clean warnings: unused variables.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28398 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-23 05:32:46 +00:00
akr
7d8d8c4f59
* ext/socket/lib/socket.rb: suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28388 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-22 13:41:16 +00:00
tenderlove
b09ad2b847
* ext/psych/lib/psych/visitors/to_ruby.rb (resolve_klass): fix the
...
exception message when attempting to load an unknown class. Thanks
nobu! [ruby-dev:41399]
* test/psych/test_psych.rb: test for the exception message
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-18 18:38:19 +00:00
mame
3ccd6c0aab
* ext/fiddle/extconf.rb: check ffi.h even when pkg-config succeeded.
...
On Debian/lenny, which is a "supported" platform, ffi.h is installed
in /usr/include/i486-linux-gnu/. This causes build error when using
gcc whose target is not i486-linux-gnu.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28332 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 16:43:46 +00:00
eban
6e10636d32
* ext/fiddle/extconf.rb: De Morgan's laws.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 08:16:33 +00:00
eban
423b4d815f
* ext/fiddle/extconf.rb: use pkg_config to find ffi.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28327 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-15 03:14:34 +00:00
naruse
7eec027f06
* ext/fiddle/closure.c (dealloc): refix workaround r28300.
...
don't use ffi_closure_alloc, ffi_prep_closure_loc and
ffi_closure_free on MACOSX and __linux__.
[ruby-dev:41483] [ruby-dev:41214]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28315 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-13 19:06:25 +00:00
naruse
75033ea16f
* ext/dl/lib/dl.rb: don't require when already loaded.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28302 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 15:28:47 +00:00
naruse
5422161026
* ext/fiddle/closure.c (dealloc): workaround fix for libffi's
...
ffi_closure_free. [ruby-dev:41483] [ruby-dev:41214]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-12 15:28:40 +00:00
nobu
fbfd5fdcb0
* ext/openssl/extconf.rb: __VA_ARGS__ is already checked in configure.
...
* ext/openssl/extconf.rb: use try_static_assert for version check.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28292 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 23:03:28 +00:00
mame
8af5f01a17
* ext/dbm/extconf.rb: accept Berkley DB version 3, 4 and 5.
...
[ruby-dev:41531]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28284 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 15:40:39 +00:00
naruse
78e3dfd95b
* ext/openssl/ossl_ssl.c (ossl_sslctx_get_ciphers):
...
use sk_SSL_CIPHER_num and sk_SSL_CIPHER_value instead of cast.
patched by Takahiro Kambe [ruby-dev:41530]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28282 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-11 14:06:23 +00:00
nobu
da0ac85107
* ext/dl/cfunc.c (rb_dlcfunc_inspect): should taint the result.
...
[ruby-dev:41533]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28156 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-04 01:46:36 +00:00
knu
24be1f14e6
* ext/digest/lib/digest/hmac.rb: Emit a deprecation warning in
...
verbose mode and add a caution to the overview section of the
document. [ruby-dev:41525]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28149 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03 14:48:23 +00:00
nobu
8984ef4705
* ext/dl/cfunc.c (rb_dlcfunc_inspect): suppress warnings by
...
rb_sprintf.
* ext/dl/cptr.c (rb_dlptr_s_malloc): suppress warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28148 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03 10:33:57 +00:00
usa
fdc4326702
* ext/dl/dl.h (DLSTACK_TYPE): type of stack is same as VALUE.
...
reported by sakiyama shin in [ruby-dev:41514]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28138 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-03 00:38:59 +00:00
nagai
ed02f66eca
* ext/tk/lib/tk.rb: fix typo and race condition.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28131 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02 16:24:29 +00:00
tenderlove
230ca5ffe5
* ext/dl/lib/dl/cparser.rb (parse_ctype): add backwards compatibility
...
by supporting "uint" types in the c parser. [ruby-core:29750]
* test/dl/test_cparser.rb: adding a test for "uint" changes.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28129 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-06-02 16:02:48 +00:00
naruse
b64083376e
* ext/readline/extconf.rb: reject GPLv3 readline. [ruby-dev:39172]
...
[ruby-core:25272] [ruby-dev:39167] [ruby-core:28736]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-31 18:48:16 +00:00
nagai
d369a50c2b
* ext/tk/extconf.rb: use tclConfig.sh/tkConfig.sh when frameworks
...
are enabled on MacOS X.
* ext/tk/stubs.c: dirty hack for frameworks and stubs on MacOS X.
* ext/tk/lib/tk.rb: stop creating a dummy Tcl/Tk interpreter.
And hide a root window before starting eventloop. (for ruby 1.9)
* ext/tk/tcltklib.c: add codes to support Ruby/Tk-Kit (Rubykit).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28111 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-31 14:50:39 +00:00
naruse
2a0c12cce4
* ext/nkf/nkf-utf8/nkf.c: updated to b856dd07.
...
this cleans warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-30 09:48:28 +00:00
mame
1887f60a85
* ext/zlib/zlib.c (zstream_append_input2): add RB_GC_GUARD.
...
This caused failure when test/csv is executed with GC.stress = true.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-29 17:22:46 +00:00
akr
415be47593
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-25 14:26:04 +00:00
nobu
b4f1eaa493
* ext/openssl/lib/openssl/x509-internal.rb, lib/forwardable.rb,
...
lib/irb/cmd/fork.rb, lib/mutex_m.rb,
lib/shell/process-controller.rb, lib/sync.rb, object.c:
suppress warnings patched by Benoit Daloze at [ruby-core:30366].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-23 08:48:44 +00:00
tenderlove
044d6010fd
* ext/psych/lib/psych/json/stream.rb: adding a JSON streaming API
...
* ext/psych/lib/psych/stream.rb: ditto
* ext/psych/lib/psych.rb: using autoload
* ext/psych/lib/psych/json.rb: ditto
* ext/psych/lib/psych/json/tree_builder.rb: refactor
* ext/psych/lib/psych/visitors/json_tree.rb: refactor
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-22 22:12:39 +00:00
nobu
6d1940fed9
* ext/nkf/nkf.c (rb_nkf_convert, rb_nkf_guess): check too huge
...
string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 10:11:44 +00:00
nobu
ca3f208b3b
* ext/syck/implicit.c (YYFILL): suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 09:21:58 +00:00
nobu
87af442f94
* suppress warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 09:10:23 +00:00
suke
c3a13f6cc4
* ext/win32ole/win32ole.c (ole_invoke): raise NoMethodError
...
when COM method is not found. [ruby-core:30160] [Bug #3277 ]
* test/win32ole/test_win32ole.rb (test_no_method_error): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27922 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20 11:55:10 +00:00
usa
df45be0472
* ext/psych/emitter: f..king C99(gcc)-ism.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27916 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20 07:18:04 +00:00
tenderlove
5256d10265
* ext/psych/lib/psych/stream.rb: adding YAML streaming API for
...
infinite length streams.
* ext/psych/lib/psych.rb: refactoring for streaming API
* ext/psych/lib/psych/{handler, stream, tree_builder}.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27912 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20 04:03:47 +00:00
tenderlove
383769068d
* ext/psych/emitter.c: output strings are automatically transcoded
...
* test/psych/test_emitter.rb: supporting tests
* test/psych/test_encoding.rb: more supporting tests
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27910 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 17:15:27 +00:00
nagai
3c80aa56de
* ext/tk/extconf.rb: [ruby-def:41334] [Bug #3307 ] invalid result on searching tcl.h/tk.h. Thanks, Masaya Tarui.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27904 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 14:45:03 +00:00
usa
61086883b6
* ext/socket/extconf.rb: mswin/mingw ruby has socketpair(), but it's
...
not exist as such name in ruby static library, so mkmf.rb cannot
find it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27893 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 10:59:47 +00:00
tenderlove
c1b29ff5c6
* ext/psych/lib/psych.rb: Adding Psych::Exception
...
* ext/psych/parser.c: Do not allow extern_encoding to be set twice
* test/psych/test_parser.rb: test
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27882 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 03:24:13 +00:00
tenderlove
15335f8aaa
* ext/psych/emitter.c: using xmalloc and xfree for memory allocation
...
* ext/psych/lib/psych/nodes/stream.rb: encoding should be read / write
* ext/psych/parser.c: supporting UTF-16 and UTF-16 + BOM
* test/psych/test_parser.rb: testing UTF-16 and UTF-16 + BOM
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27881 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 03:12:03 +00:00
mame
e181ae5391
* process.c: suppress warning for signed and unsigned type
...
inconsistency.
* ext/psych/parser.c: ditto.
* ext/sdbm/_sdbm.c: ditto.
* ext/syck/rubyext.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 13:21:17 +00:00
tenderlove
2f39988511
* ext/psych/lib/psych/emitter.rb: removing unused file.
...
* ext/psych/lib/psych/json/tree_builder.rb: moving tree builder to an
event based external class.
* ext/psych/lib/psych/tree_builder.rb: adding an end_stream event.
* ext/psych/lib/psych/visitors/json_tree.rb: using event based AST
builder.
* ext/psych/lib/psych/visitors/yaml_tree.rb: using event based AST
builder.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27855 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16 23:50:23 +00:00
tenderlove
37910b13fb
* ext/psych/lib/psych/visitors/json_tree.rb: using factory methods for
...
node creation
* ext/psych/lib/psych/visitors/yaml_tree.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16 02:33:05 +00:00
nobu
d9615c85a3
* ext/iconv/iconv.c (rb_iconv_sys_fail): fix number of arguments.
...
a patch by Masaya TARUI <tarui AT prx.jp>.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16 01:49:49 +00:00
nobu
44c9592d62
* ext/iconv/iconv.c (rb_iconv_sys_fail): raise BrokenLibrary if
...
errno is not set. [ruby-dev:41317]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27800 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-15 08:16:18 +00:00
nobu
30f637024b
* ext/io/console/console.c (get_write_fd): return primary fd if no
...
io is tied for writing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27785 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-13 09:45:29 +00:00
nobu
552243aa15
* ext/io/console/console.c (console_set_echo, console_echo_p): use
...
primary fd. [ruby-dev:41309]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-13 08:56:11 +00:00
akr
5920d5440f
* ext/sdbm/_sdbm.c: include unistd.h before sdbm.h for off_t.
...
fix compilation problem on FreeBSD 6.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27764 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-12 22:39:10 +00:00
nobu
5b20a1398b
* ext/bigdecimal/lib/bigdecimal/math.rb (BigMath#log): improved
...
precision and performance. [ruby-dev:41295]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27747 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-12 06:04:59 +00:00
usa
851a023843
* ext/socket/extconf.rb: test all IPPROTO_* constants for recent Win32
...
SDK.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-12 02:40:09 +00:00
akr
01cd3467fb
* ext/socket/extconf.rb: test IPPROTO_IP and IPPROTO_IPV6 constants.
...
* ext/socket/mkconstants.rb: define macros for enum.
[ruby-dev:38849]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-11 14:10:34 +00:00
mrkn
74365313f7
* ext/bigdecimal/lib/bigdecimal/math.rb (atan), test/bigdecimal/test_bigmath.rb (test_atan): explicitly specify the precision for calculating a reciprocal number of an argument. [Bug #3267 ]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27734 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-11 05:11:59 +00:00
nobu
2b0fe8070b
* ext/sdbm/sdbm.h (DBM): large file support on win32.
...
[ruby-core:23039]
* ext/sdbm/depend: objects depend on sdbm.h.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27730 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-11 02:49:46 +00:00
nobu
c20a118c50
* ext/psych/parser.c (PSYCH_TRANSCODE): get rid of bare use of gcc
...
extension.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27728 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-11 00:53:16 +00:00
nobu
60d460ead9
* ext/psych/parser.c: fixed broken indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27727 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-11 00:53:11 +00:00
tenderlove
0de068d03e
* ext/psych/parser.c (parse): Return strings encoded as
...
Encoding.default_internal if set.
* test/psych/test_encoding.rb: Tests for encoding change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27723 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-10 16:22:52 +00:00
akr
cb61fcb988
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 16:32:52 +00:00
nobu
b44618d5e5
* ext/io/console/console.c (console_set_raw): new method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 15:54:17 +00:00
nobu
08bf7189f8
* ext/io/console/console.c (ttymode): reverted previous commit.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 15:35:43 +00:00
naruse
7021db80f3
* ext/json/generator/generator.c (fbuffer_inc_capa):
...
fix tha use of REALLOC_N. [ruby-dev:41227]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27694 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 00:50:36 +00:00
akr
c8892037c7
revert previous doc. change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27693 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 00:36:38 +00:00
nobu
5d379991de
* ext/json/{generator/generator.c,parser/parser.rl}: fixed indent.
...
* ext/json/{generator,parser}/depend: added.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27692 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-09 00:30:12 +00:00
tenderlove
1684c23496
* ext/fiddle/lib/fiddle.rb: only require DL if it hasn't been required
...
yet. [ruby-core:30095]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27685 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 17:59:46 +00:00
nobu
6f3830427d
* ext/io/console/console.c (ttymode): save dupped file descriptors
...
and restore tty modes using them, so that original modes can be
restored even if orignal fds are closed. [ruby-dev:41225]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27676 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 14:07:32 +00:00
akr
f491696f4b
update doc.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27674 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 08:08:29 +00:00
nobu
163f974208
* ext/io/console: imported. [ruby-dev:40897]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27668 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 04:05:39 +00:00
nobu
2c01a07bf4
* ext/etc/etc.c (etc_systmpdir): moved from ext/tmpdir.
...
* ext/etc/etc.c (etc_sysconfdir): added.
* lib/rubygems/config_file.rb, lib/tmpdir.rb: use etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27667 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 03:25:17 +00:00
nobu
5512c9b287
* ext/etc/etc.c: suppressed warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 03:08:53 +00:00
nobu
66abf4ad68
* ext/bigdecimal/bigdecimal.c (VpAlloc): ensure buf does not get
...
collected. based on a patch masaya tarui at [ruby-dev:41213].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27665 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 02:07:43 +00:00
akr
7eb6e562e5
* ext/socket/lib/socket.rb (BasicSocket#connect_address): MacOS X 10.6
...
returns "::ffff:a.b.c.d" for IPv4-mapped IPv6 address.
[ruby-dev:41215] patch by Tomoyuki Chikanaga.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27663 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-08 01:13:33 +00:00
nobu
69310faab2
* ext/tk/extconf.rb (get_tclConfig_dirs): glob with EXEEXT.
...
* ext/tk/extconf.rb (search_tclConfig): fixed typo.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27652 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-07 00:16:19 +00:00
nagai
cc9333b840
* ext/tk/extconf.rb: search directories on PATH, only if containing
...
tclsh or wish command (probably right fix for [ruby-core:30010]).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27649 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 21:47:37 +00:00
naruse
54476a6024
* ext/bigdecimal/bigdecimal.c (VpCtoV): fix to check overflow.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27647 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 19:28:12 +00:00
nobu
bcd0bcc390
* test/openssl/test_ec.rb: added test_dsa_sign_asn1_FIPS186_3. dgst is
...
truncated with ec_key.group.order.size after openssl 0.9.8m for
FIPS 186-3 compliance.
WARNING: ruby-openssl aims to wrap an OpenSSL so when you're using
openssl 0.9.8l or earlier version, EC.dsa_sign_asn1 raises
OpenSSL::PKey::ECError as before and EC.dsa_verify_asn1 just returns
false when you pass dgst longer than expected (no truncation
performed).
* ext/openssl/ossl_pkey_ec.c: rdoc typo fixed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27645 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 10:13:46 +00:00
nobu
f7050e0e27
* ext/fiddle/function.c (function_call): removed unused variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27644 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 09:33:10 +00:00
tenderlove
4bada8b864
* ext/fiddle/*: Adding fiddle library to wrap libffi
...
* test/fiddle/*: testing fiddle extension
* ext/dl/lib/dl.rb: Requiring fiddle if it is available
* ext/dl/lib/dl/callback.rb: using Fiddle if it is available
* ext/dl/lib/dl/func.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27640 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-06 06:59:24 +00:00
nagai
690e065bf8
* ext/tk/extconf.rb: revert. enbugged by last commit.
...
([ruby-dev:41133], [ruby-dev:41134], [ruby-core:30010])
* ext/tk/README.tcltklib: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27627 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-05 10:08:16 +00:00
akr
622f45fccb
* ext/socket/option.c (sockopt_inspect): use rb_str_cat2 and
...
rb_str_append.
* ext/socket/ancdata.c (ancillary_inspect): refined.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27608 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-04 03:39:36 +00:00
akr
f1192452a9
* ext/socket/ancdata.c (ancillary_inspect): use rb_str_cat2 and
...
rb_str_append.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27607 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-04 02:51:46 +00:00
naruse
9526ba4ef3
* ext/nkf/nkf-utf8/nkf.c: Update nkf 2010-04-28.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-03 19:04:29 +00:00
tenderlove
23f612d7bf
* ext/psych/lib/psych/visitors/yaml_tree.rb: using more factory methods
...
for generating the YAML ast.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27601 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-03 15:39:59 +00:00
nobu
902bd2b106
* ext/syck/emitter.c (syck_scan_scalar): set SCAN_WHITEEDGE flag
...
when scalar begins with newline. patches from Dave B <daz AT
d10.karoo.co.uk> at [ruby-core:23019] and caleb clausen at
[ruby-core:25851]. [ruby-core:23006][ruby-core:29925]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27591 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-02 23:15:08 +00:00
nobu
765ff64b10
* ext/dl/cfunc.c (rb_dlcfunc_call): ignore signedness.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27588 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-02 08:25:15 +00:00
nobu
c8316e30ae
* ext/bigdecimal/bigdecimal.c (BigDecimal_IsInfinite): don't use
...
non-ascii character.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27575 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-01 07:46:46 +00:00
nagai
5d639de5d3
* ext/tk/extconf.rb: better support for MinGW environment.
...
* ext/tk/README.tcltklib: add info of --with-tcltk-drive for Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27562 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-30 06:41:01 +00:00
naruse
dc22009c26
* ext/json: Update to JSON 1.4.2.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27535 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 14:26:30 +00:00
nobu
0dc145e7b2
* ext/socket/extconf.rb: CMSG_ macros are broken on 64bit darwin,
...
because of use of __DARWIN_ALIGN.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27530 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 08:14:18 +00:00
nobu
4822d20cc5
* ext/socket: fixed types.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 08:14:13 +00:00
nobu
5e7101d348
* ext/socket/unixsocket.c (sendmsg_blocking, recvmsg_blocking):
...
define only when used.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27527 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 07:28:53 +00:00
nobu
d4840cc785
* ext/socket/rubysocket.h: non-implemented method definitions need
...
to be shared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 07:16:30 +00:00
nobu
382085b75b
* ext/bigdecimal: fixed types.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-28 00:47:22 +00:00
tenderlove
430e0ce491
* ext/psych/lib/psych/deprecated.rb: adding deprecated object_maker
...
method,
* test/psych/test_deprecated.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27 20:40:12 +00:00
tenderlove
ad3c1061a7
* ext/psych/lib/psych/deprecated.rb: adding deprecated "read_type_class"
...
method
* test/psych/test_deprecated.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-27 20:19:16 +00:00
usa
76b33197e2
* ext/json/generator/generator.c (convert_UTF8_to_JSON_ASCII): get rid
...
of a warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26 06:43:36 +00:00
naruse
3642494ce5
Recommit of JSON; fix mixed declarations.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26 06:27:27 +00:00
usa
27be3056dc
* ext/jason: revert r27493. came again after canceling gcc-ism.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26 04:34:36 +00:00
nobu
6c29e97c72
* ext/bigdecimal/bigdecimal.def: unnecessary.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26 01:07:36 +00:00
nobu
cce2aa4958
* ext/bigdecimal/bigdecimal.c: suppressed warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26 01:07:32 +00:00
naruse
54592ad627
* ext/json: Update to JSON 1.4.1.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-26 00:06:35 +00:00
tenderlove
63578c725c
* ext/psych/lib/psych/deprecated.rb: adding deprecated tagurize method
...
* test/psych/test_deprecated.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-24 22:27:55 +00:00
tenderlove
38297f330b
* ext/psych/lib/psych.rb: removing unused code
...
* ext/psych/lib/psych/visitors/yaml_tree.rb: removing unused code
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-24 22:23:37 +00:00
tenderlove
2d9c054412
* ext/psych/lib/psych/deprecated.rb: adding support for deprecated
...
"add_private_type" function
* ext/psych/lib/psych.rb: ditto
* ext/psych/lib/psych/visitors/to_ruby.rb: ditto
* test/psych/test_deprecated.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-24 20:35:20 +00:00
tenderlove
b57db764b0
* ext/psych/lib/psych/deprecated.rb: supporting detect_implicit method
...
* test/psych/test_deprecated.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-24 19:58:34 +00:00
tenderlove
7309f9cc00
* ext/psych/lib/psych.rb: supporting deprecated syck method
...
add_ruby_type
* ext/psych/lib/psych/visitors/to_ruby.rb: ditto
* test/psych/test_deprecated.rb: ditto
* test/psych/test_psych.rb: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-24 04:11:27 +00:00
nobu
7668e5aa9d
* ext/syck/yaml2byte.c (bytestring_append, bytestring_extend):
...
removed wrong extra assignments. a patch from Marcus Rueckert
<darix AT opensu.se> at [ruby-core:29759].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27466 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-24 00:44:42 +00:00
tenderlove
edcaae9741
* ext/psych/lib/psych.rb: fixing documentation
...
* ext/psych/lib/psych/deprecated.rb: moving deprecated method to
deprecated file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27465 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-24 00:20:08 +00:00
usa
eaaef6af40
* ext/openssl/ossl_ssl_session.c (SSL_SESSION_cmp): remove static for
...
loopy version of openssl (0.9.8l?).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27461 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-23 15:16:02 +00:00
akr
5c67d206a7
* ext/openssl/ossl_config.c: fix compilation failure with
...
OpenSSL 0.9.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27460 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-23 14:28:56 +00:00
usa
6f7b5ffe6f
* ext/openssl/ossl_config.c: OpenSSL 1.0.0 support.
...
* ext/openssl/extconf.rb: check some functions added/removed at
OpenSSL 1.0.0.
* ext/openssl/ossl_engine.c (ossl_engine_s_load): use engines which
exists.
* ext/openssl/ossl_ssl_session (SSL_SESSION_cmp): removed at 1.0.0,
so implement compatible fuction here.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-23 08:37:55 +00:00
nobu
9e67f6ecec
* doc/etc.rd, doc/etc.rd.ja: moved from ext/etc.
...
* ext/etc.c (Init_etc): fixed rdoc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-23 05:07:38 +00:00
nobu
d0e5a34ac7
* ext/**/*.[ch]: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27440 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-22 08:21:01 +00:00
nobu
3e8d63059d
* ext/**/*.[ch]: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-22 08:16:09 +00:00
nobu
977267c2e0
* ext/**/*.[ch]: removed trailing spaces.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-22 08:04:13 +00:00
mrkn
5318e0f605
* ext/bigdecimal/bigdecimal.[ch]: replace _DEBUG with BIGDECIMAL_DEBUG to prevent activating debugging code when compiled with -DEBUG flag on Windows. [ruby-core:22989] #1308
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-21 17:22:27 +00:00
akr
c50c9f6d3b
* ext/digest/sha2/extconf.rb: check SHA256_CTX and SHA512_CTX to fix
...
compilation failure on OpenBSD 4.4.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-21 12:25:29 +00:00
mame
7c7a7c1205
* ext/zlib/zlib.c (rb_deflate_params): update buf_filled count because
...
deflateParams writes to out buffer. And, revert r18029 because the
flush was not needed now and emits garbage. [ruby-dev:40802]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27423 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-20 15:23:23 +00:00
usa
a3bd9a86e8
* ext/dl/win32/lib/win32/registry.rb (PredefinedKey#create): root key
...
name should be a string. fixed [ruby-core:28192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27418 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-04-20 12:34:57 +00:00