Skip to content

Commit b1f96af

Browse files
author
(no author)
committed
This commit was manufactured by cvs2svn to create tag 'v1_1d-start'.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/tags/v1_1d-start@299 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 48acbc5 commit b1f96af

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

73 files changed

+7309
-7498
lines changed

ChangeLog

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
Tue Sep 8 01:42:30 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
2+
3+
* enum.c (Init_Enumerable): Enumerable#reverse removed.
4+
5+
* eval.c (call_trace_func): profiler support.
6+
7+
* eval.c (rb_call0): ditto.
8+
9+
Thu Sep 3 16:34:39 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
10+
11+
* bignum.c (bigadd): proper sign combination.
12+
13+
* eval.c (dvar_asgn_push): modify calling block to create dvar,
14+
not insert it next to dummy dvar slot.
15+
16+
* eval.c (eval): save calling block in (thread local) global
17+
variable. no dummy dvar slot is generated by yield.
18+
119
Thu Sep 3 14:08:14 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
220

321
* version 1.1c4 released.
@@ -41,10 +59,25 @@ Fri Aug 28 12:25:33 1998 Hiroshi Igarashi <igarashi@ueda.info.waseda.ac.jp>
4159

4260
* ruby.c (ruby_require_modules): load modules in appearing order.
4361

62+
Fri Aug 28 01:57:04 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
63+
64+
* regex.c (re_compile_pattern): accepts (?ix-ix) and (?ix-ix:...).
65+
4466
Thu Aug 27 12:54:28 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
4567

4668
* version 1.1c3 released.
4769

70+
Wed Aug 26 14:40:56 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
71+
72+
* eval.c (rb_eval): check whether ruby_class is properly set,
73+
before accessing it.
74+
75+
* eval.c (rb_obj_instance_eval): ruby_class should be Qnil for
76+
special objects like Fixnums.
77+
78+
* ext/tkutil/tkutil.c (Init_tkutil): removes calls to
79+
rb_yield_0(). used instance_eval() instead in the tk.rb.
80+
4881
Wed Aug 26 11:47:00 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
4982

5083
* regex.c (re_match): pop non-greedy stack elements on success.
@@ -53,6 +86,10 @@ Wed Aug 26 09:25:35 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
5386

5487
* ruby.h: add #define environ for cygwin32.
5588

89+
Tue Aug 25 08:57:41 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
90+
91+
* array.c (rb_ary_sort_bang): temporarily freeze sorting array.
92+
5693
Mon Aug 24 18:46:44 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
5794

5895
* dln.c (dln_find_1): path check was too strict.
@@ -61,6 +98,23 @@ Mon Aug 24 15:28:11 1998 WATANABE Hirofumi <watanabe@ase.ptg.sony.co.jp>
6198

6299
* parse.y (f_arglist): opt_nl added after f_args.
63100

101+
Fri Aug 21 01:06:01 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
102+
103+
* ext/socket/socket.c: grand renaming on socket.c.
104+
105+
* ext/socket/socket.c (inet_aton): supply inet_aton for those
106+
systems that do not have it.
107+
108+
* ext/socket/socket.c (setipaddr): use inet_aton instead of
109+
inet_addr.
110+
111+
* ext/socket/socket.c (tcp_s_gethostbyname): new method: works
112+
like Socket.gethostbyname but returning array contains ip-addrs
113+
as octet decimal string format like "127.0.0.1".
114+
115+
* ext/socket/socket.c (mkhostent): return format changed to
116+
[host, aliases, type, ipaddr..] as documented.
117+
64118
Wed Aug 19 00:31:09 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
65119

66120
* io.c (io_ctl): forgot to place TRAP_END at right position.
@@ -89,6 +143,24 @@ Fri Aug 7 17:44:44 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
89143
with snprintf to avoid buffer over-run. For systems which does
90144
dot provide snprintf, missing/snprintf.c added.
91145

146+
Wed Aug 5 00:47:35 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
147+
148+
* re.c (rb_reg_search): recycle match object.
149+
150+
Mon Aug 3 09:17:55 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
151+
152+
* string.c (rb_str_gsub_bang): do not allocate temporary string.
153+
154+
* string.c (rb_str_sub_bang): use inline replace.
155+
156+
Wed Jul 29 00:36:08 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
157+
158+
* hash.c (hash_s_new): the default value can be specified.
159+
160+
* hash.c (hash_default): method to set the default value.
161+
162+
* hash.c (hash_aref): now returns the default value.
163+
92164
Tue Jul 28 13:03:25 1998 Yukihiro Matsumoto <matz@netlab.co.jp>
93165

94166
* array.c (ary_s_new): argument to specify initial value is added.

Makefile.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,9 +74,9 @@ OBJS = array.o \
7474
all: miniruby$(binsuffix) rbconfig.rb
7575
@./miniruby$(binsuffix) -Xext extmk.rb @EXTSTATIC@
7676

77-
miniruby$(binsuffix): $(OBJS) $(MAINOBJ) dmyext.o
77+
miniruby$(binsuffix): $(LIBRUBY) $(MAINOBJ) dmyext.o
7878
@rm -f $@
79-
$(PURIFY) $(CC) $(LDFLAGS) $(MAINOBJ) $(OBJS) dmyext.o $(LIBS) -o $@
79+
$(PURIFY) $(CC) $(LDFLAGS) $(MAINOBJ) dmyext.o $(LIBRUBYARG) $(LIBS) -o $@
8080

8181
ruby$(binsuffix): $(LIBRUBY) $(MAINOBJ) $(EXTOBJS)
8282
@rm -f $@
@@ -213,7 +213,7 @@ random.o: random.c ruby.h config.h defines.h intern.h
213213
range.o: range.c ruby.h config.h defines.h intern.h
214214
re.o: re.c ruby.h config.h defines.h intern.h re.h regex.h
215215
regex.o: regex.c config.h regex.h util.h
216-
ruby.o: ruby.c ruby.h config.h defines.h intern.h dln.h
216+
ruby.o: ruby.c ruby.h config.h defines.h intern.h dln.h util.h
217217
signal.o: signal.c ruby.h config.h defines.h intern.h rubysig.h
218218
sprintf.o: sprintf.c ruby.h config.h defines.h intern.h
219219
st.o: st.c config.h st.h

README

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ Perl). It is simple, straight-forward, and extensible.
1515
+ Iterators and Closures
1616
+ Garbage Collection
1717
+ Dynamic Loading of Object files(on some architecture)
18-
+ Highly Portable(works on many UNIX machines)
18+
+ Highly Portable(works on many UNIX machines, and on DOS,
19+
Windows, Mac, BeOS etc.)
1920

2021
* How to get Ruby
2122

README.EXT

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -159,43 +159,43 @@ Ruby
159159

160160
String funtions
161161

162-
str_new(char *ptr, int len)
162+
rb_str_new(char *ptr, int len)
163163

164164
Creates a new Ruby string.
165165

166-
str_new2(char *ptr)
166+
rb_str_new2(char *ptr)
167167

168168
Creates a new Ruby string from C string. This is equivalent to
169-
str_new(ptr, strlen(ptr)).
169+
rb_str_new(ptr, strlen(ptr)).
170170

171-
str_cat(VALUE str, char *ptr, int len)
171+
rb_str_cat(VALUE str, char *ptr, int len)
172172

173173
Appends len bytes data from ptr to the Ruby string.
174174

175175
Array functions
176176

177-
ary_new()
177+
rb_ary_new()
178178

179179
Creates an array with no element.
180180

181-
ary_new2(int len)
181+
rb_ary_new2(int len)
182182

183183
Creates an array with no element, with allocating internal buffer
184184
for len elements.
185185

186-
ary_new3(int n, ...)
186+
rb_ary_new3(int n, ...)
187187

188188
Creates an n-elements array from arguments.
189189

190-
ary_new4(int n, VALUE *elts)
190+
rb_ary_new4(int n, VALUE *elts)
191191

192192
Creates an n-elements array from C array.
193193

194-
ary_push(VALUE ary, VALUE val)
195-
ary_pop(VALUE ary)
196-
ary_shift(VALUE ary)
197-
ary_unshift(VALUE ary, VALUE val)
198-
ary_entry(VALUE ary, int idx)
194+
rb_ary_push(VALUE ary, VALUE val)
195+
rb_ary_pop(VALUE ary)
196+
rb_ary_shift(VALUE ary)
197+
rb_ary_unshift(VALUE ary, VALUE val)
198+
rb_ary_entry(VALUE ary, int idx)
199199

200200
Array operations. The first argument to each functions must be an
201201
array. They may dump core if other types given.
@@ -376,10 +376,10 @@ C
376376

377377
Following Ruby constants can be referred from C.
378378

379-
TRUE
380-
FALSE
379+
Qtrue
380+
Qfalse
381381

382-
Boolean values. FALSE is false in the C also (i.e. 0).
382+
Boolean values. Qfalse is false in the C also (i.e. 0).
383383

384384
Qnil
385385

@@ -526,9 +526,9 @@ Ruby
526526
Init_dbm()
527527
{
528528
/* DBM���饹��������� */
529-
cDBM = rb_define_class("DBM", cObject);
529+
cDBM = rb_define_class("DBM", rb_cObject);
530530
/* DBM��Enumerate�⥸�塼��򥤥󥯥롼�ɤ��� */
531-
rb_include_module(cDBM, mEnumerable);
531+
rb_include_module(cDBM, rb_mEnumerable);
532532

533533
/* DBM���饹�Υ��饹�᥽�å�open(): ������C������Ǽ����� */
534534
rb_define_singleton_method(cDBM, "open", fdbm_s_open, -1);
@@ -704,9 +704,9 @@ Ruby
704704
���Ƥ���ޤ���extconf.rb��񤭴�����ʤɤ���Makefile�κ�����
705705
��ɬ�פʻ��Ϥޤ�Ruby�ǥ��쥯�ȥ��make���Ƥ���������
706706

707-
(9) debug
707+
(9) rb_debug
708708

709-
You may need to debug the module. The modules can be linked
709+
You may need to rb_debug the module. The modules can be linked
710710
statically by adding directory name in the ext/Setup file,
711711
so that you can inspect the module by the debugger.
712712

@@ -792,13 +792,13 @@ Ruby
792792

793793
const: nil object
794794

795-
TRUE
795+
Qtrue
796796

797-
const: TRUE object(default true value)
797+
const: Qtrue object(default true value)
798798

799-
FALSE
799+
Qfalse
800800

801-
const: FALSE object
801+
const: Qfalse object
802802

803803
** C�ǡ����Υ��ץ��벽
804804

@@ -988,21 +988,21 @@ val
988988

989989
** �㳰�����顼
990990

991-
void Warning(char *fmt, ...)
991+
void rb_warning(char *fmt, ...)
992992

993-
verbose����ɸ�२�顼���Ϥ˷ٹ�����ɽ�����롥������printf()��Ʊ����
993+
rb_verbose����ɸ�२�顼���Ϥ˷ٹ�����ɽ�����롥������printf()��Ʊ����
994994

995-
void Fail(char *fmt, ...)
995+
void rb_raise(rb_eRuntimeError, char *fmt, ...)
996996

997997
�㳰��ȯ�������롥������printf()��Ʊ����
998998

999-
void Fatal(char *fmt, ...)
999+
void rb_fatal(char *fmt, ...)
10001000

10011001
��̿Ū�㳰��ȯ�������롥�̾���㳰�����ϹԤʤ�줺, ���󥿡�
10021002
�ץ꥿����λ����(������ensure�ǻ��ꤵ�줿�����ɤϽ�λ���˼�
10031003
�Ԥ����)��
10041004

1005-
void Bug(char *fmt, ...)
1005+
void rb_bug(char *fmt, ...)
10061006

10071007
���󥿡��ץ꥿�ʤɥץ������ΥХ��Ǥ���ȯ������Ϥ��Τʤ���
10081008
���λ��Ƥ֡����󥿡��ץ꥿�ϥ�������פ�ľ���˽�λ���롥�㳰
@@ -1034,7 +1034,7 @@ extconf.rb
10341034
have_library(lib, func)
10351035

10361036
�ؿ�func��������Ƥ���饤�֥��lib��¸�ߤ�����å����롥��
1037-
���֥�꤬¸�ߤ������TRUE���֤���
1037+
���֥�꤬¸�ߤ������Qtrue���֤���
10381038

10391039
have_func(func)
10401040

0 commit comments

Comments
 (0)