Commit Graph

23025 Commits

Author SHA1 Message Date
c-holtermann
b073dbc5c3 allow keyword arguments for function_class.py
allow keyword arguments for function_class methods
and functions. process_dict_convert_to_instance() is added to
mimic the behavior of the process_list_convert_to_instance()
Derived methods in gnucash_core.py like raise_backend_errors_after_call
get modified to accept being called with keyword args.
Also adds some docstrings.
2020-06-21 16:23:32 +02:00
Frank H. Ellenberger
677090c5c1 L12N: merge recent messages into all po files
Language:  translated, fuzzy, untranslated
ar: 4239, 795, 405
as: 4201, 825, 413
az: 111, 1290, 4038
bg: 3143, 1597, 699
brx: 4205, 821, 413
ca: 4360, 764, 315
cs: 2467, 1927, 1045
da: 3593, 1081, 765
de: 5403, 27, 9
doi: 2953, 1770, 716
el: 2955, 1479, 1005
en_GB: 2726, 1577, 1136
es_NI: 803, 2958, 1678
es: 5013, 334, 92
eu: 1526, 2558, 1355
fa: 2957, 865, 1617
fi: 2749, 29, 2661
fr: 3928, 1054, 457
gu: 2969, 1739, 731
he: 5409, 26, 4
hi: 4161, 865, 413
hr: 5409, 26, 4
hu: 3026, 1490, 923
it: 4172, 896, 371
ja: 4687, 451, 301
kn: 4203, 823, 413
kok@latin: 4139, 887, 413
kok: 4206, 820, 413
ko: 2291, 1811, 1337
ks: 4101, 925, 413
lt: 4029, 887, 523
lv: 4664, 588, 187
mai: 4179, 847, 413
mni@bengali: 4206, 820, 413
mni: 4206, 820, 413
mr: 4164, 860, 415
nb: 2616, 1966, 857
ne: 2442, 2043, 954
nl: 4506, 653, 280
pl: 3504, 1501, 434
pt_BR: 3750, 1291, 398
pt: 5182, 203, 54
ro: 2851, 1759, 829
ru: 4440, 702, 297
rw: 193, 2885, 2361
sk: 2487, 1694, 1258
sr: 4388, 743, 308
sv: 2878, 704, 1857
ta: 4201, 825, 413
te: 4188, 838, 413
tr: 4366, 650, 423
uk: 5389, 26, 24
ur: 4171, 855, 413
vi: 2699, 1892, 848
zh_CN: 3094, 1640, 705
zh_TW: 2637, 1675, 1127
2020-06-21 05:00:00 +02:00
Frank H. Ellenberger
879a6cb568 Merge branch 'maint' 2020-06-21 04:56:42 +02:00
Frank H. Ellenberger
46b776a5ee L12N🇬🇧 remove duplicate message block
5411 translated messages, 4 fuzzy translations, 21 untranslated
messages.
2020-06-21 04:19:07 +02:00
John Ralls
4595a3d088 Release GnuCash 3.906 2020-06-20 16:44:18 -07:00
John Ralls
9c0b290ca8 Updated Ukrainian translation from the Translation Project. 2020-06-20 15:44:04 -07:00
John Ralls
d308028353 Merge branch 'maint' 2020-06-20 15:36:58 -07:00
John Ralls
04d4c0ce40 Merge new Ukrainian translation into maint. 2020-06-20 15:08:45 -07:00
John Ralls
d87bc61fb5 Updated Ukrainian Translation from the Translation Project. 2020-06-20 13:33:49 -07:00
c-holtermann
4e280b9593 adapt to use of sessionOpenMode in qof_session_begin 2020-06-20 13:40:11 +02:00
c-holtermann
48072f5a4c make SessionOpenMode enum available for python 2020-06-20 11:02:13 +02:00
c-holtermann
ee3342d2b4 introduce python submodule deprecation
the deprecation submodule will house content related to deprecation.
That is general convenience function and functions related to specific
deprecation issues. The latter starts with decorator functions to bridge
the change in qof_session_begin argument change to SessionOpenMode.
2020-06-20 10:40:54 +02:00
Christopher Lam
9a9fa5e5de [report-utilities] ensure commodity-collector doesn't round amounts 2020-06-20 11:49:52 +08:00
John Ralls
50329df082 Bug 797811 - GnuCash crashes with segfault when saving to mysql...
when database already exists.

Crashed because of dereferencing GncSqlBackend::m_conn when it's nullptr
after the DB create failed. Protect all such dereferences.
2020-06-19 15:08:58 -07:00
Robert Fewell
3d5606a54b Bug 797808 - Caps Lock Breaks Almost Everything
Put back the test for modifiers obtained from
gtk_accelerator_get_default_mod_mask
2020-06-19 16:05:36 +01:00
Frank H. Ellenberger
f147f4d760 Merge branch 'maint' 2020-06-18 00:56:38 +02:00
Frank H. Ellenberger
66c6e6ee52 Add missing #includes into gnc-imp-settings-csv-price.cpp
Found in failed win maint nightlies.
2020-06-17 05:35:25 +02:00
Christopher Lam
0b386157a1 [business-core] string-hash doesn't not guarantee unique hash
subtle bug here-- used string-hash to convert guid-string to a number
which is faster to use as hash key. but string-hash does not guarantee
that there are no hash collisions. it is best to use guid string
instead which is guaranteed to uniquely define a split.
2020-06-17 08:08:51 +08:00
John Ralls
6071202c0f Release GnuCash 3.905. 2020-06-14 12:43:48 -07:00
Robert Fewell
dcfe85ce11 Bug 797804 - Another misbehaving text cursor in register. 2020-06-14 13:48:36 +01:00
Robert Fewell
4ca52b2380 Error in trace file for Dialog Options
When the New Account Hierarchy Assistant is used, the book options are
added to the assistant as a notebook page and so will not have a parent
widget to be used when restoring the window size so test for parent
before using gnc_restore_window_size
2020-06-14 12:58:57 +01:00
Frank H. Ellenberger
1d055b6d24 L12N: merge recent gnucash.pot in po files
Current state: translated, fuzzy, untranslated messages.
ar: 4186, 917, 470
as: 4148, 947, 478
az: 111, 1374, 4088
bg: 3106, 1710, 757
brx: 4152, 943, 478
ca: 4308, 885, 380
cs: 2437, 2036, 1100
da: 3553, 1197, 823
de: 5324, 175, 74
doi: 2917, 1882, 774
el: 2928, 1582, 1063
en_GB: 2695, 1688, 1190
es: 4932, 481, 160
es_NI: 800, 3042, 1731
eu: 1514, 2651, 1408
fa: 2911, 984, 1678
fi: 2711, 140, 2722
fr: 3874, 1181, 518
gu: 2934, 1850, 789
he: 5315, 189, 69
hi: 4108, 987, 478
hr: 5315, 189, 69
hu: 2991, 1602, 980
it: 4122, 1016, 435
ja: 4611, 595, 367
kn: 4150, 945, 478
ko: 2268, 1912, 1393
kok: 4153, 942, 478
kok@latin: 4086, 1009, 478
ks: 4049, 1046, 478
lt: 3979, 1006, 588
lv: 4596, 723, 254
mai: 4126, 969, 478
mni: 4153, 942, 478
mni@bengali: 4153, 942, 478
mr: 4111, 982, 480
nb: 2584, 2075, 914
ne: 2411, 2151, 1011
nl: 4451, 777, 345
pl: 3456, 1618, 499
pt: 5095, 357, 121
pt_BR: 3712, 1406, 455
ro: 2693, 1975, 905
ru: 4381, 832, 360
rw: 193, 2972, 2408
sk: 2458, 1799, 1316
sr: 4335, 865, 373
sv: 2846, 811, 1916
ta: 4148, 947, 478
te: 4135, 960, 478
tr: 4313, 773, 487
uk: 5540, 17, 16
ur: 4118, 977, 478
vi: 2668, 2001, 904
zh_CN: 3052, 1758, 763
zh_TW: 2604, 1785, 1184
2020-06-13 21:00:50 +02:00
John Ralls
b126227aab Merge Chris Good's 'gnc-fq-dumpMas' into master. 2020-06-13 11:09:32 -07:00
Frank H. Ellenberger
e972860de3 Merge branch 'pr734' 2020-06-13 18:55:32 +02:00
Jannick
4cb634a2e6 de.po: fixes for the Account Import Assistant 2020-06-13 18:54:34 +02:00
Christopher Lam
be97891ee5 [html-utilities] fix gnc:html-render-options-changed
mishandling of reports without __general/report-list option. fix.
2020-06-14 00:12:38 +08:00
Christopher Lam
1bcffcd88d [html-utilities] gnc:html-render-options-changed shows subreports
This is useful for cli to show Multicolumn report with subreports.
e.g.

* guid: 2f17ecb535f24a3a9f314bc5855569e5
General / Number of columns: 2.0
General / Report name: A saved-report based on nmulticolumn-view
General / Stylesheet: Easy
Embedded Report: Welcome to GnuCash
Embedded Report: Balance Sheet

* guid: d8ba4a2e89e8479ca9f6eccdeb164588
2020-06-13 23:51:35 +08:00
Christopher Lam
a107382bd7 [eguile] compact eguile processor
eradicate set! calls, inline strings, neater code. also fix
missing-regex message.
2020-06-13 23:11:32 +08:00
Christopher Lam
0a15909d5e [eguile-utilities] compact & simplify
instead of symbol->string, use string directly.
2020-06-13 23:11:32 +08:00
Christopher Lam
28df0c091d [balsheet-pnl] fix balsheet->networth barchart link
def0caa011 had error.
2020-06-13 23:11:32 +08:00
Christopher Lam
2eb9814604 [balsheet-pnl] use (ice-9 match) forms 2020-06-13 23:11:12 +08:00
Christopher Lam
38060b0258 [balsheet-pnl] value-collector doesn't need to ignore closing
The value-collector is only used to tally account balances for
asset&liability accounts. These accounts never have closing
entries. No need to test closing property.
2020-06-13 23:11:12 +08:00
Christopher Lam
78018d8f9c [trep-engine] don't create intermediate cells object
from cell-calculators (a list of column-info), the cells object (list
of column-data) was created unnecessarily. use cell-calculators
directly.
2020-06-13 23:11:12 +08:00
Christopher Lam
51d00fcbe5 [gnucash-cli] --report show/list outputs to stdout
and their error messages output to stderr
2020-06-13 16:33:20 +08:00
John Ralls
e5a14b8946 Can't set target link options until we've defined the target. 2020-06-12 23:22:27 +02:00
Geert Janssens
49e394e3bd Bug 797800 - [help screen items] clarification welcome
This fixes the presence of the 'input-file' command line option.
It's an implementation detail that wasn't meant to be listed in help.
The way to fix it is keeping two option_description variables. One
with all possible values to parse and one with only those to present
to the user
2020-06-12 17:43:40 +02:00
goodvibes2
f1ff45ecae Bug 796993 - Get Quotes: Err msg if Alpha Vantage API key needed
AlphaVantage API Key is needed for all currency quotes
and stock quotes with source 'alphavantage' or 'vanguard' or
multi sources that include 'alphavantage'.
Give an error message instead of failing with no reason.
2020-06-12 15:20:57 +10:00
goodvibes2
60da4bd7bf gnc-fq-dump: Err msg if AlphaVantage API Key is needed but missing
AlphaVantage API Key is needed for all currency quotes
and stock quotes with source 'alphavantage' or 'vanguard' or
multi sources that include 'alphavantage'
2020-06-12 15:11:53 +10:00
goodvibes2
ec08fc1d1a gnc-fq-dump: add examples to synopsis + remove tabs 2020-06-12 15:05:53 +10:00
Frank H. Ellenberger
7754f035c4 Merge branch 'maint' 2020-06-12 06:52:41 +02:00
Frank H. Ellenberger
9344e5a467 Merge remote-tracking branch 'origin/HEAD'
The usual reference conflicts in po files.
2020-06-12 02:39:05 +02:00
Frank H. Ellenberger
413483ae05 L12N:de 3. Update header 2020-06-12 01:29:26 +02:00
Frank H. Ellenberger
2ad6d168e7 L12N:de 2 Tagestips & 1 Tippfehler
5403 übersetzte Meldungen, 27 ungenaue Übersetzungen, 9 unübersetzte
Meldungen.
2020-06-12 01:22:20 +02:00
Frank H. Ellenberger
1618d86593 L12N:de 1.msgmerge
5401 übersetzte Meldungen, 27 ungenaue Übersetzungen, 11 unübersetzte
Meldungen.
2020-06-12 01:15:27 +02:00
Frank H. Ellenberger
c6c46c46f4 Fix a typo in my previous commit 2020-06-12 00:58:24 +02:00
Fred Bone
55ddb1add8 Bug 797799 - Add Tip of the Day for "Notes" field 2020-06-11 23:40:34 +02:00
Frank H. Ellenberger
d784a2fb51 Merge branch 'maint' 2020-06-11 12:58:40 +02:00
Frank H. Ellenberger
3bd3eecc00 I18N: Improve tooltip about double-line-mode
Suggestion by Adrien Monteleone
https://lists.gnucash.org/pipermail/gnucash-user/2020-June/091425.html
2020-06-11 12:36:48 +02:00
Geert Janssens
64bcd320bb Bug 797791 - [Windows] list of command line options after 'gnucash.exe --help'?
This commit makes gnucash-cli a console application on Windows which
means it's output will be redirected to the connected console.
This works both in cmd.exe and in powershell.

gnucash itself remains a Windows GUI application and hence won't output
to console. To capture its output one needs to start it from cmd.exe
(not powershell!) as follows
'path-to-gnucash.exe' >'file-for-stdout' 2>'file-for-stderr'

'file-for-stdout' and 'file-for-stderr' are the names file two arbitrary
files the user has write access to. They don't have to exist beforehand.

Note 'file-for-stderr' can be set to '&1' (without the single quotes)
to redirect everything on stderr to wherever stdout goes.
2020-06-11 11:55:25 +02:00
Geert Janssens
2d9938b577 Revert "Make gnucash-cli a console application on Windows"
This reverts commit 85f26b6e30.
2020-06-11 11:55:17 +02:00