[#4834] Fwd: Re: Whats so different about a Hash? — Andrew Walrond <andrew@...>
>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:
On Thursday 05 May 2005 13:48, ts wrote:
>>>>> "A" == Andrew Walrond <andrew@walrond.org> writes:
On Thursday 05 May 2005 13:57, ts wrote:
[#4844] Getting rid of Object#equal?()? — =?ISO-8859-15?Q?Florian_Gro=DF?= <florgro@...>
Moin.
[#4848] No way to change socket timeout on opened URI — noreply@...
Bugs item #1878, was opened at 2005-05-05 17:55
[#4855] Method hooks in singleton classes — Pit Capitain <pit@...>
Hello Ruby-maintainers,
[#4858] Build fails on OSX Tiger 10.4 — noreply@...
Bugs item #1883, was opened at 2005-05-06 14:55
Hi,
Hi,
Hi,
On 5/19/05, Shugo Maeda <shugo@ruby-lang.org> wrote:
Hi,
Hi,
[#4869] Infinite loop on YAML.dump (Re: ruby-list:40801) — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp>
Hello.
[#4874] - Need to reduce Ruby Sources to the Minimal — Ilias Lazaridis <ilias@...>
Hello all,
Ilias Lazaridis schrieb:
Pit Capitain wrote:
Ryan Davis wrote:
ES wrote:
On May 12, 2005, at 3:13 PM, Ilias Lazaridis wrote:
Mathieu Bouchard wrote:
On Thursday 12 May 2005 22:09, Ilias Lazaridis wrote:
Francois GORET wrote:
Hi,
nobu.nokada@softhome.net wrote:
Hi,
nobu.nokada@softhome.net wrote:
[#4881] Encoding Pragma — Bertram Scharpf <lists@...>
Hi,
[#4886] ruby 1.8.3 preview1 — Yukihiro Matsumoto <matz@...>
Hi,
Yukihiro Matsumoto <matz@ruby-lang.org> [2005-05-12 17:49]:
>What about [ruby-core:4296]?
[#4911] Pointless argc check in Array#select — noreply@...
Patches item #1900, was opened at 2005-05-12 09:33
noreply@rubyforge.org wrote:
>>>>> "D" == Daniel Berger <djberge@qwest.com> writes:
ts wrote:
>>>>> "D" == Daniel Berger <djberge@qwest.com> writes:
On 5/12/05, ts <decoux@moulon.inra.fr> wrote:
Austin Ziegler wrote:
[#4919] - Hierarchical/Modular Directory Structure — Ilias Lazaridis <ilias@...>
The source-code structure should be simplified, lowering barriers for
Hi,
Nakada, Nobuyoshi wrote:
Ilias Lazaridis wrote:
On 5/14/05, Ilias Lazaridis <ilias@lazaridis.com> wrote:
Austin Ziegler wrote:
Hi,
nobu.nokada@softhome.net wrote:
[#4932] ruby-1.8.3 preview1 - failure: cygwin. — Hugh Sasse <hgs@...>
I've just tried to build the preview and got:
[#4992] Pathname#unlink fails on a symlink which points to a directory. — noreply@...
Bugs item #1917, was opened at 2005-05-14 21:33
In article <200505142133.j4ELXEaM011256@rubyforge.org>,
Hello.
In article <20050515153530.0D9F30E0.ocean@m2.ccsnet.ne.jp>,
[#5006] Suggestion for avoiding incivilities — Gavin Sinclair <gsinclair@...>
Hi all,
[#5010] - Function Argument Conventions — Ilias Lazaridis <ilias@...>
As a general rule, the first argument to a function should be the
[#5020] Problems with the "outer scope" operator — Lothar Scholz <mailinglists@...>
Hello,
[#5039] CGI::escapeHTML escapes the ampersand in an existing escape command — noreply@...
Bugs item #1930, was opened at 2005-05-19 11:45
Hi,
Thu, 19 May 2005 13:09:45 +0900, nobuyoshi nakada
Hi,
[#5040] Suggestion to add alias for underscore style method names to camel case named class methods in CGI — noreply@...
Bugs item #1931, was opened at 2005-05-19 11:46
On Thu, 19 May 2005 noreply@rubyforge.org wrote:
On Thu, 19 May 2005 21:22:46 +0900, David A. Black <dblack@wobblini.net>
[#5068] Re: [ ruby-Patches-1939 ] Pathname, totally revamped — Daniel Berger <djberg96@...>
--- nobu.nokada@softhome.net wrote:
Hi,
On 5/22/05, nobu.nokada@softhome.net <nobu.nokada@softhome.net>
Hi,
[#5070] Re: [ ruby-Patches-1939 ] Pathname, totally revamped — Daniel Berger <djberg96@...>
--- daz <dooby@d10.karoo.co.uk> wrote:
[#5075] Re: [ ruby-Patches-1939 ] Pathname, totally revamped — "Berger, Daniel" <Daniel.Berger@...>
> -----Original Message-----
Quoting Daniel.Berger@qwest.com, on Mon, May 23, 2005 at 11:06:58PM +0900:
[#5107] Re: will callable objects be more general in Ruby 1.9? — Eric Mahurin <eric_mahurin@...>
Re: [ ruby-Bugs-1883 ] Build fails on OSX Tiger 10.4
Hi,
At Sat, 7 May 2005 18:01:56 +0900,
Ryan Davis wrote in [ruby-core:04865]:
> > This means libreadline on Mac OSX Tiger has no
> > rl_attempted_completion_over
> > variable. Does someone know exact version of libreadline on Tiger?
>
> I can't tell exactly, bit I can provide you with:
>
> /* $NetBSD: readline.h,v 1.11 2004/01/17 17:57:40 christos Exp
> $ */
> $NetBSD: history.c,v 1.25 2003/10/18 23:48:42 christos Exp $
> $NetBSD: tokenizer.c,v 1.14 2003/12/05 13:37:48 lukem Exp $
> $NetBSD: readline.c,v 1.46 2004/02/27 14:52:18 christos Exp $
Hmmm, it looks like the file contained in libedit.
Index: ext/readline/extconf.rb
===================================================================
RCS file: /cvs/ruby/src/ruby/ext/readline/extconf.rb,v
retrieving revision 1.8
diff -U2 -p -r1.8 extconf.rb
--- ext/readline/extconf.rb 15 Jul 2004 14:04:09 -0000 1.8
+++ ext/readline/extconf.rb 7 May 2005 15:27:35 -0000
@@ -13,18 +13,15 @@ if have_header("readline/readline.h") an
have_header("readline/history.h") and
have_library("readline", "readline")
- if have_func("rl_filename_completion_function")
- $CFLAGS += " -DREADLINE_42_OR_LATER"
- end
- if have_func("rl_cleanup_after_signal")
- $CFLAGS += " -DREADLINE_40_OR_LATER"
- end
- if try_link(<<EOF, $libs)
-#include <stdio.h>
-#include <readline/readline.h>
-main() {rl_completion_append_character = 1;}
-EOF
- # this feature is implemented in readline-2.1 or later.
- $CFLAGS += " -DREADLINE_21_OR_LATER"
+ headers = %w"stdio.h readline/readline.h"
+ unless have_macro("RL_READLINE_VERSION", headers)
+ if have_func("rl_filename_completion_function", headers)
+ $defs[-1] = "-DRL_READLINE_VERSION=0x402"
+ elsif have_func("rl_cleanup_after_signal", headers)
+ $defs[-1] = "-DRL_READLINE_VERSION=0x400"
+ elsif have_var("rl_completion_append_character", headers)
+ $defs[-1] = "-DRL_READLINE_VERSION=0x201"
+ end
end
+ have_var("rl_attempted_completion_over", headers)
create_makefile("readline")
end
Index: ext/readline/readline.c
===================================================================
RCS file: /cvs/ruby/src/ruby/ext/readline/readline.c,v
retrieving revision 1.21
diff -U2 -p -r1.21 readline.c
--- ext/readline/readline.c 4 Mar 2005 06:47:37 -0000 1.21
+++ ext/readline/readline.c 7 May 2005 15:31:04 -0000
@@ -23,5 +23,5 @@ static VALUE mReadline;
static ID completion_proc, completion_case_fold;
-#ifndef READLINE_42_OR_LATER
+#if RL_READLINE_VERSION < 0x0402
# define rl_filename_completion_function filename_completion_function
# define rl_username_completion_function username_completion_function
@@ -29,4 +29,8 @@ static ID completion_proc, completion_ca
#endif
+#ifndef HAVE_RL_ATTEMPTED_COMPLETION_OVER
+extern int rl_attempted_completion_over;
+#endif
+
static int
readline_event()
@@ -64,8 +68,8 @@ readline_readline(argc, argv, self)
&status);
if (status) {
-#if defined READLINE_40_OR_LATER
+#if RL_READLINE_VERSION >= 0x0400
/* restore terminal mode and signal handler*/
rl_cleanup_after_signal();
-#elif defined READLINE_21_OR_LATER
+#elif RL_READLINE_VERSION >= 0x0201
/* restore terminal mode */
(*rl_deprep_term_function)();
@@ -210,5 +214,5 @@ readline_s_set_completion_append_charact
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
rb_secure(4);
if (NIL_P(str)) {
@@ -234,5 +238,5 @@ readline_s_get_completion_append_charact
VALUE self;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
VALUE str;
@@ -254,5 +258,5 @@ readline_s_set_basic_word_break_characte
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
static char *basic_word_break_characters = NULL;
@@ -281,5 +285,5 @@ readline_s_get_basic_word_break_characte
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
rb_secure(4);
if (rl_basic_word_break_characters == NULL)
@@ -295,5 +299,5 @@ readline_s_set_completer_word_break_char
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
static char *completer_word_break_characters = NULL;
@@ -322,5 +326,5 @@ readline_s_get_completer_word_break_char
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
rb_secure(4);
if (rl_completer_word_break_characters == NULL)
@@ -336,5 +340,5 @@ readline_s_set_basic_quote_characters(se
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
static char *basic_quote_characters = NULL;
@@ -363,5 +367,5 @@ readline_s_get_basic_quote_characters(se
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
rb_secure(4);
if (rl_basic_quote_characters == NULL)
@@ -377,5 +381,5 @@ readline_s_set_completer_quote_character
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
static char *completer_quote_characters = NULL;
@@ -404,5 +408,5 @@ readline_s_get_completer_quote_character
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
rb_secure(4);
if (rl_completer_quote_characters == NULL)
@@ -418,5 +422,5 @@ readline_s_set_filename_quote_characters
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
static char *filename_quote_characters = NULL;
@@ -445,5 +449,5 @@ readline_s_get_filename_quote_characters
VALUE self, str;
{
-#ifdef READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
rb_secure(4);
if (rl_filename_quote_characters == NULL)
@@ -774,5 +778,5 @@ Init_readline()
username_completion_proc_call, 1);
rb_define_const(mReadline, "USERNAME_COMPLETION_PROC", ucomp);
-#if defined READLINE_21_OR_LATER
+#if RL_READLINE_VERSION >= 0x0201
rb_define_const(mReadline, "VERSION", rb_str_new2(rl_library_version));
#else
@@ -781,5 +785,5 @@ Init_readline()
#endif
-#if defined READLINE_42_OR_LATER
+#if RL_READLINE_VERSION >= 0x0402
rl_attempted_completion_function
= (rl_completion_func_t *)readline_attempted_completion_function;
--
Nobu Nakada