Commit Graph

22741 Commits

Author SHA1 Message Date
John Ralls
41762b295c No need for a separate decl and def of a static inline function.
Especially on consecutive lines.
2020-05-01 16:29:06 -07:00
John Ralls
36039c8ca7 Shut up a cmake policy warning. 2020-05-01 15:56:33 -07:00
Christopher Lam
624a2d809f Merge chris 'UK-VAT and AU-GST' branch
https://github.com/Gnucash/gnucash/pull/500
2020-05-01 21:26:20 +08:00
Christopher Lam
b9acc98787 [test-income-gst] add uk-vat and au-bas tests 2020-05-01 21:23:11 +08:00
Christopher Lam
f51f9609f3 [income-gst-statement] add UK VAT and AU GST rules
* add australian BAS rules
* add UK VAT rules
* rename *ECVAT* and *ECGOODS* to *EUVAT* and *EUGOODS*
* use (ice-9 match)

NOTE: has a backward-incompatible change to accounts
selection. Instead of requesting source accounts, ask source sales and
purchase accounts. Thus capital purchase to asset accounts can be reported.
2020-05-01 21:21:35 +08:00
Robert Fewell
b835bbd389 Change occurrences of gdk_display_get_default
It would be better to obtain the display from the current window
instead of using the default one.
2020-05-01 11:58:00 +01:00
Robert Fewell
3602753f50 Remove some Gtk version checks in code
With the requirement for Gtk+ 3.22, the version checks dealing with
checking for version 3.20 or 3.22 are no longer required so these have
been removed in the source files.
2020-05-01 11:54:58 +01:00
Robert Fewell
065002190a Remove some Gtk version checks for CSS
With the requirement for Gtk+ 3.22, the version checks dealing with CSS
can be removed and the application CSS files dealing with version 3.10
can be removed with the remaining being renamed.
2020-05-01 11:46:49 +01:00
John Ralls
b4177bc60a Fix transaction post_date being set to midnight local.
Reported for Invoices on gnucash-user. Checked all other uses of
xaccTransSetPostDateSecs(), fixed the ones that weren't passing an
already normalized time64. For Invoices change the post_date to also be
normalized so that it stays the same as the transaction post_date. That
also protects it from the displayed date changing depending on timezone.

The python binding invoice post_time test had to be changed to match.
2020-04-30 12:09:22 -07:00
Christopher Lam
a3dae3bd4d [gnc-lot.c] speed up gncInvoiceGetInvoiceFromLot by caching invoice 2020-04-30 23:56:26 +08:00
jean
c08215d01b Bug 797220 - delete account allows move of all transactions to account having non-matching currency 2020-04-29 23:23:01 -07:00
John Ralls
1e59819176 Respect the environment LD_LIBRARY_PATH for loading Scheme modules and tests. 2020-04-29 17:11:52 -07: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
Frank H. Ellenberger
5cabbbc998 Add a tip about announcements and other mailing lists 2020-04-28 00:58:57 +02:00
John Ralls
fa4ee6a085 Change the release to 3.902 after fixing all of the build problems. 2020-04-27 12:27:26 -07:00
John Ralls
af60bab2b0 Fix two more Scheme dependency errors that broke builds on flathub and Win32. 2020-04-27 10:43:01 -07:00
goodvibes2
0b97f1e443 Bug 797388 - Add watch for ea subacct of the acct to be reconciled
Enable the Reconcile window debit & credit unreconciled split
lists to be automatically updated when transactions for
subaccounts of the account to be reconciled are added, modified or
deleted. This already occurs for the reconciliation account.
2020-04-27 18:47:10 +10:00
John Ralls
8b7e0ea372 Merge branch 'maint' 2020-04-26 15:25:50 -07:00
John Ralls
790eb3b465 Update Ukrainian translation fro the translation project. 2020-04-26 15:23:52 -07:00
John Ralls
3b26a0f3bc Release GnuCash 3.901. 2020-04-25 17:59:09 -07:00
John Ralls
4b3612da01 Update Ukrainian translation fro the translation project. 2020-04-25 16:47:58 -07:00
John Ralls
9822f2f486 Merge Jean Laroche's 'add_reconcile_after_ofx_import_master' into master.
https://github.com/Gnucash/gnucash/pull/700
2020-04-25 16:44:50 -07:00
John Ralls
de9ee8dede Merge branch 'maint' 2020-04-25 15:45:59 -07:00
John Ralls
18a4824bb4 Merge Jean Laroche's '797351_zombie_transaction' into maint.
https://github.com/Gnucash/gnucash/pull/705
2020-04-25 15:42:26 -07:00
John Ralls
8024f44bc0 Remove leftover webkit2 conditional. 2020-04-25 15:40:07 -07:00
John Ralls
63232f388f Merge Jean Laroche's 'Fix-3-SX-Problems' into maint
https://github.com/Gnucash/gnucash/pull/690
2020-04-25 14:40:57 -07:00
jean
e0e7cf7dfb Fix 3 problems with the scheduled transactions calculations
This fixes 3 bugs:
- Set a monthly recurrence on the 10th with a start date on the 20th of this month.
The editor correctly shows the next occurrence to be on the 10th of the following month.
The schedule transaction summary dialog incorrectly shows the next occurrence to be on the 10th of this month
(before the start date!)
- Set a monthly recurrence on the 19th, with a start date on the 20th of this month. The editor's
calendar marks incorrectly show the next occurrence to be on the 19th of this month (before the start date).
- Set a monthly recurrence on the 18th, with a start date on the 20th and an end date on the 17 of the following
month. The calendar should show no mark, but fails to erase the marks that were present.
2020-04-25 14:39:41 -07:00
John Ralls
31daba151c Merge Jean Laroche's '797670_Xtran_editor_crash' into maint.
https://github.com/Gnucash/gnucash/pull/686
2020-04-25 14:17:28 -07:00
John Ralls
fee8bb3b2d Merge Christoph Holtermann's 'python-shell-output-improved' into maint.
https://github.com/Gnucash/gnucash/pull/702
2020-04-25 14:13:52 -07:00
John Ralls
d7a2fa72e7 Merge Christoph Holtermann's 'python-app-utils-2' into maint.
https://github.com/Gnucash/gnucash/pull/701
2020-04-25 13:43:54 -07:00
John Ralls
a5553c9328 Add POTFILES.in change from 'account-notes' merge. 2020-04-25 13:42:51 -07:00
John Ralls
0685798278 Merge Bob Fewell's 'account-notes' into master. 2020-04-25 13:36:51 -07:00
John Ralls
a9108a3a3f Merge Bob Fewell's 'css-changes' into master. 2020-04-25 12:30:29 -07:00
John Ralls
a45a8a61f2 Fix qif-import dependency failure. 2020-04-25 12:27:48 -07:00
jean
62f157d238 Added same code to transaction matcher 2020-04-24 22:26:27 -07:00
jean
4cca84bb32 Bug 797670 - scheduled transaction editor can remain open when switching file, which causes seg fault when later closed 2020-04-24 22:10:14 -07:00
jean
087b38591e Bug 797351 - General ledger register transaction becomes "zombie" after deletion
This issue arises every time a pending transaction is deleted (it does not arise if blank splits are deleted)
This PR fixes the issue by calling gnc_split_register_redraw once the pending transaction has be deleted.
2020-04-24 22:05:46 -07:00
John Ralls
bf6f463419 Fix build on ubuntu 18.04.
Apparently that version of cmake's pkg_check_modules chokes on pkg>x.x.x.
2020-04-24 21:51:13 -07:00
Christopher Lam
a8ae00c578 Bug 797605 - RFE: Customer/Vendor/Employee Overview should also have "Process Payment" toolbar 2020-04-25 10:58:14 +08:00
John Ralls
ed6ef531ec Update dependencies for 3.901 release. 2020-04-24 14:23:56 -07:00
John Ralls
396ddbd472 Remove support on Linux/BSD for ancient versions of WebKitGtk.
Still supporting 2.4.11 on Mac/Win.
2020-04-24 14:22:18 -07:00
John Ralls
758bd7b656 Merge branch 'maint' 2020-04-24 13:52:21 -07:00
Geert Janssens
f7f4f42145 Drop several test-link type tests
They were intended to test whether a gnc-module could be loaded
correctly. However several were not even properly implemented
and for the others the gnc-modules have been converted to
ordinary libraries. Testing whether a library can be linked to
is not a useful test. Link issues are triggered at build time
already.
2020-04-24 22:34:57 +02: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
Geert Janssens
03d7ae8fd0 Convert gncmod-report into an ordinary library
An init function has been added to be called once before using the library.
2020-04-24 21:17:13 +02:00
Geert Janssens
8e40f400ad Convert gncmod-bi/customer-import into ordinary libraries
As with qif-import use gnucash plugin interface to initialize the code.
2020-04-24 20:14:27 +02:00
Geert Janssens
968e979e83 Convert gncmod-log-replay into an ordinary library
As with qif-import use gnucash plugin interface to initialize the code.
2020-04-24 18:31:40 +02:00
Christopher Lam
8f5094f990 Revert "Bug 797605 - RFE: Customer/Vendor/Employee Overview should also have "Process Payment" toolbar"
This reverts commit 695d8b820e.
2020-04-25 00:15:03 +08:00
Geert Janssens
4b51c630f4 Convert gncmod-csv-import/export into ordinary libraries
As with qif-import use gnucash plugin interface to initialize the code.
2020-04-24 18:14:40 +02:00