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
916caa25f2
Integrate Windows gzopen differences so that only one ifdef is needed.
...
Clarifies code.
4 years ago
John Ralls
250b4ed733
Remove stray line left from earlier refactoring.
4 years ago
Robert Fewell
7e299cb2b0
Remove print statement left in commit c3f8daa
4 years ago
John Ralls
8ef8d3807c
Silence spurious conditional uninitialized warning in gnc-owner-sql.cpp.
4 years ago
John Ralls
93f5e23cf5
Open gzfile if thread creation fails.
4 years ago
John Ralls
9ad24321b4
Remove investment-type namespaces.
...
Leave it to users to categorize their non-currency commodities. In the
QIF importer default non-classifiable commodities to
GNC_COMMODITY_NS_NONCURRENCY.
4 years ago
Frank H. Ellenberger
09296dfb96
Drop commodity-table.scm, no longer required after adjusting qif-dialog-utils
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
John Ralls
81b9a02235
Bug 798458 - Build failure with gcc 12
...
Refactor try_gz_open to return a std::pair<FILE*, thread>. That removes
the need for the threads hash-table and wait_for_gzip().
The cause of the gcc12 error was that we were using the thread's pipe's
FILE* as the key to the hash-table and had to close it before calling
wait_for_gzip(file) to remove the thread from the hash-table. gcc12
considers that a use-after-free. It happens to be wrong, but removing the
need for it results in a cleaner implementation as well as silencing the
warning.
4 years ago
John Ralls
67e8c317da
[xml backend] Extract functions to make gz_trhead_func more readable.
4 years ago
Alex Aycinena
a2825d33a1
Update Form/Schedule line references for 2021 for the US Income Tax Report
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.
...
then each getter will retrieve from memory rather than backend's kvp.
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
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
95b973f792
Bug 798352 - Decimal Precision when Entering Mutual Fund Transaction
...
Let xaccParseAmount parse up to 12 decimal places instead of 8.
4 years ago
Christopher Lam
33b6dfc6ce
[options.scm] addendum ca6604c93 gnc:make-budget-option
...
selection-budget changed from budget object to guid, handle other uses
as appropriate.
4 years ago
Christopher Lam
ca6604c93c
[options.scm] Addon previous commit... need to initialize with guid
4 years ago
Christopher Lam
d740ac1cb0
Merge branch 'budget-option-stores-guid' into maint PR #1207
4 years ago
John Ralls
5c7967c4a5
Revert "Merge Stefan Bayer's 'SepaInternalTransfer' into maint."
...
This reverts commit 17a3f7fef2 , reversing
changes made to b8458d0732 .
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
5a812ca1eb
[options.scm] gnc:make-budget-option stores guid instead of object
...
because object may become stale if UI is used to delete it, leading to
stale pointer and segfault. storing guid is safer, and will return
null if budget is deleted.
4 years ago
John Ralls
ff04ad3785
Bug 798346 - crashes when running check & repair
...
Don't scrub trading accounts for imbalances, see the comment in
the commit for why.
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
3dfdf60608
[gnc-glib-utils] Define and export gnc_list_length_cmp
5 years ago
Christopher Lam
b5f5129f7d
Shortcut g_list_length comparison against small numbers
...
It's more efficient to test node && node->next etc when testing GList
length against small numbers
5 years ago
Christopher Lam
f813f7cd14
[gnc-autoclear] Move autoclear algorithm into gnome-utils
5 years ago
goodvibes2
8ad29feaba
Bug797678 OFX import should append not replace, existing Notes & Desc
...
Add an "Append" checkbox to the bottom of the "Generic import
transaction matcher" window to the left of the "Reconcile after match"
checkbox.
When ticked, this causes the imported Description/Notes to be appended
to the matched transaction Description/Notes respectively.
The selected ticked/unticked state of the "Append" checkbox is saved in
a key value pair for the import account, so the next import for that
account will automatically default it to the saved state.
As these mods are limited to the code for the matcher window, this
should work for all the imports that use it - ie ofx & csv file imports
(both tested) & aqbanking (cannot test).
5 years ago
Geert Janssens
bdb06479e8
GSettings - fix GObject warning when old prefs-version is unset
...
This will happen when current master (future 5.0) has been run
at least once.
5 years ago
John Ralls
5a8cbf4193
Bug 798325 - New Currency for Venezuela (VED)
...
Add latest Venezuelan revaluation of the Bolivar Soberano, following
the ISO notation replacing VES (which the Venezualan central bank is
keeping) with VED and the exchange code (ditto) with 926.
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
...
Also need to change PWARN which causes test failure, to PINFO
5 years ago
Geert Janssens
09b3ce2382
Revert "Add structure to map migrated preferences to old ones"
...
This reverts commit c6103a5c17 .
5 years ago
Geert Janssens
806d0b3157
Revert "GSettings - make most of the api private"
...
This reverts commit 26b2d7ca78 .
5 years ago
Geert Janssens
1d4673ed2a
Revert "GSettings - rework internal helper functions to use more C++"
...
This reverts commit 24fa289952 .
5 years ago