Commit Graph
11570 Commits
Author SHA1 Message Date
Andreas Köhler ecff4858c2 Fix/extend r17039 and make gnc_commodity_find_currency() free its temporary data.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17040 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-20 23:29:26 +00:00
Andreas Köhler 28d380651a Fix memory leaks in gnc_tree_view_account_restore() and gnc_commodity_find_currency().
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17039 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-20 23:15:04 +00:00
Andreas Köhler 8dd7d2d035 Remove some unnessary aqbanking version checks as we depend on >= 1.6.1.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17038 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-20 23:14:55 +00:00
Andreas Köhler f6c7e00ece Fix a potential memory leak in gnc_dialog_get_string().
Make the function return a non-const value and make it the
responsibility of the caller to free that.  This is necessary because
not all possible types of input support a getter of an internal and
managed string.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17037 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-20 23:14:45 +00:00
Andreas Köhler 1dd7ec7480 Fix memory leaks after usage of gtk_tree_model_get().
String results are always newly allocated and should be freed.
Similarly, GObjects should be unreffed, but I have not found such a
case.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17036 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-20 23:14:34 +00:00
Charles Day 440587a30c Bug #514027: Fix QIF importer druid so that commodities pages are not skipped
if the user goes back to the currency page. Create additional commodity pages
if the user goes back and loads additional QIF files with new securities.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17035 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-17 16:04:49 +00:00
Andreas Köhler 6c8fdb0561 Bug#521957: Do not start autosave timer when shutting down book.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17034 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-15 16:40:36 +00:00
Charles Day b4afeb06aa Bug #519988: Update QIF importer bug detection and error messaging to use the
proper Gnome functions. These are g_warning and g_critical for C, and gnc:warn
for Scheme.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17032 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-15 04:26:35 +00:00
Charles Day 081b8b6b7f Bug #509089: Improve the way the QIF importer handles Scheme exceptions that may
occur during conversion of QIF data into GnuCash data. If an exception occurs,
the druid now displays a cancellation page instead of a pop up message. In
addition to avoiding taking the user to an empty duplicate checking window,
the new page could, in the future, be extended to show multiple, specific
warning and error messages instead of the current, generic one.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17031 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-14 03:24:11 +00:00
Charles Day 7a03f93b8b Bug #341414: Save the account separator used when creating the QIF importer's
mapping file so that changing the separator won't break future QIF imports.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17030 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-13 23:27:42 +00:00
Andreas Köhler 5b791e75fc Remove initial visibility of transfer dialog to avoid flickering.
gtk_widget_show_all() is called on that widget in the only accessing
function anyway.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17028 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-11 21:49:48 +00:00
Andreas Köhler 4460a5b33c Add gnc_quickfill_remove() and let account quickfill use that.
Prior to this change _remove() was implemented as _purge() followed by a
complete refill.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17027 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-11 20:41:15 +00:00
Andreas Köhler 92cd5985d3 Free a few GtkTreePaths that were leaked.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17026 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-11 01:00:55 +00:00
Andreas Köhler e48eba7089 Update reset.sh script to keep htmlhelp, but remove docs and libxslt.
Patch by Nathan Buchanan.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17025 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-10 07:07:06 +00:00
Andreas Köhler 1c6f9acd32 In reports menu, first list submenus, then menu items, both sorted lexicographically.
Should ease finding specific reports when reports and placeholders are
not mixed together anymore.

Previously all elements were sorted lexicographically, where the
submenus already contained accelerators.  As LANG=C and LANG=en_US.utf8
handle underscores differently, even those results were not the same.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17024 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-09 22:43:40 +00:00
Andreas Köhler b6373ae509 In account selection widgets, use 2px spacing instead of padding around button.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17022 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-09 21:00:54 +00:00
Andreas Köhler 41422d4209 Bug#512841: Let expression parser grok nullary functions and not crash.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17021 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-09 20:38:42 +00:00
Charles Day 148e4a2c02 QIF import: Update error handling used when looking up the user's documentation
page preference in gconf. Use existing #define for gconf section and add one
for name. This is an update to r16976.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17018 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 21:16:17 +00:00
Charles Day 8ec7175e04 Minor update to replace a reference to README.patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17017 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 21:05:53 +00:00
Andreas Köhler 78cb99bf3d Minor updates to README.svn; remove README.patches from gnucash.spec.in.
Do not demand ChangeLog entries as they are created automagically.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17016 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 20:04:46 +00:00
Andreas Köhler 5834cb4179 Add apps_gnucash_import_qif.schemas.in to POTFILES.in.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17015 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 19:45:28 +00:00
Andreas Köhler 095fadcbf3 Remove README.patches from Makefile.am, fixes build.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17014 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 19:15:01 +00:00
Andreas Köhler 795fac13d5 Remove make-gnucash-patch and only suggest svn diff' or plain diff -urN'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17012 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 17:17:47 +00:00
Charles Day c45b4e668c Bug #520606: Fix memo mapping for non-split, non-investment QIF transactions.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17010 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-05 22:42:29 +00:00
Andreas Köhler 78479c46cc Move month labels one row down to make them look like more in the center.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17007 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-04 00:25:19 +00:00
Andreas Köhler 278882eaeb Make a few date printing functions in dense calendar utf8-safer.
Work on utf8 characters instead of bytes.  g_date_strftime() and
gnc_dow_abbrev() can grok full buffer sizes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17006 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-04 00:20:16 +00:00
Andreas Köhler a53fecde93 Pass better size parameter to qof_strftime() to make use of whole buffer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17005 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-04 00:20:07 +00:00
Andreas Köhler 5d71a32820 Let dense calendar popups stay visible on whole height of bottom-most days.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17004 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-03 22:36:02 +00:00
Andreas Köhler 66e2262be6 Update latest stable version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17003 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-03 22:10:25 +00:00
Andreas Köhler 2cbd6ccdd6 Improve performance of qof_query_invert().
Prepend terms and reverse once at the end instead of "reverse, prepend,
reverse" for each term.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17001 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-02 22:12:00 +00:00
Andreas Köhler 2820972c30 Bug#114591: Allow refinements of transaction searches.
Overrides the default search function on register plugin pages and call
gnc_ui_find_transactions_dialog_create() with the current legder display
as parameter.  This also enables refinements of existing transaction
search results.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17000 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-02 20:59:29 +00:00
Andreas Köhler ab90f381fd Bug#397108: Improve resizing of sx list panes, save and restore their sizes.
Give additional space to the sx list instead of the calendar.  Also save
the page's pane divisor position and restore it when reopening the data
file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16999 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-02 19:43:51 +00:00
Andreas Köhler d6ea7c5685 Close tax information dialog with session.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16998 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-02 18:55:09 +00:00
Andreas Köhler ee24ae093d Remove an urgency_hint from a glade file, unsupported by gtk+ v2.6.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16996 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-01 23:27:51 +00:00
Andreas Köhler c7b8d7fa93 Bug#341608: Make txn report correctly match void or non-void txns.
gnc:query-set-match-{,non-}voids-only! assigned the result of a query
merge to a locally bound variable instead of returning it somehow.  So
use qof-query-merge-in-place instead and add a few missing
qof-query-destroys as well.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16995 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-01 22:42:45 +00:00
Christian Stimming 178972e03e Update ktoblzcheck version.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16993 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-01 16:43:59 +00:00
Andreas Köhler f249ec8f3d Win32: Update a few gnome packages by revisions to profit from bug fixes.
This should fix at least #507784.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16991 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-01 16:27:33 +00:00
Andreas Köhler b27ce5df45 Bug#514003: Couple book closing with component manager.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16983 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-29 23:42:24 +00:00
Charles Day bd6dcf53b5 QIF import: Show the druid's documentation pages by default. Previously these pages were hidden by default.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16976 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-28 22:50:39 +00:00
Andreas Köhler e26b1d6bcf Always recreate pages in the given window.
Even if registers, reports or invoice pages have been configured to open
in new windows they should not do so when restored at the startup of
gnucash.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16965 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-27 20:55:33 +00:00
Andreas Köhler 93ca33e0b5 Fix two typos in german account templates.
Patch by Nis Martensen.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16963 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-25 23:21:00 +00:00
Charles Day c47e0cd53b Bug #503166: Correct the QIF druid flow such that the duplicates page and the
commodities doc page are not shown going backwards if they were not shown
going forwards.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16962 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-24 22:32:04 +00:00
Christian Stimming 40219aea95 New Vietnamese translation by Clytie Siddall.
This merges r16679 from 2.2 branch. The translation itself is
already outdated, but this commit is merged anyway so that
the addition of this new translation isn't forgotten in the
future when trunk becomes the next stable branch.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16961 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-24 20:58:16 +00:00
Christian Stimming 1eebeaaf2e Add Swiss German translation by Raffael Luthiger.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16959 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-24 20:48:31 +00:00
Charles Day 8340f0dbdb Bug #512173: Skip the "match payees/memos" step of the QIF druid if no mappings
are needed. Patch from Ian Lewis.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16956 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-24 17:12:40 +00:00
Charles Day 0d2a91ef03 Prevent unresponsive QIF druid by cleaning up any existing progress dialog
if a Scheme error should occur while reading a QIF file (similar to bug
#516178). Also includes many whitespace and comment improvements.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16955 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-24 02:48:58 +00:00
Charles Day fa61dee797 Bug#516178: Prevent unresponsive QIF druid by cleaning up any existing progress
dialog if a Scheme error should occur during conversion.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16954 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-23 05:39:34 +00:00
Charles Day 848808c4c2 Bug#481528: Relax duplicate matching criteria on imported QIF transactions that
contain only a debit/credit pair so that they have a chance of match existing
transactions with more than two splits.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16953 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-23 04:54:51 +00:00
Charles Day e2cff72ade QIF importer: adjust order of "or" conditions for faster performance.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16952 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-23 02:58:14 +00:00
Charles Day 7644d8fd2e For bug 123312: This QIF importer patch provides a somewhat smarter default
namespace for the commodities druid pages if a ticker symbol is included in
the QIF data:
-NYSE for symbols of 1-3 characters with an optional .X or .XX suffix
-NASDAQ for symbols of 4 characters
-FUND for symbols of 5 or more characters
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16950 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-22 18:25:35 +00:00