Commit Graph

13644 Commits

Author SHA1 Message Date
Christian Stimming
59cbfb2b6f Bug #640357: Adding very limited Perl-Support for doxygen
Adding Doxygen commands to the Perl-scripts in the sources

I searched for every *.pl file in the GnuCash source and added Doxygen commands
like @file, @brief, @author to better include them in doxygen.

Patch by Christoph Holtermann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20267 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:40:38 +00:00
Christian Stimming
17669ec5bf Bug #640357: Adding very limited Perl-Support for doxygen
There are a few Perl-scripts scattered through the GnuCash sources. This patch
enables doxygen to interpret them so that they can be provided with information
about author, date and so on.

This is done by telling doxygen that their python-files. So python-comments can
be used.

The actual Perl-source is commented out by using
@cond Perl
...PERL-CODE...
@endcond Perl

Patch by Christoph Holtermann

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20266 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:40:22 +00:00
Christian Stimming
0f0b1e662a Bug #640347: Adding Example Skripts for historic Stock Quotes
This patch adds the example skripts from
http://wiki.gnucash.org/wiki/Stocks/get_prices
to the directory python-bindings/example_scripts.

Patch by Christoph Holtermann.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20265 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:37:23 +00:00
Christian Stimming
d16ef1765e Bug #640328: This patch makes Transaction.GetSplitList and Account.GetSplitList return Split instances
I changed gnucash_core.py so that GetSplitList methods of Transaction and
Account return Split-instances so that the user doesn't need to call
Split(instance=GetSplitList()[n]).

I checked the examples and changed one either.

Patch by Christoph Holtermann

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20264 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:37:07 +00:00
Christian Stimming
e3b8b22ab5 Bug #639906: Changing the way __format__ works for Split and Transaction
Patch by Christoph Holtermann

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20263 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-10 19:36:52 +00:00
Christian Stimming
b0fb01c81c Fix CRIT error message on program quit in the aqbanking module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20261 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-09 21:51:36 +00:00
Christian Stimming
b66ee496b8 Fix missing copying of invoice currency on "Copy Invoice".
Unfortunately this feature has been creating invoices with no currency set.
This leads to weird amounts that have more digits than expected and don't
sum up correctly, and it also triggers the warning dialog "One or more of
the entries are for accounts different from the invoice/bill currency. (...)"

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20260 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-09 21:10:55 +00:00
Christian Stimming
8e379a035c Bug #641909: Fix broken price scatter plot
The report was unknowingly broken by the move of one function in r20209
namely gnc-locale-default-iso-currency-code from app-utils to core-utils,
and somehow this needs a re-export in the core-utils.scm declaration.
(I don't know why. For me, this confirms again this whole scheme plugin
stuff sucks, royally.)

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20259 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-09 19:52:21 +00:00
Christian Stimming
dbf058b097 Minor tweaking of icon for duplicate invoice so that it doesn't look grayed out
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20256 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-07 21:39:00 +00:00
Christian Stimming
88d677c834 Update Dutch translation by Mark Haanen, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20255 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-07 21:19:05 +00:00
Christian Stimming
65f0c7b8ef Updated Spanish translation, by Francisco Javier F. Serrador.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20254 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-07 21:07:29 +00:00
Phil Longstaff
112778f12e Update revision to 2.4.2
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20252 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 22:30:26 +00:00
Christian Stimming
c97a58b97b Partly revert r20207, "Modify Tax Info on Account Page..."
The changes in the tree-model-account caused CRITICAL gtk warnings, so we
revert that part for now. The changes in gnc-ui-utils.[hc] have been kept.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20251 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 21:18:49 +00:00
Christian Stimming
ab195d7333 Updated German translation, now 100% completed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20250 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 21:16:52 +00:00
Christian Stimming
d74db75350 I18n improvements: Fix weird strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20249 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 21:16:42 +00:00
Christian Stimming
f8ed77e3c3 Update German translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20248 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 10:20:46 +00:00
Christian Stimming
bad51f8796 Update POTFILES.in
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20247 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 10:20:35 +00:00
Christian Stimming
b72ca059a8 Bug #641628: I18n: Fix untranslated string in fancy-invoice.scm and invoice.scm
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20246 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 09:54:38 +00:00
Christian Stimming
002352559b Bug #641646: Fix incorrect tip on switching between multiple tabs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20245 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-06 09:49:52 +00:00
Cristian Marchi
2583b0f71c Updated Dutch translation, copied from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20244 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-05 20:28:02 +00:00
Christian Stimming
6371840702 Remove references to Neil William's website because it is vastly outdated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20242 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-05 17:32:22 +00:00
Christian Stimming
e19bb94ead Updated German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20241 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-05 16:52:01 +00:00
Christian Stimming
d6d0369c81 Bug #641557: I18n slightly improved in fancy-invoice
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20239 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-05 16:29:08 +00:00
Christian Stimming
14df88070d I18n: Fix misleading composed strings by defining two separate full sentences.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20238 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-05 16:28:55 +00:00
Christian Stimming
0854bcce96 i18n: Add more terms to the glossary
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20237 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-05 15:52:22 +00:00
Christian Stimming
e5eee6ed6b i18n: Fix missing space in message
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20236 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-05 15:52:09 +00:00
Phil Longstaff
02b3ffaea4 Update revision to 2.4.1
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20231 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-05 01:55:41 +00:00
John Ralls
f99d162fbb DBI Backend: Cleanup after testing version control so that repeating the tests doesn't fail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20230 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-04 18:32:51 +00:00
Phil Longstaff
3fe1707d22 Check whether session has been created before trying to end it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20229 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-04 01:54:30 +00:00
John Ralls
947b60f511 Fix compiler warning in gnc-backend-dbi.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20228 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-04 00:02:21 +00:00
Cristian Marchi
822eb02134 Updated Dutch translation, copied from the translation project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20227 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-03 21:22:07 +00:00
John Ralls
bf8cc9ee08 Change dependency in src/backend/dbi/Makefile.am from app-utils to core-utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20226 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-03 14:43:39 +00:00
Christian Stimming
b042a6d536 Do not modify the entry's DateEntered when duplicating invoice to keep the entry ordering.
Follow-up to r20115.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20225 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-02 20:49:41 +00:00
Christian Stimming
d0b8c4296e Fix cmake build after latest configure changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20224 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-02 20:31:10 +00:00
John Ralls
7cb436e08d Change GNC_RESAVE_VERSION to GNUCASH_RESAVE_VERSION so that it's similar to the other version macros; define it at the top of configure.ac so that it's obvious to everybody; and store the current Gnucash version only when doing a full save so that retrospective changes to GNUCASH_RESAVE_VERSION won't skip a resave because the database has been touchedby a newer version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20223 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-02 00:04:29 +00:00
Christian Stimming
dd3f1a3c7d Win32: Add missing include for windows build
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20222 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-02-01 21:04:58 +00:00
Christian Stimming
a7226c0a0f Set line ending property svn:eol-style to LF for newly added files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20217 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-31 20:07:00 +00:00
Christian Stimming
6bf3eb2941 Set line ending property svn:eol-style to LF for newly added files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20216 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-31 19:54:45 +00:00
John Ralls
c8adfe555f The new files for gnc_locale functions, ommitted from r20110.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20214 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-31 15:27:57 +00:00
John Ralls
f273f3382e Adjustments to test Makefiles required by r20176 (move quickfill functions from gnome-utils to app-utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20211 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-31 04:35:49 +00:00
John Ralls
febfba65b4 More adjustments for moving gnc_locale functions from app-utils to core-utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20210 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-31 04:33:38 +00:00
John Ralls
8ff535a1af Move gnc_locale functions from src/app-utils/gnc-ui-util to src/core-utils/gnc-locale-utils (new files) and adjust accordingly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20209 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-31 04:29:48 +00:00
John Ralls
9872a070e3 Adjust location and add gnc_(push|pop)_locale wrapper around dbi_conn_query() calls which retrieve data. Patch by Christoph Holtermann
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20208 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-30 22:40:22 +00:00
J. Alex Aycinena
9968d038a2 Modify Tax Info on Account Page to display or not display sub-account info based on whether row is expanded.
Revert changes made in gnc-ui-util.c in rev 20039 and instead put those changes in new function: gnc_ui_account_get_tax_info_sub_acct_string.

Define a new column, GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO_SUB_ACCT, in gnc-tree-model-account.c filled with gnc_ui_account_get_tax_info_sub_acct_string.

Modify gnc-tree-view-account.c to define a tax_info_data_func that displays only the the data in the GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO model column if the row is expanded; otherwise it combines it with the data in the GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO_SUB_ACCT model column. Modily the view creation function to use the new tax_info_data_func.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20207 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-30 20:34:55 +00:00
Geert Janssens
2897cd4d0e Bug #640061 - Invoice items are not saved, patch by Christoph
Holterman

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20206 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-30 18:33:53 +00:00
Christian Stimming
c2f070dcb8 Update newly introduced NANO version number in cmake build script as well.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20205 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-30 10:25:07 +00:00
Christian Stimming
47032f3687 Get rid of gtk dependency in <app-util/option-util.h> header by storing only a gpointer for the widget.
This means the very last part of a gtk-dependency in app-util is in option-util.c
in one error message. My goal is to remove gtk completely from app-util
so that all code in our dependency chain up to app-util can be packaged
into a GUI-independent library, which can then be used by the python wrappers
and other GUI frontends alike.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20204 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-30 10:21:48 +00:00
Christian Stimming
5cb52dbdb5 Updated Ukrainian translation, copied from the Translation Project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20203 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-30 09:24:27 +00:00
John Ralls
725e14eb17 Add gnc_get_long_version, a guint concocted by adding the version values together allowing two digits for each. Add a new version value, GNUNCASH_NANO_VERSION, to be incremented when there's any change to data serialization. Use the new gnc_get_long_version to tag the Gnucash version in the versions table in the dbi backend.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20202 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-29 23:38:10 +00:00
John Ralls
e2c04cbbd4 Add libgncmod-app-utils.la to src/backend/dbi/tests LDADD so that gnc_push_locale and gnc_pop_locale can be found for testing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20201 57a11ea4-9604-0410-9ed3-97b8803252fd
2011-01-29 23:16:00 +00:00