Christopher Lam
9fc1ac6be1
Merge branch 'maint-guile-changes' into maint #1111
2021-08-20 17:02:19 +08:00
Christopher Lam
9bc44c62e6
[engine.i] free GSList* key_path arg to qof_book_get_option
...
Addendum to 6c8af6aab need to specify exact typemap target.
2021-08-20 17:01:42 +08:00
Christopher Lam
6c8af6aab1
[engine.i] free GSList* arg to qof_book_get_option
2021-08-20 09:03:37 +08:00
Christopher Lam
c4a0fb468b
[srfi64-extras.scm] exit instead of return #t if no failures
...
due to change in guile-3.0.7 to fix srfi64 bug
2021-08-19 20:56:13 +08:00
Christopher Lam
eafc290034
Merge branch 'maint'
2021-08-12 22:28:58 +08:00
Christopher Lam
de1ad9367a
g_free gnc_ctime which returns a new gchar*
2021-08-05 21:42:31 +08:00
Frank H. Ellenberger
b31b8dbd1e
Merge PR #1103 into maint
2021-08-04 20:16:14 +02:00
Steven Walter
5f721614ad
Remove unneeded .decode() from Invoice*.tex.templ
...
These values are already str's, don't decode them
2021-08-03 15:59:54 -04:00
Christopher Lam
a3177e8b6b
[swig] %newobject to g_free AccountList* functions
2021-08-03 12:14:12 +08:00
Christopher Lam
e0d953bfc8
[swig] %newobject to g_free gchar* functions
2021-08-03 12:14:12 +08:00
Steven Walter
3ed6b4dab9
latex_invoices.py: write takes string not bytes
...
write() fails if you give it bytes, so don't encode
2021-08-01 22:17:41 -04:00
Steven Walter
ba4852a9da
latex_invoices.py: use default locale
...
Don't hardcode a locale. Empty string means to use the user's locale
(e.g. $LANG)
2021-08-01 22:17:11 -04:00
Steven Walter
ad3895fa07
latex_invoices.py: don't decode() a str
...
These functions all return str's not bytes. Therefore there is no need
to decode them.
2021-08-01 22:16:33 -04:00
John Ralls
08bf3ec5b0
Merge branch 'maint'
2021-07-30 10:28:57 -07:00
Christopher Lam
9767c86337
[engine.i] some GLists must be freed
2021-07-29 23:56:10 +08:00
luz paz
95f8884892
Fix misc. typos in comments
2021-06-29 08:46:34 +02:00
Christopher Lam
1b4d30b3b1
Merge branch 'maint'
2021-06-22 23:30:20 +08:00
John Ralls
da3bd8ec0e
[bindings/guile/test] add SRFI64 test sources to the dist.
2021-06-13 15:25:23 -07:00
Hong Xu
79d5270c9d
Fix a variable name typo in Python binding gnc_pricedb_lookup_latest_before_t64
...
commodit -> commodity
2021-06-13 01:12:59 -07:00
Christopher Lam
b25a444140
Merge branch 'maint'
2021-05-14 21:16:48 +08:00
Christopher Lam
14c523e4f1
[test-engine-extras] augment book data generators
...
* txn-currency can be specified explicitly instead of currency of
first split
* split memos can be specified
Note test-register.scm gets some changes because the Trans Num field
was erroneously saved into Split Action fields. Now the num field is
only copied into the TransNum field.
2021-04-30 08:55:26 +08:00
Christopher Lam
e6355be755
[test-scm-engine] remove support for functions deprecated in 4.x
2021-04-24 23:34:58 +08:00
Christopher Lam
5ce8f78f77
Merge branch 'maint'
2021-04-24 23:16:22 +08:00
Christopher Lam
5957b3c256
Add scheme backward compatibility functions renamed in #979
2021-04-23 21:20:42 +08:00
John Ralls
49102c7ac2
Python Bindings: Provide a deprecated GncPriceDB.lookup_latest_before_t64.
...
To avoid breaking user scripts.
2021-04-23 11:56:15 +01:00
Robert Fewell
87285f945e
Update gnucash_core.py with gnc-pricedb function name change
2021-04-23 11:56:15 +01:00
John Ralls
490f9a8035
Change the g_log macro calls to QofLog ones so that they don't go to /dev/null.
2021-04-13 16:58:11 -07:00
koldavi
506fd57989
Fix to_string_with_decimal_point_placed
...
>>> nominator='123456'
A digit is missing in the string returned from to_string_with_decimal_point_placed. The -1 error.
>>> point_place=2
>>> nominator[:-point_place - 1], nominator[-point_place:]
('123', '56')
2021-04-01 13:26:15 +02:00
Christopher Lam
d28ff20ff7
Merge branch 'maint'
2021-03-29 17:29:19 +08:00
Christopher Lam
df457622b5
Merge branch 'python-silent-conversion' of git://github.com/c-holtermann/gnucash into maint
2021-03-27 21:20:37 +08:00
c-holtermann
d3b8a59d7e
remove debug information for time conversion
2021-03-27 14:05:21 +01:00
Geert Janssens
1dd426e314
Potentially fix CI test on Arch related to glib and c++
2021-03-22 12:37:24 +01:00
Christopher Lam
2a2f080813
Merge branch 'maint'
2021-03-18 07:36:40 +08:00
John Ralls
a11065b823
Fix fencepost error in calculating the week_num for POSIX timezone rules.
...
Fixes CI failure caused by US starting DST in 2021, a year in which
March began on a Monday.
2021-03-15 17:07:16 -07:00
John Ralls
66eca8aab7
Update python/gnucash_business.py to reflect rename of gncOwnerApplyPayment.
...
Made 3 years ago.
2021-03-14 10:48:30 -07:00
Christopher Lam
87473ed5f9
Merge branch 'maint'
2021-03-12 23:14:51 +08:00
Dong Lin
75209c024f
Update price database for imported transactions
...
When a transaction is added from the ledger, price database is updated properly.
But if the transaction is imported, there is no price db update.
This change adds the proper pricedb update in the import path (qfx/ofx/qif).
Tested with make check
2021-03-09 10:39:56 -08:00
Christopher Lam
165ca498ad
Add explanatory note for gnc_add_scheme_deprecated_module test code
...
The immediate parent commit removes old deprecated scheme
modules. Link to the old modules for example code.
2021-01-30 00:42:42 +08:00
Christopher Lam
bbcffa3eca
Remove deprecated scheme modules
2021-01-30 00:42:20 +08:00
Christopher Lam
a9ec496ba9
[utilities] Remove deprecated functions
2021-01-25 22:25:54 +08:00
Christopher Lam
2fa5cba250
Merge branch 'maint'
2021-01-25 22:25:20 +08:00
Christopher Lam
a754289daa
[test-scm-utilities] test-end properly
...
otherwise test failures do not set exit code correctly
2021-01-25 22:24:51 +08:00
Christopher Lam
df30b6da37
[utilities.scm] deprecate unused functions
...
these functions were never used.
2021-01-24 21:56:34 +08:00
Christopher Lam
ebcb0bc478
[master] remove deprecated scheme functions
2021-01-04 08:46:09 +08:00
Christopher Lam
6df74eb94f
[core-utils.scm] typo in guile: use-modules
2021-01-03 16:03:14 +08:00
Christopher Lam
6f9517845a
[core-utils] use custom unbound-variable exception printer
...
When a guile coder uses a variable but omits use-modules, this code
will scan *all* available modules and offer the appropriate module
name.
Before:
Unbound variable: gnc-build-url
After:
Unbound variable: gnc-build-url. Did you forget (use-module (sw_gnc_html))?
2020-12-14 21:54:52 +08:00
Christopher Lam
6927c12292
Bug 798039 - Using 'Consolidate Transactions' option on Consolidate Transaction Report returns Error
...
because (gnc:module-load "gnucash/html" 0) was meant to load the html
module and was incorrectly assumed to be present in (gnucash report)
module.
2020-12-12 07:44:14 +08:00
Christopher Lam
4910b532e0
[modularise] (gnucash engine)
2020-12-09 06:39:51 +08:00
Christopher Lam
c17ce5251c
[modularise] (gnucash core-utils)
2020-12-09 06:39:51 +08:00
Christopher Lam
096be60860
[modularise] (gnucash utilities)
2020-12-09 06:39:51 +08:00