akr
72ee10b19c
* transcode.c (make_econv_exception): rename instance variable names
...
for storing encoding names.
(ecerr_source_encoding_name): method renamed.
(ecerr_destination_encoding_name): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18987 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 08:17:48 +00:00
akr
2d71485ec1
* transcode.c (econv_putback): associate encoding to the result.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18986 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 07:59:03 +00:00
ko1
ca6a8b1e2c
* include/ruby/intern.h: rename RB_UBF_DFL to
...
RUBY_UBF_IO and RUBY_UBF_PROCESS.
Because there is no default (universal) unblocking function.
* ext/socket/socket.c, file.c, io.c, process.c, thread.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18985 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 07:44:24 +00:00
akr
d427cf3af8
* transcode.c (econv_insert_output): raise ArgumentError on failure.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18984 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 07:43:19 +00:00
ko1
03b2fc9adf
* bootstraptest/test_thread.rb: add a test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18983 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 07:39:45 +00:00
akr
d1429c3cc6
* enc/trans/single_byte.trans (us_ascii_map): don't define 8bit bytes.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18982 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 07:37:10 +00:00
nobu
ae9af4d333
* ext/socket/socket.c (lookup_order_table): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 06:07:52 +00:00
akr
c3f55e6d48
* transcode.c (econv_last_error): new method.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18980 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 05:27:52 +00:00
akr
9d2accff2b
* transcode.c (econv_primitive_convert): make two arguments,
...
destination_byteoffset and destination_bytesize, optional.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18979 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 05:18:29 +00:00
akr
f3c43ae0c2
* transcode.c (make_econv_exception): error message simplified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18978 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 05:12:32 +00:00
nobu
bb239558b8
* ext/coverage/coverage.c (rb_mCoverage): removed unneeded static variable.
...
* ext/socket/socket.c (unix_recv_io): ditto.
* ext/socket/socket.c (mConst): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 04:48:02 +00:00
nobu
1105b5ded7
* ext/openssl/ossl_ocsp.c (ossl_ocspres_initialize): fix for
...
initialization of r18168.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18975 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 04:45:44 +00:00
nobu
1a41f6dbf4
* ext/ripper/eventids2.c (ripper_init_eventids2): use rb_intern_const.
...
* ext/ripper/tools/generate.rb (generate_eventids1): ditto.
* ext/ripper/tools/generate.rb (generate_eventids2_table): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18974 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 04:42:42 +00:00
akr
91e5f7d51a
* ext/dl/mkcallback.rb (rb_dl_init_callbacks): fix indent.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18973 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 03:56:30 +00:00
nobu
422d6b3d67
* ext/openssl/ossl_config.c (Init_ossl_config): removed C99ism.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18971 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 03:36:09 +00:00
akr
5757a872c4
* ext/strscan/strscan.c (strscan_do_scan): fix usecnt decrement.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18968 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-31 02:43:17 +00:00
akr
d9c5f88abc
* transcode.c (econv_putback): make max argument optional.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18967 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 19:39:16 +00:00
akr
97a5808a14
* transcode.c (rb_econv_putback): putback from last byte.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18966 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 19:36:38 +00:00
akr
998a4ec5af
* transcode.c (econv_putback): renamed from econv_primitive_putback.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18965 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 19:27:35 +00:00
akr
5bbc51ed43
* transcode.c (econv_insert_output): renamed from
...
econv_primitive_insert_output.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 19:23:23 +00:00
akr
d3db454d19
* test/ruby/test_econv.rb: follow econv_primitive_errinfo change.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18963 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 19:21:18 +00:00
akr
5e222d6945
* transcode.c (econv_primitive_errinfo): 5th element (partial_input)
...
removed from result.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 18:45:48 +00:00
akr
3deee712f5
* ext/dl/mkcallback.rb: split callback.h to callback-[0-9].c to reduce
...
memory consumption on compilation. [ruby-dev:31898]
* ext/dl/depend: add dependency for callback-[0-9].[co].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18961 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 16:55:34 +00:00
svn
c4eb738b74
* 2008-08-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18960 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 16:29:08 +00:00
akr
f69c1c5eda
* ext/dl/mkcallback.rb (foreach_proc_entry): extracted.
...
(gencallback): ditto.
(gen_push_proc_ary): ditto.
(gen_push_addr_ary): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18959 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 16:29:03 +00:00
seki
a2a32f9f02
fix failures [ruby-dev:35937].
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18956 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 14:53:15 +00:00
akr
8eb12fc30e
* ext/dl/test/test_import.rb: fix character code.
...
* ext/dl/test/test_func.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18955 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 14:39:21 +00:00
tadf
74f9ec7e4f
* rational.c: added a static variable for nurat_to_f.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18953 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 13:25:48 +00:00
usa
7b2f9d9238
* win32/win32.c (rb_w32_open, rb_w32_read, rb_w32_write): fallback to
...
MSVCRT if text mode is specified. this case will not be used from
ruby itself.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18951 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 11:06:52 +00:00
usa
29c7201262
* win32/win32.c (rb_w32_read): EOF is not error.
...
ref [ruby-dev:36050]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18949 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 10:51:40 +00:00
nobu
0075a767e5
* parse.y (struct token_info): constified.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 09:17:47 +00:00
nobu
a442691c9d
* parse.y (token_info_get_column, token_info_has_nonspaces),
...
(token_info_push, token_info_pop): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18947 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 09:16:38 +00:00
matz
855b594157
* parse.y (token_info_push): -w warns indentation level mismatch.
...
based on a patch from Yukina Yamano presented at RubyKaigi'07.
See <http://jp.rubyist.net/RubyKaigi2007/Log0609-LT06.html > and
<http://www.logic-junction.com/products/rubyend.html > (Japanese).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18945 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 07:29:41 +00:00
matz
6ada14922f
* ext/openssl/ossl_config.c (Init_ossl_config): memory leak fixed.
...
a patch <shinichiro.hamaji at gmail.com> in [ruby-dev:35880].
* ext/openssl/ossl_x509ext.c (ossl_x509ext_set_value): ditto.
* ext/strscan/strscan.c (strscan_do_scan): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18944 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 06:54:25 +00:00
nobu
34e157478b
* ext/openssl/ossl_x509ext.c (ossl_x509ext_initialize): fix for
...
initialization of r18168.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18942 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 05:58:38 +00:00
akr
86e45042cb
* ext/dl/mkcallback.rb: fix continuation line detection.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18941 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 05:48:09 +00:00
akr
375dbe3c73
* ext/dl/mkcallback.rb (rb_dl_init_callbacks): avoid GC problem which
...
is caused by 'GC.stress=true; require "dl"'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18940 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 05:42:06 +00:00
ko1
1b80bfa469
* ext/iconv/iconv.c: remove include pragma for "ruby/intern.h".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18938 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 01:53:41 +00:00
ko1
35617676cb
* parse.y: remove include pragma for "ruby/intern.h".
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18937 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 01:43:34 +00:00
nobu
b3b121496f
* lib/rake.rb (Rake::Application#help): fix for OPTIONAL_ARGUMENT and
...
multiple short options. [ruby-dev:36051]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18936 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-30 01:42:03 +00:00
nobu
24aba08054
* include/ruby/intern.h (rb_file_s_absolute_path),
...
(rb_file_absolute_path): prototyped.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18935 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 23:59:32 +00:00
naruse
727625d9d4
* encoding.c (enc_compatible_p): use TYPE not BUILTIN_TYPE.
...
[ruby-dev:36048]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18934 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 23:10:25 +00:00
naruse
5159f500fd
* encoding.c (enc_compatible_p): add SPECIAL_CONST_P check.
...
* test/ruby/test_m17n.rb (test_compatible): fix test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18933 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 22:50:16 +00:00
matz
41d5072573
* object.c (rb_obj_freeze): update rdoc to mention RuntimeError
...
(not TypeError any longer) would be raised. [ruby-dev:35982]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18932 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 17:49:18 +00:00
matz
66529e382f
* bignum.c (bigdivmod): remove redundant code. a patch from
...
TOYOFUKU Chikanobu <nobu_toyofuku at nifty.com> in [ruby-dev:36044].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18931 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 16:56:44 +00:00
matz
d945524057
* lib/cgi.rb (CGI#initialize): remove unused constants. a patch
...
from Takeyuki Fujioka in [ruby-dev:36046].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18930 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 16:38:25 +00:00
akr
c2ba5cf9c5
rdoc update.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18929 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 16:25:27 +00:00
svn
31ad460358
* 2008-08-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18928 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 15:38:12 +00:00
tadf
2ccc4304cd
removed some lines which gain the score of coverage.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 15:38:09 +00:00
tadf
a5bdf63afd
* bignum.c: added an alias (#magnitude).
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2008-08-29 14:50:43 +00:00