Commit Graph

11451 Commits

Author SHA1 Message Date
Derek Atkins
ef25c17cd4 Get GnuCash building again.
- move the #include of g18n.h from gnc-date.h to gnc-date.c
- add gnc-date.c to POTFILES.in

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17250 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-24 23:28:31 +00:00
Charles Day
fe554f7fd9 Bug #532405: Make the default strftime format use %#d instead of %e on win32 platforms.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17249 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-24 22:28:40 +00:00
Charles Day
669470ad48 Bug #539829: Make sure msg gets assigned before it can get dereferenced.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17248 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-24 22:08:12 +00:00
Charles Day
e58209bf8f Some minor corrections to the doxygen documentation for progress-dialog.h.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17247 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-24 19:34:32 +00:00
Charles Day
3b596cbfff A small correction to r17245 for a QIF importer error message. I forgot to mention in the log that r17245 includes many added or improved QIF importer error and warning messages. Should help users in debugging their own QIF files.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17246 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-23 20:09:14 +00:00
Charles Day
385a3342fd The following changes are included:
-Add many new features to the progress dialog API, including support for n levels of suboperations. Fully compatible with existing code.
-Add doxygen documentation for the progress dialog API (none previously existed).
-Add a progress bar page to the QIF importer with pause and cancel functions for the loading and parsing phases.
-Log loading and parsing error messages on the page instead of using popups, which resolves bug #309359.
-Add a pair of new procedures to the library of Scheme string routines.
-Finally, some miscellaneous QIF importer clean up.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17245 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-23 18:46:34 +00:00
Rolf Leggewie
9db2a3d912 SKR04: be more specific in account classification. Partly closes 513000.
* mark as accounts receivable instead of plain assets


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17242 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-20 22:00:40 +00:00
Rolf Leggewie
8ab479c270 de.po: improve German translations for a few entries under "File - New". Closes 538900.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17241 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-20 21:17:30 +00:00
Phil Longstaff
3370604c8d Fix memory leak in qof_session_save() - "msg" is never freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17228 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-13 00:21:35 +00:00
Phil Longstaff
23c6465903 Free return values from recurrenceListToString() printed as debug info.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17224 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-12 23:04:50 +00:00
Charles Day
894c0f20a6 Fix Scheme logging bug in core-utils by treating strings as generic strings rather than format strings.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17214 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-11 15:37:50 +00:00
Derek Atkins
fedaa3d87e Fix the usages of __EXTENSIONS__ so it works with newer auto-tools
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17213 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-11 12:52:27 +00:00
Phil Longstaff
50acaf24ab Fix memory leaks. In gnc-dense-cal.c, 2 GDates were not freed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17212 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-11 01:19:56 +00:00
Charles Day
d2683f020f Scheme: Send backtraces to the gnucash.trace log as well as the console.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17209 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-10 16:50:35 +00:00
Charles Day
5743752704 QIF Import: 10x improvement in file loading performance. Line numbers added for message logging.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17208 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-10 03:30:43 +00:00
Derek Atkins
1f5ee72fbc Better patch for goffice-0.5/gtkhtml-3.14 checking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17194 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-07 18:54:19 +00:00
Derek Atkins
f3407d3283 GOffice >= 0.5 requires GtkHTML >= 3.14
Make sure that happens or the build will fail.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17193 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-07 18:38:15 +00:00
Charles Day
e7bb4ac09f QIF Import: Fix support for multi-byte account separators.
In doing so, a number of reusable Scheme string manipulation procedures were written and placed in string.scm. These are now available to all Scheme code by automatic inclusion in main.scm.

The new Scheme procedures are:
gnc:string-rcontains    (a variation on string-contains)
gnc:substring-count     (a variation on string-count)
gnc:substring-split     (a variation on string-split)
gnc:substring-replace   (search/replace a substring)
gnc:string-replace-char (search/replace a character)
gnc:string-delete-chars (delete a variety of characters)

Finally, the custom version of string-split was removed because Guile 1.4 is no longer supported and later versions come with this procedure.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17191 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-06 16:46:03 +00:00
Charles Day
9e7438bfd5 QIF Import: Skip over blank category mapping pages. Also some cleanup:
-Centralize preparation of mapping pages (eliminating several callbacks)
-Reorder functions to make forward declarations unnecessary
-Eliminate dead function gnc_ui_qif_import_memo_next_cb()
-Make widget spacing consistent on mapping pages
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17187 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-02 19:40:29 +00:00
Charles Day
f7447960c1 Bug #515163: QIF importer no longer asks for mappings that will never get used.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17186 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-06-01 19:31:26 +00:00
Charles Day
26a8c73c70 Add Charles Day to the AUTHORS list.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17182 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-30 16:23:03 +00:00
Charles Day
8ef7e9cd99 Bug #535407: Stop the QIF importer from crashing GnuCash when an invalid or unsupported date format is found.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17181 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-29 21:13:24 +00:00
Charles Day
d8eac7b083 QIF Import: Add support for importing to A/R and A/P account types, which were previously unknown to the importer. I also had to adjust a function in the engine's Account API that caused imported accounts trees to not merge properly in rare cases where one an existing GnuCash account has a NULL string pointer but an importer-created account has an empty string instead. This situation arises as a side effect of using SWIG, which doesn't let Scheme distinguish between NULL and an empty string (a string containing only NUL).
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17180 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-29 15:23:56 +00:00
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