nobu
50d3ece900
* mkconfig.rb (patchlevel): read from version.h.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-28 17:05:18 +00:00
shyouhei
e38fd64fcd
* mkconfig.rb (RbConfig): add CONFIG['PATCHLEVEL']
...
* common.mk: new target dist
* distruby.rb: new file
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11918 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-27 15:12:18 +00:00
eban
3623df9bc6
* 2007-02-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11892 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-26 16:29:21 +00:00
ko1
e98f7e1eaa
* common.mk: change "gdb" rule. You can debug miniruby with
...
$(srcdir)/test.rb on gdb by this rule (type "make gdb").
If you write break points to "breakpoints.gdb" on $srcdir,
gdb runs with this file.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11883 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-25 15:58:27 +00:00
ko1
71986ef6bc
* yarvcore.h:
...
rename:
rb_iseq_t#file_name -> filename
rb_iseq_t#local_tbl -> local_table
add:
rb_iseq_t#local_table_size
* compile.c: separate local_table_size and local_size
(local variable size)
* blockinlining.c: apply above rename.
* compile.h: ditto.
* eval.c: ditto.
* iseq.c: ditto.
* proc.c: ditto.
* vm.c: ditto.
* vm_dump.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11877 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-25 01:34:33 +00:00
suke
1fcf93350f
* ext/win32ole/win32ole.c: add WIN32OLE_VARIANT.array,
...
WIN32OLE_VARIANT#value=, refactoring.
* test/win32ole/test_win32ole_variant.rb: add some test for
WIN32OLE_VARIANT.array, WIN32OLE_VARIANT#value=.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-23 22:39:25 +00:00
matz
0c882f4c9d
* string.c (rb_str_ord): need not to check string length; ord
...
returns a codepoint for the first character in the string.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11809 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-23 01:21:49 +00:00
nobu
e3b0b6d5fe
* eval_load.c (rb_require_safe): should restore safe level.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11806 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-21 00:14:07 +00:00
ko1
661955cc39
* thread.c (do_select, rb_thread_wait_fd_rw): raise sys error if
...
errno is not 0 and EBADF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11795 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-20 06:07:05 +00:00
matz
2551d9b534
* ext/socket/socket.c (unix_peeraddr): wrong syscall name in error
...
message for #peeraddr. a patch from Sam Roberts
<sroberts at uniserve.com>. [ruby-core:10366]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11778 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-19 08:17:14 +00:00
eban
728fa4a661
* 2007-02-18
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11773 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-18 10:47:07 +00:00
matz
163163afdf
* parse.y (mrhs): need to append by arg_append().
...
[ruby-talk:239385]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11760 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-16 10:58:04 +00:00
ko1
970df0d138
* lib/delegate.rb: catch up with class local variable (@_v) spec.
...
* lib/singleton.rb: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11742 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-14 16:50:16 +00:00
matz
76a27adfda
* ext/socket/socket.c (init_unixsock): path may contain NUL for
...
abstract unix sockets. [ruby-core:10288]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11712 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-13 15:31:18 +00:00
eban
62815a50bc
* 2007-02-13
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11710 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-13 06:20:51 +00:00
kou
4924197d1c
* lib/rss/dublincore.rb, lib/rss/maker/dublincore.rb: dc_rightses
...
-> dc_rights_list. dc_rightses still exists for backward
compatibility. [ruby-core:8350]
* test/rss/test_maker_dc.rb: added tests for dc_rights_list.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11706 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-12 02:52:32 +00:00
knu
8833abd556
20070211
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11700 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-10 22:46:37 +00:00
eban
6ccbfd76a1
* 2007-02-10
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11682 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-09 15:49:35 +00:00
ko1
a9026242f2
* thread.c, thread_pthread.ci, thread_win32.ci (thread_start_func_1):
...
move cleanup function to thread_start_func_2().
* thread.c, thread_pthread.ci, thread_win32.ci:
add more destruct functions.
(native_thread_destroy() and native_mutex_destroy())
* thread_pthread.ci, thread_pthread.h: make native_mutex_* functions
(check error, etc), it's not macro any more.
* thread_win32.ci (thread_start_func_1): store some values before
running thread (to release these after running thread).
* thread_win32.ci (native_thread_create): fix spaces.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11671 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-08 20:24:55 +00:00
ko1
9c574383a4
* blockinlining.c, error.c, eval.c, eval_error.h, eval_intern.h,
...
eval_jump.h, eval_load.c, eval_safe.h, gc.c, proc.c, signal.c,
thread.c, thread_pthread.ci, thread_win32.ci, vm.c, vm.h,
vm_dump.c, vm_evalbody.ci, yarvcore.c, yarvcore.h:
fix typo (rb_thead_t -> rb_thread_t).
* eval_intern.h: remove unused definitions.
* common.mk: fix around vm_opts.h path
and remove harmful argument passed to insns2vm.rb.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11658 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-08 06:37:46 +00:00
usa
b1c6339b0c
* 2007-02-07
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11650 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-06 15:13:18 +00:00
ko1
27172b8e6f
* intern.h: prepare rb_last_status_get() and rb_last_status_set().
...
Use these functions instead of rb_last_status ([ruby-dev:30264]).
* process.c: define above functions.
* ext/pty/pty.c: use above functins.
* io.c (pipe_finalize): ditto.
* process.c: ditto.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11633 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-05 16:22:38 +00:00
matz
cbee6e017d
* eval.c (rb_frame_callee): check if prev_cfp can be accessible.
...
a patch from Yoshinori Sano <yoshinori.sano at gmail.com> in
[ruby-dev:30252]. solves [ruby-dev:30200] and [ruby-core:9856].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-04 19:12:52 +00:00
eban
900ff1276f
* 2007-02-04
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11626 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-03 18:01:58 +00:00
eban
497220616a
* 2007-02-03
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11618 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02 15:24:35 +00:00
matz
0cd337b1f0
* eval.c: remove duplicated global variables rb_cProc and
...
rb_cBinding. [ruby-dev:30242]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11609 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-02-02 09:32:28 +00:00
eban
f5883fbe87
* 2007-01-31
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11603 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-31 05:43:47 +00:00
eban
c93ca8ee38
* 2007-01-30
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11590 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-29 15:42:23 +00:00
matz
024c694c95
* tool/parse.rb: replace YARVCore by VM class.
...
http://d.hatena.ne.jp/ysano2005/20070128
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11586 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-29 05:16:38 +00:00
eban
f74039ec51
* 2007-01-28
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11585 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-28 03:54:19 +00:00
eban
c91a817032
* 2007-01-27
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11580 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-26 15:09:43 +00:00
matz
369b098721
* enumerator.c (enumerator_init_copy): need to copy internal
...
structure on clone and dup. [ruby-dev:30192]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11574 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-25 22:52:38 +00:00
usa
b696420526
* Makefile.in, common.mk, configure.in, */{Makefile.sub, configure.bat,
...
setup.mak}: add --with-baseruby configure option.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11559 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-23 06:41:22 +00:00
matz
06720d45c7
* ext/socket/socket.c: fix errors in socket sample code.
...
[ruby-core:09992]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11552 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-22 06:01:17 +00:00
suke
e16e6a66ae
modify WIN32OLERuntimeError message.
...
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11546 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2007-01-20 02:28:49 +00:00
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