Commit Graph

22520 Commits

Author SHA1 Message Date
John Ralls
5adf54a5ec Make python console less noisy without --debug. 2020-04-06 11:28:49 -07:00
John Ralls
71eae1f223 Merge Christoph Holtermann's 'python-shell-access-outer-variables' into maint. 2020-04-06 11:15:04 -07:00
Robert Fewell
72bcf7f7af Fix issue when editing the account tree view notes field
When you try to edit a multiline account notes field in the account
tree view you end up with just one line with control characters as it
is being edited with a GtkCellRenderText cell. To fix this I have added
a new cell renderer based on a text view.
2020-04-06 17:51:32 +01:00
c-holtermann
e2c37359ef high level python wrappers for app-utils 2020-04-06 07:22:06 +02:00
c-holtermann
4dcdec664a remove whitespace in parentheses (PEP 8) 2020-04-06 07:03:40 +02:00
c-holtermann
ab843c0b7a include gnucash_core of python bindings in python swig app-utils 2020-04-06 07:03:40 +02:00
c-holtermann
43cebedd3d tests for session 2020-04-06 07:03:40 +02:00
c-holtermann
daff201ffb don't allow instance=None for wrapper objects 2020-04-06 07:03:03 +02:00
c-holtermann
0c42c94cd3 provide locals and globals of calling context to shell on shell init 2020-04-06 06:12:00 +02:00
John Ralls
2bdc936695 Merge Jean Laroche's '797006_subaccounts' into maint. 2020-04-05 15:58:03 -07:00
John Ralls
3b381f25c3 Merge Chris Mayo's iPython-fixes into maint. 2020-04-05 15:16:05 -07:00
John Ralls
640171c211 Merge Jean Laroche's '797318_MRO' into maint. 2020-04-05 14:38:46 -07:00
John Ralls
8ccc1579d9 Bug 797666 - libgnucash/engine/test/test-recurrence.c: In function 'check_valid': 'result' may be used uninitialized 2020-04-05 12:06:02 -07:00
Robert Fewell
78cbbf06a1 Update the gtk-3.0.css example file
Update the CSS example file based on the new classes and widget names
and add a few more entries.
2020-04-05 16:26:22 +01:00
Robert Fewell
fb2beaaaa6 Remove old version for adding style classes to widgets 2020-04-05 16:26:22 +01:00
Robert Fewell
c3900aacbc Change CSS class and names set via g_object
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 16:26:22 +01:00
Robert Fewell
08beb7c5a7 Change CSS class and names used for Business
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:52:04 +01:00
Robert Fewell
95c2e5b556 Change CSS class and names used in Assistants
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:51:25 +01:00
Robert Fewell
c6bac56e2b Change CSS class and names used in Search dialogs
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:50:50 +01:00
Robert Fewell
c1b0474c23 Change CSS class and names used plugin pages
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:50:14 +01:00
Robert Fewell
53b2c2562f Change CSS class and names used for Accounts
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:49:35 +01:00
Robert Fewell
f6b1f2ce0f Change CSS class and names used in Matcher Help
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:49:00 +01:00
Robert Fewell
836026a2d4 Change CSS class and names used in gnome
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:48:23 +01:00
Robert Fewell
ba924d83a7 Fix the alignment of the month header
The spacing for the month header was based on the day width but as the
month text is turned 90 degrees it should of been on day height. Also
tweaked the marker position code.
2020-04-05 13:47:48 +01:00
Robert Fewell
56f023347d Change CSS class and names used in gnome-utils
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:47:15 +01:00
Robert Fewell
0546dd545f Change CSS class and names used for the Register
Change the CSS classes and widget names to a standard naming for all of
Gnucash. This should make it easier to adjust Gnucash appearance if
required. CSS classes all begin with 'gnc-class-' and widget names
begin with 'gnc-id-'
2020-04-05 13:46:09 +01:00
jean
4a8350ece2 797318 - Amounts ending in zero displayed as fractions 2020-04-04 14:43:03 -07:00
Christopher Lam
7189337b02 [eguile-utilities] prevent crash in balsheet-eg.scm
bb986e474 use of (ice-9 match) was technically sound however exposes a
subtle bug; _ in the matching pattern is meant to match anything
however it exposes undefined behaviour when _ is already bound to
gnc:gettext. Solution for now is to omit the second _.
2020-04-05 00:35:15 +08:00
Christopher Lam
d596056786 [eguile] escape-html -> gnc:html-string-sanitize
forgot to substitute function which was removed in a previous commit
32692721. this shouldn't matter because debugging? is #f in
production.
2020-04-04 22:40:01 +08:00
Christopher Lam
96980193bf [qif-to-gnc] properly mark intra-QIF internal transfers.
Unfortunately d6de324b had a copy-and-paste bug, and the (if)
conditional has failed to mark internal transfers.

This commit fixes the parens so that splits with matching accounts are
now marked for skipping during import.
2020-04-04 21:18:14 +08:00
Chris Mayo
6c086d1f8b Make pycons/ishell.py compatible with Python 3 and current IPython 2020-04-03 19:12:36 +01:00
jean
f19b707927 Add check to display warning dialog for mismatched commodities 2020-04-02 22:23:19 -07:00
jean
c39f8929d2 Replicate changes in *2 files 2020-04-02 21:29:44 -07:00
jean
c56d49772a Apply astyle to modified files 2020-04-02 10:08:42 -07:00
jean
01cdcca694 Bug 797006 - Balance is misleading in open subaccounts when different currencies are involved 2020-04-02 10:06:25 -07:00
c-holtermann
0da6b851b0 add instance argument to Session constructor
if Session is used only as a wrapper for an existing session instance
its necessary to be able to pass this instance as an argument
2020-04-02 18:59:16 +02:00
Christopher Lam
2329c1c508 Bug 797659 - Liabilities in budget report no longer calculate correctly
candidate fix
2020-04-02 23:52:14 +08:00
Christopher Lam
bedc9631f8 Bug 620848 - Transfer Funds window - add Notes field 2020-04-01 23:57:41 +08:00
Christopher Lam
7ccba84c33 [price-quotes] import (gnucash engine)
otherwise gnc-spawn-process-async is not accessible
2020-04-01 23:36:30 +08:00
Frank H. Ellenberger
90d3e6c672 Merge branch PR #675 into maint 2020-03-31 21:26:59 +02:00
Yuri Chornoivan
ee87b8081d Fix minor typos 2020-03-31 08:34:00 +03:00
Thomas Schärli
0d0fddcfc5 L12N:de_CH: 3 Typos in KMU 2020-03-30 22:29:15 +02:00
Geert Janssens
e78313147c Cmake - rework gnc_add_scheme_deprecated_module to use keyword parameters
Update all invocations accordingly
2020-03-30 08:41:29 +02:00
Geert Janssens
ba15cf7f7f Combine the two scheme target generation functions
Add another keyword TEST to set when test targets are to be created
2020-03-30 08:41:29 +02:00
Geert Janssens
25e08f88a5 Document the two primary functions for adding scheme targets 2020-03-30 08:41:29 +02:00
Geert Janssens
06ff8a292d Use new keyword parameters for all calls to gnc_add_scheme_test_targets 2020-03-30 08:41:29 +02:00
Geert Janssens
c05281c582 Use new keyword parameters for all calls to gnc_add_scheme_targets 2020-03-30 08:41:29 +02:00
Geert Janssens
91ecdcb5dd Rework SchemeTargets module to use keyword parameters 2020-03-30 08:41:29 +02:00
Geert Janssens
ba7362d895 CMake - Drop oldstyle endfunction invocations
The form without repeating the function name is preferred
2020-03-30 08:41:29 +02:00
John Ralls
f74d7c52da Merge Jean Laroche's 'fix_autocompletion_master' into master. 2020-03-29 14:49:00 -07:00