Commit Graph

11219 Commits

Author SHA1 Message Date
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
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