Re: unicodian monospace fonts for windows(?)

2004-06-20 Thread Goplat
--- Alexey Trofimenko <[EMAIL PROTECTED]> wrote: > oh my.. it seems to me, that Perl6 starts new age of ASCII-graphics. (not > ASCII, really.. maybe Uni-graphics?).. > > but now i have this issue: I'm coding on Windows, there's already two > unicode compliant monospace fonts: Lucida Console a

[PATCH] unused variable warnings in io/io_win32.c

2004-04-03 Thread Goplat
Attached patch adds the appropriate UNUSED()s to io/io_win32.c to fix the large number of warnings it had. Also removed the unused function PIO_win32_puts, which is no longer part of the IO layer API and has been removed from all other layers. (sorry for the duplicate message, forgot to attach the

[PATCH] unused variable warnings in io/io_win32.c

2004-04-03 Thread Goplat
Attached patch adds the appropriate UNUSED()s to io/io_win32.c to fix the large number of warnings it had. Also removed the unused function PIO_win32_puts, which is no longer part of the IO layer API and has been removed from all other layers. __ Do you Yahoo!? Yaho

Re: Newbie Question

2004-04-01 Thread Goplat
--- Kent Tegels <[EMAIL PROTECTED]> wrote: > Hello, all, and greetings from Omaha. > > I read in the FAQ, vis a vis using the .NET instead of writing your own > "The .NET VM didn't even exist when we started development, or at least we > didn't know about it when we were working on the design. We

Re: [PATCH] op isnull(in STR, labelconst INT)

2004-04-01 Thread Goplat
--- Jens Rieks <[EMAIL PROTECTED]> wrote: > Hi, > > the attached patch adds a "isnull str, label" OP that is > similar to "isnull pmc, label" > > jens > > > > Index: ops/string.ops > === > RCS file: /cvs/public/parrot/ops/string.op

Re: [PATCH] op isnull(in STR, labelconst INT)

2004-04-01 Thread Goplat
--- Jens Rieks <[EMAIL PROTECTED]> wrote: > Hi, > > the attached patch adds a "isnull str, label" OP that is > similar to "isnull pmc, label" > > [...] > > +isnull_s_ic 1418 > +isnull_sc_ic 1419 Do we really need the _sc version for this? I don't think it's even possible to get

[PATCH] wrong type for "status" in platform/win32/exec.c

2004-03-27 Thread Goplat
The second arg of GetExitCodeProcess should be a pointer to DWORD, not int, this was causing a warning on mingw: src/platform.c: In function `Parrot_Run_OS_Command': src/platform.c:446: warning: passing arg 2 of `GetExitCodeProcess' from incompatible pointer type

Re: Dereferencing Syntax (Was: Outer product considered useful)

2004-03-23 Thread Goplat
--- Smylers <[EMAIL PROTECTED]> wrote: > Luke Palmer writes: > > > for @(@ranges[1]) -> $i { > > Oooh, where did that dereferencing syntax come from, using parens rather > than braces? @(...) is the "list context" operator in S3. I hope array references won't explode in list context, that wo

[PATCH] add bnots (string bitwise not) ops

2004-03-22 Thread Goplat
Parrot seems to be missing the bitwise-not for strings. Attached patch adds a string_bitwise_not function, bitwise_nots vtable, and "bnots" ops. __ Do you Yahoo!? Yahoo! Finance Tax Center - File online. File on time. http://taxes.yahoo.com/filing.html? config_lib.p

Re: CPAN Upload: A/AB/ABERGMAN/ponie-2.tar.gz - Ponie Development Release 2

2004-03-22 Thread Goplat
--- Steve Hay <[EMAIL PROTECTED]> wrote: > Arthur Bergman wrote: > > >This is Ponie, development release 2 > > > > > How does one build this on Win32 with MSVC++? > > Running the top-level "perl Configure.pl" got me nowhere, so I cd'd into > parrot and ran "perl Configure.pl" there. That ran

Re: z ip

2004-03-21 Thread Goplat
--- Juerd <[EMAIL PROTECTED]> wrote: > Kara Perlistoj, > > the zip operator is a useful one. I like it a lot. But I've been writing > zip() all the time, even though I think an infix operator is nicer. (Not > for for though, because you also have commas in the pointy sub's > parameter list.) > >

Re: parrot no longer compiles on win32

2004-03-14 Thread Goplat
--- Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Goplat <[EMAIL PROTECTED]> wrote: > > ops/sys.ops:169: warning: implicit declaration of function `gmtime_r' > > ops/sys.ops:170: warning: implicit declaration of function `asctime_r' > > ops/sys.ops:178

parrot no longer compiles on win32

2004-03-13 Thread Goplat
The latest cvs of parrot fails to compile on mingw32, In file included from include/parrot/parrot.h:258, from src/utils.c:23: include/parrot/misc.h:44: warning: `struct tm' declared inside parameter list include/parrot/misc.h:44: warning: its scope is only this definition or decla

[PATCH] native exec support on win32

2004-03-02 Thread Goplat
Attached patch adds native exec support for win32's COFF format .o files. I had to change some code that assumed the bytecode being used was from the interpreter->code->src block, which wasn't the case when it's not being mmaped. __ Do you Yahoo!? Yahoo! Search - Fi

Re: [CVS ci] PLATFORMS

2004-02-27 Thread Goplat
--- [EMAIL PROTECTED] wrote: > 27/02/2004 10:30:22, Leopold Toetsch <[EMAIL PROTECTED]> wrote: > > >[EMAIL PROTECTED] wrote: > > > >> Compiler version: > >> > >>Microsoft (R) 32-bit C/C++ Standard Compiler Version 13.00.9466 for > 80x86 > > > >Thanks update. > > > > > >> t\op\00ff-dos.t 255

Re: release preparation: odd file permissions, #!'s, ^M's, and README

2004-02-27 Thread Goplat
--- Leopold Toetsch <[EMAIL PROTECTED]> wrote: > Mitchell N Charity <[EMAIL PROTECTED]> wrote: > > Some quick observations on parrot_2004-02-26_08. > > > Files with ^M: > [ ... ] > >./t/op/00ff-dos.t > > Actually that one is failing on Win32!!!1 Is this caused by the test > system? Which

[PATCH] win98 fixes for imcc/t/syn/file.t, classes/env.pmc, t/pmc/env.t

2004-02-25 Thread Goplat
imcc/t/syn/file.t: has a qx() use 2>&1, and later an (unnecessary) qx() using single quotes, neither of which the windows 98 shell supports. classes/env.pmc: used getenv() when it should use Parrot_getenv() t/pmc/env.t: parrot can't change or delete the PARROT_TMP that this sets so tests 3, 5, an

Re: Valgrind and parrot

2004-02-24 Thread Goplat
--- Elizabeth Mattijsen <[EMAIL PROTECTED]> wrote: > At 18:27 + 2/24/04, Arthur Bergman wrote: > >Using valgrind 1.9.6 I find it impossible to use with parrot, is > >this a known issue, should I try and get someone to upgrade valgrind > >for me? > > Current stable is 2.0.0, unstable is 2.1.0

Re: [perl #27042] [PATCH] C:/parrot/config/gen/platform/win32/exec.c (Parrot_Run_OS_Command)

2004-02-24 Thread Goplat
--- via RT <[EMAIL PROTECTED]>, [EMAIL PROTECTED] wrote: > # New Ticket Created by [EMAIL PROTECTED] > # Please include the string: [perl #27042] > # in the subject line of all future correspondence about this issue. > # http://rt.perl.org:80/rt3/Ticket/Display.html?id=27042 > > > ATTACHMENT

[PATCH] Don't mix PIO with stdio in Parrot_warn

2004-02-20 Thread Goplat
Using both PIO and stdio in Parrot_warn causes output to get mixed up when io is being buffered. This patch changes print_pbc_location to use PIO, and adds a new print_pbc_location_stdio function for use by exceptions.c (which uses stdio). With it I no longer get test failures on t/pmc/perlarray.t

[PATCH] bad argv[] use in disassemble.c and pdb.c

2004-02-19 Thread Goplat
Trying to use disassemble or pdb gave me this message (note doubled first character) Parrot VM: Can't stat ttest.pbc, code 2. I looked at the source code and found some pretty weird stuff #define na(c) { \ while(*c && !isspace(*c)) \ c++; } ...later na(argv[0]); filename

Re: [PATCH] IO fixes for Win32

2004-02-19 Thread Goplat
--- Melvin Smith <[EMAIL PROTECTED]> wrote: > At 10:02 AM 2/19/2004 -0800, Goplat wrote: > >--- Melvin Smith <[EMAIL PROTECTED]> wrote: > > > >Where is the hassle? It's just a few lines of code to check windows > > > >version. It's easi

Re: [PATCH] IO fixes for Win32

2004-02-19 Thread Goplat
--- Melvin Smith <[EMAIL PROTECTED]> wrote: > At 09:27 AM 2/19/2004 -0800, Goplat wrote: > >--- Dan Sugalski <[EMAIL PROTECTED]> wrote: > > > At 12:40 AM +0300 2/18/04, Vladimir Lipsky wrote: > > > >From: "Goplat" <[EMAIL PROTECTED]> >

Re: [PATCH] IO fixes for Win32

2004-02-19 Thread Goplat
--- Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 12:40 AM +0300 2/18/04, Vladimir Lipsky wrote: > >From: "Goplat" <[EMAIL PROTECTED]> > > > >> --- Vladimir Lipsky <[EMAIL PROTECTED]> wrote: > >> > From: "Goplat"

Re: [PATCH] IO fixes for Win32

2004-02-17 Thread Goplat
--- Vladimir Lipsky <[EMAIL PROTECTED]> wrote: > From: "Goplat" <[EMAIL PROTECTED]> > > > flags_to_win32 sets fdwShareMode to FILE_SHARE_DELETE, which is not > > supported in win98 > > A fix for that should be windows version specific and needs suppo

[PATCH] IO fixes for Win32

2004-02-16 Thread Goplat
flags_to_win32 sets fdwShareMode to FILE_SHARE_DELETE, which is not supported in win98 and will cause the CreateFile to fail, so the ParrotIO is NULL, and subsequent PIO_read on its io PMC will return -1. When len is -1, some tests in t/src/io.t will think it's positive since it has it as a UINTVAL