25 Jun 2012 18:45
[p4] p4api.net
Jo8n <perforce-user-forum <at> forums.perforce.com>
2012-06-25 16:45:01 GMT
2012-06-25 16:45:01 GMT
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)
RSS Feed