|
Parrot 2.10.1 Released | parrot.org | Log: irclog.perlgeek.de/parrot/today | Onward and upward with Google Code-In | Please test rakudo with bleeding edge parrot! | Remove deprecations | close tickets | merge html_cleanup and embed_api2 Set by moderator on 14 December 2010. |
|||
|
00:06
Matt221 joined,
Matt221 left
01:02
Kristaba joined
|
|||
| dalek | rrot: 6acd507 | NotFound++ | / (2 files): fix NameSpece get_pmc_keyed with RSA key, fix a test that was passing for wrong reason, and add one more test |
01:04 | |
| whiteknight | NotFound++ | 01:06 | |
| more testing = more awesome | |||
|
01:12
Matt221 joined,
Matt221 left
|
|||
| whiteknight | incoming | 01:13 | |
| dalek | rrot/embed_api3: 4a2e7af | Whiteknight++ | / (54 files): update to master from embed_api2. Add a new function src/packfile/object_serialization.c:Parrot_pf_verify_image_string which performs a basic sanity check of an image string before thawing. This image moved from src/global_setup.c where it didn't belong |
||
| whiteknight | ...damnit | ||
| i thought that was going to be much more impressive | |||
| dalek | rrot/embed_api4: 4a2e7af | Whiteknight++ | / (54 files): update to master from embed_api2. Add a new function src/packfile/object_serialization.c:Parrot_pf_verify_image_string which performs a basic sanity check of an image string before thawing. This image moved from src/global_setup.c where it didn't belong |
01:18 | |
| rrot/embed_api4: 52192e1 | Whiteknight++ | / (54 files): Merge branch 'embed_api3' into embed_api4 |
|||
| whiteknight | okay, so updating embed_api to master was not nearly as messy as I thought it would be | 01:22 | |
| cotto | sorry to hear that | ||
| whiteknight | yeah, now my whole night is free to work on other crap | 01:23 | |
| cotto | whiteknight, do you have a gci admin bit or is that only dukeleto | ||
| whiteknight | what a drag | ||
| dukeleto | |||
| I was asking for one, but no dice | |||
| cotto | Help me dukeleto. You're my only hope. | ||
| whiteknight | what do you need, cotto? | 01:24 | |
| cotto | gci task approved | ||
| whiteknight | which task? Why can't you approve it? | ||
| oh, the one with the .gitignore? | |||
| cotto | yes | ||
| Kristaba | whiteknight: Hi, I finally find the time to code... | 01:25 | |
| whiteknight | Kristaba: awesome. What do you want to hack on tonight? | ||
| Kristaba | So, before proceeding further, could you look at my function to say me if it seems ok or not? | ||
| whiteknight | okay | 01:26 | |
| Kristaba | pastebin.com/tf601eEW | ||
| It seem to be a very tiny function, no? | |||
| whiteknight | Kristaba: Okay, mostly good. I think name can be a Parrot_String, and that makes the function even smaller | 01:27 | |
| Kristaba | Is Parrot_String a alias to STRING? | ||
| whiteknight | Kristaba: Parrot_String is STRING* | 01:31 | |
| Kristaba | Ok, thank you ;) | ||
| Oh, a last question | 01:32 | ||
| If it's a pointer, I need to enclosed it by ARGIN(), isn't it? | 01:33 | ||
| whiteknight | you only need ARGIN if you see the * | 01:34 | |
| for Parrot_String, you don't need it | |||
| Kristaba | ok | ||
| whiteknight | plobsing: ping | ||
| whiteknight is reading the code in src/packfile/api.c, and is slowly going cross-eyed | 01:39 | ||
| the curse words must flow | |||
| the fact that all the functions call Parrot_io_eprintf to report errors instead of throwing exceptions is upsetting | 01:43 | ||
| pf_register_standard_funcs is stupid, and is a great argument for converting these things to PMCs | 01:44 | ||
|
01:44
Yuki`N joined
|
|||
| Yuki`N | I wonder what else there is to do. | 01:44 | |
| whiteknight | the fact that we differentiate between an "initial" packfile and all other packfiles, and that we need PackFile_new_dummy for those situations is retarded | 01:45 | |
| hello Yuki`N, what do you want to do? | |||
| Yuki`N | Not quite sure. | ||
| whiteknight | We have a few more tasks scheduled, and I can create more if needed | ||
| Yuki`N | Maybe some more with the embedding API, or if you have some refactoring/cleanup that you need done. | ||
|
01:52
kennym left
|
|||
| whiteknight | Yuki`N: okay, let me take a look | 02:01 | |
| bluescreen | whiteknight what do you mean by submit smolder reports? | 02:02 | |
| whiteknight | actually, dukeleto is the only person who can approve tasks, so nothing I make tonight will be available | ||
| bluescreen: "make smoke" | |||
| that runs the test suite and posts a report to smolder.parrot.org/app/projects/smoke_reports/1 | 02:03 | ||
| bluescreen | on the trunk ( or master) isn't it? | ||
| and is there any tool for submitting those? | |||
| whiteknight | bluescreen: yes, on master. you need some Perl prerequisites, but once you have those just type "make smoke" and it does everything for you | 02:04 | |
| try it now. If you don't have everything it will tell you what to install | |||
| bluescreen | i can handle perl depedencies... :P | 02:05 | |
| Yuki`N | Pssh, chanops. | ||
| bluescreen | but won't claim victory | ||
| Kristaba | Strange... | 02:10 | |
| I can't build Parrot (using embed_api2 branch, of course) because GCC return an error "src/embed/pmc.c:186: error: ISO C90 forbids mixed declarations and code" | |||
| Yuki`N | I blame whiteknight | 02:11 | |
| Kristaba | This line is a part of Parrot_api_pmc_invoke() function : PMC * const old_call_obj = Parrot_pcc_get_signature(interp, CURRENT_CONTEXT(interp)); | ||
| bluescreen | yeah | ||
| Kristaba I've a fix | |||
| if you want to fix it yourself | |||
| just remove the trailing ";" in the EMBED_CALLIN | |||
| Kristaba | bluescreen: Thank you, it's a very strange issue O_o | 02:13 | |
| bluescreen | GCC understands a ";" as a line of code therefore any variable declaration before a line of code breaks C90 std | 02:14 | |
| very stupid | |||
| probably we should submit a bug to gcc team | |||
| Kristaba | And now an other problem with pbc_to_exe... | 02:18 | |
| "PackFile_unpack: This Parrot cannot read bytecode files with version 9.0." | |||
| whiteknight | bluescreen: I've updated the embed_api stuff to current master. The new updated branch is embed_api4 | 02:19 | |
| Kristaba: make realclean, configure, and make again | 02:20 | ||
| Kristaba | Okay, thanks again | ||
| bluescreen | is there any easy way to merge my commits to embed_api4? | 02:21 | |
| I've a couple commits with docs there | |||
| but I don't know how to merge them easily in git | |||
| whiteknight | just commit your changes to embed_api2 for now, we can merge them up later | 02:23 | |
| bluescreen | sure...git is still a big beast for me | 02:24 | |
| i guess I'm getting old | 02:25 | ||
| whiteknight | don't worry about it. I don't even know what would be the best way for you to move commits at this point | ||
| I should have asked before I updated | 02:26 | ||
| I was expecting it to be harder, I was planning on doing a test run first | |||
| bluescreen | then i guess dukeleto is the expert here | 02:28 | |
| whiteknight | commit your changes to embed_api2. Then we can merge the new changes into embed_api4 | 02:33 | |
| so it's all good | |||
| bluescreen | I've put pmc.c and strings.c into the MANIFEST.. just when I thought everything was done!!!! | 02:35 | |
| dalek | tracwiki: v179 | whiteknight++ | WikiStart | 02:43 | |
| tracwiki: +tasklist page for Packfiles | |||
| tracwiki: trac.parrot.org/parrot/wiki/WikiSta...ction=diff | |||
| Yuki`N | whiteknight, git rebase! | 02:44 | |
| whiteknight | yeah, I cold do that too | ||
|
02:45
kid51 joined
|
|||
| Yuki`N | dukeleto is mia, I take it? | 02:45 | |
| cotto | if by mia you mean vacation, yes | 02:46 | |
| kid51 | whiteknight: IIRC dukeleto is not the only person who can approve tasks. | 02:47 | |
| cotto | kid51, who else can? | ||
| kid51 | Someone asked me to approve a task last night and I was able to do it. | ||
| I think if you signed up to be a mentor, you can. | |||
| I certainly had no particular connection to the task I approved. | |||
| The GCI student provided me with a link (melange?) and I clicked thru | 02:48 | ||
| So, what tasks need approving | |||
| ? | |||
| cotto | socghop.appspot.com/gci/task/sugges...9270216789 | ||
| kid51 | Hmm ... where is the Approve button? | 02:51 | |
| cotto You are listed as the mentor on this one. | 02:52 | ||
| whiteknight | kid51: yes, he's the only one | ||
| kid51: we are go to merge that quickcover branch. The sooner the better I think | |||
| cotto | I guess dukeleto needs to approve it then. | ||
| whiteknight | that way we get plenty of time to test before the release | ||
| cotto | +1 | 02:53 | |
| kid51 | I thought for certain I had approved a task last night. | ||
| So, cotto, when you go to that link, you cannot find an Approved button either? | 02:56 | ||
| cotto | kid51, right | ||
| bluescreen | whiteknight: putting ARGIN, ARGIN_NULLOK to those missing signatures. One question the functions Parrot_api_pmc_set_* ( string, float, int), should the be ARGIN_NULLOK? | 02:59 | |
| whiteknight | bluescreen: if we allow handling a NULL, yes | ||
| if they are NULLOK, we should convert NULL to PMCNULL before passing them to VTABLEs | 03:00 | ||
| bluescreen | yeah.. but will vtable methods support NULLs ? | 03:03 | |
| whiteknight | probably not. That's why we use PMCNULL | 03:05 | |
| PMCNULL is safe to use, NULL is not | |||
| I have to go to bed now. Goodnight | |||
|
03:05
whiteknight left
|
|||
| kid51 | cotto: I guess I was wrong about my having the ability to approve tasks. | 03:06 | |
| Is there a student who wants to claim that task? | |||
| Yuki`N | They're not made public until they're approved, so there's no way of knowing if anyone wants to claim it. | 03:09 | |
| Kapace_ | Yuki`N: i think he means has a student requested a task like that | 03:14 | |
| kid51 | Yes, this link implies that only the "organization administrator" can approve and publish a task: socghop.appspot.com/document/show/g...aqs#status | ||
| dalek | tracwiki: v1 | whiteknight++ | PackfileTasklist | 03:16 | |
| tracwiki: Initial braindump of a first-round cleanup tasklist for this subsystem. | |||
| tracwiki: trac.parrot.org/parrot/wiki/Packfil...ction=diff | |||
| cotto | whiteknight++ | 03:17 | |
| kid51, no. I just thought it'd be a proper application of laziness to make it a gci task. I'm not sure if it was easier than doing it myself but it'll be a fairly simple task. | 03:18 | ||
| Kristaba | I'm trying to write an embed api test for my find_method() function but I don't find any defined PMC with a method (not a VTABLE method) to use, and I don't understand how I can add a method in C code trough the api | 03:25 | |
| kid51 | Well, AAMOF, I've been dealing with 'make cover' issues for the last week! | 03:26 | |
| (As the next commit will show!) | |||
| Kristaba | Can someone help me, or explain me if I'm wrong? | 03:27 | |
| kid51 | I need some git help | 03:29 | |
| I said: git merge --no-ff tt1893_quickcover | |||
| I got a conflict in one file. | 03:30 | ||
| I edited the file to resolve the conflict. | |||
| If this were still Subversion, I would say "svn resolved <file>" to clean up the conflict. I would then be ready to commit. | |||
| But here in git, I get: fatal: cannot do a partial commit during a merge. | |||
| What do i do? | 03:31 | ||
| dalek | rrot: 425088a | jkeenan++ | / (7 files): Merge branch 'tt1893_quickcover' |
03:35 | |
| kid51 | Hmm, it appears I simply say: git commit | ||
| Yuki`N | kid51, well, git add then commit | 03:37 | |
| kid51 | Yuki`N: Yes, I did git add -- but then the next step had to be git commit, not another try at git merge | 03:39 | |
| Yuki`N | Ah. | ||
| Kristaba | Nobody has any idea for my problem? | 03:46 | |
| kid51 | Kristaba: I suspect whiteknight could answer your question ... but he went to bed 20 minutes before you asked it :-( | 03:49 | |
| Kristaba | kid51: Yes, you're right, and since nobody here can help me I'll go bed too | 03:53 | |
| About 5h a.m. in France, so I think it's a good idea ;) | 03:54 | ||
| dalek | rrot: aeb54a2 | jkeenan++ | MANIFEST: Update MANIFEST. |
||
| Kristaba | Good night Parrot devs | 03:55 | |
| kid51 | Kristaba: You can post your question to parrot-dev and someone will help you tomorrow | ||
|
03:55
Kristaba left
|
|||
| dalek | rrot: be7ecc1 | jkeenan++ | .gitignore: Add .gcov, .gcda, .gcno (files generated during make quickcover/cover) to .gitignore. |
04:08 | |
| kid51 | cotto: I took care of that .gitignore task. | ||
|
04:10
cognominal joined
04:22
plobsing joined
|
|||
| cotto | kid51, ok. | 04:35 | |
| plobsing | āæāæ | 04:36 | |
| Yuki`N | Sine wave what. | ||
| cotto | That looks sineful. | 04:37 | |
| bluescreen | thanks kid51++ for keep sending the build reports, hopefully my next commit will fix those | 04:54 | |
|
04:58
kid51 left
05:04
plobsing left
05:32
rurban_ joined
|
|||
| dalek | rrot/lorito: 042dcef | cotto++ | CREDITS: add kapace to CREDITS |
05:34 | |
| rrot: 16cdac2 | cotto++ | .gitignore: add a few more coverage test files to .gitignore |
|||
|
05:34
rurban left
|
|||
| cotto | definitely time to add the current git branch to my bash prompt | 05:35 | |
|
05:35
rurban_ is now known as rurban
05:56
gg411 joined
|
|||
| dalek | rrot/embed_api2: cc0610a | bluescreen10++ | / (17 files): Fixed codigstd tests |
06:18 | |
| rrot/embed_api2: 633c302 | bluescreen10++ | / (4 files): Merged with remote |
|||
|
06:21
dd070 joined
|
|||
| dd070 | hey guys | 06:22 | |
|
06:23
nwellnhof left
06:24
redicaps left
06:36
gg411 left
|
|||
| Kapace | cotto, just wondering what you mean by "add to your bash prompt"... | 06:39 | |
| cotto | cotto@feather:/usr/src/parrot/parrot-git-master\\ @master 1 $ | 06:44 | |
| melange-- | 07:14 | ||
| ActionNeeded does not mean "you don't actually need to do anything" | |||
| not even if you're at Google | 07:15 | ||
|
07:21
Zaur joined
|
|||
| Kapace | 33 | 07:33 | |
|
07:40
Yuki`N left
08:18
fperrad joined
09:01
theory left,
PacoLinux left
09:29
rfw left
09:37
PacoLinux_ joined,
PacoLinux_ is now known as PacoLinux
10:03
Zaur left
10:12
dd070 left
11:14
kennym joined
12:47
whiteknight joined
|
|||
| whiteknight | good morning, #parrot | 12:50 | |
|
12:57
cognominal left
13:10
kj joined
|
|||
| dalek | rrot/embed_api4: cc0610a | bluescreen10++ | / (17 files): Fixed codigstd tests |
13:13 | |
| rrot/embed_api4: 633c302 | bluescreen10++ | / (4 files): Merged with remote |
|||
| rrot/embed_api4: 8968f2f | Whiteknight++ | / (17 files): fix MANIFEST conflict |
|||
|
13:18
Zaur joined
13:30
cognominal joined,
kid51 joined
13:32
rurban_ joined
|
|||
| kid51 | good morning #parrot | 13:33 | |
|
13:34
rurban left,
rurban_ is now known as rurban
|
|||
| dalek | rrot/embed_api4: 4bdf6fa | Whiteknight++ | src/packfile/object_serialization.c: add ASSERT_ARGS to Parrot_pf_verify_image_string |
13:35 | |
| kid51 | whiteknight: After you left channel last night, someone had a question I could not answer but I think you could | 13:36 | |
| tadzik | kid51: ragnarok is the end of the world in vikings' mythology | 13:37 | |
| kid51 | tadzik: It's amazing that I got this far in life without knowing that ;-) | 13:38 | |
| How is it different from gotterdamerung? | |||
| tadzik | kid51: never heard of it | ||
| The title is a translation into German of the Old Norse phrase Ragnarƶk | 13:39 | ||
| there we go | |||
| kid51 | en.wikipedia.org/wiki/G%C3%B6tterd%C3%A4mmerung | ||
| tadzik | looks like something I'd like to listen too | 13:40 | |
| oh, still haven't post my talk review to the ML | |||
| posted | 13:49 | ||
| kid51 | Thanks | 13:54 | |
| And now, YAGQ: | |||
| In Subversion, when I would look at a branch and ask "What did the developer change in this branch from the point where the branch was forked off trunk?", I would first say "svn log . --stop-on-copy", then use the oldest revision number as the starting point for an 'svn diff'. | 13:56 | ||
| What's the best way of doing that in git? | |||
| Particularly in the absence of (a) sequential revision numbers and (b) a commit message where the developer clearly indicates he's starting a new branch? | 13:57 | ||
| tadzik | hmm. Easy once you know when he started | 13:58 | |
| kid51 | Concrete example: | ||
| I want to review the nwellnhof/compiler_flags branch. | |||
| tadzik | git diff mybranch..master is a part of a problem | ||
| kid51 | I first became aware of this branch about Dec 06. | ||
| So my initial impulse would be to look for a log message around that date. | |||
| tadzik | git checkout nwellnhof/compiler_flags && git log? | 13:59 | |
| kid51 | However, upon inspection, I see a commit from Oct 02 with this message: "[configure] Don't use compiler and linker flags from Perl" | ||
| tadzik: That's what I have done. | |||
| tadzik | I see | 14:00 | |
| kid51 | I know that, for various reasons, developers like to update their branches with recent changes to master. (is this what they call rebasing?) | ||
| tadzik | a branch in git is just a file with a revision it was started from, so it should be fairly easy to find that out | ||
| kid51 | But that adds a lot of noise if I'm looking for changes that are distinct to that branch | 14:01 | |
| tadzik | that's unavoidable I'm afraid | 14:02 | |
| whiteknight | tadzik: I can add your blog to planet Parrot, but i couldn't find an RSS feed that's only for Parrot-related items | 14:09 | |
| tadzik: I can add your main feed, or maybe you can find me a parrot-only feed? | 14:10 | ||
| tadzik | whiteknight: let me see, Planet Perl 6 uses a category-only feed too | 14:11 | |
|
14:11
Kristaba joined
|
|||
| tadzik | ttjjss.wordpress.com/category/parrot/feed/ | 14:12 | |
| that'd be it | |||
| kid51: there is --no-merges for git-log | 14:14 | ||
| whiteknight | tadzik: thanks! I couldn't find the link but I figured one existed | 14:16 | |
|
14:16
contingencyplan left
|
|||
| Kristaba | whiteknight: Hey, I need some help again | 14:17 | |
| whiteknight | Kristaba: sure. What do you need? | ||
| I'm always happy to help | |||
| Kristaba | I wrote a PIR code to use to test my find_method() function, but I don't understand how to compile and execute a PIR code in C, using the new api | ||
| (and I have no idea of test that using only C code, in this case :/) | 14:18 | ||
| whiteknight | tadzik: What name do you want the feed listed under, "tadzik"? | ||
| Kristaba: oh, okay. That is tricky. Instead of compiling PIR to find a method, you could try to find a built-in method instead | 14:19 | ||
| String has a bunch methods. String.is_integer is a good one to play with | 14:21 | ||
|
14:22
kj left
|
|||
| Kristaba | Perfect, it's exactly the kind of method I looked for ;) | 14:23 | |
| whiteknight | A test with a PIR method does sound very cool, but I think it's a little too big for a test right now | 14:24 | |
| Kristaba | Yes, I understand, no problem :) | 14:25 | |
| whiteknight | tadzik: Added, I think | ||
|
14:26
ambs joined
|
|||
| tadzik | whiteknight: tadzik is ok for me. afk for now | 14:29 | |
| whiteknight | ok | ||
| Kristaba: Just let me know when you're ready for a review | 14:30 | ||
| nopaste | "kid51" at 192.168.1.3 pasted "git problem: how to read logs to study a branch from its branch point" (26 lines) at nopaste.snit.ch/27214 | 14:31 | |
|
14:36
macroz joined
|
|||
| whiteknight | kid51: git log origin/master..nwellnhof/compiler_flags | 14:36 | |
| I think | |||
| kid51 | whiteknight: Okay, so that shows me the log of commits which are exclusive to the compiler_flags branch. | 14:38 | |
| whiteknight | yes, isn't that what you wanted? | ||
| kid51 | But what I really want is a diff. The log was only a stepping-stone. | ||
| Specifically, a diff that includes the changes committed in the oldest commit shown there. | 14:39 | ||
| If I say: git diff -r d2c2cc40.. will that *include* the changes in that commit -- or only the changes *since* that commit? | 14:41 | ||
| whiteknight | kid51: git diff origin/master..nwellnhof/compiler_flags | 14:44 | |
| kid51 | whiteknight: That shows me the difference between the heads of the two trees, but what I really want (I think), is a diff where on the left-hand side we have master at the point at which compiler_flags was forked | 14:46 | |
| whiteknight | kid51: Get the SHA of the point where the branch was branched, and use that as the first argument to .. | 14:47 | |
| dukeleto | ~~ | 14:50 | |
| kid51: there is something called "git merge-base" | |||
| kid51: you probably want that | 14:51 | ||
| kid51: but there is also something called ... which is a relative to .. | |||
| kid51 | whiteknight: How do I get that SHA? | 14:52 | |
| whiteknight | kid51: I dont know. I would probably look through the network diagram on github to find it | 14:53 | |
| github.com/parrot/parrot/network | |||
| dukeleto | kid51: git rev-parse | ||
| whiteknight | Kristaba: do you know C#? | 14:54 | |
| dukeleto | kid51: book.git-scm.com/4_git_treeishes.html may help a bit | ||
| I can't find the docs for ... right now. Frustrating. | 14:55 | ||
| Kristaba | whiteknight: No, I never programmed in C# for a lot of reason, why? | 14:56 | |
| whiteknight | Kristaba: because one of the projects I am working on with the embed_api is a C# wrapper for Parrot | 14:57 | |
| if you wanted to work on that, I could make some GCI tasks for i | |||
| it | |||
| dukeleto | kid51: progit.org/book/ch6-1.html | 14:59 | |
| kid51 | dukeleto: Will look at those in a little while. afk | ||
| dukeleto | "The last major range-selection syntax is the triple-dot syntax, which specifies all the commits that are reachable by either of two references but not by both of them." | 15:00 | |
| Kristaba | Oh, thank you, but I think that after this one I'll claim one or two task from Apertium project, but if nobody do this in few days, why not | 15:01 | |
| whiteknight | Kristaba: okay | 15:03 | |
|
15:07
s1n left
|
|||
| Kristaba | But now I'm looking for how to get a PMC signature object from my args >_<' | 15:08 | |
| I looked at pcc.c, but I don't find a lot of information about the sub signature when a PMC is used | 15:09 | ||
| whiteknight | Kristaba: You have to specify the PMC signature | 15:11 | |
| for to_int, the signature is "PiI->P" | 15:12 | ||
| Kristaba | The signature PMC is the only the string? | 15:13 | |
| But in this case, how to pass arguments and get returns value using Parrot_api_pmc_invoke(Parrot_PMC interp_pmc, Parrot_PMC sub, Parrot_PMC signature) ? | |||
| whiteknight | the signature PMC is a CallContext | ||
| CallContext VTABLE_set_string_native sets the signature | 15:14 | ||
| then you set the arguments, cc[0] = foo, cc[1] = bar | |||
| The API doesn't really have a way to get the return value, yet | |||
| hmm, give me a minute | 15:17 | ||
| Kristaba | Ok, and how to add the invocant object to this CallContext? :/ | 15:18 | |
| whiteknight | Kristaba: use String.replace. That method doesn't have a return value to worry about | 15:19 | |
| the signature string is "PiI->P" | |||
| the first argument is the invocant, so set that in the CallSignature with Parrot_api_pmc_set_keyed_int(interpmc, 0, string) | 15:20 | ||
| actually, the signature string is "PiSS->" | |||
| the second argument is the string to find | |||
| the third argument is the string to replace | |||
| Then you can use Parrot_api_pmc_get_string to get the new value | 15:21 | ||
| Kristaba | It's very clear, thank you for these explanations | 15:22 | |
| whiteknight | okay | ||
| the API needs too many things, and they all depend on each other | 15:23 | ||
| Kristaba | Yes, I guess it's a difficult moment for explain something about the new api to a student | 15:26 | |
| whiteknight | no, the students are doing great. The hard part is making tests when we don't have all the functions we need yet | 15:31 | |
| writing functions is easy. Writing tests for them is hard | |||
| Zaur | could someone help with building Parrot on windows, i get error when trying run make | 15:36 | |
| whiteknight | Zaur: I can try. I don't have windows here though | 15:38 | |
| what's your problem? | |||
| Zaur | Configure.pl successfully finished, after that i run mingw32-make and get error | 15:39 | |
| whiteknight | what error? | ||
| Zaur | config/gen/platform/win32/pid.c: In function 'Parrot_getpid': | ||
| config/gen/platform/win32/pid.c:31:5: warning: null argument where non-null requ | |||
| ired (argument 1) | |||
| config/gen/platform/win32/sysmem.c: In function 'Parrot_sysmem_amount': | |||
| config/gen/platform/win32/sysmem.c:57:5: error: 'MEMORYSTATUSEX' undeclared (fir | |||
| config/gen/platform/win32/sysmem.c:60:5: warning: implicit declaration of functi | |||
| on 'GlobalMemoryStatusEx' | |||
| config/gen/platform/win32/sysmem.c:60:5: warning: nested extern declaration of ' | |||
| GlobalMemoryStatusEx' | |||
| config/gen/platform/win32/sysmem.c:63:1: warning: control reaches end of non-voi | |||
| d function | |||
| mingw32-make: *** [src/platform.o] Error 1 | |||
|
15:40
Psyche^ joined
|
|||
| whiteknight | hmm...weird | 15:40 | |
|
15:40
Patterner left,
Psyche^ is now known as Patterner
|
|||
| whiteknight | Zaur: what version of windows? What compiler? What version of perl are you using? | 15:42 | |
| Zaur | Windows 7 Ultimate 32 bit, compiler mingw-gcc 4.5.0 perl 5.12.2 (activeperl) | 15:44 | |
| Kristaba | It works \\o/ | 15:46 | |
| whiteknight: I push my git repo and then I add a pull request on parrot/parrot | 15:47 | ||
| whiteknight | Kristaba: I don't think you can do a pull request on a branch | ||
| push your changes, and I will pull them when you are ready | |||
| Zaur: There are problems using ActivePerl with mingw. I don't know why | 15:48 | ||
| if you use ActivePerl, you probably want to use MSVC | |||
| the header files and macros change for some reason | |||
| Zaur | Whiteknight ok, i will test with msvc | 15:49 | |
| whiteknight | Zaur: I usually build with ActivePerl and MSVC, so I think that should work | 15:50 | |
| Configure.pl takes some settings from Perl for the compiler. So ActivePerl is built with MSVC, so that's what the settings will be | |||
| Strawberry perl is built with mingw, so those two work together | 15:51 | ||
| Kristaba | whiteknight: github.com/Kristaba/parrot/tree/gci_find_method | 15:52 | |
| dalek | rrot/gci_api_find_method: 63d7ef8 | (Lļæ½o Grange)++ | / (3 files): Add Parrot_api_pmc_find_method() function and improve t/src/embed/pmc.t to test it |
15:53 | |
| whiteknight | pulled | ||
| whiteknight | thanks | ||
|
15:54
kid51 left
|
|||
| Kristaba | Sincerely, writing this kind of test is very interesting, so thanks to you ;) | 15:54 | |
| whiteknight | You're doing a great job with it | ||
| I need to write more tasks so you have more interesting things to choose from | 15:55 | ||
| Kristaba | Great :) | ||
| whiteknight | Kristaba: what kinds of things do you like to do most? I can make tasks for tose | 15:57 | |
| those | |||
| Kristaba | a difficult question ^^ | 16:00 | |
| whiteknight | okay, I'll try to make a nice variety | ||
| Kristaba | Ok, and if I have a great idea of task to do I tell you about | 16:01 | |
| whiteknight | ok | 16:04 | |
| Zaur | Whieteknight , which version of vc should I use? | ||
| whiteknight | Zaur: I don't know. I use VisualStudio 2010, but 2005 and 2008 should work too | 16:08 | |
| I don't know about anything older | |||
| Kristaba++ | 16:21 | ||
| dalek | rrot/embed_api4: 63d7ef8 | (Lļæ½o Grange)++ | / (3 files): Add Parrot_api_pmc_find_method() function and improve t/src/embed/pmc.t to test it |
||
| rrot/embed_api4: 459fc64 | Whiteknight++ | / (3 files): fix merge problems |
|||
| rrot/embed_api4: 80975b3 | Whiteknight++ | / (3 files): Parrot_api_pmc_[get|set]_keyed got deleted on accident. Re-add them and tests pass again |
|||
|
16:25
macroz left
16:26
macroz joined,
macroz left,
macroz joined
16:41
Matt221 joined
16:45
plobsing joined
16:46
Matt221 left
|
|||
| Zaur | whiteknight now i compile with vc2008 but receive this | 16:54 | |
| Creating library libparrot.lib and object libparrot.exp | |||
| env.obj : error LNK2001: unresolved external symbol __environ | |||
| libparrot.dll : fatal error LNK1120: 1 unresolved externals | |||
| NMAKE : fatal error U1077: 'C:\\msvs9\\VC\\BIN\\link.EXE' : return code '0x460' | |||
| Stop. | |||
|
16:54
nwellnhof joined
17:00
kid51 joined
|
|||
| nwellnhof | kid51: have you seen my reply to #1044? | 17:01 | |
| kid51 | nwellnhof: Thanks. Would this also have worked? ... | 17:11 | |
| git show d2c2cc40f16a4aa5f7dd979808b282fb78664f02^ followed by | |||
| git diff -r e2ee0dab05c..nwellnhof/compiler_flags | 17:12 | ||
| It appears that would produce the same diff as your suggestion: git diff master...nwellnhof/compiler_flags | 17:13 | ||
| nwellnhof | kid51: It works for now, but as soon as I merge master into nwellnhof/compiler_flags, you will see all the merged commits with your git diff command. | 17:15 | |
| what's the -r option for, btw? | 17:16 | ||
| kid51 | I thought that was needed for 'revision' | ||
| I guess it's not needed | 17:17 | ||
| What's special about the 3 dot comparison? | 17:18 | ||
| ... | |||
| nwellnhof | git diff a...b produces a diff from the common ancestor of a and b to b. | 17:20 | |
| nopaste | Someone at 192.168.1.3 pasted "git diff [--options] <commit>...<commit> [--] [<path>...]" (5 lines) at nopaste.snit.ch/27215 | 17:22 | |
|
17:36
theory joined
|
|||
| Zaur | nwellnhof is it possible to splite rights for writing in branches? | 17:36 | |
|
18:01
kid51 left,
Matt221 joined
18:06
Matt221 left
18:07
Zaur left
18:36
dd070 joined
|
|||
| nwellnhof | Zaur: github doesn't support that, afaik | 18:46 | |
|
18:50
Kulag left
18:51
Kulag joined,
bluescreen left
18:52
bluescreen joined
19:02
macroz left
|
|||
| wolverian | hey all. I'm trying to update the mac homebrew parrot recipe to 2.10.1, but I'm getting a problem where parrot_config ldflasg (and some other keys) have a path like "/private/tmp/homebrew-parrot-2.10.1-.." in them. this causes e.g. rakudo to not run, instead dying with a library not found error. | 19:05 | |
| any hints how to go about fixing that kind of a thing? I'm a total noob at c and linking and such. | |||
|
19:15
rfw joined,
nwellnhof left
|
|||
| wolverian | okay, the existing parrot 2.9.1 recipe has this bug too, so I'm filing this as a homebrew issue. | 19:23 | |
|
19:24
Patterner left
19:28
hercynium joined
19:38
Matt221 joined,
Matt221 left
19:49
contingencyplan joined
|
|||
| dd070 | which is fastest way to download parrot ? | 20:00 | |
| shoudl i checkout from git and build or there is gzip somewhere | |||
|
20:05
PacoLinux left
20:06
jhelwig left
20:12
Patterner joined
20:34
dd070 left
20:37
Matt221 joined
|
|||
| whiteknight | dd070: git is probably the fastest, | 20:59 | |
| once you have the repo, you can build master, or you can checkout a tag | 21:00 | ||
|
21:17
Matt221 left,
nwellnhof joined
21:32
rurban_ joined
21:34
rurban left,
rurban_ is now known as rurban
21:53
fperrad left
|
|||
| GeJ | Bonjour everyone. | 22:00 | |
|
22:11
bacek_at_work joined
22:13
aloha joined
22:14
Yuki`N joined
22:21
ambs left
22:24
hercynium left
|
|||
| Yuki`N | did dukeleto get back yet? | 22:30 | |
| Kristaba | cotto, cotto_work: Hey, I thought do a 'quick' documentation task tonight, as this one : www.google-melange.com/gci/task/sho...9141853072 | 22:49 | |
| If I do this, which branch should I use between embed_api2 and embed_api4? | 22:51 | ||
|
22:51
TonyC left,
TonyC joined
|
|||
| Kristaba | Oh, sorry, the GCI mentor for this one is whiteknight | 23:04 | |
|
23:10
jhelwig joined
|
|||
| Kristaba | God... All API functions are documented >_<' | 23:10 | |
|
23:19
Khisanth left
23:31
Khisanth joined
|
|||
| whiteknight | Kristaba: yeah, another contributor documented them all | 23:32 | |
| Kristaba: If you want to do that task, go through and make a few improvements to the documentation and I'll approve it | 23:33 | ||
| oh cool, aloha is back | 23:34 | ||
|
23:39
kid51 joined
|
|||
| Yuki`N | whiteknight, so that list you linked on the trac wiki yesterday is basically what the tasks that await approval are? | 23:47 | |
| Kristaba | whiteknight: I don't see a lot of possible improvements to do ;) | ||
| whiteknight | Yuki`N: what list? | 23:49 | |
| dalek | rrot: 61988c6 | jkeenan++ | lib/Parrot/Configure/Trace.pm: Correct POD formatting errors. |
||
| Kristaba | So, have you an other task about the API (such as writing tests), or something that allow me to learn a bit the PIR? | ||
| whiteknight | Kristaba: I can make some tasks, but only dukeleto can make them visible to you | 23:50 | |
| I don't know if he is around | |||
| Yuki`N | whiteknight, umm | ||
| Kristaba | And yesterday you tell me about a C# binding or something like, I think | 23:51 | |
| Yuki`N | trac.parrot.org/parrot/wiki/PackfileTasklist | ||
| Kristaba | Ok, no problem, if I have no GCI task tonight I'll hack my projects ;) | 23:52 | |
| cotto | Kristaba, cotto and cotto_work will both notice when you say "cotto" ;) | 23:57 | |