Permalink
Browse files

20000105

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@598 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information...
1 parent c3f7c75 commit 56e60da9db31c4b6ec8d6433be9710470daaf34a matz committed Jan 5, 2000
Showing with 1,821 additions and 1,051 deletions.
  1. +144 −0 ChangeLog
  2. +9 −6 Makefile.in
  3. +1 −0 README
  4. +29 −26 README.jp
  5. +1 −0 ToDo
  6. +135 −31 array.c
  7. +65 −15 bignum.c
  8. +1 −1 class.c
  9. +1 −1 compar.c
  10. +4 −4 configure
  11. +43 −28 configure.in
  12. +2 −3 cygwin/GNUmakefile.in
  13. +2 −2 defines.h
  14. +1 −1 dir.c
  15. +1 −1 dln.c
  16. +1 −1 enum.c
  17. +2 −2 error.c
  18. +151 −118 eval.c
  19. +7 −8 ext/Win32API/Win32API.c
  20. +2 −9 ext/socket/socket.c
  21. +28 −66 ext/tk/lib/tk.rb
  22. +4 −8 ext/tk/lib/tkcanvas.rb
  23. +4 −8 ext/tk/lib/tktext.rb
  24. +153 −2 file.c
  25. +6 −2 gc.c
  26. +52 −104 hash.c
  27. +1 −1 inits.c
  28. +5 −2 intern.h
  29. +17 −17 io.c
  30. +1 −1 lib/cgi.rb
  31. +625 −323 lib/debug.rb
  32. +3 −1 lib/find.rb
  33. +3 −1 lib/mkmf.rb
  34. +2 −2 lib/timeout.rb
  35. +1 −1 main.c
  36. +59 −24 marshal.c
  37. +1 −1 math.c
  38. +10 −13 misc/ruby-mode.el
  39. +2 −0 missing/x68.c
  40. +1 −1 node.h
  41. +1 −1 numeric.c
  42. +2 −4 object.c
  43. +6 −6 pack.c
  44. +37 −19 parse.y
  45. +2 −2 prec.c
  46. +1 −1 process.c
  47. +1 −1 random.c
  48. +1 −1 range.c
  49. +33 −26 re.c
  50. +1 −1 re.h
  51. +7 −3 ruby.c
  52. +12 −18 ruby.h
  53. +1 −1 rubyio.h
  54. +1 −1 sample/mpart.rb
  55. +2 −2 signal.c
  56. +8 −10 sprintf.c
  57. +1 −1 st.c
  58. +1 −1 st.h
  59. +70 −39 string.c
  60. +8 −8 struct.c
  61. +10 −10 time.c
  62. +2 −12 util.c
  63. +1 −1 util.h
  64. +12 −0 variable.c
  65. +2 −2 version.c
  66. +1 −1 win32/Makefile
  67. +1 −1 win32/config.status
  68. +14 −41 win32/win32.c
  69. +2 −2 win32/win32.h
View
144 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
View
@@ -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 $@
@@ -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
@@ -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
View
1 README
@@ -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.
View
@@ -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) �Х��ʥ����ä��ͤ�������������Ǥ���褦�ˡ�
������������ˡ��������롥
@@ -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. �ܥץ�����̵�ݾڤǤ�����Ԥ��ܥץ����򥵥ݡ���
+ ����ջ֤Ϥ���ޤ������ץ���༫�ȤΥХ����뤤���ܥ�
+ �����μ¹Ԥʤɤ���ȯ����뤤���ʤ�»�����Ф��Ƥ���
+ Ǥ����ޤ���
* ���
View
1 ToDo
@@ -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,...) ??
Oops, something went wrong.

0 comments on commit 56e60da

Please sign in to comment.