Commit Graph

11428 Commits

Author SHA1 Message Date
Charles Day
8ee9abc9f1 Revision to r17178 for an unintended change to the file's introductory comments.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17179 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-28 16:56:08 +00:00
Charles Day
b9a3f6a81f Reporting: Prevent GnuCash from crashing if a report's option generating procedure causes a Scheme exception. Also fix a typo of "names" vs. "namer".
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17178 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-28 15:47:49 +00:00
Phil Longstaff
bcd5574d9a Fix memory leak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17172 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-25 22:06:36 +00:00
Andreas Köhler
5c9826170f Remove dead function gnc_split_reg_check_close().
This job is done by gnc_plugin_page_register_finish_pending().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17170 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-22 01:46:56 +00:00
Charles Day
7d8230ad77 Eliminate requests to translate several phrases that are never displayed.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17164 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-20 16:06:48 +00:00
Charles Day
55483496a4 Bug #475980: Fix the labeling of several QIF importer pages.
The account, category, and memo matching pages have been redesigned to better comply with the HIG:
1. The labels that told (sometimes incorrectly) which page comes next are gone.
2. The lists now offer a mnemonic for keyboard navigation.
3. A count of selected matches is now indicated by a label.
4. A "Change" button has been added as a more obvious alternative to double-clicking.

On the currency page
1. The label that told (sometimes incorrectly) which page comes next is gone.
2. The remaining labels have been simplified.
3. A mnemonic is now offered for keyboard navigation.

Finally, some function names have been adjusted for consistency.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17162 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-18 22:20:21 +00:00
Phil Longstaff
6f2674c4b6 Fix memory leak - return value from recurrenceToString()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17161 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-18 16:59:25 +00:00
Derek Atkins
8d532f650c Match NULL and guid_null() for NULL GUID Matches
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17160 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-17 17:46:40 +00:00
Derek Atkins
1b01c93198 Don't clean out the EXTRA_DIST pixmaps if we're not building from SVN.
Otherwise "make clean" will put the code into a state where you cannot rebuild.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17159 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-17 13:22:24 +00:00
Charles Day
08deb71541 Bug #514210: This fixes a QIF import bug introduced in r17156 which prevented users from creating new accounts while mapping accounts. It also fixes several GUI annoyances:
1. The tree now automatically expands to show the currently selected account.
 2. The new account dialog's OK button is now activated by the Enter key.
 3. Focus returns to the account tree when the new account dialog is closed.
 4. Creation of empty account names is prevented.

Finally, a memory leak has been fixed and many new comments have been added.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17157 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-16 22:14:25 +00:00
Charles Day
23b3f81410 Bug #514210: Allow multiple rows to be selected and remapped on QIF Import
account mapping pages. Also includes many whitespace adjustments.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17156 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-14 02:49:29 +00:00
Andreas Köhler
d0ddccaa01 Bug #452354: Translate account type option names of average balance report
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17155 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-13 23:23:49 +00:00
Andreas Köhler
c7c3f3653c Bug #512991: Do not allow posting invoices to placeholder accounts.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17154 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-12 01:41:30 +00:00
Andreas Köhler
c2cccd17c7 Do not close registers when creating a new account.
Types of new accounts cannot conflict with types of anchor accounts of
open registers, as no register can have accessed it yet.  On the
contrary, killing the general ledger that is used to input a new account
is contraproductive.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17153 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-11 23:22:52 +00:00
Andreas Köhler
37300535b6 Bug #528835: Harden gnc:txf-get-code-info when tax lookups fail.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17152 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-11 21:41:01 +00:00
Andreas Köhler
70efd54257 Bug #489502: When changing the account separator, let registers pick up the new char.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17151 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-11 17:31:24 +00:00
Charles Day
54f7aed224 Bug #336192: The QIF importer now allows new namespaces to be entered by the
user when defining new securities. New namespaces become available for
selection in all security pages. Also includes fixes for several memory leaks
and mismatched type definitions.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17150 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-11 16:56:34 +00:00
Andreas Köhler
4201814cea Correct quickfill direction in transfer dialogs.
gnc_xfer_dialog_quickfill() messed up debit and credit.  When the "from
account" (left in normal mode, right/credit when using formal accounting
terms) was chosen as basis for the quickfill and a match was found, the
remote account should be selected on the "to account" side.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17149 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-11 00:02:14 +00:00
Derek Atkins
fda5f25019 Honor the "used columns" in the balance row (#530924)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17148 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 22:21:53 +00:00
Andreas Köhler
eb55bb7dcc Update latest stable version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17147 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 21:20:56 +00:00
Derek Atkins
8430b27f03 Handle AB_Job_GetResultText() returning NULL (#506499)
Don't output/printf a NULL string.  Windows doesn't like it.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17146 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 21:00:13 +00:00
Christian Stimming
adcbc5d215 Add Hebrew translation by Ori Hoch.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17144 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 09:10:30 +00:00
Andreas Köhler
db91a80c93 Bug #467529: Fix Align_n by specifying pango widths and ellipse modes for check print texts.
This patch from David Reiser reverts r16475, but by using
pango_layout_set_ellipsize() center or right aligned texts are printed
correctly and the first line is stilled showed instead of the last one.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17127 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-26 15:59:40 +00:00
Andreas Köhler
b4d3f97c53 Bug #523922: Use correct scalable icon and add/fix 22x22/24x24 icons.
For the scalable icon, use art/tango/scalable/gnucash.svg instead of
art/icon.svgz.

art/tango/22x22/gnucash.png is actually of size 24², so rename it to
gnucash-24x24.png and create gnucash-22x22.png by removing the
transparent 1px border.  Install those icons into
${datadir}/icons/hicolor/${size}/apps so that apps like gnome-panel do
not scale down the .svg instead.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17126 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-25 23:19:33 +00:00
Andreas Köhler
218cc08ad0 Bug #529232: Do not reverse the starting balance in average balance reports.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17124 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-24 22:51:57 +00:00
Andreas Köhler
371fbe6daf Update AUTHORS.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17122 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-23 19:52:52 +00:00
Andreas Köhler
cf5dcab629 Win32: Move definition of AQBANKING_PATH into make_install() as it is needed there.
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17121 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-21 20:59:59 +00:00
Andreas Köhler
7a3dc4ac7c SVK detection on Windows is not trivial :-)
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17120 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-21 20:59:50 +00:00
Andreas Köhler
862a0b12d3 Win32: Add flag UPDATE_DOCS to avoid running svn up for the docs each time.
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17119 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-21 20:59:42 +00:00
Andreas Köhler
15a8696f38 Win32: Add XSLTPROCFLAGS to be able to pass --nonet to xsltproc in make_chm.
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17118 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-21 20:59:31 +00:00
Andreas Köhler
f52e803765 Free two GErrors after they have been logged.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17093 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-20 18:07:10 +00:00
Charles Day
d9ad51488a Bug #511231: QIF importer now takes into account any provided QIF security type
when determining a default namespace for new commodities. Previously saved
security mappings for the same symbol are also considered, if available.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17090 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-18 01:55:02 +00:00
Derek Atkins
0cd5892271 Look for Align_n keys in check printing formats (#467529)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17089 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-17 14:16:08 +00:00
Charles Day
53b254e316 Bug #512208: Upon cancellation or failure, the QIF importer now removes any new
commodities that have been created as part of the import process. In addition,
any new accounts, splits, and transactions are explicitly destroyed to avoid
leaking memory and potentially leaving splits in an Imbalance account. Also
includes some improvements to the QIF file format documentation.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17088 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-16 21:26:57 +00:00
Charles Day
f053c59549 Add a risk-reduction measure to xaccAccountStagedTransactionTraversal() in case
of a naughty thunk. Add warnings to doxygen documentation for all Account.h
functions with TransactionCallback parameters.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17087 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-16 18:00:53 +00:00
Charles Day
e2c8a2037b Bug #527886: Add support for QIF numeric formats of 12'345.67 as produced by
Quicken 4. Also support 12'345,67 for completeness. Added documentation for
this format, along with investment 'N' lines. Added two new string manipulation
utility procedures for simplification. Mild whitespace and readability cleanup.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17086 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-14 17:09:04 +00:00
Charles Day
051fb2181d Bug #523194: Fixed QIF importer so that if the user enters a combination of
namespace & mnemonic that matches an existing commodity, the existing commodity
will be used. Added some support for destroying the commodity pages. Some
readability, comment and whitespace improvements thrown in too.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17085 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-13 22:25:35 +00:00
Andreas Köhler
5904706297 Bug #347474: When tabbing off the last showed split, correctly focus new empty split.
If info->traverse_to_new is true, use CURSOR_CLASS_SPLIT as find_class
to avoid focussing the transaction.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17078 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-12 19:17:58 +00:00
Andreas Köhler
bc3bd4a097 Bug #166101: Do not overwrite first split (blank_split) of a transaction.
When entering a split transaction, the account of the top-most split is
set to the register's anchor account, even if the user chose something
different.  Avoid this by checking a flag first which signals whether
the split has been modified.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17077 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-12 19:17:50 +00:00
Charles Day
473310ef52 Bug #527459: Add QIF importer support for voided transactions.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17075 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-10 23:34:42 +00:00
Charles Day
54d94702d5 Bug #511182: Commodity mapping preferences are now preserved correctly. In
addition, use of the misleading term "stock" has been replaced by "security"
throughout the C code. Also includes a small fix to prevent passing a null
pointer to xaccAccountGetType(), which caused some critical warnings to be
logged. Some comment and whitespace cleanup as well.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17074 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-10 20:37:41 +00:00
Derek Atkins
f034c41dfb Add a new Liberty(tm) check format (GtkPrint only)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17073 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-08 17:01:10 +00:00
Charles Day
9982dc104a Small adjustments to a few comment lines used for doxygen documentation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17072 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-07 22:28:02 +00:00
Andreas Köhler
f71b1e9e42 Free a few lists returned by gtk_container_get_children().
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17065 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-05 09:46:00 +00:00
Charles Day
66445dd9ea Improve documentation of GLib helper functions for doxygen. In particular, move
these functions out of the GConf section and fix the broken documentation of
gnc_utf8_validate(), which doesn't appear to have been written for doxygen.
Requesting backport because a significant percentage of lines have changed.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17064 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-04 15:43:17 +00:00
Charles Day
6a7585f729 Bug #396665: When any QIF file content is found that is not encoded in UTF-8,
the importer now first attempts to convert it to UTF-8 according to the locale.
If this fails, the offending bytes will be removed from the string as usual.
In addition, the user will now be informed of either of these actions via a
pop-up warning in the GUI. Each occurrence will also be logged.

This changeset also exposes the previously static GnuCash-specific UTF-8
validation C function, gnc_utf8_validate(), and creates a corresponding
Scheme predicate named "gnc-utf8?" for validating strings in this manner.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17063 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-02 18:10:35 +00:00
Charles Day
03fe82538c Bug #450354: QIF importer now tries using locale-encoded path if UTF-8 encoded
path fails. Adds supports for use of non-ASCII filenames under Win32.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17062 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-01 22:07:28 +00:00
Andreas Köhler
38b6a09fbc Improve cancel behavior in reconciliation window.
Allow cancelling the window by pressing ESC.  Always let the user
confirm the cancel on changes, even when closing the window with the
window manager.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17061 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-29 13:38:19 +00:00
Andreas Köhler
3480393932 Avoid a critical warning in the transfer dialog.
When entering interest charges, the left account tree is grayed out and
a selection-changed signal with empty selection fired.  Do not process
that NULL account.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17060 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-29 13:38:11 +00:00
Andreas Köhler
1abe022d06 Bug #475960: Reverse postponed reconciliation balances in suitable accounts.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17059 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-29 13:38:01 +00:00