Commit Graph

471 Commits

Author SHA1 Message Date
Frank H. Ellenberger
09296dfb96 Drop commodity-table.scm, no longer required after adjusting qif-dialog-utils 2022-03-01 19:58:11 -08:00
Christopher Lam
9088acabd8 [gnc-budget.cpp] convert to c++ 2022-03-02 07:13:24 +08:00
John Ralls
5c7967c4a5 Revert "Merge Stefan Bayer's 'SepaInternalTransfer' into maint."
This reverts commit 17a3f7fef2, reversing
changes made to b8458d0732.
2021-12-03 13:58:07 -08:00
Christopher Lam
984d816a58 Merge branch 'maint' 2021-11-06 21:41:17 +08:00
Christopher Lam
f813f7cd14 [gnc-autoclear] Move autoclear algorithm into gnome-utils 2021-10-28 21:41:46 +08:00
Frank H. Ellenberger
7d2245c25c L10N: Patch PR 1156 into existing translatons 2021-10-15 17:47:24 +02:00
John Ralls
67191203ae Merge branch 'maint' 2021-09-26 10:46:06 -07:00
Geert Janssens
d1113a4534 GSettings - build as cpp 2021-09-21 17:10:56 +02:00
Geert Janssens
02fbf217f6 GSettings Upgrade - change schema prefix from org.gnucash to org.gnucash.GnuCash
The latter is the prefix format prescribed by gsettings itself. The former never
was an issue until flatpak decided to not accept the shorter prefix when
requesting a settings migration from host system to flatpak sandbox.

In order to allow for migration, keep the old schema around in
org.gnucash.GnuCash.deprecated.gschema.in

While we're at it, make the new prefix an internal implementation detail.
There's no need for it to be visible to the rest of the gnucash code.
2021-09-21 17:10:55 +02:00
Christopher Lam
13332b15d9 Remove obsolete files from POTFILES.in 2021-06-23 08:46:58 +08:00
John Ralls
ac1abcb8c3 Fix reversed parameters in call to xaccAccountTypesCompatible.
Missed in 2258e7a4.
2021-05-01 09:53:56 -07:00
Robert Fewell
e1525721ad Remove widget GncCombott - Part1
It has been decided that per menu item tooltips is not required so it
has been removed and replaced with GtkComboBox where required.
2021-04-18 12:17:51 +01:00
Geert Janssens
6537135e70 Restructure early locale initialization
- Move Macos specific bits to its own source file. As this is objective-c use .mm extension
- Use common function signature for Macos and Windows init function and include via common header file
2021-03-22 12:10:55 +01:00
John Ralls
2b01bde2b6 Merge Christian Wehling's 'gnucash-flicker' into maint. 2020-12-12 17:03:05 -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
1015c6aafd Add new python example file to POTFILES.in. 2020-08-02 14:15:20 -07:00
John Ralls
1935cdc681 Add python/deprecation.py to POTFILES. 2020-07-07 12:33:29 -07:00
John Ralls
b84ad7ab7e Extract cash-flow-calc-money-in-out to its own module.
It's used by two reports so this simplifies the dependency graph.
2020-06-08 13:12:10 -07:00
John Ralls
0778f2d57e Add gnucash-windows-locale.c to POTFILES.in
Not that it has any translatable strings.
2020-05-31 08:21:40 -07:00
Geert Janssens
b56b87685b Factor out common quotes retrieval code into a new file gnucash-commands.cpp
This file will contain implementations of all
commands that can be run via gnucash-cli.
2020-05-29 17:43:37 +02:00
Geert Janssens
2b8f91a191 Rename Gnucash::Base to Gnucash::CoreApp
That name better reflects what the class represents
2020-05-29 17:37:57 +02:00
Geert Janssens
c58cfdb87d Extract common setup bits from gnucash and gnucash-cli into a separate class Gnucash::Base
This is just a first start, more refactoring will follow in later commits.
The idea is to have an application class that provides the basic framework
gnucash and gnucash-cli will become specializations of this class adding their
specific functionality. I'm splitting this over several commits to be able to
keep track of all the many changes.
2020-05-29 17:37:57 +02:00
Geert Janssens
3cd0de8ce4 Introduce new executable 'gnucash-cli'
This tool is intended to expose certain gnucash functions to a command line interface.
The first one is --add-price-quotes. This option currently also exists in gnucash.
It will be marked deprecated there. Future extensions to this can be things like
report generation, non-interactive imports,...
2020-05-29 17:37:57 +02:00
Geert Janssens
736979f932 Build gnucash main file as C++ 2020-05-29 17:37:57 +02:00
Geert Janssens
9bf2b026ac Rename main source file from gnucash-bin.c to gnucash.c
That reflects more closely what the eventual binary will be named.
2020-05-29 17:37:57 +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
Robert Fewell
07d46d5d52 Add option to change associations when path head changes
When the path head is changed the associations are not updated so this
change adds a dialog to ask if you want the old relative paths updated
to absolute ones and whether to update existing absolute paths to new
relative ones.
2020-05-28 17:25:40 +01:00
Robert Fewell
456c3494ff Rename the trans associate files
Rename the files dialog-trans-assoc.c/h and the glade file to the less
specific form dialog-assoc.c/h so that it can be used for other
associations.
2020-05-28 17:25:40 +01:00
John Ralls
20251999a4 python-gettext-localize: Additional POTFILES.in changes. 2020-05-28 14:16:38 -07:00
c-holtermann
101a2ca09d add translatable python files 2020-05-28 18:41:34 +02:00
Robert Fewell
fafb3ef3a8 Drop gnucash-scrolled-window.c in POTFILES.in as it has
been removed.
2020-05-22 23:16:43 +01:00
Geert Janssens
2ef1dc4393 Drop unrelated source file from POTFILES.in
This is from another work in progress branch. Shouldn't have been added to master yet.
2020-05-18 19:53:31 +02:00
Geert Janssens
01333faec4 add-price-quotes doesn't use modules, so don't load them 2020-05-18 16:23:43 +02:00
John Ralls
a5553c9328 Add POTFILES.in change from 'account-notes' merge. 2020-04-25 13:42:51 -07: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
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
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
e501de8e08 Remove stub files from translation catalog
These were added accidentally when fixing build order issues using makefiles
2020-02-28 20:18:14 +01:00
Geert Janssens
206cb7029b Build order - reports.scm depends on 4 standard reports and other standard reports depend on reports.scm
So we have to split up the standard reports target in one that needs to be built
before reports.go and one that is built after reports.go.
2020-02-28 19:31:49 +01:00
Geert Janssens
6316debc17 Moderately bump aqbanking and gwenhywfar versions
The chosen versions are those available in Ubuntu 18.04, our baseline distro.
This allows to drop our own copy of gwenhywfar-gui.
2020-02-24 13:31:02 +01:00
Christopher Lam
62c2203d40 Merge branch 'maint' 2020-01-30 20:30:04 +08:00
Christopher Lam
2adaf692b8 [lot-viewer.scm] initial commit
Simple report to visualise lots (business and non-business) in a
spreadsheet. Each column is a unique lot, and each row is a unique
transaction. The lot balance, and the associated lot invoice are also
included.

Each transaction is analysed to render the split in the lot column,
and non-lot splits are rendered in a last column.

An account must be chosen in options, and all splits in the specified
date range will be scanned to find unique lots which are all reported
in order of first appearance.

A heavy APAR account will lead to an impractical number of columns
signifying multiple lots, therefore date-range filtering and
description filtering are both encouraged to narrow down the list of
transactions.
2020-01-29 18:55:35 +08:00