| Time |
S |
Nick |
Message |
| 00:17 |
|
|
teejay joined #padre |
| 00:21 |
|
Alias |
doubi: The recommended method for doing the Alien stuff is "Bundle the library, but link to the system version if available" |
| 00:21 |
|
Alias |
doubi: Look at how we do DBD::SQLite |
| 00:22 |
|
doubi |
Alias: That's bundle the sources, right? |
| 00:23 |
|
Alias |
Bundle AND link |
| 00:23 |
|
Alias |
Bundle, with optional link for the Debian types |
| 00:24 |
|
Alias |
That makes it easy for most CPAN direct people to have it automagically, but lets the distributions ignore the Bundled one and link to the appropriate deb'ed version as they need to |
| 00:25 |
|
doubi |
Hm. I'll have to look where you suggested; not at all sure how to link to debian repos |
| 00:25 |
|
Alias |
You don't |
| 00:25 |
|
Alias |
They do it themselves |
| 00:25 |
|
Alias |
Read the Makefile.PL of DBD::SQLite |
| 00:25 |
|
doubi |
Will do :) Cheers, |
| 00:25 |
|
Alias |
http://cpansearch.perl.org/src[…]-1.29/Makefile.PL |
| 00:28 |
|
Alias |
In that case, we even expect them to have an shallow fork auto-patcher |
| 00:28 |
|
Alias |
The if ( 0 ) thing |
| 00:51 |
|
kthakore_studymore |
Alias: except that fails horrible if you don't have root |
| 00:52 |
|
kthakore_studymore |
Alias: and also debian things are super old some times |
| 00:52 |
|
kthakore_studymore |
Alias: and gentoo/slack/blah like to patch crazy things |
| 00:52 |
|
kthakore_studymore |
Alias: so :p |
| 00:52 |
|
kthakore_studymore |
doubi: he lies!!! |
| 00:53 |
|
doubi |
...Can't we all just get along? |
| 00:53 |
|
kthakore_studymore |
doubi: our alien also checks for already installed SDL or ODE |
| 00:53 |
|
kthakore_studymore |
doubi: NEVER! |
| 00:53 |
|
kthakore_studymore |
doubi: pirates and ninjas have been at fued for ages! |
| 00:53 |
|
kthakore_studymore |
doubi: just like Makefile.PL and Build.PL |
| 00:53 |
|
kthakore_studymore |
:P |
| 00:54 |
|
Alias |
kthakore_studymore: Look at the DBD::SQLite |
| 00:54 |
|
Alias |
kthakore_studymore: It's not automatic, it requires the Debian people to actively subvert the Makefile.PL |
| 00:54 |
|
Alias |
And then it does a version check to make sure the lib is new enough for the Alien to use |
| 00:54 |
|
kthakore_studymore |
Alias: right what if it isn't? |
| 00:54 |
|
Alias |
So if theirs is too old, then they just can't build it |
| 00:55 |
|
kthakore_studymore |
Alias: and no I am not reading your Makefile.PL |
| 00:55 |
|
Alias |
If it's new enough to work, then they put in a one line patch |
| 00:55 |
|
kthakore_studymore |
Alias: I can't parse your code ... it is super hard to read |
| 00:55 |
|
Alias |
Read the comments ijiot |
| 00:55 |
|
Alias |
"Dear Downstream Packager" |
| 00:55 |
|
Alias |
etc |
| 00:55 |
|
kthakore_studymore |
Alias: NO! Comments are for the weak! :p |
| 00:56 |
|
kthakore_studymore |
Alias: I strip all comments and read it with out whitespaces |
| 00:56 |
|
kthakore_studymore |
doubi: ;) this is how it begins |
| 00:57 |
|
kthakore_studymore |
doubi: I still think kmx is the best person for this |
| 00:57 |
|
kthakore_studymore |
no offense Alias |
| 00:57 |
|
doubi |
:p |
| 00:57 |
|
Alias |
Of course he's the best person |
| 00:57 |
|
Alias |
But he'll say the same thing as me |
| 00:58 |
|
kthakore_studymore |
LIES! |
| 01:01 |
|
kthakore_studymore |
see |
| 01:01 |
|
kthakore_studymore |
Alias != kmx |
| 01:01 |
|
kthakore_studymore |
therefore |
| 01:02 |
|
kthakore_studymore |
Alias->speak() != kmx->speak() |
| 01:02 |
|
kthakore_studymore |
Q.E.D |
| 01:02 |
|
kthakore_studymore |
Alias: LIES! |
| 01:03 |
|
kthakore_studymore |
Alias: oh btw mst is pushing me to EU::MM |
| 01:03 |
|
kthakore_studymore |
for SDL and Alien::SDL |
| 01:03 |
|
kthakore_studymore |
Alias: but we will see ... |
| 01:13 |
|
Alias |
From what? |
| 01:13 |
|
Alias |
M:I? |
| 01:13 |
|
Alias |
or M:B? |
| 01:15 |
|
Alias |
ah, from M:B |
| 01:15 |
|
Alias |
I agree |
| 01:16 |
|
Alias |
If you are willing to put in the time, EU:MM is still really the safest and most reliable option |
| 01:16 |
|
Alias |
It's just a lot of work |
| 01:16 |
|
Alias |
Much of the stuff with both M:I and M:B was designed to reduce the maintainer workload |
| 01:16 |
|
kthakore_studymore |
well he said someone else wil do it for me if I make the requirements clear |
| 01:16 |
|
Alias |
Once a module is important enough, it's often worthwhile to drop back to the more-work, more-compatible EU:MM option |
| 01:16 |
|
Alias |
Which is why DBD::SQLite is EU:MM |
| 01:16 |
|
kthakore_studymore |
Alias: I am skeptical but what is the harm in a branch |
| 01:17 |
|
Alias |
EU:MM also suffers from less functionality drift |
| 01:17 |
|
kthakore_studymore |
I noticed that |
| 01:17 |
|
Alias |
M:B is really only reliable if you can assume configure_requires support |
| 01:17 |
|
Alias |
And configure_requires support can't be assumed to be widespread yet |
| 01:17 |
|
kthakore_studymore |
oh hell yes ... such a pain |
| 01:17 |
|
Alias |
EU:MM uses a "never ever ever change the API" design :) |
| 01:18 |
|
kthakore_studymore |
hah |
| 01:18 |
|
Alias |
Which is an evolutionary dead end, but reliable |
| 01:18 |
|
Alias |
M:B is the future, just still not quite safe enoug |
| 01:18 |
|
Alias |
Another two years should do it |
| 01:18 |
|
kthakore_studymore |
where will Perl be then I wonder |
| 01:19 |
|
Alias |
Same delta as from two years ago, I imagine |
| 01:19 |
|
kthakore_studymore |
hah |
| 01:19 |
|
kthakore_studymore |
perl 6 still not production |
| 01:20 |
|
kthakore_studymore |
but maybe they will |
| 01:20 |
|
kthakore_studymore |
that reminds me I have to go fix parrotSDL after they broke NCI |
| 01:20 |
|
kthakore_studymore |
again |
| 01:22 |
|
kthakore_studymore |
oh btw Alias++ on the Padre speed up! |
| 01:22 |
|
kthakore_studymore |
Alias: I noticed and thanks! |
| 01:22 |
|
kthakore_studymore |
it even made me fix the output scroll down |
| 01:26 |
|
Alias |
Which speed up, the task system? |
| 01:26 |
|
Alias |
Or the feature_ stuff? |
| 01:26 |
|
Alias |
(You know about the feature_XXXX hacks right?) |
| 01:35 |
|
|
Haarg joined #padre |
| 02:00 |
|
kthakore_studymore |
Alias: well the threads seem lighter |
| 02:00 |
|
kthakore_studymore |
Alias: and start up was abit faster |
| 02:01 |
|
kthakore_studymore |
Alias: don't know about feature_XXXX ? |
| 02:02 |
|
Alias |
Startup should certainly be faster, and I found another couple of optimisations as well |
| 02:02 |
|
Alias |
We were accidentally writing the config file at startup, etc |
| 02:02 |
|
Alias |
Open the advanced preferences dialog |
| 02:02 |
|
Alias |
Tools -> Preferences -> Advanced |
| 02:02 |
|
kthakore_studymore |
right |
| 02:02 |
|
kthakore_studymore |
and? |
| 02:02 |
|
Alias |
Scroll down to f |
| 02:03 |
|
Alias |
Mostly ones which result in lots of database writes during regular file operations |
| 02:03 |
|
Alias |
feature_bookmark disables support for bookmarks |
| 02:04 |
|
Alias |
feature_cursormemory disables the feature which remembers where you were scrolled to in each file (which requires database reads and writes as you open and close files) |
| 02:04 |
|
Alias |
feature_session disables "sessions" (remembering groups of open files) which is another lot of database read/writes |
| 02:05 |
|
Alias |
The cursor and session ones drops the number of database operations as you open, close and move around in files quite a bit |
| 02:05 |
|
Alias |
Which as far as I'm concerned makes Padre somewhat zippier |
| 02:06 |
|
kthakore_studymore |
wth? |
| 02:06 |
|
kthakore_studymore |
I am geting |
| 02:06 |
|
kthakore_studymore |
DIE: Can't locate Wx/Loader/Custom.pm |
| 02:07 |
|
Alias |
weird |
| 02:07 |
|
Alias |
Dunno what that is |
| 02:07 |
|
Alias |
But it shouldn't be related to the feature stuff |
| 02:07 |
|
kthakore_studymore |
Wx/Mini.pm line 84. |
| 02:07 |
|
Alias |
It's part of the Wx startup |
| 02:07 |
|
Alias |
That much I know |
| 02:07 |
|
Alias |
Designed to support people doing custom module loaders within Wx, like from PAR or whatever |
| 02:08 |
|
kthakore_studymore |
perl dev.pl dies now |
| 02:08 |
|
kthakore_studymore |
I can't even type |
| 02:08 |
|
kthakore_studymore |
wth |
| 02:08 |
|
Alias |
Since you turned off the features? |
| 02:08 |
|
kthakore_studymore |
no |
| 02:08 |
|
kthakore_studymore |
before too |
| 02:08 |
|
Alias |
ah |
| 02:09 |
|
kthakore_studymore |
I turn features back on |
| 02:11 |
|
|
patspam joined #padre |
| 02:11 |
|
kthakore_studymore |
Alias: you need to update the wx dep number in Padre |
| 02:11 |
|
kthakore_studymore |
Linux needs the new one now |
| 02:11 |
|
Hyppolit |
svn: r11673 | adamk++ | http://padre.perlide.org/trac/changeset/11673 |
| 02:11 |
|
Hyppolit |
Integrated the directory task skip logic with the project subsystem so that the project can control which files appear or don't appear in the directory browser. |
| 02:11 |
|
Hyppolit |
trunk/Padre/lib/Padre/ trunk/Padre/lib/Padre/Project/ trunk/Padre/lib/Padre/Wx/Directory/ trunk/Padre/t/ |
| 02:12 |
|
Alias |
0.94? |
| 02:13 |
|
kthakore_studymore |
no .. something else is wrong |
| 02:14 |
|
kthakore_studymore |
?? |
| 02:14 |
|
kthakore_studymore |
wth |
| 02:14 |
|
kthakore_studymore |
http://cpansearch.perl.org/src[…]02/lib/Wx/Mini.pm |
| 02:14 |
|
kthakore_studymore |
it evals for Wx::Loader::Custom |
| 02:14 |
|
kthakore_studymore |
if it exists |
| 02:14 |
|
kthakore_studymore |
which it don't |
| 02:14 |
|
kthakore_studymore |
because the user is supposed to make it |
| 02:15 |
|
kthakore_studymore |
http://search.cpan.org/~mbarbo[…]om_Loader_Example |
| 02:15 |
|
kthakore_studymore |
the eval shouldn't crash padre |
| 02:15 |
|
kthakore_studymore |
I am doing perl dev.pl --die |
| 02:15 |
|
kthakore_studymore |
this is all I see though |
| 02:17 |
|
Alias |
Maybe you are seeing an overly verbose warning, and then it's crashing silently for some other reason |
| 02:17 |
|
kthakore_studymore |
yup |
| 02:17 |
|
kthakore_studymore |
but how do I find that |
| 02:18 |
|
Alias |
perl dev.pl -d |
| 02:18 |
|
Alias |
See if you can find the place that crashes? |
| 02:20 |
|
kthakore_studymore |
Can't locate Devel/NYTProf.pm |
| 02:20 |
|
kthakore_studymore |
lol |
| 02:35 |
|
kthakore_studymore |
Reading nytprof.out |
| 02:35 |
|
kthakore_studymore |
Profile data incomplete, inflate error -5 ((null)) a |
| 02:35 |
|
|
Haarg joined #padre |
| 02:35 |
|
kthakore_studymore |
Alias |
| 02:35 |
|
Alias |
perl dev.pl --usage |
| 02:37 |
|
Alias |
You can try the fulltrace option as well |
| 02:47 |
|
kthakore_studymore |
I have the trace |
| 02:48 |
|
kthakore_studymore |
it dies in DBI land |
| 02:52 |
|
kthakore_studymore |
Alias: http://sdlperl.ath.cx/crash.trace.tgz |
| 02:53 |
|
kthakore_studymore |
gnight |
| 03:03 |
|
kthakore_studymore |
Alias: actually it might be my fault |
| 03:04 |
|
kthakore_studymore |
Alias: it dies in Outline.pm at 415 |
| 03:13 |
|
Alias |
Curious |
| 03:13 |
|
Alias |
$self->Collapse($type_elem); |
| 03:13 |
|
Alias |
That's almost certainly somewhere in the code I've never tested |
| 03:13 |
|
Alias |
I don't use the Outline |
| 03:25 |
|
kthakore_studymore |
I added a simple one line to scrol down |
| 03:25 |
|
kthakore_studymore |
don't know how that brakes Collapse |
| 03:25 |
|
kthakore_studymore |
:\ |
| 03:25 |
|
kthakore_studymore |
oh well gnight |
| 03:53 |
|
|
|Sno| joined #padre |
| 03:58 |
|
|
[Sno] joined #padre |
| 04:18 |
|
|
danlucraft joined #padre |
| 04:19 |
|
Hyppolit |
svn: r11674 | adamk++ | http://padre.perlide.org/trac/changeset/11674 |
| 04:19 |
|
Hyppolit |
Completed the task -> model phase, altough this does mean that for a short amount of time we'll be scanning the directories twice (OS caching should remove most of the penalty) |
| 04:19 |
|
Hyppolit |
trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Directory/ |
| 04:31 |
|
|
jazzanova joined #padre |
| 04:54 |
|
|
Alias_ joined #padre |
| 05:15 |
|
|
kaare joined #padre |
| 05:21 |
|
Sewi |
gm |
| 05:34 |
|
|
pece joined #padre |
| 05:40 |
|
Hyppolit |
svn: r11675 | adamk++ | http://padre.perlide.org/trac/changeset/11675 |
| 05:40 |
|
Hyppolit |
Adding first experimental refresh code to join the task-derived model to the Wx structure. Currently it only does a single flat directory, and hitting any events will crash it. But it works. (Disabled with if (0) in this commit) |
| 05:40 |
|
Hyppolit |
trunk/Padre/lib/Padre/Wx/ trunk/Padre/lib/Padre/Wx/Directory/ trunk/Padre/t/ |
| 06:26 |
|
* Alias |
is really happy with how easy this is looking |
| 06:35 |
|
|
Zapelius joined #padre |
| 06:47 |
|
szabgab |
Padre keeps printing the object of the current document on the console |
| 06:47 |
|
szabgab |
now I get this: Padre::Plugin::Perl6::Perl6Document=HASH(0x6293820) |
| 06:47 |
|
szabgab |
but I could not find where does it print it |
| 06:55 |
|
Alias |
Hrm |
| 06:55 |
|
Alias |
Wasn't me :) |
| 06:55 |
|
Alias |
Just Perl 6 documents? |
| 07:00 |
|
|
azawawi joined #padre |
| 07:05 |
|
szabgab |
nope |
| 07:05 |
|
szabgab |
it also prints when I am editing p5 |
| 07:05 |
|
szabgab |
but not always |
| 07:06 |
|
Alias |
weird |
| 07:06 |
|
Alias |
Does it print a timestamp and a function name first? |
| 07:06 |
|
Alias |
It's not a TRACE() without a if DEBUG; or something? |
| 07:06 |
|
szabgab |
Padre::Document::Perl=HASH(0x60368c8) |
| 07:06 |
|
szabgab |
that's it |
| 07:07 |
|
szabgab |
not other part |
| 07:07 |
|
szabgab |
it might be related to syntax highlighting |
| 07:08 |
|
szabgab |
but not Scintilla |
| 07:08 |
|
azawawi |
yeah i get that also on Perl6... been trying to find where is that print statement... |
| 07:08 |
|
azawawi |
hi everybody... good morning szabgab :) |
| 07:09 |
|
szabgab |
hi azawawi |
| 07:09 |
|
azawawi |
it happens after colorize... |
| 07:09 |
|
azawawi |
like in a thread... |
| 07:09 |
|
|
mj41_ joined #padre |
| 07:09 |
|
|
kentnl joined #padre |
| 07:23 |
|
szabgab |
azawawi, so I am using Padre from trunk with the Perl 6 plugin |
| 07:23 |
|
szabgab |
and I have a code with use Test; |
| 07:24 |
|
szabgab |
and the syntaxchecked complains that it cannot find it |
| 07:24 |
|
szabgab |
it also complains about undeclared name: Mu used ... |
| 07:24 |
|
azawawi |
PERL6LIB |
| 07:25 |
|
szabgab |
that's what I thought |
| 07:25 |
|
azawawi |
you have to set that variable :) |
| 07:25 |
|
szabgab |
but why does it find it from the command line? |
| 07:25 |
|
azawawi |
temporary folder i guess... |
| 07:26 |
|
szabgab |
Test comes with rakudo |
| 07:26 |
|
szabgab |
and that Undeclared name does not look good either |
| 07:26 |
|
szabgab |
as Mu is a keyword in Perl 6 |
| 07:27 |
|
azawawi |
could you paste in the code so i could try it? |
| 07:30 |
|
shadowpaste |
"szabgab" at 217.168.150.38 pasted "p6" (6 lines) at http://paste.scsys.co.uk/44900 |
| 07:34 |
|
* azawawi |
takes a look |
| 07:34 |
|
|
wallberg joined #padre |
| 07:43 |
|
|
danlucraft joined #padre |
| 07:50 |
|
azawawi |
hilitep6 test.p6 => "←[31m===←[0mSORRY!←[31m===←[0m Undeclared name: 'Mu' used at line 5 Check failed" |
| 07:51 |
|
azawawi |
seems like parsing error messages needs a re-work... |
| 07:52 |
|
azawawi |
szabgab: seems like an outdated STD.pm6... |
| 07:54 |
|
szabgab |
indeed Syntax::Highlight::Perl6 was old |
| 07:54 |
|
szabgab |
now upgrading |
| 07:56 |
|
szabgab |
sorry for the noise then |
| 07:57 |
|
szabgab |
oh so the syntax checker uses STD.pm and not rakudo, right? |
| 07:57 |
|
szabgab |
that's why it does not find the Test.pm |
| 07:58 |
|
azawawi |
yup |
| 07:58 |
|
azawawi |
when you run you use rakudo... |
| 07:59 |
|
azawawi |
when you type/syntax check it is STD.pm6... |
| 07:59 |
|
azawawi |
Alias: congrats on the grant |
| 08:01 |
|
szabgab |
azawawi, yeah, it works now, thanks |
| 08:02 |
|
azawawi |
szabgab: np |
| 08:02 |
|
azawawi |
szabgab: but the Mu should not work btw... i think we have an old version... im checking the pugs svn logs |
| 08:03 |
|
szabgab |
should NOT ? |
| 08:06 |
|
azawawi |
szabgab: should work but hilitep6 test.p6 says otherwise |
| 08:06 |
|
azawawi |
szabgab: hilitep6 test.p6 => "←[31m===←[0mSORRY!←[31m===←[0m Undeclared name: 'Mu' used at line 5 Check failed" |
| 08:06 |
|
azawawi |
szabgab: on #perl6 std: works... |
| 08:06 |
|
* azawawi |
investigates |
| 08:16 |
|
sorear |
azawawi: sounds to me like your build integrator is broken. |
| 08:16 |
|
sorear |
are you running 'make'? |
| 08:16 |
|
azawawi |
sorear: yeah... |
| 08:16 |
|
azawawi |
sorear: let me double check again and hi there :) |
| 08:17 |
|
sorear |
Are you calling STD->parsefile directly or shelling out? |
| 08:18 |
|
azawawi |
hilitep6 calls parsefile directly... |
| 08:20 |
|
azawawi |
sorear: CORE.pad has been removed right? |
| 08:20 |
|
sorear |
CORE.pad has been removed. |
| 08:21 |
|
sorear |
What is the current directory when you call parsefile? |
| 08:21 |
|
azawawi |
sorear: and i call STD->parse(...) inside S:H:P6 |
| 08:21 |
|
azawawi |
sorear: temporary... |
| 08:21 |
|
sorear |
STD.pm6 needs to be able to find its lex/ and syml/ directories |
| 08:21 |
|
sorear |
they hold, among other things, the compiled setting |
| 08:22 |
|
sorear |
if the setting isn't available, an empty one will be used (this is critical for compiling the setting itself) |
| 08:22 |
|
sorear |
by default, they are looked for in ./lex and ./syml |
| 08:22 |
|
sorear |
if you want to look for them somewhere else, pass the tmp_prefix => "/path/to/..." named argument to parsefile |
| 08:24 |
|
azawawi |
tmp_prefix is already being used... |
| 08:25 |
|
azawawi |
sorear: any new files that i need to include in the S:H:P6 distro? |
| 08:27 |
|
sorear |
distro? |
| 08:27 |
|
sorear |
sorry, I've never used padre |
| 08:28 |
|
azawawi |
i include STD in the Syntax::Highlight::Perl6 via copy_std.pl |
| 08:28 |
|
azawawi |
Padre is basically using STD via S:H:P6 in Padre::Plugin::Perl6 |
| 08:29 |
|
azawawi |
strange only STD.pmc is changed since last update |
| 08:30 |
|
sorear |
run "make snap" |
| 08:31 |
|
sorear |
everything in snap/ except viv, tryfile, revision, and teststd is needed |
| 08:31 |
|
azawawi |
sorear: http://svn.perlide.org/padre/t[…]Perl6/copy_std.pl |
| 08:32 |
|
azawawi |
sorear: that's what i used to do |
| 08:33 |
|
azawawi |
sorear: i noticed a couple of stageN folders with pmc ... use the last one? |
| 08:33 |
|
sorear |
no |
| 08:34 |
|
sorear |
the stageN folders are deliberately incomplete, they only contain generated files |
| 08:34 |
|
sorear |
that explicit list of files is your mistake. |
| 08:35 |
|
azawawi |
it used to work :) |
| 08:35 |
|
sorear |
yes, well, DRY |
| 08:36 |
|
sorear |
the Makefile is the only list of files I have commit access to and it's the only one I'm going to keep updated |
| 08:36 |
|
sorear |
the file you're missing is syml/CORE.syml.store btw |
| 08:37 |
|
sorear |
drop NULL.pad and CORE.pad |
| 08:37 |
|
azawawi |
cool |
| 08:37 |
|
azawawi |
so what does 'make snap' do? |
| 08:39 |
|
sorear |
creates a directory snap/ containing a near-minimal clean testing environment |
| 08:39 |
|
azawawi |
yeah i see it now |
| 08:39 |
|
sorear |
though perhaps you don't want to bundle all of lex/ in a PAUSE upload |
| 08:40 |
|
azawawi |
i see a lib folder with *.pm6 .. is that needed? |
| 08:41 |
|
azawawi |
sorear: so basically re-write copy_std.pl to snap_std :) |
| 08:42 |
|
sorear |
For intermediate values of "needed' |
| 08:43 |
|
sorear |
They're stubs for a few parts of the standard library, and a few implementation factors of STD |
| 08:44 |
|
azawawi |
ok one final question :) |
| 08:44 |
|
sorear |
people will be suprised if MONKEY_TYPING.pm is unavailable. Stash...notsomuch |
| 08:44 |
|
azawawi |
could we add to the snap directory a list of runtime-only files? |
| 08:45 |
|
azawawi |
that way i wont be repeating myself :) |
| 08:45 |
|
azawawi |
and i could automate it further... |
| 08:46 |
|
azawawi |
needed only to run STD->parse(...) |
| 08:47 |
|
azawawi |
some of these included tools like ./std assume a *nix env so running them over win32 results in a failure |
| 08:49 |
|
sorear |
./std is critical |
| 08:49 |
|
sorear |
you can't leave it out and have a working distribution, sadly |
| 08:49 |
|
azawawi |
when re-compiling modules right? |
| 08:49 |
|
sorear |
right |
| 08:50 |
|
sorear |
the parser isn't reentrant so it spawns a std process to compile modules |
| 08:50 |
|
azawawi |
so we need to make it more cross platform... |
| 08:50 |
|
sorear |
Or fix the reentrancy issues in the parser |
| 08:50 |
|
azawawi |
sorear: ouch :) |
| 08:50 |
|
azawawi |
sorear: btw so you can understand what Padre Perl6 plugin is actually doing |
| 08:50 |
|
sorear |
Right now, calling STD->parse more than once in the same process is not quite supported |
| 08:51 |
|
sorear |
there are a few cases where contextuals are set but never properly localized |
| 08:52 |
|
azawawi |
sorear: when colourize is called a Task (Thread) is scheduled and a spawned STD->parse(...) via S:H:P6 is called and the output is analyzed for errors/etc and then updated when the thread finishes... |
| 08:52 |
|
azawawi |
s/updated/UI is updated/ |
| 08:53 |
|
azawawi |
sorear: part of that is the reentrant problem and Storable use... |
| 08:53 |
|
azawawi |
sorear: Padre tasks use Storable and STD uses Storable... first STD->parse(...) call works, rest fails... |
| 08:55 |
|
azawawi |
sorear: so i had to spawn an STD process and this results in far slower highlighting than is possible with STD inline if it was re-entrant. |
| 08:55 |
|
azawawi |
sorear: and i started a viv-based Perl6::Refactor that isnt complete due to time... |
| 08:55 |
|
azawawi |
sorear: the command line is working btw |
| 08:56 |
|
sorear |
How did you make Perl 6 highlighting not intolerably slow? |
| 08:56 |
|
sorear |
It takes 4 minutes for STD to parse itself here |
| 08:57 |
|
sorear |
what I'd like to do, instead of giving you a file list, is to add a Makefile target "make dist" which produces a minimal distribution image |
| 08:58 |
|
azawawi |
sorear: with threads... :) |
| 08:58 |
|
azawawi |
sorear: it is slow but works :) |
| 08:59 |
|
azawawi |
sorear: for small files i.e. |
| 08:59 |
|
azawawi |
sorear: also http://cpansearch.perl.org/src[…]ickFixProvider.pm |
| 09:00 |
|
azawawi |
sorear: analyzes STD errors and shows up possible fixes |
| 09:00 |
|
azawawi |
sorear: if we could add code numbers to errors that would be great |
| 09:01 |
|
azawawi |
sorear: error categories and such |
| 09:02 |
|
azawawi |
sorear: old viv-based Perl6 refactoring script http://svn.perlide.org/padre/t[…]pt/refactor_p6.pl |
| 09:02 |
|
azawawi |
sorear: rename and find declarations... |
| 09:02 |
|
azawawi |
sorear: and experimental highlighting |
| 09:04 |
|
* azawawi |
back to work & :) |
| 09:04 |
|
azawawi |
sorear: cya :) |
| 09:04 |
|
sorear |
this is the first time I have heard someone speak in /favor/ of E321 codes |
| 09:16 |
|
|
Xaero joined #padre |
| 09:30 |
|
|
wallberg joined #padre |
| 09:38 |
|
|
waxhead joined #padre |
| 09:39 |
|
waxhead |
howdy... |
| 09:41 |
|
waxhead |
Alias, how much of the refactoring is actually implemented? |
| 09:41 |
|
waxhead |
Alias, still glad to see you can close off that chapter in your life! :) |
| 09:42 |
|
waxhead |
far out... Padre still crashes... |
| 09:42 |
|
waxhead |
is no one else seeing it? |
| 09:44 |
|
waxhead |
ah ha!! |
| 09:44 |
|
waxhead |
it's linked to the outline view |
| 09:44 |
|
waxhead |
yep.. |
| 09:44 |
|
danlucraft |
Can anyone help me get Padre installed on OSX? |
| 09:45 |
|
waxhead |
danlucraft, can you install via cpan? |
| 09:45 |
|
waxhead |
danlucraft, ie using the cpan shell |
| 09:45 |
|
waxhead |
Sno|, is our Mac guy I'd say |
| 09:45 |
|
danlucraft |
I'm trying with that way |
| 09:45 |
|
waxhead |
I think he did the mac port thing |
| 09:46 |
|
waxhead |
danlucraft, what's the issue then? |
| 09:46 |
|
danlucraft |
it says "spawning 'wxPerl' interpreter for OS X" 50 times then takes all the file descriptors on my system |
| 09:46 |
|
danlucraft |
:) |
| 09:46 |
|
danlucraft |
t/07-version.t ............. 1/4 spawning 'wxPerl' interpreter for OS X ..... |
| 09:46 |
|
* Sno| |
denies being a Mac guy |
| 09:47 |
|
* Sno| |
is a Unix guy - but supports MacOS X using X11 |
| 09:47 |
|
danlucraft |
oh golly |
| 09:47 |
|
Sno| |
and I had created a MacOS X port for Padre for pkgsrc - using the X11 implementation of MacOS X |
| 09:48 |
|
danlucraft |
Snol: interesting, is that the"experimental" download on the homepage |
| 09:48 |
|
danlucraft |
? |
| 09:48 |
|
waxhead |
danlucraft, ouch... I have no idea. |
| 09:48 |
|
waxhead |
do you have Wx installed? |
| 09:49 |
|
Sno| |
danlucraft: no, it's not |
| 09:49 |
|
danlucraft |
waxhead: well, the wxPerl binary existed when I started, so I guess yes ? |
| 09:49 |
|
danlucraft |
Snol: ok. |
| 09:49 |
|
waxhead |
danlucraft, maybe upgrade it first then |
| 09:49 |
|
Sno| |
wxPerl is the "gui enabled" perl - not surely with wx |
| 09:49 |
|
waxhead |
install/upgrade Alien::wxWidgets first, then Wx |
| 09:50 |
|
Sno| |
danlucraft: do you have Xcode? |
| 09:50 |
|
waxhead |
danlucraft, do you not have just a plain old perl? |
| 09:50 |
|
danlucraft |
Snol: yep |
| 09:50 |
|
danlucraft |
waxhead: I do, but the wiki says to use wxPerl |
| 09:51 |
|
danlucraft |
waxhead: apparently I have Wx Version: 0.9702 wxWidgets 2.8.8 |
| 09:52 |
|
danlucraft |
Alien::wxWidgets is up to date (0.51) |
| 09:52 |
|
danlucraft |
Wx is up to date (0.9702). |
| 09:52 |
|
waxhead |
hmmm.. that's a start I guess. |
| 09:52 |
|
waxhead |
ok, in the cpan shell type clean Padre |
| 09:52 |
|
danlucraft |
done |
| 09:53 |
|
waxhead |
make Padre |
| 09:53 |
|
waxhead |
are you missing any deps? |
| 09:53 |
|
danlucraft |
it asked about Format::Human::Bytes a couple of times |
| 09:53 |
|
danlucraft |
I said yes and then it finished (quickly) without any errors |
| 09:54 |
|
waxhead |
asked what? |
| 09:54 |
|
waxhead |
hmmm |
| 09:54 |
|
waxhead |
ok... another way to do it is this |
| 09:54 |
|
waxhead |
look Padre |
| 09:54 |
|
waxhead |
that should drop you to a shell in the Padre build dir |
| 09:54 |
|
waxhead |
type make clean again |
| 09:55 |
|
danlucraft |
thats the make Padre: http://gist.github.com/440406 |
| 09:55 |
|
waxhead |
then, perl Makefile.PL |
| 09:55 |
|
danlucraft |
look Padre, make clean |
| 09:55 |
|
waxhead |
that will run through the required deps... you should be able to see what's missing and install them |
| 09:55 |
|
danlucraft |
ok, thanks |
| 09:56 |
|
danlucraft |
ok, yeah there's a ton of them |
| 09:56 |
|
waxhead |
so take a note of what's missing, and then you have to exit out of the shell, type exit |
| 09:56 |
|
waxhead |
then install the missing deps |
| 09:56 |
|
waxhead |
and then try again.. :) |
| 09:56 |
|
waxhead |
rinse and repeat |
| 09:56 |
|
waxhead |
for what it's worth, it's a painful process eleminating the missing deps, but after what seems like ages you have them all and Padre builds and installs... |
| 09:57 |
|
danlucraft |
it's all worth it? :) |
| 09:57 |
|
waxhead |
danlucraft, yep.. if you want a perl IDE written in perl |
| 09:57 |
|
danlucraft |
oh wait, you'd finished your sentence |
| 09:57 |
|
|
daxim joined #padre |
| 09:58 |
|
waxhead |
normally it just goes smoothly, but sometimes you get caught in this dependancy trap which requires more time that normal to resovle... |
| 09:58 |
|
waxhead |
the nice thing is you end up with all the modules oyu need and upgrading Padre is a cinch |
| 09:59 |
|
waxhead |
so keep at it... :) |
| 10:01 |
|
danlucraft |
thanks, I will |
| 10:06 |
|
danlucraft |
the "experimental" OSX download worked perfectly btw |
| 10:06 |
|
danlucraft |
that's just months behind head now |
| 10:10 |
|
daxim |
are those other platforms' packages manually generated? can we build them on the linux server? |
| 10:17 |
|
|
Alias_ joined #padre |
| 10:18 |
|
Alias_ |
If you haven't found the print statement yet, run Padre with -t |
| 10:18 |
|
Alias_ |
perl dev.pl -t |
| 10:20 |
|
shadowpaste |
"szabgab" at 217.168.150.38 pasted "log" (12 lines) at http://paste.scsys.co.uk/44908 |
| 10:20 |
|
szabgab |
Alias, there you are |
| 10:20 |
|
szabgab |
now what ? |
| 10:20 |
|
szabgab |
:) |
| 10:21 |
|
Alias_ |
<azawawi> yeah i get that also on Perl6... been trying to find where is that print statement... |
| 10:21 |
|
Alias_ |
<szabgab> it also prints when I am editing p5 |
| 10:21 |
|
Alias_ |
etc |
| 10:22 |
|
Hyppolit |
svn: r11676 | waxhead++ | http://padre.perlide.org/trac/changeset/11676 |
| 10:22 |
|
Hyppolit |
Fixed the crashing bug when Outline is turned on. |
| 10:22 |
|
Hyppolit |
|
| 10:22 |
|
Hyppolit |
It seems that you shouldn't try to ->Collapse an already Collapsed Tree Item. |
| 10:22 |
|
Hyppolit |
trunk/Padre/lib/Padre/Wx/ |
| 10:22 |
|
waxhead |
kthakore_studymore, ^^^^^ |
| 10:22 |
|
waxhead |
that fixes that bug with Padre crashing... |
| 10:23 |
|
waxhead |
you mentioned it today I caught it in the logs.. |
| 10:23 |
|
szabgab |
waxhead++ |
| 10:23 |
|
Alias_ |
Really? |
| 10:23 |
|
Alias_ |
That's the kind of bug we should really fix in Wx |
| 10:24 |
|
Alias_ |
... Wx.pm anyway |
| 10:24 |
|
waxhead |
Alias_ I guess so, I've added a check for IsExpanded and it's stopped the crash.. |
| 10:24 |
|
waxhead |
I agree it shouldn't be an application level check |
| 10:24 |
|
Alias_ |
Makes more sense in C |
| 10:24 |
|
Alias_ |
When everything needs to be fast |
| 10:24 |
|
Alias_ |
If you already know it isn't collapsed, you don't need to wait around to check |
| 10:25 |
|
* waxhead |
now eats his dog food.. |
| 10:25 |
|
szabgab |
your dogs food? |
| 10:26 |
|
Zapelius |
I tried a few days ago to run padre on osx (10.5) but that attempt failed miserably. Got the .dmg from ali.as/Padre.dmg |
| 10:27 |
|
waxhead |
dog fooding... using your own code |
| 10:27 |
|
waxhead |
can't expect others to use something you won't use yourself... |
| 10:28 |
|
waxhead |
szabgab, http://en.wikipedia.org/wiki/E[…]your_own_dog_food |
| 10:28 |
|
szabgab |
Alias, what does -t print? |
| 10:28 |
|
Zapelius |
all I got was "dyld: unknown required load command 0x80000022 Trace/BPT trap" |
| 10:28 |
|
szabgab |
waxhead, yeah I know that I was just visioning you fighting with your dog for who can eat his food |
| 10:28 |
|
Zapelius |
FYI |
| 10:29 |
|
waxhead |
oh sorry... |
| 10:29 |
|
waxhead |
only a cat in this house... :( |
| 10:29 |
|
szabgab |
np :) |
| 10:29 |
|
waxhead |
I wonder if there's a ticket for that crash... |
| 10:29 |
|
szabgab |
Zapelius, that .dmg is just causing damage |
| 10:29 |
|
szabgab |
it is old, very old |
| 10:30 |
|
szabgab |
and only works on one of the animals, don't know which one |
| 10:30 |
|
szabgab |
one of the leopards I think |
| 10:30 |
|
waxhead |
awww.. it's not note... |
| 10:30 |
|
waxhead |
I really wanted to get into the Changes... :) |
| 10:31 |
|
Zapelius |
I guess Snow Loepard, as I do have just Leopard |
| 10:32 |
|
Zapelius |
I tried to get it from CPAN too, but that didn't go well... :) |
| 10:32 |
|
szabgab |
Alias, there are a number of TRACE() calls without if DEBUG |
| 10:32 |
|
szabgab |
none of them is our issue |
| 10:33 |
|
szabgab |
but I think they should be condtioned too, right? |
| 10:33 |
|
szabgab |
I am on the brink of buying a Mac |
| 10:33 |
|
szabgab |
when in the US |
| 10:33 |
|
szabgab |
next week |
| 10:34 |
|
|
azawawi joined #padre |
| 10:34 |
|
azawawi |
sorear: ping |
| 10:34 |
|
szabgab |
but then I won't have any place to got to when I come back home |
| 10:35 |
|
waxhead |
danlucraft, how are you going? |
| 10:36 |
|
waxhead |
hmmm... seems after the document is loaded the outline functions don't update... |
| 10:36 |
|
waxhead |
what controls when the outline is refreshed? |
| 10:39 |
|
sorear |
azawawi: *yawn* |
| 10:44 |
|
szabgab |
sorear, are you sleepy? |
| 10:44 |
|
danlucraft |
waxhead: I was about to ask you some noobish cpan questions in a private chat. |
| 10:45 |
|
danlucraft |
waxhead: except somethings come up so maybe later |
| 10:45 |
|
waxhead |
danlucraft, ask here.. more smarter people here.. :) |
| 10:45 |
|
sorear |
azawawi, it's very late. can I help you quickly? |
| 11:00 |
|
waxhead |
you know what we need? |
| 11:00 |
|
waxhead |
a way to mark lines of code to go back to |
| 11:12 |
|
|
pece joined #padre |
| 11:15 |
|
szabgab |
waxhead, you mean bookmark? |
| 11:15 |
|
waxhead |
yeah, I guess so |
| 11:16 |
|
szabgab |
why not try ctrl-b and ctrl-shift-b ? |
| 11:16 |
|
szabgab |
or you mean something else? |
| 11:32 |
|
azawawi |
sorear: sorry i had to go away a bit |
| 11:33 |
|
azawawi |
sorear: im not saying im in favor of Exxxx error messages... we just need a robust way to know that this is for sure an "undeclared name" error instead of parsing its error text from STD... |
| 11:34 |
|
azawawi |
sorear: good night and sorry for keeping you waiting :) |
| 11:36 |
|
azawawi |
szabgab: the weather is perfect outside |
| 11:41 |
|
szabgab |
azawawi, if that's perfect for you ... |
| 11:48 |
|
|
mib_w97tzs joined #padre |
| 12:20 |
|
waxhead |
szabgab, oh... wasn't aware of the keyboard short cuts... |
| 12:22 |
|
waxhead |
neat... |
| 12:22 |
|
waxhead |
but I was thinking it needs a visual indicator in that left margin... ala notepad++... |
| 12:37 |
|
waxhead |
oh.. someone has at least looked at putting symbols in the margin... |
| 12:46 |
|
waxhead |
ok.. to bed.. |
| 12:46 |
|
waxhead |
night |
| 12:51 |
|
Alias_ |
szabgab, some of the TRACE calls are surrounded by a larger if ( ) { } |
| 13:29 |
|
danlucraft |
waxhead: OK, so I've got it installed with no missing deps listed. |
| 13:30 |
|
danlucraft |
but when I try to run it it still says "spawning 'wxPerl' interpreter for OS X" 50 times and consumes all the file descriptors on the system |
| 13:32 |
|
danlucraft |
waxhead: HA. It runs! |
| 13:32 |
|
danlucraft |
waxhead has gone |
| 13:33 |
|
danlucraft |
I talk to the trees..... |
| 14:09 |
|
|
kaare joined #padre |
| 14:13 |
|
|
danlucraft joined #padre |
| 15:35 |
|
|
user_6557 joined #padre |
| 15:50 |
|
danlucraft |
szabgab: hey, can I have a Trac account please? I have a patch for running on OSX |
| 16:18 |
|
|
Hinrik joined #padre |
| 16:43 |
|
|
dapatrick joined #padre |
| 17:00 |
|
Sewi |
danlucraft: still here? |
| 17:04 |
|
danlucraft |
Sewi: yep |
| 17:22 |
|
danlucraft |
Sewi: back later this evening |
| 18:25 |
|
|
mib_ge3tjs joined #padre |
| 18:27 |
|
mib_ge3tjs |
Hello, I just downloaded Padre (and updated to version 0.63). It looks very nice, and I would like to use it to debug a filter script. I cannot figure out how to tell the debugger what the script arguments are. When I run the script directly, it works, but not in the debugger. Any suggestions? |
| 18:29 |
|
|
raydebs joined #padre |
| 18:30 |
|
raydebs |
I just posted the question about using the debugger, and I changed my name. Is anyone available to help with this? |
| 18:57 |
|
|
jagd joined #padre |
| 19:42 |
|
|
patspam joined #padre |
| 19:48 |
|
|
pece2 joined #padre |
| 19:50 |
|
|
LeK joined #padre |
| 19:57 |
|
|
pece joined #padre |
| 20:08 |
|
|
pece2 joined #padre |
| 20:14 |
|
|
pece joined #padre |
| 20:19 |
|
|
sorear joined #padre |
| 20:39 |
|
|
danlucraft joined #padre |
| 20:58 |
|
|
sorear joined #padre |
| 22:32 |
|
|
Hinrik joined #padre |
| 22:32 |
|
|
Hinrik joined #padre |
| 23:32 |
|
|
teejay joined #padre |