Christian Stimming
f3a611d90a
Check for <glob.h> and provide own typedef if header unavailable.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13555 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 13:03:29 +00:00
Christian Stimming
80c1f04c80
Check for <X11/Xlib.h> and ignore code section if header unavailable.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13554 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 13:00:37 +00:00
Christian Stimming
a29250686d
Remove unused header include
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13553 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 12:59:16 +00:00
Christian Stimming
969bfe6065
Updated vietnamese glossary by Clytie Siddall
...
<clytie@riverland.net.au>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13552 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 12:22:18 +00:00
Christian Stimming
c33ac8c900
Add creation rules for po/gnucash.pot so that it can always be created for make dist.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13551 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 09:39:49 +00:00
David Hampton
59056ce619
Remove more functions to be deprecated in libqof2. (Pass Three - more
...
trivial substitutions and simple translations.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13550 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 06:08:02 +00:00
David Hampton
4b04137e7d
Never include "config.h" from a header file. Doing so makes it nigh
...
impossible to override configuration settings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13549 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 05:51:07 +00:00
Derek Atkins
45403651c5
Define and emit two new events when splits are added/removed from accounts.
...
* src/engine/gnc-event.h:
Add GNC_EVENT_ITEM_ADDED and GNC_EVENT_ITEM_REMOVED event definitions
* src/engine/Split.c:
Emit GNC_EVENT_ITEM_ADDED and GNC_EVENT_ITEM_REMOVED events
when a split is added or removed from an account.
* configure.in: depend on QOF 0.6.3 for proper event handling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13548 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 03:58:00 +00:00
David Hampton
61a12b2715
Remove more functions to be deprecated in libqof2. (Pass Two - more
...
trivial substitutions, some simple translations.)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13547 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 03:48:49 +00:00
Derek Atkins
db890792bb
Fix the definition of QOF_EVENT_BASE; use QOF_EVENT__LAST for tests.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13546 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 03:33:00 +00:00
David Hampton
41db89c516
Remove functions to be deprecated in libqof2. (Pass One - trivial
...
substitutions)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13545 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 02:29:29 +00:00
David Hampton
58cbae9911
Remove extra events added in r13483. This leaves the REMOVE event as
...
the only changed event.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13544 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 00:49:46 +00:00
Derek Atkins
9d84d59f97
gstdio.h and g_mkdir are in glib-2.6 -- use old APIs with glib-2.4.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13543 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 21:22:40 +00:00
Christian Stimming
9bcdddbe43
Replace setenv() by g_setenv for increased cross-platform
...
compatibility.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13542 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 16:00:09 +00:00
Christian Stimming
6ef3e79b63
Replace mkdir by g_mkdir for
...
increased cross-platform compatibility.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13541 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 15:59:46 +00:00
Christian Stimming
7ce02733e8
Replace index(3) by strchr(3) and rindex(3) by strrchr(3) because the
...
latter is more widely available.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13540 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 15:52:51 +00:00
David Hampton
1a2bd156cf
Use a font size of "smaller" when printing to the splash
...
screen. Should solve 104436 except for people running with huge system
fonts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13539 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 06:13:28 +00:00
Chris Shoemaker
a1b27bc933
More line-wraps, cleanups, factoring new function: xaccTransGetSplitIndex().
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13538 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 05:47:36 +00:00
David Hampton
9cc57ee534
Relabel column titles from "XXX (Report)" to a label that includes the
...
currency mnemonic (e.g. "Total (EUR)").
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13537 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 05:16:36 +00:00
David Hampton
fb9607fcbd
Cache the result of a gconf lookup for a currency choice. Add a new
...
callback hook for when a user changes a currency setting (default
account or report).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13536 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 05:14:54 +00:00
Chris Shoemaker
7f9bb0da7f
More line-wraps, cleanups and factoring.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13535 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 04:48:32 +00:00
David Hampton
31ce91dc27
More references to "Next" that should now say "Forward".
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13534 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 04:48:04 +00:00
David Hampton
348a74c07f
Change a reference to the Next button to now refer to the Forward
...
button.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13533 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 04:05:33 +00:00
David Hampton
1c2ae49da7
The account quickfill has multiple components to it, only one of which
...
was shared. Build and use a shared list store used by the
gnucash_item_edit widget (which is updated by signals sent when
accounts are added/deleted/modified.) With this in place, its not
necessary to rebuild two account quickfills for each open register
window when a gnc_gui_resume_refresh is called which eliminates an
O(2n) slowdown. This seems sufficient to close 120028.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13532 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 03:06:51 +00:00
David Hampton
d6d1815a70
Remove all usage of gnc_get_current_session / book / whatever except
...
at the very top level when the dialog is originally created. Tell the
component manager to delete the dialog when the session is
destroyed. Remove support for an old
url-that-generates-a-price-edit-window trick.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13531 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 02:26:53 +00:00
David Hampton
408f7d2779
Add a couple of calls to the component manager when closing the
...
current session.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13530 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 02:26:31 +00:00
Chris Shoemaker
a054fdf202
Minor line wraps and factoring.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13529 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 02:20:57 +00:00
David Hampton
4086eda561
Use the pointer to the commodity as a hash key instead of looking up
...
the commodity string and then hashing that. Fixes 332678.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13528 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-08 00:06:35 +00:00
Andreas Köhler
e278c02ea0
Add configure test for sys/times.h and corrected guid.c to check for that.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13527 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 23:15:04 +00:00
Neil Williams
0b82e85a4a
fix plural message error that msgfmt -c and KBabel missed
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13526 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 22:12:57 +00:00
Christian Stimming
3006050069
Make seed collection parts that depend on particular functions
...
#ifdef'd on that to enable easier windows/mingw32 porting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13525 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 22:01:35 +00:00
Christian Stimming
96dea8f6b7
Fix old libc substitution files, now needed for windows/mingw32
...
porting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13524 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 22:00:44 +00:00
Christian Stimming
0651fed036
Minor header include cleanups to enable easier windows/mingw32 porting
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13523 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 21:59:15 +00:00
Neil Williams
61b88d4b38
updated en_GB translation, 3724 translated
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13522 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 21:29:33 +00:00
Christian Stimming
6f88db60db
Updated Norwegian translation; 2234 out of 3724 done.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13521 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 21:27:54 +00:00
Christian Stimming
d802095f5a
Add po/gnucash.pot to EXTRA_DIST because the translation template is
...
needed in the tarball for translators.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13520 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 20:50:11 +00:00
Christian Stimming
1539b30176
Updated German translation - 3627 out of 3724 done.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13519 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 20:44:07 +00:00
Christian Stimming
5423190356
Improve i18n string for separator character sample
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13518 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 20:43:25 +00:00
Christian Stimming
782db97630
Update svn:ignore property
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13517 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 20:42:53 +00:00
Christian Stimming
fe1a3421e0
Update svn:ifnore property
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13516 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 20:41:49 +00:00
Andreas Köhler
fa6840b2d0
Disable sensitivity of style radio actions for registers with ledger_type different from LD_SINGLE, e.g. search registers and general ledgers.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13515 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 19:36:09 +00:00
Derek Atkins
2e658ee940
properly ignore the return value of fgets(). Fixes an FC4 error.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13514 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 15:19:19 +00:00
Chris Shoemaker
c2ae90cc94
Factor out and create new function: xaccAccountIsPriced() that does the
...
common STOCK, MUTUAL or CURRENCY check.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13513 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 05:31:54 +00:00
Chris Shoemaker
5badb824e6
When periodically checking for ui events, avoid creating a QofSession
...
if we don't already have one.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13512 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 04:45:46 +00:00
Joshua Sled
afdb00a6d1
Fix initial SX perf sensitivity.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13511 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 04:24:54 +00:00
Chris Shoemaker
15e375ad1c
Minor code factoring, line-wraps, control-flow simplifications, etc.
...
centered around split-register-load.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13510 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 03:41:39 +00:00
Joshua Sled
3ffc0a28a5
Bug#333532: Add multi-commodity SX support.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13509 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 03:40:02 +00:00
Chris Shoemaker
2f97e55f9f
Factor out one small piece of the huge gnc_split_register_load() into
...
new static function add_quickfill_completions().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13508 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 03:07:41 +00:00
Chris Shoemaker
a914a4da55
Factor out and create new function: gnc_commodity_is_currency().
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13507 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 02:42:12 +00:00
Joshua Sled
3f6896e82e
Mods for ebuild to be used as an SVN ebuild.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13506 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-07 00:39:29 +00:00