Jo8n | 25 Jun 2012 18:45
Favicon

[p4] p4api.net


Posted on behalf of forum user 'Jo8n'.

Hi, 

We've been using p4api.net as best we can and, while it does seem to be an
improvement, there are a couple bugs that make things difficult. For now, this
is one I can definitely put my finger on.

We found that when we specify ChangesCmdFlags.IncludeTime to ChangesCmdOptions,
we get -i (instead of the expected -t). This prompted experimentation where we
specified IncludIntegrations to ChangeCmdOptions and got -t. Inspection of the
decompiled source revealed this code with those values seemingly swapped:

public Options(ChangesCmdFlags flags, string clientName, int maxItems,
ChangeListStatus status, string userName) { if ((flags &
ChangesCmdFlags.IncludeIntegrated) != ChangesCmdFlags.None)
this["-t"] = (string) null; if ((flags &
ChangesCmdFlags.IncludeTime) != ChangesCmdFlags.None)
this["-i"] = (string) null; 

Otherwise, we're seeing some complaints from the CLR about accessing objects
in callbacks from Native code but I can't generate a concise description of
how to repro that one yet.

Thanks and looking forward to the release version.
-Jonathan

--
Please click here to see the post in its original format:
(Continue reading)

scuttlemonkey | 27 Jun 2012 19:05
Favicon

Re: [p4] p4api.net


Posted on behalf of forum user 'scuttlemonkey'.

Hey Jonathan,

I see an answer hasn't been posted here yet. As I understand it there will
be a GA version headed out the door in the near future that should address this.
I'll have one of the guys drop you a line here with a link to the new ftp
download when it's ready. Thanks!

--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/1699-p4apinet
_______________________________________________
perforce-user mailing list  -  perforce-user <at> perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user

p4bill | 28 Jun 2012 14:35
Favicon

Re: [p4] p4api.net


Posted on behalf of forum user 'p4bill'.

The release version has been pushed to ftp and can be found here:

ftp://ftp.perforce.c...12.1/bin.ntx86/
[ftp://ftp.perforce.com/perforce/r12.1/bin.ntx86/]

--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/1699-p4apinet
_______________________________________________
perforce-user mailing list  -  perforce-user <at> perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user

Jo8n | 29 Jun 2012 20:35
Favicon

Re: [p4] p4api.net


Posted on behalf of forum user 'Jo8n'.

[http://forums.perforce.com/index.php?app=forums&module=forums&section=findpost&pid=5568]
scuttlemonkey, on 2012/06/27 17:00:39 UTC, said:
>    Hey Jonathan,
>   
>   I see an answer hasn't been posted here yet. As I understand it there will be a GA version headed out the door
in the near future that should address this. I'll have one of the guys drop you a line here with a link to the
new ftp download when it's ready. Thanks!
>   

Scuttlemonkey,

Thanks for the update. The latest version does solve the swapped flags problem. 

It appears the callback faults are also fixed though I've only been running
it a short time so far.

Thank you!
-Jonathan

--
Please click here to see the post in its original format:
  http://forums.perforce.com/index.php?/topic/1699-p4apinet
_______________________________________________
perforce-user mailing list  -  perforce-user <at> perforce.com
http://maillist.perforce.com/mailman/listinfo/perforce-user

(Continue reading)


Gmane