Robert Fewell
739a748e99
Factor out some common code to new function
2024-06-19 09:27:53 +01:00
Robert Fewell
7e4054e43e
Add today indication on the dense calendar
2024-06-19 09:27:53 +01:00
Robert Fewell
2c7c3f2cf7
Add some padding to the top and side bar
...
Add a 2 px of padding as default to the day top and month side bars and
also allow it to be changed by CSS.
2024-06-19 09:27:53 +01:00
Robert Fewell
d2b01d95ad
Remove some redundant code
2024-06-19 09:27:53 +01:00
Robert Fewell
fb767b6885
Fix month side bar alignment
...
Create two new variables for the height of the day top bar and width of
the month side bar along with the existing label_height. These two new
variables have the same value but made it easier to identify the
alignment error.
2024-06-19 09:27:53 +01:00
Robert Fewell
42a1c0a3a9
Specify the QofLogModule directly
2024-06-19 09:27:53 +01:00
Robert Fewell
718402f663
Remove some redundant timer diagnostics
2024-06-19 09:27:53 +01:00
Robert Fewell
d393c42697
Realign source files gnc-dense-cal*.c/h for spaces
2024-06-19 09:27:53 +01:00
John Ralls
a35af97250
Bug 799336 - Stock Assistant closes with its New Account dialog (reprise)
...
Kill the stock transaction assistant if the stock account that it's
operating on is deleted.
2024-06-18 21:47:25 -07:00
Avi Markovitz
a4e974c1e3
Translation update by Avi Markovitz <avi.markovitz@gmail.com> using Weblate
...
po/he.po: 91.2% (5083 of 5571 strings; 329 fuzzy)
154 failing checks (2.7%)
Translation: GnuCash/Program (Hebrew)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/he/
Co-authored-by: Avi Markovitz <avi.markovitz@gmail.com>
2024-06-19 01:27:58 +02:00
Szia Tomi
0a2883ad47
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 77.9% (4344 of 5571 strings; 377 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-06-19 01:27:58 +02:00
John Ralls
d42b0115cc
Bug 799336 - Stock Assistant closes with its New Account dialog
...
Instead of handling QOF_EVENT_DESTROY via the component manager at the
StockTransactionController level have each StockTransactionEntry set a
handler that nulls m_account if it's destroyed.
2024-06-18 16:27:34 -07:00
Christopher Lam
b7fde90411
[Account.cpp] xaccAccountStagedTransactionTraversal copies SplitsVec
...
because create_transactions_for_instance which calls
xaccAccountStagedTransactionTraversal will modify the splits
2024-06-18 20:29:14 +08:00
Christopher Lam
f19e462098
[assistant-stock-transaction.cpp] don't copy SplitsVec
2024-06-18 08:40:17 +08:00
Christopher Lam
cd097d19ec
[Account.cpp] don't copy SplitsVec
2024-06-18 08:24:17 +08:00
Zdenko Podobný
a210931dd6
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
...
po/sk.po: 95.6% (5328 of 5571 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/
Co-authored-by: Zdenko Podobný <zdenop@gmail.com>
2024-06-17 14:09:37 +00:00
Szia Tomi
df05ad00ae
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 77.9% (4344 of 5571 strings; 377 fuzzy)
0 failing checks (0.0%)
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.9% (4343 of 5571 strings; 377 fuzzy)
0 failing checks (0.0%)
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.9% (4341 of 5571 strings; 379 fuzzy)
0 failing checks (0.0%)
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.8% (4338 of 5571 strings; 380 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-06-17 14:09:36 +00:00
Christopher Lam
119e257146
[Transaction|Split.cpp] Remove Reg2 unused functions
2024-06-17 21:53:26 +08:00
Robert Fewell
422bfdf052
Bug 799334 - GnuCash re-opens to incorrect page
...
If there are transient pages open on close, like search result pages,
they are not restored which results in the wrong page being selected
on restore.
To fix this, remember the pages that are not restored so the position
of pages in the saved order can be adjusted.
2024-06-17 11:29:56 +01:00
Christopher Lam
963117624a
Merge branch 'bug797796' into stable #1958
2024-06-16 11:57:02 +08:00
Christopher Lam
b49aff3215
[ifrs-cost-basis.scm] simplify monadic arithmetic
2024-06-16 11:56:18 +08:00
Christopher Lam
a882afe640
[ifrs-cost-basis.scm] improve names for stock's associated account predicates
...
and utilitize unicode too
2024-06-16 11:55:45 +08:00
John Ralls
0b389fbdef
Merge latest translations from Weblate into stable.
2024-06-15 17:14:13 -07:00
Szia Tomi
bfab95057f
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 77.7% (4332 of 5571 strings; 386 fuzzy)
0 failing checks (0.0%)
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.7% (4330 of 5571 strings; 387 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2024-06-16 01:56:07 +02:00
Christopher Lam
c6890264fb
[ifrs-cost-basis.scm] amend truth table as per bug 797796 comment 241
...
further amendments to match updated truth table
2024-06-15 22:20:44 +08:00
Tor Berg
9bd9db05a5
Translation update by Tor Berg <tob@samfundet.no> using Weblate
...
po/nb.po: 86.0% (4795 of 5571 strings; 766 fuzzy)
62 failing checks (1.1%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/
Translation update by Tor Berg <tob@samfundet.no> using Weblate
po/nb.po: 86.0% (4795 of 5571 strings; 766 fuzzy)
62 failing checks (1.1%)
Translation: GnuCash/Program (Norwegian Bokmål)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/nb_NO/
Co-authored-by: Tor Berg <tob@samfundet.no>
2024-06-14 16:00:45 +02:00
Martin LORANG
a7e1762c9d
Translation update by Martin LORANG <wablate@lorang.net> using Weblate
...
po/fr.po: 99.7% (5557 of 5571 strings; 14 fuzzy)
5 failing checks (0.1%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Martin LORANG <wablate@lorang.net>
2024-06-14 16:00:44 +02:00
Christopher Lam
47791734bb
[SX-ttinfo.cpp] tidier, using c++ stl and algo
2024-06-12 23:17:32 +08:00
Szia Tomi
b1c3b3ee86
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 77.6% (4326 of 5571 strings; 389 fuzzy)
0 failing checks (0.0%)
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.5% (4323 of 5571 strings; 389 fuzzy)
0 failing checks (0.0%)
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.5% (4319 of 5571 strings; 391 fuzzy)
0 failing checks (0.0%)
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.4% (4317 of 5571 strings; 393 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.4% (4316 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.4% (4316 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.4% (4314 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-06-11 02:09:19 +02:00
Over_score
af149251b4
Translation update by Over_score <wablate@lorang.net> using Weblate
...
po/fr.po: 98.8% (5509 of 5571 strings; 59 fuzzy)
48 failing checks (0.8%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Over_score <wablate@lorang.net>
2024-06-11 02:09:16 +02:00
Christopher Lam
ddc7958801
[~qofchoice.cpp] remove, not useful
...
because the options GLists are populated, but are never actually
queried. The QOF_TYPE_CHOICE definition is moved to qofclass.h
2024-06-10 01:33:06 +08:00
Geert Janssens
fbb08c9db9
Clean up some obsolete tools and references to non-git vcs's
2024-06-08 18:06:45 +02:00
Geert Janssens
bd6e79b4d6
Rework version-info rules to allow building from github downloaded zip archives
2024-06-08 18:06:45 +02:00
Geert Janssens
3f8b97bb2e
Improve error messages
2024-06-08 18:06:45 +02:00
Christopher Lam
d1807b6c15
[engine.i] move gnc_accounts_and_all_descendants to engine.i
2024-06-07 18:10:40 +08:00
Christopher Lam
6cac9d0ebb
[Account.cpp] priv->children is a vector<Account*>
2024-06-07 18:10:40 +08:00
Szia Tomi
e1b3c9ef06
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 77.4% (4314 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-06-05 18:26:57 +02:00
Zdenko Podobný
6e6f319bae
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
...
po/sk.po: 95.3% (5313 of 5571 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
po/sk.po: 94.9% (5292 of 5571 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/
Translation update by Zdenko Podobný <zdenop@gmail.com> using Weblate
po/sk.po: 94.3% (5256 of 5571 strings; 45 fuzzy)
33 failing checks (0.5%)
Translation: GnuCash/Program (Slovak)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sk/
Co-authored-by: Zdenko Podobný <zdenop@gmail.com>
2024-06-05 18:26:57 +02:00
தமிழ்நேரம்
ea47f59a7d
Translation update by தமிழ்நேரம் <anishprabu.t@gmail.com> using Weblate
...
po/ta.po: 100.0% (5571 of 5571 strings; 0 fuzzy)
214 failing checks (3.8%)
Translation: GnuCash/Program (Tamil)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ta/
Translation update by தமிழ்நேரம் <anishprabu.t@gmail.com> using Weblate
po/ta.po: 100.0% (5571 of 5571 strings; 0 fuzzy)
217 failing checks (3.8%)
Translation: GnuCash/Program (Tamil)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ta/
Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
2024-06-05 18:26:57 +02:00
Christopher Lam
ff8c5b5873
[gnc-report.cpp] missing g_free in 8106ffb84b
2024-06-06 00:25:14 +08:00
தமிழ்நேரம்
f32f653697
Translation update by தமிழ்நேரம் <anishprabu.t@gmail.com> using Weblate
...
po/glossary/ta.po: 100.0% (212 of 212 strings; 0 fuzzy)
1 failing checks (0.4%)
Translation: GnuCash/Glossary (Tamil)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/ta/
Translation update by தமிழ்நேரம் <anishprabu.t@gmail.com> using Weblate
po/ta.po: 100.0% (5571 of 5571 strings; 0 fuzzy)
216 failing checks (3.8%)
Translation: GnuCash/Program (Tamil)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ta/
Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
2024-06-03 10:09:23 +02:00
Frank H. Ellenberger
9e7d4ad9ce
L10N:ta: fix "translator-credits"
2024-06-03 04:19:47 +02:00
தமிழ்நேரம்
d8f5ee2aa0
Translation update by தமிழ்நேரம் <anishprabu.t@gmail.com> using Weblate
...
po/ta.po: 100.0% (5571 of 5571 strings; 0 fuzzy)
267 failing checks (4.7%)
Translation: GnuCash/Program (Tamil)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ta/
Translation update by தமிழ்நேரம் <anishprabu.t@gmail.com> using Weblate
po/glossary/ta.po: 100.0% (212 of 212 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Tamil)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/ta/
Translation update by தமிழ்நேரம் <anishprabu.t@gmail.com> using Weblate
po/ta.po: 100.0% (5571 of 5571 strings; 0 fuzzy)
326 failing checks (5.8%)
Translation: GnuCash/Program (Tamil)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ta/
Co-authored-by: தமிழ்நேரம் <anishprabu.t@gmail.com>
2024-06-03 03:09:17 +02:00
Szia Tomi
24d3ba8bfe
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
...
po/hu.po: 77.4% (4314 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.4% (4314 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-06-03 03:09:15 +02:00
Christian Wehling
9cda96bdfe
Translation update by Christian Wehling <christian.wehling@web.de> using Weblate
...
po/de.po: 100.0% (5571 of 5571 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (German)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/de/
Co-authored-by: Christian Wehling <christian.wehling@web.de>
2024-06-03 03:09:14 +02:00
John Ralls
1ad2e66aac
Merge Daniel Harding's Bug799324 into stable.
2024-06-02 14:40:21 -07:00
Daniel Harding
c4d44ea024
Bug 799324 - Invalid free in gvalue_from_kvp_value()
...
As of ddc3f28899
, gvalue_from_kvp_value()
takes a GValue pointer from the caller, which in some cases points to
memory on the stack. If that is the case and the code also hits the
default case in the switch statement, the unconditional g_slice_free()
call will attempt to free stack memory, causing the program to abort.
Fix by requiring the caller to always pass in a valid GValue pointer,
making the caller responsible for freeing it if necessary. This also
means that it is no longer necessary for gvalue_from_kvp_value() to
return a value, so make it a void function.
2024-06-02 14:39:11 -07:00
John Ralls
8106ffb84b
[Reports] Improve error message when html generation fails.
...
Per Chris Lam's comment 7 on https://bugs.gnucash.org/show_bug.cgi?id=799148 .
2024-06-02 14:30:31 -07:00
Robert Fewell
5c716cc95c
Bug 799290 - Invoice register context menu issue
...
When you right click on the register styled item lines, the context
menu does not show.
Fixed by adding missing call back.
2024-06-01 12:13:37 +01:00
Christopher Lam
6c7abb487d
[SX-ttinfo.hpp] convert to c++ header
2024-06-01 12:03:34 +08:00