* src/gnome/dialog-sx-from-trans.c (sxftd_get_end_info): Changed
to do the strtoul before we free the data itself; fixes "can't
create once/number-of-occurance SXes" [in from-transaction dialog]
bug.
* src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked):
Do a very lame but good-enough-for-now check to see if we can
determine if the template transactions will still balance. Note
that we don't do anything with the result of that check, yet, but
we perform it.
* src/app-utils/gnc-exp-parser.c (gnc_exp_parser_real_init): Added
so we can conditionaly add the "predefined variables" to the
binding table for parsing a given expression.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6886 57a11ea4-9604-0410-9ed3-97b8803252fd
provide its own column list for displaying search results. Change
the interface to require the list of columns. Modify all the
business dialogs to use the new search interface.
Add a new interface to the QueryCore to convert any Core object
into a string (or have it return NULL)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6862 57a11ea4-9604-0410-9ed3-97b8803252fd
gnome-date-edit widget set.
removed unused dialogs from job.glade and invoice.glade
returned lost invoice functionality: open the invoice-register
window when you 'ok' a new invoice.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6846 57a11ea4-9604-0410-9ed3-97b8803252fd
dialog and provides callbacks and signals for object selection.
This fixes a lot of the nested-gtk_main() problems in the business
code. Still more separation to do, but MOST of the main modules
are changed to use the new interfaces. This is an interim commit;
another commit will follow shortly. The code works now, but
dialog-order (in particular) will give you compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6842 57a11ea4-9604-0410-9ed3-97b8803252fd
single price editor. Portfolio report now has hyperlinks to open the
editor for a single stock price.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6829 57a11ea4-9604-0410-9ed3-97b8803252fd
a reconciliation end date, always default to the same time interval
they previously used (or 1 month for the first reconcile in an
account.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6823 57a11ea4-9604-0410-9ed3-97b8803252fd
single number as the day, or two numbers as day and month (ordered
according to the users date preference).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6822 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-sx-from-trans.c (sxftd_advanced_clicked): Since
"Advanced..." editing completely entails the from-transaction
dialog, we close it if the user selects "Advanced..." to prevent
errors when the from-trans dialog is "Ok"'d.
* src/gnome/dialog-scheduledxaction.c (delete_button_clicked):
Better deletion confirmation checking; we now look for
being-edited scheduled transactions and confirm them specially
with the user to prevent inconsistencies from cropping up.
* src/doc/TODO-schedxactions: Updated; more 'X'-ed off items make
me happy.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6818 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/backend/file/sixtp.c (sixtp_parse_file): Explicitly create
an xmlParserCtxt and keep it in the sixtp_sax_data, so we can...
(sixtp_sax_start_handler): retain line/column numbers for stack
frames, which pays off in...
* src/backend/file/sixtp-stack.c (sixtp_stack_frame_print):
printing the line/column numbers of parsing errors when they
occur.
* src/backend/file/sixtp.c (sixtp_parse_buffer): Analagous change
for in-memory-buffer parsing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6817 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/gnome/dialog-scheduledxaction.c
(editor_ok_button_clicked): Check to see if the user is attempting
to create a Scheduled Transaction which can't occur; confirm with
them if they are.
* src/gnome-utils/gnc-frequency.c
(freq_option_value_changed): StartDate and frequency-specific
options now come into better sync [when possible] on
frequency-type change.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6799 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/register/ledger-core/gnc-ledger-display.c: Some template-GL
cleanup [debugging printf's removed]. Removed never-used
LD_TEMPLATE type.
* src/gnome/glade/sched-xact.glade: Removed unused start page.
* src/gnome/dialog-sxsincelast.c: Added support for using the
gnc-regWidget to display created transactions for review. Added
'Cancel' support. Didn't remove enough dead code, but started to.
* src/gnome/dialog-scheduledxaction.c: Added support for using the
gncRegWidget in the SX editor. Formatting changes.
* src/register/ledger-core/gnc-regWidget.{h,c}: Added; a
macro-widget roughly duplicating the src/gnome/window-register.c
look-and-feel-and-behavior.
* src/engine/SchedXaction.c: Added support for saving a "temporal
snapshot" of a scheduled transaction. Rewrote "sequence state"
manipulations in terms of temporal snapshots.
* src/engine/Query.c: Add support for Querying the template
AccountGroup.
* src/doc/TODO-schedxactions: Updates.
* src/engine/Makefile.am: Prepend-to instead of unconditionally
setting GUILE_LOAD_PATH when creating iso-4217-currencies.c, for
those of us that need to set it for whatever reason we need to do
so.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6795 57a11ea4-9604-0410-9ed3-97b8803252fd
provide backend-support without changing the core backend
implementation.
* src/engine/gncObject: Add a 'mark_clean' data-type method()
add backend extension registration.
* src/engine/gnc-book.c: use mark_clean object interface
* src/backend/file/io-gncxml-v2: use the backend extensions
* src/business/business-core/gnc*: add the mark_clean methods
add commodities to many objects
* src/business/business-core/gncInvoice.c: fix GetPaidTxn() bug
* src/business/business-core/file: the XML backend extensions for
business objects.
* src/business/business-gnome/dialog-*: supply default commodities
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6770 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/report-system/html-utilities.scm: Added support for
surpressing zero amounts.
* src/report/report-system/*-utilities.scm: Clean up
commodity-collector calling functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6716 57a11ea4-9604-0410-9ed3-97b8803252fd
* Update the QueryNew API to take a GList of terms to allow
for any number of iterative lookups (such as
GncEntry->GncInvoice->GncAccount->GNCBook->guid) (not that this
is a useful example ;)
* Update all the business objects to the new API -- don't distinguish
between a parameter that returns a core type and a parameter that
returns another object. Note that this implies that the namespace
is shared between the objects and core types. Also note that this
is not enforced in any way.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6681 57a11ea4-9604-0410-9ed3-97b8803252fd
* QueryNew interface revision-1 check-in
* update all the business objects to register with the new query system
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6680 57a11ea4-9604-0410-9ed3-97b8803252fd
pie chart height
* src/bin/overrides/gnucash-env.in: set LTDL_LIBRARY_PATH, too
* macros/gnome-gdk-pixbuf.m4: fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6661 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/backend/postgres/account.c: check for missing parent
account when loading accounts
* src/backend/postgres/PostgresBackend.c: check for bad
commodity string name
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6532 57a11ea4-9604-0410-9ed3-97b8803252fd
when loading accounts
* src/backend/postgres/PostgresBackend.c: check for missing
currency when loading transactions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6526 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/report/report-system/commodity-utilities.scm: Tweaked the
exchange rate calculation so that it will work in even more
complicated cases, involving different Euroland and other
currencies.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6524 57a11ea4-9604-0410-9ed3-97b8803252fd
* doc/sgml/*/xacc-euro.sgml: Fixed DEM rate as pointed out by
Gregor Hoffleit <gregor@hoffleit.de>.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6518 57a11ea4-9604-0410-9ed3-97b8803252fd
to be installed in an existing database.
* src/backend/postgres/upgrade.c: use pointer<->int conversion
macros
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6501 57a11ea4-9604-0410-9ed3-97b8803252fd
* src/engine/Transaction.c: fix bugs. keep positive editlevel
while committing and rolling back transaction.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6414 57a11ea4-9604-0410-9ed3-97b8803252fd
and other api
* src/backend/postgres/test/test-db.c: add check for initial
account balances
* src/backend/postgres/PostgresBackend.c: fix bug. begin/commit
account group when loading intitial balances
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6386 57a11ea4-9604-0410-9ed3-97b8803252fd