Commit Graph

19677 Commits

Author SHA1 Message Date
Geert Janssens
c29b9c9cbf Remove autotools-only path exception to find reports
With it we can also remove the hack to find standard reports while running
from the build tree.
2018-02-28 12:08:37 +01:00
Geert Janssens
e7ec3a610d Drop no longer used intltool related variable 2018-02-27 23:00:30 +01:00
Geert Janssens
02c69a7933 Handle situation where gettext 0.19.6 is not available
By default we require gettext 0.19.6 as this is needed to generate a translated version of gnucash.desktop and gnucash.appdata.xml.
However this version is not available on some platforms (most notably our own ubuntu 14.04LTS travis instance).
By setting ALLOW_OLD_GETTEXT=ON, the build configuration falls back to generating untranslated versions of said files instead.
2018-02-27 22:38:27 +01:00
Geert Janssens
ba799feb2a Drop intltool in favour or using modern gettext
This requires at least gettext 0.19.6, and will break our ubuntu 14.04LTS test instance on Travis.
The next commit will work around this.
2018-02-27 22:30:06 +01:00
Geert Janssens
3462abe7ad Bug 793460 - gnucash/import-export/csv-imp/assistant-csv-trans-import.cpp:1941 is impossible to translate 2018-02-27 22:30:06 +01:00
Geert Janssens
72a48c0884 Improve config and app data migration to handle renaming of config<version>.user to config-user.scm on all platforms 2018-02-26 18:58:22 +01:00
John Ralls
06ad55cae9 Fix up some formatting problems and an extra bug in NEWS. 2018-02-24 20:02:43 -08:00
John Ralls
749beb197d Release GnuCash 2.7.5 2018-02-24 15:41:20 -08:00
John Ralls
eb5c33ecdb Distribute strings.scm! 2018-02-24 15:33:22 -08:00
John Ralls
f865aeeff6 Update Slovak and Spanish translations from the Translation Project. 2018-02-24 14:22:38 -08:00
John Ralls
d4476d06b4 Block events while creating scheduled transactions.
Events update the UI, which is slow, and if there are a lot of SXes
because it's an old file that can be significant.
2018-02-24 13:02:50 -08:00
Geert Janssens
10ab87d95c Make travis happy
On older stdlibc++ the default constructor of a stringstream is deleted.
2018-02-24 21:36:39 +01:00
Geert Janssens
61a21d12c6 Look for user editable config files in gnc_userconfig_dir instead of gnc_userdata_dir
At present these are
- log.conf
- config-user.scm (previously config.user-2.0)

Implement one-time migration of these files to the proper directory if they previously exist
Look for a log.conf file in gnc_userconfig_dir instead of gnc_userdata_dir

Note this commit also uses boost::locale::translate for the first time.
We may need to fine-tune our use, but in the current state strings marked
for translation using that function are already picked up for gnucash.pot.
2018-02-24 20:39:26 +01:00
Geert Janssens
beff795130 Stop searching for a config.auto file
It's no longer used in gnucash. The preferences are now handled via gsettings instead.
2018-02-24 20:39:26 +01:00
John Ralls
765c117aac Optimize GncDateTime string constructor.
Turns out the stream facet parser is really slow. Since we have a
well-constrained universe of input formats we don't really need that
overhead. This got a 33% improvement in loading a large SQLite database.
2018-02-24 11:12:13 -08:00
John Ralls
c10bb89547 Delete unused and redundant macro. 2018-02-24 11:12:13 -08:00
John Ralls
c76efd656e Transient-for for Edit/New Account dialog. 2018-02-24 11:12:13 -08:00
John Ralls
36fa8d57bf Transient-for for reconcile information dialog. 2018-02-24 11:12:12 -08:00
Geert Janssens
e186d77a16 Merge branch 'unstable-prepare-SRFI64' of https://github.com/christopherlam/gnucash into unstable 2018-02-23 11:48:42 +01:00
Robert Fewell
cd30578b2f Use the gnc_prefs_get_bool values to update cache values
This way is a safer way to update the cache values in case the settings
changed signal fails to trigger or there is a double trigger and the
cached value gets out of sync with the preference value.
2018-02-23 10:42:47 +00:00
Christopher Lam
f7378e9332 TR & options: upgrade HTML to XHTML
Upgrade <br> tags to <br /> to allow well-formed XML parsing.
2018-02-23 18:19:59 +08:00
Christopher Lam
03e862ec47 TR: (minor change) eq? -> eqv?
According to the guide, eqv? better than eq? for chars
2018-02-23 18:19:59 +08:00
Christopher Lam
578e9860d0 Add optional testing group for srfi-64
This adds an optional group to CMakeLists for
systems with SRFI-64 included.
2018-02-23 18:19:59 +08:00
Christopher Lam
458e7e9ff1 html-document.scm: Restore <html> tag
A previous commit 5b40df510 has eaten the <html> opening
tag which makes the whole document an invalid XML tree.

After this fix, the document is still not valid XHTML.
Until the exact DOCTYPE is finalised I suggest we
restore the root <html> tag.
2018-02-23 15:54:11 +08:00
Andreas Müller
128fce3ed8 Bug 787095 - Gnucash Crashes when opening old XML file 2018-02-22 15:59:12 -08:00
John Ralls
bab3bc7e93 Merge Bob Fewell's "Cache a couple of split register preferences...
into unstable
2018-02-22 15:53:30 -08:00
Nikos Charonitakis
6137719417 Updated Greek Translation 2018-02-22 12:15:39 -08:00
John Ralls
a4399ee732 Bug 792157 - Cannot create account with different currency
Restore force-insert logic that had gotten lost in the C++ conversion.
2018-02-20 17:32:22 -08:00
Robert Fewell
955696b0e7 Cache a couple of split register preferences
Two preferences were being used heavily in the drawing of the register
so it makes sense for them to be saved in the split_register structure
so they can be easily be referenced.
2018-02-21 00:54:49 +00:00
John Ralls
c58b0024c5 Remove bogus file from POTFILES.in. 2018-02-20 12:25:14 -08:00
John Ralls
78705dc8be Bug 792833 - User specifies source of 'num' field'; either...
transaction number or split action (requires at least GnuCash 2.5.0)

Strip leading delimiters from KVP keys when reading them from the
database. Leading delimiters are incorrectly included in databases
created with GnuCash 2.6.x.
2018-02-20 12:02:38 -08:00
John Ralls
7e814ad037 Fix typo, gnc-account-get-book not gnc:account-get-book
And then deal with the crashes caused by not having any accounts
selected.
2018-02-19 15:27:32 -08:00
Geert Janssens
50e2a3def7 Use a platform dependent package name for gnc_user[config|data]_dir
Windows and OS X expect the directory name to be capitalized while linux typically uses an all-lowercase name.
2018-02-19 22:53:32 +01:00
John Ralls
36ad5064e4 Move gnc:substring-replace-from-to back to utilities.scm
It's used in report.scm as well as qif-imp.
2018-02-19 13:27:44 -08:00
John Ralls
9865934410 Reduce warning about failing to dlopen a module to debug.
There's another warning for runtime about not being able to load
a specified module and this one creates a lot of noise during a parallel
build.
2018-02-19 12:27:59 -08:00
Geert Janssens
62fd179f87 Adjust gnc_userconfig_dir and get_userconfig_home to the former returns a subdirectory of the latter
Also add a few comments to make the distinction more clear.
2018-02-19 20:31:51 +01:00
Geert Janssens
27256357f5 Merge branch 'BUG792809' of https://github.com/Bob-IT/gnucash into unstable 2018-02-19 20:31:33 +01:00
John Ralls
5929bb3bf8 Move string.scm to qif-imp, the only place it's used. 2018-02-19 11:25:08 -08:00
John Ralls
4ad2359872 Remove unused functions from utilities.scm
moving safe-strcmp to aging.scm, it's sole use.
2018-02-19 11:10:14 -08:00
John Ralls
720acddff2 Restore fin.scm, incorrectly removed earlier.
But put it in app-utils where it's used and load it explicitly.
2018-02-19 10:50:38 -08:00
John Ralls
923995f2cc Restore inadvertently-deleted standard-reports tests. 2018-02-19 08:20:48 -08:00
fell
464281644c Merge branch 'maint' into unstable
Should resolve issue mentioned in PR #277
Conflicts:
	libgnucash/app-utils/gnc-sx-instance-model.c: resolved
	po/de.po: changes in maint ignored
2018-02-19 15:25:53 +01:00
fell
ee217c61b2 Make REPORT_ERROR private
amending commit ce71586
2018-02-19 12:29:06 +01:00
fell
fb26ef648e update de.po to commit ce71586
4684 translated messages, 5 untranslated messages.
2018-02-19 12:17:53 +01:00
fell
ce715862fe Mark forgotten error messages in gnc-sx-instance-model.c translatable
and report them bilingual:
 *  in g_critical untranslated and
 *  in g_list_append translated.
2018-02-19 11:50:10 +01:00
John Ralls
f4965ae2ac Move direct check dependencies to the originating CMakeLists.txt.
Removing transitive dependencies from being declared direct.
2018-02-18 22:16:27 -08:00
John Ralls
474c3ae079 Make a target for the python-bindings test to set its dependencies. 2018-02-18 16:08:26 -08:00
John Ralls
605f3466cb Rename the gnc-module test libraries to be consistent with other modules. 2018-02-18 16:07:25 -08:00
John Ralls
a5f46a5e45 More Scheme dependency additions. 2018-02-18 15:59:00 -08:00
Robert Fewell
b2ed250db1 Change gsettings upgrade test so old_maj_min is < 207
With the original value of 208, the use-gnucash-color-theme kept on
being reset to what ever the use-theme-colors was, by default false.
2018-02-18 22:41:39 +00:00