Commit Graph
9831 Commits
Author SHA1 Message Date
Christian Stimming 3906edd20c Revert r19051, "Bug #118391: Mark the currency names for translation."
We better don't mark the currency names for translation inside gnucash.pot;
instead, we should use the "iso_4217" translation domain.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19057 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 20:07:01 +00:00
Geert Janssens 4e1428178e Bug #616615 - Request for larger size icon (96x96, 128x128, 256x256): Properly include smaller icon sizes, remove duplicate size
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19056 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 15:26:34 +00:00
Geert Janssens f96b2969d1 Remove redundant test for ENOSYS
The error code was checked twice against ENOSYS, once in all situations, and once if ENOSYS is defined. This makes no sense. Since we never had bug reports for compilation errors on ENOSYS undefined, we can assume ENOSYS is always defined.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19055 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 14:27:26 +00:00
Geert Janssens f9d1bb7390 Bug #616615 - Request for larger size icon (96x96, 128x128, 256x256)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19054 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 13:01:15 +00:00
Christian Stimming 1fbdf985d7 Bug #118391: Mark the currency names for translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19051 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 20:32:56 +00:00
Christian Stimming 85526a767b I18n: Fix typo in user message.
This breaks the string freeze, but 1. the typo really hurts one's eyes, and
2. the message is only secondarily important, so I would accept this single
string freeze breakage.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19050 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 19:55:21 +00:00
Geert Janssens 358d5da59c Enable keychain functionality on OS X after fixing compiler bugs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19049 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 13:20:26 +00:00
Geert Janssens 986a82b9c9 Makefile fixes for setup-gnucash-env on OS X
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19047 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 09:14:53 +00:00
Phil Longstaff ac1cf031f5 When updating book counters for business objects (in book slots), ensure they're saved.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19038 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-19 16:56:40 +00:00
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 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
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 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
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 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
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 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
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
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 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
Geert Janssens f06363cf2a Bug #525821 - new or edited account names should be checked for reserved chars like ":"
This patch checks if the separator character is used in account names when loading
a data file, or when changing the separator character in the preferences.
If the separator character is incompatible with some account names, a warning
dialog box is popped up explaining the situation. This dialog also lists the
violating account names.
Additionally, the preferences dialog will show a warning sign as long as the separator
clashes with some account names. The tooltip for this sign will also display the
violating account names.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18984 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-30 22:19:39 +00:00
Christian Stimming d155edeeb5 Fix CMake for building the dbi backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18982 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-30 19:59:50 +00:00
Geert Janssens ad2d750a4c Bug #613963 - GnuCash opens empty window when no state file is found
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18981 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-30 15:32:25 +00:00
Geert Janssens d301700893 Fix indentation with astyle
The indentation was mixed up due to the unusual IF_TYPE macro, now removed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18980 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-30 14:41:54 +00:00
Geert Janssens 32baf843e2 Replace IF_TYPE macro with a validation function
The macro is quite ugly: it's not a complete if condition (missing closing bracket)
which makes the code using it difficult to read and error-prone.
Even astyle got confused by it.
The replacement code is slightly longer (two lines per replaced IF_TYPE invocation)
but clean and readable.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18979 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-30 14:29:53 +00:00
Geert Janssens 5f5f5a88f9 Bug #612566 - Build failure with glib 2.10 - undefined gdk_color_to_string
From modified patch by Bob

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18977 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-30 10:56:57 +00:00
Geert Janssens 746a4ca003 Remove redundant page tab setting code.
The tab is set again some time later in the gnc_main_window_connect function.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18976 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-30 10:20:14 +00:00
Geert Janssens 5d006dad74 Bug #605802 - Can't input Japanese characters at an account register window on windows with SCIM, IIIMF and XIM
This patch by Yasuaki Taniguchi fixes the business register.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18974 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-28 21:09:57 +00:00
Christian Stimming c6e5d407e3 Cutecash: Fix missing #ifdefs for dbi calls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18973 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-03-28 10:46:10 +00:00