naruse
b1361d5be1
* lib/net/http.rb (transport_request): @socket may be nil.
...
patched by Egbert Eich [ruby-core:32829]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29523 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-18 01:20:37 +00:00
svn
c0e6dab0b7
* 2010-10-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-18 00:59:36 +00:00
naruse
a7e8b12f96
* sprintf.c (BSD_vfprintf): wrong padding arround prefix and
...
floating point with %a. [ruby-dev:42403] Bug #3956
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29521 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-18 00:59:31 +00:00
tadf
d41305b393
* lib/date/delta.rb: added an rdoc tag.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-17 13:37:38 +00:00
nobu
f3a72d4905
* variable.c (rb_mod_remove_const): update rdoc.
...
[ruby-core:31957]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-17 01:47:15 +00:00
nobu
137d82569f
* class.c (rb_define_{class,module}_id_under): register to be
...
marked, which probably are defined and used internally.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29518 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-17 01:40:22 +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
835a5edf52
* Makefile.in (CPP): already used in .c.i rule.
...
* cygwin/GNUmakefile.in (DLLWRAP, WINDRES): add --driver-name and
--preprocessor options explicitly. [ruby-core:32776]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29516 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-16 01:55:01 +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
nobu
92a7cf0455
* dln.c (dln_strerror): get English message first, instead of
...
system default. see [ruby-dev:42358].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 23:39:16 +00:00
nobu
d2623b2281
* ChangeLog: fixed typo.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 23:39:11 +00:00
svn
22a957a080
* 2010-10-16
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 15:10:20 +00:00
ko1
261661517a
* hash.c (rb_hash_aref): skip calling "default" method
...
if it is not neede for speed-up.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29511 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 15:10:17 +00:00
nobu
efddc4b632
* .gitignore: ignore doc/capi.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 14:56:47 +00:00
nobu
ba8dc58ebb
* file.c (NUM2DEVT, DEVT2NUM, PRI_DEVT_PREFIX): fallback to
...
unsigned int.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 14:36:28 +00:00
nobu
e8e2ea4866
* iseq.c (insn_operand_intern): fix format specifier.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 14:11:26 +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
nobu
8a4966d133
* include/ruby/ruby.h (VALUE): prefer long over uintptr_t,
...
FIX2LONG expects VALUE to be long at least.
* include/ruby/ruby.h (FIX2LONG): parenthesize the argument.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29506 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 13:47:38 +00:00
nobu
a45936d454
* configure.in (dev_t): use RUBY_REPLACE_TYPE.
...
* file.c (rb_stat_inspect): use PRI_DEVT_PREFIX.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29505 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 11:30:33 +00:00
naruse
8a0cd16de1
Revert "* sprintf.c (rb_str_format): fix: sprintf with hex format and"
...
This reverts commit a160986d90
.
Revert wrong commit.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 08:31:58 +00:00
naruse
6a443e2eb2
* pack.c (pack_pack): simplify comparison of explicit_endian
...
as pointed by nobu.
* pack.c (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 08:28:18 +00:00
naruse
a160986d90
* sprintf.c (rb_str_format): fix: sprintf with hex format and
...
precision includes wrong dots.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 08:28:12 +00:00
naruse
ccaf61d5af
* pack.c (pack_pack): fix more than one modifiers appear in the
...
format string. [ruby-core:32793]
* pack.c (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 07:42:21 +00:00
svn
dfd139b819
* 2010-10-15
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 07:35:52 +00:00
naruse
0751cca16d
Add missing i, I description.
...
And desribe each combination of a directive and modifiers.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-15 07:35:50 +00:00
suke
22c791e163
test/win32ole/test_folderitem2_invokeverb.rb: refactoring.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-14 14:23:03 +00:00
ko1
559fd3e439
* insns.def, iseq.c, vm_insnhelper.c: rename variable name
...
(ip -> iseq).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-14 13:19:30 +00:00
naruse
5825359dd8
* pack.c (pack_pack): support endian modifiers: < and >.
...
[ruby-dev:42376] Feature #3491
* pack.c (pack_unpack): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29496 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-14 13:12:56 +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
naruse
694826d7e2
Refix for r29493; it is unsigned.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-14 00:09:07 +00:00
naruse
51427700cc
* file.c (DEVT2NUM): added. Size of dev_t is depend on the
...
environment even if POSIX defines dev_t as unsigned integer.
For example, OpenVMS, 64bit Solaris 9, and NetBSD 6 defines
dev_t as 64bit unsigned integer.
* file.c (rb_stat_dev): use DEVT2NUM.
* file.c (rb_stat_dev_major): dev_t is not long. major(3)'s return
value is int.
* file.c (rb_stat_dev_minor): dev_t is not long. minor(3)'s return
value is int.
* configure.in: check size of dev_t.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29493 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 23:09:56 +00:00
nobu
7735e63593
* array.c (rb_ary_and, rb_ary_or), class.c (rb_mod_init_copy),
...
gc.c (undefine_final), time.c (time_mload): get rid of
type-punning casts.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29492 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 22:22:18 +00:00
svn
421076be67
* 2010-10-14
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 19:17:51 +00:00
naruse
ded94d1c8c
* numeric.c (ruby_float_step): fix Numeric#step with infinity unit
...
doesn't works well. [ruby-core:32779]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 19:17:49 +00:00
nobu
b238a3f3fd
* tool/enc-unicode.rb: get rid of lots of warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 14:16:49 +00:00
nobu
e0a7c207ff
* vm_dump.c (dump_thread): suppress a warning.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 14:08:29 +00:00
nobu
e69bba13a0
* iseq.c (insn_operand_intern, rb_iseq_disasm): fix format specifiers.
...
* vm.c (thread_free): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 14:07:22 +00:00
nobu
9d0c732f0d
* numeric.c (check_uint): get rid of overflow on LLP64 platforms.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 13:53:22 +00:00
nobu
dc647aea2e
* insns.def (opt_case_dispatch): use st_data_t.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 13:51:20 +00:00
xibbar
fc6d58ccc4
* lib/cgi/util.rb (CGI::unescape): bugfix to unescape the multibyte
...
string. Thanks nobu and tDiary dev members. [Bug #3909 ]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 13:39:13 +00:00
naruse
74dcda0d41
* numeric.c (int_chr): raise error when the value is negative.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 12:13:53 +00:00
shyouhei
7724d13635
* vm.c (ruby_vm_destruct): This function type was wrong; correct to the prototype.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 10:28:25 +00:00
naruse
e79fbf3dfe
* numeric.c (rb_num_to_uint): fix 32bit logic.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 05:58:35 +00:00
naruse
a01e628318
* numeric.c (rb_num_to_uint): added to check the range of arguments.
...
Mainly for negative value with NUM2UINT on 32bit environment.
* string.c (rb_str_concat): use rb_num_to_uint.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29480 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 03:56:31 +00:00
akr
acd98555b5
move a non-combinational test.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 03:36:20 +00:00
usa
c94c6a1a16
* thread_win32.c (w32_error): get English message first, instead
...
of system default. see [ruby-core:32765].
[experimental]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29478 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 03:10:49 +00:00
nobu
8022385ba4
* debug.c (ruby_set_debug_option): define always for binary
...
compatibility with debug env enabled binary.
* signal.c (ruby_enable_coredump): ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29477 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 02:04:10 +00:00
nobu
5ba5d4c889
* include/ruby/ruby.h (ruby_executable_node): missing prototype.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 01:52:54 +00:00
naruse
82ff894c04
Fix style for ruby-mode.el.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29475 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-13 00:27:41 +00:00
naruse
769f5fc41c
Clean warnings.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29474 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2010-10-12 21:04:35 +00:00