Commit Graph

21346 Commits

Author SHA1 Message Date
Geert Janssens
5c87344dbd Add developer name to our appdata
It has no legal bearing as far as I know, but consumers like
gnome-software or flathub will display this info.
2019-08-20 18:30:43 +02:00
Christopher Lam
0a3fd5984e [general-journal] deprecate the journal report generator
it is unused.
2019-08-19 20:42:00 +08:00
Christopher Lam
416e7f7e5e [general-journal] set document title after rendering
Instead of setting document <title> register.scm's General/Title
option, set it in the document returned by register.scm's
renderer. This is in anticipation of "General"/"Title" option in
register.scm being removed.
2019-08-19 20:41:12 +08:00
Christopher Lam
b3ff04eedc [balsheet-pnl] reuse i18n strings 2019-08-19 19:30:17 +08:00
Christopher Lam
bd9edbbbf6 Bug 797279 - Reports RTL do not support RTL - fix string
fix guile-2.0 string handling to prevent munging unicode in
report-titles etc. while loading/saving reports
2019-08-19 08:06:27 +08:00
Christopher Lam
bf7d121e27 Bug 797279 - Reports RTL do not support RTL - fix reports 2019-08-19 08:06:27 +08:00
Christopher Lam
99c69023cc Bug 793018 - Balance (with >>eguile<<) - Report Title can't be changed 2019-08-18 19:26:09 +08:00
Christopher Lam
4a81bb34ce [general-ledger] internationalize general-ledger title 2019-08-18 14:14:30 +08:00
Christopher Lam
a13e8f9237 [general-ledger] deprecate gnc:make-general-ledger-report 2019-08-18 13:40:16 +08:00
Christopher Lam
8b1ada6048 [balsheet-eguile] monetaries must be rounded to their scu
previously balsheet-eguile would convert monetaries to exact fractions.
2019-08-18 11:14:27 +08:00
John Ralls
e4de6a3198 Merge Christian Clauss's Travis-CI yaml fix into maint. 2019-08-15 15:38:18 -07:00
John Ralls
8eb3819a3c Merge Christian Gruber's 'rework_gtest_src' into maint. 2019-08-15 15:18:07 -07:00
John Ralls
24d4576617 Include libicu-i18n in libgncmod-engine linkage for new ICU API usage. 2019-08-15 15:17:16 -07:00
Christian Gruber
1b4e481296 Add gtest_main.cc to libgtest.a
Currently when compiling GoogleTest from source code, source file
gtest_main.cc from GoogleTest repository is not compiled into any
library as in GoogleTest repository, where it is compiled into
libgtest_main.a. Instead gtest_main.cc is added to source file list
GTEST_SRC, which is then added to the list of source files of every
single GoogleTest based test application.

To simplify this gtest_main.cc is added to the source file list of
target gtest now. Additionally GTEST_SRC is merged into
lib_gtest_SOURCES, since both variables defined source files for
GoogleTest libraries.

Now target gtest generates library libgtest.a, which already contains
the main function from source file gtest_main.cc. This is different to
GoogleTest build system, where both are separated into two independent
libraries libgtest.a and libgtest_main.a.
2019-08-15 23:20:45 +02:00
Christopher Lam
f64dd0860f Bug 752395 - Start Day of weekly report doesn't respond to change in locale
Redefines some functions to ensure weekly grouping in transaction
report obeys locale's start-of-week.
2019-08-15 13:18:46 +08:00
Geert Janssens
ec6602adf9 [gnc-date][API] find locale's start of week using ICU.
gnc_start_of_week

* ICU has a mature C++ api, so prefer that one in our C++ code
* Use PERR instead of fprintf for consistent reporting
* Add the ICU specific linker flags to the test case
2019-08-15 13:18:43 +08:00
Christopher Lam
bdbb06b722 [price-quotes] remove no F::Q message 2019-08-15 13:18:16 +08:00
Frank H. Ellenberger
1126554152 Improve header of glossary
Append " (glossary)" to SOME DESCRIPTIVE TEXT to distinguish it from the
real po file, if a translator has both open.
2019-08-15 00:19:46 +02:00
Frank H. Ellenberger
f2c3442296 Add "account code" description to glossary 2019-08-15 00:15:47 +02:00
Frank H. Ellenberger
d1a0cd2a65 Remove a trailing space in german glossary 2019-08-15 00:02:07 +02:00
Frank H. Ellenberger
749f02afa1 Merge a fresh gnucash pot into de.po
5141 übersetzte Meldungen, 109 ungenaue Übersetzungen, 11 unübersetzte
Meldungen.
2019-08-15 00:01:29 +02:00
Frank H. Ellenberger
bac27b48ef Merge branch 'PR551' into maint 2019-08-14 22:47:40 +02:00
Frank H. Ellenberger
942e74d07a Update he.po from fresh gnucash.pot
For better checks of PR #551
2019-08-14 22:44:25 +02:00
avma
0c53f763c6 he.po for version 3.6 96% completed
PR #551
2019-08-14 22:05:15 +02:00
Robert Fewell
188f8768b5 Bug 797339 - Online banking frame to small
Set the scroll window to expand so it uses all the available space.
2019-08-14 11:38:26 +01:00
Frank H. Ellenberger
24094222d1 Improve invoice import column headers
Use underline only for mnemonics.
Capitalize column headers.

Try to reduce number of translatable strings - still incomplete.

Follow up of commit aadb3d1.
2019-08-14 11:33:37 +02:00
John Ralls
adae341def Use cmake_symbol_check to test for AB_Banking_RuntimeConfig_SetCharValue
instead of relying on AQBanking versions.
2019-08-13 09:52:31 -07:00
avma
d0f4d9bce9
glossary he.po for ver 3.6 2019-08-13 19:36:46 +03:00
Christopher Lam
2a6a4e34d6 [price-quotes] compact commodity-tz-quote-triple->price 2019-08-13 18:50:59 +08:00
Christopher Lam
e15f2610ba [price-quotes] compact gnc:book-add-quotes 2019-08-13 18:50:57 +08:00
Christopher Lam
4a4f81b320 [price-quotes] compact book->commodity->fq-call-data
make function more readable.
2019-08-13 18:50:55 +08:00
Christopher Lam
5e8663772a [price-quotes] compact gnc:fq-get-quotes 2019-08-13 18:50:53 +08:00
Christopher Lam
d5122c97ea [price-quotes] compact gnc:fq-check-sources
improve locality of vars.
2019-08-13 18:50:51 +08:00
Christopher Lam
fab1c8db3e [price-quotes] show if F::Q not installed, remove dead code 2019-08-13 18:50:48 +08:00
Christopher Lam
112cf99d2d [test-report-html] add coverage and function test
* function gnc:html-table-add-labeled-amount-line! has full coverage
test.

* function gnc:make-html-acct-table/env/accts has good coverage
confirming nothing crashes.
2019-08-13 18:50:13 +08:00
Christopher Lam
a42f1211d8 [html-acct-table] modernise to srfi-9 records 2019-08-13 18:50:13 +08:00
Christopher Lam
81b20d0a62 [html-acct-table] timepair -> time64
* fix timepair -> time64 - this is technically dead code.
2019-08-12 23:33:44 +08:00
Christopher Lam
0c3f460e9f [invoice] deprecate easy/fancy-invoice creation hooks 2019-08-11 23:32:51 +08:00
Frank H. Ellenberger
55e196ab5b Dutch RGS template: Replace a ":" in an account name
The colon is the account delimiter.
2019-08-11 10:55:24 +02:00
Geert Janssens
7d2d392829 Fix intermittent build dependency issue
eguile-html-utilities now depends on eguile-gnc so make sure
the latter is built before the former

Note the master branch has gone a different route:
eguile-html-utilities and eguile-utilities are no longer modules
there but included into eguile-gnc via load-from-path
Hence the dependecy tree is actually the other way around there.
To keep in mind when merging maint into master next time.
2019-08-10 21:49:24 +02:00
avma
7211bfb53c
Hebrew translation 95% completed... 2019-08-10 15:25:40 +03:00
Christopher Lam
c7e60c1d53 [qif/test-qif-parse] increase coverage 2019-08-08 08:08:55 +08:00
Christian Stimming
100ef2a01d Online banking: Usage of gnucash registration key is available in more aqbanking versions.
To be precise, it is in aqbanking-5.7.8-git-1 and to-be-released
aqbanking-5.7.9 as well as aqbanking-5.99.24-git-1 and
to-be-released aqbanking-5.99.25. As it is needed mid-September 2019
for all bank users in Germany, we better make it available for both branches.
2019-08-07 22:37:31 +02:00
John Ralls
bbcfc9da42 [test-commodity-utils] Don't try to free the pricedb twice.
It's freed by gnc-clear-current-session, so freeing it explicitly
causes a double-free.
2019-08-05 10:04:52 -07:00
Christopher Lam
6252de21fd [qif/qif-parse] restore handle non-4-digit dates, and erratum
db93aec58 contained logic error in date-handling, would invalidate
2-digit years.

Also parse-bang-field needs to trim trailing space.
2019-08-05 18:16:49 +08:00
Christopher Lam
08de1a0ab0 [qif/qif-import] fix whitespace 2019-08-04 11:35:46 +08:00
Christopher Lam
409b97a988 [qif/string] compact function 2019-08-04 11:35:43 +08:00
Christopher Lam
944e78144e [qif/qif-merge-groups] speed up duplicate-transaction finding
old method would scan the new-xtn-list (i.e. imported qif
transactions), create a query for each, and run query to find
candidate old-transactions to match each new-transaction.

new method creates 1 query only to scan old-transactions within 1 week
of earliest and latest new-transaction date. then creates a match list
using same heuristics:

* account full name must match
* split value must match
* dates must differ by 1 week maximum
2019-08-04 11:35:24 +08:00
Christopher Lam
b2d1ad526c [qif/qif-merge-groups] compact functions 2019-08-04 11:35:22 +08:00
Christopher Lam
a146d2cd58 [qif/qif-parse] compact functions 2019-08-04 11:35:19 +08:00