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
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
Christopher Lam
4c29f69d67
[engine.i] even faster gnc_get_match_commodity_splits
...
gnc_get_match_commodity_splits needs to scan the account splitlists to
find suitable splits upto end_date. Because splitlist is date-sorted,
use gnc_account_foreach_split_until_date to avoid scanning later
splits.
2024-05-02 22:21:31 +08:00
Christopher Lam
87dbbf25f8
[account.cpp] add gnc_account_foreach_until_date
...
- uses binary search to find first split after date
- for_each from earliest split to (but excluding) the above first split
2024-05-02 22:21:31 +08:00
Christopher Lam
2c6f15090a
[trep-engine] bugfix sorting/show-account-description was not working
...
also fix display code - omit " " if code is empty.
2024-05-02 13:09:01 +08:00
John Ralls
4c2320cf74
Use Homebrew to install ninja
2024-05-01 19:45:09 -07:00
Szia Tomi
926250afab
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 77.2% (4303 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% (4303 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-02 03:07:16 +02:00
Stephan Brunner
c10af4ebb0
[dialog-price-edit-db.cpp] Copy the latest price when creating a new entry from a commodity selection
...
When a price entry is selected, it's contents get copied 1:1 to the newly created price to facilitate faster entry based on existing values (e.g. the type).
When selecting a commodity instead, the user is presented with an empty price entry where only the commodity is set.
IMO the user ends up with the same values (except the price of course) as the latest entry.
So we check whether we have a (latest) entry and use that as the template, so that e.g. the type gets copied, too.
This spares the user some clicks.
2024-04-30 21:42:01 +02:00
Christopher Lam
3f0dd57b6f
[test-commodity-utils.scm] don't test TZ-sensitive datetimes
2024-04-30 08:38:45 +08:00
Christopher Lam
8fb5a6afd6
Fix tests so that they don't fail unnecessarily
...
- test-begin/test-end names must be consistent
- remove empty test group in test-scm-engine
2024-04-29 22:06:45 +08:00