John Ralls
939a77407c
Merge branch 'price-quotes-cpp'
4 years ago
Mike Alexander
3c306eae65
Merge branch 'maint'
4 years ago
Mike Alexander
2d3e80ea08
Compatibility with XCode's "new build system"
...
With XCode 14 or newer CMake tries to use the "new build system" which has a
requirement that if two targets depend on the same generated file one of them
must depend on the other. This commit adds reduntant dependencies to satisfy
this requirement.
4 years ago
Geert Janssens
7765e13704
Bindings - move log wrappers into the swig interface files
...
They are only used for guile (and possibly python, so there's
no need to carry them around in core-utils.
4 years ago
Geert Janssens
e5c6f6026b
Remove support code that was only used by price-quotes.scm
4 years ago
John Ralls
a6e2842ea0
More distcheck fixes.
4 years ago
Christopher Lam
c78bb3c22c
[test-gnc-option-scheme-output.scm] more scheme typos
...
Addendum to 11d395185
4 years ago
John Ralls
11d395185c
Fix spelling of xaccAccountGetType.
4 years ago
John Ralls
95361ad060
[options] Move gnc-options test to engine/test/CMakeLists.txt.
4 years ago
John Ralls
4ae17d12c7
[options] Move options from app-utils to engine.
...
Options is required for book options that are stored as part of the data
file and so belongs in engine.
4 years ago
Christopher Lam
3e02859277
Merge branch 'maint'
4 years ago
John Ralls
e29ab5336f
[options] Remove key and doc_string from gnc_register_query_option.
...
It's always used as an internal option with no UI component so it doesn't
use them.
4 years ago
John Ralls
6faaf3b427
[options] Provide a const char* value flavor for register_commodity
...
And register_currency_option
4 years ago
John Ralls
da0eff2cac
[options] Implement widget-changed callbacks.
...
Enables full functionality for complex-boolean and multichoice-callback
options.
Note that setter-function callback isn't used in any GnuCash code so it
is not implemented and is not present in the register-callback functions.
4 years ago
John Ralls
552aa438ff
[options] Implement gnc_register_internal_option.
4 years ago
John Ralls
3d275a3715
[options] Improve Scheme API consistency
4 years ago
John Ralls
418bb7d0cc
[options] Fix two deprecation messages.
4 years ago
John Ralls
cf2870b71a
[options] Change RelativeDate and Multichoice index type to uint16_t.
...
From size_t because clang thinks that std::is_same_v<size_t, time64> is
true and we need to differentiate the handling of the two.
4 years ago
John Ralls
0b2d14ee72
Fix distribution for expressions target.
4 years ago
John Ralls
f4c27d4494
Move gnc_ui_account_get_tax_info_string to gnc-locale-tax.c
...
To prevent a circular dependency between libgnc-app-utils and
libgnucash-guile.
4 years ago
John Ralls
47904a858e
Fix distcheck in master.
...
Several gnc-optiondb dependencies left out of tarball.
4 years ago
John Ralls
95487eb4a0
Merge branch 'maint'
...
# Conflicts:
# gnucash/gnome/window-reconcile2.c
# libgnucash/app-utils/options.scm
# libgnucash/engine/gnc-numeric.cpp
4 years ago
Christopher Lam
40d5db43e6
Bug 797163 - qof_book_get_option segfaults when retrieving a non-leaf frame
...
returns a KvpFrame into a nested list of pairs
returns a KvpValue GLIST into a list
4 years ago
John Ralls
abd1a0b3f1
Merge branch 'c++options'
4 years ago
Christopher Lam
73ddaa8c40
Remove deprecated functions
...
Were resurrected in error 5c7967c4a
4 years ago
John Ralls
03cbbd1cd1
Merge branch 'maint'
4 years ago
John Ralls
109efe62b8
Rework default non-currency commodity namespace.
...
Separate the "All noncurrency" convenience category in the commodity
selector and the default non-commodity namespace proposed by the QIF
importer because they have different functions.
Also remove the namespace guessing code from qif-dialog because with
only one default non-currency namespace there's nothing to guess.
4 years ago
Christopher Lam
cf1282501e
Use original guile variable names changed in #1073
...
The changes 09296dfb96 , 1373233cd0 and 189db58e6 had caused
inconsistencies. Best restore original guile variable names using
underscore, bound to strings instead of functions returning strings.
4 years ago
Christopher Lam
189db58e69
Fix typo in guile variable names in 1373233cd
4 years ago
Christopher Lam
193a7aae5d
Merge branch 'maint'
4 years ago
John Ralls
1373233cd0
Restore Scheme definitions of GNC-COMMODITY-NS-CURRENCY & -NONCURRENCY.
...
Overzealously removed in PR 1073.
4 years ago
Frank H. Ellenberger
09296dfb96
Drop commodity-table.scm, no longer required after adjusting qif-dialog-utils
4 years ago
John Ralls
c1c75e8f81
Revert "Revert "Merge Stefan Bayer's 'SepaInternalTransfer' into maint.""
...
The original merge was of a PR based on master into maint, bringing
along all of the development changes in master along with it. We don't
want that so the merge was reverted and the PR's two changes
cherry-picked in. That fixed maint, but then the next regular merge of
maint into master naturally included that revert commit undoing the
changes in master. Not so good. Reverting the revert, this commit,
restores the changes, albeit with messed up history.
4 years ago
John Ralls
5c7967c4a5
Revert "Merge Stefan Bayer's 'SepaInternalTransfer' into maint."
...
This reverts commit 17a3f7fef2 , reversing
changes made to b8458d0732 .
4 years ago
John Ralls
17a3f7fef2
Merge Stefan Bayer's 'SepaInternalTransfer' into maint.
4 years ago
Christopher Lam
d861c65020
[test-engine-extras] don't create splits of opposing amt/value signs
...
Splits' value and amount should never be of opposite signs. Fix
test book which had created this incorrect value/amount
pair. Strengthen env-create-multisplit-transaction to disallow
test book errors.
4 years ago
John Ralls
4c43dac1b6
Restore setting swig engine initialization flag.
5 years ago
John Ralls
cf5da9fffd
Resolve merge conflicts.
5 years ago
Christopher Lam
984d816a58
Merge branch 'maint'
5 years ago
Christopher Lam
e94ee3bfad
Don't g_strdup char* from scm_to_locale|utf8_string
...
Both scm_to_locale_string and scm_to_utf8_string return newly
allocated char*. It is not necessary to return a strdup'd char* and
free the original.
5 years ago
Christopher Lam
9eaa3eb23a
Merge branch 'maint'
5 years ago
Christopher Lam
23d964a6a4
g_list_free_full requires a GDestroyNotify
...
error in f4941a5b0
5 years ago
Christopher Lam
0bce6a1d56
[core-utils] introduce gnc:format
...
(gnc:format str [binding value]...)
str will contain ${binding} which will be replaced to value.
5 years ago
Christopher Lam
3ff5bd8246
[test-core-utils] uses srfi-64
5 years ago
Christopher Lam
f4941a5b01
use g_list_free_full
5 years ago
Christopher Lam
ad7bffaae1
Run test-core-utils and test-create-account properly
5 years ago
Christopher Lam
34a4b652c1
[test-core-utils.scm] fix - N_ is no longer a macro
5 years ago
Christopher Lam
017ab06939
Merge branch 'maint'
5 years ago
Christopher Lam
140922a37e
QofQuery args must be destroyed after qof_query_merge
...
qof_query_merge returns a new QofQuery; the two merged QofQueries are
not explicitly destroyed.
5 years ago
Christopher Lam
c6d8333811
Merge branch 'maint'
5 years ago