Commit Graph

22471 Commits

Author SHA1 Message Date
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
Geert Janssens
468f34477a Convert gncmod-qif-import into an ordinary library
All importers have a have a gnucash plugin interface so that will be used
to add the importers.
2020-04-24 17:47:50 +02:00
Geert Janssens
01a00afe23 Convert gncmod-register-gnome into an ordinary library
Setting up its cell types is now initiated from gnucash-bin.c/inner_main.
2020-04-24 17:06:12 +02:00
Geert Janssens
8a764f23e2 Convert gncmod-gnome-search into an ordinary library
Search initialization happens now in gnucash-bin.c/inner_main. That will also add
a hook to finalize the search library at shutdown.
2020-04-24 15:30:57 +02:00
Geert Janssens
debb5468f4 Convert gncmod-gnome-utils into an ordinary library
The gnc module did some inititalization stuff which is moved to a new
function gnc_gnome_utils_init that should be called once.
2020-04-24 15:04:00 +02:00
Geert Janssens
58c6993cfb Convert several gnc-modules to ordinary shared libraries
None of these gnc-modules have any particular construction or destruction
code except for loading the modules they depend on. These dependencies
are all loaded anyway in other ways so for these libraries the gnc-module
wrapper code brings no benefit.
2020-04-24 10:11:15 +02:00
Frank H. Ellenberger
88f276e291 Merge 'Update Croatian po and glossary files' by Milo Ivir 2020-04-24 01:32:25 +02:00
John Ralls
d7c05a90a0 Bug 797697 - Enable DEP and ASLR for the Windows build
Added hardening flags.
2020-04-22 11:34:45 -07:00
milotype
e83a24c704
Update Croatian hr.po file
Update with "gnucash-3.10.pot" file
2020-04-21 23:55:55 +02:00
milotype
96f77adb4d
Update Croatian glossary file 2020-04-21 23:53:59 +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
Frank H. Ellenberger
6939945fc0 Merge PR #693 into maint 2020-04-20 20:09:49 +02:00
Christopher Lam
bbee48cec4 [receipt] remove dead code
* taxrate in unused; it was copied as-is from taxinvoice.scm
* customers-only has never been in use
2020-04-20 20:21:33 +08:00
Marko Kohtala
b4bd095de2 L10N:fi: Update translations and add glossary
2760 translated messages, 4 fuzzy translations, 2659 untranslated messages.
2020-04-20 10:45:00 +03:00
Geert Janssens
0cfb40efeb CMake - use configure_file instead of file(COPY ) wherever possible
file(COPY ) will only trigger when the destination file doesn't exist yet.
It won't retrigger on source file changes.
configure_file on the other hand will. To avoid unwanted substitution
attempts this can be invoked with the COPYONLY keyword.
Disadvantage of configure_file is that it will only take one
input file where file(COPY ) can operate on a list of files.
As such the configure_file statement has to be wrapped in a foreach.

A few uses of file(COPY ) can't be replaced as they are setting
file permissions. And the one in make_dist has been kept as that
always operates on an empty directory, hence copying is guaranteed.

The former will monitor the file for updates and copy it again
the latter will only copy the file if it doesn't exist in the destination yet
2020-04-19 21:23:22 +02:00
Geert Janssens
261bff1250 Drop unused module file in xml backend 2020-04-19 21:23:22 +02:00
Geert Janssens
9d96097032 Convert gncmod-generic-import module into ordinary shared library gnc-generic-import 2020-04-19 21:23:22 +02:00
Geert Janssens
954c1a001d Convert gncmod-html module into ordinary shared library gnc-html
The module wasn't being used.
2020-04-19 21:23:22 +02:00
Geert Janssens
6cedd0d7a6 Drop stray inclusion of (gnucash gnc-module)
Scheme code is no longer using gnc-module functionality
2020-04-19 21:23:18 +02:00
Christopher Lam
8913e9329d Adds "Delete Budget" menu item
It calls gnc_budget_gui_select_budget to request a budget, and calls
gnc_budget_gui_delete_budget to offer second chance before deleting a
budget.
2020-04-19 22:34:27 +08:00
Christopher Lam
26065f24c4 Bug 782455 - Modify Add Reversing Transaction feature
calls gnc_dup_time64_dialog to get reversing transaction's
posting_date.
2020-04-19 22:34:27 +08:00
Christopher Lam
f2a0fcccbc [dialog-dup-trans] add&expose gnc_dup_time64_dialog
gets a time64 from UI, and also sets window_title and title
2020-04-19 22:34:27 +08:00
John Ralls
4b8649f77b Set CONFIGURATIONS property on tests only for Xcode.
Having it in the general case disabled a large number of tests.
2020-04-18 13:09:32 -07:00
Frank H. Ellenberger
ea552c7e3b Merge PR #699 - Hebrew Translation Update for ver 3.10 2020-04-18 16:28:00 +02:00
Robert Fewell
ee57e0f483 Merge Jean Laroche's branch 'set_focus_to_filter_in_search' into maint 2020-04-18 14:46:25 +01:00
avma
6af551df53
Hebrew Translation Update for ver 3.10 2020-04-18 15:00:14 +03:00
John Ralls
94fe0f803e Bug 797684 - GTK_DEBUG=interactive - Bail out - gdk_window_set_cursor_internal
We can't assume that the window is on the default display.
2020-04-15 14:39:36 -07:00
Christopher Lam
4cb2e4d144 Merge branch 'maint-strengthen-exp-parser' into maint 2020-04-15 08:12:54 +08:00
John Ralls
218e18a433 Bug 797677 - Price Database Saving Wrong Price for Foreign Currency
Don't round prices for storage, only for display.
2020-04-14 14:24:37 -07:00
John Ralls
a392190adf No gnucash/gettext scm module anymore, the translation defs are in core-utils. 2020-04-14 14:22:40 -07: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
John Ralls
2270b851ba Merge Jeff Law's 'lto-fix' into master. 2020-04-14 11:24:37 -07:00
jean
524c90e0c2 Add code to make tree expand when user starts typing when selecting accounts 2020-04-14 08:06:14 -07: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
Bill Nottingham
592c3ad562 Fix building with link-time-optimization.
Patch from Jeff Law (law@redhat.com):
Rename one instance of struct _iterate to struct _qofid_iterate to
avoid ODR problems with LTO
2020-04-14 10:13:48 -04:00
Christopher Lam
8f68d54292 Merge branch 'maint-refactor-reconcile-renderers' into maint 2020-04-14 20:48:41 +08:00
Christopher Lam
695d8b820e Bug 797605 - RFE: Customer/Vendor/Employee Overview should also have "Process Payment" toolbar 2020-04-14 19:26:34 +08:00
Christopher Lam
5c2353f06b [window-reconcile] refactor common actions into WidgetSetAmount
Previous code was ugly - reuse char *amount for all strings including
date, gratuitous balance reversals and immediate re-reversals.

Refactor common code to render and colorise amount into
widget. Verified matches current behaviour in both BANK and CREDITCARD
accounts.

Instead of reversing sign, render, and re-reversing sign, the
rendering function will handle sign reversal using a local variable.
2020-04-14 17:31:43 +08:00
John Ralls
e01a2a6438 Merge Jean Laroche's '797114_Delet_Account' into maint. 2020-04-13 11:57:57 -07:00
John Ralls
3ca8fa1229 Merge branch 'maint' 2020-04-13 11:27:14 -07:00
John Ralls
1365a19e2e Force WITH_PYTHON=YES for distcheck.
To ensure that it works from the tarball.
2020-04-12 15:51:05 -07:00