Commit Graph
100 Commits
Author SHA1 Message Date
Andreas Köhler d003a99e5a Win32: Minor change for emacs compat.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17447 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-08-02 12:04:06 +00:00
Andreas Köhler bf45b1d39d Add AC_LIBTOOL_WIN32_DLL.
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
2008-08-01 22:04:02 +00:00
Andreas Köhler 8bc6249efb Update latest stable version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17443 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-31 07:56:05 +00:00
Andreas Köhler f2f75d76b3 Add missing initialization inside gnc_ab_maketrans().
Patch from Micha Lenk.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17437 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-29 21:32:54 +00:00
Andreas Köhler 07a2e11d16 Fix gnc_ab_get_remote_name() to lookup the remote name instead of purpose.
Patch from Micha Lenk.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17436 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-29 21:32:44 +00:00
Andreas Köhler 83de1c0bbc Import russian account templates from the stable branch.
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
2008-07-27 16:21:18 +00:00
Andreas Köhler 2439d3692e Ignore a few generated files in local svn checkouts or git clones.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17424 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 16:10:27 +00:00
Andreas Köhler 172877f43e Add gnc-date.c to make-gnucash-potfiles.in and missing aqbanking files to POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17423 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-27 16:08:21 +00:00
Andreas Köhler 524dc04434 Handle missing information when importing from aqbanking more gracefully.
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
2008-07-24 23:46:14 +00:00
Andreas Köhler eef36b6e67 Make sure that the input of gnc_utf8_strip_invalid() is non-NULL.
Also, fix a caller in the aqbanking importer.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17370 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-22 22:14:56 +00:00
Andreas Köhler 7fea0935b0 Bug #543049: Import all balances and txns in aqbanking contexts returned.
* 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
2008-07-20 02:09:16 +00:00
Andreas Köhler 8582d3290c Do not prepare the match page in the online banking wizard twice.
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
2008-07-20 02:09:06 +00:00
Andreas Köhler d2bc2c6061 Run some iterations of the main loop in showbox_cb to give the window a chance to be showed.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17338 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 23:44:41 +00:00
Andreas Köhler 9b65e68fa2 The gwenhywfar callback function showbox_cb() must not return 0.
Return the id reserved for it instead.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17337 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-15 23:17:49 +00:00
Andreas Köhler 1a25b2bc39 Bug #129099: Add option to toggle between full account path and leaf name in registers.
* 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
2008-07-13 21:28:45 +00:00
Andreas Köhler 064ca2196c .gitignore generated files in the python bindings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17296 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-11 21:40:02 +00:00
Andreas Köhler 853de549eb Bug #542237: Use GLIST_HELPER_INOUTs before including engine-common.i.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17292 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-11 00:34:56 +00:00
Andreas Köhler 51858f7a85 Add new aqbanking import-export files to POTFILES.in.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17290 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 21:31:23 +00:00
Andreas Köhler a0cbd72978 Fix a -Wformat gcc warning in the test suite.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17289 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-08 21:30:26 +00:00
Andreas Köhler fe11af9045 Merge branches/aqbanking3 (r17287) into trunk.
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
2008-07-08 20:35:50 +00:00
Andreas Köhler 3d5dfd3069 Bug #526883: Add a few missing conversions of strftime results to utf-8.
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
2008-07-06 11:11:34 +00:00
Andreas Köhler ea76d79aba Bug #531662: Harden budget->guid to grok #f input instead of crashing.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17256 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-05 22:31:09 +00:00
Andreas Köhler cfafaf8e57 Bug #539654: Correct params for recursive call inside gnc:html-table-append-column!.
Patch from Joachim Herb.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17255 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-05 20:41:21 +00:00
Andreas Köhler fead1da0b7 Fix -Wformat gcc warnings.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17254 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-07-04 00:42:00 +00:00
Andreas Köhler b3f9fe8534 Bug #144669: Lookup accounts in the register based on the account code as well.
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
2008-07-04 00:41:44 +00:00
Andreas Köhler 5c9826170f Remove dead function gnc_split_reg_check_close().
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
2008-05-22 01:46:56 +00:00
Andreas Köhler d0ddccaa01 Bug #452354: Translate account type option names of average balance report
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17155 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-13 23:23:49 +00:00
Andreas Köhler c7c3f3653c Bug #512991: Do not allow posting invoices to placeholder accounts.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17154 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-12 01:41:30 +00:00
Andreas Köhler c2cccd17c7 Do not close registers when creating a new account.
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
2008-05-11 23:22:52 +00:00
Andreas Köhler 37300535b6 Bug #528835: Harden gnc:txf-get-code-info when tax lookups fail.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17152 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-11 21:41:01 +00:00
Andreas Köhler 70efd54257 Bug #489502: When changing the account separator, let registers pick up the new char.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17151 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-11 17:31:24 +00:00
Andreas Köhler 4201814cea Correct quickfill direction in transfer dialogs.
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
2008-05-11 00:02:14 +00:00
Andreas Köhler eb55bb7dcc Update latest stable version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17147 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-05-01 21:20:56 +00:00
Andreas Köhler db91a80c93 Bug #467529: Fix Align_n by specifying pango widths and ellipse modes for check print texts.
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
2008-04-26 15:59:40 +00:00
Andreas Köhler b4d3f97c53 Bug #523922: Use correct scalable icon and add/fix 22x22/24x24 icons.
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
2008-04-25 23:19:33 +00:00
Andreas Köhler 218cc08ad0 Bug #529232: Do not reverse the starting balance in average balance reports.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17124 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-24 22:51:57 +00:00
Andreas Köhler 371fbe6daf Update AUTHORS.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17122 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-23 19:52:52 +00:00
Andreas Köhler cf5dcab629 Win32: Move definition of AQBANKING_PATH into make_install() as it is needed there.
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17121 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-21 20:59:59 +00:00
Andreas Köhler 7a3dc4ac7c SVK detection on Windows is not trivial :-)
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17120 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-21 20:59:50 +00:00
Andreas Köhler 862a0b12d3 Win32: Add flag UPDATE_DOCS to avoid running svn up for the docs each time.
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17119 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-21 20:59:42 +00:00
Andreas Köhler 15a8696f38 Win32: Add XSLTPROCFLAGS to be able to pass --nonet to xsltproc in make_chm.
Patch from Daniel Harding.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17118 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-21 20:59:31 +00:00
Andreas Köhler f52e803765 Free two GErrors after they have been logged.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17093 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-20 18:07:10 +00:00
Andreas Köhler 5904706297 Bug #347474: When tabbing off the last showed split, correctly focus new empty split.
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
2008-04-12 19:17:58 +00:00
Andreas Köhler bc3bd4a097 Bug #166101: Do not overwrite first split (blank_split) of a transaction.
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
2008-04-12 19:17:50 +00:00
Andreas Köhler f71b1e9e42 Free a few lists returned by gtk_container_get_children().
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17065 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-04-05 09:46:00 +00:00
Andreas Köhler 38b6a09fbc Improve cancel behavior in reconciliation window.
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
2008-03-29 13:38:19 +00:00
Andreas Köhler 3480393932 Avoid a critical warning in the transfer dialog.
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
2008-03-29 13:38:11 +00:00
Andreas Köhler 1abe022d06 Bug #475960: Reverse postponed reconciliation balances in suitable accounts.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17059 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-29 13:38:01 +00:00
Andreas Köhler 733d0dfe70 Fix two memory leaks in QOF. Add qof_backend_destroy().
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
2008-03-29 01:20:01 +00:00
Andreas Köhler 4f39c3173b Fix force_account_dirty() for hbci kvp updates.
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
2008-03-24 18:18:35 +00:00
Andreas Köhler 2b0953a4fb Avoid critical warnings in the import account matcher dialog.
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
2008-03-24 17:02:38 +00:00
Andreas Köhler dbef5e44cc Correctly destroy the XML Import Druid.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17042 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-23 22:09:22 +00:00
Andreas Köhler 7d5e0985f4 A few doxygen fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17041 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-23 00:01:05 +00:00
Andreas Köhler ecff4858c2 Fix/extend r17039 and make gnc_commodity_find_currency() free its temporary data.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17040 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-20 23:29:26 +00:00
Andreas Köhler 28d380651a Fix memory leaks in gnc_tree_view_account_restore() and gnc_commodity_find_currency().
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17039 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-20 23:15:04 +00:00
Andreas Köhler 8dd7d2d035 Remove some unnessary aqbanking version checks as we depend on >= 1.6.1.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17038 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-20 23:14:55 +00:00
Andreas Köhler f6c7e00ece Fix a potential memory leak in gnc_dialog_get_string().
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
2008-03-20 23:14:45 +00:00
Andreas Köhler 1dd7ec7480 Fix memory leaks after usage of gtk_tree_model_get().
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
2008-03-20 23:14:34 +00:00
Andreas Köhler 6c8fdb0561 Bug#521957: Do not start autosave timer when shutting down book.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17034 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-15 16:40:36 +00:00
Andreas Köhler 5b791e75fc Remove initial visibility of transfer dialog to avoid flickering.
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
2008-03-11 21:49:48 +00:00
Andreas Köhler 4460a5b33c Add gnc_quickfill_remove() and let account quickfill use that.
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
2008-03-11 20:41:15 +00:00
Andreas Köhler 92cd5985d3 Free a few GtkTreePaths that were leaked.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17026 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-11 01:00:55 +00:00
Andreas Köhler e48eba7089 Update reset.sh script to keep htmlhelp, but remove docs and libxslt.
Patch by Nathan Buchanan.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17025 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-10 07:07:06 +00:00
Andreas Köhler 1c6f9acd32 In reports menu, first list submenus, then menu items, both sorted lexicographically.
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
2008-03-09 22:43:40 +00:00
Andreas Köhler b6373ae509 In account selection widgets, use 2px spacing instead of padding around button.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17022 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-09 21:00:54 +00:00
Andreas Köhler 41422d4209 Bug#512841: Let expression parser grok nullary functions and not crash.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17021 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-09 20:38:42 +00:00
Andreas Köhler 78cb99bf3d Minor updates to README.svn; remove README.patches from gnucash.spec.in.
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
2008-03-08 20:04:46 +00:00
Andreas Köhler 5834cb4179 Add apps_gnucash_import_qif.schemas.in to POTFILES.in.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17015 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 19:45:28 +00:00
Andreas Köhler 095fadcbf3 Remove README.patches from Makefile.am, fixes build.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17014 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 19:15:01 +00:00
Andreas Köhler 795fac13d5 Remove make-gnucash-patch and only suggest svn diff' or plain diff -urN'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17012 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-08 17:17:47 +00:00
Andreas Köhler 78479c46cc Move month labels one row down to make them look like more in the center.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17007 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-04 00:25:19 +00:00
Andreas Köhler 278882eaeb Make a few date printing functions in dense calendar utf8-safer.
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
2008-03-04 00:20:16 +00:00
Andreas Köhler a53fecde93 Pass better size parameter to qof_strftime() to make use of whole buffer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17005 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-04 00:20:07 +00:00
Andreas Köhler 5d71a32820 Let dense calendar popups stay visible on whole height of bottom-most days.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17004 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-03 22:36:02 +00:00
Andreas Köhler 66e2262be6 Update latest stable version.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17003 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-03 22:10:25 +00:00
Andreas Köhler 2cbd6ccdd6 Improve performance of qof_query_invert().
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
2008-03-02 22:12:00 +00:00
Andreas Köhler 2820972c30 Bug#114591: Allow refinements of transaction searches.
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
2008-03-02 20:59:29 +00:00
Andreas Köhler ab90f381fd Bug#397108: Improve resizing of sx list panes, save and restore their sizes.
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
2008-03-02 19:43:51 +00:00
Andreas Köhler d6ea7c5685 Close tax information dialog with session.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16998 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-02 18:55:09 +00:00
Andreas Köhler ee24ae093d Remove an urgency_hint from a glade file, unsupported by gtk+ v2.6.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16996 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-01 23:27:51 +00:00
Andreas Köhler c7b8d7fa93 Bug#341608: Make txn report correctly match void or non-void txns.
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
2008-03-01 22:42:45 +00:00
Andreas Köhler f249ec8f3d Win32: Update a few gnome packages by revisions to profit from bug fixes.
This should fix at least #507784.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16991 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-03-01 16:27:33 +00:00
Andreas Köhler b27ce5df45 Bug#514003: Couple book closing with component manager.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16983 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-29 23:42:24 +00:00
Andreas Köhler e26b1d6bcf Always recreate pages in the given window.
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
2008-02-27 20:55:33 +00:00
Andreas Köhler 93ca33e0b5 Fix two typos in german account templates.
Patch by Nis Martensen.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16963 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-25 23:21:00 +00:00
Andreas Köhler 9fc4915ad2 Bug#327635: Let double-clicks in budget list dialog open selected budget.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16941 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-11 21:21:30 +00:00
Andreas Köhler fc16656981 Bug#506798: Sort html account tables by account code.
Patch by Christoph Ernst.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16940 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-11 20:35:18 +00:00
Andreas Köhler f3177be432 Initialize keyboard focus in sx editor dialogs to name entries.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16939 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-10 23:00:13 +00:00
Andreas Köhler df8e2501cf Ignore generated files in accounts/es_MX.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16938 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-10 22:26:50 +00:00
Andreas Köhler a0d287f250 Add key binding "delete key" to "Edit > Delete Account" action.
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
2008-02-10 22:22:59 +00:00
Andreas Köhler 74830145a8 Update copyright year in about dialog.
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16935 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-10 18:25:12 +00:00
Andreas Köhler ac20287d9a Make "rename page" action work again.
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
2008-02-10 18:22:29 +00:00
Andreas Köhler 440ef0516a Win32: Add setlocal to batch scripts.
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
2008-02-08 22:56:03 +00:00
Andreas Köhler b91805fd57 Win32: Detect and warn about ActivePerl 5.10 (#506873).
BP


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16931 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-08 22:23:25 +00:00
Andreas Köhler 326eee4cb6 Win32: Provide make_install.sh with some vars, make it more robust.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16930 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-06 23:38:37 +00:00
Andreas Köhler 05f0388610 Win32: Fix a minor typo in reset_steps().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16929 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-06 22:54:09 +00:00
Andreas Köhler 9ea5112f6c Win32: Factor out make_install step, add make_install.sh.
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
2008-02-06 22:50:56 +00:00
Andreas Köhler 4e87d41e05 #513088: Do not show search dialog and hide it immediately afterwards.
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
2008-02-03 00:59:11 +00:00
Andreas Köhler 7e5e56e1bb #512985: Use receivable and payable account types in german skr03 template.
Patch by Frank H. Ellenberger.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@16913 57a11ea4-9604-0410-9ed3-97b8803252fd
2008-02-02 23:48:49 +00:00
Andreas Köhler ed9e9a7e0d Convert de_DE account templates to UTF-8.
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
2008-01-30 00:13:55 +00:00