John Ralls
cf5da9fffd
Resolve merge conflicts.
2021-11-12 19:56:29 -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
John Ralls
67dab6b320
Remove business-options.scm and business-prefs.scm.
...
Their functions have been reimplemented elsewhere.
2021-07-31 18:18:04 -07:00
John Ralls
76b0001cbe
Remove option-util.
2021-07-31 17:54:29 -07:00
John Ralls
e2c87f23c3
Convert optiondb users in gnome and gnome-utils to C++.
...
To enable using std::unique_ptr<GncObjectDB> and avoid memory management
problems.
2021-07-31 17:54:29 -07:00
John Ralls
60c1d16e64
Add/rename files in POTFILES.
2021-07-31 17:54:29 -07:00
John Ralls
9111f118e0
Business option create_option_widget specializations.
...
Required creating a registration class for create_option_widget
overload functions because without it the dispatch function
complained of missing symbols at link time.
2021-07-31 17:54:28 -07:00
John Ralls
67508ea039
Reimplement dialog-options for C++.
2021-07-31 17:54:28 -07:00
John Ralls
aa246d3096
Make implementation classes and template code visible only in app-utils.
...
So only GncOption and the GncOptionDB free-function interface are public.
We don't want to expose template headers widely, it would blow up compilation
times and might lead to one definition rule violations.
2021-07-10 17:24:58 -07:00
John Ralls
ffc6866406
Changes to accommodate moving guile engine bindings to bindings/guile.
...
Plus for changing targets gncmod-engine and gncmod-app-utils to
gnc-engine and gnc-app-utils.
2021-07-10 17:24:58 -07:00
John Ralls
d2655d3fb0
Remove gnc-option-db business convenience functions.
...
gnc_option_db_lookup_invoice_option used only once, so moved its
guts there. The others weren't used at all.
2021-07-10 17:24:56 -07:00
John Ralls
455d3c2d60
Add GncOptionDB class.
2021-07-10 17:24:56 -07:00
John Ralls
c0ba3e2706
[C++ Options] Begin Implementation for basic and validated options.
2021-07-10 17:24:56 -07: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