Commit Graph

23260 Commits

Author SHA1 Message Date
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
Dean Jagels
779c6b65cf Bug 102787: Allow entry completion on currency selection 2020-09-11 13:55:00 -04: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
jean
3d98ba092f Fix reversed logic in gnc_quartz_should_quit 2020-08-27 17:00:32 -07:00
jean
bbdd4f34b6 Bug 797900 - Crash caused by Quitting while Check and Repair All is running
The account tree page didn't have a "finish" function normally used to verify a page can close.
I added one, along with two flags that indicate whether a scrubbing operation is currently ongoing
and whether we should quit when the scrubbing is done.
The result is: If a user attempts to quit while scrubbing isn't done, an alert pops up asking whether the
user wants to abort the scrub. If so, the scrub is aborted (safely) and GC quits.
If not the app does not quit.

I have to say, I'm not sure this is the right way to do this. In my view, the right way would be:
- Disable the "quit" menu when scrubbing is happening (for some reason gnc_suspend_gui_refresh() does
not cause the quit menu to be grayed) so there's no chance of quitting while scrubbing is ongoing
- If needed, add an abort scrubbing button to the main window. Not sure whether that's desirable or not.

Let me know what you think: is what I have what we need, or would the above be better.
2020-08-27 16:59:55 -07:00
Christopher Lam
a50c188dca Bug 797923 - Running employee report results in "Unbound variable: txn"
The bug was triggered by txn referring to the invalid split being
used *outside* the let environment. Use (car splits) instead for
logging. Also augment error handling by listing the invalid splits
before the aging-list.
2020-08-26 23:16:55 +08:00