Only active if "auto-create commodity" is switched on in the preferences
from r20376.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20413 57a11ea4-9604-0410-9ed3-97b8803252fd
The patch will be re-applied once trunk requires guile-1.8, which will be done
right after the oncoming branching.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20410 57a11ea4-9604-0410-9ed3-97b8803252fd
(Somehow the argument --with-qt3-wizard-package was writting right
inside the qof code stuff. This has been moved to the aqbanking section now.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20407 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch by Tristan Faujour:
Proposed patch: make reports ignore book-closing entries
I chose to:
- Change the reports' default behavior to have them ignore the book-closing
entries.
- Do not change anything in reports that deal explicitly with them.
Here is the content of this patch (everything is under gnucash/src/report):
- In function gnc:account-get-trans-type-balance-interval, depending on an
argument, closing entries can be ignored (they are identified by
xaccTransGetIsClosingTxn).
- Some report utility functions are duplicated (with a "-with closing" suffix)
to provide the legacy feature.
- Equity statement and Profit & Loss reports are modified to call the
*-with-closing functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20404 57a11ea4-9604-0410-9ed3-97b8803252fd
Additionally, it turned out the log system never gave notice about
a log output file that was unwritable. Added an appropriate CRITICAL
error message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20403 57a11ea4-9604-0410-9ed3-97b8803252fd
Facilities such as this should be used from external expert libraries.
Also, this is in the way when cleaning up some log system problems
in subsequent commits.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20402 57a11ea4-9604-0410-9ed3-97b8803252fd
Patches kindly provided by Gilles Dartiguelongue <eva@gentoo.org> of
the Gentoo project.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20401 57a11ea4-9604-0410-9ed3-97b8803252fd
installation directory
Translog files for databases are now created in a directory "translog"
inside the .gnucash dir. The files will be named following this
scheme:
<dbtype>_<hostname>_<user>_<dbname>.<timestamp>.log
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20400 57a11ea4-9604-0410-9ed3-97b8803252fd
As "business-core" has been dissolved, the "business-utils" code
has no more requirements than app-utils and can be moved there because of this.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20392 57a11ea4-9604-0410-9ed3-97b8803252fd
Note: Users will run into a problem when copying a windows file to linux
and vice versa because the counter format will have to be changed on the
other operating system each time.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20382 57a11ea4-9604-0410-9ed3-97b8803252fd
Network active
P_tmpdir is set to "\" by mingw. The way P_tmpdir is used by
GnuCash, this seems to trigger unwanted network activity. So on
Windows, I'm replacing it with "C:/temp" for now, based on suggestions
found on the internet regarding this issue.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20380 57a11ea4-9604-0410-9ed3-97b8803252fd
Re-apply changes reverted in r20251. The only difference between this commit and r20207 is that, contrary to the recommendation given in gnc-tree-view.h, "Use GNC_TREE_VIEW_COLUMN_DATA_NONE if you plan on using a non-model data source for this column", it cobtinues to use "GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO". Using "GNC_TREE_VIEW_COLUMN_DATA_NONE" generates problems later in the "gnc_tree_view_add_text_column" routine when it tries to set up sorting for the column ("CRIT <Gtk> gtk_tree_sortable_set_sort_func: assertion `sort_column_id >= 0' failed").
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 for the text after having first set it to GNC_TREE_MODEL_ACCOUNT_COL_TAX_INFO to prevent the problem mentioned above, thereby overriding it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20359 57a11ea4-9604-0410-9ed3-97b8803252fd
These files were once copied from gtk 2.8 to work around pre-2.8 gtk
bugs when that was still our baseline. Our baseline is currently 2.10,
so these files are no longer needed/used.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@20354 57a11ea4-9604-0410-9ed3-97b8803252fd