| Time |
S |
Nick |
Message |
| 00:52 |
|
|
JesseH joined #padre |
| 00:52 |
|
JesseH |
Hello. |
| 00:52 |
|
JesseH |
May I ask a question about Padre here? |
| 00:54 |
|
JesseH |
I'll leave this open and check back throughout the evening. |
| 00:54 |
|
JesseH |
here is the question: |
| 00:54 |
|
JesseH |
I am new to Perl, but I would like to use it to create text files with some scripted content and calculations. To this end I have created a windows powershell script that runs the perl interpreter and redirects the output to the clipboard and to a text file in a directory. I have a simple bat file that launches the powershell script. Both the bat and the ps1 expect the path to the pl file as an the first argument. I would like to c |
| 00:54 |
|
JesseH |
that the run button (f5) or some alternate button passes the script to my bat file. How can I accomplish this? Thanks, |
| 03:11 |
|
|
asarch joined #padre |
| 03:41 |
|
|
itcharlie left #padre |
| 03:59 |
|
|
waxhead_ joined #padre |
| 04:24 |
|
|
sewi joined #padre |
| 05:32 |
|
|
pece joined #padre |
| 05:39 |
|
|
Foxcool joined #padre |
| 05:50 |
|
|
Fosforo joined #padre |
| 05:56 |
|
|
user_3441 joined #padre |
| 05:58 |
|
user_3441 |
hi, I can't change the Padre color styles on my linux box |
| 05:58 |
|
user_3441 |
Any pointers? |
| 05:58 |
|
user_3441 |
here's what I did: |
| 05:58 |
|
user_3441 |
1)Installed Padre 0.77 |
| 06:00 |
|
user_3441 |
2) Changed /usr/share/perl5/auto/share/dist/Padre/styles/notepad.yml |
| 06:00 |
|
user_3441 |
3) It worked |
| 06:00 |
|
user_3441 |
4) Installed latest version (0.96, IIRC) via CPAN |
| 06:00 |
|
user_3441 |
5) Lose |
| 06:01 |
|
|
JesseH left #padre |
| 06:01 |
|
user_3441 |
Now I don't see any effects in changing those .yml in /usr/share/perl5/auto/share/dist/Padre/styles |
| 06:02 |
|
user_3441 |
Am I doing anything obviously wrong? |
| 06:03 |
|
user_3441 |
(BTW, this web IRC interface rocks) |
| 06:41 |
|
|
[Sno] joined #padre |
| 08:03 |
|
|
Fosforo1 joined #padre |
| 08:16 |
|
|
Foxcool joined #padre |
| 08:46 |
|
|
Fosforo joined #padre |
| 09:20 |
|
|
Di-ima joined #padre |
| 09:21 |
|
|
snicker joined #padre |
| 09:21 |
|
|
snicker joined #padre |
| 09:23 |
|
|
waxhead joined #padre |
| 10:24 |
|
|
mishin joined #padre |
| 10:26 |
|
|
sugar joined #padre |
| 10:37 |
|
|
Fosforo1 joined #padre |
| 10:41 |
|
|
Mithaldu joined #padre |
| 11:43 |
|
|
Mithaldu joined #padre |
| 11:46 |
|
|
perlite joined #padre |
| 11:59 |
|
|
BooK joined #padre |
| 12:00 |
|
|
BooK_ joined #padre |
| 12:01 |
|
|
daxim joined #padre |
| 12:37 |
|
|
daxim joined #padre |
| 12:47 |
|
|
Fosforo joined #padre |
| 13:05 |
|
|
user_2040 joined #padre |
| 13:14 |
|
|
tobyink joined #padre |
| 13:15 |
|
tobyink |
OK, I now have "add", "delete", "commit", "revert" and "status" working for hg and svn in the version control sidebar. Where do I send the patch? |
| 13:16 |
|
tobyink |
Alternatively, can I have commit on the repo? |
| 13:33 |
|
tobyink |
patch is here. http://buzzword.org.uk/2012/pa[…]ink-20120604.diff |
| 13:35 |
|
|
itcharlie joined #padre |
| 14:03 |
|
|
tobyink joined #padre |
| 14:41 |
|
|
Sno|Laptop joined #padre |
| 14:41 |
|
|
bowtie joined #padre |
| 14:46 |
|
|
[Sno] joined #padre |
| 14:47 |
|
bowtie |
tobyink, question for you, did you edit Padre.fbp manualy or with wxFormBuilder ? |
| 14:51 |
|
bowtie |
tobyink, you should talk to azawawi regarding 'Version Control' feature |
| 14:51 |
|
|
Sno|Laptop joined #padre |
| 14:52 |
|
bowtie |
as for commit access you will need to talk to szabgab for that. |
| 15:08 |
|
|
Fosforo1 joined #padre |
| 15:17 |
|
|
Fosforo joined #padre |
| 15:51 |
|
|
tobyink joined #padre |
| 15:53 |
|
tobyink |
bowtie: manually. Did I miss something? |
| 15:53 |
|
bowtie |
tobyink, hi |
| 15:54 |
|
bowtie |
you should use wxFormbuilder 3.1.70 to edit Padre.fbp |
| 15:54 |
|
bowtie |
then use Padre-Plugin-Formbuilder to generate the dialog or panel |
| 15:55 |
|
bowtie |
that you have enhanced |
| 15:57 |
|
bowtie |
dose that help? |
| 16:00 |
|
|
user_8905 joined #padre |
| 16:04 |
|
|
tobyink joined #padre |
| 16:05 |
|
tobyink |
I just didn't fancy downloading an installing a large python package with all its dependencies in order to make a 20 character change to Padre::Wx::FBP::VCS. |
| 16:06 |
|
|
Shaun joined #padre |
| 16:08 |
|
Shaun |
404 Not Found. FYI, the Wiki link on http://padre.perlide.org/ points to http://padre.perlide.org/trac/wiki which does not exist. |
| 16:10 |
|
bowtie |
tobyink, this method of dialog and panel design was implemented by alias, I can see that at an initial inspection it may seam to be a lot to come to terms with, as I did, but it now just makes sense to me. |
| 16:13 |
|
tobyink |
Shaun: server move yesterday and trac is down. |
| 16:13 |
|
Shaun |
OK, thanks! |
| 16:15 |
|
tobyink |
bowtie: I don't have any problem with the use of FBP in general; but frankly I didn't want to change the UI at all - just the backend code to actually implement the stuff behind those buttons. One small change was needed though to allow multi-file commits. |
| 16:19 |
|
bowtie |
tobyink, I understand, thats why I generated the Cookbook wiki pages and code to pass on my journey in using xwFB and P-P-FB, did you notice the warning that alias put in the generated files, so that when another user makes a modification they don't trample all over a manually modified enhancement. |
| 16:20 |
|
tobyink |
but there is no wiki ;-) |
| 16:20 |
|
bowtie |
so tobyink I guess you did not generate the panel |
| 16:20 |
|
tobyink |
I did notice the warning, and that's why I updated the fbp file too. |
| 16:22 |
|
bowtie |
tobyink, but if your mod was to say not quite right, what will happen when the next person generates the panel, as alias dose when he makes changes to P-P-FB to all dialogs and panels |
| 16:25 |
|
tobyink |
Well, as I say, the wiki is down, so I have no idea how to check it. But it's such a small change I'd be fairly gobsmacked if anything went wrong. Besides which, that's the whole point of version control, ain't it? Something wrong, roll it back. |
| 16:27 |
|
bowtie |
tobyink, me thinks you are an anarchist :) |
| 16:27 |
|
bowtie |
did you try generating the new improved panel with P-P-FB |
| 16:28 |
|
|
asarch joined #padre |
| 16:28 |
|
tobyink |
very much so. |
| 16:28 |
|
tobyink |
I have not idea how. As I said, the wiki is down. |
| 16:29 |
|
bowtie |
hold on |
| 16:30 |
|
bowtie |
tobyink, the info for P-P-FB -> http://blogs.perl.org/users/ad[…]ion-for-perl.html |
| 16:30 |
|
daxim |
http://perlmonks.org/index.pl?node_id=974320 # Is there a way to change Padre template |
| 16:33 |
|
bowtie |
daxim, hi look in -> share/templates/perl5/ |
| 16:34 |
|
bowtie |
daxim, you can edit them, they might be RO |
| 16:36 |
|
bowtie |
daxim, or search for script_pl.tt |
| 16:36 |
|
daxim |
bowtie, you = lol internet, and the answer belongs in the thread. I am daxim, not dayton. |
| 16:36 |
|
daxim |
pm allows anon comments/answers, no sign-up necessary |
| 16:37 |
|
bowtie |
daxim, sorry |
| 16:38 |
|
bowtie |
daxim, but you did ask, which surprised me a bit :) |
| 16:40 |
|
* tobyink |
installs Padre-Plugin-FormBuilder-0.04 |
| 16:40 |
|
daxim |
no, I merely relayed a link, which I do all the time |
| 16:40 |
|
daxim |
more eyeballs = higher chance for a good answer |
| 16:41 |
|
asarch |
How do you pass arguments to the script being editing? |
| 16:42 |
|
bowtie |
asarch, hi, look here: tools -> prefs -> perl 5 |
| 16:42 |
|
asarch |
Gotcha! Thank you bowtie |
| 16:43 |
|
asarch |
Thank you very much :-) |
| 16:43 |
|
bowtie |
daxim. is this relay bidirectional? |
| 16:44 |
|
tobyink |
bowtie: hahaha. that's funny. I used Padre::Plugin::FormBuilder to regenerate Padre::Wx::FBP::VCS from Padre.fbp and it's byte-for-byte identical with my handwritten one. They literally have the same MD5 hash. |
| 16:44 |
|
tobyink |
11c2fa8a2aa9aee932cf62ac9d3e141c lib/Padre/Wx/FBP/VCS.mine |
| 16:44 |
|
tobyink |
11c2fa8a2aa9aee932cf62ac9d3e141c lib/Padre/Wx/FBP/VCS.pm |
| 16:46 |
|
bowtie |
tobyink, thats good news, now we know your mod wont get clobbered in the future :) |
| 16:46 |
|
tobyink |
I'll be generating a new copy of the patch shortly anyway, as I've been adding git support. |
| 16:49 |
|
bowtie |
tobyink, you need to talk to azawawi, re this feature, as he is the author of this feature, do you want his contact info? |
| 16:52 |
|
daxim |
it sometimes goes the other direction, mostly for Stack Overflow |
| 17:02 |
|
bowtie |
tobyink, Q for you, have you decide how you are going to incorporated the comment which usually accompanies a commit to VCS |
| 17:23 |
|
|
Fosforo1 joined #padre |
| 17:26 |
|
|
daxim joined #padre |
| 17:38 |
|
|
Fosforo joined #padre |
| 17:44 |
|
|
dod1 joined #padre |
| 17:45 |
|
tobyink |
bowtie: There's a $main->simple_prompt which asks for a comment. |
| 17:46 |
|
bowtie |
tobyink, cool |
| 18:36 |
|
|
Holy_Cow joined #padre |
| 18:53 |
|
|
Mithaldu joined #padre |
| 19:07 |
|
|
stkowski joined #padre |
| 19:23 |
|
|
pece joined #padre |
| 20:03 |
|
|
Fosforo1 joined #padre |
| 20:10 |
|
|
perlite joined #padre |
| 20:34 |
|
|
Fosforo joined #padre |
| 21:01 |
|
|
sugar joined #padre |
| 21:14 |
|
|
jsg joined #padre |
| 22:25 |
|
|
Di-ima joined #padre |
| 22:39 |
|
|
waxhead joined #padre |
| 23:10 |
|
|
bowtie left #padre |
| 23:12 |
|
|
itcharlie left #padre |
| 23:15 |
|
|
Fosforo1 joined #padre |