unofficial mirror of guile-devel@gnu.org 
 help / color / mirror / Atom feed
* frozen!
@ 2009-10-06 19:47 Andy Wingo
  2009-10-06 21:00 ` frozen! Neil Jerram
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: Andy Wingo @ 2009-10-06 19:47 UTC (permalink / raw)
  To: guile-devel

Greetings Guilers,

It seems that the moon has rolled around again! Meaning, of course, that
Guile is frozen. Same thing as usual: testing, regression fixes,
documentation, etc.

I haven't discussed this with Ludovic yet, but maybe we can relax this
freeze slightly. This cycle has been a bit less hectic, Mike having
gotten most of his stuff in, my having been on holiday, etc; so, I would
like to propose that anyone who has a branch that they want in next
week's 1.9.4, please propose it now. We'll take a look at them and merge
(or not) by Friday.

Feedback welcome, of course :)

Happy hacking,

Andy
-- 
http://wingolog.org/




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-06 19:47 frozen! Andy Wingo
@ 2009-10-06 21:00 ` Neil Jerram
  2009-10-06 21:35 ` frozen! Mike Gran
  2009-10-06 21:49 ` frozen! Ludovic Courtès
  2 siblings, 0 replies; 14+ messages in thread
From: Neil Jerram @ 2009-10-06 21:00 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-devel

Andy Wingo <wingo@pobox.com> writes:

> I haven't discussed this with Ludovic yet, but maybe we can relax this
> freeze slightly. This cycle has been a bit less hectic, Mike having
> gotten most of his stuff in, my having been on holiday, etc; so, I would
> like to propose that anyone who has a branch that they want in next
> week's 1.9.4, please propose it now. We'll take a look at them and merge
> (or not) by Friday.

None such from me.  It seems there are a few important bugs outstanding,
so I will try to work on those for 1.9.4.

Regards,
        Neil




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-06 19:47 frozen! Andy Wingo
  2009-10-06 21:00 ` frozen! Neil Jerram
@ 2009-10-06 21:35 ` Mike Gran
  2009-10-06 21:45   ` frozen! Ludovic Courtès
                     ` (3 more replies)
  2009-10-06 21:49 ` frozen! Ludovic Courtès
  2 siblings, 4 replies; 14+ messages in thread
From: Mike Gran @ 2009-10-06 21:35 UTC (permalink / raw)
  To: Andy Wingo, guile-devel

> From: Andy Wingo <wingo@pobox.com>
> Subject: frozen!

I have three changes I'd like to put in for this
release.  One is a new feature.

I need to roll back the changes made to i18n.c
that made locale-specific case conversion of strings
work on GNU but break on Darwin.  Locale-specific
case conversion of strings works, but only when
the locale is set using setlocale.

Also, I need to revert the regexp.test which seems
to be broken on Darwin but work elsewhere.

And I want to put in aliases for some Emacs
"coding:" declarations.

I'll try to get that in over the next couple
of days.

-Mike 




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-06 21:35 ` frozen! Mike Gran
@ 2009-10-06 21:45   ` Ludovic Courtès
  2009-10-06 22:07   ` frozen! Ken Raeburn
                     ` (2 subsequent siblings)
  3 siblings, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2009-10-06 21:45 UTC (permalink / raw)
  To: guile-devel

Hello,

Mike Gran <spk121@yahoo.com> writes:

> I need to roll back the changes made to i18n.c
> that made locale-specific case conversion of strings
> work on GNU but break on Darwin.

Yes, this one is important IMO.

Thanks,
Ludo’.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-06 19:47 frozen! Andy Wingo
  2009-10-06 21:00 ` frozen! Neil Jerram
  2009-10-06 21:35 ` frozen! Mike Gran
@ 2009-10-06 21:49 ` Ludovic Courtès
  2009-10-18 10:33   ` frozen! Andy Wingo
  2 siblings, 1 reply; 14+ messages in thread
From: Ludovic Courtès @ 2009-10-06 21:49 UTC (permalink / raw)
  To: guile-devel

Hello,

Andy Wingo <wingo@pobox.com> writes:

> It seems that the moon has rolled around again!

Already!

> I haven't discussed this with Ludovic yet, but maybe we can relax this
> freeze slightly. This cycle has been a bit less hectic, Mike having
> gotten most of his stuff in, my having been on holiday, etc; so, I would
> like to propose that anyone who has a branch that they want in next
> week's 1.9.4, please propose it now. We'll take a look at them and merge
> (or not) by Friday.

I have:

  - wip-tls
  - bdw-gc-static-alloc (need to grep through sources to estimate the
    amount of breakage it would cause)

The former should be harmless, the latter is a bit more intrusive.

Then I think there are many fixes to be bugged.

Thanks,
Ludo’.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-06 21:35 ` frozen! Mike Gran
  2009-10-06 21:45   ` frozen! Ludovic Courtès
@ 2009-10-06 22:07   ` Ken Raeburn
  2009-10-06 22:25     ` frozen! Ludovic Courtès
  2009-10-09  7:54   ` frozen! Ken Raeburn
  2009-10-18 10:27   ` frozen! Andy Wingo
  3 siblings, 1 reply; 14+ messages in thread
From: Ken Raeburn @ 2009-10-06 22:07 UTC (permalink / raw)
  To: Mike Gran; +Cc: Andy Wingo, guile-devel

On Oct 6, 2009, at 17:35, Mike Gran wrote:
> I need to roll back the changes made to i18n.c
> that made locale-specific case conversion of strings
> work on GNU but break on Darwin.  Locale-specific
> case conversion of strings works, but only when
> the locale is set using setlocale.

Thanks.  Though perhaps you could just explicitly test for GNU libc,  
if the glibc structures are stable?

> Also, I need to revert the regexp.test which seems
> to be broken on Darwin but work elsewhere.

Is it only Darwin where it's broken?  It's kind of hard to tell from  
some of the email where testing is actually occurring.  I assume the  
bulk of it is on GNU/Linux systems, plus Greg's occasional tests on  
NetBSD and mine on the Mac....

If you think the regexp.test issues are likely to be Darwin-specific,  
I can try to dig into them a bit more.

Otherwise, I'll wait for your changes to go in, and see what else I  
can break. :-)
I think my library-path issue is still open, despite Andy's attempted  
fix...

Ken




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-06 22:07   ` frozen! Ken Raeburn
@ 2009-10-06 22:25     ` Ludovic Courtès
  0 siblings, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2009-10-06 22:25 UTC (permalink / raw)
  To: guile-devel

Ken Raeburn <raeburn@raeburn.org> writes:

> On Oct 6, 2009, at 17:35, Mike Gran wrote:
>> I need to roll back the changes made to i18n.c
>> that made locale-specific case conversion of strings
>> work on GNU but break on Darwin.  Locale-specific
>> case conversion of strings works, but only when
>> the locale is set using setlocale.
>
> Thanks.  Though perhaps you could just explicitly test for GNU libc,
> if the glibc structures are stable?

There's no reason why they should be stable, they're internal.  Glibc's
<xlocale.h> reads:

--8<---------------cut here---------------start------------->8---
/* Structure for reentrant locale using functions.  This is an
   (almost) opaque type for the user level programs.  The file and
   this data structure is not standardized.  Don't rely on it.  It can
   go away without warning.  */
typedef struct __locale_struct
--8<---------------cut here---------------end--------------->8---

Maybe, until a better solution is found we could use:

  AC_CHECK_MEMBER([struct __locale_struct.__name] ...)

But we should aim for a more robust solution.

Thanks,
Ludo'.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-06 21:35 ` frozen! Mike Gran
  2009-10-06 21:45   ` frozen! Ludovic Courtès
  2009-10-06 22:07   ` frozen! Ken Raeburn
@ 2009-10-09  7:54   ` Ken Raeburn
  2009-10-10 14:43     ` frozen! Ken Raeburn
  2009-10-18 10:27   ` frozen! Andy Wingo
  3 siblings, 1 reply; 14+ messages in thread
From: Ken Raeburn @ 2009-10-09  7:54 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-devel

On Oct 6, 2009, at 17:35, Mike Gran wrote:
> Also, I need to revert the regexp.test which seems
> to be broken on Darwin but work elsewhere.

Hi, Mike.  I've done a little more digging...

The code in regexp.test tries the suffixes ".ISO-8859-1" and  
".iso88591" when selecting locale names.  I take it that means there's  
inadequate standardization on the naming of encodings across systems?   
Well, when I make it try ".ISO8859-1", most of the tests pass on Mac  
OS X.  The "string of all chars" ones still fail; I'm looking into  
those.

Ken




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-09  7:54   ` frozen! Ken Raeburn
@ 2009-10-10 14:43     ` Ken Raeburn
  2009-10-12 13:56       ` frozen! Mike Gran
  2009-10-12 17:31       ` setbinary Ludovic Courtès
  0 siblings, 2 replies; 14+ messages in thread
From: Ken Raeburn @ 2009-10-10 14:43 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-devel

On Oct 9, 2009, at 03:54, Ken Raeburn wrote:
> The code in regexp.test tries the suffixes ".ISO-8859-1" and  
> ".iso88591" when selecting locale names.  I take it that means  
> there's inadequate standardization on the naming of encodings across  
> systems?  Well, when I make it try ".ISO8859-1", most of the tests  
> pass on Mac OS X.  The "string of all chars" ones still fail; I'm  
> looking into those.

The "string of all chars" test calls setbinary before performing the  
test.  The documentation for setbinary says it sets the encoding for  
current input, output and error streams to ISO-8859-1, as well as  
making it the default for new ports.  Is that supposed to affect make- 
regexp and regexp-exec as well?

If I replace the call with a call to set-latin-1 (modified to try  
".ISO8859-1", as described above), which sets the locale, the test  
passes on the Mac.

Ken




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-10 14:43     ` frozen! Ken Raeburn
@ 2009-10-12 13:56       ` Mike Gran
  2009-10-12 17:31       ` setbinary Ludovic Courtès
  1 sibling, 0 replies; 14+ messages in thread
From: Mike Gran @ 2009-10-12 13:56 UTC (permalink / raw)
  To: Ken Raeburn; +Cc: guile-devel

On Sat, 2009-10-10 at 10:43 -0400, Ken Raeburn wrote:
> On Oct 9, 2009, at 03:54, Ken Raeburn wrote:
> > The code in regexp.test tries the suffixes ".ISO-8859-1" and  
> > ".iso88591" when selecting locale names.  I take it that means  
> > there's inadequate standardization on the naming of encodings across  
> > systems?  Well, when I make it try ".ISO8859-1", most of the tests  
> > pass on Mac OS X.  The "string of all chars" ones still fail; I'm  
> > looking into those.
> 
> The "string of all chars" test calls setbinary before performing the  
> test.  The documentation for setbinary says it sets the encoding for  
> current input, output and error streams to ISO-8859-1, as well as  
> making it the default for new ports.  Is that supposed to affect make- 
> regexp and regexp-exec as well?
> 
> If I replace the call with a call to set-latin-1 (modified to try  
> ".ISO8859-1", as described above), which sets the locale, the test  
> passes on the Mac.

Excellent.  I pushed that.

> 
> Ken

-Mike





^ permalink raw reply	[flat|nested] 14+ messages in thread

* setbinary
  2009-10-10 14:43     ` frozen! Ken Raeburn
  2009-10-12 13:56       ` frozen! Mike Gran
@ 2009-10-12 17:31       ` Ludovic Courtès
  1 sibling, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2009-10-12 17:31 UTC (permalink / raw)
  To: guile-devel

Hi,

Ken Raeburn <raeburn@raeburn.org> writes:

> The documentation for setbinary says it sets the encoding for
> current input, output and error streams to ISO-8859-1, as well as
> making it the default for new ports.

This reminds me that I proposed renaming/splitting ‘setbinary’ (see
http://thread.gmane.org/gmane.lisp.guile.devel/9300).

Mike: could you eventually look into it? (that doesn’t have to be done
for 1.9.4.)

Thanks,
Ludo’.





^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-06 21:35 ` frozen! Mike Gran
                     ` (2 preceding siblings ...)
  2009-10-09  7:54   ` frozen! Ken Raeburn
@ 2009-10-18 10:27   ` Andy Wingo
  3 siblings, 0 replies; 14+ messages in thread
From: Andy Wingo @ 2009-10-18 10:27 UTC (permalink / raw)
  To: Mike Gran; +Cc: guile-devel

Hi Mike,

On Tue 06 Oct 2009 23:35, Mike Gran <spk121@yahoo.com> writes:

>> From: Andy Wingo <wingo@pobox.com>
>> Subject: frozen!
>
> I need to roll back the changes made to i18n.c
> that made locale-specific case conversion of strings
> work on GNU but break on Darwin.  Locale-specific
> case conversion of strings works, but only when
> the locale is set using setlocale.
>
> Also, I need to revert the regexp.test which seems
> to be broken on Darwin but work elsewhere.

So I think you got to these, no?

> And I want to put in aliases for some Emacs
> "coding:" declarations.

And perhaps this will land for 1.9.5 :)

Thanks (again!) for all of the great work!

Peace,

Andy
-- 
http://wingolog.org/




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-06 21:49 ` frozen! Ludovic Courtès
@ 2009-10-18 10:33   ` Andy Wingo
  2009-10-18 13:54     ` frozen! Ludovic Courtès
  0 siblings, 1 reply; 14+ messages in thread
From: Andy Wingo @ 2009-10-18 10:33 UTC (permalink / raw)
  To: Ludovic Courtès; +Cc: guile-devel

Hi Ludo,

On Tue 06 Oct 2009 23:49, ludo@gnu.org (Ludovic Courtès) writes:

>   - bdw-gc-static-alloc (need to grep through sources to estimate the
>     amount of breakage it would cause)

Neat :)

My only concern is with bytevectors. It should be possible to map a
bytevector to an existing range of memory, for read-write access. That
implies a pointer indirection. We can optimize for the inline case by
doing something like:

   +--------+------+-----+...
   | header | len  | ptr | inline-contents
   +--------+------+-----+...
                      \----^

andy
-- 
http://wingolog.org/




^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: frozen!
  2009-10-18 10:33   ` frozen! Andy Wingo
@ 2009-10-18 13:54     ` Ludovic Courtès
  0 siblings, 0 replies; 14+ messages in thread
From: Ludovic Courtès @ 2009-10-18 13:54 UTC (permalink / raw)
  To: Andy Wingo; +Cc: guile-devel

Hello,

Andy Wingo <wingo@pobox.com> writes:

> My only concern is with bytevectors. It should be possible to map a
> bytevector to an existing range of memory, for read-write access. That
> implies a pointer indirection. We can optimize for the inline case by
> doing something like:
>
>    +--------+------+-----+...
>    | header | len  | ptr | inline-contents
>    +--------+------+-----+...
>                       \----^

Yes, we agreed to do that (Neil suggested it as well), and it’s on my
to-do list.

Thanks,
Ludo’.




^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2009-10-18 13:54 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-06 19:47 frozen! Andy Wingo
2009-10-06 21:00 ` frozen! Neil Jerram
2009-10-06 21:35 ` frozen! Mike Gran
2009-10-06 21:45   ` frozen! Ludovic Courtès
2009-10-06 22:07   ` frozen! Ken Raeburn
2009-10-06 22:25     ` frozen! Ludovic Courtès
2009-10-09  7:54   ` frozen! Ken Raeburn
2009-10-10 14:43     ` frozen! Ken Raeburn
2009-10-12 13:56       ` frozen! Mike Gran
2009-10-12 17:31       ` setbinary Ludovic Courtès
2009-10-18 10:27   ` frozen! Andy Wingo
2009-10-06 21:49 ` frozen! Ludovic Courtès
2009-10-18 10:33   ` frozen! Andy Wingo
2009-10-18 13:54     ` frozen! Ludovic Courtès

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).