Cristian Klein
69789b2b93
[auto-tests] Stick to CodingStandard for member variables
2020-11-08 09:58:57 +01:00
Cristian Klein
f26215feae
[auto-tests] Fix misspelling
2020-11-08 09:58:17 +01:00
Cristian Klein
e5378b2048
[auto-clear] Make test more future-proof with GoogleTest
2020-10-30 09:42:05 +01:00
Cristian Klein
982cf86deb
[auto-clear] Fix test with googletest 1.8
2020-10-30 09:42:05 +01:00
Cristian Klein
9d4c0b05db
[auto-clear] Improve #include style
2020-10-30 09:42:05 +01:00
Cristian Klein
1cf7defee8
[auto-clear] Address feedback
2020-10-30 09:42:05 +01:00
Cristian Klein
9bf550d38f
[auto-clear] Include test for ambiguous cases
2020-10-30 09:42:05 +01:00
Cristian Klein
5cd777b673
[auto-clear] Fix test: Add xaccAccountBeginEdit / xaccAccountCommitEdit
2020-10-30 09:42:05 +01:00
Cristian Klein
2faecb2074
[auto-clear] Avoid testing ambigous auto-clear
2020-10-30 09:42:05 +01:00
Cristian Klein
a1806a2f94
[auto-clear] Fix model
2020-10-30 09:42:05 +01:00
Cristian Klein
51715e454c
[auto-clear] Add tests
2020-10-30 09:42:05 +01:00
Christopher Lam
78c8b03c5e
[window-autoclear.c] cleanup, optimize, prevent UI lag
...
abort:
1. if too many splits lead to >1,000,000 reachable amounts
2. if the end_balance is the same as cleared_balance
also:
- g_free lists properly
- move knapsack algorithm to gnc-ui-balances.c
- show newly cleared splits in a new register: "Cleared Transactions"
- remove unneeded #includes
2020-10-23 09:11:29 +08:00
Robert Fewell
3c5066feb4
Change source files option-util.* for spaces and tabs
2020-10-22 14:30:46 +01:00
Robert Fewell
c11f4db96e
Bug 345924 - Report options 'Reset Button' always flags changes
...
If a report is loaded with default settings and the 'Reset button' is
pressed the 'OK/Apply' buttons will be enabled which should not happen
as there are no changes to be made.
Fixed by resetting the changed flag on options load and then comparing
the current value to the default one when the 'Reset button' pressed.
2020-10-22 14:26:50 +01:00
Christopher Lam
39a6704169
[options.scm] rename new-owner-report "Links" to "Transaction Links"
2020-10-07 19:11:12 +08:00
John Ralls
db626de68a
Rename all Transaction and Invoice Association identifiers to DocLink.
...
To better reflect the purpose and for consistency with other software
(e.g. Libre Office).
2020-09-11 11:34:32 -07:00
John Ralls
50bf59d62e
Rename Transaction and Invoice Associations to Document Links.
...
More clearly describes the actions and is more consistent with other
software (e.g. Libre Office).
This commit primarily changes the translatable strings, though it also
removes the Remove menu item because that can be done in the Manage
dialog box.
2020-09-11 11:34:31 -07:00
Geert Janssens
ad8b602fe2
I18n - Uppercase option name to align with other option names
2020-09-09 22:22:48 +02:00
Geert Janssens
56210de9a2
Rename report option for consistency
...
In English each word in option and menu names starts with a capital letter.
Also eliminates a redundant translatable string.
2020-08-18 15:28:51 +02:00
Christopher Lam
d546a617ad
ensure averaging-multipler returns exact numbers rather than floats
2020-07-19 17:46:01 +08:00
Christopher Lam
428c8c501c
[guile-3] change _ to G_
...
In guile-3 _ is a reserved symbol. Change to G_ by guile gettext
convention.
2020-07-12 19:03:26 +08:00
John Ralls
4ee573e23a
Link with libm.so on those platforms that require it.
2020-07-06 12:30:37 -07:00
Christopher Lam
851bc7f8d9
deprecations: clarify functions deprecated in 4.x.
2020-06-22 19:53:29 +08:00
Geert Janssens
a124e647db
Add files omitted in previous commit
2020-05-29 17:35:04 +02:00
Geert Janssens
5fc2b9519c
Add mock sources and import-export test to dist
2020-05-29 17:20:53 +02:00
Robert Fewell
785a6a8fa6
Add a new cell type for Transaction associations that
...
supports the use of glyphs
2020-05-28 17:25:40 +01:00
John Ralls
f2a13ecac7
Merge Christian Gruber's 'test_import_backend' into master.
2020-05-21 12:39:57 -07:00
Christopher Lam
f8bad131a5
Merge branch 'maint-797743' #720 price renderers
2020-05-13 13:20:09 +08:00
Christopher Lam
3d25a40d1f
[gnc-ui-util] add gnc_price_print_info
...
similar to gnc_default_price_print_info but also accepts a use_symbol
specifier. for generating print_info for prices, either exact e.g.
$1 + 2/3, or inexact e.g. $1.3333
2020-05-13 11:36:22 +08:00
Christopher Lam
f9dfdb3e6c
[c-interface] compact code, use (ice-9 match)
2020-05-10 09:52:40 +08:00
Mike Alexander
478112d8c0
Define log_module in gnc-sx-instance-model.c.
2020-05-08 16:43:45 -04:00
John Ralls
fbf7171ab6
Fix libgnc-app-utils.dylib install_name_dir.
...
The install location changed as part of expunging libgnc-module.
2020-04-28 10:30:22 -07:00
John Ralls
758bd7b656
Merge branch 'maint'
2020-04-24 13:52:21 -07:00
Geert Janssens
bbeb9a2b62
Drop all gnc-module dependencies and includes from compilation units that no longer use it
...
This also drops the python wrapper for gnc-module. As for the guile wrappers,
python should use other means of loading our shared libraries.
This commit required a few tweaks to the dependency chain as some units
inherited dependency information from gnc-module's public dependency
interface.
2020-04-24 22:16:24 +02:00
Geert Janssens
abf29aa196
Drop the gnc-module wrapper around the test-engine library
...
It's not adding anything
2020-04-24 21:29:20 +02:00
Christopher Lam
8023065030
[fin.scm] return #f instead of -1 if n is out of range
2020-04-21 11:39:40 +08:00
Christopher Lam
96a6e1b0d5
Merge branch 'patch-1' of git://github.com/thetedmunds/gnucash into maint
2020-04-21 11:39:28 +08:00
Christopher Lam
6de712b501
[gnc-exp-parser] don't crash when gnc:fn returns non-number
...
if gnc:fn returns anything other than a number, abort rather than
crash
2020-04-15 04:54:05 +08:00
thetedmunds
d6c5b115d8
Adding lines missing from fix for Bug 797196
...
Adding definition of gnc:amort_balance() that got lost in the original pull-request for Bug 797196.
2020-04-14 07:45:54 -07:00
John Ralls
3ca8fa1229
Merge branch 'maint'
2020-04-13 11:27:14 -07:00
John Ralls
fdfaca5575
Merge Christoph Holtermann's 'python-session-instance-constructor' into maint.
2020-04-06 12:05:21 -07:00
c-holtermann
ab843c0b7a
include gnucash_core of python bindings in python swig app-utils
2020-04-06 07:03:40 +02:00
jean
4a8350ece2
797318 - Amounts ending in zero displayed as fractions
2020-04-04 14:43:03 -07: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
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
John Ralls
f85be03bb5
Merge branch 'maint'
2020-03-29 14:46:55 -07:00
Christopher Lam
50674ef632
[gnc-ui-balances] add and expose gnc_ui_account_get_reconciled_balance_as_of_date
2020-03-15 06:40:03 +08:00
Geert Janssens
301db9020d
Merge branch 'maint'
2020-02-06 16:50:08 +01:00
Geert Janssens
e79e82edcf
CMake - remove parameter repetition in else() and endif() statements
...
This follows Professional CMake's recommended practises
2020-02-05 11:38:14 +01:00