Files
gnucash/libgnucash/engine
John Ralls 7a0f0d57c8 Bug 782144 - git-master - Save Corrupts Data File / Not Open Data File
After much thrashing this turned out to be caused by a date string
with a 3-digit year and that caused an unexpected boost::bad_cast
exception from boost::posix_time::time_from_string().

To prevent that and anything like it, pre-parse the string with
regular expressions to classify them and split out the timezone
if there is one. If neither (perhaps eventually none) of the
regexes match throw std::invalid_argument. The C function will
catch this and return 0.
2018-04-08 17:37:39 -07:00
..
2017-12-21 07:39:32 -05:00
2017-09-10 19:16:38 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-25 10:24:53 +01:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-12-21 07:39:32 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-12-21 07:39:32 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-09-10 19:16:38 +02:00
2017-09-10 19:16:38 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-03-06 09:48:38 -08:00
2017-08-10 18:45:00 +02:00
2018-03-06 09:48:38 -08:00
2017-09-15 21:51:50 +02:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-12-21 07:39:32 -05:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-12-21 07:39:32 -05:00
2017-08-10 18:45:00 +02:00
2017-12-21 07:39:33 -05:00
2017-12-21 07:39:33 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-02-19 15:25:53 +01:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2018-01-08 13:01:29 +11:00
2017-12-21 07:39:32 -05:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00
2017-08-10 18:45:00 +02:00

This directory contains code for the accounting engine.
Its fairly clean but far from perfect, and it certainly
lacks advanced features.

There should be no GUI code in this subdirectory, and,
ideally, it should build cleanly and independently of 
any GUI elements or assumptions.

For design documentation, please see the file "design.txt",
and also, look at the header files carefully.  The documentation
for each routine is in the header files for that routine.

September 1998