Commit Graph

21273 Commits

Author SHA1 Message Date
Christopher Lam
a0b93dc062 [reports] fix upgrade gnc:owner-report-create
this was omitted in recent merge maint
2019-06-30 20:09:55 +08:00
John Ralls
29acfe85bf Merge branch 'maint' 2019-06-29 17:39:22 -07:00
John Ralls
d42695e75a Release GnuCash 3.6 2019-06-29 16:37:02 -07:00
John Ralls
b4fbec5b12 Use warnings instead of perl -w.
perl -w breaks env on Debian.
2019-06-29 14:25:21 -07:00
John Ralls
e148477c70 Remove build-osx.txt, build-solaris.txt, and misc-notes.txt.
The first two are utterly obsolete and the third copies a mailing
list conversation from 20 years ago about stock splits.
2019-06-29 14:10:23 -07:00
John Ralls
d53649c061 Update Farsi, Romanian, and Ukrainian translations from the translation project. 2019-06-29 13:18:46 -07:00
Frank H. Ellenberger
dd10867195 txt-to-pot.sh: revert CHARSET change from last commit 2019-06-29 12:53:44 +02:00
Frank H. Ellenberger
0f815d9d1d Update txt-to-pot.sh's header to gettext-tools 0.19.8.1
In the last 2 decades a few parameters were added
2019-06-29 12:46:33 +02:00
John Ralls
0543a29012 Merge Dawid Wróbel's uft-8 obfuscation fix into maint. 2019-06-28 11:49:57 -07:00
John Ralls
a3871d9ca1 Warn if can't lock for any reason other than that the file is locked already.
And include the error string in the message.
2019-06-28 11:48:01 -07:00
Christopher Lam
9ed0174cb0 [customer-summary] fix sorting to apply within currency groups
* profit/sales/expense are sorted within currency groups. each group
  is prepended by currency-mnemonic header. header is rendered only
  if num(currencies) > 1.
* markup/customername have no currency grouping.
* customername sorting ensures 'No Customer' entries are last.
2019-06-28 23:10:12 +08:00
Christopher Lam
54c322c2dd [customer-summary] upgrade to handle multiple currencies per owner 2019-06-28 23:10:12 +08:00
Christopher Lam
3785059ae0 [customer-summary] add url to owner-report 2019-06-28 23:10:12 +08:00
Christopher Lam
7e9c9187c2 [customer-summary] remove references to vendor/employee
* there's only customer-summary, no vendor/employee-summary. remove
  dead code and unused hidden options.
2019-06-28 23:09:48 +08:00
Christopher Lam
e19fdf51e3 [customer-summary] refactor report
* handle error cases centrally
* inline numerous single-use functions
* deduplicate common code
* remove reverse? option is always #t, rename income to sales
2019-06-28 23:07:09 +08:00
Christopher Lam
d1a7d37c18 [customer-summary] upgrade to handle multiple currencies 2019-06-28 23:07:09 +08:00
Christopher Lam
5cdd1b072d [customer-summary] eradicate gnc-numeric 2019-06-28 23:07:09 +08:00
Christopher Lam
7f19abaabd [customer-summary] remove unneeded sanity check for owner
and all-accounts which will never be null? because it's made of
income-accounts and expense-accounts, and (null? income-accounts) has
already been handled by previous cond
2019-06-28 23:07:09 +08:00
Christopher Lam
0f5d3e2029 [customer-summary] remove dead code 2019-06-28 23:07:09 +08:00
Christopher Lam
0115dc1a27 [customer-summary] *delete-trailing-whitespace/untabify/reindent* 2019-06-28 23:07:09 +08:00
Christopher Lam
cc4944e536 [html-table] fix never-used function and deprecate 2019-06-28 23:07:09 +08:00
Christopher Lam
a23d72dec2 [owner-report] timepair->time64 2019-06-28 23:07:09 +08:00
Christopher Lam
b4409ed6c8 [owner-report] upgrade find-first-account to seek currency as well
* this is an optional upgrade -- (find-first-account type) will find
  the first account of appropriate type; (find-first-account type
  #:currency curr) will filter to appropriate currency too
2019-06-28 23:07:09 +08:00
Christopher Lam
551a346cb1 [report-utilities] improve commodity-collector documentation 2019-06-28 23:07:09 +08:00
Robert Fewell
cdf348df24 Check for a blank line on the transaction importer
If you have some blank lines, just newlines at the end of file and you
have an account column and do not remove them you will get an error
advising that there is no account column selected or account specified
so this change removes them from being parsed.
2019-06-28 14:06:35 +01:00
Robert Fewell
a4bbaf968f Fix an error in my previous double-click fix
Th gboolean first needs to be setup as a pointer but have left
is_selected as a gboolean.
2019-06-28 14:03:44 +01:00
Robert Fewell
d5c3b4af0c Make the blank split read only
If the transactions are read only or voided and selected for editing a
blank split is added that allows you to change the transaction so in
these cases make the blank split read only.
2019-06-28 10:08:03 +01:00
Robert Fewell
cf3e9239e2 Allow cancelling of a split paste
Currently when you paste a split you can not cancel the changes as they
are already committed. By opening the transaction for editing before
the split paste the cancel option is now available.
2019-06-28 10:08:03 +01:00
Robert Fewell
a7f3f5213f Add a dialogue about pasting on an anchoring split
Present a dialogue advising that you can not paste a split on top of
the anchoring split.
2019-06-28 10:08:02 +01:00
Robert Fewell
4cf92baaa7 Bug 797249 - Cutting home account causes transaction to disappear
Add some test for when cutting splits from transactions that prevent
the cutting of the anchor split and warn when the split is a reconciled
one or when cutting the transaction that it contains reconciled splits.
2019-06-28 10:08:02 +01:00
Robert Fewell
8c6832bcb9 Allow deleting all splits in the General Journal
In the General Journal there is no anchor split so allow all splits to
be deleted.
2019-06-28 10:08:02 +01:00
Robert Fewell
5cb1d0ebb9 Disable menu options that should not be possible when
transactions are marked read only
2019-06-28 10:08:02 +01:00
John Ralls
580696681a Replace gitlog2ul.sh with git-release-notes.pl.
git-release-notes.pl finds the last release on its own and formats
the log output separately as text for NEWS and HTML for the announcements.
2019-06-27 16:43:43 -07:00
Christopher Lam
72bdaeefcd [register] eradicate gnc-default-currency from .scm code
The conditional (null? (xaccSplitGetAccount split)) can never be true
because it was already handled previously in code via the
"(null? (xaccSplitGetAccount (car splits))" cond clause to handle bug
639082
2019-06-24 20:29:01 +08:00
Christopher Lam
0c5f79a58f [job-report] bugfix display amounts with owner currency
* eradicate gnc-default-currency from .scm code

This parallels aec61497 whereby customer & vendor total amounts were
rendered with default_currency instead of owner currency
2019-06-24 19:46:15 +08:00
Dawid Wróbel
38a3d62f00
Check and UTF8-encode the names if needed
Fixes the "Wide character in subroutine entry" error for some UTF8 entries
2019-06-23 19:51:21 -04:00
Christopher Lam
2d06d703f2 Fix for import-match-picker "Balanced" amount currency
Import match picker showed amount in default_currency. Fix to show in
the transaction's currency.
2019-06-23 18:42:03 +08:00
Robert Fewell
262a1fac5d Fix double-click for import-main-matcher.c
The New multiselect feature used two boolean values that was set up as
pointers but there was a error with one if statement that stopped the
double-click to run the match dialogue. Changed all occurrences to just
use boolean values.
2019-06-23 10:43:57 +01:00
Robert Fewell
b50ed47556 Make similar correction to gnc-imp-props-tx.cpp for incorrect find use. 2019-06-22 10:20:57 +01:00
Robert Fewell
8c387c1c97 Bug797244 - Remove the invert prices for less than 1
Previously where prices were less than 1, the commodities involved were
swapped and the price inverted, this is no longer required so removed
in the price importer and the transfer dialogue.
2019-06-22 10:20:57 +01:00
Robert Fewell
90b2d8f1f5 Change the Commodity/Currency combo's on Price Import
Change the way the sorting is done for the Commodity and Currency
combo's for the Price Import. For the Commodity combo group all non
currencies together at the start and add a separator row.
2019-06-22 10:20:57 +01:00
Robert Fewell
5213a91b0f Bug797278 - Create an option for type of commodity for Price import
Currently when you use the 'Commodity From' column for Price imports it
can match against the wrong commodity like COP (Conoco Philips) would
match against the currency COP (Columbian Peso). To fix this add a new
column type 'From Namespace' and rename 'Commodity From' to
'From Symbol' so they match the Security Editor.
2019-06-22 10:20:57 +01:00
Christopher Lam
03d9bf902a [html-acct-table] compact gnc:html-make-nbsps
avoid repeatedly string-append
2019-06-21 23:40:52 +08:00
Christopher Lam
7b5ff8d894 [html-acct-table] compact gnc-commodity-table 2019-06-21 23:40:52 +08:00
Christopher Lam
7c9145a711 Set the summarybar currency to default_currency 2019-06-21 23:24:57 +08:00
John Ralls
3731c84f0c Fix copy-paste error. 2019-06-20 14:25:01 -07:00
John Ralls
77564b1e43 Bug 797281 - Gnucash crashes when attempting to match online accounts
Don't create a static string and then try to free it.
2019-06-20 07:44:28 -07:00
Christopher Lam
9c96ee2f8f Merge branch 'maint' 2019-06-19 22:11:13 +08:00
Christopher Lam
58be8f6baf Bug 797262 - Change "Today date format"
Mark strftime format string translatable
2019-06-19 22:10:23 +08:00
Christopher Lam
039b84871e [utilities] warn against using guile's strftime
strftime has been banished from code; warning for custom-reports

https://www.mail-archive.com/bug-guile@gnu.org/msg09778.html
2019-06-19 22:10:23 +08:00