Commit Graph

23043 Commits

Author SHA1 Message Date
Christopher Lam
51d00fcbe5 [gnucash-cli] --report show/list outputs to stdout
and their error messages output to stderr
2020-06-13 16:33:20 +08:00
John Ralls
e5a14b8946 Can't set target link options until we've defined the target. 2020-06-12 23:22:27 +02:00
Geert Janssens
49e394e3bd Bug 797800 - [help screen items] clarification welcome
This fixes the presence of the 'input-file' command line option.
It's an implementation detail that wasn't meant to be listed in help.
The way to fix it is keeping two option_description variables. One
with all possible values to parse and one with only those to present
to the user
2020-06-12 17:43:40 +02:00
goodvibes2
f1ff45ecae Bug 796993 - Get Quotes: Err msg if Alpha Vantage API key needed
AlphaVantage API Key is needed for all currency quotes
and stock quotes with source 'alphavantage' or 'vanguard' or
multi sources that include 'alphavantage'.
Give an error message instead of failing with no reason.
2020-06-12 15:20:57 +10:00
goodvibes2
60da4bd7bf gnc-fq-dump: Err msg if AlphaVantage API Key is needed but missing
AlphaVantage API Key is needed for all currency quotes
and stock quotes with source 'alphavantage' or 'vanguard' or
multi sources that include 'alphavantage'
2020-06-12 15:11:53 +10:00
goodvibes2
ec08fc1d1a gnc-fq-dump: add examples to synopsis + remove tabs 2020-06-12 15:05:53 +10:00
Frank H. Ellenberger
7754f035c4 Merge branch 'maint' 2020-06-12 06:52:41 +02:00
Frank H. Ellenberger
9344e5a467 Merge remote-tracking branch 'origin/HEAD'
The usual reference conflicts in po files.
2020-06-12 02:39:05 +02:00
Frank H. Ellenberger
413483ae05 L12N:de 3. Update header 2020-06-12 01:29:26 +02:00
Frank H. Ellenberger
2ad6d168e7 L12N:de 2 Tagestips & 1 Tippfehler
5403 übersetzte Meldungen, 27 ungenaue Übersetzungen, 9 unübersetzte
Meldungen.
2020-06-12 01:22:20 +02:00
Frank H. Ellenberger
1618d86593 L12N:de 1.msgmerge
5401 übersetzte Meldungen, 27 ungenaue Übersetzungen, 11 unübersetzte
Meldungen.
2020-06-12 01:15:27 +02:00
Frank H. Ellenberger
c6c46c46f4 Fix a typo in my previous commit 2020-06-12 00:58:24 +02:00
Fred Bone
55ddb1add8 Bug 797799 - Add Tip of the Day for "Notes" field 2020-06-11 23:40:34 +02:00
Frank H. Ellenberger
d784a2fb51 Merge branch 'maint' 2020-06-11 12:58:40 +02:00
Frank H. Ellenberger
3bd3eecc00 I18N: Improve tooltip about double-line-mode
Suggestion by Adrien Monteleone
https://lists.gnucash.org/pipermail/gnucash-user/2020-June/091425.html
2020-06-11 12:36:48 +02:00
Geert Janssens
64bcd320bb Bug 797791 - [Windows] list of command line options after 'gnucash.exe --help'?
This commit makes gnucash-cli a console application on Windows which
means it's output will be redirected to the connected console.
This works both in cmd.exe and in powershell.

gnucash itself remains a Windows GUI application and hence won't output
to console. To capture its output one needs to start it from cmd.exe
(not powershell!) as follows
'path-to-gnucash.exe' >'file-for-stdout' 2>'file-for-stderr'

'file-for-stdout' and 'file-for-stderr' are the names file two arbitrary
files the user has write access to. They don't have to exist beforehand.

Note 'file-for-stderr' can be set to '&1' (without the single quotes)
to redirect everything on stderr to wherever stdout goes.
2020-06-11 11:55:25 +02:00
Geert Janssens
2d9938b577 Revert "Make gnucash-cli a console application on Windows"
This reverts commit 85f26b6e30.
2020-06-11 11:55:17 +02:00
Geert Janssens
85f26b6e30 Make gnucash-cli a console application on Windows 2020-06-11 11:50:28 +02:00
Frank H. Ellenberger
222b34a08b doxygen: PERL_PATH has become obsolete in 1.8.0 (25-02-2012)
https://github.com/doxygen/doxygen/commit/6d1535c
2020-06-11 09:57:26 +02:00
Frank H. Ellenberger
5766ae4bc8 tip_of_the_day.c: Revert unintended change from commit 0cfb40e 2020-06-11 08:29:42 +02:00
Robert Fewell
cfc6a6e8ef Bug 797531 - Improve jumps to filtered registers
Currently if a jump to a filtered register is made, this could be from
a report, other register, reconcile window and transaction associations
and the destination split is not shown the jump will end up at the last
active cell. This could be confusing so add a test for the destination
split being visible and warn the user with an option to temporarily
clear the filter.
2020-06-10 13:35:22 +01:00
Geert Janssens
f749f136ce Drop unused boost::locale::generator instantiations
We now have one single case in gnc-locale-utils and all code
uses gnc_get_boost_locale to get the proper locale.
2020-06-09 23:10:43 +02:00
Geert Janssens
69a04be353 Fix translations using boost::locale::translate
This requires a std::locale generated from a boost::locale::generator
The examples already in our code base used the wrong message_path while
creating the generator and as a result our message catalogs weren't found.

As with the std::locale I have added code to create a locale via
boost::locale only once instead of having each c++ file redo the work.

This code expects a message_path to set for the boost generator.
An earlier attempt queried for this path directly from within
gnc-locale-utils using gnc_get_locale_dir (from gnc-path.h).

That however broke several c++ tests depending on gnc_locale_utils as those
then also needed to be linked against gnc-path.o. I couldn't get the linker
to do this properly so I worked around it for now by splitting the boost_locale
functionality in two steps:
- an initializer step that takes the messages_path as a string and will
  generate the locale
- a getter to get the locale.

The initializer should only be run once, and before the getter is called.
It won't hurt though if the initializer is called more often.
If the getter is called before the initializer it will still
generate a std::locale but without setting a messages_path. It will then
also log a warning explaining translations may not be properly found.
2020-06-09 22:58:06 +02:00
Christopher Lam
b311cc868d Revert guid-dance "balance-sheet/income-statement{-pnl}: swap guids"
This reverts commit 5fb8d3dcdf.

Because Multicolumn Balance Sheet is not ready yet.
2020-06-09 23:07:26 +08:00
Robert Fewell
75cc9b3087 Add some top / bottom margin to the existing association label 2020-06-09 16:05:37 +01:00
Robert Fewell
46655996b6 Bug 797790 - Set the default folder for Associations
When there is no association set, if the file option is chosen set the
default folder for the file chooser to that of the path head preference.
2020-06-09 16:05:37 +01:00
Christopher Lam
240cbbe8e8 [test-cash-flow] include new dependency cash-flow-calc
fixes travis failure
2020-06-09 22:43:36 +08:00
Christopher Lam
8f60a6c617 Bug 797786: [balsheet-pnl] balance sheet includes closing entries
this commit ensures balance-sheet balances do not ignore closing
entries. ensures equity section includes closing balances from
profit&loss. an addendum to b000d4114
2020-06-09 22:33:58 +08:00
Mike Alexander
5660fde36a Don't reference undefined variable if price is not set. 2020-06-09 02:10:25 -04:00
John Ralls
15938d0790 Improve comments explaining exposed generators. 2020-06-08 13:14:20 -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
8ec0b87600 Fix report dependencies that caused Xcode build failure. 2020-06-08 12:38:09 -07:00
Robert Fewell
cb69b806e7 Update Schedule Transaction Template dialog status bar
Copy the functions from gnc_main_window that updates the status bar
with the action tooltips to gnc_window so that both GncMainWindow and
GncEmbeddedWindow can use without duplicating code.
2020-06-08 17:16:23 +01:00
Robert Fewell
4fba473570 Add the Register width menu options to the Scheduled
Transaction Template dialog.
2020-06-08 16:57:02 +01:00
Christopher Lam
d281a3f270 Bug 797786: [balsheet-pnl] show trading-accounts if set 2020-06-08 22:37:00 +08:00
Christopher Lam
555e4dd34b Bug 797786: [balsheet-pnl] add liability&equity section in bs 2020-06-08 22:36:58 +08:00
Christopher Lam
b000d4114c Bug 797786: [balsheet-pnl] retained earnings include closing entries 2020-06-08 22:36:45 +08:00
Christopher Lam
fed4dfba6d [balance-sheet] hide trading-accounts if use-trading-accts? is unset 2020-06-08 22:36:45 +08:00
John Ralls
b5aeca94b6 Bug 797746 - [reports] German umlauts not escaped
Resume using libintl directly. Guile apparently passes gettext msgstrs
through scm_from_locale_string instead of scm_from_utf8_string.
2020-06-07 10:46:01 -07:00
John Ralls
55aadc0b1a Release 3.904 2020-06-07 09:55:00 -07:00
John Ralls
00427840d2 Update translations from the translation project.
Romanian, Ukrainian
2020-06-06 16:51:20 -07:00
Geert Janssens
310354d13f Drop superfluous check for threads library
This is already checked by our CMake configuration.
2020-06-07 00:12:54 +02:00
John Ralls
c09ef9eea0 One more misbehaving text cursor in register. 2020-06-06 15:09:13 -07:00
Christopher Lam
747ad96802 Merge branch 'master-cli-report-upgrades' #733 2020-06-06 19:27:00 +08:00
Christopher Lam
25e55cee82 [cli-reports] implement --report show 2020-06-06 19:25:52 +08:00
Christopher Lam
4d921c67c3 [cli-reports] implement --report list
Lists available reports.
2020-06-06 18:35:59 +08:00
Robert Fewell
f8fdb95ea3 Bug 797775 - Rate/Price displayed as fractional in CSV Export
Change the CSV transaction exporter to follow the Preference setting
of 'General->Force Prices to display as decimals'.
2020-06-06 11:15:08 +01:00
Robert Fewell
c02eef8bbe Bug 797774 - Bill/Invoice due reminder confusion on CN?
The Bill/Invoice due reminder has a column header of 'CN?' which was
unclear of meaning which is 'Is this xxx a Credit Note'. A tooltip
was suggested but a better fix is to change the column to display the
'Type' so you would see Bill, Invoice or 'Credit Note' just like you
see in the find dialog.
2020-06-06 10:14:50 +01:00
Robert Fewell
1e312d4a33 Add a tooltip for the 'C' column in the Chart of Accounts
Add a tooltip to the header for column 'C' of 'Account Color' to match
existing one character headings for 'Place Holder' and 'Hidden' columns.
2020-06-06 10:06:41 +01:00
Robert Fewell
9f97ce6c21 Fix g_signal_handler_disconnect: assertion in trace file
There is a difference in the way the sheet is closed between registers
and invoices. The gnc-date-cell-destroy is being called before the
gnc-item_edit_destroying for invoices and so when the item_edit tries
to do the signal disconnect on the popup_item it no longer exists.
Moving the gtk_widget_destroy before ledger_destroy fixes this.
2020-06-06 10:04:36 +01:00