Re: Parrot 0.0.11 "Doubloon" Released!

2003-09-20 Thread Nicholas Clark
Or bribe^Wcontact Andreas directly Not sure. I don't really like either. Nicholas Clark

Re: Exception handling dumps second time round

2003-09-20 Thread Nicholas Clark
a behaviour of the hidden invoke (of the exception handler) that > I am unaware of? This got Warnocked, didn't it? Nicholas Clark

Re: [perl #23411] [PATCH] Add drafty ABSTRACT and OVERVIEW to docs/strings.pod

2003-09-20 Thread Nicholas Clark
or may not reflect the current code. This got Warnocked. I think it would be a good idea to put abstracts into the documentation, a\as currently it does dive straight into details. Nicholas Clark

Re: Parrot 0.0.11 "Doubloon" Released!

2003-09-20 Thread Nicholas Clark
On Sat, Sep 20, 2003 at 08:06:12PM +0100, Steve Purkis wrote: > On Saturday, September 20, 2003, at 06:11 pm, Steve Fink wrote: > > > On Sep-20, Nicholas Clark wrote: > >> On Sat, Sep 20, 2003 at 10:02:34AM -0700, Steve Fink wrote: > >> > >>> Can&#

Re: [RfC] Clean up of the ParrotIOLayerAPI

2003-09-20 Thread Nicholas Clark
write all the way up the stack from the kernel read to the PMCs presenting data at language level, so that for read only grepping of files there is no data copying at all. (And hopefully the file at the bottom is memory mapped) Nicholas Clark

Re: [perl #23752] [BUG] op 'index' fails with mixed character sets

2003-09-21 Thread Nicholas Clark
eq S0, S1, equal > print "not " > equal: > print "equal\n" > > index I0, S0, S1 > print I0 > print "\n" > > end > > yields the output: > -------- > equal > -1 > > which doesn't seem quite right. Looks like a bug to me, but I'm no expert on where to start searching for it. Nicholas Clark

Re: [RfC] Semantics of fdopen.

2003-09-21 Thread Nicholas Clark
omething that happens after file handle construction (hence there can be a stack by open time)? Nicholas Clark

Re: string_to_cstring()

2003-09-21 Thread Nicholas Clark
inated string can do the strlen themselves. (Or we could provide a helpful macro) Nicholas Clark

jako causing MANIFEST failures

2003-09-21 Thread Nicholas Clark
bious Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 4 Failed 1/4 tests, 75.00% okay Did MANIFEST get committed without some files? Nicholas Clark

Re: jako causing MANIFEST failures

2003-09-21 Thread Nicholas Clark
On Sun, Sep 21, 2003 at 05:49:41PM +0100, Nicholas Clark wrote: > I'm seeing this failure on a clean checkout: > > t/src/manifest.NOK 4# Failed test (t/src/manifest.t at line 38) > # Missing files in Manifest: > # languages/jako/examples/python.jako > #

Re: [perl #23819] [PATCH] Pdump janitorial fixes

2003-09-21 Thread Nicholas Clark
couple of places it was using the >typedef of Parrot_Interp. > - pdump.c contained declarations for functions in packdump.c. I have > moved these to packfile.h. Thanks, Applied Nicholas Clark

Re: Parrot 0.0.11 "Doubloon" Released!

2003-09-22 Thread Nicholas Clark
n-a-stick :-) > Argh. Thanks for all your toils in getting a release out. Nicholas Clark

Re: Trig functions for vtables

2003-09-23 Thread Nicholas Clark
nformation about which quadrant the angle is in (to save you working it out) Er, but this doesn't really add to the informed debate. [except that maybe Dan should be suggesting atan2() rather than arctangent] Nicholas Clark

Re: Argh!

2003-09-24 Thread Nicholas Clark
nderstanding is that the relay from the mailing list to google groups is one way - ie messages sent to google groups never get back here. Is there a good way to make this clear on google groups? Is google able to flag groups as "read only"? Nicholas Clark

Re: [ANNOUNCE] Parrot::DWIM

2003-09-24 Thread Nicholas Clark
ldn't guess) "Yet another certifiable Austral^H^Hian" :-) Nicholas Clark

Re: [perl #24029] [PATCH] redefinition i 4i

2003-09-24 Thread Nicholas Clark
tml?id=24029 > > > > call_list.txt has two "i 4i" lines. Mmm yes. Without this parrot wouldn't build for me on PPC Linux Thanks applied Nicholas Clark

Re: cvs commit: parrot MANIFEST mmd.c

2003-09-27 Thread Nicholas Clark
Either that or put them in a subdirectory, and rig the include path to have that subdirectory in it. We're making the top level project source directory the "subdirectory" at work (ie point -I one higher than you might first think) and it seems to "namespace" our includes quite nicely. Nicholas Clark

Re: Multimethod dispatch function installation issues

2003-09-29 Thread Nicholas Clark
h every class. However, would it be possible to schedule the other classes for lazy loading (à la perl5's AUTOLOAD), so that the functions behave as if they were defined at the correct time, but actually pull in the needed bulky libraries only if invoked? Nicholas Clark

Re: Multimethod dispatch function installation issues

2003-09-29 Thread Nicholas Clark
er for a serialisation call while things are only partially loaded? I've got no real idea on any of these, apart from a hunch that assigning numbers to classes that aren't loaded (yet) is going to be needed for other things. Nicholas Clark

Re: MANIFEST verification

2003-09-29 Thread Nicholas Clark
re violates one of the constraints: > On Monday, September 29, 2003, at 01:36 PM, Robert Spier wrote: > > Restrictions: > > The script cannot access any other files/filesystems/directory > > listings besides the data in the files provided on the command > > line. Nicholas Clark

Re: [perl #24088] [PATCH] Parrot on AIX

2003-10-02 Thread Nicholas Clark
n and multiplication, never from addition or *in this case) subtraction. Nicholas Clark

Re: [perl #24088] [PATCH] Parrot on AIX

2003-10-02 Thread Nicholas Clark
On Thu, Oct 02, 2003 at 11:52:48AM -0400, Dan Sugalski wrote: > On Thu, 2 Oct 2003, Nicholas Clark wrote: > > > On Thu, Oct 02, 2003 at 10:35:29AM +0200, Leopold Toetsch wrote: > > > Adam Thomason <[EMAIL PROTECTED]> wrote: > > > > > > The one remai

Re: [perl #24167] `#' comment signs not at the very beginning of a line

2003-10-09 Thread Nicholas Clark
nstructions, but they're all inside blocks that are only true on dosish platforms. Nicholas Clark

Re: References ...

2003-10-09 Thread Nicholas Clark
e, thanks Yes, but if you have to go via another PMC register then you may spill. Whereas it seemed that the type retrieval ops went direct to S and I registers, which may save spillage. (at a cost of more ops) Nicholas Clark

Re: [perl #24169] pthread required to build parrot on freebsd

2003-10-09 Thread Nicholas Clark
1: pbc.h: No such file or directory imcc.y:22: parser.h: No such file or directory This is with gcc version 2.95.4 20020320 [FreeBSD] Have the rules about where to find header files in directories relative to source files been changed between gcc 2.95 and gcc 3? Nicholas Clark

Re: cvs commit: parrot/io io.c io_buf.c

2003-10-10 Thread Nicholas Clark
OCTL_CMDGETBUFSIZE: > if(b) return b->size; > else return -6; > What are all these magic numbers about? Nicholas Clark

Re: [perl #24169] pthread required to build parrot on freebsd

2003-10-10 Thread Nicholas Clark
On Fri, Oct 10, 2003 at 12:35:23PM +0200, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > > I'm having trouble testing this because I can't get CVS parrot to build on > > my (friend's) freebsd box. I think that this ought to restore

Re: cvs commit: parrot/io io.c io_buf.c

2003-10-10 Thread Nicholas Clark
racters, the > list goes on. Sorry. Wasn't clear. The PIOCTL macros are (to me) the correct way of doing something. -6 and -3 are magic numbers. They have no context as to what they might be. > At 04:46 PM 10/10/2003 +0100, Nicholas Clark wrote: > >On Fri, Oct 10, 2003 at 02:43:1

FreeBSD (4.8) can't build imcc

2003-10-10 Thread Nicholas Clark
FreeBSD make doesn't understand those % pattern rules 2: gcc 2.95 resets its idea of the source file directory on a #line directive, and as a consequence can't find other files to include in that directory" Not sure how to solve this short of changing directory. Nicholas Clark

Re: Library loading and initialization sequence

2003-10-10 Thread Nicholas Clark
installing the opcode dispatch table at runtime, > but we must reserve the opcode number range, and the assembler must > at least be able to query the dynamic lib for valid opcode names. When > the first unknown opcode is to be run, then the real functions could be > put in place. Or am I getting confused and all this lookup is done by name? Nicholas Clark

Re: Dynamic oplibs - intermediate summary

2003-10-16 Thread Nicholas Clark
nning on CG or some other low startup cost core until then) or b: signal a (partial) re-JIT of something/everything after a library/ everything has loaded? I've no idea how easy this might be. Or sensible. Nicholas Clark

Re: Parrot IO fun

2003-10-30 Thread Nicholas Clark
be a throw away question. As I understand it many hostname functions were changed or tweaked for IPv6, and coping with it now is better than retrofitting it later) Nicholas Clark

Re: Parrot IO fun

2003-10-30 Thread Nicholas Clark
On Fri, Oct 31, 2003 at 12:09:14AM +, Nicholas Clark wrote: > On Thu, Oct 30, 2003 at 01:54:24AM -0500, Melvin Smith wrote: > > Parrot fetched its first web page tonight. Its a baby step, but hey... :) I forgot to say: Hey, cool! Nice work. Today web pages, tomorrow self propagat

Re: Perl earlier versions installation

2003-11-07 Thread Nicholas Clark
, and set the reply to (to ensure responses move there) I'm not sure of the best answer to your question, but someone on perl5-porters should be able to answer it. Nicholas Clark

Re: [CVS ci] hash compare

2003-11-12 Thread Nicholas Clark
the same. I presume that there are some encodings where two different binary representations are considered "equal", hence we can't blindly assume that a byte compare is sufficient. Nicholas Clark

Re: [CVS ci] hash compare

2003-11-12 Thread Nicholas Clark
27;ve no idea if using an iterator breaks some or other design rule. Nicholas Clark

Re: [CVS ci] hash compare

2003-11-13 Thread Nicholas Clark
FFF (Unicode as code-points up to 0x10FFF), as either two 16 bit > surrogate code points encoded as two 3 byte UTF-8 code sequences or as > a single value encoded as a single 4 or 5 byte UTF-8 code sequence. Is it legal to encode surrogate pairs as UTF8? Or does that count as malformed UTF8? Nicholas Clark

probing for inline

2003-11-29 Thread Nicholas Clark
acros, such as not always giving as good optimisations as macro-re-written code. Is this something worth taking further? (Ulterior motive - I'm curious whether doing this would also help perl 5) Nicholas Clark

Re: [perl #24329] Testing error sys/socket.h for FreeBSD.

2003-11-30 Thread Nicholas Clark
if that fails retrying with all the found headers (in order). The second try means that netinet/in.h is now "found" on FreeBSD, and I can build on FreeBSD 4.8 I believe that this resolves the bug Nicholas Clark

Re: [perl #24579] [PATCH] More OpenBSD support

2003-12-01 Thread Nicholas Clark
t; > > > This attached patch adds support for OpenBSD 3.4 (which uses ELF), without affecting > older versions using a.out (hopefully). This cures the tinder build failure on > phalanx. Thanks to Daniel for help tracking down the necessary symbols. Thanks, applied. Nicholas Clark

Re: Slow vararg subroutines in Parrot, jit bug found as well.

2003-12-27 Thread Nicholas Clark
de to better alignments based on the amount of padding that would be needed. These defaults mean that changing the size of earlier parts of the object file can affect the alignment (and hence speed) of loops you didn't change. This is very confusing. Nicholas Clark

Re: [PATCH] The Return of the Priority DOD

2004-01-10 Thread Nicholas Clark
its': src/dod.c:755: `cur_arena' undeclared (first use in this function) src/dod.c:755: (Each undeclared identifier is reported only once src/dod.c:755: for each function it appears in.) src/dod.c *** Error code 1 The appended patch cures it (and all tests pass) but I'm not sure if i

Re: [PATCH] The Return of the Priority DOD

2004-01-10 Thread Nicholas Clark
On Sat, Jan 10, 2004 at 08:39:51PM +0100, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > > src/dod.c: In function `clear_live_bits': > > src/dod.c:755: `cur_arena' undeclared (first use in this function) > > > The appended patc

Re: [PATCH] The Return of the Priority DOD

2004-01-11 Thread Nicholas Clark
esting.) My tinderbox running on FreeBSD definitely didn't have it, and the OpenBSD tinderbox returned from burning to success at the same time as mine. (Not that I've checked the actual case of its failure, but I think only one patch got committed around then) Nicholas Clark

Re: [perl #24866] [PATCH] Unified harness for IMCC tests

2004-01-11 Thread Nicholas Clark
ness has just one > > result summary. > > Fine, thanks - applied. It broke my tinderbox, because it assumed that . was in $PATH I committed a fix. Nicholas Clark

Re: configure on windows

2004-01-11 Thread Nicholas Clark
> configure. There was a time when the first perl in my $PATH was /bin/false I might make that the case on my tinderbox. Muahahahahaha. Nicholas Clark

Re: additional test file for parrotobject.pmc

2004-01-11 Thread Nicholas Clark
On Sat, Jan 10, 2004 at 10:30:47PM +0100, Stéphane Payrard wrote: > retry You're trying to attache a file with a name ending in .t ? They get eaten. I forget why. And I forget why it's not been possible to change the configuration on the list software to tell it that it's on

Re: patch to support nums, strings and pmcs as attributes

2004-01-12 Thread Nicholas Clark
On Sun, Jan 11, 2004 at 07:33:12PM +0100, Stéphane Payrard wrote: > Also the following patch exercises all the variations including > the susmentioned access thru a key pmc that may contain either a > string or an int. Thanks, applied Nicholas Clark

Re: cvs commit: parrot/docs/resources up.gif

2004-02-08 Thread Nicholas Clark
> <> Have the LZW patents(*) expired everywhere yet? Nicholas Clark * Remember that those smart, diligent folks at the US Patent Office granted both the Sperry Corporation and IBM a patent on the same algorithm at about the same time.

Re: event.c - of signals and pipes

2004-02-09 Thread Nicholas Clark
pecifically so that pipe() could be implemented on it and hence be select() able. Given that I wrote it, I don't see any copyright leakage problem here :-) Nicholas Clark

Re: Release done

2004-02-29 Thread Nicholas Clark
On Sun, Feb 29, 2004 at 05:36:22PM +0100, Leopold Toetsch wrote: > Currently working on 10a of RELEASE_INSTRUCTIONS everything should be > done, so let the checkins begin. Woohoo! Well done. I see it's all over use.perl now too. Nicholas Clark

ponie unwell without --gc=libc

2004-03-11 Thread Nicholas Clark
different places on OS X. Not tried other systems yet. Still fighting AIX] We're not sure how to track this one down further - at the moment the best plan seems to be to apply the above patch to ponie, and make a snapshot release with it in. I've attached the diff between TEST run for th

Re: ponie unwell without --gc=libc

2004-03-12 Thread Nicholas Clark
On Thu, Mar 11, 2004 at 10:33:24PM +0100, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > > If parrot's garbage collector is changed from the default (compacting, IIRC) > > to the either libc or malloc, then ponie only fails 6 tests. >

aix - cc_r vs xlc_r

2004-03-16 Thread Nicholas Clark
On AIX, what's the difference between cc_r and xlc_r? And why does parrot's hints file go for xlc_r, whereas perl5's goes for cc_r? This is causing pain for ponie. Is there any reason not to pick the same one for both? [yes, 3-way cross post, but I think it's justified] Nicholas Clark

Re: aix - cc_r vs xlc_r

2004-03-16 Thread Nicholas Clark
On Tue, Mar 16, 2004 at 10:23:34PM +0200, Jarkko Hietaniemi wrote: > Nicholas Clark wrote: > > > On AIX, what's the difference between cc_r and xlc_r? > > See /etc/xlc.cfg. > > I vaguely remember that's it's the cc_r that's guaranteed (well, *mor

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

2004-03-23 Thread Nicholas Clark
on after a cvs up on the parrot directory, but this may not be. Nicholas Clark

Re: [perl #24728] Problem on SuSE (8.1 I think)

2004-03-23 Thread Nicholas Clark
inadvertently ignored, but it is something we (the perl comminity) aren't getting right yet, and it is something we should fix. As to the original bug you report - I no longer have access to any SuSE machines, but I did build perl from source on a SuSE 8.1 box within the past 3 months and didn't encounter the problems you encountered. Strange. Hopefully someone else has access to SuSE and can replicate your problems Nicholas Clark

Re: Load paths

2004-03-24 Thread Nicholas Clark
ble to do "whatever" and return a file handle that might have 1 or more transformation layers on it, then I think it covers most possibilities. Nicholas Clark

Re: Parrot on Alpha/OpenBSD

2004-03-30 Thread Nicholas Clark
v6. Seems to work from here. Only this is the only IPv6 host that I have a shell account on. Nicholas Clark

Re: Languages testing

2004-04-04 Thread Nicholas Clark
parrot build tree. Which can cause test failures. (IIRC some of MakeMaker's tests can do this, and I've yet to supply schwern with a patch) Nicholas Clark

Re: ICU data file location issues

2004-04-15 Thread Nicholas Clark
reter, rather than the full path). But all this is from memory, and in turn for #! invocation one can always parse the #! line to work out where the interpreter was (mmm. race condition) Nicholas Clark

embed.h doesn't work in C++

2004-04-22 Thread Nicholas Clark
`typedef struct Parrot_Interp*Parrot_Interp' Pain being due to these two: struct Parrot_Interp; typedef struct Parrot_Interp *Parrot_Interp; This doesn't seem right. Nicholas Clark

Re: pants ponie performace

2004-05-10 Thread Nicholas Clark
On Sat, May 08, 2004 at 11:40:10AM +0100, Nicholas Clark wrote: > So I've fixed that and now it all runs in reasonable time. (As for all its > inherent horrors, perl's reference counting pretty much gets it right as to > when it's time to free up something) Reasonabl

Re: pants ponie performace

2004-05-10 Thread Nicholas Clark
I should check my aliases before hitting send, shouldn't I? - Forwarded message from Nicholas Clark <[EMAIL PROTECTED]> - Mailing-List: contact [EMAIL PROTECTED]; run by ezmlm Precedence: bulk From: Nicholas Clark <[EMAIL PROTECTED]> To: [EMAIL PROTECTED], [EMAIL PROTE

Re: [perl #29257] Build libnci.so by default

2004-05-07 Thread Nicholas Clark
On Fri, May 07, 2004 at 11:56:10AM +0200, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > > 0x0002e354 in pobject_lives (interpreter=0x1000200, obj=0xd13a68) > > > Ok, that'

writing PMCs (documentation)

2004-05-07 Thread Nicholas Clark
r as I can tell nowhere in any documentation files, and there aren't many comments about it in include/parrot/pobj.h I don't find any documentation saying "if you do this you'll need to do that in a destructor else you'll leak". Am I missing something obvious? Nicholas Clark

pants ponie performace

2004-05-07 Thread Nicholas Clark
7 0.00 0.00 Perl_macro_SvPVX 0.03 1270.87 0.38 1632298 0.00 0.00 Perl_pp_regcomp 0.03 1271.23 0.37 1808077 0.00 0.00 Perl_pp_match Any suggestions on what stats to gather to try to work out where things are going wrong? Nicholas Clark

assertion in headers.c breaks OS X

2004-05-07 Thread Nicholas Clark
;t seem to fail on Linux (with notgcc 2.96) so I'm somewhat at a loss as to what to fix. Nicholas Clark

Re: pants ponie performace

2004-05-07 Thread Nicholas Clark
On Fri, May 07, 2004 at 06:57:24PM +0200, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > With all the perl scalars now indirecting through PMCs, Ponie's performance > > has dropped. Not surprising, in the general case, but the performance of >

Re: assertion in headers.c breaks OS X

2004-05-07 Thread Nicholas Clark
On Fri, May 07, 2004 at 08:17:05PM +0200, Leopold Toetsch wrote: > Ah yes. Needs > > #if ARENA_DOD_FLAGS > > around. Fixed Thanks. Everything compiles again now, and all tests pass (after I do the little .so -> .dylib dance) Nicholas Clark

Re: Embedding and stack

2004-05-07 Thread Nicholas Clark
ho is in a position to structure their own code/project to set the stack top once and in the correct place) How should this be? Nicholas Clark diff -d -u -r1.26 extend.c --- src/extend.c3 May 2004 12:29:02 - 1.26 +++ src/extend.c7 May 2004 20:15:20 - @@ -789,6 +789

Re: assertion in headers.c breaks OS X

2004-05-07 Thread Nicholas Clark
On Fri, May 07, 2004 at 03:11:54PM -0600, Luke Palmer wrote: > Nicholas Clark writes: > > Thanks. Everything compiles again now, and all tests pass > > (after I do the little .so -> .dylib dance) > > I'm new to OS X. Might you describe said dance? We haven

Re: pants ponie performace

2004-05-07 Thread Nicholas Clark
On Fri, May 07, 2004 at 10:09:10PM +0200, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > The PMC only used the PMC_data member to store a pointer on to a perl5 > > SV body. > > That's suboptimal :) Please have a look at the timings I

Re: pants ponie performace

2004-05-08 Thread Nicholas Clark
On Sat, May 08, 2004 at 10:01:56AM +0200, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > [ half second DODs ] > > > 0.07 1266.73 0.86 9459863 0.00 0.13 get_free_object_df > > > 0.05 1268.18 0.62 1240633

Re: Outstanding parrot issues?

2004-04-30 Thread Nicholas Clark
On Fri, Apr 30, 2004 at 01:54:58PM +0200, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > > 1: Right now, would it be possible for parrot only to install its signal > >handlers when it starts the runloop? > >(given that ponie isn'

Re: Outstanding parrot issues?

2004-04-30 Thread Nicholas Clark
t you link against existing (unchanged) C code. It's possibly not an issue long term for ponie (as a stand alone interpreter), except that it would mean that ponie couldn't be embedded in the way that perl5 currently can be embedded. Nicholas Clark

Re: Outstanding parrot issues?

2004-04-30 Thread Nicholas Clark
On Fri, Apr 30, 2004 at 06:25:50PM +0200, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > This is true. And yes you need to set a stack top if you're expecting the > > stack walking to find things you own. But I'm thinking about the c

t/pmc/dumper.t test 9 fails

2004-05-03 Thread Nicholas Clark
l when parrot is built as ponie (which as far as I can tell involves 3 more PMC classes being added to the parrot source tree) And where should I start to dig to work out what is wrong? I tried perl -I lib t/pmc/dumper.t from the parrot directory, and earlier tests (6 and 7) fail but test 9 passes. Nicholas Clark

Re: embed.h doesn't work in C++

2004-05-03 Thread Nicholas Clark
to save us a couple kilobytes. Wibble. I hacked perl's Configure instead. It felt like the less painful option. Nicholas Clark

Re: Embedding and stack

2004-05-03 Thread Nicholas Clark
l foul of the above. Effectively the embedder is playing by the same rules as Leo said that we have to have for a nested call to the runloop - anything calling the runloop must ensure that all PMCs are anchored. Nicholas Clark

Re: Embedding and stack

2004-05-03 Thread Nicholas Clark
On Mon, May 03, 2004 at 04:36:38PM -0400, Dan Sugalski wrote: > At 9:33 PM +0100 5/3/04, Nicholas Clark wrote: > >On Mon, May 03, 2004 at 10:46:28AM -0400, Dan Sugalski wrote: > > > >> 3) The embedding wrapper is responsible for setting and resetting the > >> t

Re: TODO: Linker magic step for configure

2004-05-05 Thread Nicholas Clark
e may have to throw in a config/auto/linker.pl file to > identify the linker, along with linker-specific config modules. Which implies that platforms may exist where it's not possible to do this. (surely?) Nicholas Clark

Re: [perl #29257] Build libnci.so by default

2004-05-05 Thread Nicholas Clark
r-e-mail session with someone at Boeing, but I don't think that we managed to get all the bugs nailed down. Nicholas Clark

Re: [perl #29257] Build libnci.so by default

2004-05-06 Thread Nicholas Clark
/embed.c:742 #11 0xf960 in Parrot_runcode (interpreter=0x1000200, argc=1, argv=0xb784) at src/embed.c:676 #12 0x00004284 in main (argc=1, argv=0xb784) at imcc/main.c:556 Nicholas Clark

Re: [perl #29257] Build libnci.so by default

2004-05-06 Thread Nicholas Clark
On Thu, May 06, 2004 at 04:43:53PM +0200, Leopold Toetsch wrote: > Nicholas Clark <[EMAIL PROTECTED]> wrote: > > > +$(LIBNCI_SO): $(SRC)/nci_test$(O) > > $(LD) $(LD_SHARED) $(LDFLAGS) \ > > $(LD_OUT)$@ $(SRC)/nci_test$(O) > > Win32 additionally

Re: [perl #29257] Build libnci.so by default

2004-05-06 Thread Nicholas Clark
On Thu, May 06, 2004 at 06:21:23PM +0200, Leopold Toetsch wrote: > Nicholas Clark wrote: > > 0 loadlib P1, "libnci" - P1=NULL, > > 3 dlfunc P0, P1, "nci_pi", "pi"- P0=NULL, > > P1=ParrotLibrary=PMC(0x200f7f0), , DOD > &

Re: [perl #29653] segf oiazerg iozerg

2004-05-17 Thread Nicholas Clark
On Mon, May 17, 2004 at 05:21:05AM -0700, jquelin @ mwinf0401. wanadoo. fr wrote: > dflguqfgulqf g So the new parrotbug works? :-) > LANGUAGE=en_US:en ? Isn't that an oxymoron?

Re: Non-flow-control logical tests

2004-05-25 Thread Nicholas Clark
d hence whether this is still the case. It doesn't look like anyone has added anything to the JIT recently: $ ls -l jit/arm/ total 72 drwxr-xr-x 5 nick nick170 6 May 17:42 CVS -rw-r--r-- 8 nick nick 27256 19 Oct 2002 core.jit -rw-r--r-- 8 nick nick 3561 23 Apr 10:20 exec_dep.h -rw-r--r-- 8 nick nick 37553 23 Apr 10:20 jit_emit.h Nicholas Clark

Re: Bit ops on strings

2004-05-25 Thread Nicholas Clark
o the code point splitting) and writing the values out as 32 bit quantities there and then will take virtually no more CPU, but save lots later. Or is this now all gone, because there will be Unicode everywhere and strings will get converted at input IO time? Nicholas Clark

Re: Bit ops on strings

2004-05-25 Thread Nicholas Clark
ad pitching exceptions at conversion time? Nicholas Clark

Re: Bit ops on strings

2004-05-26 Thread Nicholas Clark
ly for fixed width, UCS 32 (IIRC). The only thing that might be useful to cache on a UTF8 string is the highest code point seen, so that we know whether to unpack to 8, 16 or 32 bit without a scan. Presumably we can find this when we input validate on the "conversion" from binary to UTF8. Nicholas Clark

Re: MMD table setup semantics

2004-05-27 Thread Nicholas Clark
terested in is finding the closest, not the distance itself, what's wrong with using square of geometric distance? (Given that the squares of positive numbers sort in the same order as the numbers themselves.) One can also do weightings with this still in integer arithmetic, if weightings are small positive integers. (And we don't overflow) Nicholas Clark

Re: PIO_read, PIO_reads

2004-05-29 Thread Nicholas Clark
be malloc()ed, rather than grabbed from something parrot can pass onwards through PMCs? Is the intent to keep the IO system isolated from most of parrot, so that it still works during VM setup/teardown? Am I guilty of premature optimisation here? Nicholas Clark

Re: $ENV{ICU_DATA_DIR}

2004-05-31 Thread Nicholas Clark
arrot_getenv("ICU_DATA_DIR", &free_data_dir); Is ICU_DATA_DIR something the ICU folks define? Or something we define? And if the latter, shouldn't it be called PARROT_ICU_DATA_DIR? Nicholas Clark

Re: [perl #30095] [PATCH] Update required build tools in README

2004-06-09 Thread Nicholas Clark
In the meantime, however, this patch summarizes the > current state of affairs. The work around for (2) could be to bundle File::Spec 0.87 from CPAN. For that matter the work around for (1) could be to bundle Math::BigInt from CPAN. :-) Nicholas Clark

Re: [perl #30095] [PATCH] Update required build tools in README

2004-06-09 Thread Nicholas Clark
On Wed, Jun 09, 2004 at 09:46:52AM -0700, chromatic wrote: > On Wed, 2004-06-09 at 03:53, Nicholas Clark wrote: > > > The work around for (2) could be to bundle File::Spec 0.87 from CPAN. > > For that matter the work around for (1) could be to bundle Math::BigInt > >

grrrrr. #define should be typedef

2004-06-11 Thread Nicholas Clark
d by swearing and cursing and time wasted grepping to find out what a STRING is. Is there any reason not to have a coding standard that typedef should be used whenever possible (and non-uses must have their reason commented?) Nicholas Clark

Re: [perl #30220] off by one in string_unescape_cstring

2004-06-12 Thread Nicholas Clark
On Fri, Jun 11, 2004 at 06:23:05AM -0700, Nicholas Clark wrote: > buffer. I'm not sure if the check on meeting the delimiter midway is now > unnecessary. It's not clear if that code is only there to deal with > terminating when the end delimiter is encountered, and the end

Re: [perl #30241] t/pmc/fixedfloatarray.t SEGV on x86 Linux

2004-06-12 Thread Nicholas Clark
On Sat, Jun 12, 2004 at 02:57:18PM -0700, Nicholas Clark wrote: > I suspect a memory corruption bug, as it it doesn't look like the specific > arguments to this malloc are bogus. I can't recreate this problem at all > on x86 FreeBSD or on OS X. I find the x86 FreeBSD

Re: [perl #30241] t/pmc/fixedfloatarray.t SEGV on x86 Linux

2004-06-12 Thread Nicholas Clark
On Sat, Jun 12, 2004 at 11:32:16PM +0100, Nicholas Clark wrote: > Er, oops. OS X wasn't uptodate. Test 8 crashes. Will the guard malloc I get > further: > > (gdb) print data[512] > Cannot access memory at address 0xb30a3000 > (gdb) wh

<    1   2   3   4   5   6   7   8   9   10   >