monotone

monotone Mtn Change Log

Age Message
9 years 4 months Prepared files for the 0.07 release.
9 years 4 months - Added the prototype for the sync() method.

- Corrected some comments.
- Updated the POD documentation.
9 years 4 months Added a return statement to the end of all methods that don't return anything so

that nothing can be accidentally leaked (Perl subroutines by default return the
value of the last expression executed).
9 years 4 months Moved the `send last message down p/t stream(s)' logic to be in with the rest of

the last message logic (makes it clearer).
9 years 4 months Now use the getlines() method instead of <>.
9 years 4 months - Auto-flush is now turned on for file handles that are to have stream data sent

down them.
- The code for calculating the calling name in the sync() method now strips off
the leading package/class name.
- Improved the test for checking file handles in the register_stream_handle()
method.
- Corrected several bugs in the stream handling code (to do with the p and t
streams).
- Data chunks sent down the file handles for the p and t streams now have their
headers sent also, this will make it easier for the reader.
- SIGPIPE is now ignored (caused the program to terminate when the mtn
subprocess exited unexpectedly and this library was in the middle of sending
it something).
- Some code tidy ups.
- Added new tests for mtn version 0.46 and updated the test results with the
corresponding output.
9 years 5 months - Now switched over to using randomly generated keys for the Inside-Out style

class. This has meant I can get rid of the CLONE() method and the
%class_objects hash.
- The delete() calls in the destructor are now under the protection of an eval
block (shouldn't have been an issue as deleting a non-existent entry is not an
error but better safe than sorry).
- Stopped using abbreviated words in error messages.
- Rationalised the use of die() croaker() and carper() (some things were carping
when they should have been croaking).
- Used the OO style of calling print() and printf() so that $this->{mtn_in}
could be used directly.
- Short reads on reading data cause errors rather than a blocking read.
- Restructured some code in mtn_command_with_options() to be more logically
grouped.
- Failure to read the new format header does not obscure potentially more
helpful error messages.
9 years 5 months Get more consistent results (WRT irrelevant Data::Dumper related white space) if

UTF-8 conversion is switched off.
9 years 5 months First stab at Outside In object design.
9 years 5 months - Added support for extracting the extra automate stdio data streams new in

0.46.
- Added support for automate remote_stdio via the new_from_service() contructor.
- Added the pull(), push() and sync() methods.
- The version numbers are not treated as floating point numbers.
9 years 5 months Early checkin of code to get what is there working with Monontone 0.46.
9 years 6 months - Made the convertion from UTF-8 into Perl's internal string format handle

errors in a better way.
- Made the handling of the convert_to_utf8 flag a little bit more consistent
with other such flags.
9 years 8 months Changed files in preparation for the 0.06 release of Monotone::AutomateStdio.
9 years 8 months Now allow the --rcfile switch.
9 years 8 months - Updated library to take into account the changes made in Monotone 0.45. This

also includes the documentation. Changes include:
- tags() and certs() now return a has as a key or signer rather than their
name.
- content_diff() now supports the --reverse and --with-headers options.
- keys() now returns given_name and local_name instead of just name.
- Tested against a 0.45 database and also updated the test harness to reflect
the above changes.
10 years 11 days - Made the exception handling code more consistent and cleaner.

- Made other small consistency tidy ups.
10 years 13 days - Corrected the use of IO::Poll's mask method and added POLLHUP to the mask.

- Now much more explicit in handling the reaping of subprocesses and much more
robust in the face of a subprocess that won't die.
- Now test for the presence of exceptions by using a simple boolean test.
- Now cope with open3() throwing exceptions whilst inside the child process.
10 years 1 month Changed files in preparation for the 0.05 release of Monotone::AutomateStdio.
10 years 1 month - Corrected some issues with the 0.44 Monotone upgrade work:

- The MTN_W_SELECTOR constant is now correctly exported along with the others.
- A new supports constant, MTN_COMMON_KEY_HASH, has now been added so that one
can test whether the genkey() and keys() methods return a common single hash
or separate public and private ones.
- Modified the genkey() and keys() methods to cope with the common single
hash.
- The type field has been dropped from the records returned by the keys()
method. It wasn't really needed as only one field is sometimes not available.
- Updated mtn-tester so as to reduce avoidable churn in the test output and to
also correctly deal with the data returned by the get_revision() method.
- Updated and tidied up the POD documentation to reflect the above changes.
10 years 1 month - Now supports the conversion of UTF-8 data into and out of Perl's internal

UTF-8 string format for data read in from and sent out to the mtn subprocess.
- Added a suppress_utf8_conversion() meoth for disabling the above conversion if
so desired.
- Added support for the w: selector introduced in Monotone version 0.44.
10 years 2 months Changed files in preparation for the 0.04 release of Monotone::AutomateStdio.
10 years 2 months - Updated for Monotone version 0.43, (added support for the m: and u:

selectors).
- Corrected and simplified the `Have I got a class thingy as my first argument?'
logic in light of issues encountered when I tried to derive from this class.
- Updated the test harness in light of previous interface changes and the fact
that mtn revert is more noisy now (use the -quiet switch).
- Updated the POD documentation.
10 years 3 months Switched to the OO way of calling methods, more consistent.
10 years 3 months - Renamed the can() method to supports() so as not to conflict with Perl's

UNIVERSAL can() method.
- Renamed some of the capability constants so as to fit in more naturally with
the method renamed above.
10 years 5 months Prepared files for the 0.03 release of this module.

Branches

Tags

Quick Links:     www.monotone.ca    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status