Commit Graph

26587 Commits

Author SHA1 Message Date
John Ralls
a9be8d5180 Release GnuCash Unstable 4.900 2023-01-09 14:38:02 -08:00
John Ralls
013d1ee52c Remove extra option requirement from the Stock Transaction Assistant. 2023-01-09 14:38:02 -08:00
John Ralls
fb9947b7b6 Rename GncDateTime's ymd to gnc_ymd to avoid a name conflict with Carbon. 2023-01-09 14:36:06 -08:00
John Ralls
e92e7d0b2e Add the Info.plist created in 1a906b00a to the dist. 2023-01-09 14:32:52 -08:00
Frank H. Ellenberger
e4d0abb422 Merge weblate-beta 2023-01-09 01:59:57 +01:00
Frank H. Ellenberger
f4d83c7df9 Merge branch 'maint' 2023-01-09 01:52:17 +01:00
Arve Eriksson
5e8de30b02
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/sv.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/sv/

Co-authored-by: Arve Eriksson <031299870@telia.com>
2023-01-09 01:21:57 +01:00
Arve Eriksson
cda40a9f20
Translation update by Arve Eriksson <031299870@telia.com> using Weblate
po/sv.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
39 failing checks (0.7%)
Translation: GnuCash/Program-beta (Swedish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/sv/
2023-01-09 01:16:19 +01:00
John Ralls
3231185a51 [c++ quotes] std::setw requires include <iomanip>. 2023-01-08 16:15:06 -08:00
John Ralls
fed4daf4e7 [c++ quotes] Make sure to include all of the required Boost libraries.
Also Boost-iostreams needs winsock but doesn't tell Cmake, so explicitly
add it to the link list.
2023-01-08 16:11:58 -08:00
John Ralls
61673ec919 [c++ options] Rearrange header includes to avoid windows.h conflicts.
Since SWIG guile pulls in libguile early the options headers must
be included in a begin block.
2023-01-08 16:09:32 -08:00
John Ralls
d4a1fb92a6 [c++ options] strptime.h must be included as extern "C". 2023-01-08 16:08:04 -08:00
John Ralls
f96f8f4043 [c++options] Reorder include directives to fix Windows biuld.
libguile.h includes windows.h and doing so breaks including c++ headers
after that use advanced features like enum class. Ensure that the
gnc-option headers are included before libguile.h.
2023-01-08 16:04:27 -08:00
Frank H. Ellenberger
8a75523928 Translate "Accounts" in "Filter %s by..." 2023-01-09 00:12:02 +01:00
John Ralls
de847278d6 Restore operation of macOS menu accelerators
By enabling their handling by macOS. This will have the side effect of
breaking cmd-c/x/v in dialog boxes until I can figure out how to
do this the right way via GtkApplication.
2023-01-07 09:48:16 -08:00
John Ralls
59410a9518 Merge branch 'maint' 2023-01-07 08:42:17 -08:00
Christopher Lam
40b76061e0 Bug 798717 - Reports > Business > Fancy Invoice duplicates company details
company details were duplicated in error.
2023-01-07 22:07:23 +08:00
John Ralls
f7324d16b4 Bug 798625 - "Last up through report date" changed in 4.12
Don't adjust report dates with time64CanonicalDayTime. They're set
to 23:59:59 local which is always >= neutral time at which prices
and transactions are timestamped. Local noon is before neutral time for
all time zones east of UTC+2.
2023-01-07 03:49:48 +03:00
Christopher Lam
c65b36490a Merge branch 'master-progress' 2023-01-06 16:33:46 +08:00
Christopher Lam
3bcfb29545 Change all ... to … in files modified by 797098c6e5 2023-01-06 15:14:13 +08:00
Christopher Lam
2733d23b68 [dialog-sx-editor] increase EX_CAL_NUM_MONTHS from 6 to 12
because the example calendar can show up to 12 months. This means a
daily SX will show all recurrences in the calendar instead of only 6
months.
2023-01-06 11:03:33 +08:00
Christopher Lam
a9a67c717e [dialog-sx-editor] plug GHashTable leaks when returning early 2023-01-06 11:03:33 +08:00
gallegonovato
7a6ddadbb0 Translation update by gallegonovato <fran-carro@hotmail.es> using Weblate
po/es.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
10 failing checks (0.1%)
Translation: GnuCash/Program-beta (Spanish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/es/
2023-01-06 04:02:40 +01:00
Wellington Terumi Uemura
950033c410 Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program-beta (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/pt_BR/
2023-01-06 04:02:39 +01:00
Milo Ivir
2770452fb2 Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program-beta (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hr/
2023-01-06 04:02:39 +01:00
J0kWang
4957981cb7 Translation update by J0kWang <lianjiefly@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
35 failing checks (0.6%)
Translation: GnuCash/Program-beta (Chinese (Simplified))
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/zh_Hans/
2023-01-06 04:02:38 +01:00
ovari
8f76c56ecc Translation update by ovari <ovari123@zoho.com> using Weblate
po/hu.po: 61.7% (3335 of 5401 strings; 1218 fuzzy)
484 failing checks (8.9%)
Translation: GnuCash/Program-beta (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/program-beta/hu/
2023-01-06 03:59:38 +01:00
Frank H. Ellenberger
506a1b3c5e Merge branch 'maint' 2023-01-06 01:31:13 +01:00
Wellington Terumi Uemura
6ba5b57e41
Translation update by Wellington Terumi Uemura <wellingtonuemura@gmail.com> using Weblate
po/pt_BR.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Portuguese (Brazil))
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pt_BR/

Co-authored-by: Wellington Terumi Uemura <wellingtonuemura@gmail.com>
2023-01-05 03:22:06 +01:00
Milo Ivir
ca0145d73d
Translation update by Milo Ivir <mail@milotype.de> using Weblate
po/hr.po: 100.0% (5401 of 5401 strings; 0 fuzzy)
0 failing checks (0.0%)
Translation: GnuCash/Program (Croatian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hr/

Co-authored-by: Milo Ivir <mail@milotype.de>
2023-01-05 03:22:06 +01:00
J0kWang
1399cd24ae
Translation update by J0kWang <lianjiefly@gmail.com> using Weblate
po/zh_CN.po: 100.0% (5401 of 5401 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>
2023-01-05 03:22:06 +01:00
ovari
6d8fa2cc2a
Translation update by ovari <ovari123@zoho.com> using Weblate
po/hu.po: 61.7% (3335 of 5401 strings; 1218 fuzzy)
490 failing checks (9.0%)
Translation: GnuCash/Program (Hungarian)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/hu/

Co-authored-by: ovari <ovari123@zoho.com>
2023-01-05 03:22:06 +01:00
John Ralls
edf5a8783d Bug 798702 - Crash in gnc_plugin_page_focus_idle_destroy() closing...
a report before it completes.

The problem was that the progress bar runs the event loop and lets
tab get destroyed while the stream handler is running, taking the
page and html objects along with it. Then the stream handler returns
and the callers try to use the freed page and html objects. Crash.

To avoid this take out weak pointers on the page and html and only
use the page and html if the respective finalize functions haven't
NULLed the weak pointer.
2023-01-04 18:20:57 -08:00
Alex Aycinena
1085d8920b Update Form/Schedule line references for 2022 for the US Income Tax Report 2023-01-04 16:58:57 -08:00
John Ralls
b922cfd78d Bug 798679 - Unicode normalization should be used for comparison but not stored.
Change to NFC normalization for all comparisons because the Unicode
meaning of compatible might collide with the user's intent.
2023-01-04 13:19:36 -08:00
John Ralls
797098c6e5 [Bug 798705] New: UI string mismatch: OK vs. Next 2023-01-03 14:55:44 -08:00
Geert Janssens
37d009bd08 Remove debug output 2023-01-01 17:24:48 +01:00
Geert Janssens
470afc918f Relocate resource to /org/gnucash/GnuCash prefix
This is done to be consistent with the GSettings
prefix (which is also a GLib subsystem).

In the process replace the magic string with
a single, globally defined macro.
2023-01-01 17:23:17 +01:00
Geert Janssens
b3fa876da3 Drop ui path specifier from resources paths
They were only there due to how the source directories
are organized and not really adding useful detail.
Removing it from the resource paths gives more freeedom
wrt to the organization of source files.
2023-01-01 16:34:29 +01:00
Geert Janssens
a543143689 Generate the gresource xml file based on a list of resources
This inverts the logic from
- having an xml file and extracting dependencies
  from it to
- having a list of dependencies and generating
  an xml file from it

In the original configuration adding or removing a
resource to/from the gresources.xml file would not
be detected by cmake as a change in dependencies.
The user would have to remember to rerun cmake manually.
By explicitly listing the dependencies, cmake will
properly recongifure and regenerate if that list is
updated. The remainder of the dependency configuration
also ensures proper rebuilds of gnucash, libaqbanking
and libofx if any of the resource files change, a new
one is added or an existing one is removed.

For reusability the code to generate the gresource related
files as been extracted into a separate function.
2023-01-01 15:06:42 +01:00
Kaligula
a66dec3d71
Translation update by Kaligula <kaligula.dev@gmail.com> using Weblate
po/pl.po: 71.2% (3846 of 5401 strings; 1096 fuzzy)
255 failing checks (4.7%)
Translation: GnuCash/Program (Polish)
Translate-URL: https://hosted.weblate.org/projects/gnucash/gnucash/pl/

Co-authored-by: Kaligula <kaligula.dev@gmail.com>
2022-12-31 22:51:40 +01:00
Geert Janssens
bdde17115d Use relative paths to ui files 2022-12-31 14:49:19 +01:00
Geert Janssens
510b57843b Some whitespace fixes
Kept separate to not clutter the actual changes
2022-12-31 13:17:22 +01:00
Geert Janssens
57294d7e16 Keep ui files for optional modules within the module
This goes for ofx and aqbanking. If either
module is not part of the build, the ui files
should not be part of the resource of gnucash.
It turns out each compilation unit can have
its proper resource though, so the build system
was changed to include the ui files in a local resource
for the aqbanking and ofx modules instead of to
the gnucash global resource.
2022-12-31 13:13:40 +01:00
John Ralls
31d79e3004 Merge Bob Fewell's 'bug798673' into master. 2022-12-30 16:00:12 -08:00
John Ralls
a7abb82d30 Merge Bob Fewell's 'bug403979' into master. 2022-12-30 15:46:51 -08:00
John Ralls
fb29ed9d4f Merge Bob Fewell's 'bug769256' into master. 2022-12-30 14:43:52 -08:00
John Ralls
a9756b1950 Change all ... to … in files added by mainwin2. 2022-12-30 14:17:35 -08:00
John Ralls
5c17950a59 Merge Bob Fewell's 'mainwin2' into master. 2022-12-30 13:56:54 -08:00
John Ralls
72f81f7b83 Merge Bob Fewell's 'reg-desc' into master. 2022-12-30 11:38:58 -08:00