public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2
@ 2016-07-26 14:02 Corinna Vinschen
  2016-07-26 15:31 ` Ken Brown
  2016-07-26 20:48 ` Denis Excoffier
  0 siblings, 2 replies; 9+ messages in thread
From: Corinna Vinschen @ 2016-07-26 14:02 UTC (permalink / raw)
  To: cygwin

Hi Cygwin developers and maintainers,
Hi everyone else,


I uploaded a new Cygwin test release 2.6.0-0.2.

Supposed to fix the problems reported in
https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.

=======================================================================

For those building Cygwin from source, the new code is only available
in the topic/locales branch yet.

=======================================================================

The 2.6.0 release is going to introducing the locale_t datatype, as well
as all functions related to locale_t locales and per-thread locales per
POSIX-1.2008.

So, rather than just providing a single, per-process locale, you can now
create new locales ("newlocale") and set it as locale for the current
thread ("uselocale") or use it directly with one of the new functions
taking a locale_t as parameter (i.e. isalpha_l).

The full list of new interfaces is:

  newlocale, freelocale, duplocale, uselocale

  isalnum_l, isalpha_l, isascii_l, isblank_l, iscntrl_l, isdigit_l,
  isgraph_l, islower_l, isprint_l, ispunct_l, isspace_l, isupper_l,
  iswalnum_l, iswalpha_l, iswblank_l, iswcntrl_l, iswctype_l,
  iswdigit_l, iswgraph_l, iswlower_l, iswprint_l, iswpunct_l,
  iswspace_l, iswupper_l, iswxdigit_l, isxdigit_l
  
  toascii_l, tolower_l, toupper_l, towctrans_l, towlower_l, towupper_l,
  wctrans_l, wctype_l

  strcasecmp_l, strcoll_l, strncasecmp_l, strxfrm_l

  wcscasecmp_l, wcscoll_l, wcstrncasecmp_l, wcstrxfrm_l

  strfmon_l, strftime_l

=======================================================================

Since this is brand-new code, this code *will* have bugs.

It would be very helpful if interested developers and Cygwin package
maintainers could give this new stuff some good testing.


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2
  2016-07-26 14:02 [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2 Corinna Vinschen
@ 2016-07-26 15:31 ` Ken Brown
  2016-07-26 17:09   ` Jim Reisert AD1C
  2016-07-26 20:48 ` Denis Excoffier
  1 sibling, 1 reply; 9+ messages in thread
From: Ken Brown @ 2016-07-26 15:31 UTC (permalink / raw)
  To: cygwin

On 7/26/2016 10:00 AM, Corinna Vinschen wrote:
> Hi Cygwin developers and maintainers,
> Hi everyone else,
>
>
> I uploaded a new Cygwin test release 2.6.0-0.2.
>
> Supposed to fix the problems reported in
> https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.

Confirmed.

Thanks.

Ken


--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2
  2016-07-26 15:31 ` Ken Brown
@ 2016-07-26 17:09   ` Jim Reisert AD1C
  2016-07-26 17:38     ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Jim Reisert AD1C @ 2016-07-26 17:09 UTC (permalink / raw)
  To: cygwin

I can also confirm the xdg menu problems are fixed.  Thanks!

-- 
Jim Reisert AD1C, <jjreisert@alum.mit.edu>, http://www.ad1c.us

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2
  2016-07-26 17:09   ` Jim Reisert AD1C
@ 2016-07-26 17:38     ` Corinna Vinschen
  2016-07-26 19:30       ` Ken Brown
  0 siblings, 1 reply; 9+ messages in thread
From: Corinna Vinschen @ 2016-07-26 17:38 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 355 bytes --]

On Jul 26 11:09, Jim Reisert AD1C wrote:
> I can also confirm the xdg menu problems are fixed.  Thanks!

Good news from both of you.

Now for some testing of the new API...? :)


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2
  2016-07-26 17:38     ` Corinna Vinschen
@ 2016-07-26 19:30       ` Ken Brown
  2016-07-26 21:37         ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Ken Brown @ 2016-07-26 19:30 UTC (permalink / raw)
  To: cygwin

On 7/26/2016 1:37 PM, Corinna Vinschen wrote:
> Now for some testing of the new API...? :)

There seems to be a collation bug.  Here's a test case, extracted from 
the emacs test suite:

$ cat collation_test.c
#include <wchar.h>
#include <locale.h>
#include <stdio.h>
#include <stdlib.h>
#include <errno.h>

int
main (void)
{
   locale_t loc = newlocale (LC_COLLATE_MASK | LC_CTYPE_MASK,
                             "en_US.UTF-8", 0);
   if (!loc)
     {
       perror ("newlocale");
       exit (1);
     }

   wchar_t *p1 = L"xyzzy", *p2 = L"XYZZY";
   errno = 0;
   int res = wcscoll_l (p1, p2, loc);
   if (errno)
     {
       perror ("wcscoll_l");
       exit (1);
     }
   char res_ch = res < 0 ? '<' : res > 0 ? '>' : '=';
   freelocale (loc);
   printf ("\"%ls\" %c \"%ls\" in locale en_US.UTF-8\n", p1, res_ch, p2);
}

$ gcc collation_test.c

$ ./a
"xyzzy" > "XYZZY" in locale en_US.UTF-8

Ken

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2
  2016-07-26 14:02 [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2 Corinna Vinschen
  2016-07-26 15:31 ` Ken Brown
@ 2016-07-26 20:48 ` Denis Excoffier
  2016-07-27  8:04   ` Corinna Vinschen
  1 sibling, 1 reply; 9+ messages in thread
From: Denis Excoffier @ 2016-07-26 20:48 UTC (permalink / raw)
  To: cygwin


> On 2016-07-26 16:00, Corinna Vinschen wrote:
> 
> Hi Cygwin developers and maintainers,
> Hi everyone else,
> 
> 
> I uploaded a new Cygwin test release 2.6.0-0.2.
> 
> Supposed to fix the problems reported in
> https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.
> 
Hello,

Is this test release expected to work on 32 bits?

I have a CYGWIN_NT-6.1-WOW (W7 + 32bits) and my .bat file (that contains
("bash --long -i") breefly opens but immediately closes with
no text output. Permissions on the cygwin1.dll file are correct.

2.6.0-0.1 does the same. However, 2.5.2-1 is ok, and
snapshots dated 20160714 and 20160719 were ok also.

I desactivated my .profile, in order that LC_CTYPE=fr_FR@euro
does not enter into the picture, but same result.

I also recompiled from the sources, no error, but same result.

Latest packages.

Regards,




--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

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

* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2
  2016-07-26 19:30       ` Ken Brown
@ 2016-07-26 21:37         ` Corinna Vinschen
  0 siblings, 0 replies; 9+ messages in thread
From: Corinna Vinschen @ 2016-07-26 21:37 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1317 bytes --]

On Jul 26 15:30, Ken Brown wrote:
> On 7/26/2016 1:37 PM, Corinna Vinschen wrote:
> > Now for some testing of the new API...? :)
> 
> There seems to be a collation bug.  Here's a test case, extracted from the
> emacs test suite:
> 
> $ cat collation_test.c
> #include <wchar.h>
> #include <locale.h>
> #include <stdio.h>
> #include <stdlib.h>
> #include <errno.h>
> 
> int
> main (void)
> {
>   locale_t loc = newlocale (LC_COLLATE_MASK | LC_CTYPE_MASK,
>                             "en_US.UTF-8", 0);
>   if (!loc)
>     {
>       perror ("newlocale");
>       exit (1);
>     }
> 
>   wchar_t *p1 = L"xyzzy", *p2 = L"XYZZY";
>   errno = 0;
>   int res = wcscoll_l (p1, p2, loc);
>   if (errno)
>     {
>       perror ("wcscoll_l");
>       exit (1);
>     }
>   char res_ch = res < 0 ? '<' : res > 0 ? '>' : '=';
>   freelocale (loc);
>   printf ("\"%ls\" %c \"%ls\" in locale en_US.UTF-8\n", p1, res_ch, p2);
> }
> 
> $ gcc collation_test.c
> 
> $ ./a
> "xyzzy" > "XYZZY" in locale en_US.UTF-8

Thanks a lot for the testcase.  I applied a patch, but it's late here so
I create a new testversion tomorrow.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2
  2016-07-26 20:48 ` Denis Excoffier
@ 2016-07-27  8:04   ` Corinna Vinschen
  2016-07-27 11:56     ` Corinna Vinschen
  0 siblings, 1 reply; 9+ messages in thread
From: Corinna Vinschen @ 2016-07-27  8:04 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

On Jul 26 22:48, Denis Excoffier wrote:
> 
> > On 2016-07-26 16:00, Corinna Vinschen wrote:
> > 
> > Hi Cygwin developers and maintainers,
> > Hi everyone else,
> > 
> > 
> > I uploaded a new Cygwin test release 2.6.0-0.2.
> > 
> > Supposed to fix the problems reported in
> > https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.
> > 
> Hello,
> 
> Is this test release expected to work on 32 bits?
> 
> I have a CYGWIN_NT-6.1-WOW (W7 + 32bits) and my .bat file (that contains
> ("bash --long -i") breefly opens but immediately closes with
> no text output. Permissions on the cygwin1.dll file are correct.
> 
> 2.6.0-0.1 does the same. However, 2.5.2-1 is ok, and
> snapshots dated 20160714 and 20160719 were ok also.
> 
> I desactivated my .profile, in order that LC_CTYPE=fr_FR@euro
> does not enter into the picture, but same result.
> 
> I also recompiled from the sources, no error, but same result.

WFFM on W10 WOW64.  Did you try to git bisect?


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

* Re: [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2
  2016-07-27  8:04   ` Corinna Vinschen
@ 2016-07-27 11:56     ` Corinna Vinschen
  0 siblings, 0 replies; 9+ messages in thread
From: Corinna Vinschen @ 2016-07-27 11:56 UTC (permalink / raw)
  To: cygwin

[-- Attachment #1: Type: text/plain, Size: 1538 bytes --]

On Jul 27 10:03, Corinna Vinschen wrote:
> On Jul 26 22:48, Denis Excoffier wrote:
> > 
> > > On 2016-07-26 16:00, Corinna Vinschen wrote:
> > > 
> > > Hi Cygwin developers and maintainers,
> > > Hi everyone else,
> > > 
> > > 
> > > I uploaded a new Cygwin test release 2.6.0-0.2.
> > > 
> > > Supposed to fix the problems reported in
> > > https://cygwin.com/ml/cygwin/2016-07/msg00274.html and followups.
> > > 
> > Hello,
> > 
> > Is this test release expected to work on 32 bits?
> > 
> > I have a CYGWIN_NT-6.1-WOW (W7 + 32bits) and my .bat file (that contains
> > ("bash --long -i") breefly opens but immediately closes with
> > no text output. Permissions on the cygwin1.dll file are correct.
> > 
> > 2.6.0-0.1 does the same. However, 2.5.2-1 is ok, and
> > snapshots dated 20160714 and 20160719 were ok also.
> > 
> > I desactivated my .profile, in order that LC_CTYPE=fr_FR@euro
> > does not enter into the picture, but same result.
> > 
> > I also recompiled from the sources, no error, but same result.
> 
> WFFM on W10 WOW64.  Did you try to git bisect?

I think I found the problem though I'm not sure why this worked
on W10 and failed on W7.  Anyway, the patch will be in the today's
2.6.0-0.3 test release.

Editorial note: I hope the patch is sufficient.  I still have a
vague feeling I'm missing something...


Thanks,
Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]

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

end of thread, other threads:[~2016-07-27 11:56 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-26 14:02 [ANNOUNCEMENT] TEST RELEASE: Cygwin 2.6.0-0.2 Corinna Vinschen
2016-07-26 15:31 ` Ken Brown
2016-07-26 17:09   ` Jim Reisert AD1C
2016-07-26 17:38     ` Corinna Vinschen
2016-07-26 19:30       ` Ken Brown
2016-07-26 21:37         ` Corinna Vinschen
2016-07-26 20:48 ` Denis Excoffier
2016-07-27  8:04   ` Corinna Vinschen
2016-07-27 11:56     ` Corinna Vinschen

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).