Commit Graph

1174 Commits (6cd8e4e4584cc2a3423a64dd8d5d62c32a8c5b89)

Author SHA1 Message Date
Christopher Lam a47413860a Factor out GValue access for setters and getters
4 years ago
Christopher Lam 8f845df934 Factor out make_period_[data|note]_path
4 years ago
Christopher Lam 919f392c7a Use kvp C++ interface rather than GValue
4 years ago
Christopher Lam 6c4c2512db Use C++ STL instead of GLib
4 years ago
Christopher Lam 9088acabd8 [gnc-budget.cpp] convert to c++
4 years ago
Christopher Lam c1c198c9ff Merge branch 'maint'
4 years ago
Christopher Lam f0de54ac7a Merge branch 'maint-798406' into maint #1240
4 years ago
Christopher Lam 8bc080b96d [gnc-budget] store budget kvp data onto memory upon first call.
4 years ago
Christopher Lam ef8d812d3f [utest-Budget] test data retention when modifying budget num_periods
4 years ago
Christopher Lam 87b0a41e9b [Split.c] return price==0 instead of 1, if !split, or amt==0
4 years ago
John Ralls c1c75e8f81 Revert "Revert "Merge Stefan Bayer's 'SepaInternalTransfer' into maint.""
4 years ago
Christopher Lam 5603acba31 Merge branch 'maint'
4 years ago
Christopher Lam f7ee644695 Amendment to 73822f97a [1/2] use heuristics to scrub budget signs
4 years ago
Christopher Lam c3eaff9bb2 [account.cpp] gnc_account_and_descendants_empty: don't copy children
4 years ago
Kevin M. Buckley 1e22632687 Bug 798382 - Typo corrections in comments
4 years ago
John Ralls 5c7967c4a5 Revert "Merge Stefan Bayer's 'SepaInternalTransfer' into maint."
4 years ago
John Ralls ae7eaad018 Merge Chris Good's 'maintBug797678OfxAppend' into maint.
4 years ago
John Ralls 17a3f7fef2 Merge Stefan Bayer's 'SepaInternalTransfer' into maint.
4 years ago
Christopher Lam 73822f97a9 [1/2][Scrubbudget.c] use heuristics to scrub budget signs
4 years ago
Christopher Lam 6070aecd69 [2/3][gnc-features.c] add & expose gnc_features_set_unused
4 years ago
Christopher Lam 5dab33694f [1/3][qofbook.cpp] add & expose qof_book_unset_feature
4 years ago
Christopher Lam 88ecf8dd17 Merge branch 'maint'
4 years ago
John Ralls d1fe359e47 gnc_numeric_to_decimal: Change can't round warning to a debug.
5 years ago
John Ralls cf5da9fffd Resolve merge conflicts.
5 years ago
John Ralls ff04ad3785 Bug 798346 - crashes when running check & repair
5 years ago
Christopher Lam 984d816a58 Merge branch 'maint'
5 years ago
Christopher Lam 79d8ef0299 Revert b5f5129f7 using gnc_list_length_cmp
5 years ago
Christopher Lam b5f5129f7d Shortcut g_list_length comparison against small numbers
5 years ago
goodvibes2 8ad29feaba Bug797678 OFX import should append not replace, existing Notes & Desc
5 years ago
John Ralls 5a8cbf4193 Bug 798325 - New Currency for Venezuela (VED)
5 years ago
Christopher Lam f40dbb8c28 Avoid unnecessary g_list_length in equality functions
5 years ago
Christopher Lam f0970c8eb4 [gnc-features] don't repeatedly g_strconcat gchars*
5 years ago
Christopher Lam 31a0300abe [Recurrence.c] avoid repeated calls to g_list_length
5 years ago
Christopher Lam b480600dc8 [gnc-pricedb] gnc_price_list_equal: avoid 4 g_list_length calls
5 years ago
Christopher Lam 23e528f51a [utest-gnc-pricedb] add tests for gnc_price_list_equal
5 years ago
John Ralls 2f4438ab28 Bug 798335 - No longer possible to change trading account
5 years ago
Christopher Lam 9eaa3eb23a Merge branch 'maint'
5 years ago
John Ralls 7c9c2eba3c Bug 798320 - Error message indicating a crash of GNUcash when closing...
5 years ago
Geert Janssens e64bcfe620 Merge branch 'maint'
5 years ago
John Ralls 67191203ae Merge branch 'maint'
5 years ago
Christopher Lam d82bb7b8a2 [Transaction.c] use is_unset static to denote uncached readonly_reason
5 years ago
Christopher Lam 128c8d6f88 [utest-Transaction] add tests for xaccTransGetReadOnly
5 years ago
Christopher Lam 87b61bf6fb [account.cpp] GValue must be unset in old functions
5 years ago
Christopher Lam 86cf327f09 [account.cpp] GValue containing string must be unset
5 years ago
Christopher Lam c8a53c54f2 [account.cpp] refactor gnc_account_get_map_entry
5 years ago
Christopher Lam 4309469730 [utest-Account] test old dxaccAccount* functions
5 years ago
Christopher Lam a5d101d1be [utest-Account] test gnc_account_get_map_entry
5 years ago
Christopher Lam aa0668f9e6 Revert "[account.cpp] deprecate old dxacc* functions"
5 years ago
Christopher Lam d290c3c45d [account.cpp] deprecate old dxacc* functions
5 years ago
Christopher Lam 374443747d [account.cpp] new static: get/set_kvp_string_path
5 years ago
John Ralls 824b515430 Fix qoflog's comments to reflect a preference for the macros over GLib functions.
5 years ago
John Ralls 74d0630867 Bug 798237 - Logging during XML file loading degrades performance...
5 years ago
Christopher Lam 15852031d4 [utest-account.cpp] increase test coverage
5 years ago
Christopher Lam 017ab06939 Merge branch 'maint'
5 years ago
John Ralls 8ab8642e76 Fix leak of trading_splits list in xaccTransClearTradingSplits
5 years ago
John Ralls 1387d5f960 Fix unchecked ptr dereference.
5 years ago
John Ralls ab24c34660 Merge Simon Arlott's 'free-template-root' into maint.
5 years ago
Simon Arlott 4a8acf3fb2 Free template root accounts on book end
5 years ago
John Ralls 079a900300 Bug 798298 - Re-imported transactions no longer ignored
5 years ago
Mike Alexander 068a5d2fa8 Fix xaccSplitGetOtherSplit which was broken by 028bf9826, don't
5 years ago
jean 4e9fe0a4d1 Add missing function to mock account
5 years ago
Christopher Lam 8d502fcdd8 Merge branch 'maint'
5 years ago
Christopher Lam 1eb6709331 [test-lots.cpp] add kvp getter/setter changes
5 years ago
Christopher Lam 323182c9f7 [utest-Account.cpp] add kvp getter/setter changes
5 years ago
Christopher Lam 8a37c4c019 [utest-Invoice.c] add kvp getter/setter tests
5 years ago
Christopher Lam 9ec670f828 [test-commodities.cpp] add kvp setter/getter test
5 years ago
Christopher Lam d4c8b36f9f [utest-Transaction.cpp] add kvp setter/getter tests
5 years ago
Christopher Lam c3b50f0b58 [gnc-lot.c] fix - cache value properly
5 years ago
Christopher Lam 595e126a34 [account.cpp] modify set_kvp_string_tag to accept strstrip or nullptr
5 years ago
Christopher Lam c5a6383b43 [account.cpp] fix - incomplete #1117
5 years ago
Christopher Lam 001b34616f [Transaction.c] GValue string must be unset
5 years ago
Christopher Lam a47bee97d6 [Split.c] GValue string must be unset
5 years ago
Christopher Lam 0ecbcb4ef1 [gnc-lot.c] GValue string must be unset
5 years ago
Christopher Lam ac2afc7e13 [gncInvoice.c] GValue string must be unset
5 years ago
Christopher Lam 3bf49ed8d7 [Account.cpp] GValue string must be unset
5 years ago
Christopher Lam e3af2f22f9 [gnc-commodity.c] cache user_symbol into commodity struct
5 years ago
John Ralls 57f73d70c7 Merge Yordan Miladinov's denom_lcd into maint.
5 years ago
Christopher Lam c6d8333811 Merge branch 'maint'
5 years ago
Christopher Lam c55ab50349 [gnc-budget.c] gnc_budget_get_account_period_note to be freed by the caller
5 years ago
Yordan Miladinov 6cb509ea7d
fix an uncaught exception: denom_lcd may throw an overflow exception if casting lcm to int64_t fails
5 years ago
Christopher Lam 7e41efc232 Merge branch 'maint-speedup-and-leaks' into maint #1109
5 years ago
Christopher Lam ff2ceb111d [gnc-commodity] GValue must be unset
5 years ago
Christopher Lam 028bf9826b [Split] xaccSplitGetOtherSplit don't test book trading-accts
5 years ago
Robert Fewell 71d73beb6c Original splits are not freed in xaccTransRollbackEdit
5 years ago
Robert Fewell cacdb12aa5 Dereference the prices used in function convert_price
5 years ago
Robert Fewell 77cf90f198 Free the template root account after the scheduled transactions
5 years ago
Christopher Lam 6bf5a618de qof_instance_get gchar* must be freed
5 years ago
Robert Fewell a76fa5631c Free schedule Transaction accounts
5 years ago
Robert Fewell a9a3ed425a Free Accounts on book close
5 years ago
Robert Fewell 6a9ff287cd Wrap BillTermDecRef and TaxTableDecRef in test for shutdown
5 years ago
Christopher Lam e4d808e674 [qofbook] qof_book_use_split_action_for_num_field: free a char*
5 years ago
Robert Fewell b421b3d2af Free Jobs for Customers and Vendors on book close
5 years ago
Robert Fewell c2a6f1e911 Free TaxTable and BillTerms on book close
5 years ago
Christopher Lam eafc290034 Merge branch 'maint'
5 years ago
Christopher Lam 40d886fa9d gnc_account_list_name_violations elements must be freed
5 years ago
Christopher Lam 4c37f6d4ef [account.cpp] gnc_g_list_stringjoin instead of repeated allocations
5 years ago
Christopher Lam bedc85afa3 Merge branch 'maint-leaks' into maint #1101
5 years ago
Christopher Lam 0420ae6a66 [account.cpp] refactor gnc_account_list_name_violations
5 years ago
Christopher Lam 67bd513514 [account.cpp] rewrite gnc_account_foreach_descendant_until in C++
5 years ago
Christopher Lam 17953441cb [account.cpp] refactor gnc_account_foreach_descendant
5 years ago
Christopher Lam 5698b67bf5 [account.cpp] refactor gnc_account_lookup_by_code
5 years ago
Christopher Lam 09e2e7613c [account.cpp] refactor gnc_account_lookup_by_name
5 years ago
Christopher Lam bebc366e88 [account.cpp] refactor gnc_account_n_descendants
5 years ago
John Ralls f0926d66c1 Merge Simon Arlott's 'qof-instance-dispose' into maint.
5 years ago
Christopher Lam e6c33a39bc [account.cpp] refactor gnc_account_get_descendants{_sorted}
5 years ago
Christopher Lam d2db43019c [account.cpp] internal function account_foreach_descendant
5 years ago
Christopher Lam de1ad9367a g_free gnc_ctime which returns a new gchar*
5 years ago
Simon Arlott 7a0ea190ca
qof_instance_dispose should always complete dispose processes
5 years ago
John Ralls 9062be3d47 Merge Simon Arlott's 'string-cache-fixes' into maint.
5 years ago
John Ralls 76b0001cbe Remove option-util.
5 years ago
John Ralls e2c87f23c3 Convert optiondb users in gnome and gnome-utils to C++.
5 years ago
John Ralls 7dab089d49 Fix miscalculation of prev_quarter_end for the first quarter.
5 years ago
John Ralls 28438e3126 Rewire gnome and gnome-utils to use GncOptionDB.
5 years ago
John Ralls 67508ea039 Reimplement dialog-options for C++.
5 years ago
John Ralls 08bf3ec5b0 Merge branch 'maint'
5 years ago
Simon Arlott 4a5b5f3bf2
Don't cache the empty string
5 years ago
Simon Arlott 320df7e409
Use const return values for string cache
5 years ago
Simon Arlott 4132939612
Avoid leaking string cache entries for "" in Transaction and Split
5 years ago
John Ralls 81c5ac6689 Remove the incomplete book-currency code.
5 years ago
John Ralls d2535fe21b KvpValue: Use boost::typeindex::type_id instead of buildtin typeid.
5 years ago
Robert Fewell 0f026f6a10 Bug 798221 - Transfer funds between accounts with different currencies crashes Gnucash on macOS
5 years ago
Simon Arlott 08b56e9669
[gnc-pricedb] Don't lookup old prices when doing bulk updates
5 years ago
Christopher Lam 1b4d30b3b1 Merge branch 'maint'
5 years ago
Hong Xu 0fd0aca531 Explain out what AsOfDate means in the doc
5 years ago
John Ralls 601eb51361 Improve transaction sorting on effective num field.
5 years ago
John Ralls 985a6420fc Bug 798196 - not building with Boost 1.76
5 years ago
John Ralls 6aa35ea7fb Better fix for bug 798204, doesn't break trading account selection.
5 years ago
John Ralls 9eeff5dd7e Bug 798204 - Creation of Imbalance Accounts
5 years ago
John Ralls 68ec80e68d Bug 798203 - g_assert fault while reversing transaction
5 years ago
John Ralls 80d6749989 Bug 787813 - Price change from editing a transaction not reflected...
5 years ago
Christopher Lam 321b5efabc Merge branch 'maint-leaks' into maint #1019
5 years ago
John Ralls 42213c597c Bug 798199 - Pasting invalid value in date column crashes GnuCash
5 years ago
Christopher Lam b095d1e7da Revert "[qofquery] q->terms g_list members must be freed"
5 years ago
Christopher Lam c8a7b9edb3 [Account] g_value_unset
5 years ago
Christopher Lam bfdec74a48 [qof-backend] gchar * gnc_path_get_pkglibdir must be g_freed
5 years ago
Christopher Lam f6a9be45ba [Split] g_value_unset
5 years ago
Christopher Lam 36901c5751 [gncJob] g_value_unset
5 years ago
Christopher Lam 1824a30bd0 [gncinvoice] g_value_unset
5 years ago
Christopher Lam badd976e11 [gnc-lot] g_value_unset
5 years ago
Christopher Lam c9565abe8b [gnc-commodity] g_value_unset
5 years ago
Christopher Lam 302020fcb7 [gnc-budget] g_value_unset
5 years ago
Christopher Lam ceeb1dff7a [scrub.c] g_value_unset
5 years ago
Christopher Lam 92cd437562 [Transaction.c] g_value_unset to release GValue string
5 years ago
Christopher Lam 3353d3950b [gnc-budget] g_value_unset GValue
5 years ago
Christopher Lam a3e3823ee7 [qofquery] q->terms g_list members must be freed
5 years ago
Christopher Lam 8a6413342d [SchedXaction] free GList*
5 years ago
Christopher Lam c5585ebe2c [gncInvoice] free GList*
5 years ago
Christopher Lam d611538ae7 [gncTaxtable] free GSList*
5 years ago
Christopher Lam b3101c9385 [gnc-pricedb.c] plug GList leak
5 years ago
Christopher Lam 8a56a00313 Modify documentation for gncEntryComputeValue
5 years ago
Christopher Lam b25a444140 Merge branch 'maint'
5 years ago
John Ralls da3c511b6c Remove trading splits instead of trying to adjust them.
5 years ago
John Ralls 4f030aac6e Bug 798093 - Changing the symbol/abbreviation of a security...
5 years ago
John Ralls 18c72baddf Don't bother scrubbing for orphans if there's no transaction currency.
5 years ago
John Ralls 2b48fd375d Revert "Fix duplicate trading accounts."
5 years ago
Hong Xu 888676eb31 from_price and to_price may be uninitialized in extract_comon_prices
5 years ago
Christopher Lam ae7eb9b3ad [gnc-pricedb] extract common code into get_nearest_price
5 years ago
Christopher Lam a2f5223148 [gnc-pricedb] use g_list_find and plug memory leak
5 years ago
John Ralls ed486a58a4 Fix duplicate trading accounts.
5 years ago
John Ralls 2258e7a44e xaccAccountTypes was backwards
5 years ago
Christopher Lam 5ce8f78f77 Merge branch 'maint'
5 years ago
Robert Fewell e535ba5411 Change some functions to use const gnc_commodity for gnc_pricedb
5 years ago
Robert Fewell e75308e684 Rename a couple of gnc-pricedb functions that have not been used.
5 years ago
Robert Fewell d3bd7fda61 Add unit tests for new gnc-pricedb functions
5 years ago
Robert Fewell 4a491f7cde Change a couple of docbook definitions in gnc-pricdb.h
5 years ago
Robert Fewell 05507008c5 Add retrieval functions for price before the date given
5 years ago
Robert Fewell b54c30e03d Bug 798148 - Chart of Accounts page Present(xxx) value wrong
5 years ago
John Ralls bbb4113a5a Bug 798156 - glib 2.68.0 breaks gnucash
5 years ago
John Ralls 4eaa10c6be Another extern-C glib.h, for Windows this time.
5 years ago
Christopher Lam d28ff20ff7 Merge branch 'maint'
5 years ago
John Ralls 27435b1038 Don't filter use of TTInfo file section based on sizeof time_t.
5 years ago
John Ralls b40589244c Fix test-gnc-datetime failure on Ubunutu.
5 years ago
John Ralls c49b45d8f1 Finish the glib 2.67 fixes for CI tests.
5 years ago
John Ralls 1221d7ebc1 Bug 798150 - Error on report over time
5 years ago
John Ralls ebb5eb1f17 Fix GncDateTime::format_zulu to emit the UTC timezone.
5 years ago
John Ralls 3a35514d84 Fix the implementations of gnc_foo_get_day_neutral.
5 years ago
Christopher Lam 2a2f080813 Merge branch 'maint'
5 years ago
Frank H. Ellenberger 4a983761d7 Fix a typo in a comment of the last commit
5 years ago
John Ralls a11065b823 Fix fencepost error in calculating the week_num for POSIX timezone rules.
5 years ago
John Ralls 8e41857014 Catch more exceptions in gnc_numeric_convert
5 years ago
Christopher Lam 87473ed5f9 Merge branch 'maint'
5 years ago
Dong Lin 75209c024f Update price database for imported transactions
5 years ago
Sumit Bhardwaj df579c257b Replace g_memdup by memcpy
5 years ago
Frank H. Ellenberger 93e2829ee5 Merge PR #899 into maint
5 years ago
luz paz 16b4976381 Fix typos in libgnucash/
5 years ago
Christopher Lam e79db92d8d [Split.c] xaccSplitListGetUniqueTransactionsReversed
5 years ago
Christopher Lam b2b8792110 prepend-and-reverse instead of O(N^2) append
5 years ago
Frank H. Ellenberger 6bc8679932 I18N: replace several spourious spaces
5 years ago
John Ralls 7a7c26f87e Move glib and gtk includes out of extern C for tests.
5 years ago
Bill Nottingham c0f2c3ae25 Fix build with glib2 2.67.x.
5 years ago
Christopher Lam 092040c7fe Merge branch 'maint'
5 years ago
John Ralls 4359243c08 Move glib and gtk includes out of extern C for tests.
5 years ago
Bill Nottingham f60b6354f8 Fix build with glib2 2.67.x.
5 years ago
Christopher Lam c20a588e0f Don't use g_list_append unnecessarily
5 years ago
Christopher Lam d16f39046d Merge branch 'maint'
5 years ago
John Ralls 0f8d9f6d7c Bug 798093 - Changing the symbol/abbreviation of a security after...
5 years ago
John Ralls bcbebe62b1 Make xaccScrubUtilityGetOrMakeAccount static and remove ScrubP.h
5 years ago
Christopher Lam ddc86579c0 Merge branch 'master-remove-deprecated' #855
5 years ago
Frank H. Ellenberger 84cc64daed I18N: Remove annoying stars from translator comments
5 years ago
John Ralls ffa2f606e3 Fix use-after-free in test_xaccTransEqual.
5 years ago
Christopher Lam c5e7406c9f [account.cpp] remove deprecated function
5 years ago
Allan Nordhøy 383b0b2f19 Replace 'Non Bayesian' with grammatically more correct 'non-Bayesian'.
5 years ago
Allan Nordhøy 8d4d1f1523 Replace 'Non Bayesian' with grammatically more correct 'non-Bayesian'.
5 years ago
Christopher Lam f1c1fca023 [account.cpp][API] deprecate xaccAccountCountSplits
5 years ago
John Ralls ae66da9632 Fix test-gnc-timezone failure caused by latest zoneinfo release.
5 years ago
John Ralls 2ff3bf5877 Echo into CMakeLists.txt rename of gmock-qofqury to fake-qofquery.
5 years ago
Christopher Lam d11bdb3e3a Bug 798015 - cash flow numerical-overflow
6 years ago
Ralf Habacker 63580d91ba Add feature GNC_FEATURE_EQUITY_TYPE_OPENING_BALANCE
6 years ago
Ralf Habacker f8dcd23023 Add support for the opening balance accounts flag
6 years ago
John Ralls e09a26ba3a Merge Christian Gruber's 'test_import_backend' into maint.
6 years ago
John Ralls 2290fa7c22 Fix exception when converting to decimal values that reduce to N/1.
6 years ago
John Ralls d03dc07b8d Remove redundant and incorrectly named constant.
6 years ago
John Ralls 3bcf57e7f2 Fix timezone transition times.
6 years ago
McLayn cebe6022c8 fix CZK partname to nominative singular
6 years ago
Christopher Lam e833c8e1aa [utest-gnc-pricedb.c] test: gnc_pricedb_get_[latest|nearest]_price
6 years ago
Christopher Lam 2ecdd70e24 [gnc-pricedb.c][api] pull out composite pricedb price retriever
6 years ago
Christopher Lam 4d63eb922f [gnc-pricedb.c] copy convert_amount to convert_price
6 years ago
Christopher Lam 26e7eada37 [gnc-pricedb.c] refactor amount converters, use common code
6 years ago
Robert Fewell 8e5e3480ad Bug 797984 - Infinite loop while Check&Repair AR and AP accounts
6 years ago
Robert Fewell 122cd682f6 Add some additional places where Check&Repair can be aborted
6 years ago
Robert Fewell 6ee537e1a7 Allow the Check&Repair routine to be cancellable from CoA
6 years ago
John Ralls 94a68dca7c Bug 797983 - v4.2 report numbers change over gnucash restarts;...
6 years ago
Christian Gruber 6394b6491b fixup! Simplify type checking for GObject mockups
6 years ago
Christian Gruber feba64624c Fix xaccTransSetNotes()
6 years ago
Christopher Lam 6eb2e36c2d minor optimisations, g_list_prepend then g_list_sort separately
6 years ago
Christopher Lam e6486e9d95 deprecate xaccAccountCountSplits with include_children = FALSE
6 years ago
Christopher Lam 1b31c06b29 [Account.cpp] add gnc_account_and_descendants_empty (acc)
6 years ago
John Ralls 5e6f9b3460 Fix some return of ptr-to-temporary errors
6 years ago
John Ralls 1c5561714d Fix ptr-comparison-to-string-literal error
6 years ago
Christian Gruber e44cf9c61f Add missing C linkage statements
6 years ago
Christian Gruber 63969e8628 Remove unecessary include
6 years ago
Christian Gruber d673c32e35 Mock methods should not neccessarily return mock objects
6 years ago
Christian Gruber 0e634c5446 Relax runtime type checks
6 years ago
Christian Gruber 99256c385b Add missing _get_type() functions of all mocked GObject classes
6 years ago
Christian Gruber 833edd0b29 Add missing comment
6 years ago
Christian Gruber bc80bbb325 Simplify type checking for GObject mockups
6 years ago
Christian Gruber b0906b5e2a Use MOCK_CONST_METHODn() macro instead of MOCK_METHODn() macro if necessary
6 years ago
Christian Gruber 5408854c28 Rename GObject type names of mock classes
6 years ago
Robert Fewell edaa0d7eea Fix some spaces on blank lines is source files
6 years ago
Robert Fewell 416e234232 Bug 797945 - Imap bayes conversion runs many times
6 years ago
John Ralls 9c8fa5cd2e Bug 797895 - Hang for a long time (9 minutes per account) importing...
6 years ago
Robert Fewell 7c1026783b Change the document link KVP symbol to original name
6 years ago
John Ralls 843282f583 Merge John Ralls's 'assoc_title' into maint.
6 years ago
John Ralls db626de68a Rename all Transaction and Invoice Association identifiers to DocLink.
6 years ago
Robert Fewell d0309b39d9 Bug 797935 - Strange formal register headers
6 years ago
John Ralls de0422da25 Merge G4js's missing-sentinels into maint.
6 years ago
Christopher Lam f6d34f226f [Scrub.c] improve responsiveness of progressbar during scrub
6 years ago
Gaming4JC cca4524055
Fix warnings: missing sentinel in function calls
6 years ago
jean bbdd4f34b6 Bug 797900 - Crash caused by Quitting while Check and Repair All is running
6 years ago
Christian Gruber 41c147a918 Use /* ... */ for multi-line comments
6 years ago
Christian Gruber df6621f2b5 Add doxygen documentation to QofFakeQuery and QofFakeQueryPool
6 years ago
John Ralls 6d44d0675e Reduce random transactions and iterations on test-lots.cpp.
6 years ago
Christopher Lam 00efc1696a [Transaction.c] sanity check xaccTransGetAPARAcctSplitList
6 years ago
jean a9f79cf79c Add a flag to the account structure to defer balance computation
6 years ago
Ralf Habacker 4df6493bc2 Fix API doc of gnc_account_lookup_by_code()
6 years ago
John Ralls a93f3c198d Warn against using xaccTransGetSplit for iteration.
6 years ago
jean 705f0dbf9e Bug 797854 - Global Register Preference to prompt for interest payment is not being honored.
6 years ago
John Ralls edd7efd951 Bug 797853 - Crash on 'Save As' in MacOS Mojave and Gnucash 4
6 years ago
Christian Gruber 861a2482fe Add a comment on using empty ctor for mock classes derived from GObjects
6 years ago
Christian Gruber 3d92d53917 Rename all class methods using snake_case instead of camelCase
6 years ago
Christian Gruber 1fa90a5429 Cleanup some comments
6 years ago
Christian Gruber 1e2236afdc Use typed queries
6 years ago
Christian Gruber fa82a8bcce Replace query factory by a query pool
6 years ago
Christian Gruber 2639cdefdf Remove unnecessary inclusion of qofquery-p.h
6 years ago
Christian Gruber 841111e37e Rename class QofMockQuery to QofFakeQuery
6 years ago
Christian Gruber bbfc30d70b Rename gmock-qofquery to fake-qofquery
6 years ago
Christopher Lam ebb462d06d [account.cpp] prevent crash in gnc_account_get_currency_or_parent
6 years ago
John Ralls 0e0c27f80f Bug 797850 - Account register credit/debit column headings untranslated
6 years ago
c-holtermann 22f91c407e use same order in comment as in definition of SessionOpenMode enum
6 years ago
c-holtermann e23bf0bc1c fix SessionOpenMode explanation for SESSION_NEW_OVERWRITE
6 years ago
c-holtermann 7c8e0a28fc better display for doxygen, typo and consistent naming
6 years ago
Christian Gruber 8ac640d5fa Fix typo
6 years ago
Christian Gruber 610bbda23f Add glib-object.h to includes
6 years ago
Christian Gruber 53c294f9e8 Remove unnecessary type check
6 years ago
Christian Gruber bb0088c43c Replace g_return_if_fail() and g_return_val_if_fail() by ASSERT_TRUE and EXPECT_TRUE
6 years ago
Christian Gruber 967cf0b430 Pass std::vector arguments by reference instead of by value
6 years ago
Christian Gruber d084279891 State comment on unused GObject instance init function more precisely
6 years ago
Christian Gruber 67f63053fb Remove todo comments on replacement of std::vector by std::list
6 years ago
Christian Gruber a9d85e8f8e Use std::vector of const char* instead of std::string where meaningful
6 years ago
John Ralls 6a1cb5eecd Replace the three bool parameters to qof_session_begin to an enum.
6 years ago
John Ralls a320035f42 QofSession, QofBackend: Change book_id to uri.
6 years ago
John Ralls 65e2639de4 Delete QOF_STDOUT.
6 years ago
Geert Janssens a124e647db Add files omitted in previous commit
6 years ago
Geert Janssens 5fc2b9519c Add mock sources and import-export test to dist
6 years ago
Robert Fewell 2f9be87549 Replace tabs with spaces in gncInvoice.c/h
6 years ago
Robert Fewell 69aeacb621 Add KVP Association property to GncInvoice
6 years ago
John Ralls f2a13ecac7 Merge Christian Gruber's 'test_import_backend' into master.
6 years ago
John Ralls a81f155408 Fix abort in qof_log_check.
6 years ago
Christopher Lam 09a8bee5c0 Merge branch 'speedup-aging' #638
6 years ago
John Ralls 1510f34926 Use std::unique_ptr instead of std::shared_ptr.
6 years ago
John Ralls bd6840e035 Fix incorrecly logging all possible messages regardless of log level.
6 years ago
John Ralls 94fdc42f16 Fix wrong Boost library variable names.
6 years ago
John Ralls b9b51efa8d Don't use g_return_value_if_fail in qof_log_check.
6 years ago
John Ralls f23e3b2660 Fix undeclared std::find_if.
6 years ago
John Ralls 5da3bf7943 [QofLog] Replace hashtable with tree of vectors.
6 years ago
John Ralls 3e442a0ef9 Make qof_log_set_file static.
6 years ago
John Ralls 0403e4906c Move QofLogModule typedef to qoflog.h where it belongs.
6 years ago
John Ralls 4e6c497cd1 Don't ask to save a non-existant book.
6 years ago
John Ralls 8ff5af4c19 Decouple QofBook creation from QofSession.
6 years ago
Christopher Lam a9a60c1831 [Account.cpp] more xaccAccountTypeGetFundamental types
6 years ago
Christopher Lam 14ea5d9751 Merge branch 'maint'
6 years ago
John Ralls 6a3fabc30d Fix test failure for timezones west of the prime meridian.
6 years ago
John Ralls b4177bc60a Fix transaction post_date being set to midnight local.
6 years ago
Christopher Lam a3dae3bd4d [gnc-lot.c] speed up gncInvoiceGetInvoiceFromLot by caching invoice
6 years ago
John Ralls 9822f2f486 Merge Jean Laroche's 'add_reconcile_after_ofx_import_master' into master.
6 years ago
John Ralls de9ee8dede Merge branch 'maint'
6 years ago
jean e0e7cf7dfb Fix 3 problems with the scheduled transactions calculations
6 years ago
Geert Janssens f7f4f42145 Drop several test-link type tests
6 years ago
Geert Janssens bbeb9a2b62 Drop all gnc-module dependencies and includes from compilation units that no longer use it
6 years ago
Geert Janssens abf29aa196 Drop the gnc-module wrapper around the test-engine library
6 years ago
jean 2d0d7c40f8 Make the reconcile window close when the session closes, use full version of free
6 years ago
Bill Nottingham 592c3ad562 Fix building with link-time-optimization.
6 years ago
John Ralls 3ca8fa1229 Merge branch 'maint'
6 years ago
John Ralls 640171c211 Merge Jean Laroche's '797318_MRO' into maint.
6 years ago
John Ralls 8ccc1579d9 Bug 797666 - libgnucash/engine/test/test-recurrence.c: In function 'check_valid': 'result' may be used uninitialized
6 years ago
jean 4a8350ece2 797318 - Amounts ending in zero displayed as fractions
6 years ago
John Ralls f85be03bb5 Merge branch 'maint'
6 years ago
John Ralls 33902a6793 Improve test building with the Xcode generator.
6 years ago
jean 66fce05308 Move the weekend adjust code in its own function
6 years ago
jean 268695f19c Make test-recurrence handle wadj
6 years ago
jean 7a61eca4fe Bug 685102 - Scheduled Transactions don't always respect weekends for first occurrence
6 years ago
goodvibes2 39c9aa4de3 Remove bad paths from CMakeLists.txt files
6 years ago
Robert Fewell 6b55222ca9 Add ability to show HBCI Online Account matches to 'Import Map Editor'
6 years ago
Christopher Lam 9865a99663 [account.cpp] refactor GetBalanceAsOfDate
6 years ago
Christopher Lam 8def3ba26e [account.cpp] refactor xaccAccountGetPresentBalance
6 years ago
Christopher Lam a8f03cf1c8 [account] add and expose xaccAccountGetReconciledBalanceAsOfDate
6 years ago
John Ralls d744b79bef Remove disabled code copied from utest-Account.c into utest-Budget.c.
6 years ago
John Ralls 8b61644978 Add more tests for neutral time.
6 years ago
Christopher Lam e85b28f00f Merge remote-tracking branch 'upstream/maint'
6 years ago
John Ralls 95857a8b99 Merge Christian Gruber's 'fix_bug_797587' into maint.
6 years ago
Geert Janssens 90345096e4 Merge branch 'maint'
6 years ago
Geert Janssens feee495f2e Bug 797624 - Wrong Decimal for Vietnam currencies
6 years ago
Christian Gruber 7509b542da Simplify function build_bayes()
6 years ago
Christian Gruber 01c76e2391 Remove unused template of function for_each_slot_prefix()
6 years ago
Christian Gruber 41863be9c7 Avoid copying local instance of AccountTokenCount
6 years ago
Christian Gruber 322f2d99de Rework key prefix matching
6 years ago
Geert Janssens 301db9020d Merge branch 'maint'
6 years ago
Geert Janssens e79e82edcf CMake - remove parameter repetition in else() and endif() statements
6 years ago
Christian Gruber a13184978a Fix calculation of token info to find exactly matching tokens only
6 years ago
Christian Gruber da60560ac4 Change behaviour of KvpFrame::for_each_slot_prefix()
6 years ago
Christian Gruber 9b3085a429 Add test cases to check for exact token matching
6 years ago
Geert Janssens 0131780b30 Add guile function to extract a lot's guid
6 years ago
Geert Janssens 490b20d2da Merge branch 'maint'
6 years ago
Geert Janssens 073e47801d Drop useless ifdefs
6 years ago
Geert Janssens d8a304c2c9 Housekeeping - reduce the number of PACKAGE and VERSION related cmake variables
6 years ago
Christopher Lam c4ab772d4b Bug 797576 - xaccAccountOrder shouldn't sort account codes as base-36
6 years ago
Geert Janssens 45cfb8937a Merge branch 'maint'
6 years ago
John Ralls df92200c8e Restrict gnucash.pot comment collection to ones beginning with Translators.
6 years ago
Daniel Dittmann 31c0fed1dc test_gnc_setlocale: use trailing whitespaces
6 years ago
Daniel Dittmann 5c478713d6 test_gnc_setlocale: add missing whitespaces to diagnostic message
6 years ago
John Ralls d51b4d7f08 Bug 797532 - Crash/Coredump Lots
6 years ago
Geert Janssens cd8698321d Bug 797482 - Can't edit date when using Edit Payment function
6 years ago
Christopher Lam 8fb73c7ed1 [gnc-lot.h] amend description for gnc_lot_get_earliest_split
6 years ago
Christopher Lam 5ebbb74435 [new-owner-report] invoice->payments displays lot links
6 years ago
Robert Fewell e4ac6b480f Merge branch 'maint'
6 years ago
Robert Fewell 803d4c511e Bug 797489 - No option to use account codes in Budget View - Part1
6 years ago
Christopher Lam 279a5fcde8 Merge branch 'maint'
6 years ago
Geert Janssens 4c77f7670e engine - remove gncmod boilerplate
6 years ago
Geert Janssens 759bbe1da0 app-utils - move gnc_get_debit/credit_str functions to Account
6 years ago
Geert Janssens 0a635fadee engine - cmake cleanups
6 years ago
Geert Janssens 2e1b9f937b engine - drop guile wrappers for obsolete functions
6 years ago
Geert Janssens 04f10d66fa engine cosmetics - remove a few references to guile that are no longer relevant
6 years ago
Geert Janssens c46c9682eb engine/test - move guile related tests to bindings
6 years ago
Geert Janssens 02511401b7 bindings/guile cosmetic - rename source files for consistency
6 years ago
Geert Janssens 48f3195e5c bindings - make business-core scm module part of the engine module
6 years ago
Geert Janssens 1c7f835f47 engine - move guile code to bindings/guile
6 years ago
Geert Janssens b1ba16c33b gnc-hooks - factor out scm calls into a separate source file
6 years ago
Geert Janssens 18093b5e82 core-utils - move guile utils to bindings/guile
6 years ago
Geert Janssens 33e1ff645c Allow to pass include directories to the add_swig_xyz commands
6 years ago
Geert Janssens f5e28c3d0f split register - drop scm copy interface
6 years ago
Christopher Lam ded336f987 [gnc-features] enable reading of unreversed budgets
6 years ago
Christopher Lam c06191a656 Transaction.c: avoid slow g_list_nth_data
6 years ago
John Ralls ba5bd6b4d7 Merge branch 'maint'
7 years ago
Christopher Lam 2df672bdb2 [gncOwner] i18n gncOwnerGetTypeString types
7 years ago
Christopher Lam f89691f73c Merge branch 'maint'
7 years ago
Christopher Lam 644cb4100e [gncOwner] add gncOwnerGetTypeString returns owner-type
7 years ago
Christopher Lam 02e86a4c6a Merge branch 'maint'
7 years ago
Christopher Lam b2fcfbd3c6 Bug 797326 - Enhancement: budget's Estimate tool should ignore Closing Entries
7 years ago
Christopher Lam 5f6aa6ed45 Merge branch 'maint'
7 years ago
John Ralls 1dc22e53c5 Fix test_xaccTransEqual.
7 years ago
Christopher Lam 198570d8c8 Bug 797390 - xaccAccountRecomputeBalance also tallies no-closing balances
7 years ago
Christopher Lam af20f9ddac [test-budget] add tests for budget notes in reports
7 years ago
Adrian Panella 4b1ac6fa13 [budget] Add 'notes' functionality to engine
7 years ago
Geert Janssens fa66f0fa7f Drop comment referring to non-existing file
7 years ago
Christopher Lam eb58bca7af Merge branch 'maint'
7 years ago
Christopher Lam c6195d6e7a [test-budget] centralize gnc:create-budget-and-transactions
7 years ago
Christopher Lam b49109b782 Merge branch 'maint'
7 years ago
Christopher Lam 22cdd237f1 [test-portfolios] initial commit
7 years ago
John Ralls b8b33b9591 Revert "More conversions from pkg-config variables to imported targets."
7 years ago
Christopher Lam 0f6ad8263b Remove deprecated functions
7 years ago
John Ralls 6753b30b86 Convert GtkMacIntegration to package-style dependencies.
7 years ago
John Ralls 1a9fcfefad More conversions from pkg-config variables to imported targets.
7 years ago
John Ralls e38cc91452 Merge branch 'maint'
7 years ago
John Ralls c23f3f05e3 Fix deprecated G_TYPE_INSTANCE_GET_PRIVATE and G_INLINE_FUNC
7 years ago
Geert Janssens 617c4c4ade Fix several dependency issues in scheme code
7 years ago
Frank H. Ellenberger fa4fc551af Remove obsolete "disambiguation prefix" translator comments
7 years ago
John Ralls e6e2258a74 Bug 797356 - ninja check fails with GCC-9
7 years ago
John Ralls e16308b10f Merge Christian Gruber's 'rework_gtest_integration' into master.
7 years ago
Christopher Lam 44adc0543f Merge branch 'maint'
7 years ago
Christian Gruber b303fc6d99 Use target gtest instead of GTEST_LIB and GTEST_INCLUDE_DIR
7 years ago
Robert Fewell d677e3c5df Do not log an error when no default tax tables set
7 years ago
John Ralls f00777ca07 Add scm-srfi64-extras and scm-qif-import as check dependencies
7 years ago
Geert Janssens 9a48122d41 Merge maint
7 years ago
Craig 04aab7cea3 Correctly parse decimals between 0 and -1.
7 years ago
John Ralls 1fc831002d Merge branch 'maint'
7 years ago
John Ralls fcc1653822 Replace overly indirect gnc_business_get_default_tax_table.
7 years ago
Geert Janssens 0e93e95c6c Merge maint
7 years ago
John Ralls 8eb3819a3c Merge Christian Gruber's 'rework_gtest_src' into maint.
7 years ago
John Ralls 24d4576617 Include libicu-i18n in libgncmod-engine linkage for new ICU API usage.
7 years ago
Christian Gruber 1b4e481296 Add gtest_main.cc to libgtest.a
7 years ago
Geert Janssens ec6602adf9 [gnc-date][API] find locale's start of week using ICU.
7 years ago
Christopher Lam 5bd854c550 Merge branch 'maint'
7 years ago
Frank H. Ellenberger a0a0ffbb77 Bug 797319 - Mauritanian ouguiya MRO shows too few decimals
7 years ago
Frank H. Ellenberger c77607c8c0 Bug 797316 - New Mauritanian ouguiya MRU not supported
7 years ago
Christopher Lam 720f176417 Merge branch 'maint'
7 years ago
Christopher Lam a4811b3b46 [test-extras] add (create-test-invoice-data) for tests
7 years ago
John Ralls ca87572a2c Bug 797319 - Mauritanian ouguiya MRO shows too few decimals
7 years ago
John Ralls b02f7ac409 Bug 797316 - New Mauritanian ouguiya MRU not supported
7 years ago
Christopher Lam 63f484c555 Merge branch 'maint'
7 years ago
Christopher Lam fdeff65f06 [business-core] refactor & document gnc:owner-from-split
7 years ago
Christopher Lam d0bf4ad8ae [test-business-core] add to dist_list
7 years ago
Christopher Lam 3514600841 [engine/test/CMakeLists] add new section for scheme tests
7 years ago
Christopher Lam d3f43fe360 [test-business-core] fix: module names were changed
7 years ago
Christopher Lam d0af343ee4 Merge branch 'maint'
7 years ago
Christopher Lam 0c433e02f7 [business-core] deprecate gnc:entry-type-percent-p
7 years ago
Christopher Lam e654bd34af [business-core] simplify functions
7 years ago
Christopher Lam 57f291af86 [test-business-core] initial commit
7 years ago
Christopher Lam cee6400779 Merge branch 'maint'
7 years ago
Christopher Lam 429077ee8e completion wrap qoflog
7 years ago
Christopher Lam 898a9cdb8e wrap qoflog
7 years ago
Geert Janssens 06fae12265 RptCleanup - Add compat interface for all module interfaces that were deprecated so far
7 years ago
Geert Janssens 53f59f7794 RptCleanup - Restructure installation of gnucash scm files
7 years ago
Geert Janssens 7306f2dda3 Always add srfi64-extras.scm to dist tarball
7 years ago
Geert Janssens 30ac2cf266 Remove guile functions that were marked as deprecated in gnucash the 3.x series
7 years ago
John Ralls 9ec5eab714 Merge branch 'maint'
7 years ago
Geert Janssens 15a35e6a3b Housekeeping - replace plenty of http links with https
7 years ago
Geert Janssens 4ffc4d046f GncEntry - Fix inverted comparison
7 years ago
Geert Janssens cc7ca438c0 Merge branch 'maint'
7 years ago
Geert Janssens 29b842ba99 Fix ubuntu 14.04 build failure
7 years ago
John Ralls 06bc064379 Fix dependencies for Scheme tests requiring SRFI64.
7 years ago
John Ralls cac307602f Build or link all Scheme test files into a directory "tests".
7 years ago
John Ralls 141e777893 Suppress installing Scheme test programs.
7 years ago
John Ralls 2d4f771bed Merge Adrién Panella's 'budget' into maint.
7 years ago
Adrian Panella 5bb54d073c [budget] Fix error in qof_book property path
7 years ago
John Ralls 217418bb8c Merge Adrián Panella's 'numeric' into maint.
7 years ago
Adrian Panella f905467a44 [numeric] Fix constructor from strings in range (0 ,1)
7 years ago
John Ralls e6c50357bb Fix test error string to match actual error.
7 years ago
David Palma aab89065da
Bug 796949 - Fix division and rounding of zero.
7 years ago
John Ralls 94bb28d9ab Bug 797127 - Company name and address in reports not display properly
7 years ago
Robert Fewell d1ee651bbc Modify the qof log format based on max logger name from log.conf
7 years ago