aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * pack.c (pack_pack): refine the document. [ruby-dev:42397]akr2010-10-182-30/+31
| | | | | | | (pack_unpack): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29526 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Fix wrong test.naruse2010-10-181-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29525 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/net/http.rb (transport_request): @socket may be nil.naruse2010-10-182-1/+6
| | | | | | 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-18svn2010-10-181-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sprintf.c (BSD_vfprintf): wrong padding arround prefix andnaruse2010-10-183-0/+15
| | | | | | 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
* * lib/date/delta.rb: added an rdoc tag.tadf2010-10-172-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29520 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * variable.c (rb_mod_remove_const): update rdoc.nobu2010-10-172-2/+9
| | | | | | [ruby-core:31957] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29519 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * class.c (rb_define_{class,module}_id_under): register to benobu2010-10-174-2/+13
| | | | | | 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
* * ext/win32ole/win32ole.c (ole_encoding2cp): set codepage 20936suke2010-10-162-2/+7
| | | | | | | 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
* * Makefile.in (CPP): already used in .c.i rule.nobu2010-10-163-2/+11
| | | | | | | * 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
* * ext/sdbm/_sdbm.c (SEEDUPS, BADMESS): make settable using commandnobu2010-10-163-7/+23
| | | | | | | | | | | 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
* * dln.c (dln_strerror): get English message first, instead ofnobu2010-10-152-4/+11
| | | | | | system default. see [ruby-dev:42358]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29514 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ChangeLog: fixed typo.nobu2010-10-151-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29513 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * 2010-10-16svn2010-10-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29512 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * hash.c (rb_hash_aref): skip calling "default" methodko12010-10-152-1/+13
| | | | | | | | 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
* * .gitignore: ignore doc/capi.nobu2010-10-151-0/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (NUM2DEVT, DEVT2NUM, PRI_DEVT_PREFIX): fallback tonobu2010-10-152-0/+15
| | | | | | unsigned int. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29509 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (insn_operand_intern): fix format specifier.nobu2010-10-151-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * ext/win32ole/win32ole.c (ole_hresult2msg): get English message first, suke2010-10-152-3/+15
| | | | | | | instead of system default. [ruby-core:32765] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29507 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * include/ruby/ruby.h (VALUE): prefer long over uintptr_t,nobu2010-10-152-2/+9
| | | | | | | | 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
* * configure.in (dev_t): use RUBY_REPLACE_TYPE.nobu2010-10-153-11/+9
| | | | | | * 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
* Revert "* sprintf.c (rb_str_format): fix: sprintf with hex format and"naruse2010-10-154-19/+14
| | | | | | | This reverts commit a160986d90cf90a86e01d60eddb04ffe0e584c36. Revert wrong commit. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29504 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): simplify comparison of explicit_endiannaruse2010-10-152-2/+9
| | | | | | | | 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
* * sprintf.c (rb_str_format): fix: sprintf with hex format andnaruse2010-10-154-14/+19
| | | | | | precision includes wrong dots. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29502 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): fix more than one modifiers appear in thenaruse2010-10-153-2/+11
| | | | | | | | 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-15svn2010-10-151-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29500 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Add missing i, I description.naruse2010-10-151-8/+40
| | | | | | 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
* test/win32ole/test_folderitem2_invokeverb.rb: refactoring.suke2010-10-142-47/+20
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29498 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def, iseq.c, vm_insnhelper.c: rename variable nameko12010-10-144-21/+26
| | | | | | | | (ip -> iseq). git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * pack.c (pack_pack): support endian modifiers: < and >.naruse2010-10-144-83/+160
| | | | | | | | [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
* * ext/win32ole/win32ole.c (reg_get_val): expand environment in suke2010-10-143-1/+19
| | | | | | | the pathname. [Bug #3907] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Refix for r29493; it is unsigned.naruse2010-10-141-3/+3
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * file.c (DEVT2NUM): added. Size of dev_t is depend on thenaruse2010-10-133-5/+29
| | | | | | | | | | | | | | | | | | 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
* * array.c (rb_ary_and, rb_ary_or), class.c (rb_mod_init_copy),nobu2010-10-135-29/+35
| | | | | | | 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-14svn2010-10-131-2/+2
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29491 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (ruby_float_step): fix Numeric#step with infinity unitnaruse2010-10-134-5/+23
| | | | | | doesn't works well. [ruby-core:32779] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * tool/enc-unicode.rb: get rid of lots of warnings.nobu2010-10-136-1/+8
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29489 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm_dump.c (dump_thread): suppress a warning.nobu2010-10-131-1/+1
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29488 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * iseq.c (insn_operand_intern, rb_iseq_disasm): fix format specifiers.nobu2010-10-133-5/+9
| | | | | | * vm.c (thread_free): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29487 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (check_uint): get rid of overflow on LLP64 platforms.nobu2010-10-132-2/+4
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * insns.def (opt_case_dispatch): use st_data_t.nobu2010-10-132-2/+6
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29485 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/cgi/util.rb (CGI::unescape): bugfix to unescape the multibytexibbar2010-10-133-1/+7
| | | | | | 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
* * numeric.c (int_chr): raise error when the value is negative.naruse2010-10-132-1/+14
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29483 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * vm.c (ruby_vm_destruct): This function type was wrong; correct to the ↵shyouhei2010-10-132-3/+7
| | | | | | prototype. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29482 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_num_to_uint): fix 32bit logic.naruse2010-10-132-2/+9
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29481 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * numeric.c (rb_num_to_uint): added to check the range of arguments.naruse2010-10-133-5/+47
| | | | | | | | 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
* move a non-combinational test.akr2010-10-132-3/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29479 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * thread_win32.c (w32_error): get English message first, insteadusa2010-10-132-7/+20
| | | | | | | | 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
* * debug.c (ruby_set_debug_option): define always for binarynobu2010-10-134-13/+13
| | | | | | | | 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
* * include/ruby/ruby.h (ruby_executable_node): missing prototype.nobu2010-10-132-0/+5
| | | | git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e