Commit graph

3924 commits

Author SHA1 Message Date
suke
72cc74655f IN32OLE_VARIANT.new accepts nil as first argument for some VARIANT TYPE. fix memory leak.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11542 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-18 22:08:29 +00:00
ko1
dbee678630 * some refactoring around yarvcore and proc.
* eval_proc.c: renamed to proc.c.
* common.mk: ditto.
* yarvcore.h, yarvcore.c: rename or remove some global variables
  removed: mYarvCore, mYarvInsns
  renamed: cYarvISeq -> rb_cISeq,
           cYarvProc -> rb_cProc, cYarvBinding -> rb_cBinding
  ::YarvCore module is removed and ::YarvCore::VM class becomes ::VM.
  And change/remove some functions which added with YARV.
* compile.c: ditto.
* eval.c: ditto.
* iseq.c: ditto.
* vm.c: ditto.
* inits.c: rename Init_yarvcore to Init_vm.
* yarvcore.c, proc.c: move some functions and initialization
  from yarvcore.c to proc.c.
* intern.h, proc.c: add global function rb_binding_new(void).



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11541 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-17 08:48:52 +00:00
ko1
7eb928624f * eval_proc.c (rb_proc_new): added.
* string.c (sym_to_proc): supported.
* vm.c (invoke_block, th_invoke_yield, th_invoke_proc): fix to support
  rb_proc_new.
* yarvcore.c: add a test code.



git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-16 03:06:01 +00:00
suke
d2907d42be fix memory leak of win32ole.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11529 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-13 14:40:54 +00:00
nobu
82e937f511 * array.c (rb_ary_replace): use ptr and len of orig instead of
shared.  fixed: [ruby-dev:30116]


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11522 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-09 15:11:01 +00:00
eban
ef05955d2f * 2007-01-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11517 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-09 02:43:17 +00:00
ko1
4e4eec7016 * common.mk: add a "compare" rule and fix MATZRUBY variable
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11508 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-07 09:36:30 +00:00
ko1
384cfd3871 * benchmark/run.rb : change option format
* common.mk : ditto


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-05 18:54:33 +00:00
usa
f189294d04 * 2007-01-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11476 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-05 03:40:38 +00:00
eban
2589412b70 * 2007-01-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11469 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-04 04:54:30 +00:00
eban
1e46ba3439 * 2007-01-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11464 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-03 10:29:36 +00:00
usa
0ecf102274 * 2007-01-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11452 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-02 03:49:54 +00:00
ko1
a3e1b1ce7e * Merge YARV
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11439 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-31 15:02:22 +00:00
eban
b58aef095a * 2006-12-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11434 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-30 15:36:41 +00:00
matz
424f8ec44f * ext/stringio/stringio.c (strio_gets): accepts limit argument.
* ext/stringio/stringio.c (strio_readline, strio_each,
  strio_readlines): ditto.

* ext/stringio/stringio.c (strio_getline): add limit capability.

* io.c (rb_io_gets_m): accepts limit argument.  [ruby-talk:231563]

* io.c (rb_io_readline, rb_io_readlines, rb_io_each_line, argf_getline):
  ditto.

* io.c (appendline): add limit capability.

* io.c (rb_io_getline_fast, rb_io_getline): ditto.

* io.c (rb_io_getline): small refactoring for DRY.

* io.c (rb_io_s_foreach, rb_io_s_readlines): small refactoring.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11428 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-29 19:21:50 +00:00
eban
0d2e0eb6cb * 2006-12-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-28 06:36:14 +00:00
eban
a77bb6b7a7 * 2006-12-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11425 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-27 12:25:09 +00:00
eban
a17e7d92a2 * 2006-12-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11422 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-26 06:37:14 +00:00
usa
219fafd4d2 * 2006-12-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11416 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-22 00:13:57 +00:00
matz
5bcb3797cb version.h update
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-20 04:04:54 +00:00
matz
3fe6595026 2006-12-18
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11400 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-17 23:37:45 +00:00
nobu
a6563ee8c7 2006-12-15
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11390 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-14 15:07:49 +00:00
matz
1275a05824 2006-12-14
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11382 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-14 09:27:32 +00:00
nobu
2b38044b26 2006-12-12
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11380 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-12 14:34:22 +00:00
matz
d3b50bf9dc 2006-12-11
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11375 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-11 00:45:35 +00:00
matz
d88c0d1c93 2006-12-09
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11369 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-09 02:26:06 +00:00
matz
e03d9621a6 2006-12-08
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11364 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-07 15:17:10 +00:00
nobu
4c35d6720f 2006-12-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-06 14:56:32 +00:00
nobu
3acd34fd64 2006-12-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11339 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-04 15:19:36 +00:00
shugo
5ce38775ba 2006-12-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-03 23:35:32 +00:00
knu
16df52eb40 2006-12-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11323 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-03 07:54:08 +00:00
gotoyuzo
542d9e97fc 2006-12-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11319 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01 22:11:37 +00:00
nagai
e546b71285 2006-12-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11316 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-12-01 07:41:55 +00:00
eban
3eb1250575 * 2006-11-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11308 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-26 09:57:00 +00:00
shyouhei
b9d64f433b Sun Nov 26 16:36:46 2006 URABE Shyouhei <shyouhei@ruby-lang.org>
* version.h: addition of RUBY_PATCHLEVEL.
        * version.c: ditto.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11307 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-26 09:34:32 +00:00
nagai
135a96accc 2006-11-22
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11300 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-22 07:06:07 +00:00
matz
84ad9c0a26 2006-11-07
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11289 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-07 07:46:00 +00:00
matz
ced53248ff 2006-11-06
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11281 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-06 06:37:43 +00:00
tadf
c676ed3b4d 2006-11-05
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11278 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-05 10:55:07 +00:00
shugo
8625520d4c 2006-11-04
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11273 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-04 04:13:29 +00:00
matz
63c55ef265 2006-11-03
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11271 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-02 15:38:55 +00:00
matz
92ca42cb3e 2006-11-02
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11258 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-02 00:20:00 +00:00
knu
70aa19b6c6 2006-11-01
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11253 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-11-01 04:57:01 +00:00
matz
d9ec86f410 2006-10-31
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11248 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-31 07:28:41 +00:00
matz
0b77f586bb 2006-10-30
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-30 03:39:47 +00:00
kosako
ab984108d7 fix offset value in STATE_CHECK_BUFF_INIT()
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11235 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-29 10:55:27 +00:00
matz
972cb0fb5b 2006-10-28
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11233 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-27 22:57:22 +00:00
matz
2c82a6a65b 2006-10-27
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11231 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-27 08:31:13 +00:00
usa
1d214f8087 2006-10-26
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11224 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-26 06:15:53 +00:00
nobu
23a68ff2ff 2006-10-25
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11213 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2006-10-24 15:58:46 +00:00