monotone Mtn Change Log

Age Message
10 years 5 months Prepared files for the 0.03 release of this module.
10 years 5 months Switched all Perl scripts over to demanding Perl 5.8.5.
10 years 5 months Improved an error message (which was causing compilation to fail anyway).
10 years 5 months - Added the $mtn->switch_to_ws_root() class method.

- Documented the above and under the NOTES section went into greater detail
the issues surrounding using mtn inside workspaces.
10 years 5 months Some small updates to documentation.
10 years 6 months - Changed the order of the Changes file (most recent first).

- Clarified some POD file text.
10 years 6 months The previous version number wasn't liked by the automated package build

utilities. So I am sticking with the m.nn style of version numbering.
10 years 6 months Updated the test results, the change log and the installation instructions.
10 years 6 months Added the test results so that I can easily keep track of changes etc.
10 years 6 months Removed the use of the less command as it mucks up the test output and related

10 years 6 months - Updated to work with Monotone version 0.42 (added the i$mtn->file_merge(),

$mtn->lua() and $mtn->read_packets() methods and added support for the
--no-workspace mtn command line switch).
- Now support the NULL key type in parse_kv_record to allow for cases where
there is a field key without a value.
- The $io_stanza_re regular expression now also extras the key name.
- Made an exception message more meaningful.
- Updated the documentation as a result of the new 0.42 features. I have also
included a new EXAMPLES section, which details some of the less obvious
features, and an AUTHORS section.
- mtn-tester has been updated to test the new features and now recreates the
$mtn object after doing its initial tests so that any error messages are
cleared out prior to the actual tests.
10 years 6 months - Added contributions and ideas from Thomas Keller:

- Now have two constructors new_from_db() and new_from_ws(). The first is
aliased to new() and does what the old constructor did. The second
constructor uses the details from the specified workspace.
- The databases are checked to see if they are Monotone SQLite v3 databases
before they are opened by the mtn subprocess.
- The get_ws_path() method has been added.
- The mtn subprocess is either started inside the root directory (if no
workspace is being used) or in the top level directory inside the
specified/current workspace. This helps avoid all sorts of confusion and
weirdness with the mtn subprocess.
- Added the db_locked_condition_detected() method.
- Revamped all of the regexp string extraction code to be more efficient.
- Updated the documentation (documented the new stuff, corrected a few typos and
revamped the RETURN VALUE section to make it more readable).
10 years 7 months Added the standard copyright blurb at the bottom of the POD file.
10 years 8 months Updated the Changes file.
10 years 8 months Tested CPAN package generation. All seems to work fine.
10 years 8 months First stab at a CPAN module.
10 years 8 months - Added the intro message in mtn-tester.

- mtn-tester now makes sure that there is no default database to sync to (safety
10 years 8 months - Completely revamped the key-value parsing to make it much more generic.

- Now fully support the automate stdio interface (both read and write) for
Monotone versions 0.35 up to 0.41 (the latest at the time of this checkin).
- Completely revamped the mtn-tester test script to be easier to maintain. It
now has a list of tests that it performs in a generic framework.
- Updated the documentation to reflect these changes.
- Tested against Monotone versions 0.35 and 0.41.
10 years 10 months - Now use severity constants instead of strings.

- Implemented the genkey, packet_for_fdata, packet_for_fdelta, packet_for_rdata,
packets_for_certs, put_file and put_revision methods.
- Corrected a wrong data type argument error in the cert method.
- Arguments can be passed by reference now so as to allow for efficient passing
of large chunks of data into Monotone via the put_file method.
- Updated the documentation to reflect the changes.
10 years 10 months - Now have the option of registering a waiting for I/O handler. Poll is used to

detect such situations and sysread is now used instead of read (which uses
- Implemented the ignore_suspend_certs method.
= Implemented the can method for determining what features are available.
- Sorted out some oddness in register_io_wait_handler()'s error handling.
- Updated the documentation.
10 years 10 months - Make sure that the destructor does not throw any exceptions and does not reset

any exception status that may be present when it is called.
- Make sure that the closedown() method does not allow its use of the eval
statement to reset any currentl exception status.

Bit of a nasty bug this one! Basically because the object was blessed before the
exception was raised in the constructor, Perl immediately calls the destructor,
which in turn calls code that uses eval, thereby resetting $@ and loosing the
details of the original exception.
10 years 10 months - The carper handler now has a default implementation like the croaker handler.

- Implemented the register_io_wait_handler class and object method.
10 years 10 months The Monotone subprocess is run in the default locale so parsing will still work

regardless of the locale it is running in.
10 years 11 months Reordered the export statements to come after the routine prototypes.
10 years 11 months - Added the register_db_locked_handler method and associated logic.

- Both error and database locked registration methods now support the use of
client data.
- Improved the regular expression used for finding complete quoted values in the
output from mtn automate stdio.
- Removed the redundant `o' switch from all re operations as Perl can work this
out for itself.



Quick Links:    -     Downloads    -     Documentation    -     Wiki    -     Code Forge    -     Build Status