Richard Cohen
7d26b8c05f
Fail the test if still using 32bit time_t in 2038
...
gtest-gnc-option.cpp and gtest-gnc-optiondb.cpp need to call
time() for g_date_set_time_t()
2023-06-08 14:30:32 +01:00
Richard Cohen
d63248dad2
Update Y2038 comments
2023-06-08 14:30:28 +01:00
Richard Cohen
6e5c525f77
Use gnc_time() instead of time()
2023-06-06 15:40:36 +01:00
Christopher Lam
d7c797a46e
Merge Vincent Dawans branch 'trep-parameters-step2' into stable #1659
2023-06-06 08:39:09 +08:00
Christopher Lam
60e6c23ac9
Bug 798919 - Inconsistent signs in creating budget, bis
...
bgv_get_total_for_account must return the account budget total.
2023-06-05 18:56:39 +08:00
Vincent Dawans
bb8a6b5601
Define parameters in 2 steps to remove preparam
2023-06-04 17:22:19 -07:00
Christopher Lam
c9c8d48910
Merge Vincent Dawans' branch 'trep-parameters' into stable #1629
2023-06-04 20:27:37 +08:00
Vincent Dawans
842e38c7c5
Refactor used-columns alist into more generic parameters alist
...
Refactor BOOK-SPLIT-ACTION into parameters alist
Refactor primary-get-info and secondary-get-info into parameters alist
Refactor opt-val calls made from make-split-table into parameters alist
Combine let* statements in gnc:trep-renderer
Integrate bal-bf helper function in parameter list
Remove c_account_1 begindate endate arguments from make-split-table
2023-06-03 19:42:05 -07:00
Christopher Lam
4beb382c16
typo in last commit
2023-06-04 08:33:44 +08:00
Christopher Lam
d47230a418
Bug 798919 - Inconsistent signs in creating budget
...
further Reversed Balance Accounts fixes
2023-06-04 08:20:10 +08:00
Christopher Lam
ccc75cfc88
Merge branch 'scrub-optimize' into stable
2023-06-04 07:58:31 +08:00
Christopher Lam
6fc3691401
Consolidate owner title setter into gnc_owner_window_set_title
...
8d44c1c38c
rewritten to call common code.
2023-06-04 07:55:04 +08:00
Christopher Lam
81902ba8bb
[scrub.c] xaccTransScrubSplits calls Begin/Commit only if required
2023-06-02 18:01:08 +08:00
Christopher Lam
872e20c555
move xaccTransScrubSplits to Scrub.c
...
it's defined in Scrub.h anyway
2023-06-01 20:28:01 +08:00
Christopher Lam
9047156017
[Scrub.c] refactor xaccAccountTreeScrubOrphans
2023-05-31 19:34:28 +08:00
Christopher Lam
8628ca8715
[Scrub.c] refactor xaccAccountTreeScrubImbalance
...
The scrubbing routines are transaction oriented. Instead of
xaccAccountTreeScrubImbalance calling xaccAccountScrubImbalance for
each descendant, refactor so that the transaction list is generated
only once. The scrubbing is faster and progress bar is more accurate.
2023-05-31 09:26:58 +08:00
Christopher Lam
d214b2f05d
Merge Vincent Dawans' branch 'bug798879' into stable #1617
2023-05-30 22:41:05 +08:00
Vincent Dawans
1c04e744d3
[trep-engine.scm] Rename "Totals" option to "Grand Total"
2023-05-29 20:01:11 -07:00
Vincent Dawans
6d07f41d57
[trep-engine.scm] Display only columns with subtotals
...
when "Show subtotals only" is selected
2023-05-29 19:59:13 -07:00
Vincent Dawans
2cc4cb8bda
[income-gst-statement.scm] disable running totals
2023-05-29 19:59:13 -07:00
Vincent Dawans
bdd787f1b2
Bug 798879 - RFE: [Transaction Report] add Running Total option
...
Running total are calculated based on report transactions sort
order as shown. Can be displayed on the main total as well as
the primary and secondary subtotal levels. Compatible with
multi-currency options.
2023-05-29 19:58:37 -07:00
John Ralls
8e360bbe84
Merge latest translations from weblate into stable.
2023-05-27 10:15:27 -04:00
Szia Tomi
85cc08306d
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/glossary/hu.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hu/
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 69.3% (3812 of 5499 strings; 625 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-05-27 16:12:45 +02:00
yuht
da0624ecf4
Translation update by yuht <yuht@qq.com> using Weblate
...
po/zh_CN.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
11 failing checks (0.2%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: yuht <yuht@qq.com>
2023-05-27 16:12:45 +02:00
Arve Eriksson
2983dddb41
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
...
po/sv.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/
Co-authored-by: Arve Eriksson <031299870@telia.com>
2023-05-27 16:12:45 +02:00
mocsa
edf3d10a6e
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 69.3% (3812 of 5499 strings; 625 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-05-27 16:12:45 +02:00
yu0A
14d347683d
Translation update by yu0A <yuhongbo@member.fsf.org> using Weblate
...
po/zh_CN.po: 100.0% (5499 of 5499 strings; 0 fuzzy)
14 failing checks (0.2%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Translation update by yu0A <yuhongbo@member.fsf.org> using Weblate
po/zh_CN.po: 98.5% (5419 of 5499 strings; 52 fuzzy)
47 failing checks (0.8%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: yu0A <yuhongbo@member.fsf.org>
2023-05-27 16:12:45 +02:00
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