gnucash/libgnucash/engine
Christopher Lam 670902d5a8 Bug 798535 - Crash when increasing the number of periods in a budget
because in the SQL backend, gnc_budget_commit_edit will update the sql
by reading from vectors with an increased priv->num_periods.
2022-05-18 17:37:05 +08:00
..
mocks [Transaction.c] use is_unset static to denote uncached readonly_reason 2021-09-26 09:40:32 +08:00
test [account.cpp] restore breadth-first search for 2 functions 2022-04-15 23:35:38 +08:00
test-core Finish the glib 2.67 fixes for CI tests. 2021-03-22 14:02:37 -07:00
Account.cpp [account.cpp] restore breadth-first search for 2 functions 2022-04-15 23:35:38 +08:00
Account.h [account.cpp] gnc_accounts_and_all_descendants converted from scm 2022-04-14 21:51:14 +08:00
AccountP.h [account.cpp] GValue containing string must be unset 2021-09-19 11:28:25 +08:00
cap-gains.c Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
cap-gains.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
cashobjects.c Bug 798320 - Error message indicating a crash of GNUcash when closing... 2021-10-08 14:17:28 -07:00
cashobjects.h Restructure the src directory 2017-08-10 18:45:00 +02:00
CMakeLists.txt [gnc-budget.cpp] convert to c++ 2022-03-02 07:13:24 +08:00
design.txt Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
engine-helpers.c Bug 797853 - Crash on 'Save As' in MacOS Mojave and Gnucash 4 2020-07-10 15:54:17 -07:00
engine-helpers.h Fix build with glib2 2.67.x. 2021-02-16 13:23:16 -08:00
extensions.txt Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
FreqSpec.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-aqbanking-templates.cpp Fix most of the unused assignment errors from static analysis. 2018-11-30 15:08:41 +09:00
gnc-aqbanking-templates.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-backend-prov.hpp Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-budget.cpp Bug 798535 - Crash when increasing the number of periods in a budget 2022-05-18 17:37:05 +08:00
gnc-budget.h [gnc-budget.cpp] convert to c++ 2022-03-02 07:13:24 +08:00
gnc-commodity.c Rework default non-currency commodity namespace. 2022-03-24 18:10:32 -07:00
gnc-commodity.h Rework default non-currency commodity namespace. 2022-03-24 18:10:32 -07:00
gnc-date-p.h Don't need NANOS_PER_SECOND anymore. 2018-09-21 13:00:19 -07:00
gnc-date.cpp Bug 798501 - Balance wrong date end of account period 2022-05-08 10:09:50 +01:00
gnc-date.h Correct some text describing some date functions. 2022-05-08 10:09:50 +01:00
gnc-datetime.cpp Bug 798199 - Pasting invalid value in date column crashes GnuCash 2021-06-08 13:14:30 -07:00
gnc-datetime.hpp Bug 798150 - Error on report over time 2021-03-21 15:55:08 -07:00
gnc-engine.c Bug 798237 - Logging during XML file loading degrades performance... 2021-09-14 15:15:11 -07:00
gnc-engine.h Bug 798237 - Logging during XML file loading degrades performance... 2021-09-14 15:15:11 -07:00
gnc-event.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
gnc-event.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-features.c [gnc-features] don't repeatedly g_strconcat gchars* 2021-10-20 19:29:32 +08:00
gnc-features.h Add feature GNC_FEATURE_EQUITY_TYPE_OPENING_BALANCE 2020-11-16 08:51:51 +01:00
gnc-hooks.c gnc-hooks - factor out scm calls into a separate source file 2019-12-06 19:59:11 +01:00
gnc-hooks.h gnc-hooks - factor out scm calls into a separate source file 2019-12-06 19:59:11 +01:00
gnc-int128.cpp Bug 796949 - Fix division and rounding of zero. 2019-05-11 23:23:59 +01:00
gnc-int128.hpp Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
gnc-lot-p.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-lot.c [gnc-lot.c] fix - cache value properly 2021-08-31 23:16:42 +08:00
gnc-lot.h [gnc-lot.c] speed up gncInvoiceGetInvoiceFromLot by caching invoice 2020-04-30 23:56:26 +08:00
gnc-numeric.cpp Merge PR #1309 into maint 2022-04-12 00:20:11 +02:00
gnc-numeric.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
gnc-numeric.hpp Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
gnc-pricedb-p.h Use const return values for string cache 2021-07-11 18:54:49 +01:00
gnc-pricedb.c [gnc-pricedb] add user:stock-transaction price source 2022-03-11 14:31:02 +08:00
gnc-pricedb.h [gnc-pricedb] add user:stock-transaction price source 2022-03-11 14:31:02 +08:00
gnc-rational-rounding.hpp Bug 796949 - Fix division and rounding of zero. 2019-05-11 23:23:59 +01:00
gnc-rational.cpp Adjust catch syntax to avoid GCC8 warnings. 2018-04-03 22:02:44 -04:00
gnc-rational.hpp Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-session.c Decouple QofBook creation from QofSession. 2020-05-08 15:59:41 -07:00
gnc-session.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gnc-timezone.cpp Bug 798500 - FTBFS (tests failure) on armhf 2022-04-05 11:45:22 -07:00
gnc-timezone.hpp Add a TimeZoneProvider::dump(). 2018-04-27 14:16:49 -07:00
gnc-uri-utils.c Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
gnc-uri-utils.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
gncAddress.c Use const return values for string cache 2021-07-11 18:54:49 +01:00
gncAddress.h Drop useless ifdefs 2020-01-17 18:25:43 +01:00
gncAddressP.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gncBillTerm.c Use const return values for string cache 2021-07-11 18:54:49 +01:00
gncBillTerm.h Drop useless ifdefs 2020-01-17 18:25:43 +01:00
gncBillTermP.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gncBusiness.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
gncBusiness.h Merge PR #899 into maint 2021-03-02 01:17:26 +01:00
gncCustomer.c Use const return values for string cache 2021-07-11 18:54:49 +01:00
gncCustomer.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gncCustomerP.h Cache current owner balances 2018-09-23 16:00:41 +02:00
gncEmployee.c Use const return values for string cache 2021-07-11 18:54:49 +01:00
gncEmployee.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gncEmployeeP.h Cache current owner balances 2018-09-23 16:00:41 +02:00
gncEntry.c Better wording for tax table changed info message. 2022-03-10 13:44:47 -08:00
gncEntry.h Modify documentation for gncEntryComputeValue 2021-06-01 08:14:25 +08:00
gncEntryP.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
gncIDSearch.c Revert b5f5129f7 using gnc_list_length_cmp 2021-11-02 23:34:26 +08:00
gncIDSearch.h Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
gncInvoice.c [business]Add diagnostic messages to GncEntry and GncInvoice. 2022-03-05 18:18:13 -08:00
gncInvoice.h Rename all Transaction and Invoice Association identifiers to DocLink. 2020-09-11 11:34:32 -07:00
gncInvoiceP.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
gncJob.c Use const return values for string cache 2021-07-11 18:54:49 +01:00
gncJob.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gncJobP.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gncOrder.c Use const return values for string cache 2021-07-11 18:54:49 +01:00
gncOrder.h Bug 795031 - 3.0 Crashes on loading when opening 2.6.19 file 2018-04-26 23:06:36 +02:00
gncOrderP.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
gncOwner.c Bug 798237 - Logging during XML file loading degrades performance... 2021-09-14 15:15:11 -07:00
gncOwner.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
gncOwnerP.h Cache current owner balances 2018-09-23 16:00:41 +02:00
gncTaxTable.c Fix unchecked ptr dereference. 2021-09-09 16:32:43 -07:00
gncTaxTable.h Replace overly indirect gnc_business_get_default_tax_table. 2019-08-22 12:30:33 -07:00
gncTaxTableP.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gncVendor.c Use const return values for string cache 2021-07-11 18:54:49 +01:00
gncVendor.h Restructure the src directory 2017-08-10 18:45:00 +02:00
gncVendorP.h Cache current owner balances 2018-09-23 16:00:41 +02:00
guid.cpp Speed up GUID equality comparison. 2018-03-06 09:48:38 -08:00
guid.h Move glib and gtk includes out of extern C for tests. 2021-02-16 13:23:48 -08:00
guid.hpp Speed up GUID equality comparison. 2018-03-06 09:48:38 -08:00
iso-4217-currencies.xml Bug 798325 - New Currency for Venezuela (VED) 2021-10-23 12:27:11 -07:00
iso-currencies-to-c.xsl Restructure the src directory 2017-08-10 18:45:00 +02:00
kvp_doc.txt Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
kvp-frame.cpp [kvp-frame.cpp] expose iterator, skip inexistent frame 2022-04-09 17:45:44 +08:00
kvp-frame.hpp [kvp-frame.cpp] expose iterator, skip inexistent frame 2022-04-09 17:45:44 +08:00
kvp-value.cpp Fix the remaining static analysis warnings. 2018-11-30 15:08:41 +09:00
kvp-value.hpp Fix memory leak in char* type KvpValue and fix improper uses 2018-09-10 19:49:43 +02:00
policy-p.h Fix various typos 2022-04-08 14:12:50 -04:00
policy.c Transaction members Timespec->time64 2018-01-08 13:01:29 +11:00
policy.h Account.c to Account.cpp 2017-12-21 07:39:32 -05:00
qof-backend.cpp [qof-backend] gchar * gnc_path_get_pkglibdir must be g_freed 2021-06-06 11:03:04 +08:00
qof-backend.hpp Bug 797983 - v4.2 report numbers change over gnucash restarts;... 2020-10-18 16:09:41 -07:00
qof-gobject.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qof-string-cache.cpp Don't cache the empty string 2021-07-11 18:54:49 +01:00
qof-string-cache.h Use const return values for string cache 2021-07-11 18:54:49 +01:00
qof-win32.cpp Another extern-C glib.h, for Windows this time. 2021-04-13 16:56:55 -07:00
qof.h Fix build with glib2 2.67.x. 2021-02-16 13:23:16 -08:00
qofbackend.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
qofbook-p.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qofbook.cpp qof_instance_get gchar* must be freed 2021-08-15 09:49:06 +08:00
qofbook.h Merge PR #899 into maint 2021-03-02 01:17:26 +01:00
qofbookslots.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qofchoice.cpp Fix build with glib2 2.67.x. 2021-02-16 13:23:16 -08:00
qofchoice.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qofclass-p.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qofclass.cpp Fix build with glib2 2.67.x. 2021-02-16 13:23:16 -08:00
qofclass.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
qofevent-p.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qofevent.cpp Fix build with glib2 2.67.x. 2021-02-16 13:23:16 -08:00
qofevent.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qofid-p.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qofid.cpp Bug 798156 - glib 2.68.0 breaks gnucash 2021-04-20 11:03:23 -07:00
qofid.h Bug 798382 - Typo corrections in comments 2021-12-12 09:50:48 -08:00
qofinstance-p.h Timespec removal, engine odds-and-ends. 2018-08-13 11:52:43 -07:00
qofinstance.cpp qof_instance_dispose should always complete dispose processes 2021-08-05 08:56:51 +01:00
qofinstance.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qoflog.cpp Bug 798237 - Logging during XML file loading degrades performance... 2021-09-14 15:15:11 -07:00
qoflog.h Fix qoflog's comments to reflect a preference for the macros over GLib functions. 2021-09-14 15:59:01 -07:00
qofobject-p.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qofobject.cpp Fix build with glib2 2.67.x. 2021-02-16 13:23:16 -08:00
qofobject.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
qofquery-p.h Restructure the src directory 2017-08-10 18:45:00 +02:00
qofquery.cpp Shortcut g_list_length comparison against small numbers 2021-10-30 22:29:17 +08:00
qofquery.h Fix various typos 2022-04-08 14:12:50 -04:00
qofquerycore-p.h Bug 795031 - 3.0 Crashes on loading when opening 2.6.19 file 2018-04-26 23:06:36 +02:00
qofquerycore.cpp Avoid unnecessary g_list_length in equality functions 2021-10-21 17:56:15 +08:00
qofquerycore.h Bug 795031 - 3.0 Crashes on loading when opening 2.6.19 file 2018-04-26 23:06:36 +02:00
qofsession.cpp Bug 798156 - glib 2.68.0 breaks gnucash 2021-04-20 11:03:23 -07:00
qofsession.h use same order in comment as in definition of SessionOpenMode enum 2020-07-04 22:26:35 +02:00
qofsession.hpp Fix some return of ptr-to-temporary errors 2020-09-25 12:31:52 -07:00
qofutil.cpp Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
qofutil.h [qofutil.h] don't recurse includes 2022-04-08 19:20:40 +08:00
Query.c Bug 795031 - 3.0 Crashes on loading when opening 2.6.19 file 2018-04-26 23:06:36 +02:00
Query.h Bug 795031 - 3.0 Crashes on loading when opening 2.6.19 file 2018-04-26 23:06:36 +02:00
README Restructure the src directory 2017-08-10 18:45:00 +02:00
README.query-api Bug 795031 - 3.0 Crashes on loading when opening 2.6.19 file 2018-04-26 23:06:36 +02:00
Recurrence.c Revert b5f5129f7 using gnc_list_length_cmp 2021-11-02 23:34:26 +08:00
Recurrence.h Bug 797326 - Enhancement: budget's Estimate tool should ignore Closing Entries 2019-10-25 18:27:47 +08:00
SchedXaction.c [SchedXaction] free GList* 2021-06-02 22:04:54 +08:00
SchedXaction.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
Scrub2.c Make xaccScrubUtilityGetOrMakeAccount static and remove ScrubP.h 2021-01-27 17:44:21 -08:00
Scrub2.h Fix typos in libgnucash/ 2021-03-02 01:15:32 +01:00
Scrub3.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
Scrub3.h Restructure the src directory 2017-08-10 18:45:00 +02:00
Scrub.c Fix various typos 2022-04-08 14:12:50 -04:00
Scrub.h Allow the Check&Repair routine to be cancellable from CoA 2020-10-20 14:42:32 +01:00
ScrubBusiness.c g_free gnc_ctime which returns a new gchar* 2021-08-05 21:42:31 +08:00
ScrubBusiness.h Update bug tracker URL 2018-07-13 09:49:33 -07:00
Split.c [Split.c] return price==0 instead of 1, if !split, or amt==0 2022-01-10 19:19:25 +08:00
Split.h [Split.c] xaccSplitListGetUniqueTransactionsReversed 2021-02-24 09:08:25 +08:00
SplitP.h [Split.c] GValue string must be unset 2021-08-29 15:38:16 +08:00
SX-book-p.h Restructure the src directory 2017-08-10 18:45:00 +02:00
SX-book.c Free template root accounts on book end 2021-09-07 12:11:05 -07:00
SX-book.h Fix build with glib2 2.67.x. 2021-02-16 13:23:16 -08:00
SX-ttinfo.c Prevent gcc from searching config.h in the current directory 2017-10-26 14:05:17 +02:00
SX-ttinfo.h Restructure the src directory 2017-08-10 18:45:00 +02:00
Transaction.c [Transaction.c] use is_unset static to denote uncached readonly_reason 2021-09-26 09:40:32 +08:00
Transaction.h Update price database for imported transactions 2021-03-09 10:39:56 -08:00
TransactionP.h [Transaction.c] use is_unset static to denote uncached readonly_reason 2021-09-26 09:40:32 +08:00
TransLog.c Merge PR #899 into maint 2021-03-02 01:17:26 +01:00
TransLog.h Restructure the src directory 2017-08-10 18:45:00 +02:00
xlate.pl Restructure the src directory 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