John Ralls
e79fe2f2d9
[options] Update stylesheets to use new API.
3 years ago
John Ralls
018d5d8d83
[options] Update documentation to reflect C++ options.
3 years ago
John Ralls
4825960089
Convert report core and html to new options API.
3 years ago
John Ralls
30b2c0bcac
[options] Provide gnc:register-multichoice-callback-option.
...
Compatibility function for passing symbols or numbers as the default
value.
Note that this isn't used by GnuCash code and so isn't exercised or
tested, it's provided only to simplify user-written code migration.
3 years ago
John Ralls
80c015d6d6
Defer calling the bl::format::str()'s c-str() until point of use.
...
Otherwise the string is a temporary that gets destructed at the end
of the statement and passing the char* to gnc_update_splash_screen
is a use-after-free.
Fixes macOS CI.
3 years ago
Geert Janssens
0421ff834a
A few minor c++ tweaks regarding variables
3 years ago
Geert Janssens
d65f991e4b
Drop help message for gtk options
...
Gtk has deprecated their use and will be dropping them
completely from Gtk 4. No need for us to continue to
promote them.
3 years ago
Geert Janssens
734f90bd36
Replace string literal 'gnucash' with PROJECT_NAME parameter where it makes sense
...
The idea behind this is to not assume the project is always built
as "gnucash" exactly.
One example where it can be useful to use a different project name
would be when building multiple development versions of the project
on the same system and don't want these different versions share
the same settings in GSettings or the same stored passwords.
3 years ago
Geert Janssens
2c93c383ac
Change remaining references to 'help' into 'manual'
...
In addition, change the prefixes for all documentation related macros:
- HL_ ('help link') -> DL_ ('documentation link')
- HF_ ('help files') -> DF_ ('documentation files')
3 years ago
John Ralls
b8c0673526
Merge branch 'maint'
3 years ago
John Ralls
dec66bc8c6
Release GnuCash 4.13
3 years ago
John Ralls
98155795d6
[register] Don't usleep on Apple or Win32.
...
Not needed and usleep needs an extra include for MinGW64.
3 years ago
John Ralls
092d67eb1a
[import] Don't leak returns of g_utf8_normalize.
3 years ago
John Ralls
9a8142cacb
Merge weblate translations into maint.
3 years ago
帅是我2
787a2cda3b
Translation update by 帅是我2 <a1173522112@163.com> using Weblate
...
po/zh_CN.po: 99.9% (5397 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/
Co-authored-by: 帅是我2 <a1173522112@163.com>
3 years ago
YOSHINO Yoshihito
85dc4a5ef7
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
...
po/ja.po: 92.7% (5011 of 5401 strings; 154 fuzzy)
444 failing checks (8.2%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 92.7% (5011 of 5401 strings; 154 fuzzy)
444 failing checks (8.2%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 91.9% (4968 of 5401 strings; 188 fuzzy)
469 failing checks (8.6%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 91.8% (4963 of 5401 strings; 193 fuzzy)
472 failing checks (8.7%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 91.8% (4959 of 5401 strings; 197 fuzzy)
476 failing checks (8.8%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Co-authored-by: YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>
3 years ago
John Ralls
ccd328db9a
[import matcher] Don't normalize text when appending descriptions or notes.
...
Another fix for Bug 798679. Normalized strings are still stored in
quickfills.
3 years ago
John Ralls
65d3546f10
[register] Delay post-ime reset of the selection.
...
Works around bug 798587.
3 years ago
Christopher Lam
6e6d44f567
[options.scm] typo fix - no commas needed in guile
...
also the following symbols are also not accessible from scheme.
GncOptionUIType-TAX_TABLE
GncOptionUIType-DATE_FORMAT
3 years ago
Geert Janssens
16dca1ad5e
Bug 798694 - Cursor in the wrong place after pasting with auto-completion
3 years ago
YOSHINO Yoshihito
dfb2045678
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
...
po/ja.po: 91.4% (4941 of 5401 strings; 212 fuzzy)
494 failing checks (9.1%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 91.1% (4924 of 5401 strings; 224 fuzzy)
507 failing checks (9.3%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 91.0% (4919 of 5401 strings; 227 fuzzy)
510 failing checks (9.4%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 90.7% (4901 of 5401 strings; 243 fuzzy)
549 failing checks (10.1%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 90.5% (4889 of 5401 strings; 252 fuzzy)
565 failing checks (10.4%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 90.0% (4861 of 5401 strings; 275 fuzzy)
592 failing checks (10.9%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Co-authored-by: YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>
3 years ago
John Ralls
091d4aff22
Bug 798657 - Import Summary language is wrong
...
Root cause is using boost::locale::translate because it ignores
the LANGUAGES environment variable and doesn't support different
values for LC_MESSAGES, LC_DATE, LC_MONETARY, and LC_NUMERIC.
That makes it impossible to configure a user environment that
presents translated strings in a different locale from the one
applied to formatting dates and numbers.
To correct this replace all use of boost::locale::translate
with GNU gettext.
3 years ago
Geert Janssens
dd48a025d5
Make boost::locale::gettext use the proper locale
3 years ago
John Ralls
73a134730f
Bug 798680 - Not able to match a reverse transaction of a...
...
previously matched transaction.
Cloned transactions and copied splits shouldn't keep the online-id
slot.
3 years ago
John Ralls
598a6f1b6b
[ofx import] Propose parent account unless last account is right commodity.
3 years ago
John Ralls
f6cc6eda4c
[ofx import] Make automatic account creation work.
...
When Preferences>Import>Automatic commodity creation is enabled.
Note that this behavior isn't indicated in the tooltip and is a bit
clunky: the user has to cancel the manual account selection for it
to fire.
3 years ago
John Ralls
5e7bc1d6c2
[ofx import] Fix the parentage of the select account windows.
...
The account list window is gone when these are used, use the importer parent.
3 years ago
John Ralls
862848380c
Bug 798681 - Previously imported investment income transactions may not be filtered.
...
Resequence process_investment_transaction so that the first split is
the primary asset account split (cash unless it's a reinvest) followed
by the security asset account if it's not income and finally the income
split for income or reinvest transactions.
Note that there's also a sign change on the income splits for
income and reinvest transactions: testing showed the signs to be
backwards.
3 years ago
John Ralls
6a9e1cb249
[ofx import] Don't set online-id on income accounts.
3 years ago
John Ralls
17eb739da3
[ofx import] Extract functions from ofx_proc_transaction_cb.
...
set_transaction_dates, fill_transaction_description,
fill_transaction_notes, process_bank_transaction,
process_investment_transaction, choose_investment_account,
choose_income_account, add_investment_split, add_currency_split,
create_investment_subaccount, continue_account_selection,
choose_investment_account_helper, choose_investment_account
3 years ago
John Ralls
0bc2d692c7
[ofx import] Typedef OfxTransactionData.
...
So we don't have to say struct on every use.
3 years ago
John Ralls
5519a9d788
[import matcher] Make related functions adjacent
...
gnc_gen_trans_list_add_trans just wraps
gnc_gen_trans_list_add_trans_with_ref_id.
3 years ago
John Ralls
e116a4f195
[import backend] Extract function hash_account_online_ids.
3 years ago
John Ralls
b4bab92da2
Bug 798664 - Result of 'gnucash --nofile' is marked dirty
...
Don't create a new book in the new-user dialog unless the user says to.
Don't automatically create a new book when retrieving default commodities
because the retrieve might be requested in a context like the Preferences
dialog when there is no book.
Some report tests relied on requesting the default commodity creating
the book, so in those tests ensure that the book is created first.
4 years ago
John Ralls
fae5de80d3
Undo unintended change in Bug 798679 commit.
4 years ago
John Ralls
68dabea199
[aqb] Restore compilation checks for AQBanking 6.4
...
We require only 6.1.
4 years ago
John Ralls
fd2761bd68
Bug 798679 - Fullwidth characters cannot be pasted as-is in register fields
...
Control character check doesn't need normalization, the control character
codepoints aren't graphic and so can't be composed nor have compatible
equivalents.
4 years ago
YOSHINO Yoshihito
993697be7f
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
...
po/ja.po: 89.9% (4859 of 5401 strings; 276 fuzzy)
593 failing checks (10.9%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Translation update by YOSHINO Yoshihito <yy.y.ja.jp@gmail.com> using Weblate
po/ja.po: 89.8% (4851 of 5401 strings; 284 fuzzy)
601 failing checks (11.1%)
Translation: GnuCash/Program (Japanese)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ja/
Co-authored-by: YOSHINO Yoshihito <yy.y.ja.jp@gmail.com>
4 years ago
Milo Ivir
66025ae738
Translation update by Milo Ivir <mail@milotype.de> using Weblate
...
po/hr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/
Co-authored-by: Milo Ivir <mail@milotype.de>
4 years ago
Christopher Lam
36b33262ad
[account-piecharts] drill-down piechart: tree-depth is at most 6
4 years ago
John Ralls
094a971c03
Fix missing trailing quote on project-id-version.
4 years ago
John Ralls
940446767d
Merge potfile for 4.13 String Freesw.
4 years ago
Simon Arlott
add45021a8
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
...
po/en_NZ.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (New Zealand))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_NZ/
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
po/en_AU.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (Australia))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_AU/
Translation update by Simon Arlott <weblate.simon@arlott.org> using Weblate
po/en_GB.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (English (United Kingdom))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/en_GB/
Co-authored-by: Simon Arlott <weblate.simon@arlott.org>
4 years ago
Robert Fewell
df9a6b0309
Bug 798653 - Schedule Calendar event description pop up window does not track mouse position
...
The reporter was on Ubuntu 22.04.1 LTS which has wayland as the default
display server. When tested on a Fedora 37 VM which was also using
wayland the following message was seen on the terminal window...
Gdk-Message: 15:23:51.862: Window 0x28b0de0 is a temporary window
without parent, application will not be able to position it on screen.
This fix sets the transient parent for the dense calendar pop up.
4 years ago
Geert Janssens
98251d59a6
Bug 798672 - Preferences are not saved nor loaded, ERROR <GLib-GIO> g_settings_new_full: assertion 'schema != NULL' failed
...
Apparently it was a failure on our side to properly look up
requested gsettings schema.
4 years ago
Christopher Lam
06612b8434
Reports: add missing modules
4 years ago
Christopher Lam
bfc325f63c
Merge branch 'maint'
4 years ago
Christopher Lam
5dc52459a1
Bug 798669 - Multicolumn Balance Sheet not printing exchange rates
...
include equity accounts in the exchange rate commodities list.
4 years ago
Vesna Micajkova
8cf137740b
Translation update by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate
...
po/mk.po: 1.9% (108 of 5401 strings; 0 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/mk/
Translation update by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate
po/glossary/mk.po: 100.0% (212 of 212 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/mk/
Translation update by Vesna Micajkova <vmicajkova@institutpraktikum.mk> using Weblate
po/mk.po: 1.6% (88 of 5401 strings; 0 fuzzy)
3 failing checks (0.1%)
Translation: GnuCash/Program (Macedonian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/mk/
Co-authored-by: Vesna Micajkova <vmicajkova@institutpraktikum.mk>
4 years ago
John Ralls
4893d0b8d8
Merge Marco Scardovi's QofFakeQuery fix into maint.
4 years ago