Skip to content

Commit 86307f5

Browse files
author
matz
committed
990715
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_3@497 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent e12510c commit 86307f5

39 files changed

+1093
-627
lines changed

ChangeLog

Lines changed: 136 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,136 @@
1-
Fri Jun 25 13:07:20 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
1+
Thu Jul 15 16:54:16 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
22

3-
* missing/isinf.c: include "config.h" added.
3+
* version 1.3.5 - version 1.4 alpha
4+
5+
Wed Jul 14 23:45:33 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
6+
7+
* eval.c (ruby_init): initialize for the first time only.
8+
9+
Tue Jul 13 00:15:19 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
10+
11+
* hash.c (rb_hash_index): re-defined; method to retrieve a key
12+
from the value.
13+
14+
* hash.c (Init_Hash): member? should be re-defined for Hash.
15+
16+
Tue Jul 12 13:54:51 1999 EGUCHI Osamu <eguchi@shizuokanet.ne.jp>
17+
18+
* io.c (rb_file_sysopen): wrong number of argument.
19+
20+
Mon Jul 12 11:52:35 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
21+
22+
* eval.c (rb_f_missing): class name included in message.
23+
24+
* eval.c (print_undef): better error message.
25+
26+
Sun Jul 11 05:36:17 1999 NAKAMURA, Hiroshi <nakahiro@sarion.co.jp>
27+
28+
* lib/debug.rb: patch to show proper position.
29+
30+
Fri Jul 9 23:56:14 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
31+
32+
* dln.c (dln_find_1): path conv. moved to conv_to_posix_path.
33+
34+
* dln.c (conv_to_posix_path): path conv. should be done.
35+
36+
Fri Jul 9 10:26:47 1999 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
37+
38+
* random.c (RANDOM_NUMBER): should place parentheses.
39+
40+
Fri Jul 8 11:00:51 1999 Shugo Maeda <shugo@netlab.co.jp>
41+
42+
* numeric.c (fix_div): division may be out of fixnum range.
43+
44+
* bignum.c (bigdivmod): proper sign calculation to result.
45+
46+
Wed Jul 7 18:27:41 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
47+
48+
* st.c (st_delete_safe): was modifying wrong slot.
49+
50+
Mon Jul 5 13:17:46 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
51+
52+
* gc.c (rb_gc_call_finalizer_at_exit): close all files at exit.
53+
54+
Fri Jul 2 18:00:21 1999 Minero Aoki <aamine@dp.u-netsurf.ne.jp>
55+
56+
* lib/Mail/README: Mail-0.3.0 added to the distribution.
57+
58+
Fri Jul 2 01:45:32 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
59+
60+
* regex.c (re_compile_fastmap): avoid allocation of register
61+
variables for each invocation of re_match(). Suggested by
62+
Zasukhin Ruslan <ruslan@paradigmasoft.com>. Thanks.
63+
64+
Tue Jun 29 20:39:24 1999 Koji Arai <JCA02266@nifty.ne.jp>
65+
66+
* ext/tk/lib/tk.rb (TkVariable): bug fix; should value type check
67+
be added?
68+
69+
* string.c (rb_str_each_line): a bug in paragraph mode.
70+
71+
* ruby.c (load_file): shifted too much to skip #!.
72+
73+
Tue Jun 29 06:50:21 1999 Wakou Aoyama <wakou@fsinet.or.jp>
74+
75+
* lib/CGI.rb: 0.30 - cleanup release, incompatible.
76+
77+
* lib/telnet.rb: 0.22 - timeout added.
78+
79+
Tue Jun 29 10:49:25 1999 SHIROYAMA Takayuki <psi@fortune.nest.or.jp>
80+
81+
* configure.in: better Rhapsody support.
82+
83+
* lib/mkmf.rb: Rhapsody/NEXTSTEP support.
84+
85+
Tue Jun 29 01:42:13 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
86+
87+
* ext/pty/pty.c (chld_changed): should use POSIX.1 style wait.
88+
89+
Mon Jun 28 21:07:36 1999 KIMURA Koichi <kbk@kt.rim.or.jp>
90+
91+
* ext/extmk.rb.nt: wrong result for have_library().
92+
93+
Mon Jun 28 15:24:05 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
94+
95+
* missing/isinf.c: OSF/1 raises SIGFPE on one()/zero().
96+
97+
* regex.c (re_search): should search til EOS, for patterns may
98+
match beyond the end of range.
99+
100+
Mon Jun 28 12:49:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
101+
102+
* io.c (rb_f_select): should not accept Time objects as an
103+
argument for it is time interval.
104+
105+
* process.c (rb_f_sleep): ditto.
106+
107+
* file.c (test_s): should return nil for false condition.
108+
109+
Mon Jun 28 12:23:52 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
110+
111+
* bignum.c (rb_dbl2big): typo.
112+
113+
* file.c (rb_f_test): ditto.
114+
115+
* string.c (rb_str_crypt): wrong message.
116+
117+
Sun Jun 27 19:50:11 1999 Tadayoshi Funaba <tadf@kt.rim.or.jp>
118+
119+
* eval.c (rb_f_exit): should have treat signed integer status, not
120+
VALUE.
121+
122+
* process.c (rb_f_exit_bang): should work like exit().
123+
124+
Sun Jun 27 16:21:32 1999 WATANABE Hirofumi <eban@os.rim.or.jp>
125+
126+
* string.c (rb_str_rindex): wrong position to search.
127+
128+
Sat Jun 26 04:05:30 1999 Takaaki Tateishi <ttate@jaist.ac.jp>
129+
130+
* configure.in (configure_args): --with-search-path to specify
131+
additional ruby search path.
132+
133+
* ruby.c (ruby_prog_init): additional search path.
4134

5135
Fri Jun 25 13:09:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
6136

@@ -9,6 +139,10 @@ Fri Jun 25 13:09:12 1999 Yukihiro Matsumoto <matz@netlab.co.jp>
9139
* regex.c (re_compile_pattern): add start_paren to avoid too much
10140
finalization on maybe_finalize_jump.
11141

142+
Fri Jun 25 13:07:20 1999 Koji Oda <oda@bsd1.qnes.nec.co.jp>
143+
144+
* missing/isinf.c: include "config.h" added.
145+
12146
Fri Jun 25 07:25:05 1999 Katsuyuki Komatsu <komatsu@sarion.co.jp>
13147

14148
* lib/mkmf.rb: initialize $(topdir).

MANIFEST

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,21 @@ ext/extmk.rb.nt
8989
lib/CGI.rb
9090
lib/English.rb
9191
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
92107
lib/README
93108
lib/base64.rb
94109
lib/cgi-lib.rb

ToDo

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

3+
* %w(a\ b\ c abc) => ["a b c", "abc"]
34
* package or access control for global variables
4-
* named arguments like foo(nation:="german" or nation: "german").
5+
* named arguments like foo(nation:="german") or foo(nation: "german").
56
* method to retrieve argument information (need new C API)
6-
* multiple return values, yield values. maybe imcompatible
7-
* cascading method invocation.
8-
* def Class#method .. end
7+
* multiple return values, yield values. maybe incompatible
8+
* cascading method invocation ???
9+
* def Class#method .. end ??
10+
* class Foo::Bar<Baz .. end, module Boo::Bar .. end
911

1012
Hacking Interpreter
1113

@@ -15,14 +17,17 @@ Hacking Interpreter
1517
* remove rb_eval() recursions
1618
* syntax tree -> bytecode ???
1719
* scrambled script, or script filter
20+
* setuid ruby
1821

1922
Standard Libraries
2023

21-
* IO/File to call initialize
2224
* String#scanf(?)
2325
* Object#fmt(?)
2426
* Integer[num], Float[num] (String[str]?, Array[obj]??)
25-
* Stream or Port, abstract superclass of IO.
27+
* method to detect non-number trailer for to_i/to_f.
28+
* Stream or Port, abstract superclass of IO ?
29+
* String#{pred,prev}, String#downto
30+
* optional stepsize argument for succ()
2631

2732
Extension Libraries
2833

@@ -31,6 +36,7 @@ Extension Libraries
3136

3237
Ruby Libraries
3338

39+
* maillib {pop3,smtp}
3440
* httplib.rb, urllib.rb, nttplib.rb, etc.
3541
* format like perl's
3642

bignum.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -404,7 +404,7 @@ rb_dbl2big(d)
404404
double u = (d < 0)?-d:d;
405405

406406
if (isinf(d)) {
407-
rb_raise(rb_eFloatDomainError, d < 0 ? "-Inifinity" : "Inifinity");
407+
rb_raise(rb_eFloatDomainError, d < 0 ? "-Infinity" : "Infinity");
408408
}
409409
if (isnan(d)) {
410410
rb_raise(rb_eFloatDomainError, "NaN");
@@ -725,6 +725,7 @@ bigdivmod(x, y, div, mod, modulo)
725725
zds[i] = (USHORT)(t2 / dd);
726726
t2 %= dd;
727727
}
728+
RBIGNUM(z)->sign = RBIGNUM(x)->sign==RBIGNUM(y)->sign;
728729
if (div) *div = bignorm(z);
729730
if (mod) {
730731
if (!RBIGNUM(y)->sign) t2 = -(long)t2;

0 commit comments

Comments
 (0)