[#15179] ruby にメッセージの国際化の仕組みはありますか? — "HIRATA Naoto" <hirata-naoto@...>

はじめまして,平田@武蔵工大と申します.

9 messages 1999/07/01

[#15264] 年月を範囲でうまく扱うには? — Yukihiko Eda <yuki-e@...>

江田です。

19 messages 1999/07/06
[#15265] 年月を範囲でうまく扱うには? — gotoken@... (GOTO Kentaro) 1999/07/06

In message "[ruby-list:15264] 年月を範囲でうまく扱うには?"

[#15284] Re: 年月を範囲でうまく扱うには? — Yukihiko Eda <yuki-e@...> 1999/07/07

> 大した手間でもなさそうだし、年月のクラスを作っちゃうのは

[#15296] Re: 年月を範囲でうまく扱うには? — gotoken@... (GOTO Kentaro) 1999/07/08

In message "[ruby-list:15284] Re: 年月を範囲でうまく扱うには?"

[#15323] Re: 年月を範囲でうまく扱うには? — Tadayoshi Funaba <tadf@...> 1999/07/08

ふなばです。

[#15324] Re: 年月を範囲でうまく扱うには? — gotoken@... (GOTO Kentaro) 1999/07/08

ごとけんです

[#15325] Re: 年月を範囲でうまく扱うには? — Wakou Aoyama <wakou@...> 1999/07/08

青山です。

[#15326] Range, ruby-talk (Re: 年月を範囲でうまく扱うには?) — gotoken@... (GOTO Kentaro) 1999/07/08

ごとけんです

[#15378] RubyFAQ-990713 — Akira Endo <akendo@...3.rim.or.jp>

遠藤です.

14 messages 1999/07/13

[#15467] debugger exception handle (Re: Modified debug.rb) — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

25 messages 1999/07/16
[#15490] Re: debugger exception handle (Re: Modified debug.rb) — keiju@... (石塚圭樹) 1999/07/16

けいじゅ@日本ラショナルソフトウェアです.

[#15528] Re: debugger exception handle (Re: Modified debug.rb) — matz@... (Yukihiro Matsumoto) 1999/07/19

まつもと ゆきひろです

[#15551] Re: debugger exception handle (Re: Modified debug.rb) — keiju@... (石塚圭樹) 1999/07/20

けいじゅ@日本ラショナルソフトウェアです.

[#15552] Re: debugger exception handle (Re: Modified debug.rb) — gotoken@... (GOTO Kentaro) 1999/07/20

In message "[ruby-list:15551] Re: debugger exception handle (Re: Modified debug.rb)"

[#15643] Re: debugger exception handle (Re: Modified debug.rb) — keiju@... (石塚圭樹) 1999/07/25

けいじゅ@日本ラショナルソフトウェアです.

[#15518] 省略記法 — ARIMA Yasuhiro <fit0298@...>

Pascal では、構造体のメンバを表記する際に省略記法があります。

16 messages 1999/07/19

[#15530] 半 to 全 — Sinichiro Dezawa <dezawa@...>

出沢です

27 messages 1999/07/19

[#15557] グループウェアサーバ — hisanori@...

松尾です。こんにちは。

22 messages 1999/07/21
[#15558] Re: グループウェアサーバ — a-shigi@... (A.Shigihara) 1999/07/21

ども鴫原です。

[#15565] Re: グループウェアサーバ — hisanori@... 1999/07/21

松尾です。

[#15566] Re: グループウェアサーバ — a-shigi@... (A.Shigihara) 1999/07/21

ども鴫原です。

[#15669] cannot install ruby-gtk into FreeBSD 2.2.x — TAKAHASHI Masayoshi <maki@...>

Ruby Workshopのお手紙(請求書とも言う)が届いてうれしい高橋征義です。

26 messages 1999/07/27
[#15678] Re: cannot install ruby-gtk into FreeBSD 2.2.x — Hiroshi Igarashi <igarashi@...> 1999/07/27

いがらしです。

[#15686] Re: cannot install ruby-gtk into FreeBSD 2.2.x — TAKAHASHI Masayoshi <maki@...> 1999/07/27

高橋征義です。

[#15689] Re: cannot install ruby-gtk into FreeBSD 2.2.x — matz@... (Yukihiro Matsumoto) 1999/07/28

まつもと ゆきひろです

[#15692] Re: cannot install ruby-gtk into FreeBSD 2.2.x — Hiroshi Igarashi <igarashi@...> 1999/07/28

いがらしです。

[#15780] Re: cannot install ruby-gtk into FreeBSD 2.2.x — matz@... (Yukihiro Matsumoto) 1999/07/31

まつもと ゆきひろです

[#15807] Re: cannot install ruby-gtk into FreeBSD 2.2.x — WATANABE Hirofumi <eban@...> 1999/07/31

わたなべです.

[#15815] Re: cannot install ruby-gtk into FreeBSD 2.2.x — WATANABE Hirofumi <eban@...> 1999/08/01

わたなべです.

[#15818] Re: cannot install ruby-gtk into FreeBSD 2.2.x — Hiroshi Igarashi <igarashi@...> 1999/08/01

いがらしです。

[#15823] Re: cannot install ruby-gtk into FreeBSD 2.2.x — matz@... (Yukihiro Matsumoto) 1999/08/01

まつもと ゆきひろです

[#15679] about postgres-0.5.1 — goto@...

後藤@横河工事です。たびたびお世話になります。

29 messages 1999/07/27
[#15680] Re: about postgres-0.5.1 — Shugo Maeda <shugo@...> 1999/07/27

前田です。

[#15681] Re: about postgres-0.5.1 — goto@... 1999/07/27

後藤@横河工事です。

[#15682] Re: about postgres-0.5.1 — matz@... (Yukihiro Matsumoto) 1999/07/27

まつもと ゆきひろです

[#15684] Re: about postgres-0.5.1 — goto@... 1999/07/27

後藤@横河工事です。

[#15716] Re: about postgres-0.5.1 — kawakami <kawakami@...> 1999/07/29

[#15720] ruby debugger (like gdb attach) — kikutani@...

前にも2度ほど質問しましたが、cursesとかslangとかののrubyアプリを

28 messages 1999/07/29
[#15730] Re: ruby debugger (like gdb attach) — matz@... (Yukihiro Matsumoto) 1999/07/30

まつもと ゆきひろです

[#15743] Re: ruby debugger (like gdb attach) — kikutani@... 1999/07/30

On Fri, 30 Jul 1999 12:53:46 +0900,

[#15817] Re: ruby debugger (like gdb attach) — kikutani@... 1999/08/01

Fri, Jul 30, 1999 at 02:13:13PM +0900 において

[#15819] Re: ruby debugger (like gdb attach) — "NAKAMURA, Hiroshi" <nakahiro@...> 1999/08/01

なひです.

[#15822] Re: ruby debugger (like gdb attach) — kikutani@... 1999/08/01

On Sun, 1 Aug 1999 21:37:31 +0900,

[ruby-list:15717] Re: about postgres-0.5.1

From: ttate@...
Date: 1999-07-29 15:31:58 UTC
List: ruby-list #15717
立石です。

Date: Thu, 29 Jul 1999 22:08:11 +0900
From: kawakami <kawakami@k.email.ne.jp>
kawakami> ruby: can't resolve symbol 'obj_as_string'
kawakami> ruby: can't resolve symbol 'ary_push'
kawakami> ruby: can't resolve symbol 'ArgError'
kawakami> psql.rb:19:in `require': Unable to resolve symbol - /usr/local/lib/ruby/1.3/i586
kawakami> -linux/postgres.so (LoadError)
kawakami>         from psql.rb:19

確かに、1.3へ移行しきれていない部分があったようです。
以下パッチです。

;; 自分の環境ではなぜかエラーがでなかったのですが、、、、(@_@;

			Takaaki Tateishi <ttate@jaist.ac.jp>

--- postgres.c.orig	Fri Jul 30 00:10:28 1999
+++ postgres.c	Fri Jul 30 00:20:54 1999
@@ -244,7 +244,7 @@
 	struct RArray *sub = (struct RArray*)values->ptr[i];
         buffer[0] = 0;
 	for (j=0; j<sub->len; j++) {
-	    VALUE s = obj_as_string(sub->ptr[j]);
+	    VALUE s = rb_obj_as_string(sub->ptr[j]);
 	    if (j > 0) strncat(buffer, "\t", MAX_BUFFER_SIZE-strlen(buffer));
 	    strncat(buffer, RSTRING(s)->ptr, MAX_BUFFER_SIZE-strlen(buffer));
 	}
@@ -521,7 +521,7 @@
     n = PQnfields(result);
     ary = rb_ary_new2(n);
     for (i=0;i<n;i++) {
-	ary_push(ary, rb_str_new2(PQfname(result, i)));
+	rb_ary_push(ary, rb_str_new2(PQfname(result, i)));
     }
     return ary;
 }
@@ -556,7 +556,7 @@
 
     result = get_pgresult(obj);
     if (i < 0 || i >= PQnfields(result)) {
-	ArgError("invalid field number %d", i);
+	rb_raise(rb_eArgError,"invalid field number %d", i);
     }
     name = PQfname(result, i);
     return rb_str_new2(name);
@@ -572,7 +572,7 @@
     
     n = PQfnumber(get_pgresult(obj), (const char *)RSTRING(name)->ptr);
     if (n == -1) {
-	ArgError("Unknown field: %s", (const char *)RSTRING(name)->ptr);
+	rb_raise(rb_eArgError,"Unknown field: %s", (const char *)RSTRING(name)->ptr);
     }
     return INT2NUM(n);
 }
@@ -587,7 +587,7 @@
 
     result = get_pgresult(obj);
     if (i < 0 || i >= PQnfields(result)) {
-	ArgError("invalid field number %d", i);
+	rb_raise(rb_eArgError,"invalid field number %d", i);
     }
     type = PQftype(result, i);
     return INT2NUM(type);
@@ -603,7 +603,7 @@
 
     result = get_pgresult(obj);
     if (i < 0 || i >= PQnfields(result)) {
-	ArgError("invalid field number %d", i);
+	rb_raise(rb_eArgError,"invalid field number %d", i);
     }
     size = PQfsize(result, i);
     return INT2NUM(size);
@@ -619,10 +619,10 @@
 
     result = get_pgresult(obj);
     if (i < 0 || i >= PQntuples(result)) {
-	ArgError("invalid tuple number %d", i);
+	rb_raise(rb_eArgError,"invalid tuple number %d", i);
     }
     if (j < 0 || j >= PQnfields(result)) {
-	ArgError("invalid field number %d", j);
+	rb_raise(rb_eArgError,"invalid field number %d", j);
     }
     return rb_str_new2(PQgetvalue(result, i, j));
 }
@@ -637,10 +637,10 @@
 
     result = get_pgresult(obj);
     if (i < 0 || i >= PQntuples(result)) {
-	ArgError("invalid tuple number %d", i);
+	rb_raise(rb_eArgError,"invalid tuple number %d", i);
     }
     if (j < 0 || j >= PQnfields(result)) {
-	ArgError("invalid field number %d", j);
+	rb_raise(rb_eArgError,"invalid field number %d", j);
     }
     return INT2FIX(PQgetlength(result, i, j));
 }

In This Thread