2011-03-13 16:47 plongstaff * [r20417] configure.ac: Update rev to 2.4.4 * [r20416] po/POTFILES.in: Update POTFILES.in 2011-03-13 11:28 cstim * [r20413] src/import-export/ofx/gnc-ofx-import.c: Implement automatic creation of stock account for newly imported OFX stocks. Only active if "auto-create commodity" is switched on in the preferences from r20376. 2011-03-13 11:14 cstim * [r20412] src/import-export/import-account-matcher.c, src/import-export/import-backend.c, src/import-export/import-main-matcher.c, src/import-export/import-main-matcher.h: Add some more sanity checking in common importer module. 2011-03-13 09:58 cstim * [r20411] src/import-export/ofx/Makefile.am, src/import-export/ofx/gnc-ofx-import.c, src/import-export/ofx/gnc-ofx-kvp.c, src/import-export/ofx/gnc-ofx-kvp.h: Refactor KVP-related functions of OFX into separate file. 2011-03-13 09:54 cstim * [r20410] src/gnome/dialog-tax-info.c: Revert r20405, "Correct memory leaks..." - does not compile with guile-1.6 The patch will be re-applied once trunk requires guile-1.8, which will be done right after the oncoming branching. 2011-03-13 00:03 cstim * [r20409] src/import-export/ofx/gnc-ofx-import.c: Code cleanup in ofx importer; refactoring to get away from the single giant long function. 2011-03-13 00:02 cstim * [r20408] src/gnome-utils/dialog-account.c, src/gnome-utils/dialog-account.h, src/import-export/import-account-matcher.c, src/import-export/import-account-matcher.h: Add some more const-correctness. * [r20407] configure.ac: Configure simplification: Use pkg-config for libofx. Remove obsolete external qof detection. (Somehow the argument --with-qt3-wizard-package was writting right inside the qof code stuff. This has been moved to the aqbanking section now.) * [r20406] packaging/win32/crossbuild_webkit.sh, packaging/win32/defaults.sh, packaging/win32/webkit-1.2.7-time.patch, packaging/win32/webkit-1.2.7-vasprintf.patch: Win32: Tweak cross compiling script for webkit so that is seems to almost compile. 2011-03-12 21:48 alex.aycinena * [r20405] src/gnome/dialog-tax-info.c: Correct memory leaks found with valgrind 2011-03-12 15:52 cstim * [r20404] src/report/report-system/report-system.scm, src/report/report-system/report-utilities.scm, src/report/standard-reports/equity-statement.scm, src/report/standard-reports/income-statement.scm: Bug #570042: Better default for book-closing entries in Income Statement Report Options 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. 2011-03-12 15:47 cstim * [r20403] src/backend/xml/gnc-backend-xml.c, src/libqof/qof/qoflog.c, src/libqof/qof/test/test-qof.c: Bug #644556: Running the test as root happened to remove /dev/null. Check for this and also fix the respective test. Additionally, it turned out the log system never gave notice about a log output file that was unwritable. Added an appropriate CRITICAL error message. * [r20402] src/libqof/qof/qoflog.c, src/libqof/qof/qoflog.h: Remove unused functions for wall clock timing. 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. 2011-03-12 15:44 gjanssens * [r20401] src/app-utils/test/Makefile.am, src/backend/xml/test/Makefile.am, src/bin/Makefile.am, src/business/business-core/test/Makefile.am, src/core-utils/test/Makefile.am, src/engine/test/Makefile.am, src/import-export/ofx/test/Makefile.am, src/import-export/qif-import/test/Makefile.am, src/import-export/test/Makefile.am, src/register/ledger-core/test/Makefile.am, src/register/register-core/test/Makefile.am, src/register/register-gnome/test/Makefile.am, src/report/report-gnome/test/Makefile.am: Bug #644557 - gnucash-2.4.3: downstream patches to fix tests linking Patches kindly provided by Gilles Dartiguelongue <eva@gentoo.org> of the Gentoo project. * [r20400] src/backend/dbi/gnc-backend-dbi.c, src/core-utils/gnc-filepath-utils.c, src/core-utils/gnc-filepath-utils.h: Bug #642739 - Translog files being created in Gnucash program 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 2011-03-12 09:36 cstim * [r20399] src/report/report-gnome/gnc-plugin-page-report.c: When setting the report print name, check whether this exact name has been used before. Append an increasing number if that was the case. 2011-03-11 20:07 cmarchi * [r20398] po/nl.po: Updated Dutch translation copied from the translation project. 2011-03-11 18:46 cmarchi * [r20397] po/uk.po: Updated Ukranian translation copied from the translation project. 2011-03-11 14:25 cstim * [r20396] src/report/report-gnome/gnc-plugin-page-report.c: Fix r20394: Output string clean-up was missing the date part. 2011-03-11 12:53 cmarchi * [r20395] doc/README-zh_TW.win32-bin.txt, po/glossary/zh_TW.po, po/zh_TW.po: Updated Traditional Chinese translation, glossary and win32 txt. 2011-03-11 07:21 cstim * [r20394] src/report/report-gnome/gnc-plugin-page-report.c: When setting a printer job name, remove slashes because they are not allowes in filenames. 2011-03-10 22:23 cstim * [r20393] src/report/report-gnome/gnc-plugin-page-report.c: Add the invoice number in the output printer job name, if an invoice report is printed. * [r20392] src/app-utils/Makefile.am, src/app-utils/business-options.c, src/app-utils/business-options.h, src/business/business-utils/Makefile.am, src/business/business-utils/business-options.c, src/business/business-utils/business-options.h: Move business-options.[hc] from business-utils to app-utils. 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. 2011-03-10 20:12 cstim * [r20391] ChangeLog.2010, Makefile.am: Add ChangeLog.2010. 2011-03-08 13:21 gjanssens * [r20388] src/libqof/qof/qoflog.c: Fix missing timestamp in trace files on Windows 2011-03-08 13:16 gjanssens * [r20385] src/libqof/qof/test, src/optional/gtkmm: Additional svn:ignore settings 2011-03-08 12:54 cstim * [r20384] .gitignore: Add yet more gitignores. 2011-03-08 11:16 cstim * [r20383] .gitignore: Add more gitignore entries. 2011-03-08 11:15 cstim * [r20382] src/libqof/qof/qofbook-p.h, src/libqof/qof/qofbook.c, src/libqof/qof/test/test-qof.c, src/libqof/qof/test/test-qofbook.c: Bug #644036: Counter format validation fails on Windows because the number format is I64i there. 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. 2011-03-07 19:23 gjanssens * [r20381] src/libqof/qof/guid.c: Add comments to warn about lack of Windows support in the guid_init function. 2011-03-07 18:42 gjanssens * [r20380] src/libqof/qof/guid.c: Bug #521817 - Guid_init causes very long startup delay if Novell 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. 2011-03-06 20:22 cmarchi * [r20379] src/business/business-gnome/glade/businessprefs.glade: Fix an accelerator. 2011-03-05 23:29 alex.aycinena * [r20378] src/app-utils/gnc-ui-util.c, src/gnome-utils/gnc-tree-view-account.c, src/gnome/gnc-plugin-page-register.c: Correct memory leaks found with valgrind 2011-03-05 17:31 gjanssens * [r20377] src/libqof/qof/guid.c: Add more debug logging. 2011-03-05 11:41 cstim * [r20376] src/import-export/generic-import.glade, src/import-export/ofx/gnc-ofx-import.c, src/import-export/schemas/apps_gnucash_import_generic_matcher.schemas.in: Add option in OFX import to have newly encountered commodities automatically created. 2011-03-05 11:40 cstim * [r20375] src/import-export/import-commodity-matcher.c, src/import-export/import-commodity-matcher.h, src/import-export/import-settings.c, src/import-export/import-settings.h: Minor code cleanup: Move gconf section name into header; clarify argument name. 2011-03-04 21:02 cstim * [r20373] src/import-export/import-commodity-matcher.c, src/import-export/import-commodity-matcher.h, src/import-export/ofx/gnc-ofx-import.c: Minor code cleanup in ofx importer; improve const-correctness. 2011-03-04 14:43 cstim * [r20368] src/gnc-module/gnc-module.c: Use qualified include path for cmake/automake simplification 2011-03-03 21:50 gjanssens * [r20367] src/bin/gnucash-bin.c, src/gnc-module/Makefile.am, src/gnc-module/gnc-module.c, src/libqof/qof/guid.c: Add additional debug markers 2011-03-03 00:30 alex.aycinena * [r20364] src/app-utils/gnc-ui-util.c: Correct memory leak found with valgrind 2011-03-02 19:33 cmarchi * [r20363] packaging/win32/Makefile.am, packaging/win32/gnucash.iss.in: Fix Traditional Chinese win32 package translation. 2011-03-01 23:09 alex.aycinena * [r20359] src/gnome-utils/gnc-tree-model-account.c, src/gnome-utils/gnc-tree-model-account.h, src/gnome-utils/gnc-tree-view-account.c: Modify Tax Info on Account Page to display or not display sub-account info based on whether row is expanded. 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. 2011-03-01 21:27 cstim * [r20358] po/de.po: Fix typo in German translation 2011-03-01 19:44 cmarchi * [r20357] doc/Makefile.am, doc/README-zh_TW.win32-bin.txt, packaging/win32/ChineseTrad-2-5.1.11.isl, packaging/win32/gnucash.iss.in: Add Traditional Chinese translation for win32 package system. 2011-03-01 19:36 cmarchi * [r20356] po/zh_TW.po: Updated Traditional Chinese translation by Kuang-che. 2011-03-01 19:33 cmarchi * [r20355] po/fr.po: Improved French translation by Sebastien Daniel. 2011-02-28 18:48 gjanssens * [r20354] src/gnome-utils/gnctreemodelsort.c, src/gnome-utils/gnctreemodelsort.h, src/gnome-utils/gtktreedatalist.c, src/gnome-utils/gtktreedatalist.h: Remove some obsolete files 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. 2011-02-28 16:26 gjanssens * [r20353] src/gnome-utils/gnc-main-window.c: Fix Gtk CRIT warnings introduced in r20351 2011-02-28 11:28 gjanssens * [r20352] src/business/business-gnome/dialog-invoice.c, src/doc/python-bindings-doxygen.py, src/gnome-utils/dialog-transfer.c, src/gnome-utils/gnc-gobject-utils.c, src/gnome-utils/gnc-gobject-utils.h, src/gnome/gnc-plugin-page-budget.c, src/libqof/qof/gnc-numeric.c, src/optional/python-bindings/timespec.i, src/report/report-gnome/gnc-plugin-page-report.c: Small spelling corrections in comments and some whitespace adjustments * [r20351] src/business/business-gnome/gnc-plugin-page-invoice.c, src/gnome-utils/gnc-main-window.c: Update page name if invoice/bill is renamed. * [r20350] src/gnome/gnc-plugin-page-budget.c: Present already open budget page if the user tries to open a budget more than once 2011-02-28 11:27 gjanssens * [r20349] src/gnome/gnc-plugin-page-budget.c: Update page name if budget is renamed. * [r20348] src/gnome/gnc-plugin-page-budget.c: Bug #347265 - budget column resizing/options applies to all budget windows 2011-02-26 14:42 gjanssens * [r20344] src/gnome/druid-hierarchy.c: Only show the Save As dialog at the end of the Hierarchy druid if it was called at the beginning of a new book, not when a hierarchy is added to from the actions menu. 2011-02-26 14:04 cstim * [r20343] src/app-utils/gnc-ui-util.c, src/backend/dbi/gnc-backend-dbi.c, src/backend/dbi/test/test-dbi-stuff.c, src/core-utils/gnc-main.c, src/gnome-utils/dialog-totd.c, src/gnome-utils/gnc-main-window.c, src/import-export/aqbanking/gnc-gwen-gui.c, src/libqof/qof/qofsession.c: Re-indentation of source code. This re-indentation was done using astyle-1.24 using the following options: astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none 2011-02-26 13:04 gjanssens * [r20342] src/business/business-gnome/gnc-plugin-business.h, src/business/business-gnome/gnc-plugin-page-invoice.h, src/gnome-utils/gnc-embedded-window.h, src/gnome-utils/gnc-keyring.h, src/gnome-utils/gnc-tree-model-account.h, src/gnome-utils/gnc-tree-model-commodity.h, src/gnome-utils/gnc-tree-model-price.h, src/gnome-utils/gnc-tree-model-selection.c, src/gnome-utils/gnc-tree-model-selection.h, src/gnome-utils/gnc-tree-model.h, src/gnome-utils/gnc-tree-view-account.h, src/gnome-utils/gnc-tree-view-commodity.h, src/gnome-utils/gnc-tree-view-price.h, src/gnome-utils/gnc-tree-view-sx-list.h, src/gnome-utils/gnc-tree-view.h, src/gnome-utils/gnc-ui.h, src/gnome-utils/gnc-window.h, src/gnome-utils/gnctreemodelsort.c, src/gnome-utils/gnctreemodelsort.h, src/gnome-utils/gtktreedatalist.h, src/gnome-utils/print-session.c, src/gnome-utils/print-session.h, src/gnome/gnc-plugin-account-tree.h, src/gnome/gnc-plugin-basic-commands.h, src/gnome/gnc-plugin-budget.h, src/gnome/gnc-plugin-page-account-tree.h, src/gnome/gnc-plugin-page-budget.h, src/gnome/gnc-plugin-page-register.h, src/gnome/gnc-plugin-page-sx-list.h, src/gnome/window-reconcile.h, src/import-export/csv/gnc-plugin-csv.h, src/import-export/import-account-matcher.h, src/import-export/log-replay/gnc-plugin-log-replay.h, src/import-export/ofx/gnc-plugin-ofx.h, src/import-export/qif-import/druid-qif-import.h, src/import-export/qif-import/gnc-plugin-qif-import.h, src/register/register-core/basiccell.h, src/register/register-gnome/gnucash-scrolled-window.h, src/report/report-gnome/gnc-plugin-page-report.h, src/report/stylesheets/gnc-plugin-stylesheets.h: Update gtk include headers to follow gtk recommendations (only include gtk/gtk.h) 2011-02-25 23:59 gjanssens * [r20340] src/gnome-utils/print-session.c, src/gnome-utils/print-session.h, src/gnome/dialog-print-check.c, src/html/gnc-html-gtkhtml.c, src/html/gnc-html-webkit.c, src/html/gnc-html.c, src/html/gnc-html.h, src/report/report-gnome/gnc-plugin-page-report.c: Set a printer job name when printing reports and cheques 2011-02-25 07:11 cmarchi * [r20339] po/lt.po: Updated Lithuanian translation by Mantas KriauÄiÅ«nas. 2011-02-25 00:29 plongstaff * [r20336] configure.ac: Update revision to 2.4.3 2011-02-24 20:44 cstim * [r20334] po/de.po: Update German translation. * [r20333] src/business/business-gnome/glade/businessprefs.glade, src/business/business-gnome/schemas/apps_gnucash_dialog_business_common.schemas.in: I18n improvement: Unify two very similar strings. 2011-02-24 19:29 cmarchi * [r20332] po/it.po: Updated Italian translation. 2011-02-23 12:50 cmarchi * [r20327] po/sk.po: Updated Slovak translation, copied from the translation project. 2011-02-22 20:28 cstim * [r20326] AUTHORS, accounts/zh_TW/acctchrt_business.gnucash-xea, po/glossary/zh_TW.po, po/zh_TW.po: Updated Traditional Chinese translation, by Kuang-che Wu. 2011-02-20 21:05 cstim * [r20322] src/report/locale-specific/us/taxtxf-de_DE.scm, src/tax/us/txf-de_DE.scm: Remove translation markers from already-translated strings in German tax report. * [r20321] src/report/locale-specific/us/taxtxf-de_DE.scm, src/tax/us/de_DE, src/tax/us/de_DE/taxtxf - LIES MICH.txt, src/tax/us/de_DE/txf-USt-Bericht.html, src/tax/us/de_DE/txf-USt-VA Anleitung 2011.pdf, src/tax/us/txf-de_DE.scm, src/tax/us/txf-help-de_DE.scm: Update German tax report, by Franz Stoll. The contributor also sent some explanatory documents, which I for now copied into tax/us/de_DE/, but I just didn't know whether they better belong anywhere else. 2011-02-19 01:17 jralls * [r20317] src/libqof/qof/qofinstance.h: qofinstance.h: Delete duplicate declarations and consolidate editlevel declarations in one place. 2011-02-18 19:08 cmarchi * [r20316] po/it.po: Updated Italian translation. 2011-02-18 19:07 cmarchi * [r20315] src/import-export/generic-import.glade, src/import-export/schemas/apps_gnucash_import_generic_matcher.schemas.in: Unify two very similar strings. 2011-02-18 11:35 cstim * [r20314] src/optional/gtkmm/Makefile.am, src/optional/gtkmm/gnc-plugin-gtkmm-ui.xml, src/optional/gtkmm/gnc-plugin-gtkmm.cpp, src/optional/gtkmm/gnc-plugin-gtkmm.hpp, src/optional/gtkmm/gncmod-gtkmm.cpp: Extend gtkmm/C++ plugin to include an actual gnc-plugin implementation. * [r20313] configure.ac: Really fix conditional configure test for gtkmm. 2011-02-18 09:37 cstim * [r20312] configure.ac, src/bin/gnucash-bin.c, src/optional/Makefile.am: Re-apply r20310: Add optional module that compiles with gtkmm. 2011-02-17 18:43 cstim * [r20311] configure.ac, src/bin/gnucash-bin.c, src/optional/Makefile.am: Revert r20310, "Add optional module that compiles with gtkmm..." - the configure code wasn't taking this as optional for whatever reason. 2011-02-16 21:39 cstim * [r20310] configure.ac, src/bin/gnucash-bin.c, src/optional/Makefile.am, src/optional/gtkmm, src/optional/gtkmm/Makefile.am, src/optional/gtkmm/gncmod-gtkmm.cpp: Add optional module that compiles with gtkmm, i.e. in C++. This was just a crazy idea, but it turns out to be extremely easy. This can be used as a place for new GUI elements which people prefer to write in gtkmm/C++ instead of C. It's disabled by default. Use configure --enable-gtkmm to enable it. * [r20309] src/gnc-module/gnc-module.c, src/gnc-module/gnc-module.h: Fix const-correctness of gnc-module interface. 2011-02-16 21:08 cstim * [r20308] src/business/business-gnome/gnc-plugin-business.c: Add missing run-time typechecks in new code. * [r20307] src/gnome-utils/gnc-main-window.c: Fix CRIT gtk warning if the old_page_long_name was NULL but still passed to g_strrstr. 2011-02-16 20:47 cstim * [r20306] src/business/business-ledger/gncEntryLedger.c: Fix invoice line ordering mismatch between register window and reports. The new code was missing the call to gncInvoiceSortEntries. 2011-02-16 20:16 cstim * [r20305] packaging/win32/defaults.sh: Win32 build: Updated aqbanking5 version numbers 2011-02-16 20:13 cstim * [r20304] src/business/business-gnome/glade/businessprefs.glade, src/business/business-gnome/gnc-plugin-business.c, src/business/business-gnome/schemas/apps_gnucash_dialog_business_common.schemas.in, src/business/business-gnome/ui/gnc-plugin-business-ui.xml: Add extra toolbar buttons as shortcuts for some business functions, "New Invoice" for now. The extra toolbar buttons are disabled until the user enables them manually in Preferences -> Business -> Extra buttons. 2011-02-16 11:46 gjanssens * [r20303] src/gnome-utils/dialog-totd.c: Bug #642445 [PATCH] Segfault when tip_of_the_day.list is empty 2011-02-14 21:15 cstim * [r20302] src/gnome-utils/gnc-main-window.c, src/gnome-utils/gnc-main-window.h: Add accessor of GtkUIManager in GncMainWindow. 2011-02-14 19:34 cstim * [r20301] packaging/win32/defaults.sh: Win32 build: Fix outdated (and broken) URL of ActivePerl. 2011-02-14 19:33 cstim * [r20300] src/libqof/qof/test/Makefile.am: Bug #642284: Fails to build on Ubuntu Natty Patch by Ahmed El-Mahmoudy. 2011-02-14 19:21 cstim * [r20299] po/de.po: Updated German translation 2011-02-14 00:17 jralls * [r20298] src/libqof/qof/qofsession.c: QofSession: Don't push a new generic error if there's already one available that might be more descriptive. 2011-02-13 20:19 jralls * [r20297] src/import-export/aqbanking/druid-ab-initial.c: Remove no-longer-correct warning about the aqbanking5 setup wizard not being implemented: It is. 2011-02-13 20:18 cstim * [r20296] po/de.po: Updated German translation 2011-02-13 20:03 jralls * [r20295] src/backend/dbi/gnc-backend-dbi.c: Bug #641832: Use g_strdup_printf() instead of dbi_conn_queryf() to format the query; the latter crashed msvcrt. Also reverts r20287 because the root bug is fixed. 2011-02-12 21:55 cstim * [r20294] src/business/business-gnome/dialog-invoice.c, src/business/business-gnome/dialog-invoice.h, src/business/business-gnome/gnc-plugin-page-invoice.c, src/business/business-gnome/ui/gnc-plugin-page-invoice-ui.xml, src/business/business-ledger/gncEntryLedger.c, src/business/business-ledger/gncEntryLedger.h: Implement command for changing the ordering of invoice entries by moving them up or down one row. Turned out this is rather easy: Just swap the "date-entered" of both items. * [r20293] src/libqof/qof/gnc-date.c, src/libqof/qof/gnc-date.h: Add a Timespec constructor for the current clock time. 2011-02-12 20:32 cstim * [r20292] packaging/win32/install-impl.sh: Win32 build: Fix some cross-compiling issues. 2011-02-12 19:28 cstim * [r20291] packaging/win32/defaults.sh: Win32 build: Update some version numbers: libofx, gwenhywfar, aqbanking 2011-02-12 17:30 cstim * [r20287] src/backend/dbi/gnc-backend-dbi.c: Bug #641832: Workaround to avoid the current crashes on windows. On win32 the queryf() calls below seem to crash. On the other hand, we know the used libdbi on windows is fine, so as a first workaround, we assume libdbi is safe. 2011-02-12 16:34 cstim * [r20285] po/de.po: Update German translation. 2011-02-12 16:30 cstim * [r20284] po/POTFILES.in, po/bg.po, po/ca.po, po/cs.po, po/da.po, po/de.po, po/el.po, po/en_GB.po, po/es.po, po/es_NI.po, po/eu.po, po/fa.po, po/fi.po, po/fr.po, po/he.po, po/hu.po, po/it.po, po/ja.po, po/ko.po, po/lt.po, po/lv.po, po/nb.po, po/ne.po, po/nl.po, po/pl.po, po/pt.po, po/pt_BR.po, po/ro.po, po/ru.po, po/rw.po, po/sk.po, po/sv.po, po/ta.po, po/tr.po, po/uk.po, po/vi.po, po/zh_CN.po, po/zh_TW.po: Update translation po files: Merge latest pot template. 2011-02-12 16:03 cstim * [r20283] src/import-export/aqbanking/gnc-ab-utils.c: Fix potential parsing of NULL strings by correctly use an empty non-NULL string instead. 2011-02-12 15:53 cstim * [r20282] src/engine/Query.c: Another error message somewhat more verbose. * [r20281] src/app-utils/gnc-ui-util.c, src/libqof/qof/gnc-numeric.c, src/libqof/qof/gnc-numeric.h: Make log warning about bad gnc_numeric print the actual error code. 2011-02-12 15:18 cstim * [r20279] src/app-utils/gnc-addr-quickfill.c, src/app-utils/gnc-addr-quickfill.h, src/business/business-gnome/dialog-customer.c, src/business/business-gnome/glade/customer.glade: Add address auto-completion of r20272 also for address line 4. 2011-02-12 14:49 cstim * [r20278] po/es.po: Updated Spanish translation, by Francisco Javier. 2011-02-12 09:46 cstim * [r20275] src/business/business-gnome/dialog-customer.c: Fix r20272: The text selection after auto-completion should work correctly now. 2011-02-11 13:40 cmarchi * [r20274] po/ru.po: Update Russian translation by Sergey Belyashov. 2011-02-10 21:49 cstim * [r20273] src/business/business-gnome/dialog-customer.c, src/business/business-gnome/glade/customer.glade: Extend the addr2/addr3 auto-completion also to the shipping addr2/addr3 lines. * [r20272] src/business/business-gnome/dialog-customer.c, src/business/business-gnome/glade/customer.glade: Implement auto-completion on the addr2/addr3 lines of the "New Customer" dialog box. * [r20271] src/app-utils/CMakeLists.txt, src/app-utils/Makefile.am, src/app-utils/gnc-addr-quickfill.c, src/app-utils/gnc-addr-quickfill.h: Add a common shared quickfill object for the addr2/addr3 lines of a GncAddress. 2011-02-10 21:48 cstim * [r20270] src/app-utils/gnc-entry-quickfill.c, src/app-utils/gnc-entry-quickfill.h, src/gnome-utils/dialog-transfer.c, src/gnome-utils/dialog-transfer.h: Minor code cleanup - remove includes from header if not necessary. 2011-02-10 20:10 cmarchi * [r20269] po/nl.po: Updated Dutch translation copied from the translation project. 2011-02-10 19:46 cstim * [r20268] src/gnome/glade/fincalc.glade, src/gnome/gnc-plugin-basic-commands.c: Bug #635552: Rename "Financial Calculator" into "Loan Repayment Calculator" I've been told (by users who know the subject well enough) the "Financial Calculator" should rather be called a "Loan Repayment Calculator" or a "Mortgage Payment Calculator", as this is what is being offered there. So I finally made this renaming. 2011-02-10 19:40 cstim * [r20267] doc/examples/create-bogus-data.pl, src/backend/xml/test/grab-types.pl, src/engine/xlate.pl, src/experimental/cbb/cbb-engine/CBBlib.pl, src/experimental/cbb/cbb-engine/common.pl, src/quotes/Quote_example.pl: 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. * [r20266] src/doc/doxygen.cfg.in: 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 2011-02-10 19:37 cstim * [r20265] src/optional/python-bindings/example_scripts/get_quotes.pl, src/optional/python-bindings/example_scripts/quotes_historic.py: 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. * [r20264] src/optional/python-bindings/example_scripts/account_analysis.py, src/optional/python-bindings/gnucash_core.py: 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 2011-02-10 19:36 cstim * [r20263] src/optional/python-bindings/example_scripts/str_methods.py: Bug #639906: Changing the way __format__ works for Split and Transaction Patch by Christoph Holtermann 2011-02-09 21:51 cstim * [r20261] src/import-export/aqbanking/gnc-plugin-aqbanking.c: Fix CRIT error message on program quit in the aqbanking module. 2011-02-09 21:10 cstim * [r20260] src/engine/gncInvoice.c: 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. (...)" 2011-02-09 19:52 cstim * [r20259] src/core-utils/core-utils.scm, src/report/standard-reports/price-scatter.scm: 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.) 2011-02-07 21:39 cstim * [r20256] src/pixmaps/gnc-invoice-duplicate-16.png, src/pixmaps/gnc-invoice-duplicate.png: Minor tweaking of icon for duplicate invoice so that it doesn't look grayed out 2011-02-07 21:19 cstim * [r20255] po/nl.po: Update Dutch translation by Mark Haanen, copied from the Translation Project. 2011-02-07 21:07 cstim * [r20254] po/es.po: Updated Spanish translation, by Francisco Javier F. Serrador. 2011-02-06 22:30 plongstaff * [r20252] configure.ac: Update revision to 2.4.2 2011-02-06 21:18 cstim * [r20251] src/gnome-utils/gnc-tree-model-account.c, src/gnome-utils/gnc-tree-model-account.h, src/gnome-utils/gnc-tree-view-account.c: 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. 2011-02-06 21:16 cstim * [r20250] po/de.po: Updated German translation, now 100% completed. * [r20249] src/plugins/bi_import/bi_import.c, src/plugins/bi_import/gnc-plugin-bi_import.c: I18n improvements: Fix weird strings. 2011-02-06 10:20 cstim * [r20248] po/de.po: Update German translation. * [r20247] po/POTFILES.in: Update POTFILES.in 2011-02-06 09:54 cstim * [r20246] src/report/business-reports/fancy-invoice.scm, src/report/business-reports/invoice.scm: Bug #641628: I18n: Fix untranslated string in fancy-invoice.scm and invoice.scm 2011-02-06 09:49 cstim * [r20245] doc/tip_of_the_day.list.in: Bug #641646: Fix incorrect tip on switching between multiple tabs 2011-02-05 20:28 cmarchi * [r20244] po/nl.po: Updated Dutch translation, copied from the translation project. 2011-02-05 17:32 cstim * [r20242] src/doc/doxygen_main_page.c, src/doc/prices.txt, src/engine/design.txt: Remove references to Neil William's website because it is vastly outdated. 2011-02-05 16:52 cstim * [r20241] po/de.po: Updated German translation 2011-02-05 16:29 cstim * [r20239] src/report/business-reports/fancy-invoice.scm: Bug #641557: I18n slightly improved in fancy-invoice 2011-02-05 16:28 cstim * [r20238] src/gnome-utils/gnc-main-window.c: I18n: Fix misleading composed strings by defining two separate full sentences. 2011-02-05 15:52 cstim * [r20237] po/glossary/gnc-glossary.txt: i18n: Add more terms to the glossary * [r20236] src/import-export/aqbanking/gnc-file-aqb-import.c: i18n: Fix missing space in message 2011-02-05 01:55 plongstaff * [r20231] configure.ac: Update revision to 2.4.1 2011-02-04 18:32 jralls * [r20230] src/backend/dbi/test/test-dbi-stuff.c: DBI Backend: Cleanup after testing version control so that repeating the tests doesn't fail. 2011-02-04 01:54 plongstaff * [r20229] src/backend/dbi/test/test-dbi-stuff.c: Check whether session has been created before trying to end it. 2011-02-04 00:02 jralls * [r20228] src/backend/dbi/gnc-backend-dbi.c: Fix compiler warning in gnc-backend-dbi.c. 2011-02-03 21:22 cmarchi * [r20227] po/nl.po: Updated Dutch translation, copied from the translation project. 2011-02-03 14:43 jralls * [r20226] src/backend/dbi/Makefile.am: Change dependency in src/backend/dbi/Makefile.am from app-utils to core-utils 2011-02-02 20:49 cstim * [r20225] src/business/business-gnome/dialog-invoice.c: Do not modify the entry's DateEntered when duplicating invoice to keep the entry ordering. Follow-up to r20115. 2011-02-02 20:31 cstim * [r20224] CMakeLists.txt, src/config.h.cmake.in, src/core-utils/CMakeLists.txt: Fix cmake build after latest configure changes. 2011-02-02 00:04 jralls * [r20223] configure.ac, src/backend/dbi/Makefile.am, src/backend/dbi/gnc-backend-dbi.c, src/backend/dbi/test/test-dbi-stuff.c, src/backend/sql/gnc-backend-sql.c, src/backend/sql/gnc-backend-sql.h: 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. 2011-02-01 21:04 cstim * [r20222] src/core-utils/gnc-locale-utils.c: Win32: Add missing include for windows build 2011-01-31 20:07 cstim * [r20217] src/gnc/AccountItemModel.cpp, src/gnc/AccountSelectionDelegate.cpp, src/gnc/Book.cpp, src/gnc/Cmd.cpp, src/gnc/Numeric.cpp, src/gnc/QofEventWrapper.cpp, src/gnc/RecentFileMenu.cpp, src/gnc/Session.cpp, src/gnc/Split.cpp, src/gnc/SplitListModel.cpp, src/gnc/SplitListView.cpp, src/gnc/Transaction.cpp, src/gnc/main.cpp, src/gnc/mainwindow-file.cpp, src/gnc/mainwindow.cpp: Set line ending property svn:eol-style to LF for newly added files 2011-01-31 19:54 cstim * [r20216] src/core-utils/gnc-locale-utils.c, src/core-utils/gnc-locale-utils.h: Set line ending property svn:eol-style to LF for newly added files 2011-01-31 15:27 jralls * [r20214] src/core-utils/gnc-locale-utils.c, src/core-utils/gnc-locale-utils.h: The new files for gnc_locale functions, ommitted from r20110. 2011-01-31 04:35 jralls * [r20211] src/gnome/dialog-fincalc.c, src/import-export/ofx/test/Makefile.am, src/import-export/test/Makefile.am, src/register/ledger-core/test/Makefile.am, src/report/locale-specific/us/Makefile.am, src/report/report-gnome/test/Makefile.am: Adjustments to test Makefiles required by r20176 (move quickfill functions from gnome-utils to app-utils 2011-01-31 04:33 jralls * [r20210] src/bin/gnucash-bin.c, src/gnome-utils/gnc-amount-edit.c, src/gnome-utils/window-main-summarybar.c, src/register/register-core/Makefile.am, src/register/register-core/formulacell.c, src/register/register-core/pricecell.c, src/register/register-gnome/formulacell-gnome.c, src/register/register-gnome/pricecell-gnome.c: More adjustments for moving gnc_locale functions from app-utils to core-utils 2011-01-31 04:29 jralls * [r20209] src/app-utils/app-utils.i, src/app-utils/gnc-exp-parser.c, src/app-utils/gnc-ui-util.c, src/app-utils/gnc-ui-util.h, src/backend/dbi/gnc-backend-dbi.c, src/backend/dbi/test/Makefile.am, src/core-utils/Makefile.am, src/core-utils/core-utils.i, src/html/gnc-html-graph-gog-gtkhtml.c, src/html/gnc-html-graph-gog-webkit.c: Move gnc_locale functions from src/app-utils/gnc-ui-util to src/core-utils/gnc-locale-utils (new files) and adjust accordingly. 2011-01-30 22:40 jralls * [r20208] src/backend/dbi/gnc-backend-dbi.c: Adjust location and add gnc_(push|pop)_locale wrapper around dbi_conn_query() calls which retrieve data. Patch by Christoph Holtermann 2011-01-30 20:34 alex.aycinena * [r20207] src/app-utils/gnc-ui-util.c, src/app-utils/gnc-ui-util.h, src/gnome-utils/gnc-tree-model-account.c, src/gnome-utils/gnc-tree-model-account.h, src/gnome-utils/gnc-tree-view-account.c: 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. 2011-01-30 18:33 gjanssens * [r20206] src/backend/sql/gnc-backend-sql.c: Bug #640061 - Invoice items are not saved, patch by Christoph Holterman 2011-01-30 10:25 cstim * [r20205] CMakeLists.txt, src/config.h.cmake.in: Update newly introduced NANO version number in cmake build script as well. 2011-01-30 10:21 cstim * [r20204] src/app-utils/option-util.c, src/app-utils/option-util.h, src/business/business-gnome/business-options-gnome.c, src/gnome-utils/dialog-options.c, src/gnome-utils/dialog-options.h: 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. 2011-01-30 09:24 cstim * [r20203] po/uk.po: Updated Ukrainian translation, copied from the Translation Project. 2011-01-29 23:38 jralls * [r20202] configure.ac, src/backend/dbi/test/test-dbi-stuff.c, src/backend/sql/gnc-backend-sql.c, src/core-utils/gnc-main.c, src/core-utils/gnc-main.h: 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. 2011-01-29 23:16 jralls * [r20201] src/backend/dbi/test/Makefile.am: 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. 2011-01-29 21:37 cstim * [r20200] src/app-utils/gnc-ui-util.c, src/backend/dbi/gnc-backend-dbi.c, src/backend/sql/gnc-backend-sql.c, src/import-export/aqbanking/gnc-gwen-gui.c, src/plugins/bi_import/bi_import.c: Re-indentation of source code. This re-indentation was done using astyle-1.24 using the following options: astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none 2011-01-29 21:33 cstim * [r20199] src/backend/dbi/CMakeLists.txt: Fix missing include in cmake build file. 2011-01-29 21:31 cstim * [r20198] src/Makefile.am, src/gnc-ui.h, src/gnome-utils/Makefile.am, src/gnome-utils/gnc-ui.h: Move gnc-ui.h file from top-level to gnome-utils. It is gtk-dependent anyway, so it is moved to where it belongs now. * [r20197] src/gnc-ui.h, src/gnome-utils/gnc-keyring.h, src/import-export/qif-import/dialog-account-picker.c, src/import-export/qif-import/druid-qif-import.h: Remove unneeded usage of a generic <gnc-ui.h> include in headers. 2011-01-29 21:17 cstim * [r20196] src/Makefile.am, src/RecnWindow.h, src/gnome/window-reconcile.h, src/import-export/aqbanking/gnc-ab-utils.c: Remove pointless header RecnWindow.h - nothing gtk-independent here anyway. 2011-01-29 21:13 cstim * [r20195] src/app-utils/CMakeLists.txt: Fix cmake build file after file removal. 2011-01-29 21:09 cstim * [r20194] src/RecnWindow.h, src/app-utils/Makefile.am, src/app-utils/gnc-ui-common.h, src/app-utils/option-util.c, src/app-utils/option-util.h, src/business/business-ledger/gncEntryLedger.c, src/business/business-ledger/gncEntryLedger.h, src/business/business-ledger/gncEntryLedgerP.h, src/gnc-ui.h, src/gnome-utils/gnc-gui-query.c, src/gnome-utils/gnc-main-window.c, src/gnome/dialog-sx-from-trans.c, src/gnome/gnc-split-reg.c, src/gnome/window-autoclear.h, src/import-export/import-account-matcher.c, src/import-export/import-account-matcher.h, src/register/ledger-core/gnc-ledger-display.c, src/register/ledger-core/gnc-ledger-display.h, src/register/ledger-core/split-register-p.h, src/register/ledger-core/split-register-util.c, src/register/ledger-core/split-register.h, src/register/register-core/basiccell.h, src/register/register-core/table-allgui.h, src/register/register-gnome/table-gnome.c: Drop the obsolete gncUIWidget typedef because all of our GUI-code is inherently gtk-dependent (with the exception of option-util.h). If there were any re-write of gnucash with a different GUI toolkit, it will define all GUI-related functions in its own way, so there's no point in pretending those very gtk'ish functions were usable in a different toolkit as well. 2011-01-29 20:58 jralls * [r20193] src/engine/gnc-engine.c, src/engine/gnc-engine.h: Delete the unused and slightly pointless gnucash_foo_version functions 2011-01-29 20:40 jralls * [r20192] src/app-utils/gnc-ui-util.c, src/app-utils/gnc-ui-util.h, src/backend/dbi/Makefile.am, src/backend/dbi/gnc-backend-dbi.c, src/html/gnc-html-graph-gog-gtkhtml.c, src/html/gnc-html-graph-gog-webkit.c: Adjust gnc_push_locale and gnc_pop_locale to take a locale category and to handle MSWin32 (following gnome/druid-hierarchy.c) correctly. Use them in gnc-backend-dbi.c instead of the incorrect code from r20189 (Thanks, Christian). 2011-01-29 00:40 jralls * [r20191] src/backend/dbi/gnc-backend-dbi.c: Add locale.h; some systems seem not to pull it in via glib/gi18n.h 2011-01-28 23:47 jralls * [r20190] src/backend/dbi/gnc-backend-dbi.c: Left out of r20188: Actually wrap the important code... 2011-01-28 21:35 jralls * [r20189] src/backend/dbi/gnc-backend-dbi.c: Handle localization-ignorance bug in libdbi by setting LC_NUMERIC locale to "C" before calling dbi_result_get_double() and back afterwards. This is not thread-safe, but we're not multithreaded yet. 2011-01-28 21:03 jralls * [r20188] configure.ac, po/en.po, src/bin/gnucash-bin.c: Better OSX language handling: Add a "C" locale to the language-list after any english locale so that if that english locale isn't present, gettext will fall through to "C", which makes unnecessary the "en.po" file. Also removed the special casing and locale truncation; gettext is quite capable of doing that itself. 2011-01-28 20:57 gjanssens * [r20187] src/optional/python-bindings/example_scripts/change_tax_code.py, src/optional/python-bindings/example_scripts/new_book_with_opening_balances.py, src/optional/python-bindings/example_scripts/priceDB_test.py, src/optional/python-bindings/example_scripts/price_database_example.py, src/optional/python-bindings/example_scripts/simple_book.py, src/optional/python-bindings/example_scripts/simple_business_create.py, src/optional/python-bindings/example_scripts/simple_invoice_insert.py, src/optional/python-bindings/example_scripts/simple_session.py, src/optional/python-bindings/example_scripts/test_imbalance_transaction.py: Clarify the use of pathnames in the python bindings example scripts * [r20186] src/optional/python-bindings/example_scripts/account_analysis.py: Allow all book types instead of only sqlite3 for account_analysis.py 2011-01-28 19:48 cmarchi * [r20185] src/report/stylesheets/stylesheet-footer.scm: Fix a typo. 2011-01-27 21:02 cstim * [r20181] po/de.po: Update German translation. This is merged using msgmerge --no-location de.po gnucash.pot -o de.new.po and we use "--no-location" to make the updates actually readable. * [r20180] po/POTFILES.in, src/report/business-reports/aging.scm, src/report/business-reports/customer-summary.scm, src/report/standard-reports/category-barchart.scm: I18n improvements: Fix typos, fix unnecessary near-duplicates, remove unneeded strings. 2011-01-27 20:07 jralls * [r20178] src/backend/sql/gnc-backend-sql.c: Clean up an obvious time-waster. 2011-01-27 19:38 jralls * [r20177] src/backend/dbi/gnc-backend-dbi.c, src/backend/sql/gnc-backend-sql.c: Change serialization of doubles in the dbi backend to use g_ascii_dtostr() instead of sprintf. The problem is that sprintf is subject to localization and will output e.g. 1,25 for one-and-a-quarter in European locales. SQL doesn't support localization, so will interpret 1,25 as two fields, 1 and 25. Note also that GUID_ENCODING_LENGTH isn't big enough for a double, so that's changed to G_ASCII_DTOSTR_BUF_SIZE. 2011-01-27 19:22 cstim * [r20176] src/app-utils/CMakeLists.txt, src/app-utils/Makefile.am, src/app-utils/QuickFill.c, src/app-utils/QuickFill.h, src/app-utils/gnc-entry-quickfill.c, src/app-utils/gnc-entry-quickfill.h, src/business/business-ledger/gncEntryLedgerLoad.c, src/gnome-utils/Makefile.am, src/gnome-utils/QuickFill.c, src/gnome-utils/QuickFill.h, src/gnome-utils/gnc-entry-quickfill.c, src/gnome-utils/gnc-entry-quickfill.h: Move quickfill and gnc-entry-quickfill files from gnome-utils to app-utils because they don't require gtk/gnome. (account-quickfill can't be moved because it also works with a GtkListStore.) 2011-01-27 19:16 jralls * [r20175] src/backend/dbi/test/test-dbi-stuff.c: Add #include gnc-main.h for declaration of gnc_get_svn_version() for test_dbi_version_control(). 2011-01-27 19:09 cstim * [r20174] src/app-utils/app-utils.i, src/engine/business-core.i, src/engine/engine.i: Fix core swig files to have appropriate ifdefs for guile only portions Patch by Andy Clayton <q3aiml@gmail.com> 2011-01-27 19:02 cstim * [r20173] src/business/business-gnome/gnc-plugin-page-invoice.h, src/plugins/bi_import/Makefile.am, src/plugins/bi_import/bi_import.c: Fix r20169 for out-of-tree build. Clean up included .c file. 2011-01-27 18:36 jralls * [r20172] src/backend/dbi/test/test-dbi-stuff.h: Add declaration for test_dbi_version_control; doxygen comments for test_dbi_safe_save and test_dbi_version_control; and rearrange order of declarations to keep the test functions together. 2011-01-27 16:28 gjanssens * [r20171] src/gnome-utils/window-main-summarybar.c: Bug #631789 - "Assets" in summary bar does not match assets displayed As proposed in the bug, I have changed it to "Net Assets" * [r20170] src/register/register-core/quickfillcell.h, src/register/register-gnome/gnucash-item-edit.c: Spelling fixes in code comments. 2011-01-26 17:13 mikee * [r20169] src/plugins/bi_import/Makefile.am, src/plugins/bi_import/bi_import.c: Open the newly created invoices for editing after import. 2011-01-25 17:06 jralls * [r20168] src/gnome-utils/gnc-splash.c: Make the splash screen stack as a regular window instead of stacking in front of everything else. 2011-01-25 17:05 jralls * [r20167] src/libqof/qof/test/test-qofinstance.c: Remove qof_instance_begin_edit test from test_book_readonly; qof_instance_begin_edit doesn't check qof_book_is_readonly anymore. 2011-01-25 14:09 gjanssens * [r20166] src/plugins: One more svn:ignore for bi_import plugin 2011-01-25 14:06 gjanssens * [r20165] src/plugins/bi_import, src/plugins/bi_import/glade, src/plugins/bi_import/ui: Update svn:ignore for bi_import plugin 2011-01-24 14:37 cstim * [r20164] src/backend/dbi/gnc-backend-dbi-priv.h, src/backend/dbi/test/test-dbi-business-stuff.c, src/backend/dbi/test/test-dbi-business-stuff.h, src/backend/dbi/test/test-dbi-business.c, src/libqof/qof/test/test-qof.c, src/libqof/qof/test/test-qofbackend.c, src/libqof/qof/test/test-qofbook.c, src/libqof/qof/test/test-qofinstance.c, src/libqof/qof/test/test-qofsession.c, src/plugins/bi_import/bi_import.c, src/plugins/bi_import/bi_import.h, src/plugins/bi_import/gnc-plugin-bi_import.c, src/plugins/bi_import/gnc-plugin-bi_import.h, src/plugins/bi_import/gncmod-bi_import.c, src/plugins/bi_import/gui.c, src/plugins/bi_import/gui.h, src/plugins/bi_import/helpers.c, src/plugins/bi_import/helpers.h: Set line ending property svn:eol-style to LF for newly added files 2011-01-24 14:10 cstim * [r20163] src/app-utils/gnc-ui-util.c, src/backend/dbi/gnc-backend-dbi.c, src/backend/dbi/test/test-dbi-basic.c, src/backend/dbi/test/test-dbi-stuff.c, src/backend/sql/gnc-backend-sql.c, src/business/business-gnome/gnc-plugin-page-invoice.c, src/business/business-ledger/gncEntryLedgerControl.c, src/engine/Transaction.c, src/engine/gnc-budget.c, src/engine/gnc-commodity.c, src/gnome-utils/dialog-book-close.c, src/gnome-utils/gnc-entry-quickfill.c, src/gnome-utils/gnc-file.c, src/gnome-utils/gnc-main-window.c, src/import-export/aqbanking/gnc-ab-getbalance.c, src/import-export/aqbanking/gnc-ab-gettrans.c, src/import-export/aqbanking/gnc-ab-utils.c, src/import-export/aqbanking/gnc-plugin-aqbanking.c, src/import-export/import-backend.c, src/import-export/import-main-matcher.c, src/import-export/qif-import/druid-qif-import.c, src/libqof/qof/gnc-date.c, src/libqof/qof/qofbook.c, src/libqof/qof/qofsession.c, src/libqof/qof/qofsession.h, src/libqof/qof/test/test-qofbackend.c, src/libqof/qof/test/test-qofsession.c, src/optional/python-bindings/sqlite3test.c, src/plugins/bi_import/bi_import.c, src/plugins/bi_import/bi_import.h, src/plugins/bi_import/gnc-plugin-bi_import.c, src/plugins/bi_import/gnc-plugin-bi_import.h, src/plugins/bi_import/gncmod-bi_import.c, src/plugins/bi_import/gui.c, src/plugins/bi_import/helpers.c: Re-indentation of source code. This re-indentation was done using astyle-1.24 using the following options: astyle --indent=spaces=4 --brackets=break --pad-oper --pad-header --suffix=none 2011-01-24 14:04 cstim * [r20162] util/gnc-svnversion: Add missing svn:executable property 2011-01-24 14:02 cstim * [r20161] src/backend/dbi/gnc-backend-dbi.c, src/gnome-utils/gnc-file.c: Fix printf conversion specifier of 64 bit integers in message. (Also, fix compiler warning about && and ||). 2011-01-24 09:45 cstim * [r20160] src/gnome-utils/gnc-file.c: Improve wording of libdbi error message even more. 2011-01-23 19:33 jralls * [r20159] src/gnome-utils/gnc-file.c: SQL Backend Version Control: The final part. New error dialog boxes for ERR_SQL_DB_TOO_OLD and ERR_SQL_DB_TOO_NEW Marks the book read-only if the user doesn't upgrade a too-old db and when the user tries to load a too-new db. 2011-01-23 19:29 jralls * [r20158] configure.ac: Add en to the ALL_LINGUAS list in configure.ac; should have been in r20142 2011-01-23 19:24 jralls * [r20157] configure.ac, src/gnome-utils/gnc-file.c: Reverse some extra changes that slipped into 20155 2011-01-23 18:58 jralls * [r20156] src/backend/sql/gnc-backend-sql.c: Bug #637770: Fix progress bar on load and full save in sql backend. 2011-01-23 17:50 jralls * [r20155] configure.ac, src/gnome-utils/gnc-file.c, src/gnome-utils/gnc-main-window.c: Provide more detail in commit error when it's caused by a read-only book. Mark error message for translation. 2011-01-23 17:35 jralls * [r20154] src/backend/sql/gnc-backend-sql.c: Throw an error and return if if the book is marked readonly. 2011-01-23 17:31 jralls * [r20153] src/libqof/qof/qofinstance.c: Remove book_is_readonly check from qof_instance_begin_edit; it crashes if it's actually used. 2011-01-22 23:04 jralls * [r20147] src/backend/dbi/gnc-backend-dbi.c, src/gnome-utils/gnc-file.c, src/libqof/qof/qofbackend.h: Bug #611936: Test DBI backends for a dbi bug which causes 64-bit numbers to not be stored on 32-bit systems, and prevent saving or loading with an informative error dialog box. 2011-01-22 22:59 jralls * [r20146] src/engine/SX-book.c: Prevent a crash if gnc_sx_sxes_reverencing_account called when book has no sxes. 2011-01-22 14:39 cstim * [r20145] AUTHORS, src/optional/python-bindings/example_scripts/str_methods.py: 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. 2011-01-22 14:36 cstim * [r20144] AUTHORS, src/import-export/aqbanking/gnc-ab-utils.c: 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. 2011-01-22 00:26 jralls * [r20142] po/POTFILES.in, po/en.po, src/bin/gnucash-bin.c: Rejigger the set_macos_locale function to better handle qualified languages (e.g., Portugues (Portugal). Add po/en.po so that english doesn't have to be special-cased to the C locale. 2011-01-21 22:27 gjanssens * [r20141] packaging/win32/gnucash.iss.in: Bug #638762 - Windows 7 64-bit: GnuCash will not start due to existing SCHEME_LIBRARY_PATH env variable 2011-01-21 22:10 gjanssens * [r20140] util/gnc-svnversion: Use last changed revision number instead of last-commited-somewhere-in-repo svnversion without options returns the most recent revision in the repo at the time of the last svn update/checkout even if that revision didn't hold any changes in the current path. Not very useful as a reference. Better is to ask for the last changed revision with -c. BUT: -c option for some reason always considers svn working copy as having mixed sources. We're only interested in the last part so we strip the beginning revision if it's there. As a result if your WC really has mixed sources, that will not be visible in the version number... 2011-01-21 19:54 cmarchi * [r20139] src/plugins/bi_import/glade/bi_import.glade: Fix a typo. 2011-01-21 19:09 cmarchi * [r20138] po/it.po: Update Italian translation. 2011-01-21 14:23 gjanssens * [r20137] src/business/business-gnome/dialog-customer.c, src/business/business-gnome/dialog-vendor.c: Bug #629501 Nonexistent field in error message 2011-01-21 11:52 gjanssens * [r20136] src/business/business-gnome/ui/gnc-plugin-page-invoice-ui.xml: Bug #467311 Print invoice button should be restored to View invoice * [r20135] src/business/business-gnome/gnc-plugin-page-invoice.c, src/business/business-gnome/ui/gnc-plugin-page-invoice-ui.xml, src/gnome-utils/gnc-icons.c, src/gnome-utils/gnc-icons.h, src/pixmaps/Makefile.am, src/pixmaps/gnc-invoice-new-16.png, src/pixmaps/gnc-invoice-new.png: Bug #352057 button to create a new invoice when viewing an old one. * [r20134] src/business/business-gnome/gnc-plugin-page-invoice.c, src/gnome-utils/gnc-icons.c, src/gnome-utils/gnc-icons.h, src/pixmaps/Makefile.am, src/pixmaps/gnc-invoice-duplicate-16.png, src/pixmaps/gnc-invoice-duplicate.png: Add icons for Duplicate Invoice functionality 2011-01-21 11:51 gjanssens * [r20133] src/business/business-gnome/schemas/apps_gnucash_dialog_business_common.schemas.in, src/gnome-utils/gnc-gnome-utils.c, src/gnome-utils/schemas/apps_gnucash_history.schemas.in, src/gnome/schemas/apps_gnucash_dialog_commodities.schemas.in, src/gnome/schemas/apps_gnucash_dialog_common.schemas.in, src/gnome/schemas/apps_gnucash_dialog_prices.schemas.in, src/gnome/schemas/apps_gnucash_dialog_reconcile.schemas.in, src/gnome/schemas/apps_gnucash_dialog_scheduled_transctions.schemas.in, src/gnome/schemas/apps_gnucash_dialog_totd.schemas.in, src/gnome/schemas/apps_gnucash_general.schemas.in, src/gnome/schemas/apps_gnucash_window_pages_account_tree.schemas.in, src/gnome/schemas/apps_gnucash_window_pages_register.schemas.in, src/import-export/aqbanking/schemas/apps_gnucash_dialog_hbci.schemas.in, src/import-export/qif-import/schemas/apps_gnucash_import_qif.schemas.in, src/import-export/schemas/apps_gnucash_import_generic_matcher.schemas.in: Whitespace cleanups * [r20132] AUTHORS, src/core-utils/gnc-gconf-utils.h, src/gnome-utils/glade/preferences.glade, src/gnome-utils/gnc-gnome-utils.c, src/gnome/schemas/apps_gnucash_general.schemas.in, src/libqof/qof/gnc-date.c, src/libqof/qof/gnc-date.h: 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 2011-01-20 20:20 cstim * [r20131] src/report/business-reports/owner-report.scm: Bug #535774: Fix label for employee option on "Employee Report" Patch by Bert Claesen: The attached patch (against r20122) tries to solve bug #535774 and: *Introduces Option naming consistent with report title (e.g. Customer Report shows Customer in the Option screen) *Removes the printf() default string in case no arguments where given *Moves the docname up to a higher level for easy of overview Cases default to a GNC-OWNER-VENDOR. Note on the patch: *As indicated in the comments, two functions are nearly identical, where in the Vendor report the use of Vendor/Company is mixed. This can easily be moved into one function as the footprint is the same. cstim: I've clarified which ones of the functions returns translated vs. untranslated strings, too. 2011-01-20 20:15 cstim * [r20130] src/optional/python-bindings/Makefile.am, src/optional/python-bindings/glib.i: Remove old obsolete unused file from python wrappers. Apparently this is unused since r17284. 2011-01-20 20:14 cstim * [r20129] src/base-typemaps.i: 639980: Add EntryList and _gncEntry objects to list typemap. Patch by bstpierre.org Fix python failing getting invoice entry data. * [r20128] src/optional/python-bindings/gnucash_core.py: Bug #639906: Adding __str__ and __unicode__ methods to GncNumeric Patch by Christoph Holtermann: 1) I decided to let the methods return "Division by Zero" for denom()==0. 2) As proposed in http://stackoverflow.com/questions/1307014/python-str-versus-unicode i created both __str__ and __unicode__. 3) I use format to fix the decimal places to 2. It would be nice if the number would be configurable. * [r20127] src/doc/python-bindings-doxygen.py: Bug 637346: A small python doc enhancement, basically mentioning the wiki-page Patch by Christoph Holtermann. 2011-01-19 04:21 mta * [r20126] src/engine/engine.i: Fix a bug introduced in 20042 which caused lists of Scheme strings passed to C code to be garbage. This caused online price quotes to fail for anything other than a currency. 2011-01-19 04:18 mta * [r20125] src/engine/gnc-commodity.c: Make sure ENTER is balanced by LEAVE in gnc_commodity_set_quote_tz. 2011-01-19 04:17 mta * [r20124] src/report/standard-reports/income-statement.scm: Make it possible to include trading accounts in the Income Statement and Profit and Loss reports. 2011-01-18 23:42 jralls * [r20123] src/backend/dbi/gnc-backend-dbi.c, src/backend/dbi/test/test-dbi-basic.c, src/backend/dbi/test/test-dbi-stuff.c, src/backend/sql/gnc-backend-sql.c, src/backend/sql/gnc-backend-sql.h: Enhanced database version handling. * Add a macro GNC_RESAVE_VERSION which holds an svn revision number. * When fully saving a database put this number in versions with table_name Gnucash-Resave. * On database load, compare the current GNC_RESAVE_VERSION with the Gnucash revision and Gnucash-Resave revision saved when the database was created. * If the current GNC_RESAVE_VERSION > the saved Gnucash version, then emit ERR_SQL_DB_TOO_OLD. * If GNC_RESAVE_VERSION < the saved Gnucash-Resave, emit ERR_SQL_DB_TOO_NEW. 2011-01-18 18:16 jralls * [r20121] src/libqof/qof/test/test-qof.c, test-templates/Makefile.am, test-templates/test-module.c: Minor fixes to g_test: Adjust MODULEPATH so that the boundary path delimiters go at invocation; add DEFAULT_INCLUDES to the test_foo_CFLAGS; include the required NULL third arg to g_test_init() 2011-01-18 00:36 jralls * [r20119] src/backend/dbi/gnc-backend-dbi-priv.h, src/backend/dbi/gnc-backend-dbi.c, src/backend/dbi/test/test-dbi-basic.c, src/backend/dbi/test/test-dbi-stuff.c, src/backend/dbi/test/test-dbi-stuff.h: Provide for safely overwriting a sql database by moving the existing tables out of the way, writing new tables, and then dropping the old tables once everything has been saved. 2011-01-17 21:27 cstim * [r20118] src/plugins/bi_import/Makefile.am: Win32: Add missing link libraries to bi_import plugin. Necessary for win32 linking. 2011-01-17 16:55 jralls * [r20117] src/backend/xml/sixtp-dom-generators.c, src/backend/xml/test/test-files/xml2/Money95bank_fr.gml2, src/backend/xml/test/test-files/xml2/Money95invst.gml2, src/backend/xml/test/test-files/xml2/Money95mutual.gml2, src/backend/xml/test/test-files/xml2/Money95stocks.gml2, src/backend/xml/test/test-files/xml2/abc.gml2, src/backend/xml/test/test-files/xml2/abcall.gml2, src/backend/xml/test/test-files/xml2/carols-data-file.gml2, src/backend/xml/test/test-files/xml2/cbb-export.gml2, src/backend/xml/test/test-files/xml2/conrads-file.gml2, src/backend/xml/test/test-files/xml2/every.gml2, src/backend/xml/test/test-files/xml2/goonies-file.gml2, src/backend/xml/test/test-files/xml2/hierachical-data-file.gml2, src/backend/xml/test/test-files/xml2/ms-money.gml2, src/backend/xml/test/test-files/xml2/pricedb1.gml2, src/backend/xml/test/test-xml-transaction.c: Bug #638225: Author Jim Radford. KVP lists are ordered so should not be sorted 2011-01-16 21:10 cstim * [r20116] src/business/business-gnome/dialog-invoice.c, src/business/business-gnome/dialog-invoice.h, src/business/business-gnome/gnc-plugin-page-invoice.c, src/business/business-gnome/ui/gnc-plugin-page-invoice-ui.xml: Additionally, make the "Duplicate Invoice" feature available as menu item and toolbar button when viewing an invoice. 2011-01-16 21:09 cstim * [r20115] src/business/business-gnome/dialog-invoice.c, src/business/business-gnome/dialog-invoice.h, src/engine/gncInvoice.c: Implement "Duplicate Invoice" feature, where a new invoice is created as a copy of an old one with new date and new ID. This patch makes this feature available as button "Duplicate" in the search window. 2011-01-16 19:33 cstim * [r20114] packaging/win32/install-impl.sh: Win32 build: Aqbanking has a patch now, but doesn't need autotools called. 2011-01-15 21:51 cstim * [r20112] src/doc/doxygen.cfg.in: Remove *.i files from doxygen input again because at least my doxygen-1.6.3 hangs on gnucash_core.i. This is a follow-up to r19956, bug #637346. 2011-01-15 21:05 cstim * [r20111] src/import-export/schemas/apps_gnucash_import_generic_matcher.schemas.in: Make reconcile+update import action of r20021 bug#373415 enabled by default because it's so useful. 2011-01-15 20:33 cstim * [r20108] packaging/win32/aqbanking-4.2.4-r2132-patch.diff, packaging/win32/defaults.sh: Bug #639498: Fix aqbanking-4.2.4 issue with "execute online transfer" on WinXP. 2011-01-15 19:11 jralls * [r20107] configure.ac, src/libqof/qof/Makefile.am, src/libqof/qof/test/test-qofbook.c, src/libqof/qof/test/test-qofinstance.c, src/libqof/qof/test/test-qofsession.c: Fix qof/test compilation errors, provide guard for glib_testing. 2011-01-15 09:52 cstim * [r20106] configure.ac, src/bin/gnucash-bin.c, src/import-export/Makefile.am, src/import-export/hbci/HACKING-HBCITEST.txt, src/import-export/hbci/Makefile.am, src/import-export/hbci/dialog-daterange.c, src/import-export/hbci/dialog-daterange.h, src/import-export/hbci/dialog-hbcitrans.c, src/import-export/hbci/dialog-hbcitrans.h, src/import-export/hbci/dialog-pass.c, src/import-export/hbci/dialog-pass.h, src/import-export/hbci/druid-hbci-initial.c, src/import-export/hbci/druid-hbci-initial.h, src/import-export/hbci/druid-hbci-utils.c, src/import-export/hbci/druid-hbci-utils.h, src/import-export/hbci/glade/Makefile.am, src/import-export/hbci/glade/hbci.glade, src/import-export/hbci/glade/hbcipass.glade, src/import-export/hbci/glade/hbciprefs.glade, src/import-export/hbci/gnc-file-aqb-import.c, src/import-export/hbci/gnc-file-aqb-import.h, src/import-export/hbci/gnc-hbci-actions.c, src/import-export/hbci/gnc-hbci-actions.h, src/import-export/hbci/gnc-hbci-getbalance.c, src/import-export/hbci/gnc-hbci-getbalance.h, src/import-export/hbci/gnc-hbci-gettrans.c, src/import-export/hbci/gnc-hbci-gettrans.h, src/import-export/hbci/gnc-hbci-kvp.c, src/import-export/hbci/gnc-hbci-kvp.h, src/import-export/hbci/gnc-hbci-trans-templ.c, src/import-export/hbci/gnc-hbci-trans-templ.h, src/import-export/hbci/gnc-hbci-transfer.c, src/import-export/hbci/gnc-hbci-transfer.h, src/import-export/hbci/gnc-hbci-utils.c, src/import-export/hbci/gnc-hbci-utils.h, src/import-export/hbci/gnc-plugin-hbci-ui.xml, src/import-export/hbci/gnc-plugin-hbci.c, src/import-export/hbci/gnc-plugin-hbci.h, src/import-export/hbci/gncmod-hbci.c, src/import-export/hbci/hbci-interaction.c, src/import-export/hbci/hbci-interaction.h, src/import-export/hbci/hbci-interactionP.h, src/import-export/hbci/schemas/Makefile.am, src/import-export/hbci/schemas/apps_gnucash_dialog_hbci.schemas.in, src/import-export/hbci/test/Makefile.am, src/import-export/hbci/test/test-link-module.c: Remove the old "import-export/hbci" module because it is no longer supported. The newer "import-export/aqbanking" has been in use since aqbanking-3.0.0. As it turned out, we require aqbanking-4.0.0 now anyway, which was release 2009-05-30. Consequently, the old module isn't being maintained by us and so needs to be removed. * [r20105] configure.ac: Bug #638689: Require libaqbanking >= 4.0.0 because earlier versions are not supported correctly by our code anymore. * [r20104] src/libqof/qof/Makefile.am, src/libqof/qof/test/test-qof.c: Disable usage of qof/test for now because is does not yet compile. 2011-01-14 23:25 jralls * [r20103] src/libqof/qof/Makefile.am, src/libqof/qof/qofbackend-p.h, src/libqof/qof/qofbackend.c, src/libqof/qof/qofbackend.h, src/libqof/qof/qofbook.c, src/libqof/qof/qofbook.h, src/libqof/qof/qofinstance.c, src/libqof/qof/qofsession.c, src/libqof/qof/qofsession.h, src/libqof/qof/test, src/libqof/qof/test/Makefile.am, src/libqof/qof/test/test-qof.c, src/libqof/qof/test/test-qofbackend.c, src/libqof/qof/test/test-qofbook.c, src/libqof/qof/test/test-qofinstance.c, src/libqof/qof/test/test-qofsession.c: Add a read-only attribute to QofBook and check of same to qof_instance_begin_edit. Add qof_session_safe_save. Add unit tests for these changes. QofBook read-only attribute is to prevent starting an edit when the version of Gnucash which created a dataset is newer than the one currently running. This is to prevent writing records of an old format into an existing data set. The user can use File>Save As to create a new QofSession which will write a completely new dataset in the current format. This is an important safety feature for future versions of Gnucash which will not bring all of a dataset into memory, instead loading only what is immediately needed. Safe-save is the Qof access to allow writing out a dataset to an existing server database (i.e., postgresql or mysql) while maintaining the ability to both transaction-protect saving individual records while maintaining the ability to rollback the entire save if something goes wrong. The unit test framework is added to enable testing these components. More tests will be added in a later commit. 2011-01-14 22:03 jralls * [r20102] test-templates, test-templates/Makefile.am, test-templates/Makefile.decl, test-templates/README, test-templates/test-module.c, test-templates/test-suite.c, test-templates/testmain.c: Provide glib unit testing template files to make it easier to add unit testing to modules 2011-01-14 21:47 gjanssens * [r20101] src/app-utils/gnc-ui-util.c: Bug 639322 part 3: provide users with a sensible first time "Save As..." path on Windows While $HOME is fine on linux, on Windows the most sensible location is "My Documents" (or its translated equivalent). * [r20100] src/gnome-utils/gnc-file.c: Bug 639322 part 2b: display an error message if a user attempts to export to somewhere in gnc_dotgnucash_dir and add a hint for translators to the error message string * [r20099] src/gnome-utils/gnc-file.c, src/libqof/qof/qofbackend.h: Bug 639322 part 2: display an error message if a user attempts to save beneath gnc_dotgnucash_dir * [r20098] src/app-utils/file-utils.c, src/app-utils/file-utils.h: Bug 639322 part 1: add extension .gcm to future state files Old state files are still read (if no new equivalent exists yet) but will never be written to again. * [r20097] src/gnome/top-level.c: Remove unused variable. 2011-01-14 21:46 gjanssens * [r20096] src/app-utils/file-utils.c, src/app-utils/file-utils.h: Remove obsolete compatibility code in the state file processing. No version GnuCash 2.2.x version will produce state files with spaces in their key names, and we don't need to worry about older compatibility (migrating from 2.0.x should always happen via 2.2.x). * [r20095] src/libqof/qof/qofquery.h, src/libqof/qof/qofquerycore.h: Fix some spelling errors in doxigen documentation 2011-01-14 21:10 cmarchi * [r20094] src/gnome/glade/sched-xact.glade: Remove the word "days" because it is also located after the near field. 2011-01-13 23:12 fell * [r20089] src/business/business-ledger/gncEntryLedgerControl.c: Improve the for translators problematic format string from gnc_entry_ledger_verify_acc_cell_ok This version uses 2 separate sentences, mentions currencies and gives a clue for the account type. Add enable basic doxygen output. 2011-01-13 19:05 cstim * [r20087] src/business/business-gnome/dialog-invoice.c: Bug #639365: Revert r18546 so that the bills-due dialog displays only bills but not invoices. The INVOICE_TYPE string unfortunately is stored in translated form due to the usage of gncInvoiceGetType() for user-visible strings as well. Hence, as an exception we must also search for the translated here even though it's an internal flag. 2011-01-13 17:25 fell * [r20086] README.dependencies: Add python in section optional of README.dependencies Additional: explain alternatives and optional parts 2011-01-13 16:52 warlord * [r20085] src/Makefile.am, src/plugins/bi_import/Makefile.am, src/plugins/bi_import/bi_import.c: Revert r20082 (re-enable plugins) Get the bi_import plugin building on Windows by including missing libc functions 2011-01-13 02:47 fell * [r20083] src/app-utils/gnc-euro.c, src/engine/iso-4217-currencies.scm: Bug 638842 - Estonia adopted the Euro on 01.01.2011 Thanks to Toomas Tamm 2011-01-13 02:47 plongstaff * [r20082] src/Makefile.am: Disable building the plugins directory until windows build issues can be fixed 2011-01-12 20:40 cstim * [r20081] src/engine/gncInvoice.c, src/engine/gncInvoice.h: Add function for creating a new copy of an existing GncInvoice. 2011-01-12 20:04 cstim * [r20079] src/report/standard-reports/category-barchart.scm: Fix typo 2011-01-12 19:47 cstim * [r20078] src/gnome-utils/gnc-main-window.c, src/gnome-utils/gnc-main-window.h, src/gnome-utils/gnc-plugin.c, src/gnome-utils/gnc-plugin.h, src/import-export/aqbanking/aqbanking.glade, src/import-export/aqbanking/gnc-gwen-gui.c, src/import-export/aqbanking/gnc-gwen-gui.h, src/import-export/aqbanking/gnc-plugin-aqbanking-ui.xml, src/import-export/aqbanking/gnc-plugin-aqbanking.c, src/import-export/aqbanking/gnc-plugin-aqbanking.h: Bug #636907: Improve "Close when finished" handling in "Online Banking Connection Window" Patch by Manfred Usselmann: This patch adds a toggle action to the online banking menu, which allows to open and close the online banking log window. In addition it adds an option to the online banking preferences to keep the log window open after the transfer has finished. * [r20077] src/report/standard-reports/category-barchart.scm: Bug #639259: Add averages in barchart reports. Patch by Herbert Thoma: Matthias Gruhn suggested on the German GnuCash list: Add averages to the income and expense bar chart reports just like it was introduced for the income and expense pie chart reports in r19253 2011-01-12 19:29 cstim * [r20076] src/report/utility-reports/welcome-to-gnucash.scm: Fix version number in welcome report. 2011-01-11 21:07 cstim * [r20071] doc/tip_of_the_day.list.in: Bug #639172: Remove "Warning!! This is a DEVELOPMENT version .." tip of the day Also, to my knowledge the docs don't contain a "what's new in 2.4" section, so I removed that tip as well. * [r20070] README: Bug #638621: Update README file. 2011-01-11 20:59 cstim * [r20069] src/report/business-reports/aging.scm: Bug #502066: The aging in business reports should use the due date instead of the post date Patch by Bert Claesen (but I changed the option name): Patch to aging.scm to include due date and "current" bucket Patch file for aging.scm to include: * Option to select due date or date posted * Added column of "Current" for invoices not yet due 2011-01-11 20:45 cstim * [r20068] packaging/README.RPM, packaging/gnucash.spec.in: Bug #603334: Updates to RPM spec file to allow 2.3.7 to build on Fedora Core 12 2011-01-11 20:40 cstim * [r20067] src/backend/xml/gnc-account-xml-v2.c, src/backend/xml/gnc-bill-term-xml-v2.c, src/backend/xml/gnc-book-xml-v2.c, src/backend/xml/gnc-customer-xml-v2.c, src/backend/xml/gnc-employee-xml-v2.c, src/backend/xml/gnc-entry-xml-v2.c, src/backend/xml/gnc-invoice-xml-v2.c, src/backend/xml/gnc-job-xml-v2.c, src/backend/xml/gnc-order-xml-v2.c, src/backend/xml/gnc-tax-table-xml-v2.c, src/backend/xml/gnc-vendor-xml-v2.c, src/backend/xml/sixtp-dom-generators.c, src/libqof/qof/qofobject.c, src/libqof/qof/qofobject.h, src/libqof/qof/qofutil.c, src/libqof/qof/qofutil.h: Bug #638225: Sort when saving as XML Patch by Jim Radford (with code beautified and re-indented by myself): The attached patches sort the slots, lots, book accounts, bill terms, customers, employees, entries, invoices, jobs, orders, tax tables and vendors before saving them to the GnuCash XML file. This is an attempt to make saves more idempotent thereby facilitating the use of a revision control system on the GnuCash XML files. With these patches most of the needless and seemingly random churn is gone and I can add or remove a transaction and expect there to be no unrelated changes to the GnuCash file. I've been using and refining this patches for the last few years, so it has received quite a bit of testing. David Fraser adds: Without specific testing, I'm using this on an average-sized gnucash file (5.7MB) without noticing any particular slowdown in saving, but a wonderful reduction in diffs when comparing changes. * [r20066] po/pt_BR.po: Bug #638962: Update Brazil Portugese translation by Dorneles Treméa 2011-01-11 20:39 cstim * [r20065] src/gnome-utils/schemas/Makefile.am: Bug #638615: Fix schema install with DESTDIR Patch by Jim Radford: When doing make install DESTDIR=/tmp/gnucash the install fails because GCONF_SCHEMA_CONFIG_SOURCE doesn't end up using DESTDIR (and it's non-trivial because of the xml:: prefix). The attached patch fixes it for me but is non-ideal because it hard codes the value of GCONF_SCHEMA_CONFIG_SOURCE using GCONF_SCHEMA_CONFIG_SOURCE_DIRONLY. 2011-01-11 00:15 alex.aycinena * [r20058] src/libqof/qof/qofbook.c: Fix typo 2011-01-10 21:39 cstim * [r20057] src/app-utils/app-utils.scm, src/app-utils/options.scm, src/business/business-utils/business-options.scm, src/business/business-utils/business-prefs.scm: Bug #638543: Add a GUI for the counter format and current value. Patch by Matthijs Kooijman: This allows the user to change the format used for the various counters, as well as see and change the current value of the counter. This is a bit of hack right now, since the format and current counter values are stored in the counter_formats and counters kvp slots respectively, instead of options/<section> like the other options in the File->properties window. This is implemented by adding the make-counter-option and make-counter-format-option, which both replace the scm->kvp and kvp->scm functions defined by make-number-range-option and make-string-option respectively. The replaced function simply ignores the "path" parameter and instead saves to the "counter" or "counter_formats" slot hardcoded. * [r20056] src/libqof/qof/qofbook.c, src/libqof/qof/qofbook.h: Bug #638543: Validate counter format strings before using them. Patch by Matthijs Kooijman: The validation function is a very simple "parser" that simply checks for a single gint64 conversion specification, allowing all modifiers and flags that printf(3) specifies (except for the * width and precision, which need an extra argument). The validation function returns an error message that is used to log a warning and can be used by the GUI later on. * [r20055] src/engine/kvp_doc.txt, src/libqof/qof/qofbook.c, src/libqof/qof/qofbook.h: Bug #638543: Make the various counter formats configurable. Patch by Matthijs Kooijman: This retrieves the counter formats from the kvp slots in the book. The defaults are unchanged, so this should not affect existing books at all. * [r20054] src/business/business-gnome/dialog-customer.c, src/business/business-gnome/dialog-employee.c, src/business/business-gnome/dialog-invoice.c, src/business/business-gnome/dialog-job.c, src/business/business-gnome/dialog-order.c, src/business/business-gnome/dialog-vendor.c, src/engine/gncCustomer.c, src/engine/gncCustomerP.h, src/engine/gncEmployee.c, src/engine/gncEmployeeP.h, src/engine/gncInvoice.c, src/engine/gncInvoiceP.h, src/engine/gncJob.c, src/engine/gncJobP.h, src/engine/gncOrder.c, src/engine/gncOrderP.h, src/engine/gncVendor.c, src/engine/gncVendorP.h, src/libqof/qof/qofbook.c, src/libqof/qof/qofbook.h: Bug #638543: Centralize the counter formatting in qofbook. Patch by Matthijs Kooijman: Instead of querying qofbook for the next counter number and then doing the formatting in all the different business modules (all using the same format string), the formatting is now moved inside qof_book_increment_and_get_counter (which is renamed to qof_book_increment_and_format_counter). This changes the return value of a bunch of helper functions from gint64 (the counter value) to gchar* (the formatted counter value), but does not have any user-visible changes. 2011-01-10 21:38 cstim * [r20053] src/engine/gncCustomer.c, src/engine/gncEmployee.c, src/engine/gncInvoice.c, src/engine/gncJob.c, src/engine/gncOrder.c, src/engine/gncVendor.c, src/libqof/qof/qofbook.c, src/libqof/qof/qofbook.h: Bug #638543: Split the qof_book_get_counter function. Patch by Matthijs Kooijman: The qof_book_get_counter function now only gets the current counter value. The new qof_book_get_and_increment_counter function now does the incrementing. * [r20052] src/backend/dbi/gnc-backend-dbi.c, src/backend/xml/gnc-backend-xml.c, src/libqof/qof/qofbackend-p.h, src/libqof/qof/qofbook.c: Bug #638543: Remove the counter() method from the backends. Patch by Matthijs Kooijman: This method is not implemented by either of the backends and removing it makes the subsequent commits possible. 2011-01-10 20:12 cstim * [r20051] src/gnome-utils/gnc-entry-quickfill.c: Set sort order for GncEntry quickfill to LIFO by-date. Previously, the insertion order was random instead of by-date. 2011-01-09 21:22 cstim * [r20048] src/report/standard-reports/account-piecharts.scm: Activate balance averaging in account piechart report, introduced in r19253. 2011-01-09 21:15 cstim * [r20047] src/import-export/import-backend.c: Fix potentially uninitialized variable. 2011-01-09 20:04 plongstaff * [r20044] src/gnome/gnc-plugin-page-budget.c: Add budget name to budget tab 2011-01-09 20:00 cstim * [r20043] Makefile.am, macros/aqbanking.m4: Remove obsolete unused autoconf macro 2011-01-09 18:01 plongstaff * [r20042] src/engine/Account.c, src/engine/Recurrence.c, src/engine/Recurrence.h, src/engine/SX-book.c, src/engine/SchedXaction.c, src/engine/Transaction.c, src/engine/engine.i, src/engine/gnc-lot.c: Fix more memory leaks. Also, when closing a book (to open a new one, not year end), free objects. 2011-01-09 18:00 plongstaff * [r20041] src/app-utils/app-utils.i: More memory leaks 2011-01-08 23:52 alex.aycinena * [r20039] src/app-utils/gnc-ui-util.c: Add info about sub-accounts to Tax Info column on Accounts page. 2011-01-07 17:45 plongstaff * [r20036] src/engine/gnc-budget.c, src/engine/gnc-budget.h: Add gnc_budget_clone() and make some functions arguments 'const' 2011-01-07 14:05 mikee * [r20035] contrib/rapid2gnucash.py: Fixed some typos. Please enter the commit message for your changes. Lines starting 2011-01-07 14:04 mikee * [r20034] configure.ac, contrib/rapid2gnucash.py, src/Makefile.am, src/plugins, src/plugins/Makefile.am, src/plugins/bi_import, src/plugins/bi_import/Makefile.am, src/plugins/bi_import/README, src/plugins/bi_import/bi_import.c, src/plugins/bi_import/bi_import.h, src/plugins/bi_import/glade, src/plugins/bi_import/glade/Makefile.am, src/plugins/bi_import/glade/bi_import.glade, src/plugins/bi_import/gnc-plugin-bi_import.c, src/plugins/bi_import/gnc-plugin-bi_import.h, src/plugins/bi_import/gncmod-bi_import.c, src/plugins/bi_import/gui.c, src/plugins/bi_import/gui.h, src/plugins/bi_import/helpers.c, src/plugins/bi_import/helpers.h, src/plugins/bi_import/regex.txt, src/plugins/bi_import/ui, src/plugins/bi_import/ui/Makefile.am, src/plugins/bi_import/ui/gnc-plugin-bi_import-ui.xml: A plugin to import CSV data as a new invoice or bill. Based on code written by Sebastian Held. Also includes a python script to massage a downloaded order form into the correct format for import. See contrib/rapid2gnucash.py This works with Rapid Electronics (UK) and can be used as a basis for other vendors. Users need to add a line in their ~/.gnucash/config.user for the module to be loaded: (gnc:module-load "gnucash/plugins/bi_import" 0) See bug #624911 for more details. 2011-01-07 01:48 plongstaff * [r20033] src/gnome/gnc-plugin-budget.c, src/gnome/ui/gnc-plugin-budget-ui.xml: Add "copy budget" command to menu. Works like "open budget" except that a copy of the budget is made with the name "Copy of "+name of old budget. This command will allow you to easily create a copy of your 2010 budget and change its name to "2011". I also plan to add UI capabilities to more easily manipulate budget numbers. 2011-01-01 21:04 cstim * [r20023] src/optional/python-bindings/Makefile.am, src/optional/python-bindings/sqlite3test.c: Bug #636402: Add test case for DBI error: 1: table sqlite_sequence may not be dropped Patch by Mark Jenkins: The attached patch adds a test program demonstrating the problem in C, built in src/optional/python-bindings It pretty much shows the same calls that are being made to the C by the python bindings (including initialization) and the example sqlite3 python script. Running this small C program produces the same result. (The program is built in check_PROGRAMS, not bin_PROGRAMS, to avoid having it installed.) 2011-01-01 20:57 cstim * [r20022] src/import-export/aqbanking/gnc-ab-getbalance.c, src/import-export/aqbanking/gnc-ab-gettrans.c, src/import-export/aqbanking/gnc-ab-transfer.c: Bug #454109: Online banking: grey out online action menu items when there is no online account Patch by Manfred Usselmann: Show error message, if assigned online account is not valid or cannot be found or if the selected online action is not valid for this account. Improved checking if online job has been successfully executed. * [r20021] src/import-export/generic-import.glade, src/import-export/import-backend.c, src/import-export/import-backend.h, src/import-export/import-main-matcher.c, src/import-export/import-settings.c, src/import-export/import-settings.h, src/import-export/schemas/apps_gnucash_import_generic_matcher.schemas.in: Bug #373415: Replace existing transaction fields by imported transaction marked as reconcile Patch by Manfred Usselmann: This patch adds an additional update action to the import matcher as described above. It can be activated with the online banking preferences dialog. (Patch changed because of one function name adaption after r19936)