Skip to content

Commit

Permalink
20000105
Browse files Browse the repository at this point in the history
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
matz committed Jan 5, 2000
1 parent a1d1b15 commit de71615
Show file tree
Hide file tree
Showing 69 changed files with 1,821 additions and 1,051 deletions.
144 changes: 144 additions & 0 deletions ChangeLog
@@ -1,3 +1,147 @@
Wed Jan 5 02:14:46 2000 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>

* parse.y: Fix SEGV on empty parens with UMINUS or UPLUS.

Tue Jan 4 22:25:54 2000 Yukihiro Matsumoto <matz@netlab.co.jp>

* parse.y (stmt): `() while cond' dumped core.

Tue Jan 4 06:04:14 2000 WATANABE Hirofumi <eban@os.rim.or.jp>

* configure.in: modify for cross-compiling.
use target_* instead of host_*.
use AC_CANONICAL_TARGET.

* Makefile.in: ditto.

* cygwin/GNUmakefile.in: ditto.

Sat Jan 1 13:26:14 2000 Yukihiro Matsumoto <matz@netlab.co.jp>

* eval.c (rb_yield_0): force_recycle ruby_dyna_vars to performance
gain.

* array.c (rb_ary_delete_at_m): takes same argument pattern with
rb_ary_aref.

Sat Jan 1 10:12:26 2000 Nobuyoshi Nakada <nobu.nokada@softhome.net>

* ruby.h,util.c (rb_special_const_p): peep hole optimization.

* ruby.h,util.c (rb_test_false_or_nil): removed.

* ruby.h (RTEST, SPECIAL_CONST_P): peep hole optimization.

* ruby.h (FL_ABLE, FL_SET, FL_UNSET, FL_REVERSE): made expressions
not statements.

* ruby.h (OBJ_INFECT): newly added which copies taint from `s' to
`x'.

Sat Jan 1 02:04:18 2000 Yukihiro Matsumoto <matz@netlab.co.jp>

* eval.c (rb_thread_safe_level): new method.

* eval.c (rb_yield_0): recycle dyna_var_map to reduce object
allocation.

Fri Dec 31 00:52:48 1999 Yukihiro Matsumoto <matz@netlab.co.jp>

* eval.c: thread independent trace_func not needed.

Thu Dec 30 14:47:31 1999 akira yamada <akira@ruby-lang.org>

* configure.in: specifies -soname in LIBRUBY_DLDFLAGS on linux
platforms.

Thu Dec 30 10:51:27 1999 Yukihiro Matsumoto <matz@netlab.co.jp>

* array.c,io.c,hash,c,re.c,string.c: `_m' suffix instead of
`_method' for wrapper functions to implement method,
e.g. `rb_str_join_m()'.

Thu Dec 30 02:08:02 1999 Yukihiro Matsumoto <matz@netlab.co.jp>

* bignum.c (rb_cstr2inum): non-numeric format check added.
currently it works only with base == 0 (i.e. Integer()).

* bignum.c (rb_str2inum): now takes VALUE to 1st argument. null
byte check added.

* array.c (rb_ary_replace): unless replacement is an array,
replacement shall be converted to array by `[replacement]', not
by `replacement.to_a'.

* array.c (rb_ary_plus): right operand must be an array.

* array.c (rb_ary_concat): argument must be an array.

Mon Dec 27 12:35:47 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>

* ext/socket/socket.c (sock_finalize): mswin32: fix socket handle leak.

* win32/win32.c (myfdclose): ditto.

Sun Dec 26 23:15:13 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>

* win32/win32.c (mypopen): raise catchable error instead of rb_fatal.
* win32/win32.c (mypclose): fix process handle laek.

Sun Dec 26 16:17:11 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>

* ext/Win32API/Win32API.c (Win32API_initialize): use UINT2NUM
instead of INT2NUM to set __dll__ and __proc__.

Sat Dec 25 00:08:59 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>

* ext/Win32API/Win32API.c (Win32API_Call): remove 'dword ptr'
from _asm.

Fri Dec 24 10:26:47 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>

* win32/win32.h: use "C++" linkage.

Fri Dec 24 02:00:57 1999 Yukihiro Matsumoto <matz@netlab.co.jp>

* eval.c (THREAD_ALLOC): should initialize th->trace.

Fri Dec 24 00:43:39 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>

* io.c (pipe_open): check for `fptr->f == NULL'.
* win32/win32.c (mypopen): STDERR does not work during ` function.

Tue Dec 21 17:21:28 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>

* ext/socket/socket.c (sock_finalize): mswin32: fix FILE* leak.

Sun Dec 19 22:56:31 1999 KANEKO Naoshi <wbs01621@mail.wbs.ne.jp>

* lib/find.rb: support dosish root directory.
* win32/Makefile: ditto.
* win32/config.status: ditto.
* win32/win32.c (opendir): ditto.
* win32/win32.c (opendir): use CharPrev() to get last character
of the directory name.

Sat Dec 18 03:00:01 1999 Yukihiro Matsumoto <matz@netlab.co.jp>

* file.c (path_check_1): check should be done by absolute path.

* marshal.c (r_ivar): should restore generic_ivar too.

* marshal.c (w_ivar): should dump generic_ivar too.

Fri Dec 17 19:27:43 1999 IWAMURO Motonori <iwa@mmp.fujitsu.co.jp>

* eval.c (rb_load): should initialize ruby_frame->last_class.

Wed Dec 15 01:35:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>

* ruby.c (proc_options): option to change directory changed to
`-C' like tar.

* ruby.c (proc_options): argv boundary check for `-X'.

Mon Dec 13 15:15:31 1999 Yukihiro Matsumoto <matz@netlab.co.jp>

* regex.c (re_adjust_startpos): separate startpos adjustment
Expand Down
15 changes: 9 additions & 6 deletions Makefile.in
Expand Up @@ -81,8 +81,8 @@ OBJS = array.@OBJEXT@ \
version.@OBJEXT@ \
$(MISSING)

all: miniruby$(EXEEXT) rbconfig.rb
@./miniruby$(EXEEXT) -Xext extmk.rb @EXTSTATIC@
all: miniruby$(EXEEXT) @PREP@ rbconfig.rb
@@MINIRUBY@ -Xext extmk.rb @EXTSTATIC@

miniruby$(EXEEXT): config.status $(LIBRUBY_A) $(MAINOBJ) dmyext.@OBJEXT@
@rm -f $@
Expand All @@ -98,16 +98,16 @@ $(LIBRUBY_A): $(OBJS) dmyext.@OBJEXT@

$(LIBRUBY_SO): $(OBJS) dmyext.@OBJEXT@
$(LDSHARED) $(DLDFLAGS) $(SOLIBS) $(OBJS) dmyext.@OBJEXT@ -o $@
@-./miniruby -e 'ARGV.each{|link| File.delete link if File.exist? link; \
@-@MINIRUBY@ -e 'ARGV.each{|link| File.delete link if File.exist? link; \
File.symlink "$(LIBRUBY_SO)", link}' \
$(LIBRUBY_ALIASES) || true

install: rbconfig.rb
./miniruby$(EXEEXT) $(srcdir)/instruby.rb $(DESTDIR)
@MINIRUBY@ $(srcdir)/instruby.rb $(DESTDIR)

clean:; @rm -f $(OBJS) $(LIBRUBY_A) $(LIBRUBY_SO) $(LIBRUBY_ALIASES) $(MAINOBJ) rbconfig.rb
@rm -f ext/extinit.c ext/extinit.@OBJEXT@ dmyext.@OBJEXT@
@-./miniruby$(EXEEXT) -Xext extmk.rb clean 2> /dev/null || true
@-@MINIRUBY@ -Xext extmk.rb clean 2> /dev/null || true
@rm -f $(PROGRAM) miniruby$(EXEEXT)

distclean: clean
Expand All @@ -123,7 +123,10 @@ test: miniruby$(EXEEXT)
@./miniruby$(EXEEXT) $(srcdir)/rubytest.rb

rbconfig.rb: miniruby$(EXEEXT)
@./miniruby$(EXEEXT) $(srcdir)/mkconfig.rb rbconfig.rb
@@MINIRUBY@ $(srcdir)/mkconfig.rb rbconfig.rb

prep.rb: miniruby$(EXEEXT)
@echo 'PLATFORM=RUBY_PLATFORM="@arch@"' > $@

config.status: $(srcdir)/configure
$(SHELL) ./config.status --recheck
Expand Down
1 change: 1 addition & 0 deletions README
Expand Up @@ -116,6 +116,7 @@ You can redistribute it and/or modify it under either the terms of the GPL
4. You may modify and include the part of the software into any other
software (possibly commercial). But some files in the distribution
are not written by the author, so that they are not under this terms.

They are gc.c(partly), utils.c(partly), regex.[ch], st.[ch] and some
files under the ./missing directory. See each file for the copying
condition.
Expand Down
55 changes: 29 additions & 26 deletions README.jp
Expand Up @@ -135,29 +135,30 @@ UNIX

* ���۾��

Ruby�ϥե꡼���եȥ������Ǥ���GPL(the GNU General Public
License)�ޤ��ϰʲ��˼�������Ruby������ۤǤ��ޤ���GPL�ˤ
���Ƥ�COPYING�ե�����򻲾Ȥ��Ʋ�������
�ܥץ������ϥե꡼���եȥ������Ǥ���GPL(the GNU General
Public License)�ޤ��ϰʲ��˼��������ܥץ�����������ۤ
���ޤ���GPL�ˤĤ��Ƥ�COPYING�ե�����򻲾Ȥ��Ʋ�������

1. ʣ�������¤ʤ���ͳ�Ǥ���

2. �ʲ��ξ��Τ����줫�����������˼긵��Ruby�Υ�������
ͳ���ѹ��Ǥ��ޤ���
2. �ʲ��ξ��Τ����줫�������������ܥץ������Υ�������
��ͳ���ѹ��Ǥ��ޤ���

(a) �ͥåȥ˥塼���˥ݥ��Ȥ����ꡤ��Ԥ��ѹ������դ���
�ʤɤ���ˡ�ǡ��ѹ���������롥

(b) �ѹ�����Ruby��ʬ�ν�°�����ȿ����������ǻȤ���
(b) �ѹ������ܥץ�������ʬ�ν�°�����ȿ�����������
�Ȥ���

(c) �ѹ����������������������եȥ�������̾�����ѹ����롥
���Υ��եȥ����������ۤ�����ˤ��ѹ�����Ruby��Ʊ��
�����ۤ��롥�ޤ����ѹ�����Ruby�Υ�����������ˡ����
�����롥
���Υ��եȥ����������ۤ�����ˤ��ѹ������ܥץ�����
���Ʊ�������ۤ��롥�ޤ����ѹ������ܥץ������Υ���
��������ˡ���������

(d) ����¾���ѹ������Ԥȹ�դ��롥

3. �ʲ��ξ��Τ����줫������������Ruby�򥪥֥������ȥ��
�ɤ�¹Է����Ǥ����ۤǤ��ޤ���
3. �ʲ��ξ��Τ����줫�������������ܥץ������򥳥�ѥ
뤷�����֥������ȥ����ɤ�¹Է����Ǥ����ۤǤ��ޤ���

(a) �Х��ʥ�������ä��ͤ�������������Ǥ���褦�ˡ�
������������ˡ���������롥
Expand All @@ -170,21 +171,23 @@ License)
(d) ����¾�����۾����Ԥȹ�դ��롥

4. ¾�Υץ������ؤΰ��ѤϤ����ʤ���Ū�Ǥ��켫ͳ�Ǥ�����
������Ruby�˴ޤޤ��¾�κ�Ԥˤ�륳���ɤϡ����줾���
��Ԥΰո��ˤ�����¤��ä����ޤ�������Ū�ˤ�gc.c(����)��
util.c(����)��st.[ch]��regex.[ch] ����� ./missing�ǥ�
�쥯�ȥ겼�Υե����뷲���������ޤ������줾������۾��
�ʤɤ��դ��Ƥϳƥե�����򻲾Ȥ��Ƥ���������

5. Ruby�ؤ����ϤȤʤ륹����ץȤ���ӡ�Ruby����ν��Ϥθ�
����Ruby�κ�ԤǤϤʤ������줾��������Ϥ����������ͤ�
°���ޤ����ޤ���Ruby���Ȥ߹��ि��γ�ĥ�饤�֥��ˤ�
���Ƥ�Ʊ�ͤǤ���

6. Ruby��̵�ݾڤǤ�����Ԥ�Ruby�򥵥ݡ��Ȥ���ջ֤Ϥ����
������Ruby���ȤΥХ����뤤��Ruby������ץȤΥХ��ʤɤ�
��ȯ�����뤤���ʤ�»�����Ф��Ƥ���Ǥ������ޤ���

�������ܥץ������˴ޤޤ��¾�κ�Ԥˤ�륳���ɤϡ���
�줾��κ�Ԥΰո��ˤ�����¤��ä�����礬����ޤ���

����Ū�ˤ�gc.c(����)��util.c(����)��st.[ch]��regex.[ch]
����� ./missing�ǥ��쥯�ȥ겼�Υե����뷲���������ޤ���
���줾������۾��ʤɤ��դ��Ƥϳƥե�����򻲾Ȥ��Ƥ�
��������

5. �ܥץ������ؤ����ϤȤʤ륹����ץȤ���ӡ��ܥץ�����
�फ��ν��Ϥθ������ܥץ������κ�ԤǤϤʤ������줾
��������Ϥ����������ͤ�°���ޤ����ޤ����ܥץ�������
�Ȥ߹��ޤ�뤿��γ�ĥ�饤�֥��ˤĤ��Ƥ�Ʊ�ͤǤ���

6. �ܥץ�������̵�ݾڤǤ�����Ԥ��ܥץ������򥵥ݡ���
����ջ֤Ϥ���ޤ������ץ�����༫�ȤΥХ����뤤���ܥ�
�������μ¹Ԥʤɤ���ȯ�����뤤���ʤ�»�����Ф��Ƥ���
Ǥ������ޤ���

* ����

Expand Down
1 change: 1 addition & 0 deletions ToDo
Expand Up @@ -44,6 +44,7 @@ Standard Libraries
- sprintf/printf's $ to specify argument order
- Dir.glob("**/*.c") ala zsh
- Remove Enumerable#{size,length}
* Marshal should handle generic instance variables.
* SyntaxError and NameError should not be subclasses of StandardError, maybe.
* debugger for thread programming
* Struct::new([name,]member,...) ??
Expand Down

0 comments on commit de71615

Please sign in to comment.