Commit Graph

26945 Commits

Author SHA1 Message Date
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
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
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
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
Christopher Lam
89e2bef427 Merge branch 'maint' 2023-02-26 13:51:33 +08:00
Christopher Lam
89e63ef672 Bug 798754 - Build fails with gcc 13 and glib > 2.76, ter 2023-02-26 08:30:14 +08:00
John Ralls
6ab7b16d62 [c++options] Restore the ability to set plot sizes in pixels.
Enable and fix the previously untested GtkOptionGtkUIItem::PLOTSIZE.

This has the potentially unfortunate side effect that integer range
options are assumed to be plot sizes. That's correct for now, but
if some report comes along that needs an integer range option for
something else it will have to be differentiated.
2023-02-25 16:25:36 -08:00
John Ralls
408b5ec216 [c++ options] Restore forward & backward compatibility, fix crash.
Store Number Range option values as a pair '(percentage . value) or '(pixels .
value) depending on the size of value as 4.x and earlier expect. When reading a
stored number range option handle the possibility that value is fixed
point (e.g. 50.0) as 4.x and earlier emit, avoiding a crash.
2023-02-25 16:25:36 -08:00
Christopher Lam
0780cfbfd2 [gnucash.cpp] quote_soures is a GList of char* to be g_freed 2023-02-25 20:02:54 +08:00
Christopher Lam
abcce5000c Bug 798754 - Build fails with gcc 13 and glib > 2.76, bis 2023-02-25 13:12:35 +08:00
Geert Janssens
26482f397b Bug 797033 - The CSV Importer should not obey with the "automatic digital point" setting
Expose variations of xaccParseAmount and
xaccParseAmountExtended that will ignore the
automatic decimal point user preference.
This preference is really only useful for manual number
entering in the register.

The xaccParseAmountImport variant replaces xaccParseAmountPosSign
which was used exclusively by the csv importers.
Like xaccParseAmountPosSign, this replacement has the flag
to ignore or parse the positive number indicator.
2023-02-24 23:02:15 +01:00
Frank H. Ellenberger
fcbda57a6b Merge branch 'maint' 2023-02-24 19:19:12 +01:00
Geert Janssens
9be232cd80 Bug 798572 - Parse numbers with two minus signs as a positive numbers 2023-02-24 14:22:16 +01:00
Szia Tomi
9b626af30d
Translation update by Szia Tomi <sziatomi01@gmail.com> using Weblate
po/hu.po: 63.8% (3449 of 5401 strings; 996 fuzzy)
290 failing checks (5.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: Szia Tomi <sziatomi01@gmail.com>
2023-02-23 18:53:21 +01:00