Commit Graph

21363 Commits

Author SHA1 Message Date
avma
9a7824c132
Hebrew Translation for v3.6 2019-08-25 18:52:26 +03:00
Geert Janssens
e8543008c0 Manpage generation tweaks
- depend on gnc-vcs-info.h file directly instead of the gnc-vcs-info target
  The latter won't cause gnucash to update the manpage in case gnc-vcs-info.h changes,
  the former does.
- use GNC_VCS_REV as version instead of the static VERSION parameter
2019-08-24 17:33:16 +02:00
Geert Janssens
7dc59950a5 Bug 797353 - Add copyright and release info in appdata file
This also means the appdata file now requires preprocessing to set this info
automatically.
2019-08-24 17:32:16 +02:00
Geert Janssens
c4a21bc9d4 Extract a few cmake commands to dedicated files rather than generating them on the fly
This simplifies a number of escape sequences.

The generated file to configure the man page was split up a bit further:
- code that extracted the GNC_VCS_REV_Y_M from gnc-vcs-info.h was spun out
  into its own function that now sets all parameters in gnc-vcs-info.h
  as environment variables.
- this function is now invoked by configure-manpage.cmake to extract
  the date to insert into the manpage.
- the manpage in addition now shows the full date rather than only
  yyyy-mm. This is how man itself does it as well.
2019-08-24 17:05:03 +02:00
Geert Janssens
0e9e3c107d Drop code path for cmake 3.1 and older
We require cmake 3.5
2019-08-24 17:01:50 +02:00
Geert Janssens
9b6df51e58 Fix man page title line
* 'Version x.y' should be treated as one parameter
* Add a page title
2019-08-24 17:01:50 +02:00
Geert Janssens
1784803811 Appdata - sort tags
All tags except for the core information (id, name, summary and description)
are sorted alphabetically for easier lookup. The core tags are kept on top
though.
2019-08-24 17:01:50 +02:00
Geert Janssens
919c2b305d Appdata - add language tag 2019-08-24 17:01:50 +02:00
Christopher Lam
3d608efc22 [test-options] add to CMakeLists.txt
forgto to add to dist_list.
2019-08-23 19:51:13 +08:00
Christopher Lam
67751665b3 [taxtxf(-de_DE)] compact functions, use srfi-2
srfi-2 and-let* allows concise code and returns #f if any intermediate
var is #f.
2019-08-23 19:34:14 +08:00
Christopher Lam
123033e5ea [standard-reports] modernise to srfi-9 records 2019-08-23 18:40:37 +08:00
Robert Fewell
53b7cba11e Reformat source files gnc-tree-view.c/h
Replace tabs with spaces and changes spaces where appropriate.
2019-08-23 09:46:24 +01:00
Robert Fewell
3322397091 Restrict where you can click on the menu column header
With the previous change clicking any where on the menu column header
will activate the menu so this change activates the menu only in the
area of the icon.
2019-08-23 09:46:24 +01:00
Robert Fewell
5384f31943 Stop Gtk Warning Negative content width
This is caused by the spacer column being reduced as new columns are
inserted before the menu selection column at the end. When it gets to
a size that can not hold a valid button in the header you get the
warning so remove the spacer column.
2019-08-23 09:46:24 +01:00
Geert Janssens
ce638f3084 Add OARS classification to our appdata file
It mentions mild for social-info because we use an online api for quotes retrieval.
2019-08-23 10:06:28 +02:00
John Ralls
fcc1653822 Replace overly indirect gnc_business_get_default_tax_table.
With gncTaxTableGetDefault.

qof_book_get_default_tax_table would have been even better but it
would have created a circular dependency between QofBook and
GncTaxTable.
2019-08-22 12:30:33 -07:00
Geert Janssens
33b1a19eb2 Disable text-tx-import.cpp
There are no tests in this file yet
2019-08-20 18:30:43 +02:00
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