Commit Graph

12788 Commits

Author SHA1 Message Date
Christian Stimming
1f45659dbd Bug #615168: Fixup one last simple-format bit
src/engine/iso-currencies-to-c did the same simple-format dance that is
now unnecessary.

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19064 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:02:09 +00:00
Christian Stimming
4e32243362 Bug #615168: Replace calls to simple-format with calls to format
Guile 1.6 and up always provides simple-format, and defines it as a
restricted subset of the full format, so there's no harm in using the
construct's proper name.

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19063 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:01:48 +00:00
Christian Stimming
a52ca41d02 Bug #615168: Pull in printf from slib, change all code to use it.
There is a new module, (gnucash printf).

Patch by Andy Wingo.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19062 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:01:23 +00:00
Christian Stimming
2f9ec4381f Cutecash: Adapt to removed icon file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19061 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 21:00:58 +00:00
Christian Stimming
8e3b75e4a9 Bug #616093: Notes are not editable in scheduled transaction edit window
Patch by James Raehl:

The Notes field is not visible or editable.

This appears to be a deliberate choice, as can be seen in line 1308 of
gnome/dialog-sx-editor.c routine schedXact_editor_create_ledger.  I disagree.
Since Notes are not copied to the newly-created scheduled transaction, there is
no way for the user to copy Notes to the model, nor to modify the Notes.  This
makes the partial fix in r16652 for bug 500427 kind of pointless.

This patch reverses that decision.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19060 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 20:10:58 +00:00
Christian Stimming
81527bfcfd Bug #615912: Update gnc_quote_source from FQ 1.11 to 1.17 and enhance user_name
Patch by Frank H. Ellenberger.

Because many sources were listet as unknown, I tried to sort them in.
Because normal users don't know all englisch abbreviations of far continents,
I tried to use better understandable descriptions and added country codes.

Caveeats:
1. The HU methods were not quite clear to me, so I added only one.
2. The Currencies methods seems to fetch lists of currencies,
 something what we don't need here; correct me, if I am wrong.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19059 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 20:10:35 +00:00
Christian Stimming
d4b47d13f5 Bug #118391: Mark currency names for translation but using the "iso_4217" translation domain.
This will make approx. 50% of the currency names show up in translated form.
At least more than nothing. Eventually, we most probably must change our
long name definitions to match those of iso_4217, and after this we will
get 100% translations.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19058 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 20:07:24 +00:00
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
Geert Janssens
40c6f15645 Replace directory mv's with cp -r when the move potentially crosses filesystem borders.
Apparently, Msys' mv command fails to move directories across filesystem borders (like
from a directory on the c drive to a mounted samba share).
I hit this issue because my tmp dir is on a different filesystem from
my base dir.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19053 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-23 12:13:39 +00:00
Christian Stimming
90e34f2ae6 Add src/gnome/gnucash.desktop.in.in to the translation input files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19052 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 20:45:22 +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
310cf13f67 * Make sure wget downloads are stored with filenames not containing any html garbage (& and = signs as a result of http_get parameters).
* Have wget_unpacked return the actual path where the files were unpacked via the _EXTRACT_UDIR env variable. In most cases this is simply the path that was requested, but sometimes, a tarball or zip file adds its own relative path. The _EXTRACT_UDIR variable will take this into account by analysing the contents of the tarball/zip file.

These changes will be used in the revived cross-compile script.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19048 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-22 09:25:51 +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
Geert Janssens
04d89bde02 Move one more MSVC-only line inside the MSVC test
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19044 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-20 17:13:41 +00:00
Geert Janssens
97e2de2a5f pexports is only available if MSVC is installed. Encapsulate it in a conditional.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19042 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-20 14:54:58 +00:00
Phil Longstaff
0ee0b2d671 Change release number to 2.3.12
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19040 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-19 22:26:10 +00:00
Geert Janssens
95a2a6084f Allow QTDIR to be defined either in pure windows format (c:\xyz\def) or unix format (/c/xyz/def) without ISS bailing out.
Previously, only unix format worked.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19039 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-19 17:41:28 +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
42e6e70bfe Update Japanese names of accounts. And remove empty ja_JP.EUC directory.
Patch by Yasuaki Taniguchi.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19037 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-04-18 20:54:59 +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
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