Commit Graph

19306 Commits

Author SHA1 Message Date
Mechtilde
2914920ff6 add ellipses to fit Common User Access (CUA) under the Tools menu 2018-02-12 11:39:14 +01:00
Mechtilde
2f11fc6fb3 add some German translations 2018-02-12 11:39:14 +01:00
John Ralls
fb7426b60b Spelling Correction. 2018-02-04 10:41:07 -08:00
John Ralls
63089e1f1a Bug 793155 - Gnucash 2.7.4 crashes on launch MacOS 10.13.4 PB1
Crash because Guile couldn't find boot-9.scm, fix by telling it where
to look.
2018-02-04 10:41:07 -08:00
Geert Janssens
a3a42d29ee Prevent installation of cmake related files when building in source
These files are part of the build system, they should not show up in the installation prefix
2018-02-04 10:36:42 +01:00
John Ralls
9e5a481081 Fix off-by-one errors in release count. 2018-02-03 15:06:20 -08:00
John Ralls
c9a17236b9 Release 2.7.4 2018-02-03 08:44:34 -08:00
Geert Janssens
56a58e6528 Bug 787497 - Disabling OFX, AqBanking or python-bindings support cripples the dist build target 2018-02-03 17:10:51 +01:00
John Ralls
e6edb9d8e7 [MacOS]Conditionally set -Wno-unused-local-typedef and -Wno-unknown-attributes.
These flags aren't defined until Xcode8.
2018-02-03 08:07:15 -08:00
Geert Janssens
eb1400c44b Merge branch "maint" into unstable" 2018-02-03 13:01:52 +01:00
Geert Janssens
21431e0b69 Add tooltips to Alpha Vantage key option 2018-02-03 12:54:35 +01:00
Geert Janssens
40169fcc55 Delete wrongly merged file 2018-02-03 09:13:49 +01:00
fell
52ba07f587 Merge branch 'maint' into unstable
ignore chages in po/de.po
2018-02-03 01:05:43 +01:00
fell
794090d671 update de.po
4680 translated messages, 4 untranslated messages.
2018-02-02 23:43:58 +01:00
fell
2b122d1faa Improve Import menu entries Customer & vendors...
use same menu label as others,
replace template by tooltip,
add ellipsis to entry,
add comments to distinguish "Import" as verb and substantive.
2018-02-02 23:30:20 +01:00
John Ralls
18abf4e243 Update Turkish translation from the Translation Project. 2018-02-02 13:10:09 -08:00
John Ralls
62c8801ac5 Add XDG_CONFIG_HOME and FONTCONFIG_FILE to MacOS environment
Fixes WebKit crash when displaying reports.
2018-02-02 13:05:20 -08:00
John Ralls
6b49b3ba4c Bug 792763 - deleting a transaction can cause a SIGSEGV
Prevent a NULL transaction from crashing xaccTransCountSplits and
prevent gnc_plugin_business_update_menus from calling it with a
NULL transaction.
2018-02-02 13:05:20 -08:00
Geert Janssens
59fb8efaf9 Merge branch 'maint' into unstable 2018-02-02 18:57:24 +01:00
Geert Janssens
d983ad9e46 Provide preference panel to set the Alpha Vantage API key needed for fincance::quote 2018-02-02 18:48:34 +01:00
Geert Janssens
0d4f6e054d Improve gnc_data_home verification and creation
- Don't attempt to create a subdirectory of a non-existing home directory (use tmpdir as base directory in that case)
- Make sure all tests run in an environment with GNC_BUILDDIR and GNC_UNINSTALLED set. Otherwise
  the one-shot old .gnucash to new GNC_DATA_HOME migration may already have run at build time,
  preventing us from informing the user a run time.
- Re-enable the userdata-dir with invalid home test (linux only).
2018-02-02 10:24:04 +01:00
Geert Janssens
0f5bb35166 Disable the proper test... 2018-02-01 22:31:27 +01:00
Geert Janssens
90517b69ce Temporarily disable test that breaks on travis only
It needs some more tweaking to cope with the false
assumption the builder can't create a temporary directory on /
2018-02-01 20:43:49 +01:00
Geert Janssens
2f16b092f5 Simplify filepath init code
It will no longer attempt to use /home/janssege/.gnucash. That was
requiring lots of extra conditions.
It will also default to a base directory (gnc_data_home) in the
build dir if it detects the code is run during building or testing.
That again allows to simplify it as there's no need for temp dir
juggling in case the build environment doesn't have a writable home dir.
2018-02-01 19:17:17 +01:00
Geert Janssens
d345624c55 Fix project name, which also determines a number of default paths
It should be all lowercase to be consistent
2018-02-01 14:32:26 +01:00
Robert Fewell
84a1e81016 Bug 792809 Add a register foreground CSS class
With the current setup when a dark theme is used with existing register
colours the text is hard to read as the dark theme may of changed the
text colour to white so with these changes the text is always black
unless they choose not to use the built in colours.
2018-01-31 18:47:35 +01:00
Geert Janssens
3c13f565d3 Merge branch 'unstable-fix-business-reports' of https://github.com/christopherlam/gnucash into unstable 2018-01-31 18:44:04 +01:00
Geert Janssens
0f295dd439 Merge branch 'CorrectStrings27EN' of https://github.com/Mechtilde/gnucash into unstable 2018-01-31 18:37:52 +01:00
Geert Janssens
77982c71bb Remove make-gnucash-po.sh.in
This time we're really not using it any more.
2018-01-31 18:25:53 +01:00
Geert Janssens
fb2570dfe2 Revert "Fix version number inclusion in gnucash.desktop file"
This reverts commit 9d8def84f3.

Another oops. The version number in the desktop file is not the
gnucash version but the desktop file specification version.
There are more recent specification versions available, but
we should only bump it after having verified our desktop file
adheres to those higher versions. So revert for now.
2018-01-31 18:08:12 +01:00
Geert Janssens
ff24970f5f Add GENERATE_SWIG_WRAPPERS option to control the generation of swig wrappers independently of whether we're building from git
The swig wrappers don't really depend on git (but rather on swig) and there can be
situations the builder wants to generate the wrappers also from a tar ball.
2018-01-31 16:16:59 +01:00
Geert Janssens
1805972646 Revert "Allow user to override BUILDING_FROM_VCS"
This reverts commit ec9d5feba1.

This doesn't do what I had in mind. I'll come up with a
better solution shortly.
2018-01-30 21:24:39 +01:00
Geert Janssens
32a196122f Properly detect git in case of linked worktree 2018-01-30 19:21:39 +01:00
Geert Janssens
ec9d5feba1 Allow user to override BUILDING_FROM_VCS 2018-01-30 19:21:39 +01:00
Christopher Lam
862956a760 BUGFIX: invoice posted-date is no longer 0 for unposted invoices
This commit fixes business reports caused by 91f4b19039
whereby the posted-date for unposted invoice was changed
from 0 to MAXINT. Now we need to use (gncInvoiceIsPosted)
or (gncInvoiceDateExists) instead.
2018-01-30 19:29:04 +08:00
fell
00c4bac65b Merge branch 'maint' into unstable
Adjust path
2018-01-30 02:44:04 +01:00
fell
8812aae5d5 Add src/plugins/example/gnc-plugin.example.c to POTFILES.skip 2018-01-30 02:07:06 +01:00
fell
ab4010b379 Replace a missed SVN 2018-01-30 00:46:13 +01:00
Geert Janssens
99ebeb6b5d gnucash.pot target improvements
- add simple target called 'pot' so translators can run 'make pot'
- make gnucash.pot depend on all files with translatable strings. So whenever
  one of these files is changed the potfile will automatically be regenerated
  (if the current target depends on it, like 'pot' or 'dist')

Note the default target (make without anything) does not depend on gnucash.pot
so the potfile will not automatically be (re)generated when building that target.
2018-01-29 21:51:38 +01:00
Geert Janssens
6e5ac2608b More translation fixes detected by Mechtilde and reported on IRC 2018-01-29 19:46:44 +01:00
Geert Janssens
c7415102fd Fix a few more translation issues discovered during code review 2018-01-29 19:46:44 +01:00
Geert Janssens
4aa1062045 Bug 792947 - Missing translatable strings
In addition
- the icon was restored on the new account button while importing
- an unused button was removed from the Tip of the day window
- a couple of whitespace issues were fixed

bug fixup
2018-01-29 19:46:44 +01:00
Geert Janssens
f319a8e2a4 Re-enable building a dist tarball from within distcheck 2018-01-29 19:46:44 +01:00
Geert Janssens
49a936c1fd Rewrite gnc_add_swig_guile_command to work in dist tarball as well
When building from git it will add targets to generate the swig files.
When building from tarball it will just point at the generated source
files from the tarball.
2018-01-29 19:46:44 +01:00
Geert Janssens
36cb167b68 Rewrite gnc_add_swig_python_command to work in dist tarball as well
When building from git it will add targets to generate the swig files.
When building from tarball it will just point at the generated source
files from the tarball.
2018-01-29 19:46:44 +01:00
Geert Janssens
ec213360f3 Review which built files are really needed in the dist tarball
Several were only there because they used to be generated via autogen.sh
and hence had to be included because autogen.sh was not supposed to be run
in a tarball based build.
A few others aren't clear so I have left them in for now:
- gnucash.1 (man page)
- gnucash-design.info (because it's unclear what we want to do with that one)

These files should clearly be in the tarball:
- gnucash.pot -> for our translators
- ChangeLog -> can't be generated outside of a git repo
- gnc-vcs-info.h -> can't be generated outside of a git repo
- guile/python bindings -> to avoid a swig dependency when building from tarball
2018-01-29 19:46:44 +01:00
Geert Janssens
9d8def84f3 Fix version number inclusion in gnucash.desktop file 2018-01-29 19:46:44 +01:00
Geert Janssens
4317d8a8f6 Improve handling of generated distributable files
- the two dist_add_... macros now both take a list of file names
as argument so more files can be added at once to the dist tarball.
- dist_add_generated now creates the right target by itself. There's
  no need to pass one any more
- make the swig generated *.py module files explicit output files
- change a couple of custom_targets into custom_commands. The only
  reason they were defined as targets was to ensure they got built
  before the dist tarball. This is now properly handled by the
  dist_add_... macros.
- correctly handle dependency on swig-runtime.h (using OBJECT_DEPENDS
  was not the way to do it according to that property's help page)
2018-01-29 19:46:44 +01:00
Geert Janssens
3dff4e5211 Fix make dist on a clean checkout
cmake with unix makefiles fails to resolve dist dependencies
added from COPY_FROM_BUILD if these dependencies aren't built yet.

This commit replaces the COPY_FROM_BUILD based logic with two new functions
'dist_add_configured' and 'dist_add_generated' to indicate which files should
be included in the dist tarball. The latter also adds a target level dependency
to the dist tarball custom command. Hence the former should
be used for files that get generated during a cmake run while the latter
should be used for files generated as the result of a 'make/ninja-build' run
(like files for which an add_custom_command rule exists).

Note: this commit also temporarily disables the dist target when building
from a tarball (and hence it won't be tested in distcheck either). This
will be handled in a future commit.
2018-01-29 19:46:44 +01:00
Geert Janssens
1258a2adfd Make potfile generation a custom target, and make the dist target depend on it 2018-01-29 19:46:44 +01:00