Re: uploaded TVision module to cpan but it hasn't been indexed properly

2025-03-04 Thread Aldo Calpini
hi Vadim, looks like there's no PM file in your upload, there's only TVision.xs. even running perl Makefile.PL I get this error: Could not open 'TVision.pm': No such file or directory at /usr/share/perl/5.34/ExtUtils/MM_Unix.pm line 2967. hope this helps... cheers, Aldo

Re: [perl-win32-gui-users] Displaying multiple lines in window

2017-11-10 Thread Aldo Calpini
On 10/11/17 07:55, Oshri Shomrony wrote: Hello, I'm using perl 5.24 with win32::GUI. I would like to open a window and display on it multiple lines taken from an array. I would also like it to be scrollable in case the window is smaller than the text size. for some reason, using "\n" doesn'

Re: Module heirarchy naming for SPI/I²C device drivers

2015-10-22 Thread Aldo Calpini
On 22/10/15 12:39, Matthew Astley wrote: Cool! The Bus::I2C:: namespace seems safe. Short, unambiguous, unlikely to have a legitimate claim from software. I would personally keep Device, most of the hardware-related stuff on CPAN (not much, but still) is already in that namespace. Bus, by it

Re: Exclude tests from regular tests

2015-06-26 Thread Aldo Calpini
On 20/06/15 12:52, K. Wittrock wrote: set PERL5LIB=lib prove xt set PERL5LIB= you can get rid of the silly PERL5LIB stuff with: prove --lib xt also, be aware that testing the not-yet-built lib folder isn't going to work for XS modules, or any module which does something more than just copyi

Re: [perl-win32-gui-users] Win32-GUI-1.09

2014-11-07 Thread Aldo Calpini
On 07/11/14 12:49, kmx wrote: > Win32-GUI-1.09 is available on CPAN > > Build logs seems to be all green: > http://matrix.cpantesters.org/?dist=Win32-GUI%201.09 > https://code.activestate.com/ppm/Win32-GUI/ nice job, kmx! thanks a lot :-) cheers, Aldo

Re: Correct placement for modules for making Apple Configuration Profiles

2014-09-09 Thread Aldo Calpini
On 07/09/14 09:43, Alfred Karl Kornel wrote: Any advice would be appreciated! For me, it's a tossup between XML::AppleConfigProfile and XML::Apple::ConfigProfile, but I may have missed something obvious. What about just: File::PList ? cheers, Aldo

Re: Personal Dashboard on MetaCPAN

2014-05-12 Thread Aldo Calpini
On 05/12/2014 06:06 PM, Gabor Szabo wrote: If you are a CPAN author logged in to MetaCPAN you can ehm... sorry, I'm probably missing something very obvious here, but how do you login to MetaCPAN as a CPAN author? all I can see is Facebook/Github/Twitter/Google, there is no CPAN (or PAUSE) o

Re: [perl-win32-gui-users] Perl-Win32-GUI support query

2014-01-14 Thread Aldo Calpini
On 01/14/2014 03:53 PM, Trebilcock, Richard wrote: > > Good afternoon, > > I am an ILS Engineer working for CGI IT UK Limited. At the present > time I am looking at software obsolescence issues that relate to the > project I am working on. On this project we use Perl-Win32-GUI > hello Richard.

[rt.cpan.org #64857] possible to use multiple soundcards?

2013-12-19 Thread Aldo Calpini via RT
Thu Dec 19 04:25:25 2013: Request 64857 was acted upon. Transaction: Correspondence added by ACALPINI Queue: Win32-Sound Subject: possible to use multiple soundcards? Broken in: 0.49 Severity: Important Owner: Nobody Requestors: stefa...@cpan.org Status: open Tick

Re: Unclear as to problem: Tried to register 'Types', but says can't due to unrelated module.

2013-11-13 Thread Aldo Calpini
On 11/13/2013 04:43 PM, Linda W wrote: The indexing system is broken, IMO... no, version 0.11 of Net::ICal is broken. http://cpansearch.perl.org/src/EBUSBOOM/Net-ICal-0.11/lib/Net/ICal/Types.pm it says "package Types" instead of "package Net::ICal::Types". again, an accident. no one reserved

Re: (FYI)...Module naming collision Or mirage?

2013-11-13 Thread Aldo Calpini
On 11/13/2013 10:04 AM, Linda W wrote: Um... but Sisyphus says it's not a real module -- it is never installed. How is this different than domain sitting? you already got a reply to this from Leon: > PAUSE automatically indexes everything it can find, unless you tell it otherwise indexed m

Re: (FYI)...Module naming collision Or mirage?

2013-11-12 Thread Aldo Calpini
On 11/13/2013 06:43 AM, Linda A. Walsh wrote: ??? Who is Ingy and how does he come into the picture? Ingy is the original author of the first version of Inline: http://search.cpan.org/~ingy/Inline-0.44/ Sisyphus is the current maintainer. I.e. if I just cleared the namespace ... someone else

Re: Perl's Win32::API on MSYS

2013-10-06 Thread Aldo Calpini
On 10/04/2013 08:07 PM, bulk 88 wrote: So SUPER class works. My code has to get the original makefile chunk MM would have put there and then manipulate it. But I tried to not be dependent on MM's design so I didn't want to call an absolute named method/sub so I switch packages in the sub and d

Re: Perl's Win32::API on MSYS

2013-10-04 Thread Aldo Calpini
On 10/04/2013 03:11 PM, Sebastian Schuberth wrote: Anyway, the fact that the method is not found indicates that there's no fallback to MM_Unix.pm. no, there is (or there *should* be, at least). this line: @ISA = qw( ExtUtils::MM_Any ExtUtils::MM_Unix ); tells that ExtUtils::MM_Win32 is a s

Re: Perl's Win32::API on MSYS

2013-10-02 Thread Aldo Calpini
On 10/02/2013 08:37 AM, bulk 88 wrote: The commit looks very broken. var $dlib becomes an undeclared global. I did test Win32::API with Visual C Perl 5.6 with also, defined(&SUPER::cflags) is SUPER::broken :-) a better approach could be: my $dlib = eval {$self->SUPER::cflags(@_) }; # e

Re: Conditional installation of XS (or graceful fallback)

2013-09-19 Thread Aldo Calpini
On 09/19/2013 08:20 AM, David Oswald wrote: That's too late, isn't it? If the user types, "cpan install List::BinarySearch", Makefile.PL doesn't get executed until after the target module is pulled in. Prereqs are specified in the distribution's META.* files. By the time Makefile.PL is run, th

Re: Name for pragma type module?

2013-07-24 Thread Aldo Calpini
On 07/23/2013 04:37 PM, Jim Schueler wrote: One option is to release this module as a pragma. Note the difference in invocation: ## Function::ReturnScalar name used in blog example use Function::ReturnScalar ; ## pragma use base Function::ReturnScalar ;## standard a smal

Re: [perl-win32-gui-users] Window doesn't redraw

2013-04-04 Thread Aldo Calpini
On Mon, April 1, 2013 11:24 am, Soren Hein wrote: > I'm drawing stuff in a window, then minimizing the window to the bottom > part of the screen using the Windows underscore symbol. When my mouse > hovers over the minimized icon, the content is still there. When I click > on the icon to reopen t

Re: html pod doesn't honor S

2013-03-08 Thread Aldo Calpini
On Thu, March 7, 2013 10:24 pm, Linda W wrote: > Is this a limitation or a unfixed bug? > > I noticed the html version on cpan of my module looked poopy... it was > all broken funny and things that lined up on a terminal didn't (C culpa>). > > But I also noticed non-breaking spaces ignored...? I t

Re: in running test on a module -- where is the module ?

2013-03-01 Thread Aldo Calpini
On Fri, March 1, 2013 11:20 am, Linda W wrote: > This is the one I was using... > But I was in the 't' dir, and my test tried to access > the module using ../lib/module.pm you should run "make test" from the distribution folder, not from t (wouldn't work anyway, since the Makefile is not inside t)

Re: in running test on a module -- where is the module ?

2013-03-01 Thread Aldo Calpini
On Fri, March 1, 2013 9:58 am, Linda W wrote: > I developed a few tests for a module I was trying to get on to CPAN. > > They worked when I ran them in the 't' directory. > > But under the test harness, they failed... it couldn't find > the module files. if by "test harness" you mean prove, then y

Re: Help me choose a name for a Beta Code conversion module

2012-12-07 Thread Aldo Calpini
On Wed, December 5, 2012 6:17 pm, Dimitrios - Georgios Kontopoulos wrote: > I wasn't able to find any such module at the CPAN. The PAUSE naming > guidelines seem to suggest that something like Lingua::BetaCode would be a > good choice, but I'll wait for your advice. > > Any ideas? I think Text::B

Re: XML XParent schema module name

2012-07-05 Thread Aldo Calpini
On 07/04/2012 03:45 PM, Marco Masetti wrote: 1) do you find such a module could be usefull ? yes, I think it would definitely be useful. 2) what could be the module namespace, XML::XParent or XParent::Schema ? I would prefer the first option, as most of the stuff related with XML already find

[rt.cpan.org #78081] ::Struct inside ::Struct is always inline, never a pointer

2012-06-28 Thread Aldo Calpini via RT
Thu Jun 28 04:14:26 2012: Request 78081 was acted upon. Transaction: Correspondence added by ACALPINI Queue: Win32-API Subject: ::Struct inside ::Struct is always inline, never a pointer Broken in: 0.68 Severity: Normal Owner: Nobody Requestors: bul...@cpan.org Sta

Re: XML-LibXML's 2.* Versioning Scheme: Please Advise.

2012-05-31 Thread Aldo Calpini
On 05/31/2012 10:31 AM, Shlomi Fish wrote: 4. "2.x.y" - I use this for my open source C projects and some of my CPAN modules and perl 5 and Parrot use it as well. Is it well supported with the CPAN toolchain? Also note that, at least concerning Perl, it looks like 4, but is really 2 :-) That

Re: rewrote Win32::API::Callback

2012-05-22 Thread Aldo Calpini
On 05/21/2012 07:59 PM, bulk 88 wrote: What should I do with the old Win32::API::Callback XS code? if the new code makes the old one really useless, just delete it. the project is under version control anyway (github), and there are copies of older version on CPAN and backpan, so nothing is

Re: 3 Win32::API bugs

2012-05-11 Thread Aldo Calpini
On 05/10/2012 06:00 PM, bulk 88 wrote: I still don't know what letter to use for shorts. $ has no lower case version for signed short. H is too closed to hex numbers and pack's existing H unpack feature letter (H="Half"), someone might want to put in a 'H' type code one day to get strings back

Re: 3 Win32::API bugs

2012-05-09 Thread Aldo Calpini
On 05/09/2012 09:23 AM, Cosimo Streppone wrote: I have a few questions though, maybe you can answer them. Why is there a T_INTERGER and T_NUMBER flag? I see T_INTEGER is mapped to T_NUMBER. Why did T_INTEGER ever exist? or is T_INTEGER just a 4 byte integer and T_NUMBER is a 4/8 byte integer? T

Re: 3 Win32::API bugs

2012-05-08 Thread Aldo Calpini
On 05/08/2012 10:40 AM, Cosimo Streppone wrote: Anyone cares enough to step in? I can do it :-) but please don't hold your breath! it can take me quite some time (let's say, between a few weeks and some months), since I'm pretty busy too. thanks and ++ to Cosimo for the many wonderful thing

Re: RFC: Arduino::Pseudo

2012-05-04 Thread Aldo Calpini
On 05/04/2012 04:10 PM, Shlomi Fish wrote: Shouldn't it be under an Emulation namespace? ("Emu::" etc.) Or have I misunderstood the purpose of this module? there's no such thing as an Emulation namespace currently :-) furthermore, I'm afraid people will incorrectly think the module emulates t

RFC: Arduino::Pseudo

2012-05-04 Thread Aldo Calpini
hello CPAN fellows, I'm toying with Arduino lately, and I wrote myself a sort of Arduino pseudocode simulator. in Perl :-) basically, it's just a Wx::App which tries to mimic the working of an Arduino, with visible widgets for physical components like pushbuttons, leds and potentiometers.

Re: How to create a Win32::API::Struct struct if the struct has union in it?

2011-12-01 Thread Aldo Calpini
On 27.11.2011 02:29, Burak Gürsoy wrote: Hi, I'm wondering about how to create a SYSTEM_INFO structure from Perl: http://msdn.microsoft.com/en-us/library/windows/desktop/ms724958(v=vs.85).aspx to pass this to GetNativeSystemInfo(). Win32::API::Struct->typedef() seems to support simple structs

Re: MetaCPAN is quickly becoming the de-facto interface to CPAN

2011-07-29 Thread Aldo Calpini
On 29.07.2011 17:39, David Cantrell wrote: https://encrypted.google.com/ ah, ok. but that's explicitly requesting for https, which is something different from eg. github, which really redirect http requests to https. I don't question that there's a trend here, and I don't particularly advoc

Re: MetaCPAN is quickly becoming the de-facto interface to CPAN

2011-07-29 Thread Aldo Calpini
On 29.07.2011 13:58, sawyer x wrote: I like to work in HTTPS (and we should, really, in a secure world). Many websites already moved to it by default such as github.com , all google sites, workflowy.com , foursquare and more. just out of curiosity, where

[Perl-win32-gui-cvscommit] Win32-GUI/t 02_background.t,NONE,1.1

2011-07-16 Thread Aldo Calpini
This is an automatically generated mail from the syncmail system. Do not reply directly to this email. Further discussion should take place on the hackers list: perl-win32-gui-hack...@lists.sourceforge.net Update of /cvsroot/perl-win32-gui/Win32-GUI/t In directory vz-cvs-2.sog:/tmp/cvs-serv306

[Perl-win32-gui-cvscommit] Win32-GUI CHANGELOG, 1.149, 1.150 GUI.h, 1.32, 1.33 GUI.xs, 1.68, 1.69 GUI_Helpers.cpp, 1.27, 1.28 GUI_Options.cpp, 1.17, 1.18

2011-07-16 Thread Aldo Calpini
ta(perlud)) { PERLUD_FETCH; /* fetch context */ ! //Tracker 1941264: Check if perlud->avHooks contains NULL. This was causing //a crash although it should not be possible that this is zero. It's likely --- 763,767 if(ValidUserData(perlud)) {

Re: [perl-win32-gui-users] New folder option on Browse for folder

2011-07-16 Thread Aldo Calpini
On 31.08.2010 01:12, Hulley, Rob (APJ GCC Storage TPM) wrote: > Hi Everyone, > > I am using “Win32::GUI::BrowseForFolder” . > > I cannot work out how to add the “create new” option as seen on other > “browse for folder” windows. > > Is this feature available? hi, I just added two options to the B

Re: [perl-win32-gui-users] problem of reusing memory

2011-07-16 Thread Aldo Calpini
On 24.03.2011 10:36, Jeremy White wrote: > Hi, > > Cool - do some major testing with your app, and if things are still OK, > the fix (well, a version of it) will get committed to CVS. I committed the changes to fix the -background option GDI object leak. I also added a -backgroundbrush option, wh

Re: printing a pdf file from perl

2011-06-22 Thread Aldo Calpini
On 22.06.2011 05:11, Pilcrow wrote: I want to print the file from my perl program without launching Adobe Reader. this PerlMonks post could be of help: http://www.perlmonks.org/?node_id=824842 basically, 3 different approaches are mentioned there: 1. use Win32::OLE 2. use system() to invoke

Re: Win32::API 0.62 cpantesters feedback: Use of inherited AUTOLOAD ...

2011-04-01 Thread Aldo Calpini
On 01.04.2011 03:34, Cosimo Streppone wrote: Can someone help me understand these two analogous failures reported by cpan testers with 5.10? On 5.12 seems to work fine, which is weird to me. I'm afraid the problem is not AUTOLOAD-related, but rather coming from the error before that: Error:

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-25 Thread Aldo Calpini
On 25.03.2011 11:07, Waldemar Biernacki wrote: > Until now I rewrote my application to use the fix and first tests are really > promising. By the way, this tremendous GDI object number was due to the fact > that each label and textfield had its own font which in turn is just GDI > object > and the

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-25 Thread Aldo Calpini
On 23.03.2011 17:12, Jeremy White wrote: > My code was only a hack:) Yes, perlud_free is the ideal place - go ahead > an commit it to CVS:) good, if I remember how to do it :-) (not using CVS anymore since years...) > There may be other objects that need deleting (fonts) and it looks like > there

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-23 Thread Aldo Calpini
On 23.03.2011 15:42, Jeremy White wrote: > I'm not sure the approach I use would help you as I draw the whole > screen (fonts, graphics, backgrounds etc). I've looked at this again, > and I think I've fixed the bug within Win32::GUI. You mentioned that you > built Win32::GUI from scratch, so if you

Re: [perl-win32-gui-users] problem of reusing memory

2011-03-21 Thread Aldo Calpini
On 19.03.2011 22:40, Waldemar Biernacki wrote: > My question: Does anybode can show me how I could use the memory of deleted > objects again? see http://sourceforge.net/mailarchive/message.php?msg_id=24270723, it should help with your issue. cheers, Aldo

[rt.cpan.org #53914] Bug report for Win32::API::Callback

2010-09-07 Thread Aldo Calpini via RT
Tue Sep 07 07:51:32 2010: Request 53914 was acted upon. Transaction: Correspondence added by ACALPINI Queue: Win32-API Subject: Bug report for Win32::API::Callback Broken in: (no value) Severity: (no value) Owner: Nobody Requestors: perls...@mail.bg Status: open T

Re: RFC: Automated Assistance with Module Naming and Projection

2010-08-25 Thread Aldo Calpini
On 25.08.2010 03:02, Xiong Changnian wrote: You may find the register in which I write overly formal. I don't wish to insult anyone who may be more comfortable writing in another style. I struggle to write clearly and accurately. I'm aware that my words here are immutable and I cannot suffer poor

Re: Names and ideas for new modules

2010-03-16 Thread Aldo Calpini
cr...@animalhead.com wrote: Someone got excited when I mentioned and posted some WPAD code here a week or two ago, so it may be worthwhile to post it as a module. The second name should probably be WPAD, but what category does it belong in? HTTP::WPAD? IP::WPAD? Proxy::WPAD? Module::WPAD?

Re: Module::Build question

2010-02-17 Thread Aldo Calpini
cr...@animalhead.com wrote: Q: How can a test program tell if it's running in verbose mode? you don't. use note($message) from Test::More to output things that should be seen only in verbose mode. cheers, Aldo

Re: [perl-win32-gui-users] updating the window/screen

2010-01-20 Thread Aldo Calpini
merryxmas wrote: > i have tried many plans but failed. there is Update, and restore functions > but it seems it is not working. after the wingui code i present a TK code to > the same problem and it is working well. comparison with Tk is not fair, you are creating Labels with text "." there, whic

Re: libwin32 repository on github

2010-01-20 Thread Aldo Calpini
Cosimo Streppone wrote: Git on windows was painful to set up for me. And no, I don't like to run msysGit, it just adds another complication. After battling for a while, I can now run git.exe in my regular command line window, but I had to copy stuff manually etc... but it's not really straightfo

[rt.cpan.org #53264] Memory leak in _SetStdHandle() in child process

2010-01-04 Thread Aldo Calpini via RT
Mon Jan 04 04:09:17 2010: Request 53264 was acted upon. Transaction: Correspondence added by ACALPINI Queue: Win32-Console Subject: Memory leak in _SetStdHandle() in child process Broken in: (no value) Severity: Critical Owner: Nobody Requestors: rcap...@cpan.org S

Re: [perl-win32-gui-users] memory leak problem

2009-12-29 Thread Aldo Calpini
Andrey wrote: > Memory leak cannot be normal for any program. So, it is either Perl bug or > Win32::GUI bug I don't know exactly where (or what) the bug is, but I found a workaround. problem is, the Win32 heap is not freed (or garbage collected, or whatever) while the window is active. if you m

Re: [perl-win32-gui-users] Save icon from Exe file

2009-12-29 Thread Aldo Calpini
Alain Morillon wrote: > Hi, > > Is there a solution in order to save into a file some Icons which has been > extracted from Exe file ? there is an undocumented write_iconfile method in Win32::Exe::IconFile. so I guess this (untested!) is what you want: $icon->write_iconfile("foo.ico"); che

Re: flame bait: execution speed Perl vs. C (Date::Calc::PP vs. Date::Calc::XS)

2009-11-18 Thread Aldo Calpini
Aristotle Pagaltzis wrote: This is flame bait? Why is this flame bait? well, if nothing else works, this could easily be turned into a Date::Calc vs. DateTime flame bait :-) cheers, Aldo

Re: Failed: PAUSE indexer report LETO/Net-Topsy-0.02.tar.gz

2009-09-23 Thread Aldo Calpini
Fayland Lam wrote: Why not just: package Net::Topsy; use MooseX::Declare; class Net::Topsy { }; one more 'package Net::Topsy;' is fine. /me thinks this should be documented in big, flaming red, blinking letters in the MooseX::Declare POD. cheers, Aldo

Re: Speaking of namespace advice...

2009-08-06 Thread Aldo Calpini
Curtis Jewell wrote: I've got a module that... well, the idea is that it's the Module::CoreList for Strawberry. What should I call it? Module::List::Strawberry and Strawberry::ModuleList both come to mind. what's wrong with just Module::CoreList::Strawberry? cheers, Aldo

[rt.cpan.org #14811] Win32::Console::Mode unable to work correctly. (Input Handle)

2009-03-16 Thread Aldo Calpini via RT
Mon Mar 16 08:48:25 2009: Request 14811 was acted upon. Transaction: Correspondence added by ACALPINI Queue: Win32-Console Subject: Win32::Console::Mode unable to work correctly. (Input Handle) Broken in: (no value) Severity: Important Owner: ACALPINI Requestors: bugspam

Re: ARGH! (was FW: Perl Critic and (honest) hash references)

2009-02-19 Thread Aldo Calpini
Ovid wrote: Readonly constants are just easier to use and have fewer "gotchas". they have indeed, when you need to access the constants from outside of the module they are declared in (which is a pretty common case). cfr. Foo::Bar::CONSTANT_FIELD vs. $Foo::Bar::CONSTANT_FEILD. the latter fo

Re: autoabbrev algorithm from Getopt::Long

2009-02-13 Thread Aldo Calpini
Darren Chamberlain wrote: What's wrong with Text::Abbrev? It's been part of the core for a long time. if you ask what's wrong, that's the POD. the name is set to 'abbrev', it sort of even breaks search.cpan.org. I guess many don't know about the module for this reason :-) cheers, Aldo

Re: PAUSE not syncing with RT?

2007-06-14 Thread Aldo Calpini
Andy Armstrong wrote: There's been major borkage in Perl hosting world: http://log.perl.org/ I imagine it may be an artifact of that. yup, it makes sense. will mail the webmaster about this, thanks. cheers, Aldo

PAUSE not syncing with RT?

2007-06-13 Thread Aldo Calpini
hello, I have a little (very little) problem with the RT at rt.perl.org, used to mantain requests about my CPAN modules. some days ago I got a bug report[1], promptly (!) fixed it and released the update on CPAN (using PAUSE). I have already closed the ticket on rt.perl.org. then, to end the

Re: [perl #41724] [BUG] miniparrot fails to build on strawberry perl

2007-03-07 Thread Aldo Calpini
Jerry Gay (via RT) ha scritto: i suspect there's trouble with the platform-specific c/h files, given the nature of the warnings during build. the configure/make output is below. the only relevant warning I see is: config/gen/platform/win32/exec.c: In function `Parrot_Exec_OS_Command': conf

Re: [perl #41724] [BUG] miniparrot fails to build on strawberry perl

2007-03-07 Thread Aldo Calpini
Jerry Gay (via RT) ha scritto: i suspect there's trouble with the platform-specific c/h files, given the nature of the warnings during build. the configure/make output is below. the only relevant warning I see is: config/gen/platform/win32/exec.c: In function `Parrot_Exec_OS_Command': conf

[Cegcc-devel] CeGCC bug report

2007-02-23 Thread Aldo Calpini
hello there, yesterday I submitted a bug report using the tracker on SourceForge. the address is: http://sourceforge.net/tracker/index.php?func=detail&aid=1666403&group_id=173455&atid=865514 I've noticed that the tracker does not seem to be used, so I don't know if you even received a notificati

Re: Cross-compiling Parrot

2007-02-23 Thread Aldo Calpini
Allison Randal ha scritto: We do. Unfortunately we can't rely on Perl 5 for the configure system. It may seem like an easy way to gain cross-compilation in the short term, but in the long term it will hurt us. Miniparrot is the right way to go. It certainly needs work, though. As you're think

Re: Cross-compiling Parrot

2007-02-23 Thread Aldo Calpini
Allison Randal ha scritto: We do. Unfortunately we can't rely on Perl 5 for the configure system. It may seem like an easy way to gain cross-compilation in the short term, but in the long term it will hurt us. Miniparrot is the right way to go. It certainly needs work, though. As you're think

Re: Cross-compiling Parrot

2007-02-21 Thread Aldo Calpini
Joshua Isom ha scritto: Using perl 5's configure probes also somewhat limits us to how the vendor distributed perl. It should also be considered that we can't rely on perl5 being available, especially since we intend to replace it eventually, so rewriting all the perl to support cross compilin

Re: Cross-compiling Parrot

2007-02-21 Thread Aldo Calpini
Joshua Isom ha scritto: Using perl 5's configure probes also somewhat limits us to how the vendor distributed perl. It should also be considered that we can't rely on perl5 being available, especially since we intend to replace it eventually, so rewriting all the perl to support cross compilin

Re: Cross-compiling Parrot

2007-02-21 Thread Aldo Calpini
jerry gay ha scritto: On 2/20/07, Aldo Calpini <[EMAIL PROTECTED]> wrote: 1) does anybody have objections to patching the current build system for cross-compilation (even "yes, but not now because..." objections)? no objection here! this is a long-desired feature, and is curre

Re: Cross-compiling Parrot

2007-02-21 Thread Aldo Calpini
jerry gay ha scritto: On 2/20/07, Aldo Calpini <[EMAIL PROTECTED]> wrote: 1) does anybody have objections to patching the current build system for cross-compilation (even "yes, but not now because..." objections)? no objection here! this is a long-desired feature, and is curre

Cross-compiling Parrot

2007-02-20 Thread Aldo Calpini
back in 2004, Dan Sugalski wrote: http://www.nntp.perl.org/group/perl.perl6.internals/2004/09/msg25521.html nowadays my effort of porting Parrot to the PocketPC platform, as you may have suspected, force me to reopen the question. there is, I know, a lot of work to be done. and this will sure

Cross-compiling Parrot

2007-02-20 Thread Aldo Calpini
back in 2004, Dan Sugalski wrote: http://www.nntp.perl.org/group/perl.perl6.internals/2004/09/msg25521.html nowadays my effort of porting Parrot to the PocketPC platform, as you may have suspected, force me to reopen the question. there is, I know, a lot of work to be done. and this will sure

Re: [Cegcc-devel] Cygwin binaries

2007-02-15 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > (minor, miniscule nit: perhaps the file names could have the timestamp on > them too (eg:20080231)? An svn revision isn't going to be meaningful to a lot > of people :) ) thanks, applied :-) cheers, Aldo

[Cegcc-devel] Cygwin binaries

2007-02-15 Thread Aldo Calpini
hello again, having lobbied for them, I decided to make the cygwin binaries I built available for others. take a look at: http://dada.perl.it/cegcc/ the page should be self-explanatory enough. I hope there are no problems with a) the build itself, b) the fact that I'm distributing it, and c) wha

Re: [Cegcc-devel] How to build cegcc?

2007-02-14 Thread Aldo Calpini
[EMAIL PROTECTED] wrote: > My build crashes here: > > [...] > > This is with the buildscript build-cegcc.sh strange, everything went just fine for me. both build-cegcc.sh and build-mingw32ce.sh finished without an error. may be you have a different cygwin's gcc version? I'm currently using: gcc v

Porting parrot on PDA -- work in progress

2007-02-13 Thread Aldo Calpini
whoa there! I've managed to build parrot for the PocketPC. yes, really. I hacked just a little the Configure process - now it _really_ compiles test executables, run them on the PDA and gather the result. this wasn't really hard. I had a half-written Perl XS extension which uses RAPI to comm

Porting parrot on PDA -- work in progress

2007-02-13 Thread Aldo Calpini
whoa there! I've managed to build parrot for the PocketPC. yes, really. I hacked just a little the Configure process - now it _really_ compiles test executables, run them on the PDA and gather the result. this wasn't really hard. I had a half-written Perl XS extension which uses RAPI to comm

Re: [Cegcc-devel] How to build cegcc?

2007-02-13 Thread Aldo Calpini
Danny Backx wrote: > Attached is a first adaptation. Does this help ? it does indeed. funny how I didn't noticed the two scripts :-) regarding the doc, maybe mentioning somewhere to start with: svn co https://cegcc.svn.sourceforge.net/svnroot/cegcc/trunk cegcc would help the clueless ones. and

[Cegcc-devel] How to build cegcc?

2007-02-12 Thread Aldo Calpini
hello again! ok, I admit I'm lost. I'm trying to build cegcc on a Cygwin system. Pedro says it should build just fine, so I'm probably missing something obvious. first, I downloaded the trunk branch from SVN. the instructions at http://cegcc.sourceforge.net/docs/build-toolchain.html mention a bui

Re: [Cegcc-devel] Using cegcc with a Configure-type script

2007-02-08 Thread Aldo Calpini
Pedro Alves wrote: > Nahh, we're cool around here :) hey, I wasn't suggesting that parrot people are uncool :-) > I use something similar to run the gdb testsuite. I use the synce > command line tools to download the > files to the device. sounds cool. I would have preferred not having PocketCo

[Cegcc-devel] Using cegcc with a Configure-type script

2007-02-05 Thread Aldo Calpini
hello there, I know this mailing list is about developing cegcc, while my questions are more about *using* cegcc, but I'll try anyway :-) basically, I'm trying to find a way to "smooth out" the process of porting an application that already have a Configure-type script (the kind of script which g

Porting parrot on PDA

2007-01-29 Thread Aldo Calpini
hello people! I'm really interested in porting parrot to PDA (well, PocketPC at least). some days ago I stumbled upon CeGCC (a cross compiler for PocketPC), which is basically a windows port of gcc (both cygwin and mingw32 flavours) that produces ARM executable code. I started playing with i

Porting parrot on PDA

2007-01-29 Thread Aldo Calpini
hello people! I'm really interested in porting parrot to PDA (well, PocketPC at least). some days ago I stumbled upon CeGCC (a cross compiler for PocketPC), which is basically a windows port of gcc (both cygwin and mingw32 flavours) that produces ARM executable code. I started playing with i

Re: What to do about abandoned / unmaintained CPAN code?

2006-06-12 Thread Aldo Calpini
Orton, Yves wrote: Try a posting on perlmonks. He used to frequent that site ona regular basis. unfortunately, this is not the case anymore :-) but fortunately, BooK just warned me about this thread, so I quickly joined the mailing list. let me say that I feel very, very sorry about the c

Re: s/true/better name/

2005-03-17 Thread Aldo Calpini
John Macdonald wrote: A shotgun brainstorming of possible operator names: well, I didn't follow this thread very closely (and I don't know if it is "officially" closed :-) but I suddenly thought about "yes". what about: $x = not $a or $b; # vs $x = yes $a or $b; $yesno = yes any(@foo) == an

Re: s/true/better name/

2005-03-17 Thread Aldo Calpini
John Macdonald wrote: A shotgun brainstorming of possible operator names: well, I didn't follow this thread very closely (and I don't know if it is "officially" closed :-) but I suddenly thought about "yes". what about: $x = not $a or $b; # vs $x = yes $a or $b; $yesno = yes any(@foo) == an

Re: Strings - takers wanted

2005-03-11 Thread Aldo Calpini
Leopold Toetsch wrote: > 1) ICU should be optional > > If configured --without-icu the Makefile shouldn't contain ICU stuff, > and function calls to ICU (mainly in string_primitives) should be > wrapped inside #if PARROT_HAS_ICU. I'm gonna take this one (unless Steven Schubiger is already working o

Re: Strings - takers wanted

2005-03-11 Thread Aldo Calpini
Leopold Toetsch wrote: > 1) ICU should be optional > > If configured --without-icu the Makefile shouldn't contain ICU stuff, > and function calls to ICU (mainly in string_primitives) should be > wrapped inside #if PARROT_HAS_ICU. I'm gonna take this one (unless Steven Schubiger is already working o

Re: splat operator and context

2005-03-09 Thread Aldo Calpini
Juerd wrote: my @a = 1,2,3; my $a = 1,2,3; These are (my @a = 1), 2, 3; (my $a = 1), 2, 3; if I understand precedence correctly. (S03) right, sure. I vaguely remember something about comma instead of parens being the list constructor, but maybe it was just in my fantasy. and thanks for

Re: splat operator and context

2005-03-09 Thread Aldo Calpini
Juerd wrote: my @a = 1,2,3; my $a = 1,2,3; These are (my @a = 1), 2, 3; (my $a = 1), 2, 3; if I understand precedence correctly. (S03) right, sure. I vaguely remember something about comma instead of parens being the list constructor, but maybe it was just in my fantasy. and thanks for

splat operator and context

2005-03-09 Thread Aldo Calpini
I was trying to implement unary * (list flatten or "splat" operator) in pugs yesterday, and I came to the conclusion that I really don't grok how context works in Perl6 (I also really don't grok Haskell, but this is another story...). if I understand correctly, all these are equivalents: my @

splat operator and context

2005-03-09 Thread Aldo Calpini
I was trying to implement unary * (list flatten or "splat" operator) in pugs yesterday, and I came to the conclusion that I really don't grok how context works in Perl6 (I also really don't grok Haskell, but this is another story...). if I understand correctly, all these are equivalents: my @

Re: Adding linear interpolation to an array

2005-03-07 Thread Aldo Calpini
Dave Whipp wrote: Does defining the invocant as "Num @self is constant" constrain the application > of the role to read-only uses of indices? I don't think you need "is constant". arguments are readonly by default, unless you give them the "is rw" trait. I guess that "is constant" means that you

Re: Adding linear interpolation to an array

2005-03-07 Thread Aldo Calpini
Dave Whipp wrote: Does defining the invocant as "Num @self is constant" constrain the application > of the role to read-only uses of indices? I don't think you need "is constant". arguments are readonly by default, unless you give them the "is rw" trait. I guess that "is constant" means that you

Re: Optional binding

2005-03-07 Thread Aldo Calpini
Larry Wall wrote: Or, assuming you might want to generalize to N dimensions someday, just sub bar ([EMAIL PROTECTED]) {...} and deal with it as in Perl 5 as a variadic list. I suppose one could say sub bar ([EMAIL PROTECTED] is shape(3)) {...} and get checking on the argument count. if I u

Re: Optional binding

2005-03-07 Thread Aldo Calpini
Larry Wall wrote: Or, assuming you might want to generalize to N dimensions someday, just sub bar ([EMAIL PROTECTED]) {...} and deal with it as in Perl 5 as a variadic list. I suppose one could say sub bar ([EMAIL PROTECTED] is shape(3)) {...} and get checking on the argument count. if I u

Re: Optional binding

2005-03-07 Thread Aldo Calpini
David Storrs wrote: Urk. I, for one, will definitely find this surprising. I would have expected: x = ; $y = 1; z = 2 3 to obtain what you have expected, you need to explicitly treat the array as a list of values with the unary splat: foo($x, [EMAIL PROTECTED]); But I suppose it's all a qu

Re: Optional binding

2005-03-07 Thread Aldo Calpini
David Storrs wrote: Urk. I, for one, will definitely find this surprising. I would have expected: x = ; $y = 1; z = 2 3 to obtain what you have expected, you need to explicitly treat the array as a list of values with the unary splat: foo($x, [EMAIL PROTECTED]); But I suppose it's all a qu

Re: Comma in (sub) traits?

2005-03-07 Thread Aldo Calpini
wolverian wrote: Hello all, while writing some experimental code with Pugs, I realised that it is a bit hard for me to parse the following type of declaration: sub greeting (Str $person) returns Str is export { "Hello, $person" } don't know if it helps, but I guess that you can also

Re: Comma in (sub) traits?

2005-03-07 Thread Aldo Calpini
wolverian wrote: Hello all, while writing some experimental code with Pugs, I realised that it is a bit hard for me to parse the following type of declaration: sub greeting (Str $person) returns Str is export { "Hello, $person" } don't know if it helps, but I guess that you can also

  1   2   3   4   5   6   >