Commit Graph

28773 Commits

Author SHA1 Message Date
John Ralls
5f18971afb SRFI-64 Handle run-test returning the runner instead of pass status.
Guile 3.0.5 fixed what they thought was a bug whering run-test returned
the rv of test-runner-on-final instead of the current test runner. Ctest
considered the returned object to be a successful test and always reported
the test passing.
2024-05-28 15:07:41 -07:00
Christopher Lam
e80249ce2b [Account.cpp] gnc_account_remove_split shortcuts removing last split
this speeds up book shutdown which empties the account splits in
reverse chrono order.
2024-05-27 07:03:42 +08:00
Szia Tomi
25a5e4417b
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 77.3% (4311 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-26 11:09:25 +02:00
YOSHINO Yoshihito
a7231a8baa
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 89.0% (4961 of 5571 strings; 262 fuzzy)
428 failing checks (7.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 89.0% (4960 of 5571 strings; 263 fuzzy)
429 failing checks (7.7%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 88.2% (4918 of 5571 strings; 305 fuzzy)
430 failing checks (7.7%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Translation update  by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate

po/ja.po: 88.2% (4915 of 5571 strings; 308 fuzzy)
430 failing checks (7.7%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/

Co-authored-by: YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>
2024-05-26 11:09:24 +02:00
Geert Janssens
ee98dcaa09 Doxygen - include the main page
With the move to toplevel this file was not part of any
include directory any more, so it has to be specified
explicitly
2024-05-25 14:14:21 +02:00
Robert Fewell
b34a8b0add Bug 798822 - Move to blank transaction
If the move to blank action is used when a register is displayed in
REG_STYLE_JOURNAL, the resulting highlighted cell is the split 'action'
cell. In all other register styles it is the 'date' cell so test for
the register style and decrement the vcell_loc.virt_row by one to move
to the 'date' cell.
2024-05-24 09:06:13 +01:00
Robert Fewell
bc5cac4aa2 Bug 799298 - Shortcut Ctrl-G does not work in the General Journal register for the default date value
The split list in the General Journal register contains the blank
splits of other open registers which the GUI hides in
split-register-load.c. As they are not entered, the entered date value
is 0 and they will be listed before any split with the default date
value. If such a split is used, nothing will happen.

To fix this use the same test to ignore these blank splits.
2024-05-24 09:06:13 +01:00
Geert Janssens
48185684ea Drop xcode bit from the Hacking file
It's obsolete. The project file it refers to no longer
exists in the source tree. cmake can generate an
xcodeproject if anyone wants to play with it.
2024-05-23 18:58:04 +02:00
Geert Janssens
6f128d2947 Move valgrind and callgrind information to our wiki 2024-05-23 15:43:38 +02:00
Geert Janssens
e8e179fd8f Drop remainder of files in libgnucash/doc
Relevant diagrams have been added in the wiki as png files.
The html files with financial calculations are copyrighted
by someone outside of the gnucash project. I'd rather not
add that info to the wiki. Similar information should be
easy to find on the internet.
2024-05-23 15:10:05 +02:00
Geert Janssens
387b4988e5 Move doxygen target and related files to toplevel.
Note: this also means the target directory changes from
      libgnucash/docs/html
      to
      [toplevel]/doxygen/html
2024-05-23 15:10:05 +02:00
Geert Janssens
c816d2b34f Doxygen - minor cleanup of gnc-lot.h 2024-05-23 15:10:05 +02:00
Geert Janssens
e8d72ad53f Doxygen - merge separate txt files into respective header files 2024-05-23 15:10:05 +02:00
Geert Janssens
6cd8e4e458 Doxygen - drop obvious cases of deprecated code 2024-05-23 15:10:05 +02:00
Geert Janssens
d8ac86afd7 Integrate callgrind documentation into Hacking 2024-05-23 15:10:05 +02:00
Geert Janssens
cf7ff07624 Move libgnucash/doc/xml to libgnucash/backend/xml/DTD 2024-05-23 15:10:05 +02:00
Geert Janssens
da12a212c3 Drop old migration script to split qof from engine 2024-05-23 15:10:05 +02:00
Geert Janssens
891b921c81 Update doxygen.cnf file to more recent release 2024-05-23 15:10:05 +02:00
Geert Janssens
005112954c Some cleanup of the doxygen main page 2024-05-23 15:10:05 +02:00
Geert Janssens
39aa5f9c09 Remove texi design document in engine
It's extremely out of date and we no longer use it to keep track
of our design decisions and suggestions.

Only a section on KVP policy has been move into kvp_doc.txt
as it may make sense there.
2024-05-23 15:10:05 +02:00
Geert Janssens
48b9fa80ce Doxygen - strip obsolete info from loans.txt 2024-05-23 15:10:05 +02:00
Geert Janssens
58b4ee35f0 Doxygen - drop several txt files that were included in
docygen_mainpage.c

None of them had useful information describing actual
implementation concepts or details.
2024-05-23 15:10:05 +02:00
Geert Janssens
3c860737f1 Doxygen - fold business.txt file in the respective source files
The file mostly had short descriptions that were very similar
to the descriptions of business objects it referred to. The
exception was an explanation of how the billing terms and
tax tables handled their immutable copies. That bit has been
moved to its own group under the Business group and is referenced
from the BillTerm and TaxTables group.

This commit also fixes rendering of the Address doxygen info
and expands the BillTerm info to explain how proximo due dates
work.
2024-05-23 15:10:05 +02:00
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