Revision history for Perl extension P4. 3.4608 Mon Oct 25 2004 Bug fix: The SetInput() method was omitted in the big rewrite so quite a lot was broken in builds 3.4579 and later. This change fixes that omission, and adds support for 'p4 login' too (that was how I discovered that SetInput() was missing). 3.4585 Mon Oct 18 2004 - Make P4Perl v3.x backwardly compatible with older versions of the Perforce API. 3.4582 Mon Oct 18 2004 - Port previous change to NT. As usual, it's never simple. We can't use fprintf( stderr, ... ) because of Perl's stupid macro's. Hence a lot of fprintf()'s got changed to printf()'s. - A couple of other minor changes and bugfixes. 3.4579 Fri Oct 15 2004 - Total rewrite. There's no need for P4::Client anymore, P4.pm is now completely standalone. Of course that means that to build P4.pm, you need to go through the same procedure you used to use for P4-Client. C'est-la-vie. Internally, things are much cleaner and now P4Perl shares the same architecture as P4Ruby so porting new features and bug fixes between them should be much easier. - Note that in the course of this change, the clunky DoPerlDiffs() and DoP4Diffs() methods have been pruned. If you're using DoPerlDiffs(), and you want to continue to do so, you'll need to either ) continue using a 1.x build. - Also note that errors and warnings now go to separate arrays by default (so you can take note of errors, but ignore warnings in your scripts). Users wanting the old behaviour must now call P4::MergeErrors( 1 ). - So why no version '2'? Simple really, P4::Client was already at version 2, and I didn't want to confuse things by having people think that P4::Client might be more recent/or on a par with P4. Hence the jump straight to v3. 1.4320 Wed Jun 09 2004 - Bug fix. Fix the test script so that it handles both tagged and non-tagged output for "p4 info". Tagged support for "p4 info" was added in 2003.2. Thanks to Jeremy Bopp. 1.3550 Wed Aug 06 2003 - Add support for OutputBinary() to P4Perl classes. This allow "p4 print" to work with binary files, and text files on clients with non-native line endings. - Re-add __END__ tag accidentally deleted in previous change 1.3537 Tue Aug 05 2003 - Documentation change. Added docs for P4::SubmitSpec and P4::SetInput(). No functional change. 1.2587 Fri Jan 10 2003 - Documentation change. Added docs for P4::Error and P4::ErrorCount. No functional change 1.2003 Wed Aug 07 2002 - MakeMaker tweaks. No functional change. 1.1733 Tue Apr 30 2002 - Documentation update and GA release. 0.982 Tue Oct 23 2001 - Fixed test.pl which was choking on test 6 due to ParseForms() not having been called. - Fixed return scheme so that an empty list rather than undef is returned in array context when there are no results. 0.960 Fri Oct 19 2001 - Added sample code in example.pl - Changed SetXXX/GetXXX shortcuts to FetchXXX and SaveXXX since GetClient()/SetClient() were already in use - damn! - Changed return scheme so that in scalar context Run() returns an array reference if there is more than one result. Better than a flat string which you then have to parse. - Added PPD file contributed by George Ibbott <gibbott@bakerstreettech.com> 0.931 Mon Oct 8 2001 - Enhanced interface with some shortcuts for common functions and made it easy to use the form parsing capabilities of P4::Client v 1.931. 0.10 Mon Oct 1 2001 - Initial version.
# | Change | User | Description | Committed | |
---|---|---|---|---|---|
#1 | 4669 | Raymond Danks | Create a branch of P4-3.4608. | ||
//guest/tony_smith/perforce/API/Perl/P4/Changes | |||||
#11 | 4608 | Tony Smith |
Bug fix: The SetInput() method was omitted in the big rewrite so quite a lot was broken in builds 3.4579 and later. This change fixes that omission, and adds support for 'p4 login' too (that was how I discovered that SetInput() was missing). |
||
#10 | 4586 | Tony Smith |
Update P4Perl tarball with most recent change. No need for a new installer as there's no functional change. |
||
#9 | 4582 | Tony Smith |
Port new P4Perl architecture to Windows. Fixes a few porting issues and a couple of minor errors in the previous change. |
||
#8 | 4579 | Tony Smith |
Rewrite P4Perl to be more like P4Ruby. This change does away with the old P4/P4::Client split and pulls all the functionality of P4::Client into P4. Hence P4::Client is now deprecated. There are a few gotcha's - see the Changes file, and documentation for the details, but in general it's backwards compatible. As part of this change, I'm also releasing the previous current versions of P4 and P4::Client as released versions - for posterity. P4 now gets a v3.x version number so the old versions will stand out clearly. Hopefully it's all working - works fine for me - but people should consider this a beta build, for now at least. |
||
#7 | 4320 | Tony Smith |
Bug fix. Fix the test script so that it handles both tagged and non-tagged output for "p4 info". Tagged support for "p4 info" was added in 2003.2. Thanks to Jeremy Bopp. |
||
#6 | 3550 | Tony Smith |
Add OutputBinary() support to P4Perl. This allows "p4 print" to work with clients that do not use "local" line endings amongst other things. |
||
#5 | 3537 | Tony Smith |
Documentation update. Added docs for P4::SubmitSpec() and P4::SetInput() which were missing from previous releases |
||
#4 | 2587 | Tony Smith |
Add documentation for P4::Errors() and P4::ErrorCount() which should have been there in the first place |
||
#3 | 2003 | Tony Smith |
MakeMaker tweaks to cheer up the CPAN folks. Just guessing with the PPD file, but it's better than nothing (I'm told). |
||
#2 | 1733 | Tony Smith | Documentation update for P4 Perl module. | ||
#1 | 1011 | Tony Smith |
Moved Perl API stuff one level down to make way for upcoming Ruby interface. |
||
//guest/tony_smith/perforce/API/P4/Changes | |||||
#4 | 982 | Tony Smith |
A couple of minor fixes. test.pl was choking on test 6 as ParseForms had not been called, and Run() now correctly returns an empty list in array context rather than returning undef which was confusing. |
||
#3 | 960 | Tony Smith |
Misc changes. Added an example.pl file with sample code. Also Added the PPD file to the manifest (duh!). P4::Run() now returns an array reference instead of a formatted string when used in scalar context where more than one result is returned. Also renamed the shortcut GetXXX and SetXXX methods to be FetchXXX and SaveXXX because GetClient() and SetClient() we already defined by P4::Client. |
||
#2 | 932 | Tony Smith |
Update the Changes file with the released version number, and add a README file to the package. Not much there yet. |
||
#1 | 922 | Tony Smith |
First crack at a much simpler perl interface. Just wraps up the P4::Client and P4::UI classes in an easier to use interface returning the output to the caller in Array or Scalar context as they request it. |