Commit Graph

12345 Commits

Author SHA1 Message Date
Mike Alexander
003d7209a9 Watch out for a missing pricing transaction when looking for price data.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18524 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 08:04:48 +00:00
Mike Alexander
812a9fa6c5 Add a comment about GNC_COMMODITY_NS_ISO and
GNC_COMMODITY_NS_CURRENCY.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18523 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 08:03:23 +00:00
Mike Alexander
7dd2d8e566 Add new columns for the name of the lot each split is part of and for
the value of the split.  Both are optional and default to off.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18522 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:56:49 +00:00
Mike Alexander
3722706edd Fix some incorrect ENTER() and LEAVE() calls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18521 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:41:23 +00:00
Mike Alexander
128c5dd195 Fix a couple of initialized variable warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18520 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:40:28 +00:00
Mike Alexander
10cead26b1 Call gnc_{suspend|resume}_gui_refresh while closing accounts and scrubbing lots
to make them go much faster and avoid flicker.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18519 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:39:49 +00:00
Mike Alexander
889f4d19ac Fix up some gnc:debug calls (and one comment).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18518 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:37:15 +00:00
Mike Alexander
2183451889 Watch out for a null account in render-corresponding-account-subheading, it
happened to me once.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18517 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:35:42 +00:00
Mike Alexander
b5aff667de Pass the correct report name to income-statement-renderer-internal when rendering
a profit and loss report.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18516 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:34:30 +00:00
Mike Alexander
3ca3f9e72f Don't leak a file port when saving reports.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18515 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:33:26 +00:00
Mike Alexander
fa9f788504 Reset found_trans_split when the transaction being considered in gnc_split_register_find_split
turns out to be the wrong one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18514 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:28:30 +00:00
Mike Alexander
e4dd190ed9 Add missing PORTFOLIO_LEDGER register type to switch statement in
gnc_split_register_get_debcred_entry.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18513 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:26:13 +00:00
Mike Alexander
c6d4edd1b9 Fix an off by one error in gnc_ui_sx_loan_druid_create.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18512 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:21:18 +00:00
Mike Alexander
1866ebeaed Increase the size of the Guile stack to avoid stack overflow errors.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18511 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:17:09 +00:00
Mike Alexander
734c5e2f2c Fix a couple of echo commands and set warnings=no-portability when running automake.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18510 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:15:16 +00:00
Mike Alexander
8da75fff34 Make xaccSplitDump and xaccTransDump work for debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18509 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 07:10:49 +00:00
Mike Alexander
9b31a03191 Teach xaccSplitConvertAmount that 0*x = 0. Avoids looking up non-existant exchange rate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18508 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 06:30:26 +00:00
Mike Alexander
574385f9fd Add some missing Leave() calls.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18507 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-17 06:25:45 +00:00
Christian Stimming
cfeac5253d Updated Dutch translation, by Mark Haanen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18506 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-16 20:37:17 +00:00
Geert Janssens
be6016886e Fix gwenhywfar version lookup by tightening the RE used
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18505 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-16 12:23:16 +00:00
Phil Longstaff
dbeee382fe Need to export the variables for glib to see them
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18504 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-16 00:17:30 +00:00
Christian Stimming
645c4e48c1 temporarily disable the gwenhywfar version lookup - there are multiple lines matching GWENHYWFAR_SO_EFFECTIVE
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18503 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-15 21:27:22 +00:00
Christian Stimming
7619232f3b Really fix r18495 (#586122) to look up the so-name of gwenhywfar correctly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18502 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-15 20:30:15 +00:00
Geert Janssens
51f073af01 Require gtk+ >= 2.8
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18501 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-14 22:25:35 +00:00
Geert Janssens
e3039a0457 Some usability improvements to the Save As.../Open dialog (part 2)
Forgot to add the changes in c code...

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18500 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-14 22:24:47 +00:00
Geert Janssens
edaf8bcd27 Some usability improvements to the Save As.../Open dialog
* The dialog gets a proper title
* Only show the File frame or the Database frame,
  as relevant to the chosen data format
* Set a minimum width. Without it the dialog comes up too narrow.
* Some minor layout changes (spacing, justification,...) to harmonize with
  other GnuCash dialogs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18499 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-14 21:35:53 +00:00
Mike Alexander
daa1c8e23b Symlink the reports to the build directory to make it easier to use them when
running in place after a build without installing GnuCash.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18498 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-14 05:52:22 +00:00
Mike Alexander
287c85ce9d Use resolve-interface instead of resolve-module when loading reports fo only the
exported interface gets imported instead of everything defined in the file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18497 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-14 05:50:57 +00:00
Mike Alexander
e7cd4d4595 Make the dbi backend tests work correctly if dbd is installed in a nonstandard location.
Supply a GNC_DBD_DIR environment variable to the tests so it knows where to find the 
database modules.  This is needed if libdbi is installed via MacPorts on OS X.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18496 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-14 05:48:45 +00:00
Christian Stimming
3f658ca02e Fix #586122 (follow-up to r18488) by using aqbanking/version.h from its installation path.
Also look up the gwenhywfar so-name accordingly.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18495 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-13 21:16:25 +00:00
Phil Longstaff
d8612ea9ac Revert r18426 - "Bug #121695: Support account reparenting through drag and drop"
Causing CRIT messages when you change accounts in a report options dialog.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18494 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-13 19:22:12 +00:00
Phil Longstaff
fce8b781d1 Add flags to help with valgrind on glib
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18493 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-13 19:19:59 +00:00
Phil Longstaff
49a9fb8bc9 Free prices so that they can be deleted when the book is closed
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18492 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-13 19:18:35 +00:00
Phil Longstaff
15491e23e7 Free budgets when closing a book
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18491 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-13 00:42:12 +00:00
Phil Longstaff
66b64e45e8 When closing the book, destroy all lots (found by valgrind)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18490 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-12 20:05:44 +00:00
Phil Longstaff
75e1094cfd Free memory leaks
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18489 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-12 00:15:50 +00:00
Geert Janssens
c5ada60a9b Bug 586122 - The AqBanking Wizard can't be loaded: plugins\20 folder to be renamed into plugins\16
The patch evaluates and configures the proper paths at build time, retrieving
the required info directly from the aqbanking source

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18488 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-11 19:57:17 +00:00
Christian Stimming
9d6a833973 Updated Dutch translation, by Mark Haanen and Jos, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18487 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-11 19:41:36 +00:00
Phil Longstaff
e278b0c643 Add qof_backend_module_finalize() routine to call dbi_shutdown() to free allocated resources.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18486 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-11 17:32:35 +00:00
Phil Longstaff
a3b87ece92 Add qof_finalize_backend_libraries() which is called during shutdown. This routine checks each backend
library for an exported qof_backend_module_finalize() routine, and if it exists, calls it so that the
backend can free any resources which have been allocated.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18485 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-11 17:31:35 +00:00
Phil Longstaff
16144d6828 Fix some memory leaks found by valgrinding tests
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18483 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-11 02:28:07 +00:00
John Ralls
21d920d0de Remove erroneous use lib from gnc-fq-*, along with PERLINC setup in configure.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18482 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-10 22:39:33 +00:00
Christian Stimming
b0824d6ceb Small UI string corrections related to the recent tax enhancements.
Patch by J. Alex Aycinena.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18479 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-09 21:30:50 +00:00
Christian Stimming
355d8c41fa Small UI string corrections related to the recent tax enhancements.
Patch by J. Alex Aycinena.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18477 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-09 20:56:54 +00:00
Geert Janssens
8bd170e56c Payment dialog layout improvements
- Rearrange the frames so that the Transfer Account frame gets
  more space
- Add tooltips to (owner), (invoice) and amount related widgets.
- Properly align the invoice_label widget

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18474 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-09 15:14:35 +00:00
Christian Stimming
9c6806c353 Decrease verbosity during win32 packaging: Inno, gconftool-2, htmlhelp compiler (hhc) with less output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18473 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-08 20:42:46 +00:00
Phil Longstaff
8ec302bf40 Disable it_IT help in the win32 binary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18470 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-06 18:58:17 +00:00
Christian Stimming
116b8b2371 Bug #603186: Fix crash with txf.scm on win32
Patch by J. Alex Aycinena:

In further testing I discovered that I omitted some codes in
txf-de_DE.scm and txf.scm that need to be there. Without them gnucash
crashes under certain circumstances.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18465 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-04 21:09:59 +00:00
Christian Stimming
a699183ae5 Bug #537476: Fix currency trading account preference lookup
Patch by Mike Alexander:

There are a few values related to the trading accounts preference that are
needed in both Scheme and C code.  Since one of them was already defined in
Scheme before I started, I defined all of them there and tried to import them
to C.  This is obviously not a good idea, especially since the make check tests
don't even fire up Guile so Scheme code isn't available.  This patch changes
things around to define the values in C and import them to Scheme.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18464 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-04 20:26:48 +00:00
Christian Stimming
7359e68827 Updated Durch translation by Mark Haanen, copied from Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18460 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-03 21:12:42 +00:00