John Ralls
b56eff6821
Merge Richard Cohen's 'fix-show-log-window' into stable.
2023-05-27 10:10:44 -04:00
John Ralls
dd5be317d8
Merge Richard Cohen's 'define-type' into stable.
2023-05-27 10:09:05 -04:00
John Ralls
1b9bd0752b
Merge Simon Arlott's 'bug-798796' into stable.
2023-05-27 10:06:42 -04:00
John Ralls
6111184c73
Ensure incorrectly coded counter KVP is read correctly.
...
Bug 798930 caused some counters to be saved as KVP double. If the
correct int64_t value isn't found when reading, or if a double is
encountered when loading the option dialog, get the double value
and cast it to int64_t.
2023-05-26 21:24:06 -04:00
John Ralls
7d5663899c
Bug 798930 - invoices wont sequence to the next number
...
Because KVP can't magically cast between int64_t and double.
2023-05-26 20:41:13 -04:00
Simon Arlott
aca602103e
Bug 798796 - Account list incomplete in report options
...
Allow stock/fund accounts that are descendants of Bank accounts to be
selected for the Advanced Portfolio, Investment Lots and Investment
Portfolio reports.
2023-05-26 19:22:26 +01:00
Richard Cohen
945f63bd4d
Refactor: DEFINE_TYPE GnucashSheet < GtkLayout
2023-05-26 13:34:10 +01:00
Richard Cohen
2213e63e30
Refactor: DEFINE_TYPE GnucashRegister < GtkGrid
2023-05-26 13:34:10 +01:00
Richard Cohen
39a1bfd10d
Refactor: DEFINE_TYPE GncItemList < GtkEventBox
2023-05-26 13:34:10 +01:00
Richard Cohen
fea6405f78
Refactor: DEFINE_TYPE GncItemEditTb < GtkToggleButton
2023-05-26 13:34:10 +01:00
Richard Cohen
80f370f0d2
Refactor: DEFINE_TYPE GncItemEdit < GtkBox
2023-05-26 13:34:10 +01:00
Richard Cohen
546a91a575
Refactor: DEFINE_TYPE GncHeader < GtkLayout
2023-05-26 13:34:10 +01:00
Richard Cohen
b5497dc45b
Refactor: DEFINE_TYPE GncDatePicker < GtkBox
2023-05-26 13:34:10 +01:00
Richard Cohen
52a9af2177
Refactor: DEFINE_TYPE GnucashCursor < GObject
2023-05-26 13:34:10 +01:00
Richard Cohen
02f61c6d76
Refactor: DEFINE_TYPE GNCReconcileView < GNCQueryView
2023-05-26 13:34:10 +01:00
Richard Cohen
3db83b7a2c
Refactor: DEFINE_TYPE GNCSplitReg < GtkBox
2023-05-26 13:34:10 +01:00
Richard Cohen
5d98cc4c1d
Refactor: DEFINE_TYPE GncSxSlrTreeModelAdapter < GObject
2023-05-26 13:34:10 +01:00
Richard Cohen
965fe59a46
Refactor: DEFINE_TYPE GncSxListTreeModelAdapter < GObject
2023-05-26 13:34:10 +01:00
Richard Cohen
b621b5cd99
Refactor: DEFINE_TYPE GncSxInstanceDenseCalAdapter < GObject
2023-05-26 13:34:10 +01:00
Richard Cohen
d4649bc67f
Refactor: DEFINE_TYPE GncRecurrenceComp < GtkScrolledWindow
2023-05-26 13:34:10 +01:00
Richard Cohen
fd56cb6b78
Refactor: DEFINE_TYPE GncRecurrence < GtkBox
2023-05-26 13:34:10 +01:00
Richard Cohen
c632164d38
Refactor: DEFINE_TYPE GNCGeneralSelect < GtkBox
...
- don't need checks for parent dispose & finalize
2023-05-26 13:34:10 +01:00
Richard Cohen
faba15a4c7
Refactor: DEFINE_TYPE GncFrequency < GtkBox
...
- also
- make gnc_frequency_init() private
- rename gnc_frequency_class_destroy() to gnc_frequency_destroy()
2023-05-26 13:34:10 +01:00
Richard Cohen
b669d2722b
Refactor: DEFINE_TYPE GncDenseCalStore < GObject
2023-05-26 13:34:10 +01:00
Richard Cohen
9a8f54a2e1
Refactor: DEFINE_TYPE GncDenseCal < GtkBox
2023-05-26 13:34:09 +01:00
Richard Cohen
b3e13d46de
Refactor: DEFINE_TYPE GNCDateEdit < GtkBox
2023-05-26 13:34:09 +01:00
Richard Cohen
7c7ec317f8
Refactor: DEFINE_TYPE GncPopupEntry < GtkEventBox
2023-05-26 13:34:09 +01:00
Richard Cohen
23e4d0e1a1
Refactor: DEFINE_TYPE GncCellRendererPopup < GtkCellRendererText
2023-05-26 13:34:09 +01:00
Richard Cohen
5d39d83a87
Refactor: DEFINE_TYPE GncCellRendererDate < GncCellRendererPopup
2023-05-26 13:34:09 +01:00
Richard Cohen
5d955654bc
Refactor: DEFINE_TYPE GncSxInstanceModel < GObject
2023-05-26 13:34:09 +01:00
Richard Cohen
167c55e506
Refactor: DEFINE_TYPE GOOptionMenu < GtkButton
2023-05-26 13:34:09 +01:00
Richard Cohen
8e36a64506
Refactor: DEFINE_TYPE GOCharmapSel < GtkBox
2023-05-26 13:34:09 +01:00
Richard Cohen
cce0ccff7b
BUGFIX: Actions > Online Actions > Show log Window does not open ...
...
... when it is first clicked
2023-05-26 10:10:54 +01:00
John Ralls
3d30e5978a
Merge Richard Cohen's 'define-boxed' into stable.
2023-05-25 10:50:08 -04:00
John Ralls
23c208e1a0
Merge Richard Cohen's 'remove-unused-value-list' into stable.
2023-05-25 10:45:04 -04:00
Richard Cohen
ae9304efb0
Remove unused boxed type gnc_value_list
2023-05-25 14:42:28 +01:00
Richard Cohen
f9efbf86c6
Remove unused Qofbook::ab-templates property
2023-05-25 14:42:28 +01:00
John Ralls
9748e6f3fb
Merge Monson Shao's 'check-gdk' into stable.
2023-05-25 09:02:38 -04:00
John Ralls
a036fe5915
Merge Richard Cohen's 'cleanup-some-gtk-usages' into stable.
2023-05-25 07:27:13 -04:00
Christopher Lam
0da408191b
[gnc-budget-view.c] simplify totals_col_source, decl before use
2023-05-25 00:35:01 +08:00
Christopher Lam
66f4b4c2ae
[gnc-budget-view.c] much simpler negation rule: always negate.
...
previously negation was dependent on the row type and account
type. this change will modify the rule to *always* negate the total
amount prior to rendering.
this is because budget amounts are now natural numbers, i.e. budget
income usually negative, budget expense usually positive. the total of
budget amounts in a period (asset+liability+income+expense+equity)
should be zero.
the compulsory negation will ensure the budget equation is now much
more intuitive, i.e. an income *adds* to the budget, and an
expense *deducts* from budget; the "remaining to budget" is thus
positive if there is unallocated budget.
2023-05-25 00:35:01 +08:00
Christopher Lam
b0292d7893
[budget.scm] budget report's *actual* amounts link to a trep
...
showing the exact transactions comprising the *actual* period total.
2023-05-25 00:35:01 +08:00
John Ralls
8a5b3721df
Merge Richard Cohen's 'remove-duplicate-define-type-code' into stable.
2023-05-24 11:25:16 -04:00
Christopher Lam
ad7bae8222
[gnc-budget-view.c] tally budget totals for toplevel types BANK etc
...
Budget assumed toplevel accounts are of type ASSET/LIABILITY etc when
tallying the summary 4 rows. It failed to tally values from accounts
of type CASH/BANK/CHECKING/SAVINGS etc. Enable tallying for these
toplevel accounts.
2023-05-24 21:43:40 +08:00
Mike Alexander
6bdaa161eb
Redo 71afa3e0
and 71afa3e0
so powten(max_leg_digits) is 1e18
...
This is what it was before 71afa3e0
. This is the largest power of
ten that fits in an int64.
2023-05-22 15:24:26 -04:00
John Ralls
369b0855ff
Bug 798923 - OFX import is no longer matching security nor asking...
...
for stock account.
Gotta deref the iterator in the loop, not the list head.
2023-05-22 11:20:19 -05:00
Robert Fewell
de8d5ce942
Remove controls before adding to the GncItemList store.
...
There have been reports of lock ups when updating the register
description cell. These can be down to the added descriptions having
more than one line, possibly from an import.
So before adding to the list store, pass the description by
gnc_utf8_strip_invalid_and_controls function.
2023-05-22 10:27:46 +01:00
Christopher Lam
89f7e8933b
gnc_list_all_paths returns std::vector instead of GList of EnvPaths
...
because its consumers are now cpp there's no need to return a GList.
2023-05-22 09:45:33 +08:00
Richard Cohen
2db5004a22
Remove code that duplicates features of G_DEFINE_TYPE
...
- declarations of *_init, *_class_init
- implementation of *_parent_class
- also, removed unnecessary NULL checks for destroy, dispose, finalize
2023-05-21 15:21:33 +01:00
Richard Cohen
eb2d5df778
Refactor: DEFINE_BOXED GncGUID
2023-05-21 15:20:18 +01:00