Commit Graph

22930 Commits

Author SHA1 Message Date
Geert Janssens
6bfd85368a Bug 787295 - Allow UI jump from Business accounts to their relevant invoice/bill/voucher
Amendment - the current implementation will allow to click
on each split in a bussines account (payments and invoices)
but won't allow to jump from an invoice split in an income
or expense account. This amendment changes this such that
one can jump from any split whose transaction is an invoice
transaction. This allows jumping from income and expense accounts
if their splits are related to an invoice. It loses the ability
to jump from payment splits in a business account.
This is however more correct as payment transactions are not
necessarily associated with exactly one invoice (it can be
none, one or many).
If jumping from payment transactions should be supported as well
that will require more effort, namely if many invoices are
associated with the payment, the user should be asked which one
to open.
2020-06-25 13:56:57 +02:00
Christopher Lam
c12c6af2fb [test-portfolios] 100% coverage for advanced-portfolio helper fns 2020-06-24 10:10:06 +08:00
Christopher Lam
64637f72cf [advanced-portfolio] move helper functions to toplevel for testing
functions are moved to toplevel advanced-portfolio.scm. this allows
them to be tested.
2020-06-24 09:36:48 +08:00
Geert Janssens
fb9cde3684 Bug 797815 - Obsolete gnucash-launcher.cmd still shipped 2020-06-22 20:37:17 +02:00
Christopher Lam
d5a957278f [html-utilities] use ice-9 match 2020-06-22 19:53:31 +08:00
Christopher Lam
8db13470e2 deprecations: remove functions deprecated in 3.x 2020-06-22 19:53:31 +08:00
Christopher Lam
851bc7f8d9 deprecations: clarify functions deprecated in 4.x. 2020-06-22 19:53:29 +08:00
Christian Stimming
f072fef014 i18n: very minor string improvement: Match string to another existing one
So no new string is introduced, just two are merged into on in the i18n.
2020-06-21 23:21:54 +02:00
Christian Stimming
bdc2c7bad8 L12N:de update translation
5475 übersetzte Meldungen, 27 ungenaue Übersetzungen,
71 unübersetzte Meldungen.
2020-06-21 23:21:14 +02:00
Geert Janssens
1d3164bfdb Build depedency fix - build backend libararies before the guile bindings
Compiling our guile scripts will run loaded libraries. One of the libraries to
load is the engine library which expects to find the enabled backends (xml and or dbi).
If those aren't built yet, this will result in error messages printed in the build output.
2020-06-21 21:45:57 +02:00
Geert Janssens
7b090c710a Drop code to attach output to console on Windows
This was not built-in by default (required a build-time define to be set)
and intended only for debugging.
Most of its intended goal can also be achieved by redirecting
standard output from the command line (verified to work in cmd.exe):
gnucash --help | more
gnucash --help > file-to-store-output.txt 2>&1
2020-06-21 21:18:07 +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
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