drbrain
f462afa5cf
Add documentation for OpenSSL::X509::Extension.new
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-04 02:41:13 +00:00
nobu
3c11b2f2c9
* ext/iconv/iconv.c (Init_iconv): no warnings if $VERBOSE is nil.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-03 23:50:13 +00:00
nobu
bfcd4e5453
* ext/stringio/stringio.c (strio_getline): round upto next char
...
boundary. [ruby-dev:42674]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 22:08:45 +00:00
naruse
c20b8f75dd
* ext/json/lib/json/add/rails.rb: removed.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 12:28:45 +00:00
naruse
1cdcd40ec8
* ext/extmk.rb: remove $makeflags.defined?, it should be $mflags.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30013 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 01:46:42 +00:00
naruse
6d74458037
* ext/json/generator/extconf.rb: remove the lines which set -O3
...
when -O option is not set.
Note that -O3 doesn't always exist.
* ext/json/parser/extconf.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30011 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 01:12:41 +00:00
naruse
a04d93acc2
* ext/extmk.rb: define $makeflags.defined? like $mflags.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30010 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-02 01:03:55 +00:00
nobu
0e24a11b59
* ext/io/console/console.c (setattr): should retry on EINTR.
...
[ruby-dev:42666]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-01 22:08:41 +00:00
naruse
521876c373
* ext/json/lib/json/common.rb: don't use iconv on 1.9.
...
patched by Shota Fukumori [ruby-core:33164]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30004 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-01 16:26:15 +00:00
naruse
4a84c27e3e
* ext/json: Update github/flori/json from 1.4.2+ to
...
e22b2f2bdfe6a9b0. this fixes some bugs.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@30003 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-12-01 16:26:13 +00:00
drbrain
ff3e943d1f
Improve documentation for URI::Common#encode_www_form, OpenSSL::SSL::SSLContext#ssl_version=.
...
Add documentation for OpenSSL::SSL::SSLContext#ciphers
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29977 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-29 20:23:59 +00:00
usa
b00dfcca17
* ext/dl/callback/mkcallback.rb (gencallback): shouldn't assume that
...
VALUE is the same size with long.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29925 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-25 01:31:21 +00:00
nobu
49959bfd62
* lib/mkmf.rb (create_makefile): make extension libraries messages
...
brief.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29819 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-17 10:13:25 +00:00
mrkn
0ec61a3156
* ext/bigdecimal/lib/bigdecimal/util.rb (to_digits): avoid unused
...
variables warning, reported by Aaron Patterson.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29805 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-16 00:37:31 +00:00
tenderlove
fb7a337e97
* etc/openssl/ossl_ssl.c (ossl_ssl_get_cert): raise exception if
...
pointer is invalid. Thanks Ippei Obayashi! [ruby-dev:42573]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29784 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-14 21:46:08 +00:00
nobu
fd7c0279f8
* Makefile.in, common.mk, cygwin/GNUmakefile.in, enc/depend,
...
ext/ripper/depend, lib/mkmf.rb, win32/Makefile.sub: caddle up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29769 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-12 11:51:42 +00:00
nobu
a774aa4e79
* ext/iconv/iconv.c (warn_deprecated): show caller position.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29757 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 14:04:48 +00:00
nobu
f2f7a7740a
* common.mk: hide long command lines by default. verbose-mode is
...
turned on by V=1 as before.
http://jarp.does.notwork.org/diary/200605b.html#200605121
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 12:46:23 +00:00
nobu
59a666a25f
* lib/mkmf.rb (try_func): accept variable address.
...
* ext/win32ole/extconf.rb: libuuid is needed on cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29746 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 12:32:15 +00:00
nobu
8a7aad9952
* fix type warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29745 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-11 12:30:39 +00:00
tenderlove
2b620bec12
* ext/openssl/ossl_ocsp.c (ossl_ocspcid_initialize): an optional
...
parameter may be used to specify the OpenSSL::OCSP::CertificateId on
initialization. Thanks Elise Huard! [ruby-core:32460]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29699 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-05 15:49:38 +00:00
tenderlove
8c196cfba8
* ext/fiddle/extconf.rb: fixing ffi library location on windows.
...
Thanks Usa! [ruby-core:32930]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-04 15:15:39 +00:00
tenderlove
3d2e701396
* ext/psych/lib/psych/visitors/visitor.rb (initialize): push accessor
...
methods to subclass that actually uses them.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29672 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 21:25:27 +00:00
tenderlove
ad9aa5368f
* ext/psych/lib/psych/visitors/visitor.rb (accept): switch to
...
a dispatch cache rather than case / when statement.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-02 21:24:54 +00:00
usa
f6150aa7df
* ext/socket/extconf.rb: win64 is just same with win32 about socket.
...
notice: but wince is not same.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29666 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-11-01 15:26:58 +00:00
nobu
6b48289bb7
* ext/fiddle/closure.c (fiddle_closure): embed cif not reference
...
so that the content surely get initialized. [ruby-dev:42480]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29635 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-30 00:08:30 +00:00
ko1
0a0c657285
* ext/objspace/objspace.c (memsize_of): take care of
...
T_CLASS/const_tbl.
a patch from nagachika <nagachika00@gmail.com> [ruby-dev:42490]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-29 15:29:16 +00:00
ko1
8121a4f5a8
* ext/objspace/objspace.c (ObjectSpace.memsize_of_all): rename
...
ObjectSpace.total_memsize_of_all_objects() to
ObjectSpace.memsize_of_all([klass]).
Accept Class object to filter the objects.
* test/objspace/test_objspace.rb: fix test for above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29624 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-28 20:23:21 +00:00
ko1
b36aa7af03
* ext/objspace/objspace.c (memsize_of): fix rdoc.
...
* ext/objspace/objspace.c (total_memsize_of_all_objects): added.
* test/objspace/test_objspace.rb:
- add a test for ObjectSpace.total_memsize_of_all_objects.
- add two tests for ObjectSpace.memsize_of (for nil and Fixnum).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29614 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27 18:16:39 +00:00
nobu
430c1d3fe4
* ext/iconv/iconv.c (Init_iconv): warn deprecated use.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29613 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-27 14:55:31 +00:00
nobu
d8dfba24bb
* ext/dbm/dbm.c: rdoc based on a patch by mathew meta AT
...
pobox.com, at [ruby-core:32853].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29540 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-20 14:54:40 +00:00
nobu
671b498070
Commit miss.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-19 03:25:29 +00:00
nobu
12cbb58819
* test/ruby/test_sprintf.rb: fix ML ref. [ruby-core:32848]
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29533 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-19 03:22:03 +00:00
knu
74cacd0df4
* ext/digest/digest.c (rb_digest_class_init): Define
...
Digest::Class.new(). [Feature #3954 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29528 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-18 04:26:06 +00:00
suke
59a88b94f0
* ext/win32ole/win32ole.c (ole_encoding2cp): set codepage 20936
...
according to GB2312. [Bug #3937 ] [ruby-core:32758]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-16 02:14:32 +00:00
nobu
7e0920723c
* ext/sdbm/_sdbm.c (SEEDUPS, BADMESS): make settable using command
...
line options.
* ext/sdbm/_sdbm.c (makroom): suppress unused result warning.
* ext/sdbm/extconf.rb: disable BADMESS, a library should not emit
messages directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29515 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-16 01:06:13 +00:00
suke
12dc1ffd47
* ext/win32ole/win32ole.c (ole_hresult2msg): get English message first,
...
instead of system default. [ruby-core:32765]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 13:55:47 +00:00
suke
b1085abaeb
* ext/win32ole/win32ole.c (reg_get_val): expand environment in
...
the pathname. [Bug #3907 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-14 11:56:10 +00:00
nobu
2d4e8b4e22
* ext/syck/rubyext.c (struct mktime_arg): constified.
...
* ext/syck/rubyext.c (mktime_do, mktime_r, rb_syck_mktime): fix
function signatures.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29471 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 15:21:20 +00:00
nobu
cea3919ae6
* configure.in (RUBY_CHECK_PRINTF_PREFIX): check for printf format
...
specifier if possible.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29468 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 15:03:51 +00:00
nobu
b736c9b5dc
* ext/socket/init.c (rsock_init_sock): conditionally used variable.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 14:54:02 +00:00
nobu
d410639a6d
* compile.c (iseq_build_body), error.c (set_syserr, get_syserr),
...
(syserr_initialize), gc.c (define_final, rb_gc_copy_finalizer),
(run_final), hash.c (rb_hash_aref, rb_hash_lookup2),
(rb_hash_fetch_m, rb_hash_clear, rb_hash_aset, eql_i),
iseq.c (iseq_load, iseq_data_to_ary), marshal.c (r_symlink),
thread.c (rb_thread_local_aref),
variable.c (generic_ivar_remove, ivar_get, rb_const_get_0),
(rb_cvar_get), vm.c (rb_vm_check_redefinition_opt_method),
vm_insnhelper.c (vm_get_ev_const), vm_method.c (remove_method),
ext/iconv/iconv.c (map_charset): use st_data_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29462 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 14:47:23 +00:00
naruse
47cb5a93e5
* ext/stringio/stringio.c (strio_set_encoding):
...
StringIO#set_encoding can get 2nd argument and optional hash
for API compatibility to IO. [ruby-dev:42356]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29437 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-10 21:54:22 +00:00
naruse
3a633b812e
* ext/openssl/lib/openssl/bn.rb (Integer#to_bn): OpenSSL::BN.new
...
accepts only Strings, so call Integer#to_s(16).
16 is for an optimization. [ruby-dev:42336]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29407 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-04 00:33:22 +00:00
mrkn
3e85e58411
* ext/bigdecimal/bigdecimal.c (BIGDECIMAL_ENABLE_VPRINT):
...
VPrint is usually disabled. It's only used in debugging.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 08:55:17 +00:00
mrkn
ecfc868bdb
* ext/bigdecimal/bigdecimal.c (BigDecimal_save_limit):
...
return the result of a block.
* test/bigdecimal/test_bigdecimal.rb (test_save_limit):
add a test for the above change.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 08:55:11 +00:00
mrkn
fed832d7f2
* ext/bigdecimal/bigdecimal.c (BigDecimal_save_rounding_mode):
...
return the result of a block.
* test/bigdecimal/test_bigdecimal.rb (test_save_rounding_mode):
add a test for the above change.
* test/bigdecimal/test_bigdecimal.rb (test_save_exception_mode):
add a test for the return value of BigDecimal.save_exception_mode.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 04:32:20 +00:00
usa
98d7c2b8f1
* ext/bigdecimal/bigdecimal.c (BigDecimal_div2, BigDecimal_add2,
...
BigDecimal_sub2, BigDecimal_mult2, VpLimitRound): remove meaningless
casts to get rid of compiler warnings.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:48:21 +00:00
nobu
ee1a4eefa5
* ext/openssl/ossl_config.c (parse_config): remove dead declaration.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29359 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:37:44 +00:00
nobu
f20f30fc07
* ext/bigdecimal/bigdecimal.c (VPrint, VpToString): fix format.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29358 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-09-29 03:35:31 +00:00