Commit Graph

832 Commits (1890c6ccfb1fbfa6063bf34c8a2e406b6e41c9d5)

Author SHA1 Message Date
Christopher Lam e4d808e674 [qofbook] qof_book_use_split_action_for_num_field: free a char*
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