Commit Graph

12386 Commits

Author SHA1 Message Date
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
Phil Longstaff
27f66f6ed9 Update revision number to 2.3.8
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18456 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-02 00:41:26 +00:00
Mike Alexander
e150417410 Fix the bug described in comment 19 of bug 537476, balance sheet wrong without trading accounts.
The problems is that xaccQueryAddAccountMatch and xaccQueryAddAccountGUIDMatch
match all accounts rather than no accounts when given a null account list.  This means
that gnc:accountlist-get-comm-balance-at-date returns a balance for all accounts when
given no accounts.  This caused the balance sheet report to fail if there were no trading
accounts.  There is a similar problem with gnc:account-get-trans-type-splits-interval in 
gnc:html-acct-table-add-accounts! in html-acct-table.scm that is also fixed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18455 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-01 05:15:02 +00:00
Phil Longstaff
bf7a7a7497 Recreate index after updating table
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18454 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-30 23:21:50 +00:00
Christian Stimming
12069d5947 Bug #310567: Disable newly introduced "shift txn forward" feature again because it is unfinished.
The behaviour of the menu item is not yet clear: After
clicking on it, nothing changes in the transaction, only after I additionally
pressed "enter". After this, the running balance currently isn't
updated, which is additionally confusing. These two points would need to be
fixed before we can recommend this feature for the next stable version 2.4.0.
I disable it for now so that we can release something.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18450 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-29 20:22:48 +00:00
Phil Longstaff
58f05266fb Temporarily disable currency trading accounts so that 'make check' will pass so that
2.3.8 can be released.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18449 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-29 19:48:21 +00:00
Phil Longstaff
48a3d3cd9a Fix test-resolve-file-path - results have changed now that resolve_file_path uses '_'
instead of ',' for special characters.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18448 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-29 19:47:15 +00:00
Phil Longstaff
4e37dacb60 Fix compilation problem in test - I'm not really sure why this is now a problem. Perhaps
libxml include files have changed between ubuntu 9.04 and 9.10.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18447 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-29 19:45:43 +00:00
Phil Longstaff
763e3ed280 Add src/gnome-utils/gnc-tree-model-account-drag.c to po/POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18446 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-29 19:43:36 +00:00
Phil Longstaff
5b49c70ed2 Fix bug 600486 - Unable to open sqllite file on Win7 64 bit
Unposted invoice has NULL tx guid, which wasn't being handled correctly.  Doesn't crash
on linux but does on windows.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18444 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-11-28 15:51:49 +00:00