Commit Graph

143 Commits

Author SHA1 Message Date
Christian Stimming
8bb7cb9d26 Updated Traditional Chinese translation, by Kuang-che Wu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20326 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-22 20:28:34 +00:00
Christian Stimming
dc4ae21d0b Bug #639906: Improve text output methods of python bindings
Patch by Christoph Holtermann:

For the more complex financial objects i chose a different approach.

The printing functions are located in one module. Importing this module adds
these functions as methods to the classes defined in gnucash_core.py.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20145 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-22 14:39:56 +00:00
Christian Stimming
b922f000ec Bug #640233: Don't add "Account unknown Bank Unknown" memo when account and/or bank does not exist
Patch by Jeff Kletsky:

At least for the online OFX sources I use in the US, downloaded
transactions are populated with memos of

"Account unknown Bank unknown"

Past being annoying, this can cause improper "matches" when comparing
transactions.

The root cause is found in src/import-export/aqbanking/gnc-ab-utils.c
in the function gnc_ab_memo_to_gnc where the code seems to check for
the existence of a remote account number from the aqbanking
transaction

if (ab_other_accountid && *ab_other_accountid)

and appears to intend to return the empty string if one is not present.

However, an earlier line in the code sets ab_other_accountid to
"unknown" so that the test always returns true.

This patch should return:

* "Account <account number> Bank <bank number>" if both are present

* "Account <account number>" if only the account is present

* "Bank <bank number>" if only the bank is present

* "" if neither is present

Additionally, ordering of trimming was changed to handle the
possibility that the leading and/or trailing character(s) were stripped
as invalid UTF-8, resulting in an untrimmed string.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20144 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-22 14:36:18 +00:00
Geert Janssens
d757ccc2f3 This patch adds a new option under Edit -> Preferences -> Date/Time
that looks like this:

 Date Completion
 When a date is entered without year, it should be taken:
 (*) In the current calendar year
 ( ) In a sliding 12-month window starting this many months before the
     current month:  [ 6 ]

Patch by Peter Selinger with minor modifications

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20132 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-21 11:51:40 +00:00
Christian Stimming
cb0c64dee6 Fix typo in AUTHORS, as pointed out by Mike himself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19810 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-14 21:14:46 +00:00
Christian Stimming
080f38072a Add Mike Evans to AUTHORS as he has been providing patches regularly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@19809 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-11-14 19:29:43 +00:00
John Ralls
1d6e7701ac Redo of the dot-gnucash fix (so that GNC_DOT_DIR actually works) fixing bug 610707, adding Doxygen comments for all functions in gnc-filepath-utils, and adding testing for xaccResolveURI and more tests for xaccResolveFilePath.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18765 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-28 22:53:02 +00:00
John Ralls
5f8890e675 Reverted 18699
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18741 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-26 21:56:50 +00:00
John Ralls
8c4fa1f762 Ensure that GNC_DOT_PATH and other gnc_dotgnucash_dir() logic is
used for all cases, remove hard-coded references to /usr/etc,
    /usr/share, /usr/local/etc, and /usr/local/share while providing
    for xaccResolveFilePath to actually search the data and sysconfdir
    directories used in the build.
    
    (gnc_build_data_path): New function, just a copy of
    gnc_build_book_path. Needed for rewrite of xaccResolveFilePath.
    (xaccResolveFilePath): Cleaned out the hard-coded paths and weird
    file path contruction functions and rewrote the function to use
    gnc_path_get_foo and gnc_build_data_path without all of the silly
    indirection. Removed superfluous URI checks (which are correctly
    perfomed by xaccResolveURL()).
    (MakeHomeDir, xaccPathGenerator, xaccDataPathGenerator)
    (xaccUserPathGenerator): Deleted; their functionality is replaced
    as noted above.

    (check_file_return_if_true): Renamed check_file_return_if_valid, a
    more descriptive name.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18699 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-20 22:01:05 +00:00
Christian Stimming
193a4d843e Fix crash at startup on renamed Accounts tab, bug#608329.
Patch by Tom Van Braeckel.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18658 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-15 19:40:20 +00:00
Geert Janssens
98fb79457d Minor changes to global project files
1. Fix spelling errors in HACKING
- appearenet -> apparent (patch by Tom Van Braeckel)
- supressions -> suppressions

2. Keep the contributer list sorted alphabetically in AUTHORS

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18602 57a11ea4-9604-0410-9ed3-97b8803252fd
2010-02-02 16:18:23 +00:00
Phil Longstaff
f229f9ac8e Python bindings patches by Mark Jenkins.
python_GetNthChild_remove.patch
remove the redundant GetNthChild code, gnc_account_nth_child supported

python_more_GUID.patch
Improve support for GUID


python_better_commodity.patch
* Removed custom __init__ from GncCommodity, not only is it wrong but 
the one
from GnuCashCoreClass is just fine.

* Supported the get_table method For Book

* Removed support for direct instantiation of GncCommodityTable. (via
gnc_commodity_table_new() ). Only methods and not the constructor
function are added to the class now. Python binding users can access a
GncCommodityTable instance via Book.get_table() and have no need to use
gnc_commodity_table_new(), which the apis advise is for internal use
only.


python_GncLot.patch
* included gnc-lot.h in gnucash_core.i again

* Made GncLot class use superclass __init__, it doesn't need its own.


python_more_documentation.patch
Documentation strings for many classes, which can be viewed in source 
and with python's help() mechanism.


python_business_module_load.patch
load the business module, not the business module specific backend


python_example_scripts.py
example scripts improved, new one added.  This new script originally 
came from this post:
http://lists.gnucash.org/pipermail/gnucash-devel/2008-July/023618.html


python_authors_update.patch
added Legal Aid Manitoba to credit line for Mark Jenkins


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18291 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-09-05 00:11:31 +00:00
Andreas Köhler
3558853ed5 Budget report improvements.
* Moves budget-related reports to a "Budget" sub-menu.
* Implements a Budget Balance Sheet report.  This is a projected future balance
  sheet using budget data.
* Adds Budget Income Statement and Budget Profit & Loss reports.  These are
  projected future IS/PNL reports using budget data.

Patch by Forest Bond.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17829 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-01-18 17:19:08 +00:00
Christian Stimming
be53833076 Added German account template for a Wohnungswirtschaft business, by Christoph Franzen.
Originally proposed here
http://lists.gnucash.org/pipermail/gnucash-de/2005-December/003651.html

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17604 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-27 12:07:30 +00:00
Christian Stimming
7b50ae0abc Heavily improved Tax Report & TXF export by Alex Aycinena.
Prints tax information sorted by Form/Schedule, tax code, account,
transaction and date instead of by account hierarchy. Allows any tax
code to be assigned to multiple accounts. No longer double counts
transactions when a parent account is not a placeholder and has
transactions posted to it. Converts non-USD accounts and transactions
to USD instead of adding across currencies. Provides an error dialog
instead of crashing gnucash when exporting a file without write
permission. Provides additional options to adjust the level of detail
shown on the report.

Patch by J. Alex Aycinena <alex.aycinena@gmail.com>.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17602 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-27 11:28:20 +00:00
Christian Stimming
f9fe85f6e2 Add Finnish translation by Tuomo Kohvakka.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17595 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-26 13:15:11 +00:00
Andreas Köhler
96e3da5b76 UTF-8-ize AUTHORS.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17532 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-09-16 14:05:12 +00:00
Charles Day
a8820e769b AUTHORS: Add Frank Ellenberger and update my own details.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17476 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-21 00:13:36 +00:00
Christian Stimming
9812f77182 Bug #529816: Clarify i18n strings and comments concerning CUSIP and ISIN.
Patch by Frank H. Ellenberger.
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17464 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-12 19:14:52 +00:00
Andreas Köhler
1a25b2bc39 Bug #129099: Add option to toggle between full account path and leaf name in registers.
* Introduce new property show_full_account_names to the schema
  general/register to toggle between full account path and leaf name
* Configuration in Preferences dialog  ("Register Defaults")
* Convenience functions gnc_get_account_name_for_register() and
  gnc_account_lookup_for_register() return the proper values depending on the
  configurations.
* Ledgers and registers use the new functions for displaying account names
  (applies also to business-ledger)
* account-quickfill uses gnc_get_account_name_for_register() and listens to
  gconf property

Patch from Christoph Ernst.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17324 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-13 21:28:45 +00:00
Charles Day
43e2e82482 Reports: Add option to display a table of data beneath barcharts.
Patch by Joachim Herb.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17316 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-12 17:01:27 +00:00
Charles Day
bbbae3bf28 Register report: Add option to display memos when run from Basic Ledger mode. Refine the Description option. Space-saving column arrangement.
Patch from Robert Stocks.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17297 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-11 23:19:26 +00:00
Christian Stimming
ca29510911 Add credit to Assibiboine Credit Union for python bindings.
Mark Jenkins wrote: I would also like to give credit to Assiniboine Credit Union
(http://www.assiniboine.mb.ca Winnipeg, Canada), which has funded a good
chunk of our work on this through a grant they gave us in 2007.
Additional python binding work since between June 17 and December 31,
2008 is being funded by a second grant they gave us this year.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17291 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 22:56:27 +00:00
Christian Stimming
4fa2e87962 Python bindings for the gnucash API.
Submitted by Mark Jenkins on 2008-03-25 to gnucash-devel.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17263 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 19:18:26 +00:00
Derek Atkins
f0aaf504c8 Add Rolf to AUTHORS
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17261 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-07 16:13:04 +00:00
Charles Day
26a8c73c70 Add Charles Day to the AUTHORS list.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17182 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-30 16:23:03 +00:00
Christian Stimming
adcbc5d215 Add Hebrew translation by Ori Hoch.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17144 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 09:10:30 +00:00
Andreas Köhler
371fbe6daf Update AUTHORS.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17122 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-23 19:52:52 +00:00
Christian Stimming
40219aea95 New Vietnamese translation by Clytie Siddall.
This merges r16679 from 2.2 branch. The translation itself is
already outdated, but this commit is merged anyway so that
the addition of this new translation isn't forgotten in the
future when trunk becomes the next stable branch.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16961 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-24 20:58:16 +00:00
Christian Stimming
1eebeaaf2e Add Swiss German translation by Raffael Luthiger.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16959 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-24 20:48:31 +00:00
Christian Stimming
5366ec7e5c Update British English translation by Nigel Titley.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16352 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-07-23 19:13:30 +00:00
Joshua Sled
1c0d91cade update myself.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15970 57a11ea4-9604-0410-9ed3-97b8803252fd
2007-04-21 21:46:47 +00:00
Christian Stimming
12f43b1bec Add author of r15203, 15206, 15207, 15208.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15210 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-12 11:36:51 +00:00
Christian Stimming
e453f3d4c1 Add Author for r15184 bugfix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15185 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-05 21:21:21 +00:00
Christian Stimming
04b2a41c7c Updates for changed areas of contribution; add andi5 to top. Feel free to adjust this to your liking again.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15183 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-12-05 21:15:45 +00:00
Christian Stimming
c91c7b2d6c Updated Dutch translation by Bernard Meens <meensb@xs4all.nl>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14457 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-07-01 09:01:14 +00:00
Christian Stimming
1f8019471a Add new SKR03 account template (in addition to the existing SKR04) by Oliver Vollmer
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14384 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-18 20:27:12 +00:00
David Hampton
4a9eea2b4e New splash screen from Joshua Facemyer / Impressus Art
<faceman@impressusart.com>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14229 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-28 21:24:54 +00:00
Christian Stimming
020d3aa796 Initial Romanian translation by Danny Fischer
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14146 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-21 13:04:43 +00:00
Christian Stimming
013771fdfe Added new Austrian German account templates by Roman Bertle
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13988 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-10 12:50:35 +00:00
David Hampton
4a5f6e30ca Mike Alexander's patch to fix lot date calculation, and to include all
splits when computing capital gain's instead of just the opening lot.
Scrub lots when scrubbing everything else.  Some MacOs X fixes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13872 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-28 21:11:01 +00:00
Christian Stimming
4b50e45fda Updated French translation by Fabrice Kurz
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13868 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-27 21:00:09 +00:00
Christian Stimming
406b8941ba Added French glossary by Jonathan Ernst
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13801 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-18 19:27:37 +00:00
Chris Shoemaker
01940cadb9 Filter out deprecated account types from the account types treemodel.
Patch by Eskil Bylund <eskil.bylund@gmail.com>


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12900 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-19 18:02:18 +00:00
Chris Shoemaker
e58ec5bcf9 Mark budget strings for i18n
Remove obsolete budget glade dialogs



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12208 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-30 16:00:05 +00:00
David Hampton
62b00aea76 David Jafferian's account deletion patch that queries the user about
whether to delete or move any contained transactions and sub-accounts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12157 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-11 00:52:12 +00:00
Chris Shoemaker
120a27c129 Added several author entries.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12078 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-12-03 03:29:57 +00:00
David Hampton
f57c929244 Convert to utf-8.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11988 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-20 17:09:07 +00:00
Christian Stimming
8c988502ec Updated Norwegian/Bokmaal glossary
translation by Tor Harald Thorland <linux@strigen.com>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11984 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-20 12:32:37 +00:00
Christian Stimming
e40c356ed3 Updated German translation by Andreas Koehler.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@11956 57a11ea4-9604-0410-9ed3-97b8803252fd
2005-11-16 19:56:17 +00:00