Commit Graph

9227 Commits

Author SHA1 Message Date
Neil Williams
2db3d294b4 Remove deprecated
glib function g_strncasecmp in favour of g_ascii_strncasecmp

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13570 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 17:04:24 +00:00
Neil Williams
91642e8fb7 Doxygen tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13569 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 17:03:57 +00:00
Neil Williams
26d6675b26 Update status; this
file will not exist in libqof2


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13568 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 17:03:40 +00:00
Neil Williams
abb2bd5473 Move qof_book_merge to new naming convention and deprecate old code
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13567 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 17:03:01 +00:00
Neil Williams
1a775d7119 Optional XSL stylesheets and support - prototypes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13566 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:54:44 +00:00
Neil Williams
32cd6f4716 allow recursive copying of gncEntry from a gncInvoice
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13565 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:50:39 +00:00
Neil Williams
be3244dd82 allow recursive copying of gncEntry from a gncInvoice
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13564 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:49:29 +00:00
Christian Stimming
04998d5e37 Add substitution code for unavailable function gettimeofday
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13563 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:44:11 +00:00
Christian Stimming
47c9948cd3 Clean up unused gettimeofday argument
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13562 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:43:02 +00:00
Christian Stimming
add320b37c Add svnignores
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13561 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:31:34 +00:00
Christian Stimming
df1f9b6306 Add substitution code for unavailable functions gettimeofday and gmtime_r.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13560 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:26:02 +00:00
Christian Stimming
7225164c60 Add compatibility ifdefs for unavailable functions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13559 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 16:06:49 +00:00
Christian Stimming
2f1333922f Reorder linking of engine libraries to avoid undefined references which are not allowed on windows
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13558 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 15:49:25 +00:00
Christian Stimming
3934e34aeb Add more linker flags, necessary for some platforms (windows)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13557 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 15:48:23 +00:00
Christian Stimming
e993e7256a Replace "ln -sf" by "$(LN_S) -f" for
systems that don't have symbolic links available.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13556 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-09 14:28:54 +00:00
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