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>
|
Tue Dec 7 18:25:26 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
|
||||||
|
|
||||||
* stable version 1.4.3 released.
|
* 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:
|
The URL of the Ruby home-page is:
|
||||||
|
|
||||||
http://www.netlab.co.jp/ruby/
|
http://www.ruby-lang.org/
|
||||||
|
|
||||||
* The Author
|
* The Author
|
||||||
|
|
||||||
|
|
|
@ -44,7 +44,7 @@ Ruby
|
||||||
|
|
||||||
RubyのホームページのURLは
|
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
|
static VALUE
|
||||||
exc_set_backtrace(exc, bt)
|
exc_set_backtrace(exc, bt)
|
||||||
VALUE exc;
|
VALUE exc;
|
||||||
|
VALUE bt;
|
||||||
{
|
{
|
||||||
return rb_iv_set(exc, "bt", check_backtrace(bt));
|
return rb_iv_set(exc, "bt", check_backtrace(bt));
|
||||||
}
|
}
|
||||||
|
|
|
@ -2150,7 +2150,7 @@ class TkListbox<TkTextWin
|
||||||
def nearest(y)
|
def nearest(y)
|
||||||
tk_send('nearest', y).to_i
|
tk_send('nearest', y).to_i
|
||||||
end
|
end
|
||||||
def size(y)
|
def size
|
||||||
tk_send('size').to_i
|
tk_send('size').to_i
|
||||||
end
|
end
|
||||||
def selection_anchor(index)
|
def selection_anchor(index)
|
||||||
|
@ -2159,8 +2159,8 @@ class TkListbox<TkTextWin
|
||||||
def selection_clear(first, last=None)
|
def selection_clear(first, last=None)
|
||||||
tk_send 'selection', 'clear', first, last
|
tk_send 'selection', 'clear', first, last
|
||||||
end
|
end
|
||||||
def selection_includes
|
def selection_includes(index)
|
||||||
bool(tk_send('selection', 'includes'))
|
bool(tk_send('selection', 'includes', index))
|
||||||
end
|
end
|
||||||
def selection_set(first, last=None)
|
def selection_set(first, last=None)
|
||||||
tk_send 'selection', 'set', first, last
|
tk_send 'selection', 'set', first, last
|
||||||
|
|
2
gc.c
2
gc.c
|
@ -370,7 +370,7 @@ rb_mark_tbl(tbl)
|
||||||
|
|
||||||
static int
|
static int
|
||||||
mark_hashentry(key, value)
|
mark_hashentry(key, value)
|
||||||
ID key;
|
VALUE key;
|
||||||
VALUE value;
|
VALUE value;
|
||||||
{
|
{
|
||||||
rb_gc_mark(key);
|
rb_gc_mark(key);
|
||||||
|
|
2
io.c
2
io.c
|
@ -3070,6 +3070,8 @@ argf_eof()
|
||||||
{
|
{
|
||||||
if (init_p == 0 && !next_argv())
|
if (init_p == 0 && !next_argv())
|
||||||
return Qtrue;
|
return Qtrue;
|
||||||
|
if (next_p == -1)
|
||||||
|
return Qtrue;
|
||||||
if (TYPE(current_file) != T_FILE) {
|
if (TYPE(current_file) != T_FILE) {
|
||||||
return argf_forward();
|
return argf_forward();
|
||||||
}
|
}
|
||||||
|
|
4
ruby.h
4
ruby.h
|
@ -89,7 +89,7 @@ extern "C" {
|
||||||
---->> ruby requires sizeof(void*) == sizeof(long) to be compiled. <<----
|
---->> ruby requires sizeof(void*) == sizeof(long) to be compiled. <<----
|
||||||
#endif
|
#endif
|
||||||
typedef unsigned long VALUE;
|
typedef unsigned long VALUE;
|
||||||
typedef unsigned int ID;
|
typedef unsigned long ID;
|
||||||
|
|
||||||
#ifdef __STDC__
|
#ifdef __STDC__
|
||||||
# include <limits.h>
|
# include <limits.h>
|
||||||
|
@ -117,6 +117,8 @@ typedef unsigned int ID;
|
||||||
#define INT2FIX(i) (VALUE)(((long)(i))<<1 | FIXNUM_FLAG)
|
#define INT2FIX(i) (VALUE)(((long)(i))<<1 | FIXNUM_FLAG)
|
||||||
VALUE rb_int2inum _((long));
|
VALUE rb_int2inum _((long));
|
||||||
#define INT2NUM(v) rb_int2inum(v)
|
#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 FIX2LONG(x) RSHIFT((long)x,1)
|
||||||
#define FIX2ULONG(x) (((unsigned long)(x))>>1)
|
#define FIX2ULONG(x) (((unsigned long)(x))>>1)
|
||||||
|
|
|
@ -81,7 +81,7 @@ class Board
|
||||||
elsif y < 0 then 0
|
elsif y < 0 then 0
|
||||||
elsif y >= @hi then 0
|
elsif y >= @hi then 0
|
||||||
else
|
else
|
||||||
@data[x*@wi+x]
|
@data[y*@wi+x]
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
def count(x,y)
|
def count(x,y)
|
||||||
|
|
1
struct.c
1
struct.c
|
@ -224,6 +224,7 @@ static VALUE
|
||||||
rb_struct_s_def(argc, argv, klass)
|
rb_struct_s_def(argc, argv, klass)
|
||||||
int argc;
|
int argc;
|
||||||
VALUE *argv;
|
VALUE *argv;
|
||||||
|
VALUE klass;
|
||||||
{
|
{
|
||||||
VALUE name, rest;
|
VALUE name, rest;
|
||||||
long i;
|
long i;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#define RUBY_VERSION "1.4.3"
|
#define RUBY_VERSION "1.4.4"
|
||||||
#define RUBY_RELEASE_DATE "1999-12-08"
|
#define RUBY_RELEASE_DATE "1999-12-14"
|
||||||
#define RUBY_VERSION_CODE 143
|
#define RUBY_VERSION_CODE 144
|
||||||
#define RUBY_RELEASE_CODE 19991208
|
#define RUBY_RELEASE_CODE 19991214
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue