Commit Graph

12914 Commits

Author SHA1 Message Date
Geert Janssens
ad8f6711a9 Small corrections in the comments of gnc-commodity.h
1 typo
1 moved file
1 complement

Patch by Frank H. Ellenberger

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19036 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 20:33:43 +00:00
Phil Longstaff
1dd6996f84 Assume webkit functions exist on win32
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19035 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 20:20:31 +00:00
Phil Longstaff
e96109fac1 Change default from --disable-dbi to --enable-dbi.
This is needed so that 'make distcheck' will work with the business sql backend tests.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19034 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 18:08:42 +00:00
Phil Longstaff
7b06836cb6 Disable transaction log so that there aren't log files left lying around to make 'distcheck' fail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19033 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 18:07:35 +00:00
Phil Longstaff
95a0a50ae6 Add .h files to EXTRA_DIST to ensure they are put into tarball
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19032 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 18:07:05 +00:00
Phil Longstaff
4c4fe17373 Fix test dependencies
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19031 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 17:48:05 +00:00
Phil Longstaff
0cdb4dd744 Ensure necessary .h files are included in EXTRA_DIST
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19030 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-17 19:44:43 +00:00
Phil Longstaff
7c2d9421b9 Remove reference to GNC_TEST_SRFI_LOAD_CMD since we no longer support local srfi's.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19029 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-17 19:01:02 +00:00
Phil Longstaff
3284ec4703 Add functions to compare 2 business objects for equality, and use them in 'make check' tests.
Adds functions to compare 2 business objects for equality.  The 'make check' tests can then use these functions to store and reload objects and compare them for equality.  This allows the sql backend to be tested.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19028 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-17 17:00:18 +00:00
Phil Longstaff
a9d83d7126 Check for webkit_web_view_load_uri() function, and if not available, fall back to webkit_web_view_load_html_string().
This change also changes the config #define name from HAVE_WEBKIT_PRINT_FULL to HAVE_WEBKIT_WEB_FRAME_PRINT_FULL to be a bit more descriptive.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19027 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-17 16:52:20 +00:00
Geert Janssens
72484a458c Enable the use of gnome-keyring during loading and saving of data.
- The database passwords will no longer be stored in history
- During save as, the user-entered password will be stored in gnome-keyring
- During open, the user-entered password will be stored in gnome-keyring
- When a file is opened from history (no file specified at startup or
  user selects an entry in the File menu's history) the password is
  fetched from the gnome-keyring.

This currently works on linux. On Mac OS X or Windows no passwords are stored
and the user is asked for a password when a file is loaded from history.
Adding keyring/keychain capability on these systems is tbd.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19026 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-17 16:17:55 +00:00
Mike Alexander
33798cd3d3 When printing WebKit based reports respect the Page Setup settings.
If webkit_web_frame_print_full exists in the version of WebKit being used then 
use it with a GtkPrintOperation which has been initialized from the Page
Setup data.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19025 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-16 05:26:25 +00:00
Cristian Marchi
18caf227a6 Update of Brazilian Portuguese translation by Miguel Rozsas
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19024 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-15 11:47:09 +00:00
Christian Stimming
e30a3414d2 Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19023 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-15 07:04:21 +00:00
Christian Stimming
72790cbaeb Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19021 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-12 21:25:35 +00:00
Christian Stimming
a5a476ebca Cutecash: Add install and packaging rules.
Running "make package" will produce a binary package.
Running "make package_source" will produce a source package.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19020 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-12 19:21:14 +00:00
Christian Stimming
08c36773ec Win/MSVC compatibility: Replace g_* file operations by the direct calls into the MSVC runtime.
This tries to avoid a collision between glib's C runtime vs.
the one that is used by MSVC (and hence also Qt) by using
file access only through MSVC's one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19019 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-12 19:20:54 +00:00
Mike Alexander
891c051f83 Make the calculations more nearly the same as the older balance sheet report
Calculate retained earnings or loss from income and expense accounts and
label the amount needed to balance the books as the imbalance amount
instead of retained earnings or loss.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19018 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-12 02:38:43 +00:00
Mike Alexander
d757673b87 Update eguile based balance sheet report to work with current GnuCash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19017 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-11 19:12:29 +00:00
Mike Alexander
f4f35770cb Add the eguile based balance sheet report.
This version is directly from the wiki at
<http://wiki.gnucash.org/wiki/Custom_Reports_Using_Eguile>
and won't work in the current version of GnuCash.  It is included for 
reference purposes.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19016 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-11 19:05:44 +00:00
Phil Longstaff
7f8326674e Fix gnucash-gdb.in to use gdb from the right place
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19015 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-11 12:50:21 +00:00
Christian Stimming
1fe98a2904 Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19014 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-10 20:37:38 +00:00
Christian Stimming
04552dd13d Change the iso-4217 generator script to accept the srcdir as cmdline argument instead of an env variable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19013 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-10 19:44:02 +00:00
Christian Stimming
aa0c80f38e Win32: Add mingw cutecash build to the install.sh script, enabled by WITH_CUTECASH=yes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19012 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-10 19:33:25 +00:00
Geert Janssens
9b4682cb04 Insert missing "format:" - otherwise it didn't build for me.
Additional simplifying git expressions.
Patch by Frank H. Ellenberger

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19011 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-10 12:22:56 +00:00
Geert Janssens
6e68835bd8 Remove unneeded path conversion on Windows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19010 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-10 09:06:01 +00:00
Geert Janssens
547b7aa5fe Add note about required Qt for dist.sh + some typo fixes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19009 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-10 09:01:16 +00:00
Geert Janssens
196852f687 Fix crash when trying to unset a parameter via the environment config file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19008 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-09 08:13:29 +00:00
Cristian Marchi
9f35371939 Update of Brazilian Portuguese translation by Miguel Rozsas
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19007 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-08 18:52:19 +00:00
Christian Stimming
92bd65c114 Updated Dutch translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19006 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-08 07:23:40 +00:00
Christian Stimming
749b7cb7c8 Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19004 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-06 13:24:54 +00:00
Christian Stimming
33c2e6d1d5 Merge po templates with latest string changes (mostly the removal of taxtxf.scm from translation)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19003 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-06 13:22:56 +00:00
Christian Stimming
8f63d34bbd I18n: Remove strings of the US tax report from translation because this report makes sense only in English.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19002 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-06 12:59:12 +00:00
Geert Janssens
fef687aa2f Fix Windows build after introduction of the environment config file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19001 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-06 11:55:43 +00:00
Geert Janssens
ac4c65dd51 Revive gnucash-setup-env on OSX/Quartz.
This fixes the OSX issues caused by the introduction of 
the environment config file.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19000 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-06 11:03:23 +00:00
Mike Alexander
6d6a1eac8a Fix MacOSX keyring test in configure to work and make gnc-keyring.c compile if it does.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18999 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-06 02:19:25 +00:00
Mike Alexander
fe6d35d6bf Initialize new_val in environment_override to avoid a compiler warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18998 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-06 02:17:21 +00:00
Geert Janssens
cbe2fb979d G_PATH_SEPARATOR is not used in the environment config file. Remove it from the make script.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18997 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-05 18:09:51 +00:00
Geert Janssens
a8f22f38e3 Make sure only the quartz build uses environment-osx.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18996 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-05 18:08:26 +00:00
Geert Janssens
54324efc7f Remove local srfi's and require guile 1.6.7 or better.
All now supported versions of guile come bundled with these
srfi's, so there's no need to keep our own copies.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18995 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-05 16:48:09 +00:00
Geert Janssens
0e5e0e2227 Have the gnucash binary setup its required environment by itself
- New "environment" config file that holds the environment modifications to make
- Added a parser for this file that does the actual modification
  of the environment (in gnucash-bin.c)
- Eliminate the old gnucash-setup-env script

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18994 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-05 14:48:22 +00:00
Geert Janssens
c0819c34c4 Configure: fix password store test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18993 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-05 09:21:15 +00:00
Phil Longstaff
0a5fc8223d Fix #588816 - Heading Banner Image does not display or print on invoice reports
Along with a new version of webkit which properly handles local image files, a change was needed so that instead of creating an html string and feeding it directly to webkit, it is exported to a temp file which is then loaded as a file:// URI.  On Linux, if this is not done, any embedded images do not appear, and there is a console message that local resources can't be loaded.  On Windows, the embedded images don't appear, possibly for the same reason, but I'm not sure where the console messages go.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18992 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-04 23:55:53 +00:00
Phil Longstaff
8e71388367 Upgrade win32 version of webkit from 1.1.5 to 1.1.90.
This version contains changes required to fix #588816 (Heading Banner Image does not display or print
on invoice reports).  Note that this bug won't be fixed until some gnucash changes are checked in as well.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18991 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-04 21:22:19 +00:00
Geert Janssens
7eb21eb712 Configure: group platform dependent tests
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18990 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-04 20:11:18 +00:00
Geert Janssens
e134a06cac Can't add or update currencies in 2.3.11
Reported by Markus Scheffler on Apr 2 via gnucash-user ML

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18989 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-03 08:13:21 +00:00
Christian Stimming
56e0a53e28 Updated Danish translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18988 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-02 18:45:08 +00:00
Christian Stimming
8410ef5a1e Fix missing printf format string
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18987 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-01 16:20:39 +00:00
Geert Janssens
1955731412 Bug #525821 - new or edited account names should be checked for reserved chars like ":"
Addendum: Fix compatibility with older Gtk versions.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18986 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-01 07:43:13 +00:00
Christian Stimming
1c8830180a Cutecash: Slightly decrease debug output verbosity.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18985 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-31 19:43:43 +00:00