Commit Graph

21486 Commits

Author SHA1 Message Date
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
Christopher Lam
a3150f383f [qif/test-qif-merge-groups] initial commit 2019-08-03 22:50:19 +08:00
Christopher Lam
277ba729d1 [qif/test-qif-parse] increase coverage 2019-08-03 19:09:51 +08:00
Christopher Lam
1873c2f705 [qif/assistant-qif-import.c] gfec_apply requires a list of arguments
* instead of argument, send a list of arguments.
* the undo scm function would never run otherwise
2019-08-03 17:25:49 +08:00
Christian Clauss
77baba2c5e
Remove the deprecated sudo tag from .travis.yml
As discussed in #545, [Travis are now recommending removing the __sudo__ tag](https://blog.travis-ci.com/2018-11-19-required-linux-infrastructure-migration).  Mention  of the __sudo:__ tag has been removed from all Travis docs because the sudo command is now _always_ available and there is no way to turn it off.
2019-08-01 21:11:48 +02:00
Christopher Lam
8b7093e8d0 [qif/test-qif-parse] initial commit
near-100% coverage for qif-parse.scm
2019-08-01 20:19:25 +08:00
Christopher Lam
a7a3f78648 [qif/test-qif-imp] initial commit
* strings.scm
* qif-objects.scm
2019-08-01 20:19:09 +08:00
Robert Fewell
19114cc111 Fix register tooltip crash
When the register is in double line mode, a tooltip for the transaction
association column can be shown if one is present by hovering the mouse
over the cell. If the register 'cursor' is highlighting any transaction
row this works but if the 'cursor' is on a split and mouse moves to an
association cell with an entry, Gnucash will crash. To fix this use the
SheetBlockStyle from block instead of the GnucashCursor.
2019-07-30 15:11:12 +01:00
Christopher Lam
db93aec58d [qif-utils] use srfi-13 instead of regexp functions 2019-07-30 18:17:52 +08:00
Christopher Lam
fbb6a95600 [simple-obj] deprecate this module
* it's only a wrapper for make-record-type
* use record-types directly in modules
2019-07-30 18:17:52 +08:00
Robert Fewell
76ba133174 Account Picker dialogue warning message placement
Currently this message is below the dialogue buttons so move the
message to above them.
2019-07-30 09:58:11 +01:00