Richard Cohen
bddb4468fa
Import GLIB2 as a target, and use it to simplify the CMakeLists
3 years ago
Richard Cohen
17648ac91f
Remove unused ${GTK_INCLUDE_DIRS} and unneeded ${GTK3_INCLUDE_DIRS}
3 years ago
Richard Cohen
27fe72496e
Remove unused ${GLIB_LIBS} ${GLIB_INCLUDE_DIRS}
...
They have been replaced by GLIB2_*
3 years ago
Richard Cohen
c2a1cd1038
Remove unused ${GNOME_LDFLAGS}
3 years ago
Robert Fewell
08de175e65
Fix previous commit due to recent build changes
3 years ago
Robert Fewell
c2242f769c
Add a test for the built in default report invoice define
3 years ago
Robert Fewell
ec7cc27d6d
Add tests for default invoice report book property
3 years ago
Robert Fewell
76f0e3a97e
Add some PWARN messages to the default invoice report
...
book functions
3 years ago
Robert Fewell
e84ecd64a0
Remove leftover function from business-gnome-utils.h
3 years ago
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.
3 years ago
Robert Fewell
d4820a25a4
Sort the gnc tree view column menu
3 years ago
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.
3 years ago
Frank H. Ellenberger
a84f191ed8
Merge branch 'maint'
3 years ago
Frank H. Ellenberger
b9c5416a00
Merge PR #1457 into maint
3 years ago
Frank H. Ellenberger
4bbe1f6977
L10N:cs: add glossary to CMakelists.txt
3 years ago
Frank H. Ellenberger
d922876d18
L10N:DE:SKR04 drop a placeholder
3 years ago
Frank H. Ellenberger
5e0e686356
L10N:cs: Add glossary and fix plural formula
3 years ago
Frank H. Ellenberger
7bcbf3e29d
Merge branch 'maint'
3 years ago
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>
3 years ago
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>
3 years ago
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>
3 years ago
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.
3 years ago
Christopher Lam
2acba0ea18
[taxinvoice.scm] use fmtnumeric to render discount percentage
3 years ago
Jeff
87ff5f1191
[taxinvoice.eguile.scm] subtotal discount column appropriately
3 years ago
Christopher Lam
498799a749
[receipt.eguile.scm] remove commented-out line
3 years ago
Geert Janssens
8a23304283
GncGSettings - use bool as return type for static function
3 years ago
Geert Janssens
ea60687524
CsvPriceImp - change a few translatable strings to match the once in CsvTxImp
...
Saves translators a few cycles.
3 years ago
Geert Janssens
64329414e9
GncGSettings - cosmetic: NULL->nullptr
3 years ago
Geert Janssens
32ae47980c
GncGSettings - some minor cleanups
...
- remove unused macros
- avoid manual counters
3 years ago
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.
3 years ago
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.
3 years ago
Geert Janssens
edab41f23a
GncGSettings - basic c++ cleanups
...
- declare at first use
- gboolean->bool (TRUE/true, FALSE/false)
3 years ago
Robert Fewell
a1d17518a8
Add a function to dump the schema entries when in debug
...
mode.
3 years ago
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.
3 years ago
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.
3 years ago
Robert Fewell
ac0532bf5c
Change the alignment of a function in gnc_gsettings.cpp
3 years ago
Robert Fewell
308c609904
Fix comment typo in gnc-gsettings.cpp
3 years ago
Robert Fewell
97dd119dd4
Separate out pref changes for 'invoice-printreport' in
...
pref_transformations.xml
3 years ago
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.
3 years ago
John Ralls
ec6d38ae15
Merge Richard Cohen's 'fix-unused-1' into master.
3 years ago
Richard Cohen
3a3cf05ab5
Turn on -Wunused
3 years ago
Richard Cohen
9c6ad222a9
[-Wunused-function] - remove
3 years ago
Richard Cohen
05975aa510
[-Wunused-function] - remove commented out reduce_tests() and dependents
3 years ago
Richard Cohen
f702709422
[-Wunused-function] - make glade callbacks public
3 years ago
Richard Cohen
1204083fdc
[-Wunused-variable] - mark window limit as potentially unused (only on Mac)
3 years ago
Richard Cohen
0aad569679
[-Wunused-variable] - mark QofLogModule as unused
3 years ago
Richard Cohen
083166b5ff
[-Wunused-variable] - move into the #ifdef where it is used
3 years ago
Richard Cohen
4eb022c7a2
[-Wunused-variable] - remove
3 years ago
Richard Cohen
8a20bcadb0
[-Wunused-variable] - remove unused translatable string
3 years ago
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 ;
| ^~~~~~
3 years ago