Commit Graph

28950 Commits

Author SHA1 Message Date
Christopher Lam
038405b370 Revert "[account.cpp] gnc_account_remove_split searches from the end"
This reverts commit 5aff4fb57d. Was not
tested properly...
2024-05-21 22:58:00 +08:00
Christopher Lam
5aff4fb57d [account.cpp] gnc_account_remove_split searches from the end
because removing the latest split is far more common (e.g. from ui or
during book shutdown) than removing an early split.
2024-05-21 20:31:16 +08:00
Christopher Lam
2d030c5af1 Merge branch 'statusbar-ofx-download' into stable #1940 2024-05-20 22:23:42 +08:00
Christopher Lam
0df1372f2e [gnc-ofx-import.cpp] show message while deduplicating download 2024-05-20 12:44:47 +08:00
Szia Tomi
10de30a5ab
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 77.3% (4309 of 5571 strings; 394 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 77.3% (4309 of 5571 strings; 394 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>
2024-05-20 03:02:01 +00:00
Christopher Lam
448e9ac255 Merge branch 'speed-up-book-close' into stable #1941 2024-05-20 08:05:29 +08:00
Christopher Lam
370a06fb61 [qofid.cpp] remove unnecessary struct 2024-05-20 08:05:01 +08:00
Christopher Lam
fe2cdf42c7 [transaction.cpp] speed up book close 2024-05-19 20:19:29 +08:00
Christopher Lam
d21d6f9344 [qofid.cpp] qof_collection_foreach_sorted 2024-05-19 20:19:29 +08:00
Christopher Lam
d0851d1c6f [gnc-ofx-import.cpp] use stl containers and string 2024-05-18 19:18:31 +08:00
Christopher Lam
a207392a6b [gnc-ofx-import.cpp] reindent for easier read 2024-05-18 11:41:57 +08:00
Geert Janssens
03622b03d0 CsvImp - refactor of GncTxImport::set_column_type and helper functions
...to improve readability.
2024-05-16 19:47:07 +02:00
Geert Janssens
3101eed3c0 Bug 799309 - Import Multi-split CSV can duplictae 'Notes' field from one transaction to next 2024-05-16 17:45:11 +02:00
Geert Janssens
e175e53aac CsvImp - fix error message displayed to user (and related comment) 2024-05-16 16:25:47 +02:00
Geert Janssens
31095c1205 Import Matcher - select row if none is selected yet when right-clicking the list of matches 2024-05-16 12:48:30 +02:00
Geert Janssens
f7f42bf6fb Bug 799279 - Import Matcher (CSV) does not compute correctly the share amount based on security price - part 2
Do proper conversion based on entered exchange rate.
2024-05-16 12:18:08 +02:00
Geert Janssens
3547885e23 Bug 799279 - Import Matcher (CSV) does not compute correctly the share amount based on security price - part 1
When modifying the exchange rate in the transaction matcher page
refresh the modified transactions.
2024-05-16 12:16:58 +02:00
Wellington Terumi Uemura
c519490283
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 93.7% (5223 of 5571 strings; 233 fuzzy)
72 failing checks (1.2%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2024-05-13 19:00:33 +02:00
Abdulla Alhosani
7fc0312abf
Translation update by Abdulla Alhosani <ama1029@nyu.edu> using Weblate
po/ar.po: 69.1% (3850 of 5571 strings; 1178 fuzzy)
487 failing checks (8.7%)
Translation: GnuCash/Program (Arabic)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ar/

Co-authored-by: Abdulla Alhosani <ama1029@nyu.edu>
2024-05-13 19:00:32 +02:00
Szia Tomi
5493c9c1a3
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 77.3% (4307 of 5571 strings; 395 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>
2024-05-13 19:00:31 +02:00
Daniel Conrado
24e38a6138
Translation update by Daniel Conrado <dbconrado@gmail.com> using Weblate
po/pt_BR.po: 93.7% (5223 of 5571 strings; 233 fuzzy)
72 failing checks (1.2%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Daniel Conrado <dbconrado@gmail.com>
2024-05-13 19:00:29 +02:00
Christopher Lam
3fc0413e49 [gnc-plugin-page-account-tree.cpp] wrap extern "C" for exposed funcs 2024-05-13 13:13:11 +08:00
Christopher Lam
7b46466ebd [account.cpp] fix regression caused by 3f7a5a8267
whereby deleting an account and moving all splits to another account
would segfault. make a copy of priv->splits and work on the copy
rather than the original.
2024-05-13 12:45:56 +08:00
Christopher Lam
e54e9d8086 [account.cpp] use HashTable for splits
reduces xml loading time from 3.5s to 3.1s, i.e. 11% improvement
2024-05-13 12:45:46 +08:00
Christopher Lam
b28ca9bdb4 use c++ placement new
to initialize non-c++ object members
2024-05-12 21:00:56 +08:00
John Ralls
579da58a10 Merge Gwynn Ciesla's "Allow building with GCC 14.1" into stable. 2024-05-09 17:28:35 -07:00
Christopher Lam
7c233d46e6 Merge branch 'bug799305' into stable #1936 2024-05-10 08:06:26 +08:00
Christopher Lam
2817ca195f [test-commodities.cpp] test stability of c_str names 2024-05-10 07:42:50 +08:00
Christopher Lam
f67233b662 Bug 799305 - Crash when there is more than one unknown quote source for commodities
instead of vector which requires reallocation, use a c++ linked list.
2024-05-10 07:42:50 +08:00
Gwyn Ciesla
f7df9755fc
Update CMakeLists.txt
Co-authored-by: Yaakov Selkowitz <yselkowi@redhat.com>
2024-05-08 14:07:20 -05:00
Szia Tomi
f3b203f4db
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 77.2% (4306 of 5571 strings; 396 fuzzy)
1 failing checks (0.1%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Translation update  by Szia Tomi <sziatomi01@gmail.com> using Weblate

po/hu.po: 77.2% (4304 of 5571 strings; 396 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>
2024-05-07 16:36:13 +02:00
Christopher Lam
4a1abec97e [window-reconcile.cpp] fix previous commit comment 2024-05-07 22:35:35 +08:00
Christopher Lam
bcd706bf1a [window-reconcile.cpp] clarify gnc_account_find_split predicate.
this clarifies the predicate.
2024-05-07 20:50:01 +08:00
Christopher Lam
d867a9d18a Merge branch 'TransactionP-hpp' into stable #1928 2024-05-05 14:36:43 +08:00
Christopher Lam
9e4b03f71b [SplitP.hpp] rename to .hpp 2024-05-05 14:35:44 +08:00
Christopher Lam
1e1d21b716 [Transaction.hpp] rename to .hpp 2024-05-05 14:35:38 +08:00
Christopher Lam
ef8afedd09 [gnc-euro.cpp] use c++isms 2024-05-05 09:28:32 +08:00
Christopher Lam
3bc7ce606d [gnc-euro.cpp] convert to c++ 2024-05-05 09:28:32 +08:00
Christopher Lam
80997ee5b4 [gtest-gnc-euro] add rounding test 2024-05-05 09:28:32 +08:00
John Ralls
a53ed8f501 Merge Steve Bruniges's 'feature/pricedb-add-clone-from-latest' into stable 2024-05-04 17:18:44 -07:00
Christopher Lam
d405b5891f [gnc-log-replay.cpp] don't set import to DEBUG
because it'll spew too many debug messages when gnc-log-replay
completes.
2024-05-05 07:24:08 +08:00
Christopher Lam
c5caa55e9a [gnc-log-replay.cpp] convert to c++ 2024-05-05 07:24:08 +08:00
John Ralls
6642f4fb8a CI: Update github action scripts take 2. 2024-05-04 13:55:21 -07:00
John Ralls
bba4a1099c CI: Update github action scripts. 2024-05-04 13:35:47 -07:00
John Ralls
9f1597f540 Merge John Ralls's 'fix-mac-ci' into stable. 2024-05-04 11:48:07 -07:00
John Ralls
b4d92c50fb [MacOS Workflow] New dependency tarball for macOS Sonora. 2024-05-04 11:47:24 -07:00
Christopher Lam
949c9c97c0 Bug 799300 - Nullpointer exception in gnc_quote_source_s
avoids constructing std::string with nullptr
2024-05-04 08:27:43 +08:00
John Ralls
64a3a38945 Add PKG_CONFIG_PATH to build environment. 2024-05-02 19:13:32 -07:00
Kaligula
d358998af7
Translation update by Kaligula <kaligula.dev@gmail.com> using Weblate
po/pl.po: 72.7% (4054 of 5571 strings; 1008 fuzzy)
275 failing checks (4.9%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: Kaligula <kaligula.dev@gmail.com>
2024-05-02 23:07:28 +02:00
iceberg
ee28b639b3
Translation update by iceberg <usurprisedme@gmail.com> using Weblate
po/glossary/te.po: 4.2% (9 of 212 strings; 1 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Telugu)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/te/

Co-authored-by: iceberg <usurprisedme@gmail.com>
2024-05-02 23:07:27 +02:00