Commit Graph

23063 Commits

Author SHA1 Message Date
John Ralls
4064c58cd0 Release GnuCash 3.11 2020-06-27 14:54:50 -07:00
John Ralls
0fe9ba79e2 Release GnuCash 3.11 2020-06-26 17:10:45 -07:00
Christian Stimming
5cf5edc2fb L12N: Update German translation
5501 translated, 6 fuzzy, 44 untranslated
2020-06-26 22:59:02 +02:00
Christian Stimming
f98b1807e2 L12N: merge recent gnucash.pot in de.po file 2020-06-26 22:58:24 +02:00
Geert Janssens
72b8a0ce67 I18n - fix quote unification
Our guidelines favour double quotes over single quotes
2020-06-26 18:08:12 +02:00
Geert Janssens
d6e7168abf I18n - update Dutch translation
4632 translated messages, 640 fuzzy translations, 289 untranslated messages
2020-06-26 17:30:55 +02:00
Geert Janssens
3b290fadbc I18n - Drop a few numbers from translation.
These numbers don't have values unique to certain locales. Though
users may set their own preference, it's not a locale related thing.
2020-06-26 17:30:55 +02:00
Geert Janssens
e15203a58e I18n - Unify two similar translatable strings 2020-06-26 17:30:55 +02:00
Geert Janssens
3446a66a33 Bug 787295 - Allow UI jump from Business accounts to their relevant invoice/bill/voucher
Combine the best of both approaches and allow jumping to invoice if
either
- the current txn is an invoice transaction
- the current split has an invoice associated with it
Those are the only two conditions that allow us to uniquely
identify an invoice from a register.
A future extension could be to allow a jump if any split
of the current txn has an invoice associated with it.
This would need user interaction if more than one split
is linked to an invoice. A payment transaction for example
can pay more than one invoice and hence can have more than one
invoice related split.
2020-06-26 17:30:55 +02:00
Robert Fewell
a019bb2f2d Revert the changes made to save Register default layouts as discussed in PR #743 2020-06-26 15:35:41 +01:00
Robert Fewell
2c62ae418b Setting a sheet column width to 1 when resizing by dragging
Column widths of 0 are not saved by the table and so revert back to
calculated widths when reloaded. This change sets the column width to
1 when the right border is dragged to the left border to hide columns.
By doing this, a visual indication of a hidden column is seen as the
column border is now wider by 1px.
2020-06-26 15:35:41 +01:00
Robert Fewell
98cfad8cd7 Move the menu options for saving Business layouts
Move the menu options for saving/resetting Business layouts to the
'View' menu from the 'Windows' menu.
2020-06-26 15:35:41 +01:00
Robert Fewell
47f0959f46 Disable showing glyphs for associations on MacOS
Currently there are problems showing glyphs on MacOS so always return
FALSE for the gcn_assoc_cell_set_use_glyphs for MacOS
2020-06-26 15:35:41 +01:00
Frank H. Ellenberger
af51e737e7 Merge PR #744 2020-06-26 15:50:34 +02:00
Christian Stimming
c69f0eb5f3 i18n: Fix missing context in single-character translated strings
The single-character column heading "C" is used for "Color" in one
place,
and for "Cleared" in another place. Obviously this must be fixed by
adding
context, otherwise grossly wrong translations will show up (as is
currently
the case for German and the "Cleared" column in the import matcher)
PR #744
2020-06-26 15:47:15 +02:00
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
Christopher Lam
47e2fb9d85 [eguile-utilities] fmtnumeric displays decimal instead of fraction
previously fmtnumeric would convert gnc_numeric to double. simplifying
the code had omitted this conversion, and exact fractions were
rendered. ensure decimal is rendered.
2020-06-23 19:16:46 +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
c-holtermann
7c8e0a28fc better display for doxygen, typo and consistent naming 2020-06-21 16:24:53 +02:00
c-holtermann
3e842a7bf6 use urllib.parse.urlparse to check for xml on python Session init 2020-06-21 16:24:53 +02:00
c-holtermann
b9c6fc2876 add some unittests for python Session
test arguments, deprecated as well as new mode arguments
test creating a session with a new xml file using __init__()
and begin(). Test raising exception when opening nonexistent
file without respective mode setting.
2020-06-21 16:23:32 +02:00
c-holtermann
0434acbe10 reformat two python example scripts with black
use black python code formatter on latex_invoices.py and gncinvoice_jinja.py
2020-06-21 16:23:32 +02:00
c-holtermann
485d8a65b0 decorate Session.begin with default mode argument 2020-06-21 16:23:32 +02:00
c-holtermann
44e61f4df2 enable Session.__init__() to be provided with existing instance or book 2020-06-21 16:23:32 +02:00
c-holtermann
5833c5afcb add unittests for function_class
add tests for some existing function_class functionality.
Add tests for the keyword argument changes.
2020-06-21 16:23:32 +02:00
c-holtermann
17d606e1f8 enable keyword arguments for default_arguments_decorator
default_arguments_decorator until now only allows positional
argument defaults. This adds keyword defaults. The keywords
can be mapped to the positional arguments by optional argument
kargs_pos so interactions between keyword and positional arg
defaults can raise a TypeError. Some more information in
the docstring is included. In addition the docstring of
the wrapped function will be modified to contain information
about the defaults.
2020-06-21 16:23:32 +02:00
c-holtermann
c222503f42 add method decorate_method to function_class.py
ClassFromFunctions.decorate_method() allows to provide positional
and keyword arguments for the decorator call besides the wrapped
method.
2020-06-21 16:23:32 +02:00
c-holtermann
ee77b713c2 update example scripts to SessionOpenMode 2020-06-21 16:23:32 +02:00
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