You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gnucash/libgnucash/engine
Christopher Lam e5142dfd97
Revert "[qofid.cpp] for Split and Trans reserve QofInstance* map"
2 days ago
..
mocks [engine] Add first-class online_id accessors for Split and Account 6 days ago
test Merge branch 'stable' into future 3 days ago
test-core Add missing `#include <cstdint>` 2 years ago
Account.cpp Merge branch 'stable' into future 3 days ago
Account.h [engine] Add first-class online_id accessors for Split and Account 6 days ago
Account.hpp [account.cpp] gnc_account_foreach_split forward loops only 8 months ago
AccountP.hpp [Account.cpp] refactor acc->balance_limit getters/setters 2 years ago
CMakeLists.txt Merge branch 'stable' into future 3 days ago
FreqSpec.h
Query.cpp Reapply filter when number of sub-accounts change 2 years ago
Query.h Reapply filter when number of sub-accounts change 2 years ago
README Remove texi design document in engine 2 years ago
README.query-api
Recurrence.cpp Mortgage assistant: Avoid crash when returning to the repayment page. 1 year ago
Recurrence.h recurrencePeriodTypeToString and recurrenceWeekendAdjustToString g_strdup only when necessary 3 years ago
SX-book-p.h
SX-book.cpp [SX-book.cpp] convert to c++ 2 years ago
SX-book.h
SX-ttinfo.hpp [SX-ttinfo.cpp] tidier, using c++ stl and algo 2 years ago
SchedXaction.cpp [SX-ttinfo.cpp] tidier, using c++ stl and algo 2 years ago
SchedXaction.h [SX-ttinfo.cpp] tidier, using c++ stl and algo 2 years ago
SchedXaction.hpp [SX-ttinfo.cpp] tidier, using c++ stl and algo 2 years ago
Scrub.cpp [account.cpp] gnc_account_foreach_split forward loops only 8 months ago
Scrub.h
Scrub2.cpp [Transaction.hpp] rename to .hpp 2 years ago
Scrub2.h [Scrub2.cpp] convert to cpp 2 years ago
Scrub3.cpp [Transaction.hpp] rename to .hpp 2 years ago
Scrub3.h
ScrubBudget.c
ScrubBudget.h
ScrubBusiness.c g_list_free xaccAccountGetSplitList 2 years ago
ScrubBusiness.h add #ifdef __cplusplus extern "C" {} wrappers to .h files 2 years ago
Split.cpp Merge Noah Noerr's 'online-id-engine-accessors' into stable. 5 days ago
Split.h [engine] Add first-class online_id accessors for Split and Account 6 days ago
SplitP.hpp [SplitP.hpp] rename to .hpp 2 years ago
TransLog.cpp [translog.cpp] use c++ for better cleanup 9 months ago
TransLog.h
Transaction.cpp [engine] Remove the unused Transaction online_id property 6 days ago
Transaction.h [engine] Remove the unused Transaction online_id property 6 days ago
TransactionP.hpp [SplitP.hpp] rename to .hpp 2 years ago
cap-gains.cpp [Transaction.hpp] rename to .hpp 2 years ago
cap-gains.h Add #ifdef __cplusplus extern "C" {} wrappers to .h files 2 years ago
cashobjects.cpp [Transaction.hpp] rename to .hpp 2 years ago
cashobjects.h
engine-helpers.c [engine-helpers.h] key is a const char* 2 years ago
engine-helpers.h [engine-helpers.h] key is a const char* 2 years ago
gnc-accounting-period.c Couple of spelling errors in gnc-accounting-period 2 weeks ago
gnc-accounting-period.h
gnc-aqbanking-templates.cpp [gnc-aqbanking-templates.cpp] fix incorrect setter, free GList* 1 month ago
gnc-aqbanking-templates.h Don't use extern "C" around #includes 3 years ago
gnc-backend-prov.hpp
gnc-budget.cpp [gnc-budget.cpp] null check arguments *before* accessing them 1 month ago
gnc-budget.h Don't use extern "C" around #includes 3 years ago
gnc-commodity.cpp Merge Vincent Lucarelli's 'finnhub into stable. 7 days ago
gnc-commodity.h [gnc-commodities.cpp] expose auto_quote_control kvp to test them 1 year ago
gnc-commodity.hpp Bug 799706 - Rename Namespace 6 months ago
gnc-date-p.h Don't use extern "C" around #includes 3 years ago
gnc-date.cpp [gnc-date.cpp] fix ifdef conditional, and comment 3 months ago
gnc-date.h [gnc-date.cpp] gnc_date_interval_format localisable with ICU 4 months ago
gnc-datetime.cpp ensure boost::regex is compiled at startup 1 month ago
gnc-datetime.hpp ensure boost::regex is compiled at startup 1 month ago
gnc-engine.cpp [Transaction.hpp] rename to .hpp 2 years ago
gnc-engine.h [Transaction.hpp] rename to .hpp 2 years ago
gnc-euro.cpp [gnc-euro.cpp] fix typo for bulgarian lev rate 7 months ago
gnc-euro.h
gnc-event.c
gnc-event.h
gnc-features.cpp [gnc-features.cpp] remove_if requires <algorithm> 3 years ago
gnc-features.h Refactor gnc-features. 3 years ago
gnc-hooks.c
gnc-hooks.h
gnc-int128.cpp
gnc-int128.hpp
gnc-lot-p.h Add #ifdef __cplusplus extern "C" {} wrappers to .h files 2 years ago
gnc-lot.cpp [gnc-lot.cpp] use qof_instance kvp API for const char* 1 year ago
gnc-lot.h Doxygen - minor cleanup of gnc-lot.h 2 years ago
gnc-numeric.cpp Improve GncNumeric(std::string) to handle unicode spaces. 1 year ago
gnc-numeric.h Set C and C++ standards to 23. 5 days ago
gnc-numeric.hpp Add missing `#include <cstdint>` 2 years ago
gnc-option-date.cpp gnc_relative_date_to_time64: Have only if statemen for period TODAY. 1 year ago
gnc-option-date.hpp Test gnc-option-date variable fy start days. 1 year ago
gnc-option-impl.cpp Merge branch 'free-guid-string' into stable #1777 3 years ago
gnc-option-impl.hpp Add missing `#include <cstdint>` 2 years ago
gnc-option-ui.hpp
gnc-option-uitype.hpp
gnc-option.cpp [c++options] Correctly implement handling Fancy Date Format. 3 years ago
gnc-option.hpp Add missing `#include <cstdint>` 2 years ago
gnc-optiondb-impl.hpp [c++options]Really fix the gnc_option_db_lookup_string_value leak 3 years ago
gnc-optiondb.cpp Improve translatable strings. 1 year ago
gnc-optiondb.h [c++options]Really fix the gnc_option_db_lookup_string_value leak 3 years ago
gnc-optiondb.hpp Add missing `#include <cstdint>` 2 years ago
gnc-pricedb-p.h [gnc-pricedb.h] remove unused gnc_pricedb_substitute_commodity 2 years ago
gnc-pricedb.cpp Bug 797384 - Gnucash doesn't handle commodity prices with big... 1 month ago
gnc-pricedb.h [gnc-pricedb.h] remove unused gnc_pricedb_lookup_at_time64 2 years ago
gnc-rational-rounding.hpp
gnc-rational.cpp Add missing `#include <cstdint>` 2 years ago
gnc-rational.hpp
gnc-session.c
gnc-session.h
gnc-timezone.cpp Apply -Wall -Werr -Wmissing-prototypes to C++ compilation on Windows. 3 months ago
gnc-timezone.hpp
gnc-uri-utils.h Modernize gnc-uri utilities into a GncUri C++ class 6 days ago
gnc-uri.cpp gnc-uri: compose URIs with std::format 4 days ago
gnc-uri.hpp Modernize gnc-uri utilities into a GncUri C++ class 6 days ago
gncAddress.c [~qofchoice.cpp] remove, not useful 2 years ago
gncAddress.h Doxygen - fold business.txt file in the respective source files 2 years ago
gncAddressP.h [engine/*.h] add extern "C" {} wrappers 2 years ago
gncBillTerm.c Doxygen - fold business.txt file in the respective source files 2 years ago
gncBillTerm.h Doxygen - fold business.txt file in the respective source files 2 years ago
gncBillTermP.h
gncBusiness.c
gncBusiness.h Doxygen - merge separate txt files into respective header files 2 years ago
gncCustomer.c [~qofchoice.cpp] remove, not useful 2 years ago
gncCustomer.h Don't use extern "C" around #includes 3 years ago
gncCustomerP.h [engine/*.h] add extern "C" {} wrappers 2 years ago
gncEmployee.c
gncEmployee.h Don't use extern "C" around #includes 3 years ago
gncEmployeeP.h [engine/*.h] add extern "C" {} wrappers 2 years ago
gncEntry.c
gncEntry.h
gncEntryP.h
gncIDSearch.c
gncIDSearch.h
gncInvoice.c eradicate QOF_TYPE_COLLECT 2 weeks ago
gncInvoice.h eradicate QOF_TYPE_COLLECT 2 weeks ago
gncInvoiceP.h
gncJob.c [~qofchoice.cpp] remove, not useful 2 years ago
gncJob.h
gncJobP.h [engine/*.h] add extern "C" {} wrappers 2 years ago
gncOrder.c
gncOrder.h
gncOrderP.h [engine/*.h] add extern "C" {} wrappers 2 years ago
gncOwner.c Bug799722 - Inconsistent wording: Bill and Invoice 4 months ago
gncOwner.h Bug 798950 - Bug Report: Incorrect Currency Conversion and Provider Invoice Payment Recording 3 years ago
gncOwnerP.h
gncTaxTable.c gncTaxTable: chain up to the correct parent function. 6 months ago
gncTaxTable.h Doxygen - merge separate txt files into respective header files 2 years ago
gncTaxTableP.h
gncVendor.c [~qofchoice.cpp] remove, not useful 2 years ago
gncVendor.h Don't use extern "C" around #includes 3 years ago
gncVendorP.h [engine/*.h] add extern "C" {} wrappers 2 years ago
guid.cpp Merge branch 'use-boost-flat-map' of https://github.com/christopherlam/gnucash into future 3 days ago
guid.h Don't use extern "C" around #includes 3 years ago
guid.hpp Merge branch 'use-boost-flat-map' of https://github.com/christopherlam/gnucash into future 3 days ago
iso-4217-currencies.xml Bug 666536 - smallest fraction of KRW is invalid 4 months ago
iso-currencies-to-c.xsl
kvp-frame.cpp Add missing `#include <cstdint>` 2 years ago
kvp-frame.hpp
kvp-value.cpp [engine] Remove two replace functions from KvpValue 3 years ago
kvp-value.hpp Add missing `#include <cstdint>` 2 years ago
kvp_doc.txt Remove texi design document in engine 2 years ago
policy-p.h
policy.cpp [Transaction.hpp] rename to .hpp 2 years ago
policy.h
qof-backend.cpp Replace deprecated g_module_build_path with g_build_filename 2 weeks ago
qof-backend.hpp
qof-gobject.h
qof-string-cache.cpp
qof-string-cache.h
qof-win32.cpp Don't use extern "C" around #includes 3 years ago
qof.h [~qofchoice.cpp] remove, not useful 2 years ago
qofbackend.h
qofbook-p.hpp [qofbook.cpp] move _QofBook definition from qofbook.h to qofbook-p.hpp 3 weeks ago
qofbook.cpp [qofbook.cpp] move _QofBook definition from qofbook.h to qofbook-p.hpp 3 weeks ago
qofbook.h [qofbook.cpp] move _QofBook definition from qofbook.h to qofbook-p.hpp 3 weeks ago
qofbook.hpp Refactor gnc-features. 3 years ago
qofbookslots.h
qofclass-p.h
qofclass.cpp
qofclass.h eradicate QOF_TYPE_COLLECT 2 weeks ago
qofevent-p.h
qofevent.cpp
qofevent.h
qofid-p.h
qofid.cpp Revert "[qofid.cpp] for Split and Trans reserve QofInstance* map" 2 days ago
qofid.h Remove unused qof_collection_from_glist function. 5 months ago
qofinstance-p.h Correct the Doxygen doc for qof_instance_get/set_kvp. 1 month ago
qofinstance.cpp eradicate QOF_TYPE_COLLECT 2 weeks ago
qofinstance.h [qofbook.cpp] move _QofBook definition from qofbook.h to qofbook-p.hpp 3 weeks ago
qoflog.cpp [qoflog.cpp] plug a gchar* leak 9 months ago
qoflog.h Don't use extern "C" around #includes 3 years ago
qofobject-p.h
qofobject.cpp [qofobject.cpp] check col!=nullptr instead of obj 7 months ago
qofobject.h [~qofchoice.cpp] remove, not useful 2 years ago
qofquery-p.h
qofquery.cpp eradicate QOF_TYPE_COLLECT 2 weeks ago
qofquery.h [~qofchoice.cpp] remove, not useful 2 years ago
qofquerycore-p.h
qofquerycore.cpp eradicate QOF_TYPE_COLLECT 2 weeks ago
qofquerycore.h eradicate QOF_TYPE_COLLECT 2 weeks ago
qofsession.cpp Merge branch 'stable' into future 3 days ago
qofsession.h
qofsession.hpp
qofutil.cpp
qofutil.h scanf supports %lld since C++11, C99 3 years ago

README


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 read our doxygen documentation.
This can be found at https://code.gnucash.org/docs/STABLE/
Alternatively you can build it yourself by running
[ninja|make] doc
The result will be found in
{builddir}/libgnucash/doc/html/index.html

The same information can mostly be found directly in the header
files in this directory as well (though in marked up source format).