Граф коммитов

24373 Коммитов

Автор SHA1 Сообщение Дата
ayumin d53e9c1e84 * sample/drb/README.rd.ja:
* sample/drb/dhasenc.rb:
* sample/mine.rb:
Change encoding from EUC-JP to UTF-8


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33227 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-08 16:24:43 +00:00
naruse 05558e04b8 * ext/nkf/nkf-utf8/nkf.c: import nkf 2.1.2 (be9c280)
Bump version number/release date only.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33225 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-08 12:17:06 +00:00
nari 599071b700 * gc.c (Init_GC): defined GC::Profiler.raw_data. based on the
patch by Eric Hodel. [ruby-core:37857] [Bug #4991]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-08 03:57:41 +00:00
nobu f1cdbd7bc8 * ext/nkf/nkf-utf8/nkf.c: revert also svn:mime-type.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33223 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-08 00:07:49 +00:00
nobu ac6ad66d0b * gc.c (id2ref): objects which are unmarked but not in sweep_slots
are not dead.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-08 00:02:55 +00:00
nobu 6572bd3ce9 * transcode.c (rb_declare_transcoder, load_transcoder_entry): no
longer need to limit the length of transcoder library name.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 22:44:27 +00:00
naruse 7dc427f7ed * ext/syck/lib/syck/types.rb: use toplevel Syck.
for the case someone define Syck::Syck (or YAML::Syck).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33220 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 22:37:34 +00:00
nobu 4fe51cb330 * gc.c (id2ref): unmarked object is already dead while lazy
sweeping, and to it cannot come back since other objects
  referred from it might have been freed already.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33219 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 22:33:14 +00:00
naruse e3532c8bde Revert "Change encoding from ISO-2022 to UTF-8"
This reverts commit r33213.
Don't change nkf which is imported from upstream.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33218 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 22:17:55 +00:00
ayumin 776a2d9ddf * ext/readline/README.ja:
Change encoding from EUC-JP to UTF-8


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33217 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 18:51:10 +00:00
ayumin 5aa34ef562 Fix typo
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33216 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 18:15:33 +00:00
ayumin 32b81702d7 fix test/rexml/test_encoding.rb failure
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33215 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 18:03:23 +00:00
svn a33ae8a87e * 2011-09-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33214 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 17:56:28 +00:00
ayumin 9f4dd65e89 Change encoding from ISO-2022 to UTF-8
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 17:56:24 +00:00
kou 7b30cb6122 * add missing '#' in bug reference.
* add ML reference.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 14:46:53 +00:00
kou 2bb6fcb6fd * lib/rexml/parsers/baseparser.rb, test/rexml/test_comment.rb:
allow a single hyphen in comment. [Bug 5278]
  Reported by Thomas Fritzsche. Thanks!!!


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33210 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 14:42:44 +00:00
naruse 6b3feab965 Remove assertion which depends the load order
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33209 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 10:36:11 +00:00
naruse f2bd0ce993 * lib/yaml.rb: explicitly specify ::Object to avoid the collision with
Syck::Object.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33208 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-07 08:28:42 +00:00
svn 5a883a2cf4 * 2011-09-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33207 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-06 22:50:23 +00:00
nobu 031c06b3e1 eol-style
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33206 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-06 22:50:20 +00:00
sorah 7e04b19d22 * lib/test/unit.rb (_run_suites): Now reports are written the
following order: Skip, Failure, Error. [Feature #5282]

* test_sorting.rb: test for above.

* test4test_sorting.rb: Ditto.

* lib/test/unit.rb (run): Put RUBY_DESCIPTION before quitting.
  [Feature #5282]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33205 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-06 12:20:17 +00:00
tarui e2b7469698 * win32/Makefile.sub (INSNS): change command line option -Ks to -Ku
for generate *.inc. because insns.def encoding has been changed SJIS
	  to UTF-8. if $BASERUBY is 1.9, -Ks cause an error. [Feature #5128] 
	  (same as r33194)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33204 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-06 12:16:44 +00:00
naruse 90c33c2198 Use assert_operator to show clear message.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33203 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-06 08:11:21 +00:00
nobu e240f49073 * transcode.c (load_transcoder_entry): concatenate paths directly.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33202 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-06 06:55:30 +00:00
nobu 3a6c3a672f * encoding.c (load_encoding): predefined encoding names are safe.
[ruby-dev:44469] [Bug #5279]
* transcode.c (load_transcoder_entry): ditto.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33201 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-06 04:15:49 +00:00
nobu a1c5ebe787 * transcode.c: enabled econv newline option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33200 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-06 03:07:16 +00:00
marcandre 80f54e6810 * numeric.c (dbl2ival): Fix Float#divmod and #round for 32 bit platform
part 1 of [bug #5276]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33199 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 21:45:25 +00:00
marcandre 3dc28710c9 * numeric.c (flo_round): Fix criteria for 32 bits platform
part 2 of [bug #5276]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33198 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 21:44:42 +00:00
svn 73bb2a29f9 * 2011-09-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33197 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 20:39:57 +00:00
seki 319531524b * test/rinda/test_rinda.rb (test_core_03_notify): Fixed test failures
[ruby-dev:44430] [Ruby 1.9 - Bug #372]



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33196 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 20:39:54 +00:00
nagachika 4117048c40 * insns.def: change encoding pragma for emacs (shift_jis to utf-8).
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33195 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 12:02:30 +00:00
nagachika 1cd56023d3 * Makefile.in (INSNS): change command line option -Ks to -Ku for
generate *.inc. because insns.def encoding has been changed SJIS to
  UTF-8. if $BASERUBY is 1.9, -Ks cause an error. [Feature #5128]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33194 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 10:36:24 +00:00
nobu bc17dba00f * transcode.c (rb_econv_binmode): newline decorators are
exclusive.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33193 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 09:10:58 +00:00
naruse 179cf473c2 Fix typo: U+0456->U+0069. [Bug #5275]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33192 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 09:05:13 +00:00
nobu ff2c5c161c * test/ruby/test_float.rb (TestFloat#test_round): show the number in question.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33191 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 08:46:44 +00:00
naruse 522c16e84c * test/rubygems/test_gem_security.rb
(test_class_build_self_signed_cert): reset opt[:trust_dir] to apply
  temporary Gem.user_home.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33189 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 06:06:31 +00:00
nobu 818ebcc54b * doc/rake/CHANGES: reverted. this file is not written in Japanese.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33188 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 06:05:31 +00:00
shyouhei 48cd6cb153 README.ja, README.EXT.ja: resolve conflicts. [ruby-dev:44459]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33187 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-05 01:06:25 +00:00
marcandre 75c42535c9 * numeric.c (flo_round): Make Float#round round big values [bug #5272]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33186 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-04 20:14:29 +00:00
marcandre 269de36cd0 * numeric.c: Extract integer rounding into int_round_0
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33185 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-04 20:14:00 +00:00
svn dc20068d98 * 2011-09-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33184 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-04 19:28:58 +00:00
marcandre 9d2f5dff62 * numeric.c (int_round): Integer#round always returns an Integer [Bug #5271]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33183 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-04 19:28:54 +00:00
shugo 26f73a5117 * lib/net/imap.rb (default_port, default_imap_port,
default_tls_port, default_ssl_port, default_imaps_port):
  added methods for consistency with Net::POP.
  based on the patch by art lussos.  [ruby-core:38997] [Bug #5198]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33182 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-04 13:33:14 +00:00
shyouhei 60c8455253 Change encoding from EUC-JP to UTF-8. [Feature #5128]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-04 12:22:46 +00:00
ktsj a17fd731c9 * ChangeLog: style fix.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33180 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-04 06:18:06 +00:00
ktsj 7c9b9977b0 * test/ruby/test_fiber.rb (TestFiber#test_no_valid_cfp):
add a test. Unlike TestThread#test_no_valid_cfp,
  this test succeeds even if win32ole is required (see r33153).

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33177 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-03 15:54:44 +00:00
svn aa6ebbe329 * 2011-09-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33176 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-03 15:11:57 +00:00
nobu bc2a1f2a98 * variable.c (rb_const_set): show the previous definition
location.  [EXPERIMENTAL]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33175 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-03 15:11:53 +00:00
nobu 3e0819c66a * configure.in (sizeof_struct_dirent_too_small): check if struct
dirent.d_name is too small.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33174 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-03 14:56:26 +00:00
nobu 90a10297d6 * configure.in (RUBY_MINGW32): take tool prefix from CC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33173 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2011-09-03 14:55:20 +00:00