Commit Graph

11303 Commits

Author SHA1 Message Date
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
Derek Atkins
cd0574e346 Including all bills/invoices since the beginning of time.
Patch by Jeff Green.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16728 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 03:14:22 +00:00
Derek Atkins
8dfc49dc84 Wait for pending events before displaying the tree view (#463678)
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16727 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 02:39:29 +00:00
Derek Atkins
3759d41f96 Don't un-clear transactions improperly when postponing reconciliation (#497517)
Patch by Jeff Green and Mark Jenkins
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16726 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 02:26:39 +00:00
Derek Atkins
fec3d53296 Allow creation of new lots from lot viewer. (#420543)
Patch by Klee Dienes <klee@mit.edu>

        * src/engine/Account.c (xaccAccountRemoveLot): Generate a
        QOF_EVENT_REMOVE for the lot and QOF_EVENT_MODIFY for the account.
        (xaccAccountInsertLot): Ditto, but QOF_EVENT_ADD.
        * src/engine/gnc-lot.c (gnc_lot_make_default): Move from
        cap-gains.c.
        * src/engine/gnc-lot.h (gnc_lot_make_default): Add prototype.
        * src/engine/cap-gains.c (MakeDefaultLot): Move to gnc-lot.c as
        gnc_lot_make_default().
        * src/gnome/lot-viewer.c: Add code to support lot creation:
        (RESPONSE_NEW_LOT): Add enumerated value.
        (lv_save_current_row): New function.
        (lv_select_row): Add call to lv_save_current_row.
        (lv_unselect_row): Use lv_save_current_row.
        (lv_close_handler): Use lv_save_current_row.
        (lv_response_cb): Handle RESPONSE_NEW_LOT.
        (gnc_lot_viewer_dialog): Watch for QOF_EVENT_ADD and
        QOF_EVENT_REMOVE for lots.
        * src/gnome/glade/lots.glade: Add "new lot" button.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16725 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 02:14:55 +00:00
Derek Atkins
480bb412c7 Fix a crash in the receivable aging report (#384879)
Dont access the owner object after it's freed.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16724 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 01:38:45 +00:00
Derek Atkins
04243f92fc reduce the width of reports (#366934)
Use &nbsp; instead of extra columns.
Patch by Paul Andreassen

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16723 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 01:07:04 +00:00
Derek Atkins
67119eeb53 Make sure we require slib in our RPM packaging (#471321)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16722 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 00:10:03 +00:00
Derek Atkins
a4ec8b5e52 Add currencies XDR and XXX for IMF and "no-currency" (#504935)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16721 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-26 00:03:03 +00:00