Commit Graph

12363 Commits

Author SHA1 Message Date
Mike Alexander
91bdb89a72 Add a Select Children button to the widget used for account selection in
report options dialogs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18543 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-01-02 22:59:38 +00:00
Mike Alexander
ee8a1499e7 Load gnc-build-url from the correct file so the accounts list
option works again.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18542 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-31 23:15:31 +00:00
Geert Janssens
35c352d09b Fix bug #582325 by refactoring some deprecated guile functions:
SCM_BOOLP -> scm_is_bool
SCM_NULLP -> scm_is_null
SCM_FALSEP -> scm_is_false
SCM_NFALSEP -> scm_is_true
SCM_VECTORP -> scm_is_vector
SCM_NUMBERP -> scm_is_number
SCM_CONSP -> scm_is_pair
SCM_STRING_CHARS -> scm_to_locale_string

Specifically the replacement of SCM_STRING_CHARS with scm_to_locale_string fixes Bug #582325

Additionally, I have renamed these internal functions for global consistency:
SCM_PROCEDUREP -> scm_is_procedure
SCM_LISTP -> scm_is_list
SCM_EXACTP -> scm_is_exact
SCM_EQUALP -> scm_is_equal

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18541 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-31 14:41:12 +00:00
Phil Longstaff
1f61a5c473 Don't show hidden accounts in the transfer dialog. This should be connected to the UI,
but my ubuntu has glade 3 which mucks up the .glade files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18540 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-30 16:49:30 +00:00
Christian Stimming
c969cd19ae Updated German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18539 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-29 21:18:54 +00:00
Christian Stimming
14408752ec Bug #605414: Clarify Quick-fill tip of the day
Patch by James Raehl:

Patch adds Tab key step to the Quick Fill tip.  New users do not know about
this step.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18538 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-29 20:20:56 +00:00
Christian Stimming
a120ce996c Bug #605415: Relax limit on scheduled days in the future
Patch by James Raehl: Expand scheduled transaction date limit by 366 days

Usually, scheduled transactions are limited to 365 days in the future.  This
patch doubles that limit plus adds a day for leap years.  The patch supports a
method for separating transactions that are not yet posted at the bank, by
assigning an initial date one year in the future.  Under this method, scheduled
transactions and their reminders are one year in the future, since they have
not happened yet.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18537 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-29 20:20:36 +00:00
Christian Stimming
3535078fe7 Remove unneeded information lines about "qof" - we're using our internal code always anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18536 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-29 20:13:25 +00:00
Christian Stimming
61c16a06dd Re-indentation of source code, next batch.
This also strips trailing whitespaces from lines where they existed.
This re-indentation was done using astyle-1.23 using the following options:

astyle --indent=spaces=4 --brackets=break --pad-oper

Discussed at http://lists.gnucash.org/pipermail/gnucash-devel/2009-August/026121.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18535 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-29 20:12:48 +00:00
Mike Alexander
5860ae976c Allow digits in Gtk action names created in gnc_create_extension_info.
This should fix bug 447339 as long as all report names are unique 
considering only alphanumeric characters.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18534 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-29 06:13:26 +00:00
Christian Stimming
ba39c5cda5 Updated Dutch translation, by Mark Haanen and Jos, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18533 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-28 19:50:00 +00:00
Christian Stimming
5e03ed3e98 Updated aqbanking version numbers for win32 build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18532 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-27 20:51:48 +00:00
Christian Stimming
5704fcc102 Updated Japanese translation, by Yasuaki Taniguchi, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18531 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-27 20:46:56 +00:00
Christian Stimming
e939dd3f77 I18n fix of concatenated expression.
We must not concatenate a word expression from different strings.
Instead, we must translate each expression separately.

Pointed out by Mark Haanen.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18530 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-23 21:04:22 +00:00
Christian Stimming
a0703becbf Updated Dutch translation, by Mark Haanen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18529 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-23 20:54:48 +00:00
Phil Longstaff
e190f37cec Fix bug #603215 - Custom report from Budget Report does not save selected Budget
Problem was how budget option tried to create the lambda function to restore the value.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18528 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-20 00:25:50 +00:00
Phil Longstaff
7bbb8888a7 Free accounts/lots/splits/transactions when closing a book
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18527 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-18 19:45:57 +00:00
Geert Janssens
c41b3b0d60 Bug #479581 gnucash --nofile hasn't application name in window title
When no file is selected, the title now becomes "Unsaved Book - GnuCash".
The first part is following Gnome HIG guidelines, the latter part is
a preference of several GnuCash developers.
Furthermore, the "- GnuCash" suffix will always be appended, not only 
when no file is open.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18526 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-12-18 12:39:15 +00:00
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