We turn it on by default, and the auto-check is "better".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13496 57a11ea4-9604-0410-9ed3-97b8803252fd
only warn the user (not blow out) if they explicitly request
--enable-error-on-warning. But still blow out if they
didn't specifically request it and we turned it on by default.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13493 57a11ea4-9604-0410-9ed3-97b8803252fd
- warning: suggest parentheses around assignment used as truth value
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13489 57a11ea4-9604-0410-9ed3-97b8803252fd
Apply a re-work of Titi Ala'ilima's patch to apply payments
directly to invoices. This fixes bug #121420.
* src/business/business-core/gncInvoice.[ch]:
Add argument to the ProcessPayment API to allow the caller
to specify an invoice to post to first.
* src/business/business-gnome/business-gnome-utils.[ch]:
Create an invoice-select API that lets you select an invoice
based on an owner (or not). I.e., you can limit the invoice
search based on a selected owner. If you change the owner
it invalidates the invoice search.
* src/business/business-gnome/dialog-payment.[ch]:
Change the API from ..new_with_value() to ..new_with_invoice().
Pull the default amount from the invoice (if one exists).
Allow the user to select an invoice and apply payments there.
If the user changes the owner, invalidate the invoice.
* src/business/business-gnome/business-options-gnome.c:
use the new invoice-select API instead of calling general_search
API directly.
* src/business/business-gnome/dialog-invoice.c:
call the new dialog-payment API. No need to compute the initial
value here; the payment dialog will compute it from the invoice
(instead of computing it from the invoice here).
* src/business/business-gnome/glade/payment.glade:
Add invoice-selector label and box.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13411 57a11ea4-9604-0410-9ed3-97b8803252fd
this might break the broken ebuild that forcibly removes the
.svn directories, but the ebuild is broken and shouldn't do that.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13366 57a11ea4-9604-0410-9ed3-97b8803252fd
The old code wouldn't let you set the value if you were already
within a BeginEdit/CommitEdit block.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13316 57a11ea4-9604-0410-9ed3-97b8803252fd
- Prefer QUERY_AND and QUERY_OR over NAND, NOR, XOR
- Don't randomly generate a gnc_numeric with a 0 denominator.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13300 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-core/gncOwner.[ch]: Add api to get owner
kvp-slots abstractly.
* src/business/business-gnome/dialog-payment.c: Load/save the
last-used transfer account whenever the owner changes or
the dialog completes.
Fixes#329725.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13298 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/TransLog.c: use TABS not SPACES for column separators
* src/import-export/log-replay/gnc-log-replay.c: use printf
so we don't have a tab->space conversion problem like we
did in TransLog.c
Fixes#331620.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13294 57a11ea4-9604-0410-9ed3-97b8803252fd
due to EOF or a bad header parsing. Fixes#331620 based
on the test-case.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13292 57a11ea4-9604-0410-9ed3-97b8803252fd
the --enable/disable-ofx will make the check fatal on failure
or skip it altogether if you want to ignore an existing libofx.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13286 57a11ea4-9604-0410-9ed3-97b8803252fd
directory. Also symlink .scm files into the build directory
so it's possible to run from it.
Also fix "fin.scm installed twice", bug #168629.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13281 57a11ea4-9604-0410-9ed3-97b8803252fd
this way we don't need to worry about it in every test app.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13277 57a11ea4-9604-0410-9ed3-97b8803252fd
- Move a bunch of configure code around in the file.
- Don't look for goffice/gsf if we ask for --disable-gui
- add a few more comments
- no need to check for libxml2 twice (more work to do here).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13275 57a11ea4-9604-0410-9ed3-97b8803252fd
* lib/libqof/qof/Makefile.am: keep qofla-dir.h out of the dist
* configure.in: look in builddir for qof includes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13269 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/standard-reports/advanced-portfolio.scm:
revert r13244 in this file because it's badly formed and
breaks the report. Reopened bug #314554.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13252 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/gnucash.desktop.in
* src/gnome/Makefile.am
Make the desktop more HIG-compliant.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13246 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/window-reconcile.c (gnc_reconcile_window_create_list_box):
* src/gnome/reconcile-list.c (gnc_reconcile_list_new):
* src/gnome/reconcile-list.h (gnc_reconcile_list_new):
Don't pre-select the reconciled status for transactions after the
statement date.
Fixes#112653.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13245 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/standard-reports/advanced-portfolio.scm:
Apply dividend and brokerage to moneyin and moneyout to more
accurately reflect account activity. Fixes bug #311549.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13242 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/Scrub.c:
* src/engine/Scrub.h:
Try to fix transactions that have no currency, perhaps because
of a log replay. Workaround for bug #143720.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13241 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-utils/business-prefs.scm:
* src/business/business-utils/business-utils.scm:
Add a bunch of new File -> Properties to describe the business.
* src/business/business-reports/fancy-invoice.scm:
Parameterize all the various settings in the report so
they can all be set through the options or file->properties
settings. Patch by "Brian", but slightly modified to not
hard-code some strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13237 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-core/business-core.scm:
add gnc:owner-get-name-dep and gnc:owner-get-address-dep APIs
* src/business/business-reports/fancy-invoice.scm:
Change the font of the client company name to match the
owner company name. Fixes#327545.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13233 57a11ea4-9604-0410-9ed3-97b8803252fd
parse the version out of the AC_PACKAGE_VERSION macro, so
we still only need to set it in one place. This should
solve a number of old-automake related problems people have seen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13225 57a11ea4-9604-0410-9ed3-97b8803252fd
clean up, but also makes sure we don't destroy the handler
list out from under us as we're processing events.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13196 57a11ea4-9604-0410-9ed3-97b8803252fd
detects that we're running on a "broken" system like Ubuntu.
This is in response to #330539.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13195 57a11ea4-9604-0410-9ed3-97b8803252fd
* macros/legacy_macros.m4: when the guile version check fails,
print out the version of guile that we found in order to
aid debugging.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13174 57a11ea4-9604-0410-9ed3-97b8803252fd
Keep in the error check for db-transactional data storage
until the objects can be modified to support db-transactional
autocommit (by calling BeginEdit/CommitEdit internally instead
of checking that the caller did so). But revert for now to
make sure a caller has called BeginEdit in order to make
sure the data gets "saved" (assuming a SQLish backend).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13129 57a11ea4-9604-0410-9ed3-97b8803252fd
- make sure a random group always has at least two accounts
- fix "make random transaction" to tell us when we don't
have at least two accounts.
- free the results of xaccGroupGetSubAccounts().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13124 57a11ea4-9604-0410-9ed3-97b8803252fd
- Fixes for handling reciprocal values.
- Mark a lot of places where potential overflow bugs
are not handled.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13107 57a11ea4-9604-0410-9ed3-97b8803252fd
(the tests fail on amd64). Since this code isn't used,
yet, there's no need to actually run these tests. But let's
distribute the code anyways....
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13073 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome-search/dialog-search.c:
* src/gnome-search/dialog-search.h:
Modify the gnc_search_dialog_create() API to add an optional
"type label" parameter, so you can manually set the string
presented to the user for what they are searching for...
* src/business/business-gnome/dialog-order.c:
* src/business/business-gnome/dialog-vendor.c:
* src/business/business-gnome/dialog-customer.c:
* src/business/business-gnome/dialog-job.c:
* src/business/business-gnome/dialog-employee.c:
* src/gnome/dialog-find-transactions.c:
Pass NULL into new search API parameter
* src/business/business-gnome/dialog-invoice.c:
Modify how we call the search dialog. Send in different
sets of parameters depending on whether we're searching for
a Customer Invoice, Vendor Bill, or Employee Expense Voucher.
Pass in a type_label as well so the dialog can properly label
the "new" button. This fixes the UI Bug #117354.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13071 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-core/gncInvoice.[ch]:
Add new API: gncInvoiceSortEntries()
* src/business/business-core/gncEntry.c:
re-sort the parent when the entry date changes.
Only re-sort when the existing date is non-zero (i.e.
don't re-sort on the initial setting of the date).
Fixes#320566.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13069 57a11ea4-9604-0410-9ed3-97b8803252fd
before we call xaccSplitSetBaseValue(). Fixes#325890.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13068 57a11ea4-9604-0410-9ed3-97b8803252fd
* configure.in: include gmodule in GLIB_LIBS
* lib/libqof/qof/Makefile.am: link libqof against glib.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13058 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-core/gncInvoice.c:
Make sure to insert new splits into an account before we
set the Base Value.. Otherwise it will fail to set the
value properly. Closer to fixing 325890, but it's still
not completely fixed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13053 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
* src/business/business-core/file/gnc-bill-term-xml-v2.h:
Add a new API to "find-or-create" a billterm so all the
code is collated in one location.
Add more debugging during the scrub phases.
* src/business/business-core/file/gnc-invoice-xml-v2.c:
* src/business/business-core/file/gnc-vendor-xml-v2.c:
* src/business/business-core/file/gnc-customer-xml-v2.c:
Use the new bill-term find-or-create API
* src/business/business-core/gncBillTerm.c:
add some additional debugging
* src/business/business-core/gncBillTerm.h:
The Billterm Type ENUM must start at 1, not zero. The data file
now appears to properly save itself without destroying data.
Fixes rest of #328790.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13049 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-core/file/gnc-owner-xml-v2.c:
GncOwner is not a QOF_INSTANCE. Get the GUID correctly.
Fixes part of #328790 (but not all of it).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13000 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/import-export/test/Makefile.am:
Added src/scm directory to test environment
* lib/goffice-0.0.4/Makefile.am:
Don't install libgoffice-1.pc, but distribute it
* lib/libgsf-1.12.3/tests/Makefile.am:
Link to the proper location of libgsf-1.la
* lib/libgsf-1.12.3/Makefile.am:
Don't install the gsf .pc files, but distribute them.
* lib/Makefile.am:
Use DIST_SUBDIRS to distribute qof, gsf, and goffice
* configure.in:
fix QOF_LIBS to use builddir, not srcdir
* Makefile.am:
add po/POTFILES.in to the dist
link gsf into the srcdir, not the builddir
* src/report/report-system/Makefile.am:
make sure we distribute gw-report-system.h
* src/bin/Makefile.am:
clean i18n.h in distclean
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12992 57a11ea4-9604-0410-9ed3-97b8803252fd
This is instead of configure succeeding and then failing the
build later.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12983 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/app-utils/prefs.scm: replace an API needed by old scheme
config files. It was removed in r11565. Replace it now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12926 57a11ea4-9604-0410-9ed3-97b8803252fd
Granted, this has no effect because the splash screen isn't
/UP/ when we're loading the modules. But still, once we
initialize the gnome application earlier this will let us
update the splash screen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12925 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/bin/gnucash-bin.c: Load config.auto AND config.user files.
Load the .user file first, and then load the .auto.
* src/scm/Makefile.am: paths.scm was removed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12913 57a11ea4-9604-0410-9ed3-97b8803252fd
Fixes a crash trying to reload a file with empty windows.
(there's still another bug which is that we should ignore empty windows)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12903 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/business/business-gnome/dialog-invoice.c:
need to #include gkeyfile.h for glib24 systems
* src/business/business-gnome/Makefile.am:
link against glib26 compatibility library.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12896 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/bin/gnucash-bin.c:
* src/gnome-utils/gnc-splash.c:
Always print the SVN version and build date.
Make "development version" based on GNUCASH_SVN
* src/gnome-utils/Makefile.am:
Define GNUCASH_SVN whenever the source is not a dist tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@12880 57a11ea4-9604-0410-9ed3-97b8803252fd