Commit Graph

24803 Commits

Author SHA1 Message Date
Frank H. Ellenberger
c2a449356b Don't translate org.gnucash.GnuCash.deprecated.gschema.xml.in 2021-10-12 00:51:51 +02:00
TianXing_Yi
e5e46fa509
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5363 of 5363 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: TianXing_Yi <ytx.cash@gmail.com>
2021-10-11 19:18:27 +02:00
J0kWang
651f33e9e6
Translation update by J0kWang <lianjiefly@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5363 of 5363 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: J0kWang <lianjiefly@gmail.com>
2021-10-11 19:18:27 +02:00
John Ralls
bda7d50b1f Merge Christian Wehling's 'trailing_spaces' into maint. 2021-10-11 10:17:15 -07:00
John Ralls
59bd247db7 Merge Jean Laroche's '105334_ofx_multiple_accounts' into maint. 2021-10-11 09:48:42 -07:00
Christopher Lam
23d964a6a4 g_list_free_full requires a GDestroyNotify
error in f4941a5b0
2021-10-09 12:03:57 +08:00
Christopher Lam
0bce6a1d56 [core-utils] introduce gnc:format
(gnc:format str [binding value]...)

str will contain ${binding} which will be replaced to value.
2021-10-09 10:25:53 +08:00
Christopher Lam
3ff5bd8246 [test-core-utils] uses srfi-64 2021-10-09 10:25:49 +08:00
Christopher Lam
f4941a5b01 use g_list_free_full 2021-10-09 10:24:45 +08:00
Christopher Lam
e5027f91cb [test-transaction] option has been renamed 2021-10-09 10:24:33 +08:00
John Ralls
7692027bd5 Merge Jean Laroche's 'fix_memory_leak_ofx' into maint. 2021-10-08 14:26:08 -07:00
John Ralls
7c9c2eba3c Bug 798320 - Error message indicating a crash of GNUcash when closing...
application - MacOS 10.15.7 (19H1419)

Destruction order problem: The SX template accounts can't be destroyed
until after the template splts and transactions are.

Register them before the transactions and splits, as destruction occurs
in reverse order of registration.
2021-10-08 14:17:28 -07:00
jean
be75a433fc Fix memory leak when the user cancels the matching process 2021-10-08 13:38:00 -07:00
Christopher Lam
c321eae7cd Merge branch 'maint-import' into maint #1160 2021-10-08 17:17:48 +08:00
TianXing_Yi
4c5b3658de
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5363 of 5363 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: TianXing_Yi <ytx.cash@gmail.com>
2021-10-07 13:24:39 +02:00
J0kWang
50fb183977
Translation update by J0kWang <lianjiefly@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5363 of 5363 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: J0kWang <lianjiefly@gmail.com>
2021-10-07 13:24:39 +02:00
Giuseppe Foti
6f33e8b1ff
Translation update by Giuseppe Foti <foti.giuseppe@gmail.com> using Weblate
po/it.po: 100.0% (5363 of 5363 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Italian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/it/

Co-authored-by: Giuseppe Foti <foti.giuseppe@gmail.com>
2021-10-07 13:24:39 +02:00
Christopher Lam
ad7bffaae1 Run test-core-utils and test-create-account properly 2021-10-07 19:21:00 +08:00
Christopher Lam
34a4b652c1 [test-core-utils.scm] fix - N_ is no longer a macro 2021-10-07 19:20:32 +08:00
Christopher Lam
7b9ad51390 [import-main-matcher] show destination acct for auto-match 2021-10-06 22:51:26 +08:00
Christopher Lam
3f501bb31b [gnc-gnome-utils] fix memory leak
from 9fb9868b
2021-10-03 21:17:38 +08:00
Christian Wehling
8b82970c63 Removed spaces at the end of translatable strings. 2021-10-01 17:57:12 +02:00
Geert Janssens
9a465fc359 GSettings - add 'deprecate' and 'obsolete' conversions for user preferences
'deprecate' is technically a noop. It serves to remind maintainers
the 'deprecated' preference is to be obsoleted in the next major
release.
'obsolete' goes one step further in that it will cause gnucash to reset
the preference, effectively clearing the value stored in the preferences
backend. This is the final phase of a preference. Following this it
will be completely removed from the GSettings schema in the next
major release.

Notes
* 'deprecate' and 'migrate' are related. Both are a reminder the
preference is to be obsoleted in the next major release. 'deprecate'
does only that though while 'migrate' will also trigger a copy of
the old value to a new location in the databse.

* This commit readds a couple of preferences that had been removed
in the past to be able to properly obsolete them (and to test
the obsoleting code)
2021-10-01 14:46:55 +02:00
Geert Janssens
64576f7d27 GSettings - widen scope from 'migration' to 'transformation'
This commit mostly changes descriptions and variable names to
use the more generic terms 'transformations' or 'conversions'.
'migration' is only one possible transform, future commits will
add others.
There are no functional changes in this commit other than
a logic inversion in parse_one_release_node. It now checks
for nodes named 'migrate' rather than for nodes not named
'migrate' (the code is adapted accordingly to match this
logic change).
2021-10-01 13:59:55 +02:00
TianXing_Yi
71722c46ad
Translation update by TianXing_Yi <ytx.cash@gmail.com> using Weblate
po/zh_CN.po: 99.9% (5358 of 5363 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/zh_Hans/

Co-authored-by: TianXing_Yi <ytx.cash@gmail.com>
2021-09-29 19:35:50 +02:00
John Ralls
285017793d Use plain cat instead of cmake -E cat to join the migratable-prefs.
Cmake -E's cat is too new.
2021-09-29 10:35:19 -07:00
John Ralls
29e7b07ed3 Remove superflous schema_source left over from pasting. 2021-09-28 17:17:23 -07:00
John Ralls
d561cc6188 Revert "Revert "[gnc-plugin-page-register] when reversing reversed txn, offer jump""
This reverts commit c96024ab3d.
GnuCash 4.8a having been tagged.
2021-09-28 12:03:48 -07:00
John Ralls
96db26cc1d Retag 4.8 for more GSettings crash repairs. 2021-09-28 11:27:04 -07:00
John Ralls
8bfa5a63f2 [gsettings] Avoid crash from settings schema not being registered. 2021-09-28 11:00:05 -07:00
John Ralls
c96024ab3d Revert "[gnc-plugin-page-register] when reversing reversed txn, offer jump"
This reverts commit b8c9b1a6ce.
Because I need to re-tag 4.8 after more work on g_settings.
2021-09-28 10:23:55 -07:00
Geert Janssens
dee4f5e511 Rethink how gsettings migration file is constructed
The order in which cmake processes subdirectories in gnucash
matters because that also defines the order in which install
rules will be executed.
We have an install rule to compile the install gschema files.
That rule has to be run after all gschema files are installed.
Considering how our code is organized that means directory
gnucash/gschema should be processed after gnucash/import-export.
That requirement was incompatible with how migratable-prefs.xml
was generated (it required the exact opposite processing order).
This conflict causes gnucash to crash on startup because not
all gschema files are compiled as they should.
The changes in this commit should fix this.
2021-09-28 11:57:56 +02:00
John Ralls
a84891a43c Revert "Revert "[gnc-plugin-page-register] when reversing reversed txn, offer jump""
This reverts commit bdb5f3d871, restoring
the new jump-to-transaction facility post-4.8 release.
2021-09-27 18:12:31 -07:00
John Ralls
caa6bcd1ce Release GnuCash 4.8 2021-09-27 17:46:56 -07:00
John Ralls
bdb5f3d871 Revert "[gnc-plugin-page-register] when reversing reversed txn, offer jump"
This reverts commit b8c9b1a6ce so that
we can release 4.8 without any translatable string changes.
2021-09-27 15:35:35 -07:00
Geert Janssens
b7001b52cf GSettings hotfix - resolve crash due to bad schema reference 2021-09-27 09:20:16 +02:00
Christopher Lam
10c1223df2 Merge branch 'maint-progress' into maint #1150 2021-09-27 08:10:02 +08:00
Geert Janssens
2a7566cc40 Win32 - drop conditional code never reached
We had hardcoded HAVE_HTMLHELPW to always be true so the fallback
code that's only reached when it is false was never reached.
Time to drop this dead code.
2021-09-26 22:58:08 +02:00
Christopher Lam
cb4d9529dc [gnc-plugin-page-register] call invoice editor with parent window 2021-09-26 23:33:33 +08:00
Christopher Lam
8bfcc982dd [assistant-stock-split] set parent window properly
without this commit, the assistant-stock-split window will be hidden
if the register is activated.
2021-09-26 09:40:32 +08:00
Christopher Lam
d82bb7b8a2 [Transaction.c] use is_unset static to denote uncached readonly_reason
tests in 128c8d6f88
2021-09-26 09:40:32 +08:00
Christopher Lam
b8c9b1a6ce [gnc-plugin-page-register] when reversing reversed txn, offer jump
When reversing a transaction which is already reversed, offer a jump
to the reversal transaction.
2021-09-26 09:40:32 +08:00
John Ralls
c17d43ba83 Release GnuCash 4.7 2021-09-25 13:54:11 -07:00
Alexandre
2c069c3119
Translation update by Alexandre <nasmi3+weblate@gmail.com> using Weblate
po/fr.po: 75.9% (4072 of 5363 strings; 906 fuzzy)
374 failing checks (6.9%)
Translation: GnuCash/Program (French)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/fr/

Co-authored-by: Alexandre <nasmi3+weblate@gmail.com>
2021-09-25 07:34:45 +02:00
Christopher Lam
128c8d6f88 [utest-Transaction] add tests for xaccTransGetReadOnly 2021-09-25 13:27:56 +08:00
John Ralls
e123d1bec5 Bug 87847 - RFE: Create a 'checkbox' cell type 2021-09-24 16:23:43 -07:00
John Ralls
3d9faf70d8 Parent the AQB balance dialog to the matcher window when it's present. 2021-09-24 15:01:07 -07:00
Christopher Lam
b6cbc97865 Another double g_object_unref in 998e14c107 2021-09-24 09:35:59 +08:00
Christopher Lam
8e144c2d5c Don't double g_object_unref in 998e14c107 2021-09-24 09:32:29 +08:00
jean
d0d4d95e3b Change the wording of the dialog when no new transactions need to be reviewed 2021-09-23 18:31:14 -07:00