Commit Graph

11303 Commits

Author SHA1 Message Date
Derek Atkins
238141c6c4 Maintain separate invoice number sequences for AR and AP (#327218)
Actually, maintain separate number sequences for Customer Invoices,
Vendor Bills, and Employee Expense Vouchers.  Support Jobs, too.
Based on a patch by Alex Prinsier.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16720 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-25 16:56:35 +00:00
Derek Atkins
3b983ff5cb Choose a reasonable currency in stock registers (#116353)
Based on the patch from Mike Alexander, walk up the account
tree until we find a "currency" account and use that instead
of always using the locale currency.  Pop up a dialog if this
fails search fails.

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16718 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-25 16:23:47 +00:00
Derek Atkins
6f39c0c26e (#492137) Re-apply r16619 and make a change to the test
harness to actually get the checks to pass with r16690.
This was an overflow in the test harness.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16716 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 21:18:09 +00:00
Derek Atkins
244a779d7a Make sure to properly parent auto-created accounts.
Make sure to properly set account commodity.
Make sure a currency sub-account doesn't already exist before creating one.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16715 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 20:28:02 +00:00
Derek Atkins
fe28cceea7 Fix a fencepost error in the book closing code (#106383).
Add 12 hours to the close_date before asking for the BalanceAsOfDate()


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16714 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 04:48:49 +00:00
Derek Atkins
8ca76d3635 First pass at a Book Closing dialog (#106383)
Helps the user to auto-zeroize Income and Expense accounts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16713 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 04:40:53 +00:00
Derek Atkins
27fcf8ff7c Back out r16619 (#492137) because it breaks test-lots
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16712 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-24 04:40:46 +00:00
Christian Stimming
5115546ef8 Fix spelling errors in UI messages.
Pointed out by Clytie Siddall. Those will break several translated
strings, but the fixed typos are an actual improvement.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16706 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-23 21:45:56 +00:00
Christian Stimming
fbf08c2a0d Remove extra spaces in glade messages.
Pointed out by Clytie Siddal. Those will break 2 translated strings.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16705 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-23 21:45:46 +00:00
Christian Stimming
3494820ae8 String improvements in gconf labels and error messages as pointed out by Clytie Siddall.
Those strings are invisible for almost any user anyway and can therefore
be back-ported soon, too.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16704 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-23 21:45:41 +00:00
Christian Stimming
05df54193f String improvements, as pointed out by Clytie Siddall.
This changeset does not add any untranslated strings and does not
change any existing translated strings. It can directly be back-ported.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16703 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-23 21:45:34 +00:00
Andrew Sackville-West
669a26cf7f Richard Laager's patch to Advanced Portfolio. Adds an Income column, and an option to ignore brokerage fees in return calcs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16693 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-22 05:28:56 +00:00
Andrew Sackville-West
f0e149e6cd Daniel Harding's update to Afghani currency. closes #504257
BP



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16690 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-21 18:53:38 +00:00
Andrew Sackville-West
411abc0d7b make some improvements to handling of moneyin/out. Clean up some cruft. Fixes #355660. May at least partially fix #346062
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16684 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-19 21:59:44 +00:00
Andreas Köhler
1fb8b422e6 #503889: Improve r16678 when install icons according to spec.
Make it work for builddir != srcdir.  Do not distribute share\icons or
share\pixmaps on win32.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16683 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-19 18:07:31 +00:00
Andreas Köhler
4fc674cdc8 Update last stable version on trunk to 2.2.2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16682 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-19 17:38:57 +00:00
Andrew Sackville-West
3c10480d4e forward-port (swigify) weekly subtotals for transaction report. see #138989.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16680 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-18 20:55:39 +00:00
Joshua Sled
814068b8bb Bug#503889: Install icons according to spec. On Win32, however, don't run the non-existant (?) gtk-update-icon-cache.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16678 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-18 14:57:12 +00:00
Andreas Köhler
cbdf0f13bd Fix make distcheck on trunk.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16674 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-16 18:47:27 +00:00
Joshua Sled
fe19947fc0 Bug#496178: freeing the result of guid_to_string(…) causes memory corruption; use guid_to_string_buff(…) for clarity.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16670 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-16 17:17:27 +00:00
Joshua Sled
52ce5b4602 Change some g_error's to g_warnings, which won't abend the app.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16669 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-16 16:41:33 +00:00
Joshua Sled
01fbae6042 Misc cleanups: always check creation_errors list, always print errors we create, some other API usage cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16668 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-16 16:40:52 +00:00
Andreas Köhler
8ad7d059ae Win32: Explicitly disable python support of ktoblzcheck.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16664 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-16 13:05:08 +00:00
Andreas Köhler
4a0d206782 Win32: Add libtiff, because newer gtk+ versions depend on it.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16655 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-15 22:30:51 +00:00
Joshua Sled
8ec203bd6f more specific log domain.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16654 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-15 22:24:05 +00:00
Joshua Sled
62e8bdb0ef "trans" and "t" aren't good variable names… try "from" and "to".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16653 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-15 20:57:19 +00:00
Joshua Sled
6f00959091 Bug#500427: copy any notes associated with SXes upon creation.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16652 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-15 20:55:37 +00:00
Andrew Sackville-West
3a3d33810b provide some sane defaults for exchange functions. a very hackish fix to 487572
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16651 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-15 20:24:23 +00:00
Joshua Sled
8da4c360ab Don't make unknown command-line arguments abort the program, just warn and exit non-zero.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16650 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-15 20:06:56 +00:00
Andreas Köhler
004479a1ff Win32: Add Brazilian Portuguese translation of inno strings, patch from Leonardo Fontenelle.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16647 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-15 18:00:14 +00:00
Andreas Köhler
06810083f5 Win32: Update package versions.
Update to gettext 0.17, glib 2.14.4, cairo 1.4.10, fontconfig
2.4.2-tml-20071015, atk 1.20.0, pango 1.18.3, gtk+ 2.12.3, orbit2
2.14.10, gail 1.20.1, libbonobo 2.20.1, gnome-vfs 2.18.0.1, libgnome
2.20.1, libgnomecanvas 2.20.1, libbonoboui 2.20.0, libglade 2.6.2 and
goffice 0.4.3.

Gettext installs translations to $prefix\lib\locale now, but not all
gnome packages have been rebuilt yet.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16646 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-15 17:34:26 +00:00
Andreas Köhler
3b9003bfde Update Brazilian Portuguese glossary, patch by Leonardo Fontenelle.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16641 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-14 20:38:12 +00:00
Andreas Köhler
8725a6f801 #503579: Improve pi.sh to allow reinstalling MSYS/MinGW, patch from Charles Day.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16638 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-14 20:00:02 +00:00
Andrew Sackville-West
8a56c9b8dc handle spin-offs in basis calculations
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16637 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-12 05:36:02 +00:00
Christian Stimming
6fcb9301f8 Adapt translations to last string change introduced by r16633.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16636 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-11 20:49:02 +00:00
Christian Stimming
d5bcce1298 #500026: Add configure argument for packagers to have correct package name reported on missing qt3-wizard.
Because gnucash is a GTK+ application and HBCI setup wizard for aqbanking is a
Qt stuff, most distribution split aqbanking packages to more sub-packages.

This patch adds possibility to change string of package name displayed in
the reported error without need of distro-specific patches breaking I18N. It
could be done in compile time using --with-qt3-wizard-package=name.

Patch by Stanislav Brabec <sbrabec@suse.cz>.
Signed-off-by: Christian Stimming <stimming@tuhh.de>

BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16635 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-11 20:48:06 +00:00
Andrew Sackville-West
884b96b194 reintroduce some rounding into basis calculations to prevent overflow on particularly large accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16633 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-10 20:53:42 +00:00
Andrew Sackville-West
5decaf456b remove some cruft from advanced portfolio
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16632 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-10 19:01:53 +00:00
Joshua Sled
099a5d7681 Bug#502755: Duplicate a key which is "owned" by the table we're inserting it into.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16629 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-09 23:29:16 +00:00
Andreas Köhler
f611d9aaae Remove the spurious m4/ directory. Use macros/ instead.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16624 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-09 01:26:03 +00:00
Andreas Köhler
7e38a93d39 Ignore other generated files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16623 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-08 17:26:05 +00:00
Andreas Köhler
dd6bc3f3fa Glib 2.14 removed the pipe macro in gwin32.h, use _pipe instead.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16622 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-08 17:20:02 +00:00
Andreas Köhler
e920e4c677 Ignore some generated files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16621 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-08 17:16:44 +00:00
Andrew Sackville-West
85a860f0ee r3@basement: andrew | 2007-12-07 20:57:48 -0800
Create a branch for advanced portfolio work
 r4@basement:  andrew | 2007-12-08 05:56:36 -0800
 Begin major overhaul to advanced-portfolio report. Fixes #343245, #347739, #460232. Implement stock splits/mergers code in basis calculations. Fix handling of directly "expensed" shares.
 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16620 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-08 14:24:47 +00:00
Andreas Köhler
1a408c8160 #492137: Patch from Mike Alexander to fix regression in lot scrubber introduced in r16370.
Timespec uses a signed integer for the seconds instead of an unsigned.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16619 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-08 14:11:03 +00:00
Joshua Sled
102eb3c88b update as well
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16615 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-05 22:15:30 +00:00
Joshua Sled
271aaccaab s#Open Source#Free#, s#Finance#Accounting#, s#Gnucash#GnuCash#
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16613 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-05 14:57:08 +00:00
Andreas Köhler
41dc9700cb #501059: Clean up SLR dialog sx model and close with session.
Avoid ref'ing the model underlying the dialog so that it will be freed
correctly.  Register the dialog as gui component to close it when the
session closed.

BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16610 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-02 17:15:54 +00:00
Derek Atkins
144398aac4 A reminder of where we need to set the income/expense accounts
for the auto-interest payments during the reconciliation process.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16609 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-02 16:51:13 +00:00
Derek Atkins
879ed4470f Make sure the splitlist is sorted before we return it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16608 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-12-02 16:51:07 +00:00