This is necessary to build from a tarball with libtool v2 on Windows.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17446 57a11ea4-9604-0410-9ed3-97b8803252fd
This is to avoid losing them when making trunk the stable branch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17425 57a11ea4-9604-0410-9ed3-97b8803252fd
The online_id used to match an aqbanking accountinfo to a gnucash account is the
concatenation of the bank code and account number found. If the primer is NULL,
then fall back to "" instead of invalidating the whole id.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17405 57a11ea4-9604-0410-9ed3-97b8803252fd
* All aqbanking imports use the same code
* An account number returned by the bank may differ from the one sent, so that
the correct result is not found
* The bank may also send transaction data and delete that on its servers. This
may lead to severe data loss if we did not tried to import of what is returned
as much as possible
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17347 57a11ea4-9604-0410-9ed3-97b8803252fd
This would online_init() the api too often and lead to a crash.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17346 57a11ea4-9604-0410-9ed3-97b8803252fd
* Introduce new property show_full_account_names to the schema
general/register to toggle between full account path and leaf name
* Configuration in Preferences dialog ("Register Defaults")
* Convenience functions gnc_get_account_name_for_register() and
gnc_account_lookup_for_register() return the proper values depending on the
configurations.
* Ledgers and registers use the new functions for displaying account names
(applies also to business-ledger)
* account-quickfill uses gnc_get_account_name_for_register() and listens to
gconf property
Patch from Christoph Ernst.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17324 57a11ea4-9604-0410-9ed3-97b8803252fd
Port the HBCI import-export module to AqBanking3. Depending on the aqbanking
version found, either the classic hbci/ module or the new, very similar, module
aqbanking3/ for AqBanking >= 3 is built and installed. The influence on the
rest of the code is minimal.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17288 57a11ea4-9604-0410-9ed3-97b8803252fd
Strings returned by the c runtime must be converted to utf-8 to be
displayed properly in all cases.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17257 57a11ea4-9604-0410-9ed3-97b8803252fd
Patch from C. Ernst to search for an account by code if the lookup by name for
the string entered into the register did not find anything.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17253 57a11ea4-9604-0410-9ed3-97b8803252fd
This job is done by gnc_plugin_page_register_finish_pending().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17170 57a11ea4-9604-0410-9ed3-97b8803252fd
Types of new accounts cannot conflict with types of anchor accounts of
open registers, as no register can have accessed it yet. On the
contrary, killing the general ledger that is used to input a new account
is contraproductive.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17153 57a11ea4-9604-0410-9ed3-97b8803252fd
gnc_xfer_dialog_quickfill() messed up debit and credit. When the "from
account" (left in normal mode, right/credit when using formal accounting
terms) was chosen as basis for the quickfill and a match was found, the
remote account should be selected on the "to account" side.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17149 57a11ea4-9604-0410-9ed3-97b8803252fd
This patch from David Reiser reverts r16475, but by using
pango_layout_set_ellipsize() center or right aligned texts are printed
correctly and the first line is stilled showed instead of the last one.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17127 57a11ea4-9604-0410-9ed3-97b8803252fd
For the scalable icon, use art/tango/scalable/gnucash.svg instead of
art/icon.svgz.
art/tango/22x22/gnucash.png is actually of size 24², so rename it to
gnucash-24x24.png and create gnucash-22x22.png by removing the
transparent 1px border. Install those icons into
${datadir}/icons/hicolor/${size}/apps so that apps like gnome-panel do
not scale down the .svg instead.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17126 57a11ea4-9604-0410-9ed3-97b8803252fd
If info->traverse_to_new is true, use CURSOR_CLASS_SPLIT as find_class
to avoid focussing the transaction.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17078 57a11ea4-9604-0410-9ed3-97b8803252fd
When entering a split transaction, the account of the top-most split is
set to the register's anchor account, even if the user chose something
different. Avoid this by checking a flag first which signals whether
the split has been modified.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17077 57a11ea4-9604-0410-9ed3-97b8803252fd
Allow cancelling the window by pressing ESC. Always let the user
confirm the cancel on changes, even when closing the window with the
window manager.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17061 57a11ea4-9604-0410-9ed3-97b8803252fd
When entering interest charges, the left account tree is grayed out and
a selection-changed signal with empty selection fired. Do not process
that NULL account.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17060 57a11ea4-9604-0410-9ed3-97b8803252fd
Backends should call this function to make sure they free the kvp frame
for the backend configuration.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17058 57a11ea4-9604-0410-9ed3-97b8803252fd
xaccAccountSetName(acc, xaccAccountGetName(acc)) does not do anything,
so g_strdup() the name temporarily.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17044 57a11ea4-9604-0410-9ed3-97b8803252fd
If no account is selected, simply do not call engine functions on it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17043 57a11ea4-9604-0410-9ed3-97b8803252fd
Make the function return a non-const value and make it the
responsibility of the caller to free that. This is necessary because
not all possible types of input support a getter of an internal and
managed string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17037 57a11ea4-9604-0410-9ed3-97b8803252fd
String results are always newly allocated and should be freed.
Similarly, GObjects should be unreffed, but I have not found such a
case.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17036 57a11ea4-9604-0410-9ed3-97b8803252fd
gtk_widget_show_all() is called on that widget in the only accessing
function anyway.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17028 57a11ea4-9604-0410-9ed3-97b8803252fd
Prior to this change _remove() was implemented as _purge() followed by a
complete refill.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17027 57a11ea4-9604-0410-9ed3-97b8803252fd
Should ease finding specific reports when reports and placeholders are
not mixed together anymore.
Previously all elements were sorted lexicographically, where the
submenus already contained accelerators. As LANG=C and LANG=en_US.utf8
handle underscores differently, even those results were not the same.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17024 57a11ea4-9604-0410-9ed3-97b8803252fd
Do not demand ChangeLog entries as they are created automagically.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17016 57a11ea4-9604-0410-9ed3-97b8803252fd
Work on utf8 characters instead of bytes. g_date_strftime() and
gnc_dow_abbrev() can grok full buffer sizes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17006 57a11ea4-9604-0410-9ed3-97b8803252fd
Prepend terms and reverse once at the end instead of "reverse, prepend,
reverse" for each term.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17001 57a11ea4-9604-0410-9ed3-97b8803252fd
Overrides the default search function on register plugin pages and call
gnc_ui_find_transactions_dialog_create() with the current legder display
as parameter. This also enables refinements of existing transaction
search results.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17000 57a11ea4-9604-0410-9ed3-97b8803252fd
Give additional space to the sx list instead of the calendar. Also save
the page's pane divisor position and restore it when reopening the data
file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16999 57a11ea4-9604-0410-9ed3-97b8803252fd
gnc:query-set-match-{,non-}voids-only! assigned the result of a query
merge to a locally bound variable instead of returning it somehow. So
use qof-query-merge-in-place instead and add a few missing
qof-query-destroys as well.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16995 57a11ea4-9604-0410-9ed3-97b8803252fd
Even if registers, reports or invoice pages have been configured to open
in new windows they should not do so when restored at the startup of
gnucash.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16965 57a11ea4-9604-0410-9ed3-97b8803252fd
gnc_plugin_page_account_tree_cmd_delete_account() always presents at
least one confirmation dialog which defaults to cancel, so massive data
loss should be avoidable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16937 57a11ea4-9604-0410-9ed3-97b8803252fd
In r15774 the structure of main window notebook tab labels changed, but
in gnc_main_window_cmd_actions_rename_page() the GtkLabel lookup was
still hard-coded and has not been adjusted. Use
main_window_find_tab_items() instead.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16934 57a11ea4-9604-0410-9ed3-97b8803252fd
This avoids cluttering the environment of the caller.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16932 57a11ea4-9604-0410-9ed3-97b8803252fd
Make_install.sh can be called in any build directory and will execute
`make install` and all the necessary extra steps after that.
Also, make prepare and finish ordinary steps that can be blocked and
inserted at will. Add reset_steps.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16928 57a11ea4-9604-0410-9ed3-97b8803252fd
Previously, gtk_widget_show_all() and gtk_widget_hide() were called on
the dialog, so that everything except the dialog widget itself were set
visible. That way the user did not see the dialog filling up and
resizing on initialization. Buggy window managers do not like
subsequent map&unmaps though and do not make the search dialog pop up
correctly.
This change removes both calls and depends on the interesting subwidgets
being visible. For search.glade and the widgets inside dialog-search.c
this is guaranteed now.
BP
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16914 57a11ea4-9604-0410-9ed3-97b8803252fd
This should be considered as a move forward, so please do not mess with
other encodings in this directory anymore :-)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16891 57a11ea4-9604-0410-9ed3-97b8803252fd