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

18807 Коммитов

Автор SHA1 Сообщение Дата
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
marcandre 553b55f6e6 ext/bigdecimal/bigdecimal_en.html: Remove obsolete information, fix typos
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26035 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06 22:35:45 +00:00
naruse c121f78b9a * strftime.c: %l should be 1..12 instead of 0..12 [ruby-core:27072]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26029 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06 14:55:22 +00:00
akr 5e795ef8f6 * lib/find.rb (Find.find): reduce stat system call.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06 14:17:33 +00:00
akr 89214aac7a fix indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06 09:01:50 +00:00
naruse 604f01f2b8 * lib/webrick/httpservlet/filehandler.rb: escape filename of index.
[ruby-dev:37768]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26026 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-06 07:04:50 +00:00
azav ee68e26859 * symbian/setup (config.h): EXECUTABLE_EXTS moved from dln.c:dln_find_1().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26025 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-05 15:38:24 +00:00
svn fdf5d6dad4 * 2009-12-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26024 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-05 15:37:47 +00:00
azav 0a457ee0b7 * symbian/setup (config.h): EXECUTABLE_EXTS moved from dln.c:dln_find_1().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26023 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-05 15:37:46 +00:00
nobu 11aa6c4107 * marshal.c (w_object): dump instance variables when using
marshal_dump.   [ruby-core:24211]

* variable.c (rb_ivar_count): added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26022 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-05 10:25:28 +00:00
nobu 1cc1ea378a * marshal.c (w_object): dump instance variables when using
marshal_dump.   [ruby-core:24211]

* variable.c (rb_ivar_count): added.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26007 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-05 06:35:07 +00:00
nobu 7b154ee93e * variable.c (obj_ivar_i): fixed argument types.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26006 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-05 05:45:29 +00:00
nobu 276653a6f5 * configure.in: default ac_cv_prog_CC to CC.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-05 04:19:31 +00:00
nobu b271ca8c62 * lib/irb/extend-command.rb (def_extend_command): fixed argument
number for negative arity.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25998 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-05 01:18:28 +00:00
svn 8237d170ee * 2009-12-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25997 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-04 23:21:03 +00:00
tenderlove 6a1aebaabf * ext/dl/cptr.c (to_int): DL::CPtr supports to_int
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-04 23:21:01 +00:00
matz beb486d55e * insns.def (defined): should respect #respond_to_missing? as
#respond_to? does.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25994 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-04 10:53:21 +00:00
nobu 826aa8c376 * insns.def (defined): adjust indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25993 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-04 08:34:16 +00:00
nobu 9ad065375f * parse.y (k_def): adjust the location of method definition to the
line of def.  [Bug #2427]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25992 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2009-12-04 07:50:15 +00:00