kazu
5b6bc69fd7
fix typos
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 08:24:50 +00:00
nobu
2b8fb39dcb
* configure.in (LIBRUBYARG_SHARED): shared library will not be
...
created unless enable-shared.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 04:55:48 +00:00
nobu
73997d38f4
* ruby.c (ruby_init_loadpath_safe): use real path for non-shared
...
build.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27939 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 04:35:58 +00:00
nobu
b32e8a5911
* vm.c (vm_backtrace_each), vm_eval.c (rb_catch_obj): suppress
...
warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 03:57:11 +00:00
nobu
e207a3912c
* marshal.c (w_float): use dtoa directly instead of stripping
...
needless trailing .0.
* numeric.c (flo_to_s): reverted. [ruby-dev:41341]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-21 03:26:00 +00:00
svn
0303a1ca43
* 2010-05-21
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20 16:13:38 +00:00
usa
f82a6840a8
* thread.c (subtract_tv): if the rest is zero, should finish waiting
...
immediately.
* win32/win32.c (subtract): ditto.
based on a patch from Roger Pack in [ruby-core:27957].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20 16:13:35 +00:00
mame
268f95bdc6
* re.c (rb_reg_s_union_m): update rdoc. [ruby-dev:41354]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20 13:52:18 +00:00
mame
5c94d2d423
* vm_eval.c (rb_f_caller): update rdoc. a patch from Nobuhiro IMAI
...
<nov at yo.rim.or.jp> in [ruby-dev:41348].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20 13:09:28 +00:00
mame
9219029d3c
* vm.c (vm_backtrace_each): now takes an init function to distinguish
...
an empty stack from out of stack. [ruby-dev:41366]
* vm_eval.c (print_backtrace, rb_thread_backtrace): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27924 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-20 13:07:58 +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
svn
f0b0dd2912
* 2010-05-20
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27911 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 17:15:30 +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
28f9376f3a
* ChangeLog: sorry. fix typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27909 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 14:54:21 +00:00
nagai
6f59b4d081
* ChangeLog: commit miss. sorry.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27907 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 14:49:29 +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
shugo
f1ff36a331
* lib/net/imap.rb (disconnect): closes the socket of a Net::IMAP
...
object only when it is not closed. [ruby-dev:41350]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27903 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 14:22:09 +00:00
naruse
92b7ae2bcc
Fix test to follow NetBSD's setenv(3).
...
On NetBSD, setenv("FOO=bar", "buzz") is interpreted that environ is
"FOO=buzz". This is from API change in POSIX.1-2001.
http://togetter.com/li/22380
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27897 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 11:50:33 +00:00
mame
56036e3514
* vm_eval.c (rb_f_caller): return [] instead of nil when the function
...
is called on toplevel. [ruby-dev:41348]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 11:18:12 +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
mame
59af57e257
* iseq_compile_each (NODE_DEFINED): put nil first to fix stack
...
consistency. [ruby-core:30293]
Now, lfinish[0] of defined_expr seems not to be used. Refactoring
may be needed.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 10:48:17 +00:00
naruse
7eb7f063a4
Fix test to follow the behavior of NetBSD's dlsym.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27891 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 10:15:38 +00:00
naruse
20eebb8542
* numeric.c (rb_num2ulong): use rb_big2ulong for data from
...
Bignum. Without this 32bit integer on 32bit environment
can't converted into long.
This fixes 1) and 2) of [ruby-dev:41289]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27890 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 09:22:59 +00:00
usa
230ffa11d7
* test/csv/test_interface.rb (test_write_hash): may need to set binary mode
...
when converter is specified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27889 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 09:10:45 +00:00
usa
ec21e8438c
* test/dl/test_func.rb (test_sinf): sinf() doesn't exist in the standard of C.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27888 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 09:07:27 +00:00
usa
55400cb80f
* test/win32ole/test_folderitem2_invokeverb.rb (test_invokeverb): should use
...
assert_equal instead of assert in such cases.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27887 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 09:03:51 +00:00
usa
4b1a1f7701
* test/openssl/test_ssl.rb (test_client_auth): Errno::ECONNRESET is raised on
...
Windows.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27884 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 05:14:41 +00:00
usa
119863716b
* test/openssl/test_ssl.rb (server_loop): treat Errno::ENOTSOCK just like as
...
Errno::EBADF and Errno::EINVAL.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 05:08:17 +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
usa
a8f8b617c0
* test/logger/test_logger.rb: close logger (or logdevice) if it's related to
...
a file because some platforms such as Windows cannot remove opened files.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27880 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 03:05:05 +00:00
usa
520647325b
* test/socket/test_addrinfo.rb: ipaddr.rb defines Socket::AF_INET6 as an Object
...
if the constant is not available.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27879 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 02:55:38 +00:00
svn
31fd9c1553
* 2010-05-19
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27878 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 02:42:58 +00:00
usa
fa1044927f
* test/zlib/test_zlib.rb (test_adler32_combine, test_crc32_combine): skip if
...
they are not implemented.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-19 02:42:57 +00:00
marcandre
c5b5ab0935
* enum.c: Documentation: small fixes
...
* file.c: ditto
* io.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27874 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 21:51:01 +00:00
marcandre
c1ecff1b1e
* hash.c: Documentation: change => in call-seq to ->.
...
* enum.c: Documentation: whitespace fix for r27865
* error.c: ditto
* file.c: ditto
* io.c: ditto
* load.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 21:31:22 +00:00
marcandre
ef83d7a928
* lib/matrix.rb (determinant): Trivial optimization (thanks to Benoit Daloze)
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27868 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 21:09:31 +00:00
marcandre
914efd0b60
* proc.c (proc_lambda, unnamed_parameters): Small documentation fixes.
...
* re.c: ditto
* string.c: ditto
* time.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27867 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 21:07:46 +00:00
svn
410ae9d41b
* 2010-05-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 21:07:42 +00:00
marcandre
7729de4d91
* array.c: Documentation: change => in call-seq to ->.
...
Harmonize "#=>" in examples. [ruby-core:30206]
* bignum.c: ditto
* class.c: ditto
* compar.c: ditto
* cont.c: ditto
* dir.c: ditto
* encoding.c: ditto
* enum.c: ditto
* enumerator.c: ditto
* error.c: ditto
* eval.c: ditto
* file.c: ditto
* gc.c: ditto
* io.c: ditto
* load.c: ditto
* marshal.c: ditto
* math.c: ditto
* numeric.c: ditto
* object.c: ditto
* pack.c: ditto
* proc.c: ditto
* process.c: ditto
* random.c: ditto
* range.c: ditto
* re.c: ditto
* ruby.c: ditto
* signal.c: ditto
* sprintf.c: ditto
* string.c: ditto
* struct.c: ditto
* thread.c: ditto
* time.c: ditto
* transcode.c: ditto
* variable.c: ditto
* vm_eval.c: ditto
* vm_method.c: ditto
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 21:07:33 +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
mame
0f074e6546
* .gitignore: updated.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27863 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 12:31:21 +00:00
usa
d165fa2504
* win32/win32.c (argv_size): merged into join_argv() to maintain the
...
agreement with it. removed code has a calclulation bug.
fixed [Bug#2388]
* win32/win32.c (join_argv): calc and return the length of joined
argv.
the cause of the original bug was clarified by Masaya TARUI
<tarui AT prx.jp> and the solution was suggested by him, too.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27862 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 12:15:47 +00:00
naruse
f8d97b0026
* enc/iso_2022_jp.h: add CP50220.
...
* enc/trans/iso2022.trans: add converter for CP50220.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27860 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 06:28:16 +00:00
usa
6b15bccfdf
* test/ruby/test_dir_m17n.rb: changes for windows.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27857 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 02:07:00 +00:00
usa
fef3c0a415
* lib/fileutils.rb (FileUtils::Entry_#entries): returns pathname in
...
UTF-8 on Windows to allow FileUtils accessing all pathnames
internally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-17 00:41:56 +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
nobu
d62a9f00b8
* dln.c (dln_load): check imported addresses only when compiled
...
for ruby.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@27853 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-05-16 16:23:19 +00:00