Commit Graph

11328 Commits

Author SHA1 Message Date
Derek Atkins
848bfd2b34 Get distcheck working again on Fedora 7
- move the gnucash-desktop.in.in from POTFILES.skip to POTFILES.ignore
- only try to make-gnucash-potfiles if $(srcdir) is writable
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16868 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-16 16:35:52 +00:00
Derek Atkins
d088b0e9bd Ignore src/gnome/gnucash.desktop.in in the POTFILES
Allows "make check" to work again.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16867 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-16 15:01:21 +00:00
Christian Stimming
e3f63d58f0 Add po/POTFILES.in to SVN so that l10n.gnome.org can download it directly.
Also, modify build rules so that POTFILES.in is no longer generated
automatically during make dist, but only on explicit "make pot", because
the build rule will now modify POTFILES.in in the srcdir and no longer
in the builddir.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16864 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-15 20:40:19 +00:00
Andrew Sackville-West
a011326e55 fix another report-guid reference, general-ledger report.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16863 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-15 18:56:25 +00:00
Rolf Leggewie
7453ef0b73 accounts/de_DE/acctchrt_skr04.gnucash-xea: remove superfluous ':' at the end of the account name for 7 accounts as it
leads to problems


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16860 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-15 14:49:56 +00:00
Christian Stimming
e3bbac6c2b Revert "Re-add POTFILES.in to SVN."
The build rules have to be modified non-trivially in order to have this
do the correct thing if builddir != srcdir. I give up for now - maybe
someone else?


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16859 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-15 10:26:22 +00:00
Christian Stimming
afa5725743 Re-add POTFILES.in to SVN so that l10n.gnome.org can download it directly.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16858 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-15 10:17:08 +00:00
Andrew Sackville-West
05024d558f possible fix for piechart crasher -- add report-guid to sub-report links
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16856 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-14 19:03:11 +00:00
Andreas Köhler
8e9bbd8033 Save last used account for posting of invoices in kvp slots of effective owners.
The slot is named "last_posted_to_acct".  Before showing the post-to
dialog, try to read that slot and pre-select the account appropriately.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16854 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-13 12:46:28 +00:00
Andreas Köhler
34e13c18d3 Use automatic horiz scrollbar policy in hierarchy druid on category selection page.
This avoids explosions of the dialog in size when selecting an account
category with long full names, like SKR03 or SKR04.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16853 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-13 12:46:19 +00:00
Andreas Köhler
3d8547d21f Correctly close file descriptors in gz_thread_func.
This is needed to load compressed xml data files without a specified
encoding.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16852 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-12 17:13:20 +00:00
Andrew Sackville-West
686c91823f fix more report references to use report-guid, fixes "Print Invoice" crasher.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16851 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-10 19:01:03 +00:00
Derek Atkins
b1ac763cab If you close the books on the same day twice don't insert double txns.
The BalanceAsOf() API checks <, not <=, so just add one to the time.
Should be backported only if the rest of the book closing is backported, so:
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16848 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-09 04:18:29 +00:00
Andrew Sackville-West
bece99a4ae fix owner-report references broken by report-guid.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16845 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-08 18:49:43 +00:00
Derek Atkins
2bf34ffec9 Get distcheck working on FC7.
Need to ignore some files:
 ./share/icons/hicolor/icon-theme.cache and ./share/info/dir
these get created by the install system but don't get deleted
(and cannot be deleted because they could be shared).
So just ignore them.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16844 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-08 02:10:59 +00:00
Andreas Köhler
1484554a37 Fix compiling from tarball, as art/ is not distributed.
Patch from warlord.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16842 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-08 01:16:38 +00:00
Andreas Köhler
5bc3569911 Fix r16733 and r16782 by removing the contents of po/POTFILES.ignore from po/POTFILES.
For more detail, see
http://lists.gnucash.org/pipermail/gnucash-devel/2008-January/022043.html.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16837 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-01-07 20:19:06 +00:00
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