Skip to content

Commit

Permalink
version 0.68
Browse files Browse the repository at this point in the history
https://cache.ruby-lang.org/pub/ruby/1.0/ruby-0.67-0.68.diff.gz

Fri Feb 24 13:15:43 1995  Yukihiro Matsumoto  (matz@ix-02)

	* version 0.68

Thu Feb 23 11:19:19 1995  Yukihiro Matsumoto  (matz@ix-02)

	* eval.c: resque節のselfの値が間違っていた.

	* eval.c(rb_clear_cache): キャッシュのクリアし忘れがあった.

	* eval.c: 定数のスコープをクラス内の静的スコープに変更した.これに
	  よって,特異メソッドからは参照される定数は,レシーバのクラスでは
	  なく,定義されたスコープのクラスの定数となる.

Wed Feb 22 00:51:38 1995  Yukihiro Matsumoto  (matz@dyna)

	* regex.c: ignorecaseを正規表現のコンパイル前に指定しないと正しく
	  動作しない.修正.

	* string.c(toupper,tolower): bug fix.

	* ENV,VERSION: readonly変数から定数へ.
  • Loading branch information
matz authored and k0kubun committed Aug 17, 2019
1 parent 2f106ab commit 881c5a9
Show file tree
Hide file tree
Showing 51 changed files with 587 additions and 368 deletions.
36 changes: 36 additions & 0 deletions ChangeLog
@@ -1,3 +1,35 @@
Fri Feb 24 13:15:43 1995 Yukihiro Matsumoto (matz@ix-02)

* version 0.68

Thu Feb 23 11:19:19 1995 Yukihiro Matsumoto (matz@ix-02)

* eval.c: resque���self���ͤ��ְ�äƤ�����

* eval.c(rb_clear_cache): ����å���Υ��ꥢ��˺�줬���ä���

* eval.c: ����Υ������פ򥯥饹�����Ū�������פ��ѹ������������
��äơ��ðۥ᥽�åɤ���ϻ��Ȥ��������ϡ��쥷���ФΥ��饹�Ǥ�
�ʤ���������줿�������פΥ��饹������Ȥʤ롥

Wed Feb 22 00:51:38 1995 Yukihiro Matsumoto (matz@dyna)

* regex.c: ignorecase������ɽ���Υ���ѥ������˻��ꤷ�ʤ���������
ư��ʤ���������

* string.c(toupper,tolower): bug fix.

* ENV,VERSION: readonly�ѿ���������ء�

Tue Feb 21 18:56:56 1995 Yukihiro Matsumoto (matz@ix-02)

* io.c(STDIN, STDOUT, STDERR): ����Ȥ�����������ޤǤ�$stdin�ʤ�
�Ͼ���ʤ��ʤ뤫���Τ�ʤ���

* io.c(select): bug fix.

* version 0.67

Mon Feb 20 16:10:14 1995 Yukihiro Matsumoto (matz@ix-02)

* parse.y(yylex): �����`%���̻�'���顤��1ʸ������ʸ���μ��̻Ҥ���
Expand Down Expand Up @@ -38,11 +70,15 @@ Fri Feb 10 16:30:00 1995 Yukihiro Matsumoto (matz@ix-02)

Thu Feb 9 16:18:37 1995 Yukihiro Matsumoto (matz@ix-02)

* version 0.66

* parse.y: protect��begin���ѹ���begin..end���㳰���������Ǥʤ���
ʸ��̤Ȥ��Ƥ�Ư�����Ȥˤʤä���

Wed Feb 1 19:48:24 1995 Yukihiro Matsumoto (matz@ix-02)

* version 0.65

* string.c(str_replace): �֤�������ʸ�����Ĺ���������������ꥳ
�ԡ��򤷤ʤ���

Expand Down
2 changes: 1 addition & 1 deletion array.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1995/01/10 10:42:18 $
created at: Fri Aug 6 09:46:12 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down
22 changes: 2 additions & 20 deletions class.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1995/01/12 08:54:44 $
created at: Tue Aug 10 15:05:44 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down Expand Up @@ -203,7 +203,7 @@ rb_include_module(class, module)
Check_Type(module, T_MODULE);

if (BUILTIN_TYPE(class) == T_CLASS) {
rb_clear_cache2(class);
rb_clear_cache(class);
}

while (module) {
Expand All @@ -223,24 +223,6 @@ rb_include_module(class, module)
}
}

void
rb_add_method(class, mid, node, noex)
struct RClass *class;
ID mid;
NODE *node;
int noex;
{
NODE *body;

if (class == Qnil) class = (struct RClass*)C_Object;
if (st_lookup(class->m_tbl, mid, &body)) {
Warning("redefine %s", rb_id2name(mid));
rb_clear_cache(body);
}
body = NEW_METHOD(node, noex);
st_insert(class->m_tbl, mid, body);
}

void
rb_define_method(class, name, func, argc)
struct RClass *class;
Expand Down
2 changes: 1 addition & 1 deletion compar.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1994/10/14 06:19:05 $
created at: Thu Aug 26 14:39:48 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down
2 changes: 1 addition & 1 deletion cons.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1995/01/10 10:30:37 $
created at: Fri Jan 6 10:10:36 JST 1995
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down
2 changes: 1 addition & 1 deletion dbm.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1995/01/10 10:42:24 $
created at: Mon Jan 24 15:59:52 JST 1994
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down
7 changes: 2 additions & 5 deletions dict.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1995/01/10 10:42:26 $
created at: Mon Nov 22 18:51:18 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down Expand Up @@ -614,7 +614,6 @@ Init_Dict()
rb_define_method(C_Dict,"has_key", Fdic_has_key, 1);
rb_define_method(C_Dict,"has_value", Fdic_has_value, 1);


envtbl = obj_alloc(C_Object);
rb_define_single_method(envtbl,"[]", Fgetenv, 1);
rb_define_single_method(envtbl,"[]=", Fsetenv, 2);
Expand All @@ -624,7 +623,5 @@ Init_Dict()
rb_include_module(CLASS_OF(envtbl), M_Enumerable);

rb_define_variable("$ENV", &envtbl, Qnil, rb_readonly_hook, 0);

rb_define_private_method(C_Kernel, "getenv", Fgetenv, 1);
rb_define_private_method(C_Kernel, "setenv", Fsetenv, 2);
rb_define_const(C_Kernel, "ENV", envtbl);
}
2 changes: 1 addition & 1 deletion dir.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1995/01/10 10:42:28 $
created at: Wed Jan 5 09:51:01 JST 1994
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down
2 changes: 1 addition & 1 deletion dln.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1994/12/09 01:28:23 $
created at: Tue Jan 18 17:05:06 JST 1994
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down
2 changes: 1 addition & 1 deletion enum.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1995/01/10 10:42:29 $
created at: Fri Oct 1 15:15:19 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down
2 changes: 2 additions & 0 deletions env.h
Expand Up @@ -30,4 +30,6 @@ struct SCOPE {

extern int rb_in_eval;

extern struct RClass *the_class;

#endif /* ENV_H */
2 changes: 1 addition & 1 deletion error.c
Expand Up @@ -6,7 +6,7 @@
$Date: 1995/01/10 10:42:31 $
created at: Mon Aug 9 16:11:34 JST 1993
Copyright (C) 1994 Yukihiro Matsumoto
Copyright (C) 1995 Yukihiro Matsumoto
************************************************/

Expand Down

0 comments on commit 881c5a9

Please sign in to comment.