<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/ruby.git/string.c, branch mvm</title>
<subtitle>github.com: ruby/ruby.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/'/>
<entry>
<title>* merged from trunk r26967:27020.</title>
<updated>2010-03-23T07:37:09+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-03-23T07:37:09+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=c7e6a50659280a60967bd9d1c912a572b728119b'/>
<id>c7e6a50659280a60967bd9d1c912a572b728119b</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@27021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@27021 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* merged from trunk r26747:26885.</title>
<updated>2010-03-12T05:56:48+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-03-12T05:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=8483ed1052c0a9138e0b3b41fcb6f6bf6122c7e5'/>
<id>8483ed1052c0a9138e0b3b41fcb6f6bf6122c7e5</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26886 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* merged from trunk r26697:26747.</title>
<updated>2010-02-24T02:54:47+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-02-24T02:54:47+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=519f1bc295f59ceaccc3e287bd769a9467433398'/>
<id>519f1bc295f59ceaccc3e287bd769a9467433398</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26748 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* merged from trunk r25728:26678.</title>
<updated>2010-02-16T09:56:34+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2010-02-16T09:56:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=051a5b08d2ef1e157e4899701e5a01bbbcd660b2'/>
<id>051a5b08d2ef1e157e4899701e5a01bbbcd660b2</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@26679 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* string.c (rb_str_copy_to_vm): reset instance variables.</title>
<updated>2009-11-19T23:15:03+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-11-19T23:15:03+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=247c77c99feb1e80df8f62216dd2d8b95e9de719'/>
<id>247c77c99feb1e80df8f62216dd2d8b95e9de719</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25869 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>commit miss.</title>
<updated>2009-11-19T19:52:15+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-11-19T19:52:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=e482d0744435a64693e3cb4e632a2abf09791d31'/>
<id>e482d0744435a64693e3cb4e632a2abf09791d31</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25866 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* vm.c (rb_vm_send, rb_vm_recv): supported strings.</title>
<updated>2009-11-19T19:39:53+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-11-19T19:39:53+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=b108ed204ec2dcab8848845d8e0d6084f2489e52'/>
<id>b108ed204ec2dcab8848845d8e0d6084f2489e52</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25865 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* include/ruby/public_object.h (ruby_public_object_vmkey): moved</title>
<updated>2009-11-15T16:04:34+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-11-15T16:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=3b16d9a274b6eb5e3a50973f26a827ce980c3072'/>
<id>3b16d9a274b6eb5e3a50973f26a827ce980c3072</id>
<content type='text'>
  rb_fs, rb_output_fs, rb_rs, rb_default_rs, rb_output_rs to VM
  specific.

Index: array.c
===================================================================
--- array.c	(revision 25770)
+++ array.c	(working copy)
@@ -1513,6 +1513,4 @@ rb_ary_resurrect(VALUE ary)
 }
 
-extern VALUE rb_output_fs;
-
 static void ary_join_1(VALUE obj, VALUE ary, VALUE sep, long i, VALUE result);
 
Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 25770)
+++ include/ruby/intern.h	(working copy)
@@ -402,9 +402,4 @@ VALUE rb_env_clear(void);
 /* io.c */
 #define rb_defout rb_stdout
-RUBY_EXTERN VALUE rb_fs;
-RUBY_EXTERN VALUE rb_output_fs;
-RUBY_EXTERN VALUE rb_rs;
-RUBY_EXTERN VALUE rb_default_rs;
-RUBY_EXTERN VALUE rb_output_rs;
 VALUE rb_io_write(VALUE, VALUE);
 VALUE rb_io_gets(VALUE);
Index: include/ruby/public_object.h
===================================================================
--- include/ruby/public_object.h	(revision 25770)
+++ include/ruby/public_object.h	(working copy)
@@ -188,4 +188,15 @@ enum ruby_public_object_vmkey {
 #define ruby_progname (*rb_vm_specific_ptr(rb_vmkey_progname))
 
+    rb_vmkey_fs,
+#define rb_fs (*rb_vm_specific_ptr(rb_vmkey_fs))
+    rb_vmkey_output_fs,
+#define rb_output_fs (*rb_vm_specific_ptr(rb_vmkey_output_fs))
+    rb_vmkey_rs,
+#define rb_rs (*rb_vm_specific_ptr(rb_vmkey_rs))
+    rb_vmkey_output_rs,
+#define rb_output_rs (*rb_vm_specific_ptr(rb_vmkey_output_rs))
+    rb_vmkey_default_rs,
+#define rb_default_rs (*rb_vm_specific_ptr(rb_vmkey_default_rs))
+
     ruby_public_object_count
 };
Index: io.c
===================================================================
--- io.c	(revision 25770)
+++ io.c	(working copy)
@@ -113,11 +113,6 @@ extern void InitVM_File(void);
 #define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
 
-VALUE rb_deferr;		/* rescue VIM plugin */
-static VALUE orig_stdout, orig_stderr;
-
-VALUE rb_output_fs;
-VALUE rb_rs;
-VALUE rb_output_rs;
-VALUE rb_default_rs;
+#define orig_stdout (*rb_vm_specific_ptr(rb_vmkey_orig_stdout))
+#define orig_stderr (*rb_vm_specific_ptr(rb_vmkey_orig_stderr))
 
 static ID id_write, id_read, id_getc, id_flush, id_readpartial;
@@ -9986,5 +9981,5 @@ InitVM_IO(void)
     rb_define_hooked_variable("$&gt;", &amp;rb_stdout, 0, stdout_setter);
     orig_stdout = rb_stdout;
-    rb_deferr = orig_stderr = rb_stderr;
+    orig_stderr = rb_stderr;
 
     /* constants to hold original stdin/stdout/stderr */
Index: private_object.h
===================================================================
--- private_object.h	(revision 25770)
+++ private_object.h	(working copy)
@@ -67,4 +67,7 @@ enum ruby_private_object_vmkey {
     rb_vmkey_default_rand,
 
+    rb_vmkey_orig_stdout,
+    rb_vmkey_orig_stderr,
+
     ruby_builtin_object_count,
     ruby_private_object_count = ruby_builtin_object_count - ruby_private_object_vmkey_begin + 1
Index: string.c
===================================================================
--- string.c	(revision 25770)
+++ string.c	(working copy)
@@ -133,6 +133,4 @@ single_byte_optimizable(VALUE str)
 }
 
-VALUE rb_fs;
-
 static inline const char *
 search_nonascii(const char *p, const char *e)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  rb_fs, rb_output_fs, rb_rs, rb_default_rs, rb_output_rs to VM
  specific.

Index: array.c
===================================================================
--- array.c	(revision 25770)
+++ array.c	(working copy)
@@ -1513,6 +1513,4 @@ rb_ary_resurrect(VALUE ary)
 }
 
-extern VALUE rb_output_fs;
-
 static void ary_join_1(VALUE obj, VALUE ary, VALUE sep, long i, VALUE result);
 
Index: include/ruby/intern.h
===================================================================
--- include/ruby/intern.h	(revision 25770)
+++ include/ruby/intern.h	(working copy)
@@ -402,9 +402,4 @@ VALUE rb_env_clear(void);
 /* io.c */
 #define rb_defout rb_stdout
-RUBY_EXTERN VALUE rb_fs;
-RUBY_EXTERN VALUE rb_output_fs;
-RUBY_EXTERN VALUE rb_rs;
-RUBY_EXTERN VALUE rb_default_rs;
-RUBY_EXTERN VALUE rb_output_rs;
 VALUE rb_io_write(VALUE, VALUE);
 VALUE rb_io_gets(VALUE);
Index: include/ruby/public_object.h
===================================================================
--- include/ruby/public_object.h	(revision 25770)
+++ include/ruby/public_object.h	(working copy)
@@ -188,4 +188,15 @@ enum ruby_public_object_vmkey {
 #define ruby_progname (*rb_vm_specific_ptr(rb_vmkey_progname))
 
+    rb_vmkey_fs,
+#define rb_fs (*rb_vm_specific_ptr(rb_vmkey_fs))
+    rb_vmkey_output_fs,
+#define rb_output_fs (*rb_vm_specific_ptr(rb_vmkey_output_fs))
+    rb_vmkey_rs,
+#define rb_rs (*rb_vm_specific_ptr(rb_vmkey_rs))
+    rb_vmkey_output_rs,
+#define rb_output_rs (*rb_vm_specific_ptr(rb_vmkey_output_rs))
+    rb_vmkey_default_rs,
+#define rb_default_rs (*rb_vm_specific_ptr(rb_vmkey_default_rs))
+
     ruby_public_object_count
 };
Index: io.c
===================================================================
--- io.c	(revision 25770)
+++ io.c	(working copy)
@@ -113,11 +113,6 @@ extern void InitVM_File(void);
 #define numberof(array) (int)(sizeof(array) / sizeof((array)[0]))
 
-VALUE rb_deferr;		/* rescue VIM plugin */
-static VALUE orig_stdout, orig_stderr;
-
-VALUE rb_output_fs;
-VALUE rb_rs;
-VALUE rb_output_rs;
-VALUE rb_default_rs;
+#define orig_stdout (*rb_vm_specific_ptr(rb_vmkey_orig_stdout))
+#define orig_stderr (*rb_vm_specific_ptr(rb_vmkey_orig_stderr))
 
 static ID id_write, id_read, id_getc, id_flush, id_readpartial;
@@ -9986,5 +9981,5 @@ InitVM_IO(void)
     rb_define_hooked_variable("$&gt;", &amp;rb_stdout, 0, stdout_setter);
     orig_stdout = rb_stdout;
-    rb_deferr = orig_stderr = rb_stderr;
+    orig_stderr = rb_stderr;
 
     /* constants to hold original stdin/stdout/stderr */
Index: private_object.h
===================================================================
--- private_object.h	(revision 25770)
+++ private_object.h	(working copy)
@@ -67,4 +67,7 @@ enum ruby_private_object_vmkey {
     rb_vmkey_default_rand,
 
+    rb_vmkey_orig_stdout,
+    rb_vmkey_orig_stderr,
+
     ruby_builtin_object_count,
     ruby_private_object_count = ruby_builtin_object_count - ruby_private_object_vmkey_begin + 1
Index: string.c
===================================================================
--- string.c	(revision 25770)
+++ string.c	(working copy)
@@ -133,6 +133,4 @@ single_byte_optimizable(VALUE str)
 }
 
-VALUE rb_fs;
-
 static inline const char *
 search_nonascii(const char *p, const char *e)


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25775 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* merged from trunk r20597:25704.</title>
<updated>2009-11-10T00:04:59+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2009-11-10T00:04:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=8f246699b887e6d7bb6ee07606ef35d302e4e7ee'/>
<id>8f246699b887e6d7bb6ee07606ef35d302e4e7ee</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@25705 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
<entry>
<title>* inits.c (rb_vm_call_inits): no longer passes current vm.</title>
<updated>2008-12-17T09:00:28+00:00</updated>
<author>
<name>nobu</name>
<email>nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e</email>
</author>
<published>2008-12-17T09:00:28+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/ruby.git/commit/?id=6c00d391dd013b5dc5507cda924a2249cb5fea36'/>
<id>6c00d391dd013b5dc5507cda924a2249cb5fea36</id>
<content type='text'>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@20841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/mvm@20841 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
</pre>
</div>
</content>
</entry>
</feed>
