Commit Graph

1174 Commits (6cd8e4e4584cc2a3423a64dd8d5d62c32a8c5b89)

Author SHA1 Message Date
John Ralls 3d30e5978a Merge Richard Cohen's 'define-boxed' into stable.
3 years ago
Richard Cohen ae9304efb0 Remove unused boxed type gnc_value_list
3 years ago
Richard Cohen f9efbf86c6 Remove unused Qofbook::ab-templates property
3 years ago
Mike Alexander 6bdaa161eb Redo 71afa3e0 and 71afa3e0 so powten(max_leg_digits) is 1e18
3 years ago
Richard Cohen eb2d5df778 Refactor: DEFINE_BOXED GncGUID
3 years ago
Richard Cohen c514f61a7a Refactor: DEFINE_BOXED Time64
3 years ago
Richard Cohen 14f2efcfb7 Refactor: DEFINE_BOXED gnc_numeric
3 years ago
John Ralls bba49a6d09 Fix test-gnc-euro failure.
3 years ago
Mike Alexander 71afa3e0fc Make the GncNumeric string constructtor work for long decimal numbers.
3 years ago
John Ralls 8ccc6da87e Merge Richard Cohen's 'fix-test-engine-crash' into stable.
3 years ago
John Ralls 26162da450 Merge Richard Cohen's 'cleanup-build' into stable.
3 years ago
Richard Cohen 81fba56bbb Initialise guids in test-engine-kvp-properties.c
3 years ago
Richard Cohen bed43c7f3b Fix potential crash in test-engine
3 years ago
Richard Cohen dc62959553 Fix crash in test-engine on Arch
3 years ago
Richard Cohen 80e9d9c35d scanf supports %lld since C++11, C99
3 years ago
Richard Cohen 3957272ef0 Fix some typos in comments
3 years ago
John Ralls bb423e4484 Merge CrfzdPQM6's 'b_betterCurrencyBudgetReporting' into stable.
3 years ago
Daniel Johnson 04b0317119 Demonstrate fx handling in budget report
3 years ago
John Ralls df878c6a3d Merge Maarten Bosmans's 'memleak-fixes' into stable.
3 years ago
Maarten Bosmans 6be682b645 Store allocated temporaries in a variable so they can be freed
3 years ago
Christopher Lam 1a7fcb69c0 [gnc-features.cpp] remove_if requires <algorithm>
3 years ago
John Ralls 8481f062d4 Create obsolete features list with first member book_currency.
3 years ago
John Ralls 0d175dce12 Refactor gnc-features.
3 years ago
John Ralls e8c80f2f5c Restore existence, but not implementation, of GNC_FEATURE_BOOK_CURRENCY.
3 years ago
Muhammadyusuf 02e24ccf96
edit: use &apos; instead of ` symbol
3 years ago
Muhammadyusuf dca596ac84
edit: Fix local symbol of uzbek sum
3 years ago
Vincent Dawans 761d7f29a5 Bug 765920 - Running balance not accurate when sorted different ways
3 years ago
John Ralls 4a5b897d89 Bug 798863 - Crash on clicking Settings button second time
3 years ago
John Ralls f4f481fe38 Bug 798812 - crashes after I open a customer report and select…
3 years ago
Robert Fewell 0d84506a5e Bug 798851 - Account Balance 'include subaccounts' not saved
3 years ago
Maarten Bosmans 0d86be6d2a [test] Properly destroy resources on end of tests
3 years ago
Maarten Bosmans ed3fe00880 [test] Use test fixture to initialize and destroy resources
3 years ago
Maarten Bosmans 35aeed45ec [engine] Remove two replace functions from KvpValue
3 years ago
Richard Cohen 6ba5bb326a Fix dereference of expired temporaries.
3 years ago
Richard Cohen 9fa2a48fe1 Fix build on gcc-8 & 9.
3 years ago
John Ralls 00c560d8f5 Move operator==(const GncGUID&, const GncGUID&) to guid.[ch]pp.
3 years ago
John Ralls 352ab8a0e5 Merge Richard Cohen's 'minor-options-fixes' into master.
3 years ago
Richard Cohen 24f52d9b17 Remove incorrect operator!= for GncItem
3 years ago
Richard Cohen b5f3f99035 Fix incorrect use of remove_if()
3 years ago
John Ralls b4b8431984 Bug 798778 - GnuCashquits abruptly when attempting to edit options…
3 years ago
John Ralls a44b3664e2 [c++options] Implement GncOptionGncOwnerValue class.
3 years ago
John Ralls 8db8105850 [c++options] Warn when an option variant type's set_value isn't found.
3 years ago
John Ralls 83829e6513 Merge branch 'maint'
3 years ago
John Ralls 1020bde89c Fix crashes in test-engine on Arch Linux.
3 years ago
Geert Janssens d75ab275f1 Eliminate gnc-csv-account-map.[ch]
3 years ago
Richard Cohen 329a2f7d42 Guard against some possible null pointer dereferences
3 years ago
John Ralls cdb674ebf1 [c++options]Really fix the gnc_option_db_lookup_string_value leak
3 years ago
John Ralls 92071e8844 [c++options] Fix leak.
3 years ago
John Ralls f735c64cac Merge Richard Cohen's 'extern-c-part2' into master.
3 years ago
Richard Cohen 7b47c07f8e Don't use extern "C" around #includes
3 years ago
John Ralls bbfa378783 Don't crash and do pass tests.
3 years ago
John Ralls af02dae286 Fixups for merging into master instead of maint.
3 years ago
John Ralls 1eecb9f5c0 [c++ options] Fix locale dependency in test-gnc-option-scheme-output.
3 years ago
Christopher Lam 76014f18a0 [account.cpp] don't cache char* [fails]
3 years ago
Christopher Lam 3d381eb6fd [gnc-lot] don't cache char*
3 years ago
Christopher Lam 50f998fad8 [gncInvoice] don't cache char*
3 years ago
Christopher Lam c9dc71978b [gnc-commodity] don't cache char*
3 years ago
Christopher Lam 57fcaabd8f [Split.c] don't cache char*
3 years ago
John Ralls 675d894128 Merge Richard Cohen's 'cleanup-options' into master.
3 years ago
John Ralls ca73b00039 Merge Richard Cohen's 'cleanup-boost' into master.
3 years ago
John Ralls 3d5e27982f Merge branch 'maint'
3 years ago
John Ralls 7f0353adc4 Fix a missed g_value_dup_string and some no longer used variables.
3 years ago
John Ralls 8a7c539258 Bug 798748 - Transaction Notes field's value does not appear in...
3 years ago
John Ralls ddc3f28899 [kvp] Use static strings and boxed in gvalue_from_kvp_value.
3 years ago
Richard Cohen 9f06859390 Remove references to old boost versions
3 years ago
Richard Cohen 3d995de2ab Refactor: use default GncOptionValue copy constructor
3 years ago
Richard Cohen 1b0af4246a Refactor: remove extra template parameter from member functions
3 years ago
Richard Cohen 87c52f53fa Update some references to hello-world.scm
3 years ago
Richard Cohen ec169e6e24 Fix some non-translatable typos
3 years ago
John Ralls 6ab7b16d62 [c++options] Restore the ability to set plot sizes in pixels.
3 years ago
Geert Janssens 549c93e005 Fix test for import-backend
3 years ago
Richard Cohen bddb4468fa Import GLIB2 as a target, and use it to simplify the CMakeLists
3 years ago
Robert Fewell ec7cc27d6d Add tests for default invoice report book property
3 years ago
Robert Fewell 76f0e3a97e Add some PWARN messages to the default invoice report
3 years ago
Richard Cohen 9c6ad222a9 [-Wunused-function] - remove
3 years ago
Richard Cohen 0dd406de10 [-Wunused-lambda-capture] (clang) - remove
3 years ago
Richard Cohen d4dfe4e279 [-Wunused-local-typedef] - remove
3 years ago
Richard Cohen 0798bce2a6 [-Wunused-value] - remove
3 years ago
Richard Cohen 1c6679720b Use some unused variables
3 years ago
Richard Cohen 78ec20515b Remove some unused variables - and the initialization
3 years ago
Richard Cohen c819b03a17 Remove some unused variables - leave the side effect
3 years ago
Richard Cohen ea2d3be217 Remove some unused variables with obviously no side effects
3 years ago
Robert Fewell 45a07463fb Change max timeout to 20 seconds for default invoice report
3 years ago
Geert Janssens 60209a766f Merge branch 'csv_import'
3 years ago
Geert Janssens 2d8bb6f62f Bug 796955 - Import CSV - Single-line two-currency transactions can't be imported
3 years ago
Geert Janssens 99506d331a Reduce GncImportMatchMap to just the account
3 years ago
Geert Janssens 51706f289c Minor corrections in comments
3 years ago
John Ralls 7bb14b9caa Merge Richard Cohen's 'use-reference-for-loop' into master
3 years ago
Robert Fewell 07f3f536cc Allow to select saved report on print invoice button
3 years ago
Robert Fewell 019214f1c2 Bug753307 - Custom Report be selectable as default Report for Printing
3 years ago
Richard Cohen d8f45f2443 Use const references for for-loops to avoid unnecessary copies
3 years ago
Christopher Lam 119356752f Merge branch 'maint'
3 years ago
Geert Janssens 894f8241e1 Revisit invoice payment in multi-currency context
3 years ago
luzpaz 67ab9e90d2 Fix some typos
3 years ago
Christopher Lam 17820ec261 Merge branch 'maint'
3 years ago
John Ralls f4c6d65395 Merge Bob Fewell's 'nofree' into maint.
3 years ago
John Ralls f6919e60a7 Merge Richard Cohen's 'cleanup' into master.
3 years ago
John Ralls 46f9fb01c9 Simplify gnc_commodity equality and compare functions.
3 years ago
Richard Cohen 6927535a0a Remove unused test function get_object_is_initialized in qofobject.cpp
3 years ago
Richard Cohen e83c91050c Remove unneeded dummy.cpp
3 years ago
Richard Cohen d6ac56ce5f Re-enable -Waddress - gncInvoiceLookup etc. are now inline functions, not macros
3 years ago
Richard Cohen 3360a6d13b Remove extra semicolons
3 years ago
John Ralls 046e4a156e Silence Clang deprecation warnings about sprintf.
3 years ago
John Ralls dd2497416c Merge Richard Cohen's 'internal-extern-c' into master.
3 years ago
John Ralls 60c06debce [c++options] Don't crash when find_option returns nullopt.
3 years ago
Richard Cohen 1cec0cb3f3 Use internal extern "C" { ... } for C++
3 years ago
Richard Cohen 19bbde7000 Fix some typos
3 years ago
John Ralls 9a1a90d8d0 Merge branch 'maint'
3 years ago
richardcohen f3cc223f5f Fix some bad code formatting
3 years ago
Christopher Lam fd007a0af1 Merge branch 'maint'
3 years ago
Robert Fewell 6df866f876 Add tests for the reconcile account functions
3 years ago
Robert Fewell fd37ee997d Fix getting xaccAccountGetReconcilePostponeBalance
3 years ago
John Ralls fb9947b7b6 Rename GncDateTime's ymd to gnc_ymd to avoid a name conflict with Carbon.
3 years ago
Christopher Lam c65b36490a Merge branch 'master-progress'
3 years ago
Frank H. Ellenberger 506a1b3c5e Merge branch 'maint'
3 years ago
John Ralls b922cfd78d Bug 798679 - Unicode normalization should be used for comparison but not stored.
3 years ago
John Ralls 31d79e3004 Merge Bob Fewell's 'bug798673' into master.
3 years ago
Christopher Lam 259881f940 [gnc-optiondb] add some more renamed options
3 years ago
John Ralls ab13b01f8c Replace ... with … in all translatable strings.
3 years ago
John Ralls b8c0673526 Merge branch 'maint'
3 years ago
Robert Fewell 3be25ff0a9 Add some tests for the account functions
3 years ago
Robert Fewell a15c6f81b3 Allow the balances of sub accounts to be used in limits
3 years ago
John Ralls 73a134730f Bug 798680 - Not able to match a reverse transaction of a...
3 years ago
Robert Fewell 518ecfe041 Add some functions that would allow adding a balance limit to accounts
3 years ago
Christopher Lam bfc325f63c Merge branch 'maint'
3 years ago
Marco Scardovi 6fe2028bca
Fix test
3 years ago
Robert Fewell 59d95a4ce6 Bug 798545 - Crash when updating document link on vendor bill
3 years ago
Christopher Lam 3d8a28898d [gnc-budget] gnc_budget_get_account_period_note returns a const
3 years ago
Christopher Lam 2ee0c98200 [gnc-budget] use operator[] instead of find() and insert()
3 years ago
Christopher Lam 3e5fcc8709 Merge branch 'maint'
4 years ago
Christopher Lam 6f80c548e6 [gtest-qofevent.cpp] comprehensive tests for qofevent
4 years ago
Christopher Lam 05ffd3d4eb [budget-feature] move unset_feature call to gnc_budget_gui_delete_budget
4 years ago
Christopher Lam b87aa004f9 [test-qofbook] add tests for unknown features
4 years ago
John Ralls b9077bccd3 Bug 798640 - Segfault when running saved report
4 years ago
Christopher Lam fc94b41c81 Merge branch 'maint'
4 years ago
Christopher Lam 4716af24e4 Merge branch 'maint'
4 years ago
Christopher Lam f2354d6b2a [test-qofbook.c] add test for gnc_features_set_unused
4 years ago
Christopher Lam 1516bb18b0 [gnc-features.cpp] backport gnc_features_set_unused from master
4 years ago
Christopher Lam a078921a33 [qofbook.cpp] backport qof_book_unset_feature from master
4 years ago
John Ralls cf088f2a70 Merge John Ralls's 'Bug798614' into maint.
4 years ago
Christopher Lam 093aa81ed1 [qofbook.cpp] deprecate qof_book_get_features
4 years ago
Christopher Lam 8192deff37 [gnc-features.cpp] convert to cpp
4 years ago
Christopher Lam 6f6d2fef48 [test-qofbook] basic features test
4 years ago
Geert Janssens e97fc3e408 Drop price-quotes.scm, gnc-fq-helper.in and gnc-fq-check.in - no longer used
4 years ago
Geert Janssens a6771754d5 GncQuotes - start implementation of fetch/fetch_all
4 years ago
John Ralls b0ae402c23 Limit instantiation of GncInt128 constructors to integral values.
4 years ago
John Ralls 3c75d212ab Fix build on Apple Silicon or maybe Apple-clang-14.0
4 years ago
John Ralls 8cb8f5067d Remove non-ISO4217 currency codes from gnc-euro table.
4 years ago
John Ralls d8417c3cfa Move gnc-euro.[ch] to engine and unit test it.
4 years ago
John Ralls 2774f8f88c Bug 798614 - Croatia to join the Euro
4 years ago
John Ralls 3949821da6 Merge branch 'maint'
4 years ago
John Ralls 2505955ab9 Fix test failure from Bug 798616 fix.
4 years ago
John Ralls 7c350c3ae5 Bug 798616 - Can't register amount greater than 9,000,000,000
4 years ago
Christopher Lam 161b07b241 Merge branch 'maint'
4 years ago
Frank H. Ellenberger 47fa8b281e Merge PR #1425 into maint
4 years ago
John Ralls a807d3e6b7 Create function gnc_tm_get_today_neutral.
4 years ago
luz paz ba94730a23 Fix various typos
4 years ago
John Ralls 95361ad060 [options] Move gnc-options test to engine/test/CMakeLists.txt.
4 years ago
John Ralls 4ae17d12c7 [options] Move options from app-utils to engine.
4 years ago
Christopher Lam 0b5a4cd298 Merge branch 'maint'
4 years ago
Christopher Lam d1aefc851d [sx-book] free sx_list before g_object_unreffing sxes
4 years ago
John Ralls 688832b5f8 Bug 798585 - segfault running sample script
4 years ago
Christopher Lam 7880f9b16f [SchedXaction.c] free list of recurrences
4 years ago
Christopher Lam f1adb5da34 Merge branch 'TXN_TYPE-is-dynamic' xaccTransGetTxnType into maint #1201
4 years ago
Christopher Lam ec3e996f92 tests xaccTransGetTxnType heuristics
4 years ago
Christopher Lam fd12d3900c [Transaction.c] use heuristics to determine txn->txn_type
4 years ago
Robert Fewell ce4768c357 Bug 798565 - Import map editor entry deletion
4 years ago
John Ralls 3fd8bd9ddf Merge branch 'maint'
4 years ago
Christopher Lam aa43c198c6 [Transaction.c] don't set TxnType kvp if it is the same as before
4 years ago
John Ralls 9f6d495ca1 Fix use-after-free crash in utest-Invoice.
4 years ago
John Ralls 1e6c679e71 Merge branch 'maint'
4 years ago
John Ralls 903cbdcad3 Bug 798547 - Calculated Due Date is short 1 day when posting on...
4 years ago
Christopher Lam 670902d5a8 Bug 798535 - Crash when increasing the number of periods in a budget
4 years ago
Robert Fewell 27cab58bf2 Correct some text describing some date functions.
4 years ago
Robert Fewell c000a890ad Bug 798501 - Balance wrong date end of account period
4 years ago
Christopher Lam dc620d4b24 Merge branch 'maint'
4 years ago
Christopher Lam e1d52963ed [account.cpp] restore breadth-first search for 2 functions
4 years ago
John Ralls 95487eb4a0 Merge branch 'maint'
4 years ago
Christopher Lam fae7ea02cd [account.cpp] gnc_accounts_and_all_descendants converted from scm
4 years ago
Frank H. Ellenberger 2298590316 Merge PR #1309 into maint
4 years ago
Christopher Lam 736d223198 Merge branch 'maint-progress3' into maint #1312
4 years ago
Christopher Lam 0c4d438a0e [kvp-frame.cpp] expose iterator, skip inexistent frame
4 years ago
Christopher Lam aab33954e7 [gnc-numeric.cpp] Reduce logging level of gnc_numeric exception message
4 years ago
luz paz 8adedc2248 Fix various typos
4 years ago
Christopher Lam 6a668df168 [qofutil.h] don't recurse includes
4 years ago
Robert Fewell 83373563c3 Counter formats stored in wrong place.
4 years ago
John Ralls 26b009c0f4 Bug 798500 - FTBFS (tests failure) on armhf
4 years ago
Christopher Lam ee8729dfb6 [account.cpp] char* must be freed
4 years ago
John Ralls abd1a0b3f1 Merge branch 'c++options'
4 years ago
John Ralls 03cbbd1cd1 Merge branch 'maint'
4 years ago
John Ralls 109efe62b8 Rework default non-currency commodity namespace.
4 years ago
Christopher Lam 5388cc8e2c [kvp-frame.cpp] minor speedups
4 years ago
Christopher Lam 193a7aae5d Merge branch 'maint'
4 years ago
Christopher Lam 0052e3e483 [gnc-pricedb] add user:stock-transaction price source
4 years ago
John Ralls c1001e6641 Better wording for tax table changed info message.
4 years ago
John Ralls d841b322d0 Merge Frank Ellenberger's 'Bug684507' into maint.
4 years ago
John Ralls ce2b89fd8c [business]Add diagnostic messages to GncEntry and GncInvoice.
4 years ago
John Ralls 9ad24321b4 Remove investment-type namespaces.
4 years ago
Frank H. Ellenberger c7f842c081 Bug 684507 - commodity namespace should be localized
4 years ago
Christopher Lam bd4a457040 Merge branch 'maint-lightning-budget' into maint #1248
4 years ago
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