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

18775 Коммитов

Автор SHA1 Сообщение Дата
eban db9e8351f3 * configure.in(MINIRUBY): use "$BASERUBY" as a default ruby executable name.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-16 02:21:59 +00:00
akr 6aafca91db add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 17:21:09 +00:00
svn 79933d6669 * 2009-12-16
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26106 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 15:54:37 +00:00
akr 9ab779aad1 * lib/find.rb (Find.find): rescue more exceptions which is possible to
occur by other process change the directory tree.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26105 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 15:54:34 +00:00
usa d698bd8ad0 * test_find.rb: close temporary files before removing them.
* test_find.rb: skip symlink tests if not implemented.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26102 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 00:16:48 +00:00
svn 36863793fd * 2009-12-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26101 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 00:06:41 +00:00
nobu 0d9340f223 * lib/find.rb (Find.find): get rid of race condition.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26100 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-15 00:06:36 +00:00
akr 779aba2d01 * lib/find.rb (Find.find): rescue only ENOENT and EACCES for lstat.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26099 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 13:34:09 +00:00
akr 92e9bf7a59 * lib/find.rb (Find.find): narrow rescue region.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26098 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 12:50:13 +00:00
akr 4df4a74308 add tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 11:56:03 +00:00
naruse 315cab1249 Explicitly use FileUtils.rm_f. [ruby-dev:39345]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26090 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 03:19:51 +00:00
nobu cc744ef9b8 * lib/find.rb (Find.find): removed already unnecessary code.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26085 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-14 00:20:56 +00:00
akr b3ea5a1789 add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26084 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 22:48:13 +00:00
svn 3f07a79c9c * 2009-12-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26080 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 16:00:34 +00:00
akr 8dc14638ea new test file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 16:00:33 +00:00
akr c48a4c2936 * lib/find.rb (Find.find): sort directory entries. [ruby-dev:39847]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 14:48:54 +00:00
naruse f62310ac62 doc fix: mutex.lock => self [ruby-core:27115]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26072 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 14:08:37 +00:00
akr 71ab182911 * test/ruby/envutil.rb (invoke_ruby): call to_str for stdin_data to
reject non-string.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26071 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 11:56:37 +00:00
naruse 77088d6672 * ruby.c (rb_parser_dump_tree): add prototype.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26070 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-13 11:29:33 +00:00
svn 42933da428 * 2009-12-13
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26069 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-12 16:35:12 +00:00
naruse 07f81c06ca Add rdoc and test of Encoding#replicate.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26068 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-12 16:35:10 +00:00
svn 190507ce0c * 2009-12-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26067 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-11 07:47:31 +00:00
usa 0676ac37be * bootstraptest/test_thread.rb: please please please remember that there are
platforms that do not support fork.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26066 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-11 07:47:29 +00:00
duerst b32ee85f97 * transcode_data.h, transcode.c, tool/transcode-tblgen.rb: Added
support for new transcoding instruction FUNsio (with Tatsuya Mizuno)

* enc/trans/gb18030.trans: Significantly reduced GB18030 conversion
  table footprint using FUNsio and differences (with Tatsuya Mizuno)

* test/ruby/test_transcode.rb: Minor name fix (from Tatsuya Mizuno)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 11:59:12 +00:00
akr 136c25ebf0 unset HTTP_PROXY, etc.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26064 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 10:26:55 +00:00
akr e82e2beb7c unset HTTP_PROXY and FTP_PROXY.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 10:13:03 +00:00
shugo 9071538179 * vm_eval.c (yield_under): yields self the same as 1.8.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26062 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 08:24:11 +00:00
nobu 4ba0fe5fd3 * thread_pthread.c (native_mutex_reinitialize_atfork): release and
re-acquire the lock at re-initialization.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26061 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 06:49:15 +00:00
nobu 9689308994 * lib/un.rb (httpd): easy WEBrick HTTP server.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26060 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 05:19:11 +00:00
naruse 614a8427ce * encoding.c (enc_replicate): add Encoding#replicate(name).
* encoding.c (enc_replicate_with_index): renamed from old
  enc_replicate.

* encoding.c (rb_enc_from_encoding_index): split from
  rb_enc_from_encoding.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26059 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 03:59:34 +00:00
naruse ae76a2323e * test/webrick/test_server.rb (test_daemon): simply use fork's return
value, don't use pipe.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26058 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 03:46:08 +00:00
naruse e5dc8988af * string.c (rb_str_inspect): CHAR_ESC_LEN should be 13.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26057 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-10 00:26:41 +00:00
nobu 17897462b2 * node.c: svn:eol-style.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26056 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-09 16:13:45 +00:00
nobu 770b05dd9b * parse.y (dyna_pop_gen): pop dvars. [ruby-dev:39861]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-09 16:12:57 +00:00
nobu 7cd9a5d363 * node.c (dump_node): fixed for long members.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26054 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-09 15:46:45 +00:00
mame 38828fa8d1 * node.c: node management added. Currently, only pretty-dumper is
implemented.  [ruby-dev:39853]

* ruby.c: --dump=parsetree and --dump=parsetree_with_comment options
  added.  This is just for debug or research purpose.  Note that the
  compatibility of these options are not supported at all.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26053 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-09 14:05:59 +00:00
nobu c9c095fc7b * string.c (rb_str_justify): fixed the case a fill size is a
multiple of the length of the padding.  [ruby-dev:39856]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26052 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-09 00:50:37 +00:00
usa 0f406d278f * win32/configure.bat: now recognize --with-*-{dir,include,lib} options
and pass them to mkmf.

* win32/configure.bat: general conversion from ``/'' to ``\'' of
  configure_args is not necessary any longer.

* win32/setup.mak: BASERUBY is used as command, so always need to
  convert ``/'' to ``\'' within it.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26051 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-08 14:53:55 +00:00
usa dd00d45244 * numeric.c (flo_eq): supress a warning on VC++ for x64.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26050 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-08 14:41:17 +00:00
nobu ed5d5c5829 * lib/rubygems: update to 1.3.5.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26049 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-08 07:19:09 +00:00
nobu 6c0f2b097e * lib/rubygems/defaults.rb (Gem::default_dir): removed a clause
doing nothing.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26048 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-08 07:16:49 +00:00
nobu 1963713205 * test/ripper/test_parser_events.rb: more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-08 01:01:04 +00:00
akr 507f700dd4 rdoc update.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26046 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-07 19:06:11 +00:00
akr 3512a38d3b * file.c (rb_f_test): use string form in unknown command error
message.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26045 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-07 18:51:42 +00:00
svn f3b8aa1a60 * 2009-12-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26044 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-07 16:53:35 +00:00
akr 785191b12d add a test.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26043 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-07 16:53:34 +00:00
nobu 1d10aa8bfc * marshal.c (w_object): reverted r26007. [ruby-dev:39845]
* test/test_delegate.rb (test_marshal): moved from test_marshal.rb.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26042 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-07 05:11:10 +00:00
yugui 1c2ef61035 * string.c (rb_str_justify): CVE-2009-4124.
Fixes a bug reported by 
  Emmanouel Kellinis <Emmanouel.Kellinis AT kpmg.co.uk>, KPMG London;
  Patch by nobu.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-07 04:11:26 +00:00
tenderlove 753de85e40 * test/dl/test_callback.rb testing callback removal
* test/dl/test_func.rb testing function names, to_i

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26037 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-07 00:49:09 +00:00
svn 241cd8c72b * 2009-12-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26036 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06 22:35:46 +00:00