Commit Graph

532 Commits

Author SHA1 Message Date
John Ralls
e6ea84ba58 Fix missing leading dot in sheet specification. 2018-07-10 07:12:21 -07: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
Robert Fewell
dacaa93951 Bug 795446 - On Windows there is a blank tip of the day
When the tip_of_the_day.list is created a new line is appended to the
list file and on Windows this causes a blank tip so remove the adding
of the extra line.
2018-04-24 15:52:52 +01:00
John Ralls
dc39110584 Put the crlf line-endings back on windows text files. 2018-03-10 11:24:44 -08:00
fell
fdfa6f528c Merge branch 'maint' into unstable 2018-03-10 11:06:59 +01:00
fell
df26146d2a Backport and review of commit c0fd3b3:
Remove all references to the now-defunct Yahoo! quote retrieval
2018-03-10 10:20:26 +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
Robert Fewell
3bc741e193 Remove doc gtk2 rc file and replace with gtk3 css one 2018-02-18 22:41:21 +00: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
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
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
85bfbd8e82 Some minor cleanups after the autotools removal
This includes removal of the now unused make-gnucash-potfiles.in,
checking for CMakeLists.txt rather than Makefile.am in gnc-vcs-info,
upating the HACKING file,
and generally updating references to autotools.

I have kept "Makefile.*" exclude patterns in our CMakeLists.txt files
because they may still be lingering in the source directory from
previous autogen.sh runs. At some point these should probably be
removed as well still, together with the gitignore references to them.
2018-01-26 18:22:48 +01:00
John Ralls
6ffb77de20 Merge branch Rob Gowin's 'bye_bye_autotools' into unstable. 2018-01-18 12:02:56 -08:00
Geert Janssens
2364c5607f Merge branch 'maint' into unstable
Resolved conflicts:
	gnucash/gnome-search/dialog-search.c
	gnucash/gnome-utils/gnc-splash.c
	gnucash/import-export/aqb/gnc-plugin-aqbanking.c
	gnucash/import-export/import-account-matcher.c
	po/de.po
	src/report/standard-reports/budget-barchart.scm
	src/report/standard-reports/budget.scm

Note the de.po conflict was resolved by dropping all changes
and merging the file again with gnucash.pot (generated after
the merge but before committing).
2018-01-17 18:08:05 +01:00
fell
762c3b8f56 Improve translator comments, remove an unneeded MsgId
Mostly avoid some unwanted comments, fix typos ...
2018-01-15 15:48:38 +01:00
Rob Gowin
54ac7f23e0 Remove Autotools 2018-01-13 12:52:57 -06:00
Geert Janssens
f11eab36d9 Replace GNC_CONFIGURE(2) with configure_file 2017-12-23 14:07:25 +01:00
John Ralls
9b0a8723a4 More GNUInstallDirs path fixes. 2017-12-01 13:56:52 -08:00
Geert Janssens
9472e9347f Replace ambiguous 'scm' with 'vcs' in macro name
Pointed out by Frank.
2017-10-05 22:47:11 +02:00
Geert Janssens
e56cb37813 Additional changes to use commit date rather than build date
This effectively replaces the use of GNUCASH_BUILD_DATE with GNUCASH_SCM_REV_DATE.
The latter is extracted from the current commit if building from some kind of vcs
(currently only works correctly for svn and git). The info extracted while building
from vcs is then also added to the dist tarball so it's available when building
from tarball as well (via the file libgnucash/core-utils/gnc-vcs-info.h).

The same date is also used to set the date in gnucash' man page document.
A practical detail: I have changed the substitution variables in the man page template
from @- -@ to ${} so we could leverage CONFIGURE_FILE in cmake. The necessary
related adjustments have also been made to Makefile.am's substitution rules.
2017-10-05 15:51:55 +02:00
Geert Janssens
5ac849623a Add Catalan README file to autotools based build 2017-09-27 17:09:23 +02:00
Josep-Maria Prat
a7ec61393b Readme translated into catalan 2017-09-26 11:56:50 +02:00
Geert Janssens
41a6ac89e0 Fix ambiguity in Dutch translation of the gnucash description 2017-08-09 13:50:44 +02:00
Geert Janssens
b1f9f80110 Add CMakeLists.txt files to dist tarball generated by autotools
This is half of the work to align the cmake and autotools generated dist tarballs.
What's missing in the cmake dist tarball on my system are all the files generated
or installed by running autogen.sh. I can't test this because cmake can't run
my version of automake (1.15), or at least our CMake configuration prevents this from happening.
2017-07-10 20:06:31 +02:00
Rob Gowin
6b14dc5b59 Implement 'dist', 'distcheck' and 'uninstall' targets for CMake 2017-07-03 16:15:17 -07:00
klemens
2a97675bee spelling fixes 2017-01-23 11:50:00 +01:00
John Ralls
1cc10b5b4c Bug 776494 - Wrong menu entry in Tip of the day 2016-12-27 14:46:25 -08:00
John Ralls
38527d08f1 Bug 775912 - Tips of the Day shows content only once very 3 times
Remove extra line-feeds from CMake generation of tips_of_the_day.list. They're unneeded and mess up windows parsing the file.
2016-12-13 11:53:23 -08:00
Chris Good
ab35b571c3 Add Tip Of The Day re using multiple windows to do comparisons - Bug 762800
Note: this introduces an untranslated string to the stable series
2016-03-13 14:06:20 +01:00
Geert Janssens
acdd5d0208 Bug 744157 - Tip about subaccount is confusing 2016-02-22 16:39:47 +01:00
Prayag Verma
17033c64d8 Fix Typos in doc/README.translator.txt
Convert file to UTF-8
Spelling mistakes fixed -
begining > beginning
tranlation > translation
2016-02-01 18:13:55 +01:00
RobGowin
53b7c51632 Support CMake 3.0 for Debian Jessie 2016-01-14 09:58:29 -08:00
Rob Gowin
1d474968ca Add ability to build GnuCash with CMake
Backported from master.
2016-01-12 14:47:11 -08:00
Mike Alexander
a61f61406f Fix line endings in repository to match recent change to .gitattributes 2014-12-11 02:55:06 -05:00
Mike Evans
5e4fbfe8c3 Bug 721929 - Importing a customer list causes a crash.
Seems I omitted some things.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23677 57a11ea4-9604-0410-9ed3-97b8803252fd
2014-01-10 12:14:08 +00:00
Cristian Marchi
6bf62a3679 Remove double spaces from translatable strings. Patch submitted by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23125 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-04 19:04:39 +00:00
Cristian Marchi
852c3ed568 More consistency for UI strings. Patch by Aurimas Fišeras.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@23120 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-08-02 18:34:40 +00:00
John Ralls
5fa2cf898c More Makefile changes to get distcheck to pass
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22851 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-30 21:31:17 +00:00
John Ralls
06ef0c85c1 Some cleanup to get make-dist to build in the tarball
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22847 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-03-29 22:56:03 +00:00
Geert Janssens
bf34e32303 Bug #680086 - Each Tip of the Day has an n shown at the end
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22721 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-22 10:14:51 +00:00
Geert Janssens
f6e626276b Bug #604520 Explain scope of find transaction tool.
Signed-off-by: Yawar Amin <yawar.amin@gmail.com>

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22711 57a11ea4-9604-0410-9ed3-97b8803252fd
2013-01-19 09:25:27 +00:00
Frank H. Ellenberger
7ddef0069b Bug #684719 - Man pages for gnc-fq-* perl scripts
first (static) publishing of the pod extracted man pages
until we have some consense.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22424 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-09-24 16:42:28 +00:00
Geert Janssens
ebcf0f7d8a Added new tip for scheduled transactions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22348 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-08-24 14:38:07 +00:00
Geert Janssens
5210dea832 Modify one tip of the day to illustrate the use of \n in tips
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22261 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-07-07 16:06:36 +00:00
Geert Janssens
e0e41d221f [PATCH] Fix tip-of-the-day with gcc-4.7
When making the text file tips-of-the-day, GnuCash expects 'gcc -E' to
preserve at least one of the whitespace lines between entries. However, this
relies on behavior of 'gcc -E' that isn't actually part of the spec, and is
a historical accident. And it changed in gcc-4.7, such that all the
whitespace is removed.

Work around this by explicitly adding a newline in the sed expression.

Pre gcc-4.7 there will be two newlines between tips, but this has no impact
on the tip displaying code.

Patch by Bill Nottingham
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22246 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-06-27 20:33:03 +00:00
Mike Evans
105ab023f4 New plugin to import customers and vendors from a csv type file.
From a patch by Sebastian Held.
Again the CSV file is of fixed number of fields, similar to invoice/bill importer.
Please test this.
Field list:
id,  company,  name,  addr1,  addr2,  addr3,  addr4,  phone,  fax,  email,  notes,  shipname,  shipaddr1,  shipaddr2,  shipaddr3,  shipaddr4,  shipphone  shipfax,  shipemail
Vendors don't have shipping information so even though the fields have to exist, leave them empty.
The id field is optional, if empty a new id will be chosen. If an id is used this will UPDATE
a vendor/customer with the same id.  This may not be what the user wants.  Maybe this should
be optional/selectable behaviour.
To enable the plugin, add the line:
(gnc:module-load "gnucash/plugins/customer_import" 0)
to ~/.gnucash/config.user

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@22065 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-02-28 18:38:26 +00:00
Geert Janssens
e91e669858 Bug #667581 - Migrate Invoice / Bill plugin to Builder
Add two new files that were in the original patch also.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21876 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-22 21:25:51 +00:00
Mike Evans
df94d1c936 Bug 667581 - Migrate Invoice / Bill plugin to Builder
Patch supplied by Bob Fewell.  Many thanks.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21869 57a11ea4-9604-0410-9ed3-97b8803252fd
2012-01-21 12:20:49 +00:00
Christian Stimming
411261ae17 Remove obsolete documentation texts.
Those are so insanely obsolete, it hurts our eyes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@21568 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-11-14 19:43:20 +00:00