monotone-commits-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Monotone-commits-diffs] Revision 113b493f279ab10098b3cc3b90120121cfda94


From: monotone
Subject: [Monotone-commits-diffs] Revision 113b493f279ab10098b3cc3b90120121cfda941e
Date: Wed, 3 Oct 2007 11:05:10 +0200

-----------------------------------------------------------------
Revision: 113b493f279ab10098b3cc3b90120121cfda941e
Ancestor: 2ffc464ed3599d9a2f28061e77c8b7429c20a5a4
Author: address@hidden
Date: 2007-10-03T08:32:51
Branch: net.venge.monotone.experiment.pcre

Deleted entries:
        tests/syntax_errors_in_.mtn-ignore/ignore.lua
Modified files:
        Makefile.am configure.ac lua.cc m4/boost.m4 m4/pcre.m4
        pcrewrap.cc pcrewrap.hh std_hooks.lua
        tests/syntax_errors_in_.mtn-ignore/stderr-ref
        tests/syntax_errors_in_.mtn-ignore/stdout-ref

ChangeLog: 

Updates, corrections, and cleanups now that de-regexpification has gone in.

* pcrewrap.hh: Fold basic_regex into regex.  Remove capture and
matches, and the regex::match overload that used them.  Remove
match_error and compile_error exception types.  Make the basedat and
extradat fields of struct regex be of their true type, not void *;
make them mutable.  No need to include any headers.
* pcrewrap.cc: Update to match.  Use pcre_compile2.  'compile' helper
function is now private 'init' method of regex.  Use error codes, not
string comparisons, in compile_error.  In all three error functions,
throw oops or informative_failure, not match_error or compile_error.
Use NORETURN correctly.  Remove the clone table of pcre diagnostic
translations.
* lua.cc (regex.search): Only need to catch informative_failure.

* Makefile.am: Change 'unit_tests' to 'unit_tester' throughout (merge fallout).
(UNIT_TEST_OBJ_SUPPORT): Add pcrewrap.o.
* configure.ac: No need to call BOOST_THREAD_STUBS.
* m4/boost.m4: Delete everything except BOOST_VERSION_CHECK and
BOOST_VERSION_SPECIFIC_BUGS.
* m4/pcre.m4: Rename --with-included-pcre to --with-system-pcre; by default,
use the bundled pcre.  Refactor a bit.  Prevent unnecessary checking for
pkg-config when it won't be used.

* std_hooks.lua: Fix merge botch.
* tests/syntax_errors_in_.mtn-ignore: Adjust expectations.

Attachment: txtn5iLzjr1zJ.txt
Description: Diff [2ffc464ed3599d9a2f28061e77c8b7429c20a5a4] -> [113b493f279ab10098b3cc3b90120121cfda941e]


reply via email to

[Prev in Thread] Current Thread [Next in Thread]