Commit Graph

23213 Commits

Author SHA1 Message Date
John Ralls
d4fe584120 Bug 797896 - [HBCI] crash when downloading transactions
Initialize the match list like OFX importer.
2020-09-13 15:42:29 -07:00
Robert Fewell
d2af5d703b Complete the change from using associate in the source files
This commit changes some further use of associate and derivates in the
source files to doclink to make it more consistent.
2020-09-13 13:05:46 +01:00
Robert Fewell
7c1026783b Change the document link KVP symbol to original name
To maintain compatibility with any existing document link entries the
old 'assoc-head' and 'asooc_uri' entries will be used for the gsetting
and KVP entries.
2020-09-13 11:01:37 +01:00
Christopher Lam
63ec05d0dd [reports] rendering is more responsive by pulsing progressbar
previously the renderer (html-document object to html-string) would
attempt to update progressbar. However the html-object is a deeply
nested hierarchical object, (length object) is not suitable to
calculate progressbar fraction. Therefore we change update by pulsing
progressbar instead every 2500 loops in html-document, html-table and
html-text renderers.
2020-09-12 21:31:24 +08:00
Christopher Lam
d0b8cd27c5 [register] reduce tempo of updating progressbar
every 200 splits instead of every split
2020-09-12 21:31:20 +08:00
Robert Fewell
a0f2ccc97e Bug 797874 - new account UI error from register
If the path 'test:testy' is typed in to the transfer field and it does
not exist you are asked if you want to create it. The new account
dialog opens for 'test' which you create but this new 'test' account
does not show in the parent account tree for the second new account
dialog.

To fix this the existing account parent_tree is dropped and a new one
is use created which has the newly created parent account.
2020-09-12 11:01:58 +01:00
Frank H. Ellenberger
7f64cceeea Merge L10N_et into maint ...
Fix the copyright line and update from a fresh pot:
487 translated messages, 11 fuzzy translations, 5031 untranslated
messages.
2020-09-12 00:55:13 +02:00
Frank H. Ellenberger
d269c6d4a0 Merge Siim Sellis' pull request about L10N:et
Update et.po
487 translated messages, 5064 untranslated messages.
2020-09-12 00:29:43 +02:00
John Ralls
843282f583 Merge John Ralls's 'assoc_title' into maint. 2020-09-11 11:41:42 -07:00
John Ralls
bca039de78 Merge Frank Ellenbergers 'assoc_title' into John Ralls's 'assoc_title. 2020-09-11 11:39:09 -07:00
John Ralls
7addd1fcfb Fix the horizontal scrollbar in the linked docs window.
Setting a listview column to expand before the window is realized causes
the sizer to allocate too much width so that the horizontal scrollbar is
required. Move setting the expand column to after gtk_widget_show_all.
2020-09-11 11:34:32 -07: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
50bf59d62e Rename Transaction and Invoice Associations to Document Links.
More clearly describes the actions and is more consistent with other
software (e.g. Libre Office).

This commit primarily changes the translatable strings, though it also
removes the Remove menu item because that can be done in the Manage
dialog box.
2020-09-11 11:34:31 -07:00
Robert Fewell
d0309b39d9 Bug 797935 - Strange formal register headers
The headers were made up from two parts, 'Tot' which was translated and
'Debit/Credit' which was not. Traced to some missing brackets around
the returned dflt_acct_debit_str and dflt_acct_credit_str.
2020-09-11 15:23:27 +01:00
Robert Fewell
6997f0057e Bug 797936 - Lot viewer notes field too narrow
Change the horizontal alignment of the notes text view to fill space
and change the scrollbars to be automatic.
2020-09-11 14:26:15 +01:00
Christopher Lam
3537415889 [register.scm] prevent crash on running report on empty book 2020-09-11 18:50:28 +08:00
Christopher Lam
c7b0aca44a [register.scm] show progressbar when building report 2020-09-11 18:21:05 +08:00
Frank H. Ellenberger
444d954116 Fix a typo in a translator comment 2020-09-11 03:16:01 +02:00
Frank H. Ellenberger
694540435c Merge branch PR #783 into maint
2028 translated messages, 2139 fuzzy translations, 1384 untranslated
messages.
2020-09-11 02:56:17 +02:00
Frank H. Ellenberger
6d898f6e81 L10N🆔 Fix copyright line
The file was created before commit 3f8ab26.
2020-09-11 02:43:21 +02:00
Frank H. Ellenberger
2f8028c01c Fix help_label of dialog-doclink.glade
Additonal remove question mark from Available
and insert missing spaces into the Business Item variant.
2020-09-11 01:03:58 +02:00
Geert Janssens
c63529ea5a I18n - Update nl.po header file based on suggestions received by Frank Ellenberger 2020-09-10 10:45:11 +02:00
Geert Janssens
15f3faf042 I18n - Dutch translation update
4956 translated messages, 403 fuzzy translations, 190 untranslated messages
2020-09-09 22:22:48 +02:00
Geert Janssens
6c94350a92 I18n - deduplicate translatable strings 2020-09-09 22:22:48 +02:00
Geert Janssens
ad8b602fe2 I18n - Uppercase option name to align with other option names 2020-09-09 22:22:48 +02:00
Christopher Lam
67a18df6a6 Improve responsiveness of register scrub
Similar to f6d34f226:
* refactor to combine scrub_split common code
* progressbar and text updated every 10 splits
* abort_scrub is tested every for loop rather than 100 splits
2020-09-08 10:33:14 +08:00
John Ralls
cfbd353ab7 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-07 12:48:37 -07:00
John Ralls
8dce845cc1 Rename Transaction and Invoice Associations to Document Links.
More clearly describes the actions and is more consistent with other
software (e.g. Libre Office).

This commit primarily changes the translatable strings, though it also
removes the Remove menu item because that can be done in the Manage
dialog box.
2020-09-07 10:42:53 -07:00
Christopher Lam
42249c8969 Don't overwrite gnc_window_show_progress if message is empty string
gnc_window_show_progress receives 2 arguments: message string and
percentage. The progressbar text was not updated if message string was
NULL. Reports call (gnc-window-show-progress "" percent). This commit
ensures empty string does not overwrite progressbar text.
2020-09-07 09:07:47 +08:00
John Ralls
de0422da25 Merge G4js's missing-sentinels into maint. 2020-09-06 14:39:12 -07:00
Christopher Lam
f6d34f226f [Scrub.c] improve responsiveness of progressbar during scrub
Formerly would update progress bar every 100 splits. With scrub being
slow, it's nicer to update every 10 splits. Also remove
the (percentagefunc)(NULL, 0.0) which seems an error -- it would reset
the progressbar back to zero immediately.
2020-09-06 22:54:16 +08:00
Christopher Lam
99101c191c [gnc-main-window] enable show_text for progressbar
This will allow gtk_progress_bar_set_text to actually display the
progress text.
2020-09-06 22:11:55 +08:00
Christopher Lam
979a050ae9 Set parent window properly to gnc_verify_dialog, and i18n string 2020-09-06 22:11:48 +08:00
Gaming4JC
cca4524055
Fix warnings: missing sentinel in function calls
When compiling with -Werror, GNUCash fails to build due to various error: missing sentinel in function call.
This patch resolves the issue by passing nullptr instead of C-style casting NULL.
2020-09-06 00:50:54 -04:00
John Ralls
cbf2a7b9f1 macOS: Give GnuCash time to shut down gracefully.
Instead of letting macOS pull the rug out.
2020-09-05 17:00:56 -07:00
John Ralls
706277e6a8 Merge Jean Laroche's '797900_check_repair_crash' into maint. 2020-09-05 15:50:28 -07:00
triyanwn
015b85abbb Indonesian translation for GnuCash 2020-09-05 11:56:14 +07:00
triyanwn
bc7533c6f1 Indonesian translation for GnuCash 2020-09-05 11:43:46 +07:00
Frank H. Ellenberger
bc9c717d90 I18N: Allign glossary to gnucash.pot
Create a similar copyright header.
Add missing Report-Msgid-Bugs-To.
2020-09-04 22:40:49 +02:00
Christopher Lam
304e497243 Bug 476114 - Goto register by date feature req (bis)
Addendum to c14241644 - ensure the splitlist is sorted before finding
split. This ensures the correct split is found when the register has a
non-default sorting. e.g. sorting by reverse posted-date would find
the most recent split; this commit ensures the split nearest the
desired date is selected.

Also I've confirmed there's no need to clear filter; if the register
has filtered splits, the algorithm will find the nearest *visible*
split on or after the desired date.
2020-09-04 09:52:26 +08:00
Frank H. Ellenberger
3f8ab2684e I18N: Add copyright-holder - improve wording 2020-09-04 02:46:38 +02:00
Frank H. Ellenberger
57d059bac9 I18N: Add copyright-holder
For details see https://github.com/Gnucash/gnucash/pull/780
2020-09-04 00:24:35 +02:00
Christopher Lam
c142416445 Bug 476114 - Goto register by date feature req
Adds ability to jump to arbitrary date.

Finds first split whose posted date >= specified date, and jump to it.
2020-09-03 11:08:14 +08:00
Christopher Lam
befc4056ec [gnc-plugin-page-report] use gnc_print_time64
removes the need to store and reset the current QofDateFormat via
qof_date_format_set and qof_date_format_get.

also g_free format_code properly
2020-09-02 10:48:10 +08:00
Christopher Lam
f503f708f5 [reports] use gnc-print-time64
removes the need to store and reset the current QofDateFormat via
qof-date-format-set and qof-date-format-get.

also fix test-transaction csv output test.
2020-09-02 10:48:10 +08:00
Christopher Lam
094b4ba842 [dialog-file-access] handle close-dialog with <ESC> 2020-09-02 10:48:10 +08:00
Christopher Lam
fb42065213 g_free strings allocated with gnc_prefs_get_string
gnc_prefs_get_string will return a newly-allocated string. after use,
they must be g_freed.
2020-09-02 10:48:10 +08:00
siimsellis
0fbda2fffe
Update et.po
Added translations to some words and phrases.
2020-09-01 11:23:40 +03:00
Frank H. Ellenberger
d9b652de45 L10N:et: Create Estonian translation
Only filled with common parts from GOffice and GTK
2020-08-29 06:18:55 +02:00
John Ralls
de33d1ef15 Bug 797924 - Crash when searching for customer to process payment.
Slightly speculative since the bug isn't reliably reproduceable, but
qof_class_get_property can silently return nullptr so it's wise to
make sure that we have a ptr before trying to dereference it.
2020-08-28 09:03:59 -07:00