Skip to content

Commit a1530c7

Browse files
author
matz
committed
backtrace may be Qnil
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@499 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 86307f5 commit a1530c7

39 files changed

+899
-757
lines changed

ChangeLog

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,80 @@
1+
Tue Jul 20 02:28:34 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
2+
3+
* io.c (rb_gets): $_ should be nil, when get returns nil.
4+
5+
* io.c (rb_f_gets): ditto.
6+
7+
Mon Jul 19 17:13:09 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
8+
9+
* regex.c (re_compile_fastmap): should continue fastmap compile
10+
for anychar_repeat, for it's repeat anyway.
11+
12+
Mon Jul 19 01:57:28 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
13+
14+
* lib/mkmf.rb: no longer use install program.
15+
16+
* ext/extmk.rb.in: use miniruby to install programs.
17+
18+
Sat Jul 17 00:06:21 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
19+
20+
* ext/socket/socket.c (ipaddr): don't do reverse lookup if
21+
attribute do_not_reverse_lookup is set for socket classes.
22+
Experimental. Note this is a global attribute.
23+
24+
Fri Jul 16 22:18:29 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
25+
26+
* io.c (rb_io_eof): use feof() to check EOF already met.
27+
28+
* io.c (read_all): should return nil at EOF.
29+
30+
Fri Jul 16 13:39:42 1999 Wakou Aoyama <wakou@fsinet.or.jp>
31+
32+
* lib/telnet.rb: version 0.231.
33+
34+
Fri Jul 16 10:58:22 1999 WATANABE Tetsuya <tetsu@jpn.hp.com>
35+
36+
* regex.c (re_match): debug print removed.
37+
38+
Fri Jul 16 09:58:15 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
39+
40+
* many files: clean up unsed variables found by gcc -Wall.
41+
42+
* lib/mkmf.rb: better cygwin support etc.
43+
44+
* ext/extmk.rb.in: ditto.
45+
46+
* instruby.rb: ditto.
47+
48+
Fri Jul 16 01:37:50 1999 Koji Arai <JCA02266@nifty.ne.jp>
49+
50+
* string.c (rb_str_squeeze_bang): the type of local variable `c'
51+
should be int, not char.
52+
53+
* string.c (rb_str_reverse): should always return copy.
54+
55+
Thu Jul 15 23:25:57 1999 NAKAMURA Hiroshi <nakahiro@sarion.co.jp>
56+
57+
* lib/debug.rb: better display & frame treatment.
58+
59+
Thu Jul 15 21:16:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
60+
61+
* array.c (rb_ary_each): returns self for normal termination;
62+
returns nil for break.
63+
64+
* string.c: non bang methods (e.g. String#sub) should always
65+
return copy of the receiver.
66+
67+
Thu Jul 15 21:09:15 1999 Masaki Fukushima <fukusima@goto.info.waseda.ac.jp>
68+
69+
* eval.c (find_file): do not add empty string to the path.
70+
71+
* configure.in (with-search-path): should not add empty string if
72+
the option is not supplied.
73+
74+
Thu Jul 15 17:49:08 1999 Ryo HAYASAKA <hayasaka@univ21.u-aizu.ac.jp>
75+
76+
* ext/tcltklib/tcltklib.c: move `#include "ruby.h"' forward.
77+
178
Thu Jul 15 16:54:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
279

380
* version 1.3.5 - version 1.4 alpha

MANIFEST

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ file.c
3232
gc.c
3333
hash.c
3434
inits.c
35-
install-sh
3635
instruby.rb
3736
intern.h
3837
io.c
@@ -89,21 +88,6 @@ ext/extmk.rb.nt
8988
lib/CGI.rb
9089
lib/English.rb
9190
lib/Env.rb
92-
lib/Mail/README
93-
lib/Mail/README.jp
94-
lib/Mail/doc.jp/changes.html
95-
lib/Mail/doc.jp/index.html
96-
lib/Mail/doc.jp/pop.html
97-
lib/Mail/doc.jp/session.html
98-
lib/Mail/doc.jp/smtp.html
99-
lib/Mail/doc/changes.html
100-
lib/Mail/doc/index.html
101-
lib/Mail/doc/pop.html
102-
lib/Mail/doc/session.html
103-
lib/Mail/doc/smtp.html
104-
lib/Mail/pop.rb
105-
lib/Mail/session.rb
106-
lib/Mail/smtp.rb
10791
lib/README
10892
lib/base64.rb
10993
lib/cgi-lib.rb

ToDo

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,16 @@
11
Language Spec.
22

3+
* ../... outside condition invokes operator method too.
34
* %w(a\ b\ c abc) => ["a b c", "abc"]
45
* package or access control for global variables
6+
* class variable (prefix?)
57
* named arguments like foo(nation:="german") or foo(nation: "german").
68
* method to retrieve argument information (need new C API)
79
* multiple return values, yield values. maybe incompatible
810
* cascading method invocation ???
911
* def Class#method .. end ??
1012
* class Foo::Bar<Baz .. end, module Boo::Bar .. end
13+
* def Foo::Bar::baz() .. end ??
1114

1215
Hacking Interpreter
1316

@@ -23,7 +26,8 @@ Standard Libraries
2326

2427
* String#scanf(?)
2528
* Object#fmt(?)
26-
* Integer[num], Float[num] (String[str]?, Array[obj]??)
29+
* Time::strptime
30+
* Integer[num], Float[num]; Fixnum[num]?
2731
* method to detect non-number trailer for to_i/to_f.
2832
* Stream or Port, abstract superclass of IO ?
2933
* String#{pred,prev}, String#downto
@@ -36,7 +40,7 @@ Extension Libraries
3640

3741
Ruby Libraries
3842

39-
* maillib {pop3,smtp}
43+
* net/pop.rb net/smtp.rb
4044
* httplib.rb, urllib.rb, nttplib.rb, etc.
4145
* format like perl's
4246

array.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -552,7 +552,7 @@ rb_ary_each(ary)
552552
for (i=0; i<RARRAY(ary)->len; i++) {
553553
rb_yield(RARRAY(ary)->ptr[i]);
554554
}
555-
return Qnil;
555+
return ary;
556556
}
557557

558558
static VALUE
@@ -564,7 +564,7 @@ rb_ary_each_index(ary)
564564
for (i=0; i<RARRAY(ary)->len; i++) {
565565
rb_yield(INT2NUM(i));
566566
}
567-
return Qnil;
567+
return ary;
568568
}
569569

570570
static VALUE
@@ -576,7 +576,7 @@ rb_ary_reverse_each(ary)
576576
while (len--) {
577577
rb_yield(RARRAY(ary)->ptr[len]);
578578
}
579-
return Qnil;
579+
return ary;
580580
}
581581

582582
static VALUE
@@ -922,7 +922,7 @@ rb_ary_delete(ary, item)
922922
if (rb_iterator_p()) {
923923
return rb_yield(item);
924924
}
925-
return Qnil;
925+
return ary;
926926
}
927927
else {
928928
RARRAY(ary)->len = i2;

0 commit comments

Comments
 (0)