g-wrap is gone. I, for one, welcome our new swig overlords.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15024 57a11ea4-9604-0410-9ed3-97b8803252fd
Main patch by Gregory Alexander <gregalexa@gmail.com>.
On editing, interpret a blank as an unset budget value.
On reporting, show "." for unset budget values.
Add bugdet functions for testing whether a budget value is set or not,
and for unsetting it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15009 57a11ea4-9604-0410-9ed3-97b8803252fd
aren't correctly marked as pending. This bug is probably responsible for
the crashes like those in bug #348469.
In general, the register makes it very difficult to consistently
distiguish between beginning to edit a transaction that's being edited
in another register and beginning to edit the blank transaction,
which is already open for editing, but isn't marked pending so that
we can pretend it hasn't been opened if it never gets modified.
Fortunately, the auto-completion code only runs on the blank transaction,
so we can assume it's not being edited in another register. This patch
goes ahead and marks the blank transaction as pending.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15004 57a11ea4-9604-0410-9ed3-97b8803252fd
when it is modified. This fixes a bug where editing the blank transaction,
moving off of the transaction line to a split line, leaving the split line
unedited and then closing the register will incorrectly leave the
transaction open without asking.
The bug fixed by this commit is possibly responsible for some of the
crashes like bug #348469.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@15002 57a11ea4-9604-0410-9ed3-97b8803252fd
remove_notification functions. Now the pair of section and whoami has to
be unique, as GncMainWindow adds notifications to two different
sections. Extends r14675.
Remove a superfluous leading slash and doubly defined gconf key macros.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14945 57a11ea4-9604-0410-9ed3-97b8803252fd
header files. This way automake and config.status agree upon the list of
these files. Otherwise, in rare cases, make distclean might not remove a
file stamp-h5, making distcheck fail.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14932 57a11ea4-9604-0410-9ed3-97b8803252fd
the close signal. This callback doesn't handle aborting correctly when called
directly, but it will behave correctly when called indirectly from
close_handler(). The "response" callback will now be called for all actions
that close the dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14927 57a11ea4-9604-0410-9ed3-97b8803252fd
srcdir contains the .schemas.in files, but not the generated .schemas files.
Fixes make distcheck.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14925 57a11ea4-9604-0410-9ed3-97b8803252fd
Override the Transaction Number to sort numerically.
* lib/libqof/qof/qofclass.h:
* lib/libqof/qof/qofquery.c:
* lib/libqof/qof/qofquerycore-p.h:
* lib/libqof/qof/qofquerycore.[ch]:
- Publish the QofCompareFunc prototype.
- Add a new QofParam param_compfcn parameter
- Change QofQuery to use the param_compfcn over the
default type compare function.
- create (and publish) a qof API to compare strings
as numbers: qof_string_number_compare_func()
* src/engine/Transaction.c:
Assign TRANS_NUM to use qof_string_numer_compare_func()
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14903 57a11ea4-9604-0410-9ed3-97b8803252fd
Now you can run one query off of the results of another query.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14901 57a11ea4-9604-0410-9ed3-97b8803252fd
Before, we did not enforce compatibility with the parent account and
suggested to change only children or children and all parent accounts up
to the top-level one. We do enforce it now and only need to look at the
children.
The filling of the hash of (children) account (type) changes has been
replaced by showing the user a filtered account tree and the types are
adjusted recursively once the user verified the change.
This is another attempt to resolve#344966.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14899 57a11ea4-9604-0410-9ed3-97b8803252fd
based on compatibility to the parent account.
* add gnc_account_parent_changed_cb. Filter by valid_types & parent
compatible types
* add aw->preferred_account_type to remember what we chose but may not
work currently
* make valid_types a guint32 (was GList*)
* last_used_account_type is only set in gnc_ui_to_account
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14897 57a11ea4-9604-0410-9ed3-97b8803252fd
because of a bug in gtk+ (#357791). Also add
gnc_tree_model_account_types_get_mask.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14896 57a11ea4-9604-0410-9ed3-97b8803252fd
model instead using it as data of the filter function, because those can
only be set once per filter.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14895 57a11ea4-9604-0410-9ed3-97b8803252fd
This new type is like QOF_TYPE_STRING but it sorts numerically
(first) and then sorts alphanumerically (by the tail of the
number). Added the QOF Type, the gnome-search support, and
modified TRANS_NUM to use the new type.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14892 57a11ea4-9604-0410-9ed3-97b8803252fd
Lots are supposed to be disabled in the 2.0 release until we
get the cap-gains code working. IMHO the cap-gains code should
deal with extra txn splits instead of creating additional txns.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14888 57a11ea4-9604-0410-9ed3-97b8803252fd
its functionality has been moved into the hbci (aqbanking) module.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14871 57a11ea4-9604-0410-9ed3-97b8803252fd