Richard Cohen
c2a1cd1038
Remove unused ${GNOME_LDFLAGS}
2023-02-21 12:50:38 +00:00
Robert Fewell
08de175e65
Fix previous commit due to recent build changes
2023-02-21 12:03:45 +00:00
Robert Fewell
c2242f769c
Add a test for the built in default report invoice define
2023-02-21 10:51:01 +00:00
Robert Fewell
ec7cc27d6d
Add tests for default invoice report book property
2023-02-21 10:48:34 +00:00
Robert Fewell
76f0e3a97e
Add some PWARN messages to the default invoice report
...
book functions
2023-02-21 10:44:07 +00:00
Robert Fewell
e84ecd64a0
Remove leftover function from business-gnome-utils.h
2023-02-21 10:40:33 +00:00
Robert Fewell
d6514a47f2
Windows build failure, variable set but not used
...
With the introduction of using -Werror=unused-but-set-variable, a
variable in strptime.c was defined but no used.
Moved to be included in #ifdef _NL_CURRENT as that is where it is used.
2023-02-21 10:15:26 +00:00
Robert Fewell
d4820a25a4
Sort the gnc tree view column menu
2023-02-21 10:15:26 +00:00
Robert Fewell
b59bf0b633
Delete action on account page not disabled on edits
...
When the notes or description cells are edited, the toolbar delete
account action was not being disabled and so when you tried to deleted
some text the account was deleted instead.
Fixed by specifying correct action group and using it.
2023-02-21 10:15:26 +00:00
Frank H. Ellenberger
a84f191ed8
Merge branch 'maint'
2023-02-19 19:05:23 +01:00
Frank H. Ellenberger
b9c5416a00
Merge PR #1457 into maint
2023-02-19 17:42:42 +01:00
Frank H. Ellenberger
4bbe1f6977
L10N:cs: add glossary to CMakelists.txt
2023-02-19 16:11:01 +01:00
Frank H. Ellenberger
d922876d18
L10N:DE:SKR04 drop a placeholder
2023-02-19 15:01:49 +01:00
Frank H. Ellenberger
5e0e686356
L10N:cs: Add glossary and fix plural formula
2023-02-19 12:55:57 +01:00
Frank H. Ellenberger
7bcbf3e29d
Merge branch 'maint'
2023-02-19 02:19:09 +01:00
Szia Tomi
69f838b84a
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/
Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-02-19 00:42:41 +01:00
Kryštof Černý
339a45d01f
Translation update by Kryštof Černý <cleverline1mc@gmail.com> using Weblate
...
po/cs.po: 45.8% (2478 of 5401 strings; 1805 fuzzy)
701 failing checks (12.9%)
Translation: GnuCash/Program (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/cs/
Translation update by Kryštof Černý <cleverline1mc@gmail.com> using Weblate
po/cs.po: 45.8% (2478 of 5401 strings; 1805 fuzzy)
701 failing checks (12.9%)
Translation: GnuCash/Program (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/cs/
Translation update by Kryštof Černý <cleverline1mc@gmail.com> using Weblate
po/cs.po: 44.2% (2390 of 5401 strings; 1901 fuzzy)
681 failing checks (12.6%)
Translation: GnuCash/Program (Czech)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/cs/
Co-authored-by: Kryštof Černý <cleverline1mc@gmail.com>
2023-02-19 00:42:41 +01:00
mocsa
d6afb0da5e
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
...
po/hu.po: 63.0% (3403 of 5401 strings; 1019 fuzzy)
381 failing checks (7.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 62.5% (3378 of 5401 strings; 1062 fuzzy)
396 failing checks (7.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 62.3% (3366 of 5401 strings; 1074 fuzzy)
396 failing checks (7.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 62.2% (3363 of 5401 strings; 1077 fuzzy)
396 failing checks (7.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 62.2% (3363 of 5401 strings; 1077 fuzzy)
395 failing checks (7.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.5% (3322 of 5401 strings; 1133 fuzzy)
400 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.4% (3320 of 5401 strings; 1135 fuzzy)
400 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.4% (3317 of 5401 strings; 1138 fuzzy)
400 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3309 of 5401 strings; 1156 fuzzy)
409 failing checks (7.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3308 of 5401 strings; 1161 fuzzy)
403 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3308 of 5401 strings; 1164 fuzzy)
406 failing checks (7.5%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3308 of 5401 strings; 1164 fuzzy)
405 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.2% (3308 of 5401 strings; 1164 fuzzy)
404 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 61.1% (3305 of 5401 strings; 1175 fuzzy)
412 failing checks (7.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 60.8% (3286 of 5401 strings; 1194 fuzzy)
400 failing checks (7.4%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-02-19 00:42:40 +01:00
Christopher Lam
5acf686c76
[eguile-utilities.scm] fmtnumeric: use xaccPrintAmount
...
fmtnumeric is used to render Quantity, Discount percent. Previously it
would render 1/3 as 0.333333333. Use xaccPrintAmount to show exact
fractions for Qty and Discount, where appropriate.
2023-02-18 13:13:54 +08:00
Christopher Lam
2acba0ea18
[taxinvoice.scm] use fmtnumeric to render discount percentage
2023-02-18 13:10:50 +08:00
Jeff
87ff5f1191
[taxinvoice.eguile.scm] subtotal discount column appropriately
2023-02-18 13:08:46 +08:00
Christopher Lam
498799a749
[receipt.eguile.scm] remove commented-out line
2023-02-18 13:08:33 +08:00
Geert Janssens
8a23304283
GncGSettings - use bool as return type for static function
2023-02-17 18:10:35 +01:00
Geert Janssens
ea60687524
CsvPriceImp - change a few translatable strings to match the once in CsvTxImp
...
Saves translators a few cycles.
2023-02-17 14:15:59 +01:00
Geert Janssens
64329414e9
GncGSettings - cosmetic: NULL->nullptr
2023-02-17 14:08:20 +01:00
Geert Janssens
32ae47980c
GncGSettings - some minor cleanups
...
- remove unused macros
- avoid manual counters
2023-02-17 14:02:34 +01:00
Geert Janssens
03aff5642a
GncGSettings - rework signal handler manipulation
...
Use ref-counting to manage GSettings object lifecycle
Use g_signal_handler_handlers_[un]block_matched to
block or unblock handlers rather than tracking them in
our own hash table.
2023-02-17 14:02:34 +01:00
Geert Janssens
4761aa414c
GncGSettings - reduce code duplication
...
Most getters and setters are identical with the exception of
the actual function to call into GSettings. Extract
boilerplate in two template functions and make all
getters/setters wrappers of these two functions.
2023-02-17 11:48:41 +01:00
Geert Janssens
edab41f23a
GncGSettings - basic c++ cleanups
...
- declare at first use
- gboolean->bool (TRUE/true, FALSE/false)
2023-02-17 11:48:41 +01:00
Robert Fewell
a1d17518a8
Add a function to dump the schema entries when in debug
...
mode.
2023-02-17 10:15:23 +00:00
Robert Fewell
2306ef8ca6
On a new install, the gnc_gsettings_version_upgrade
...
would not run
When doing a new install, set the GNC_PREF_VERSION to the current
version.
2023-02-17 10:14:42 +00:00
Robert Fewell
57f874bd3f
Change the behaviour of the gseettings migration
...
function
In the pref_transformations.xml file, when the release version is
greater than the current GnuCash version, do not process those changes.
2023-02-17 10:14:09 +00:00
Robert Fewell
ac0532bf5c
Change the alignment of a function in gnc_gsettings.cpp
2023-02-16 14:23:52 +00:00
Robert Fewell
308c609904
Fix comment typo in gnc-gsettings.cpp
2023-02-16 14:23:51 +00:00
Robert Fewell
97dd119dd4
Separate out pref changes for 'invoice-printreport' in
...
pref_transformations.xml
2023-02-16 14:23:51 +00:00
Geert Janssens
286e1afa41
Bug 798749 - Fails to read gsettings on startup
...
Only cache GSettings objects we need to keep
track of callback functions.
This means a bit more overhead per GSettings
interaction, but as typical interactions are
only a few objects at once at best, this
overhead is unnoticeable.
2023-02-16 22:40:36 +01:00
John Ralls
ec6d38ae15
Merge Richard Cohen's 'fix-unused-1' into master.
2023-02-16 12:29:05 -08:00
Richard Cohen
3a3cf05ab5
Turn on -Wunused
2023-02-16 09:20:59 +00:00
Richard Cohen
9c6ad222a9
[-Wunused-function] - remove
2023-02-16 09:20:59 +00:00
Richard Cohen
05975aa510
[-Wunused-function] - remove commented out reduce_tests() and dependents
2023-02-16 09:20:59 +00:00
Richard Cohen
f702709422
[-Wunused-function] - make glade callbacks public
2023-02-16 09:20:59 +00:00
Richard Cohen
1204083fdc
[-Wunused-variable] - mark window limit as potentially unused (only on Mac)
2023-02-16 09:20:59 +00:00
Richard Cohen
0aad569679
[-Wunused-variable] - mark QofLogModule as unused
2023-02-16 09:20:59 +00:00
Richard Cohen
083166b5ff
[-Wunused-variable] - move into the #ifdef where it is used
2023-02-16 09:20:59 +00:00
Richard Cohen
4eb022c7a2
[-Wunused-variable] - remove
2023-02-16 09:20:59 +00:00
Richard Cohen
8a20bcadb0
[-Wunused-variable] - remove unused translatable string
2023-02-16 09:20:59 +00:00
Richard Cohen
56d950598d
[-Wunused-variable] - pretend to use
...
Looks like a SWIG bug, creating an extra variable that it doesn't use
bindings/python/gnucash_core.c: In function ‘_wrap_xaccAccountGetReconcileLastDate’:
bindings/python/gnucash_core.c:10096:10: warning: unused variable ‘secs20’ [-Wunused-variable]
10096 | time64 secs20 ;
| ^~~~~~
bindings/python/gnucash_core.c: In function ‘_wrap_xaccAccountGetReconcilePostponeDate’:
bindings/python/gnucash_core.c:10298:10: warning: unused variable ‘secs20’ [-Wunused-variable]
10298 | time64 secs20 ;
| ^~~~~~
bindings/python/gnucash_core.c: In function ‘_wrap_qof_query_date_predicate_get_date’:
bindings/python/gnucash_core.c:20237:10: warning: unused variable ‘secs20’ [-Wunused-variable]
20237 | time64 secs20 ;
| ^~~~~~
2023-02-16 09:20:59 +00:00
Richard Cohen
f63dddcc84
[-Wunused-but-set-variable] (clang) - remove
2023-02-16 09:20:59 +00:00
Richard Cohen
dda1bb8374
[-Wunused-but-set-variable] (clang) - use
2023-02-16 09:20:59 +00:00
Richard Cohen
fe57fc4183
[-Wunused-but-set-variable] - remove
2023-02-16 09:20:59 +00:00