Commit Graph

27055 Commits

Author SHA1 Message Date
John Ralls
d82a342c15 Always use the Company Name from book options in reports.
Removing the Company Name report option.
2023-03-03 13:29:43 -08:00
John Ralls
4fab9f8284 Merge Chris Lam's 'maint-static-string' into master. 2023-03-03 11:54:43 -08:00
John Ralls
4d0aa8f242 Merge master potfile into PO files 2023-03-03 11:52:09 -08:00
John Ralls
c9f8137ca2 Merge branch 'maint' 2023-03-03 11:23:55 -08:00
Richard Cohen
7b47c07f8e Don't use extern "C" around #includes
Some I missed the first time. Some are new.
2023-03-03 18:55:42 +00:00
John Ralls
f18fd609f8 Merge Bob Fewell's 'bug798759' into maint. 2023-03-03 10:21:35 -08:00
John Ralls
c3989833af Merge Frank Ellenberger's I18N branch into maint. 2023-03-03 09:59:21 -08:00
John Ralls
931b102312 [stock-txn-asst] Enable translations, slightly fewer strings.
Remove context from strings that are mostly unique to the assistant.
2023-03-03 09:58:01 -08:00
Frank H. Ellenberger
6615051c59 Fix several ellipses 2023-03-03 09:58:01 -08:00
Frank H. Ellenberger
bb94c1c909 doclink: use PACKAGE_URL 2023-03-03 09:58:01 -08:00
Frank H. Ellenberger
b2867e432b drop some hardcoded linefeeds from translatable strings 2023-03-03 09:58:01 -08:00
Frank H. Ellenberger
bdb12fd94f I18N: Change TaxTable to "Tax Table" for consistency 2023-03-03 09:58:01 -08:00
Frank H. Ellenberger
81db38f473 I18N: mixed improvements like http -> https 2023-03-03 09:57:49 -08:00
Frank H. Ellenberger
8e259c8aa7 Improve legibility of a message in the sources 2023-03-03 09:52:42 -08:00
Frank H. Ellenberger
08d868865a I18N: Improvements w/o translator interaction like comments and
duplicates
2023-03-03 09:52:33 -08:00
Robert Fewell
8c613ff7ab Fix the register sheet insensitive when in reverse order 2023-03-03 13:40:05 +00:00
Robert Fewell
672cfddd69 Modify commit de9c0eb to not use xaccAccountSetSortReversed
Account sort order / sort by and filter by are all stored in the
register with the account functions in the process of being depreciated
so instead get the sort order from a new value added to SplitRegister.

Also in the general ledger, there is no default account and so was
causing an error in the trace file.
2023-03-03 13:20:54 +00:00
Robert Fewell
747b558216 Bug 798759 - Register widths for 'with sub-account' not saved
Register widths are saved in the .gcm file under sections based on the
account guid. When you have for example an 'Assets' register open and
the 'with sub-account' register page 'Assets+' open, they will both
save there settings to the same section as there is only one guid.

To fix this, add a '+' to the end of the guid for the sub-account
section as done for the title.
2023-03-03 13:19:00 +00:00
Robert Fewell
c18e4596b2 Bug 798763 - "Manage Document Link" keyboard shortcut is missing
Added missing underscore in gnc-plugin-page-register.ui
2023-03-03 13:12:32 +00:00
John Ralls
0be0b7e5a8 Update Github checkout action
Resolves node.js V12 deprecation warning.
2023-03-02 17:36:41 -08:00
John Ralls
bbfa378783 Don't crash and do pass tests. 2023-03-02 17:03:39 -08:00
John Ralls
af02dae286 Fixups for merging into master instead of maint. 2023-03-02 17:02:46 -08:00
John Ralls
1eecb9f5c0 [c++ options] Fix locale dependency in test-gnc-option-scheme-output.
Created by using std::to_string() in GncOptionRangeValue::serialize.
It wraps sprintf that reads the locale. Use ostringstream instead.
2023-03-02 12:22:55 -08:00
Christopher Lam
76014f18a0 [account.cpp] don't cache char* [fails] 2023-03-01 23:58:22 +08:00
Christopher Lam
3d381eb6fd [gnc-lot] don't cache char* 2023-03-01 19:49:33 +08:00
Christopher Lam
50f998fad8 [gncInvoice] don't cache char* 2023-03-01 19:49:27 +08:00
Christopher Lam
c9dc71978b [gnc-commodity] don't cache char* 2023-03-01 19:49:20 +08:00
Christopher Lam
57fcaabd8f [Split.c] don't cache char* 2023-03-01 19:49:04 +08:00
John Ralls
e9f6bf7a5c Merge Richard Cohen's fix-scheme-tests into master. 2023-02-28 15:25:08 -08:00
Richard Cohen
be41bde58a Add missing MAKE_LINKS, and the local scm directory to %load-path
Before this change, "make check" would fail after
  rm -rf ${build}/share/guile/site/*/gnucash/
2023-02-28 11:51:23 +00:00
Richard Cohen
7cae61d97a Make the scheme tests fail immediately if they load an external gnucash file
This would be a mistake in the build, but can happen if there
is already a gnucash installed in the standard guile load path.
2023-02-28 11:48:57 +00:00
mocsa
855e45559a
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 64.1% (3467 of 5401 strings; 954 fuzzy)
218 failing checks (4.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-02-28 02:27:19 +01:00
John Ralls
61ae38fdf5 Allow C decls after statements.
Legal since C99.
2023-02-27 17:26:32 -08:00
John Ralls
675d894128 Merge Richard Cohen's 'cleanup-options' into master. 2023-02-27 16:33:00 -08:00
John Ralls
ca73b00039 Merge Richard Cohen's 'cleanup-boost' into master. 2023-02-27 16:31:53 -08:00
John Ralls
3d5e27982f Merge branch 'maint' 2023-02-27 16:24:44 -08:00
John Ralls
7f0353adc4 Fix a missed g_value_dup_string and some no longer used variables. 2023-02-27 16:19:50 -08:00
John Ralls
8a7c539258 Bug 798748 - Transaction Notes field's value does not appear in...
reverse transaction.

The proximate cause was that xaccTransBeginEdit put the KVP cache
variable of the new transaction in a state that prevented the value
from being copied. More generally the KVP cache variables didn't
handle any invalidating events.

With the change to GValue usage in qof_instance_get_kvp it's now
a simple memory dereference with no copying except for POD types
so caching is no longer useful. This commit removes caching from
Transaction, eliminating the notes problem.
2023-02-27 14:54:46 -08:00
John Ralls
ddc3f28899 [kvp] Use static strings and boxed in gvalue_from_kvp_value.
Saves allocating and copying complex values, avoiding potential
memory leaks.
2023-02-27 14:54:02 -08:00
John Ralls
de9c0eb540 Bug 797903 - Transaction window: The 'blue line' is always...
(erroneously) topmost when t. sorting order is inverted.

Same problem for the 'red line'. Make register code aware of sort
order and flip the logic when reverse sorting.
2023-02-27 10:11:06 -08:00
Richard Cohen
9f06859390 Remove references to old boost versions
we already require 1.67
2023-02-27 11:48:09 +00:00
Richard Cohen
3d995de2ab Refactor: use default GncOptionValue copy constructor 2023-02-27 11:46:39 +00:00
Richard Cohen
1b0af4246a Refactor: remove extra template parameter from member functions 2023-02-27 11:46:34 +00:00
Richard Cohen
87c52f53fa Update some references to hello-world.scm 2023-02-27 11:36:04 +00:00
Richard Cohen
8e4c085e9f Fix memory leak 2023-02-27 11:33:32 +00:00
Richard Cohen
ec169e6e24 Fix some non-translatable typos 2023-02-27 11:32:12 +00:00
Szia Tomi
f483d7588e
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-27 02:18:53 +01:00
mocsa
6616ce1077
Translation update by mocsa <csaba@feltoltve.hu> using Weblate
po/hu.po: 64.1% (3464 of 5401 strings; 960 fuzzy)
199 failing checks (3.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: 64.0% (3461 of 5401 strings; 963 fuzzy)
199 failing checks (3.6%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: mocsa <csaba@feltoltve.hu>
2023-02-27 02:18:53 +01:00
Christopher Lam
47b85d3b2f [gnc-xml-backend.cpp] g_free char* from g_path_get_dirname 2023-02-27 09:18:01 +08:00
John Ralls
ba12e31251 Bug 798753 - UX improvements in new import dialog
Rename the dialog to not mention export since we don't use it for that.
Change the key-column names to be specific to the listview.
Add tooltips to the listviews to explain what they're for
Persist the selected imexporter and profile in the book's state file.
Stop the inappropriate "there are transactions do you want to import
them?" dialog (missing AWAIT_TRANSACTIONS in gnc_ab_import_context call).
2023-02-26 12:17:09 -08:00