Christopher Lam
6f6d2fef48
[test-qofbook] basic features test
...
sets a feature and tests it's set. it's impossible to design a book
with unknown features using the API.
2022-10-27 20:10:49 +08:00
Frank H. Ellenberger
82cc08f9b7
po/README: Remove relics from ancient context forms
2022-10-25 03:18:00 +02:00
이정희
74f7698570
Translation update by 이정희 <daemul72@gmail.com> using Weblate
...
po/ko.po: 65.4% (3537 of 5401 strings; 944 fuzzy)
241 failing checks (4.4%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/
Translation update by 이정희 <daemul72@gmail.com> using Weblate
po/ko.po: 65.3% (3528 of 5401 strings; 949 fuzzy)
242 failing checks (4.4%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/
Co-authored-by: 이정희 <daemul72@gmail.com>
2022-10-23 10:24:28 +02:00
Christopher Lam
b778152eba
[gnc-plugin-page-sx-list] don't disable Edit/Delete at startup
...
At startup, if there are SX in the editor, the previous block disables
Edit & Delete actions, yet in the next block, the call to
gtk_tree_selection_select_path will select a SX which cannot be edited
nor deleted unless the user selects it again.
This commit skips disabling Edit & Delete actions, and calls
gppsl_selection_changed_cb which enables Edit & Delete sensitivity if
there is a SX selected.
2022-10-23 16:23:06 +08:00
Christopher Lam
704946d517
[test-ifrs-cost-basis] amend tests to accommodate extra column
...
from last commit 2afd979237
2022-10-23 11:05:49 +08:00
Christopher Lam
2afd979237
[ifrs-cost-basis] compare register vs calculated capgain per transaction
...
ifrs-cost-basis report calculate the ACB per stock transaction. It
will compare the register vs calculated acb and report any
variance.
2022-10-23 08:38:25 +08:00
John Ralls
ca0d86a3a3
Update macOS CI dependencies for master branch.
2022-10-20 14:56:47 -07:00
Geert Janssens
ed4d2f32a0
Update documentation invocation to use gnucash-manual instead of gnucash-help
2022-10-19 13:10:51 +02:00
John Ralls
70958279b2
Accomodate WebKit package version update to webkit2gtk-4.1.
2022-10-18 15:34:57 -07:00
Christopher Lam
9a141a8c76
xxxgtk_textview_get_text returns a char* which must be freed, redux
...
xxxgtk_textview_get_text may return "" whose strlen is zero, and the
previous code would fail to free it. reword this code to ensure it is
freed appropriately.
2022-10-18 21:43:59 +08:00
Milo Ivir
8f1794cb28
Translation update by Milo Ivir <mail@milotype.de> using Weblate
...
po/glossary/hr.po: 100.0% (216 of 216 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/hr/
Co-authored-by: Milo Ivir <mail@milotype.de>
2022-10-18 05:12:45 +02:00
Abdul Quddos (AQN)
e93f985f17
Translation update by Abdul Quddos (AQN) <yousufi81@gmail.com> using Weblate
...
po/ur.po: 71.5% (3866 of 5401 strings; 1035 fuzzy)
1103 failing checks (20.4%)
Translation: GnuCash/Program (Urdu)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ur/
Translation update by Abdul Quddos (AQN) <yousufi81@gmail.com> using Weblate
po/ur.po: 71.3% (3854 of 5401 strings; 1036 fuzzy)
1105 failing checks (20.4%)
Translation: GnuCash/Program (Urdu)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ur/
Co-authored-by: Abdul Quddos (AQN) <yousufi81@gmail.com>
2022-10-18 05:12:45 +02:00
Christopher Lam
026c795c82
xxxgtk_textview_get_text returns a char* which must be freed
2022-10-18 09:39:38 +08:00
John Ralls
14a0ea4ed3
[price-quotes] Sort and format source list.
2022-10-17 11:13:55 -07:00
John Ralls
1a906b00aa
[price-quotes] Enable gnucash-cli to retrieve preferences on macOS.
...
By embedding a minimal Info.plist with a bundle ID into the executable.
This necessitated a change to binreloc because the unix-style install
depended on there being a bundle ID only when the program was run from
an application bundle.
2022-10-17 10:06:21 -07:00
Christopher Lam
d27de50c35
[assistant-stock-transaction] input positive capgains for Credit income acct
...
In a long position, a positive capital gain indicates the unit price
has increased from Buy to Sell.
In a short position, a positive capital gain indicates the unit price
has decreased from Short Sell to Cover Buy.
i.e. when inputting capital gains, the UI amount being positive
indicates the income account has a credit value. i.e. the investor has
enjoyed a 'profit' on their transaction.
2022-10-16 23:40:10 +08:00
John Ralls
2767587874
[price-quotes] Fix setting alphavantage API key.
2022-10-14 15:47:07 -07:00
John Ralls
939a77407c
Merge branch 'price-quotes-cpp'
2022-10-14 11:25:14 -07:00
John Ralls
7f2a09a69f
[price-quotes] Handle short error strings from finance-quote-wrapper.
...
This keeps the translation work in GnuCash and improves the error
signalling in gnc-quotes.
2022-10-14 10:26:51 -07:00
John Ralls
fe9b23ff2b
[price quotes] Pass short errors to gnc-quotes.
...
And wordier but not translated messages when STDERR is a tty.
2022-10-14 10:26:51 -07:00
John Ralls
88d658fef0
[price-quotes] Date::Manip is no longer required.
2022-10-13 14:58:27 -07:00
John Ralls
50c72b4f88
[price-quotes] Remove m_ready and usable() from GncQuoteSource.
...
GncQuoteSource ctor throws if something is wrong so usable is always true.
2022-10-13 14:28:17 -07:00
John Ralls
7d93774dd2
[price-quotes] Throw instead of returning if there aren't any commodities to quote.
...
So that the user gets sees an error instead of silent failure.
2022-10-13 13:51:37 -07:00
John Ralls
81d4ea9550
[price-quotes] Remove F::Q version format check.
...
We don't care what the version string looks like as long as there is one.
2022-10-13 12:58:09 -07:00
John Ralls
c78fe37ff7
[price-quotes] General typo fixes and code cleanup.
2022-10-13 12:52:36 -07:00
John Ralls
99dffa7120
[price-quotes] Use c++ syntax for PricesDialog decl.
2022-10-13 12:51:48 -07:00
John Ralls
90bcde2cfb
[price-quotes] Rename Gnucash::quotes_info to Gnucash::check_finance_quote.
2022-10-13 12:37:54 -07:00
John Ralls
70c9d4c9e3
[price-quotes] Fix version retrieval.
...
Plus there's no need for a "not found" version string because GncQuotes
construction will throw if Finance::Quote isn't correctly installed. No
object, nothing to call version() on.
2022-10-13 12:20:59 -07:00
John Ralls
97e730b8d8
[price-quotes] Reformat test quote response strings to one line per quote.
2022-10-13 11:24:49 -07:00
Philippe Lamare
95a8814034
Translation update by Philippe Lamare <ph.lamare@free.fr> using Weblate
...
po/fr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/
Co-authored-by: Philippe Lamare <ph.lamare@free.fr>
2022-10-12 13:25:47 +02:00
Pablo Fernandez
5b7932dfb5
Translation update by Pablo Fernandez <pfernandez@theansweris27.com> using Weblate
...
po/glossary/es.po: 100.0% (222 of 222 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Glossary (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/glossary/es/
Co-authored-by: Pablo Fernandez <pfernandez@theansweris27.com>
2022-10-12 04:52:06 +02:00
Guille Lopez
14dee67011
Translation update by Guille Lopez <willelopz@gmail.com> using Weblate
...
po/es.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/es/
Co-authored-by: Guille Lopez <willelopz@gmail.com>
2022-10-12 04:52:06 +02:00
John Ralls
f24c2c8bdd
Instrument failure to set the account when creating a split.
2022-10-11 14:05:45 -07:00
Robert Fewell
91486a7318
Add a function to combocell to set the search behaviour
...
When searching for entered text, the combocell search starts from the
front till the entered text is not found and then changes to find the
entered text any where.
This function sets the combocell to use only the second option, type
ahead search.
2022-10-10 11:41:11 +01:00
Robert Fewell
46c2e44988
Change the Register description layout cell type.
...
Currently the description cell type is QUICKFILL_CELL_TYPE and
commit changes it to COMBO_CELL_TYPE. Doing this allows the user to
select a transaction description from a list or do a similar search to
that of the transfer cell.
2022-10-10 11:17:02 +01:00
Robert Fewell
e366528770
Change Register popup width
...
When obtaining the popup width when using autosize, set it to the width
of the cell unless it is smaller than the default, then use that.
2022-10-10 11:05:06 +01:00
Mike Alexander
3c306eae65
Merge branch 'maint'
2022-10-09 22:27:55 -04:00
Mike Alexander
2d3e80ea08
Compatibility with XCode's "new build system"
...
With XCode 14 or newer CMake tries to use the "new build system" which has a
requirement that if two targets depend on the same generated file one of them
must depend on the other. This commit adds reduntant dependencies to satisfy
this requirement.
2022-10-09 01:10:06 -04:00
이정희
5ed45e081c
Translation update by 이정희 <daemul72@gmail.com> using Weblate
...
po/ko.po: 64.3% (3473 of 5401 strings; 996 fuzzy)
249 failing checks (4.6%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/
Translation update by 이정희 <daemul72@gmail.com> using Weblate
po/ko.po: 63.9% (3454 of 5401 strings; 1012 fuzzy)
263 failing checks (4.8%)
Translation: GnuCash/Program (Korean)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/ko/
Co-authored-by: 이정희 <daemul72@gmail.com>
2022-10-07 16:11:20 +02:00
Christopher Lam
14fe4d862f
Bug 798629 - gnucash crashes attempting to import OFX file
...
It's not correct to g_free id if the g_hash_table_insert returns
FALSE; returning FALSE means the key/value pair was replaced. The key
will automatically be freed by glib thanks to the new_hash having a
GDestroyNotify g_free:
GHashTable* new_hash = g_hash_table_new_full
(g_str_hash, g_str_equal, g_free, NULL);
2022-10-07 22:10:30 +08:00
ovari
8193d7f23a
Translation update by ovari <ovari123@zoho.com> using Weblate
...
po/hu.po: 60.5% (3271 of 5401 strings; 1280 fuzzy)
506 failing checks (9.3%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/
Co-authored-by: ovari <ovari123@zoho.com>
2022-10-05 03:24:57 +02:00
John Ralls
c7d1b6ab26
Bug 798633 - 4.12 build failure on 32-bit Linux: "No code for module"
2022-10-04 09:12:10 -04:00
John Ralls
673a925554
[price-quotes] Remove superseded gnc-fq-dump and Quotes-example.pl
2022-10-02 11:50:26 -07:00
John Ralls
e817091de1
[price-quotes] Warn only once if the AlphaVantage Key isn't set.
...
And check the environment if it's not in preferences.
2022-10-02 11:50:26 -07:00
John Ralls
7eaa0eb292
[price-quotes] Add dump command to gnucash-cli.
2022-10-02 11:50:26 -07:00
John Ralls
d97ea77762
[price quotes] Add report member function to display quote information to stdout.
...
Instead of creating price instances in the database.
2022-10-02 11:50:26 -07:00
John Ralls
6ffb0bb633
[price-quotes] Report quote fetch failures to the user.
2022-10-02 11:50:26 -07:00
John Ralls
4c47e91180
[price-quotes] Implement error codes for currency and quote failures.
2022-10-02 11:50:26 -07:00
John Ralls
6db7800ca5
[price-quotes] Doxygen docs.
2022-10-02 11:50:26 -07:00
John Ralls
29ce925646
[price-quotes] Test the other fetch overloads and quote values.
2022-10-02 11:50:26 -07:00