Commit Graph

11261 Commits

Author SHA1 Message Date
Andrew Sackville-West
8bad06ceeb Prevent crashing when a report template disappears (#505921).
If a report template is missing (renamed, moved, deleted, whatever)
while the report is still open, then the app will crash while reading
the books file. The options-generator will fail and cause subsequent
attempts to access the options to fail and crash. A couple checks for
the existence of options is all it takes. Also included a warning dialog.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16836 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 23:55:48 +00:00
Christian Stimming
7feab49362 Fix goffice check that was broken for goffice < 0.5.1.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16834 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 21:09:42 +00:00
Derek Atkins
0a149152b5 Better handling of QIF Split transaction matching (#114724)
If a QIF split transaction is involved in a match then it always has
  priority. The other half of the match will always be the half that
  gets discarded, even if it is from an investment account.

Patch by Charles Day
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16828 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 16:02:14 +00:00
Derek Atkins
cf397f4c8a Always ask for the QIF currency (#504007).
Patch by Ian Lewis
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16826 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 15:46:33 +00:00
Andreas Köhler
9e2a464c80 Allow building against goffice-0.6.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16825 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 15:39:41 +00:00
Andreas Köhler
9e20a61028 Complete gcc-4.2 fixes by disabling -Waddress in some business source files.
Patch from Jerry Quinn.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16823 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 15:10:59 +00:00
Christian Stimming
6e0cfe280c Make info message from r16718 and r16817 even more useful for non-techie
and probably windows users.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16821 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 12:41:56 +00:00
Andreas Köhler
c0fb9f48ec Make info message from r16718 more useful for the non-techie user.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16817 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-06 02:53:15 +00:00
Christian Stimming
f5159c4103 Improve aqbanking version check add maximum version to avoid confusion.
The very latest aqbanking series 3.x.x is not source compatible to 2.x.x.
GnuCash is not yet ported to that new series. Hence, we check that we
really have only those versions that are really supported.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16816 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 21:39:27 +00:00
Christian Stimming
81b907d836 Fix typo in German account template.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16814 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 21:04:09 +00:00
Andreas Köhler
bc142a3ae1 Cscope support: Works with build dir now, cscope files ignore by git.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16813 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 18:30:43 +00:00
Andreas Köhler
d4f830f2cc #506671: Add cyprus, maltese and slovenian currencies to EURO support.
Patch from Herbert Thoma.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16812 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 16:51:39 +00:00
Andreas Köhler
33a337f781 #506270: Replace %lld by G_GINT64_FORMAT in tests, fixes make check on Win32.
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16810 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 14:34:58 +00:00
Andreas Köhler
46a299701f #505895: Fix make check on win32 in src/gnc-module.
Compile test modules with -avoid-version, just like the productive ones.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16809 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 14:05:04 +00:00
Andreas Köhler
c5877a2958 #504261: For Windows 2000, downgrade gnome-vfs to v2.14.2.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16807 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 12:13:28 +00:00
Andrew Sackville-West
368666821d Fix a couple minor missed changes in report-guid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16806 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 07:08:03 +00:00
Andrew Sackville-West
dd798ffaca Implement a Report GUID.
This is an internal representation of the report. It frees up the various name
fields for translation/changes without concern about it breaking reports*. Each
report is now assigned a GUID that refers to that specific report. All
reference to the report is now done with this GUID.

Support is included for using existing open or saved reports of the old
reference-by-name type. The user is warned of the existence of saved reports
without a GUID. Support is also provided to allow reports saved or left open
using the new report-guid reference to be accessed in 2.2.3(?) versions in case
user downgrades.

IMPORTANT: All saved or open reports created using these changes *will* *cause*
*application* *crashes* if accessed in versions prior to r16804. Earlier
versions have neither the new functions nor the report-record fields
implemented here. It is a one-way trip from pre-r16804 to here. I hope that is
clear enough ;)

* going forward only. name changes will still break non-report-guid saved or
open reports.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16805 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 06:42:21 +00:00
Andrew Sackville-West
99ad583dd2 prepare report system to handle newer reports in case user downgrades from > 2.2.x
The incoming changes to the report system are not backwards compatible with 2.2 branch. This should allow the
reports opened or saved by the new system to function in 2.2.x.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16804 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 06:10:31 +00:00
Derek Atkins
add9cdd3ee Re-introduce the Profit & Loss report.
Just a renamed Income Statement, because the average person doesn't know better.
It's the exact same report, just relabeled.  Both reports are now available
in the menu.
This change does re-add the translatable string "Profit & Loss"
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16803 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-05 03:48:09 +00:00
Andrew Sackville-West
692cb0a4d6 prevent #unspecified results from certain transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16784 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-03 06:09:57 +00:00
Andreas Köhler
340bebbd47 Add ChangeLog.2007
Used branches:
- csv-import
- reshuffle-modules
- deprecated-cleanup
- gobject-engine-dev-warlord
- remove-group2
- sx-cleanup


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16783 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-02 20:05:36 +00:00
Andreas Köhler
796c9ebf55 Move distributed qif source files into POTFILES.ignore, fixes make distcheck.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16782 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-02 19:49:16 +00:00
Joshua Sled
ba69a12a2c Bug#506714: Add progress bar to splash; patch from Herbert Thoma <herbie hthoma de>.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16779 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-01 20:07:22 +00:00
Andreas Köhler
5d303b9c2d #506074: Handle fractional timezone offsets correctly in gnc_timespec_to_iso8601_buff().
Patch from Daniel Harding
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16776 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-31 13:52:24 +00:00
Andreas Köhler
a21073b7f2 Revive root account in german skr04 account template.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16775 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-31 11:05:59 +00:00
Andrew Sackville-West
d6bab0ae47 Advanced Portfolio, improve dividends and brokerage fee handling:
*	allow proportional application of dividends/fees in a
	multi-stock txn, 
  *	collect reinvested dividend amounts from the buy split not income split, 
  *	track reinvested dividends separately from dividend income, 
  *	report income when dividends are *not* reinvested if there is a zero 
	value/amount split tied back to the stock account.

Thanks to Richard Laager for ideas and guidance.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16774 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-31 06:21:36 +00:00
Andreas Köhler
d64941008c Do not set active element of GncAccountSel to the first sometimes.
In gas_populate_list, the currently selected account is searched in
the new data, falling back to the first element in the list and
selecting it afterwards.  So, often "Assets" is activated, whereas the
filtering happening later does not deselect it in any way (the user
may have typed it in).

This patch simply removes the fallback to element 1.  To make the gas
look better, it may help to set it initially, like to an entry that
was used recently.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16773 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-30 19:59:06 +00:00
Andreas Köhler
0730d8150d Save and load kvp frames of vendors and employees.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16772 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-30 19:50:43 +00:00
Andreas Köhler
e32d09e5ac Make gnucash compile on an optimizing gcc-4.2.
Patch from Jerry Quinn
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16771 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-30 18:42:20 +00:00
Andreas Köhler
e576797c0f Fix a few automake warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16770 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-30 18:34:08 +00:00
Joshua Sled
13d55f421c Bug#506429: Correct widget index offset computation for last-day-of-month SXes.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16769 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-30 15:58:03 +00:00
Christian Stimming
03c3bfa054 Remove translation string from gnucash.pot that is looked up in gtk20 domain.
As pointed out by Bruno Haible, if there is only one dgettext call
the easiest way to exclude this from xgettext extraction is to rename
this particular dgettext call by a wrapper macro.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16767 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-30 10:57:38 +00:00
Joshua Sled
7c71c843f8 Bug#505972: Correctly size the GUID string buffer; should resolve 2.2.2 SX crashes.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16766 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 22:36:07 +00:00
Phil Longstaff
0ed4af2ef1 Make some parameters const
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16764 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 19:40:28 +00:00
Phil Longstaff
2c602edbd9 Update valgrind suppressions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16763 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 17:44:00 +00:00
Phil Longstaff
8de27ea72d Make some parameters const
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16762 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 17:43:46 +00:00
Phil Longstaff
8ab8f16536 Fix valgrind error - conditional based on uninitialized variable
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16760 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 03:26:22 +00:00
Andrew Sackville-West
945975bc50 another stab at improving rounding. prevent more overflows as pointed out by Kendall Green.
lots of GNC-AUTO-DENOM seems to clean up the overflowing and prevent phantom gains/losses from rounding errors.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16759 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-29 00:25:36 +00:00
Andrew Sackville-West
c510e32a55 Charles Day's improvements to qif memo/notes handling. bug #495219.
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16758 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-28 23:16:44 +00:00
Andreas Köhler
9c1785f933 Fix two memory leaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16756 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-28 21:44:25 +00:00
Andreas Köhler
b7e0f52277 #505386: Strip non-utf8 characters from ofx check and reference number strings.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16755 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-28 14:45:40 +00:00
Phil Longstaff
c84ba95da8 1) Make some function parameters const
2) Add '.deps' to svn:ignore



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16754 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-28 02:27:57 +00:00
Andreas Köhler
6c914bdf7b Bump version number to 2.2.99 on trunk.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16747 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-27 15:12:12 +00:00
Derek Atkins
cfb048d142 Don't need to sleep in the test. (#505894)
If we do need to sleep, next time the comment should explain why.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16746 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-27 14:15:15 +00:00
Derek Atkins
e6fbb91151 Fix the logic of the #if for the warning.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16745 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-27 14:02:06 +00:00
Andreas Köhler
9ffcb192b9 Correct Ertraege in latin1-encoded german account templates.
This stems from r16550 and r16551 and is due to a weird mixture of
utf-8 and iso-8859-1 in the de_* files.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16742 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-27 12:22:09 +00:00
Christian Stimming
5ac78bce18 Fix i18n string to translate only the meaningful part.
Remove the unnecessary "for" in the report title.
This doesn't introduce any new string. It can be back-ported right away.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16740 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-27 10:44:44 +00:00
Christian Stimming
03aa05c2a6 Remove unused import-export/qif files from translation input.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16733 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 22:07:22 +00:00
Derek Atkins
971bc5b709 Allow the user to permanently disable currency quotes (#499496)
Patch by Daniel Harding

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16730 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 05:17:37 +00:00
Derek Atkins
0fc726dc0f Show the balance row for all transactions before the "from" date.
Patch by Jeff Green
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16729 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 03:28:09 +00:00