* macros/autogen.sh: make sure we always have intl and po Makefiles
in the configure script. Sometimes it was ripped out without being
replaced. Reported by twunder.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9877 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-scheduledxaction.c: Move variable declaration
to the top of the block.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9876 57a11ea4-9604-0410-9ed3-97b8803252fd
* accounts/hu_HU/Makefile.am: don't include files in the DIST that
we don't have in CVS.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9874 57a11ea4-9604-0410-9ed3-97b8803252fd
* configure.in: move m4/Makefile to its own line
* macros/autogen.sh: add code to remove "intl/Makefile po/Makefile"
from AC_OUTPUT in configure.in prior to calling gettextize
to make sure that you can build from CVS with recent versions
of gettextize. Tested with both RH9 and RH7.3 to make sure
it works with both old and new. Fixes#120206.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9871 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/utility-reports/iframe-url.scm:
don't need to require format; main.scm handles it, and
the default "format" (simple-format) is sufficient to
handle everything we need. This allows gnucash to work
with slib3.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9869 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/register/register-core/formulacell.c
(gnc_formula_cell_modify_verify): Add ':' to the token list of
allowable characters in the formula cell. Fixes Bug#106260.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9865 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/druid-loan.c (gnc_ui_sx_loan_druid_create): Use the
account-list filtering capability of the GncAccountSel to only
show/allow-creation-of valid account-types in the
loan-druid. Fixes Bug#124595.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9863 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Bug#133709 fix: when we have a problem parsing a credit/debit
cell, indicate to the user what occurred.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9860 57a11ea4-9604-0410-9ed3-97b8803252fd
* HACKING: Added instructions about running under valgrind.
* lib/gnucash_valgrind.supp: Added a large set of valgrind
suppressions for both guile and gnucash.
* src/register/ledger-core/gnc-ledger-display.c
(gnc_ledger_display_template_gl): Change the reg_type to
SEARCH_LEDGER so all the 'action' types appear. Bug#108833.
* src/gnome/glade/sched-xact.glade: Remove unused 'ledger_status'
widget. Bug#102269.
* src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_draw_to_buffer):
At least be consistent about the background coloring of the month
labels, even if we're still not using GTK themeage correctly.
* src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_destroy): Destroy
the transient window when the widget is destroyed. Bug#103910.
* src/gnome/dialog-scheduledxaction.c
(gnc_ui_scheduled_xaction_editor_dialog_create): Make the advance
and remind spin-buttons editable [Bug#94963].
* src/gnome/glade/sched-xact.glade: Change the upper bound on the
advance and remind spins to 365 [days], with a page-size of 30
[days].
* src/gnome/dialog-sx-from-trans.c (gnc_sx_create_from_trans):
Disallow the Scheduling of being-editing transactions in the
Register, preventing a class of unbalacned SX template
transactions from being entered and propogated through the
system. See Bug#130330.
* src/engine/FreqSpec.c (xaccFreqSpecGetFreqStr): Fix nasty
memory-corruption issue; insufficent bounds checking on array
index. Bug#125600.
* src/gnome/dialog-sxsincelast.c (create_each_transaction_helper):
Better handling of various error cases in
transaction-creation. Bug#120311; Bug#130330.
2004-03-01 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Fix for part of Bug#121740 -- only allow auto-create SXes which
have splits to be created.
2004-02-07 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked):
* src/gnome-utils/gnc-frequency.c (gnc_frequency_save_state):
* src/backend/file/gnc-freqspec-xml-v2.c (fs_none_handler):
* src/engine/FreqSpec.c (xaccFreqSpecGetFreqStr):
Adding "NONE" as an allowable FreqSpec [Bug#103968].
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9858 57a11ea4-9604-0410-9ed3-97b8803252fd
little cleaner by not re-using (and re-defining!) the same
variable name inside a block of code and "over-riding" an
existing variable. Unlikely to actually fix anything, but
you never know what a compiler might do.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9841 57a11ea4-9604-0410-9ed3-97b8803252fd
argument in SetOwner() in revision 1.40 thereby causing ALL new
jobs to fail to work. Check the new owner, not the original.
Fixes#133392.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9827 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/import-backend.c: Commented out setting the
memo always to "Auto-created split" due to popular request.
* src/import-export/hbci/druid-hbci-initial.c, hbci-interaction.c,
all files: Preliminary completion of openhbci2 support -- getting
the transactions seems to work, as well as the HBCI setup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9817 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/import-account-matcher.h: Make string argument
a const char*. Make boolean argument a gboolean.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9816 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/kvp_frame.h, src/engine/Account.c: Add clear notice
of the semantic change of kvp_frame_get_frame
function. Fortunately it seems the only place that still had to be
fixed, apart from the hbci module, has been in Account.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9815 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome-utils/transfer.glade: rename from_xxx and to_xxx account
tree widgets to left_xxx and right_xxx
* src/gnome-utils/dialog-transfer.c: if in "accountant mode" call
"transfer from" "credit account" and "transfer to" "debit account"
and interchange account trees
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9806 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/gnc-hbci-utils.c: Set application log
directory, needs more work.
* src/import-export/hbci/druid-hbci-utils.c:
More work for openhbci2 support.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9801 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/hbci/gnc-hbci-utils.c: Set application log
directory, needs more work.
* src/import-export/hbci/druid-hbci-utils.c:
More work for openhbci2 support.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9800 57a11ea4-9604-0410-9ed3-97b8803252fd
* configure.in, macros/openhbci2.m4: Add checking for new
openhbci2 library.
* src/import-export/hbci/ all files: Switch HBCI code to the new
openhbci2 library. Should be working, but needs further testing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9797 57a11ea4-9604-0410-9ed3-97b8803252fd
and hbci which should allow running with ofx and hbci in the
build tree.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9796 57a11ea4-9604-0410-9ed3-97b8803252fd
We probably need a better mechanism to search for a working db
library, like defining our own macro and just supplying a list.
We probably can get rid of the prefer-db1 option as well, maybe?
Fixes#131506
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9784 57a11ea4-9604-0410-9ed3-97b8803252fd
date-selection option creation.
* src/app-utils/app-utils.scm: export the new scheme functions
* src/app-utils/prefs.scm: Modify Herbert's patch to centralize
the date-selection option code.
* src/report/report-system/options-utilities.scm: use the new
centralized date-selection option-creation code.
* src/app-utils/global-options.c:
* src/app-utils/global-options.h: add gnc_lookup_date_option()
function
* src/app-utils/gnc-ui-util.c:
* src/app-utils/gnc-ui-util.h: add
gnc_ui_account_get_balance_in_currency() function
* src/app-utils/prefs.scm: add preferences for summarybar
* src/engine/Account.c:
* src/engine/Account.h: add
xaccAccountConvertBalanceToCurrencyAsOfDate() function
* src/gnome/window-main-summarybar.c: summarybar can now display
a grand total of all commodities, profits of a period of time
and net assets at the end of the period; summarybar can be
configured with some options under edit->preferences
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9780 57a11ea4-9604-0410-9ed3-97b8803252fd
to parse CSV files.
* src/import-export/csv/test/test.csv: a test CSV file
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9766 57a11ea4-9604-0410-9ed3-97b8803252fd
to read an unlimited line-length from a file (so you're
not limited to a buffer size with fgets() and the like).
It is similar to the getline(3) on Linux except the API
is different and it will always set the return string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9764 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/doc/qif.txt:
Add new qif importer documentation to the repository/dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9761 57a11ea4-9604-0410-9ed3-97b8803252fd
Fix the actual problem, all the ...ReturnGUID() #define's which
don't check that it's passed a NULL value.
* src/engine/Transaction.h:
* src/engine/Account.h:
Fix ...ReturnGUID() to check whether it was passed a NULL object
and, if so, return the null GUID instead of crashing.
* src/business/business-core/gncCustomer.h:
* src/business/business-core/gncEmployee.h:
* src/business/business-core/gncInvoice.h:
* src/business/business-core/gncJob.h:
* src/business/business-core/gncTaxTable.h:
* src/business/business-core/gncVendor.h:
Fix ...RetGUID() to check whether it was passed a NULL object
and, if so, return the null GUID instead of crashing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9758 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/Makefile.am: remove the circular dependency I added earlier
* src/engine/gw-engine-spec.scm: don't include gnc-engine-util.h (it's
not required and may break things).
* src/engine/gnc-trace.[ch]: move gnc_should_log() out of the .h
and into the .c (making it a function instead of an array) due
to symbol problems with libgw-engine. With it the other way the
test-account-create test was throwing an error about an
undefined symbol (gnc_log_modules).
NOTE: If you don't like this de-optimization then feel free to remove
all the P*() calls from engine-helpers.c and then revert gnc-trace.
Or you can find another way around the undefined symbol problem.
* src/doc/Makefile.am: include guid.txt in the dist
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9757 57a11ea4-9604-0410-9ed3-97b8803252fd
* make-gnucash-patch.in:
Patch by Geoff Kassel to work on OpenBSD (allow user to set diffcmd)
Fixes#122646
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9753 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/test/Makefile.am: add test-link, make libgw-engine
depend on libgncmod-engine
* src/engine/test/test-link.c: add a source-file to test-link
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9752 57a11ea4-9604-0410-9ed3-97b8803252fd
KVPs, on the theory that they will soon be deprecated.
Fixes#127315
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@9750 57a11ea4-9604-0410-9ed3-97b8803252fd