Commit Graph

1487 Commits

Author SHA1 Message Date
Geert Janssens
ed436f4151 Bug 796819 - bad icon with Spanish localization
Drop translations of the 'gnucash-icon' string from our po files
and add a note for translators to not translate this string or
use the litteral 'gnucash-icon' as translation
2018-09-24 23:05:59 +02:00
John Ralls
7e56a44f66 Remove deleted files from POTFILES.in 2018-09-08 15:08:39 -07:00
Geert Janssens
54a5097c60 Bug 796777 - CVE-2008-1391: Integer overflow in included strfmon function
We only used strfmon in one source file to generate three fixed format
strings. Instead of updating to a newer strfmon in borrowed I have
chosen to reimplement the string formatters for these strings in C++.
Note this is *not* a full c++ conversion of the full functionality
of assistant-loan. Only the string parsing has been redone.
2018-08-17 16:23:12 +02:00
Geert Janssens
34cb4925a4 Compile assistant-loan as c++
Fix only c++ compatibility issues, which primarily boils down
to dealing with stricter type checking.
2018-08-17 16:23:12 +02:00
John Ralls
c08dee67ba Preserve timespec-using functions in Guile bindings.
There's an example of use in text-extras.scm, function
gnc-pricedb-create.

Unfortunately the deprecation messages issue no warnings.
2018-08-16 10:47:41 -07:00
John Ralls
827c43d935 Add jenny to the dist and compile it. 2018-07-23 12:47:25 -07:00
John Ralls
de927d535d Fix test-backend-dbi for Postgress and MySQL.
Pass MySQL database exists errors and skip creating the database
if it exists.
2018-07-13 16:34:42 -07:00
John Ralls
756f444ac3 Update bug tracker URL
Change all instances of bugzilla.gnome.org to bugs.gnucash.org, reflecting
our migration to a self-hosted bug tracker.

Inform the Translation Project Coordinator at release that this affects
translatable strings and that all message catalogs have been updated.
2018-07-13 09:49:33 -07:00
David Osguthorpe
4d013e091c Bug 796737 - Patch to restore gncmod-python.c.
Restores the gncmod-python module.

It removes the need to link the module to libgncmod-app-utils.dylib or
libgncmod-core-utils.dylib. This was needed previously as the init
function for those modules was called in the c code. However, unless
there was python c code at some point in gncmod-python.c to use
functions in c of either core utils or app utils these are not needed.
Those module init functions would be called when the modules are
imported in eg init.py, which does indeed import _sw_app_utils
successfully.

I have made edits to init.py (and other files) so it loads without
errors with python 3. These edits are NOT tested. I dont actually use
pycons, I update the init.py to simply import my python subsystem init
module. I never set the if False: to if True: to actually activate the
console.
2018-07-07 13:33:22 -07:00
John Ralls
1801fed486 Remove emacs spoor from POTFILES.in 2018-06-15 16:42:02 -07:00
John Ralls
1f8f681732 Remove abandoned C-Language QIF implementation. 2018-06-15 11:38:31 -07:00
John Ralls
9f1bfddc27 Revert "Remove abandoned C-language QIF implementation."
Because it included some extraneous changes.
This reverts commit edd439a05e.
2018-06-15 11:30:09 -07:00
John Ralls
edd439a05e Remove abandoned C-language QIF implementation. 2018-06-15 09:30:31 -07:00
John Ralls
c8861d4666 Bug 795276 - Invalid date on price stops file from being parsed.
Instead of reporting an error and declining to load the file (XML)
or failing to enter a value (SQL) when a bad date is found in the
database, use a 0 time stamp (1970-01-01 00:00:00 UTC). Adds a warning
in SQL backends; there was one already in XML.
2018-06-12 14:56:27 -07:00
Potuz
e3e1464a01 Bug 794617 - Can't compile with -DWITH_GNUCASH=NO due to scm-gnome-utils
Pricedb.go doesn't need gnc-gnome-utils and we don't need WebKit or
gwenhywfar-gtk3 if we have no GUI.
2018-06-07 14:17:49 -07:00
Geert Janssens
53a17fe77c New Dutch translation imported from the Translation Project 2018-05-12 17:40:03 +02:00
Geert Janssens
61fe647828 Use lowercase for account type descriptions 2018-05-12 14:08:08 +02:00
Geert Janssens
a9f35ed7ae Lowercase cmake commands
A huge bikeshed fest but it distracted me enough to do it anyway.
2018-05-03 23:18:15 +02:00
Geert Janssens
92afea59ae Fix guile-json inclusion 2018-05-03 21:19:55 +02:00
John Ralls
20c59f7c30 Update translations from the Tranlation Project. 2018-04-28 12:38:14 -07:00
John Ralls
9c4469d039 Bug 795405 - All Dates in Price Database Off-By-One After 3.0 Upgrade
Also Bug 791825 - Accounting Period dates off by 1.
The DST start/end dates were reversed *and* the DST offset had the wrong
sign in Windows, resulting in the effective timezone always being one to
the west off (i.e. PDT was -9 and PST was -8).
2018-04-27 15:00:28 -07:00
Di Mang
5f0025954f ru.po: some more translations 2018-03-28 00:23:28 +02:00
Di Mang
9d3402d524 ru.po: Update some translations
4669 translated messages, 344 fuzzy translations, 177 untranslated messages.
2018-03-28 00:23:27 +02:00
Di Mang
af02f62845 Update ru.po from new gnucash.pot file 2018-03-28 00:23:27 +02:00
Di Mang
2db4901d5d de.po: Update some translations
4863 translated messages, 196 fuzzy translations, 131 untranslated messages.
2018-03-26 21:23:23 +02:00
Di Mang
c2ff57785f Updating de.po from new gnucash.pot file 2018-03-26 21:11:27 +02:00
John Ralls
7378c13948 Update es.po from the Translation Project. 2018-03-18 12:24:13 -07:00
John Ralls
4ecd9c2dd4 Fix the Python Console for Python3.
Replacing libgncmod-python, libgncmod-core-utils-python, and
libgncmod-app-utils-python with _sw_core_utils and _sw_app_utils.
The latter two are the modules that init.py wants to load and with
Python3 Swig appears to no longer make them available via libgncmod.

Note that there may still be some problems with actually using the
console, but it at least loads at startup without complaint.
2018-03-18 11:59:13 -07:00
John Ralls
3ccebde831 Update the Spanish translation from the Translation Project. 2018-03-10 15:56:00 -08:00
Geert Janssens
751a3fec43 Csv importer - align file names
Done in a separate commit
2018-03-08 18:55:20 +01:00
Geert Janssens
13e6880b34 Bug 745941 - Review of po Headers / make pot 2018-03-01 18:31:49 +01:00
Geert Janssens
66abe02354 Merge branch 'master' of https://github.com/jeblad/gnucash into unstable 2018-02-28 16:10:00 +01:00
Geert Janssens
c186624160 Rework source directory structure for gschema, gtkbuilder and ui files
There is now a directory for each respective file type directly in the gnucash source directory
(This was already started for gschema files before).

In principle all files of each type should go into these global directories. The only
exception is if such a file belongs to an optional module. In that case the file
remains located inside that module's directory. Currently we have ui, glade and gschema file
exceptions in aqb and ofx importers.
2018-02-28 15:38:30 +01:00
Geert Janssens
f111e5958d Simplify POTFILES.in generation
As part of this also:
- Drop POTFILIES.ignore. Relevant lines have been moved to POTFILES.skip
- Remove skip lines for scm file links. With intltool out of the way these are never picked up any more.
2018-02-28 13:40:20 +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
John Ralls
f865aeeff6 Update Slovak and Spanish translations from the Translation Project. 2018-02-24 14:22:38 -08: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
Nikos Charonitakis
6137719417 Updated Greek Translation 2018-02-22 12:15:39 -08:00
John Ralls
c58b0024c5 Remove bogus file from POTFILES.in. 2018-02-20 12:25:14 -08: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
5929bb3bf8 Move string.scm to qif-imp, the only place it's used. 2018-02-19 11:25:08 -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
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
fb26ef648e update de.po to commit ce71586
4684 translated messages, 5 untranslated messages.
2018-02-19 12:17:53 +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
48bdab38d4 Replace sprintf with Guile's built-in format. 2018-02-17 15:24:44 -08:00
John Ralls
cd8f2b7c7e Rename libgnucash/scm/main.scm to utilities.scm
Because it hasn't been "main" since GnuCash became a C program.
2018-02-16 15:52:19 -08:00
John Ralls
8b0d9425e9 Remove some obsolete and unused Scheme files. 2018-02-16 15:37:46 -08:00
John Erling Blad
f95ae1a96d Partial update of Norwegian po file 2018-02-16 15:41:25 +01:00