mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
19991214
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_4@587 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ea14c6e09a
commit
d6657f1c07
11 changed files with 28 additions and 12 deletions
10
ChangeLog
10
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
Sat Dec 11 03:34:38 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
|
||||
|
||||
* gc.c (mark_hashentry): key should be VALUE, not ID.
|
||||
|
||||
* io.c (argf_eof): should check next_p too.
|
||||
|
||||
Thu Dec 9 18:09:13 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
|
||||
|
||||
* error.c (exc_set_backtrace): forgot to declare a VALUE argument.
|
||||
|
||||
Tue Dec 7 18:25:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
|
||||
|
||||
* stable version 1.4.3 released.
|
||||
|
|
2
README
2
README
|
@ -135,7 +135,7 @@ You can redistribute it and/or modify it under either the terms of the GPL
|
|||
|
||||
The URL of the Ruby home-page is:
|
||||
|
||||
http://www.netlab.co.jp/ruby/
|
||||
http://www.ruby-lang.org/
|
||||
|
||||
* The Author
|
||||
|
||||
|
|
|
@ -44,7 +44,7 @@ Ruby
|
|||
|
||||
RubyのホームページのURLは
|
||||
|
||||
http://www.netlab.co.jp/ruby/jp/
|
||||
http://www.ruby-lang.org/
|
||||
|
||||
です.
|
||||
|
||||
|
|
1
error.c
1
error.c
|
@ -386,6 +386,7 @@ check_backtrace(bt)
|
|||
static VALUE
|
||||
exc_set_backtrace(exc, bt)
|
||||
VALUE exc;
|
||||
VALUE bt;
|
||||
{
|
||||
return rb_iv_set(exc, "bt", check_backtrace(bt));
|
||||
}
|
||||
|
|
|
@ -2150,7 +2150,7 @@ class TkListbox<TkTextWin
|
|||
def nearest(y)
|
||||
tk_send('nearest', y).to_i
|
||||
end
|
||||
def size(y)
|
||||
def size
|
||||
tk_send('size').to_i
|
||||
end
|
||||
def selection_anchor(index)
|
||||
|
@ -2159,8 +2159,8 @@ class TkListbox<TkTextWin
|
|||
def selection_clear(first, last=None)
|
||||
tk_send 'selection', 'clear', first, last
|
||||
end
|
||||
def selection_includes
|
||||
bool(tk_send('selection', 'includes'))
|
||||
def selection_includes(index)
|
||||
bool(tk_send('selection', 'includes', index))
|
||||
end
|
||||
def selection_set(first, last=None)
|
||||
tk_send 'selection', 'set', first, last
|
||||
|
|
2
gc.c
2
gc.c
|
@ -370,7 +370,7 @@ rb_mark_tbl(tbl)
|
|||
|
||||
static int
|
||||
mark_hashentry(key, value)
|
||||
ID key;
|
||||
VALUE key;
|
||||
VALUE value;
|
||||
{
|
||||
rb_gc_mark(key);
|
||||
|
|
2
io.c
2
io.c
|
@ -3070,6 +3070,8 @@ argf_eof()
|
|||
{
|
||||
if (init_p == 0 && !next_argv())
|
||||
return Qtrue;
|
||||
if (next_p == -1)
|
||||
return Qtrue;
|
||||
if (TYPE(current_file) != T_FILE) {
|
||||
return argf_forward();
|
||||
}
|
||||
|
|
4
ruby.h
4
ruby.h
|
@ -89,7 +89,7 @@ extern "C" {
|
|||
---->> ruby requires sizeof(void*) == sizeof(long) to be compiled. <<----
|
||||
#endif
|
||||
typedef unsigned long VALUE;
|
||||
typedef unsigned int ID;
|
||||
typedef unsigned long ID;
|
||||
|
||||
#ifdef __STDC__
|
||||
# include <limits.h>
|
||||
|
@ -117,6 +117,8 @@ typedef unsigned int ID;
|
|||
#define INT2FIX(i) (VALUE)(((long)(i))<<1 | FIXNUM_FLAG)
|
||||
VALUE rb_int2inum _((long));
|
||||
#define INT2NUM(v) rb_int2inum(v)
|
||||
VALUE rb_uint2inum _((unsigned long));
|
||||
#define UINT2NUM(v) rb_uint2inum(v)
|
||||
|
||||
#define FIX2LONG(x) RSHIFT((long)x,1)
|
||||
#define FIX2ULONG(x) (((unsigned long)(x))>>1)
|
||||
|
|
|
@ -81,7 +81,7 @@ class Board
|
|||
elsif y < 0 then 0
|
||||
elsif y >= @hi then 0
|
||||
else
|
||||
@data[x*@wi+x]
|
||||
@data[y*@wi+x]
|
||||
end
|
||||
end
|
||||
def count(x,y)
|
||||
|
|
1
struct.c
1
struct.c
|
@ -224,6 +224,7 @@ static VALUE
|
|||
rb_struct_s_def(argc, argv, klass)
|
||||
int argc;
|
||||
VALUE *argv;
|
||||
VALUE klass;
|
||||
{
|
||||
VALUE name, rest;
|
||||
long i;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#define RUBY_VERSION "1.4.3"
|
||||
#define RUBY_RELEASE_DATE "1999-12-08"
|
||||
#define RUBY_VERSION_CODE 143
|
||||
#define RUBY_RELEASE_CODE 19991208
|
||||
#define RUBY_VERSION "1.4.4"
|
||||
#define RUBY_RELEASE_DATE "1999-12-14"
|
||||
#define RUBY_VERSION_CODE 144
|
||||
#define RUBY_RELEASE_CODE 19991214
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue