Hello,
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.
matz.
Hello,
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.
matz.
Looks like ‘syck’ still doesn’t #include the header files it needs
(stdlib.h, string.h, ctype.h), so it’s possible it will crash on platforms
where the size of provided arguments doesn’t match the size expected.
Regards,
Brian.
y.tab.c:979: warning: implicit declaration of function yylex' y.tab.c:1543: warning: implicit declaration of function
yyerror’
handler.c:109: warning: implicit declaration of function free' handler.c:125: warning: implicit declaration of function
malloc’
handler.c:127: warning: implicit declaration of function strcat' handler.c:128: warning: implicit declaration of function
strncat’
implicit.re:146: warning: implicit declaration of function malloc' implicit.re:150: warning: implicit declaration of function
strncat’
implicit.re:151: warning: implicit declaration of function strcat' implicit.re:155: warning: implicit declaration of function
free’
node.c:20: warning: implicit declaration of function malloc' node.c:35: warning: implicit declaration of function
free’
node.c:124: warning: implicit declaration of function memmove' node.c:163: warning: implicit declaration of function
realloc’
rubyext.c:160: warning: implicit declaration of function isdigit' rubyext.c:1140: warning: implicit declaration of function
syck_emitter_simple’
syck.c:35: warning: implicit declaration of function malloc' syck.c:244: warning: implicit declaration of function
free’
syck.c:359: warning: implicit declaration of function realloc' syck.c:486: warning: implicit declaration of function
yyparse’
token.re:297: warning: implicit declaration of function is_newline' token.re:434: warning: implicit declaration of function
malloc’
token.re:467: warning: implicit declaration of function realloc' token.re:656: warning: implicit declaration of function
strtol’
token.re:657: warning: implicit declaration of function free' token.re:716: warning: implicit declaration of function
strcat’
token.re:717: warning: implicit declaration of function strncat' token.re:800: warning: implicit declaration of function
isdigit’
emitter.c:33: warning: implicit declaration of function malloc' emitter.c:61: warning: implicit declaration of function
free’
On Mon, Jul 28, 2003 at 05:37:53PM +0900, Yukihiro Matsumoto wrote:
Hello,
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.
Hello,
In order to build with SOCKS support, the attached patch is required.
Also note that --disable-socks doesn’t work if SOCKS_SERVER is set in
the environment. In order to build without socks support, it seems to
be necessary to unset SOCKS_SERVER.
Aron
ruby-1.8.0_pre2-socks.patch (346 Bytes)
somehan run rubicon over this ?
I did and got various errors… is it ok ?
il Mon, 28 Jul 2003 17:37:53 +0900, matz@ruby-lang.org (Yukihiro Matsumoto) ha scritto::
Hello,
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.matz.
Thanks for this gift matz.
The day of my birthday!
On Mon, 28 Jul 2003 17:37:53 +0900, Yukihiro Matsumoto wrote:
Hello,
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.matz.
Yukihiro Matsumoto wrote:
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.
Looks good to me. This release fixes the previously reported problem for
linking the OpenSSL extension on Red Hat Linux 8.0. Also checked it for
FXRuby and SWIG and all seems well.
Thanks very much, Matz (and all of the other core developers)!
matz@ruby-lang.org (Yukihiro Matsumoto) wrote in message news:1059381472.890681.25332.nullmailer@picachu.netlab.jp…
Hello,
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.matz.
Looks pretty good on Tru64 5.1A (osf1 5.1a). Fewer compiler warnings
than preview4 and the stuff you said you fixed looks fixed. See below
for the rest:
29 warnings like this (signed/unsigned ptr), down from 95 in preview4:
type of th
e pointer value “((f)->_ptr)” is “unsigned char”, which is not
compatible with "
const char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
const char *p = READ_DATA_PENDING_PTR(f);
----------------------------^
I’m not very worried about those.
A warning you said could be ignored:
declarations. (e
mptyfile)
#endif
------^
A warning due to _XOPEN_SOURCE_EXTENDED not set in curses.h, probably
not very important and dangerous to fix:
type “int”
, is being converted to “pointer to const char”. (cvtdiftypes)
name = keyname(NUM2INT(c));
–^
And that’s it, no more warnings. Thanks matz!
Doug
cc: Warning: io.c, line 868: In the initializer for p, the referenced
cc: Warning: stubs.c, line 94: Source file does not contain any
cc: Warning: curses.c, line 434: In this statement, “keyname(…)” of
Compiled and ran on OS X (10.2) without a hitch.
Thanks for the update!.
Donglai
On Monday, Jul 28, 2003, at 04:37 US/Eastern, Yukihiro Matsumoto wrote:
Hello,
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.matz.
Checking these in now.
_why
On Monday 28 July 2003 04:21 am, Brian Candler wrote:
Looks like ‘syck’ still doesn’t #include the header files it needs
(stdlib.h, string.h, ctype.h), so it’s possible it will crash on platforms
where the size of provided arguments doesn’t match the size expected.
Hello,
In message “Re: ruby 1.8.0 preview5” on 03/07/29, Aron Griffis ruby-talk@griffis1.net writes:
In order to build with SOCKS support, the attached patch is required.
Confirmed. Thank you for the fix.
matz.
In article 46gaiv4ul21l8ekvheau5d7n50ak2dj036@4ax.com,
Hello,
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.matz.
somehan run rubicon over this ?
I did and got various errors… is it ok ?
_ I don’t think rubicon has kept up to date with the latest
changes in ruby. I’ve been running it about once a week
against whatever’s in CVS and have been noticing an increasing
number of errors, however I’ve been using this same ruby in
day to day use and have not seen any new bugs.
_ I’ve been meaning to take a closer look at this, but lack of
time has been the problem. Rubicon is a great tool, but it
needs to carefully track the language. At this point, I don’t
think it’s useable.
_ Booker C. Bense
gabriele renzi surrender_it@remove.yahoo.it wrote:
il Mon, 28 Jul 2003 17:37:53 +0900, matz@ruby-lang.org (Yukihiro >Matsumoto) ha scritto::
… who must have been under quite a lot of pressure
in recent weeks. Thank you all.
Dave Butcher
“Lyle Johnson” lyle@users.sourceforge.net wrote:
Yukihiro Matsumoto wrote:
I just put preview5 archive on the ftp server.
ftp://ftp.ruby-lang.org/pub/ruby/1.8/ruby-1.8.0-preview5.tar.gz
Unless something wrong happens, this would be the last preview before
the final 1.8.0 release.Looks good to me. This release fixes the previously reported problem for
linking the OpenSSL extension on Red Hat Linux 8.0. Also checked it for
FXRuby and SWIG and all seems well.Thanks very much, Matz (and all of the other core developers)!
Hi,
In message “Re: ruby 1.8.0 preview5” on 03/07/30, gabriele renzi surrender_it@rc1.vip.ukl.yahoo.com writes:
somehan run rubicon over this ?
I did and got various errors… is it ok ?
Should be OK. I haven’t take time to update rubicon for 1.8 changes.
matz.
Hi,
29 warnings like this (signed/unsigned ptr), down from 95 in preview4:
cc: Warning: io.c, line 868: In the initializer for p, the referenced
type of th
e pointer value “((f)->_ptr)” is “unsigned char”, which is not
compatible with "
const char" because they differ by signed/unsigned attribute.
(ptrmismatch1)
const char *p = READ_DATA_PENDING_PTR(f);
----------------------------^
I’m not very worried about those.
How is FILE_READPTR defined in config.h?
A warning you said could be ignored:
cc: Warning: stubs.c, line 94: Source file does not contain any
declarations. (e
mptyfile)
#endif
------^
Although the warning is definitely OK to ignore, does inserting
this line at the top suppress it?
extern int ruby_tcltk_stubs();
Or just comments suppress it?
A warning due to _XOPEN_SOURCE_EXTENDED not set in curses.h, probably
not very important and dangerous to fix:
cc: Warning: curses.c, line 434: In this statement, “keyname(…)” of
type “int”
, is being converted to “pointer to const char”. (cvtdiftypes)
name = keyname(NUM2INT(c));
–^
Agree.
At Wed, 30 Jul 2003 11:19:54 +0900, the_rev_dharma_roadkill wrote:
–
Nobu Nakada
Hi,
At Wed, 30 Jul 2003 11:19:54 +0900, the_rev_dharma_roadkill wrote:
A warning due to _XOPEN_SOURCE_EXTENDED not set in curses.h, probably
not very important and dangerous to fix:
cc: Warning: curses.c, line 434: In this statement, “keyname(…)” of
type “int”
, is being converted to “pointer to const char”. (cvtdiftypes)
name = keyname(NUM2INT(c));
–^
Can you avoid the warnings with this patch?
RCS file: /cvs/ruby/src/ruby/ext/curses/curses.c,v
retrieving revision 1.19
diff -u -2 -p -r1.19 curses.c
— ext/curses/curses.c 5 Jun 2003 09:36:30 -0000 1.19
+++ ext/curses/curses.c 11 Aug 2003 08:39:00 -0000
@@ -16,4 +16,8 @@
#include “ruby.h”
+#include <stdio.h>
+#include “rubyio.h”
+
+#define _XOPEN_SOURCE_EXTENDED 1
#if defined(HAVE_NCURSES_H)
@@ -48,7 +52,4 @@
#endif
static VALUE mCurses;
static VALUE mKey;
@@ -511,8 +512,8 @@ curses_bkgd(VALUE obj, VALUE ch)
static VALUE
-curses_resizeterm(VALUE obj, VALUE lines, VALUE columns)
+curses_resizeterm(VALUE obj, VALUE lin, VALUE col)
{
#if defined(HAVE_RESIZETERM)
static VALUE
-window_resize(VALUE obj, VALUE lines, VALUE columns)
+window_resize(VALUE obj, VALUE lin, VALUE col)
{
#if defined(HAVE_WRESIZE)
@@ -1206,5 +1207,5 @@ window_resize(VALUE obj, VALUE lines, VA
GetWINDOW(obj,winp);
–
Nobu Nakada
I’m fairly sure I saw something from Matz saying that post-1.8.0 he
wanted to take some time to bring Rubicon up to date and to use in a
test-first way for future releases. I can’t find it now, and there’s
always the chance I’m simply putting words in his mouth
– George
_ I don’t think rubicon has kept up to date with the latest
changes in ruby. I’ve been running it about once a week
against whatever’s in CVS and have been noticing an increasing
number of errors, however I’ve been using this same ruby in
day to day use and have not seen any new bugs._ I’ve been meaning to take a closer look at this, but lack of
time has been the problem. Rubicon is a great tool, but it
needs to carefully track the language. At this point, I don’t
think it’s useable.