David Hampton
4905d06edc
Pass a dialog pointer through the scm code and back to the C error
...
display functions. This will parent the error dialog properly. Fixes
334929.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13662 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-18 00:39:17 +00:00
David Hampton
79e7cdff57
Enhance the quickfill event handler to detect changes in whether an
...
account should appear in the quickfill. Fixes 334787.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13661 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 23:26:13 +00:00
David Hampton
2cd27a1b6e
Add a "book saved" hook. Use this to update the window titles after a
...
file is saved. Fixes 334789.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13660 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 22:59:28 +00:00
Christian Stimming
199281f415
Clean up linker flags for optional packages as well
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13659 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 21:04:31 +00:00
Christian Stimming
7bab7e56c8
Remove unneeded extra directory separator
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13658 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 16:45:59 +00:00
Christian Stimming
4f1ca8bf41
I18n cleanup; mark forgotten strings for translation
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13657 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 14:49:27 +00:00
Christian Stimming
86f84804c0
Final batch of fixed linker arguments. The standard configuration now builds on windows.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13656 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 14:41:11 +00:00
Christian Stimming
a05c289785
Don't display an Error if there actually wasn't one.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13655 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 14:39:51 +00:00
Andreas Köhler
d421a2d947
Fix return value of get_corr_account_split and reverse the tests of its callers. Fix 334801.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13654 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 14:37:19 +00:00
David Hampton
88d9995f64
Use the stable sort function from Account.c to back up the user
...
selected primary sort column. Fixes 334595. Also collapse common
code, pull strings via the model, and use the utf8 collate function
instead of strcmp.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13653 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 05:37:33 +00:00
David Hampton
5420a183ad
Collapse duplicated code into a single function.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13652 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 04:25:24 +00:00
Andreas Köhler
d31b9d27c1
Add row_activated callback to commodity and price editor tree views. Fix 334661.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13651 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 22:47:30 +00:00
Andreas Köhler
34def736d9
Make register ui update unconditionally if in a GncEmbeddedWindow.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13650 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 22:03:58 +00:00
David Hampton
59bafed825
Add a wrapper function for g_utf8_collate that handles checking for
...
null pointers or null strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13649 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 20:26:53 +00:00
David Hampton
e544b849d1
Move the computation of accounting period balances into the model and
...
colorize it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13648 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 20:10:16 +00:00
Christian Stimming
7e80c52cd2
Add instructions for symbol lookup
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13647 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 15:38:46 +00:00
Christian Stimming
5e9b699a7a
Add more linker flags for referenced libraries. Necessary when
...
the required libraries are not inferred from the dependencies
by that particular libtool, e. g. on windows/mingw32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13646 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 15:25:12 +00:00
David Hampton
b5506a00c8
Treat the file name as utf8 when finding the file name for the window
...
title.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13645 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 03:43:06 +00:00
David Hampton
7e1d372f74
Don't create a new window for a page if there's already an open blank
...
window. Fixes 334672.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13644 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 02:42:51 +00:00
Derek Atkins
c7c57f38ae
Missed a backslash. Oops.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13643 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 20:59:52 +00:00
Derek Atkins
f8b67bd3f2
move file-backend dependency from core to core/file.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13642 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 20:33:49 +00:00
Andreas Köhler
3e41f8d965
Add a call to gnc_tm_set_day_end to correct initial ending balance in reconcile windows. Tiny comment typo in qof/gnc-date.h.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13641 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 20:16:13 +00:00
Derek Atkins
2edfa44813
Move sources to remove the libgw-engine dependency.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13640 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 17:29:09 +00:00
Derek Atkins
dde1437f81
* lib/libqof/backend/file/qsf-backend.c: add <locale.h>
...
Note: it think it's probably wrong to set the locale here.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13639 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 17:08:08 +00:00
Christian Stimming
3fee619945
More linker flags for libraries. More svnignores.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13638 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 16:57:29 +00:00
Christian Stimming
cc8a795330
Add more linker flags for referenced libraries. Necessary when the
...
required libraries are not inferred from the dependencies by
that particular libtool, e. g. on windows/mingw32.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13637 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 12:51:43 +00:00
Christian Stimming
bee767ba8b
Add more svnignores for .exe test executables
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13636 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 12:31:51 +00:00
Christian Stimming
eb06c72026
Remove include <ltdl.h> that is unnecessary for code using this header.
...
Gets rid of some <ltdl.h> weirdness that plagues other object code
files on windows.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13635 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 11:14:20 +00:00
Christian Stimming
f31ba70fe3
Disable extra NFS lockfile checking on windows due to
...
missing link(2). This is not a problem because on windows
there also is no NFS, and the open(O_CREAT|O_EXCL) is
sufficiently atomic for our purposes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13634 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 16:59:32 +00:00
Christian Stimming
91d927cfef
Add linker flags for libraries that are needed with some libtools
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13633 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 16:31:29 +00:00
Christian Stimming
bf4a0db296
Check for gethostid and lnk functions
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13632 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 15:21:02 +00:00
Christian Stimming
3f10f8cc00
Updated Norwegian translation by Tor Harald Thorland
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13631 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 14:28:43 +00:00
Christian Stimming
c4d5cfc28f
Disable file compression on windows due to missing pipe(2),
...
conditioned on #ifdef _WIN32. Insert code suggestion for windows,
but is disabled for now.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13630 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 11:00:05 +00:00
Christian Stimming
0744c4e591
Improve include order so that building without <glob.h> is possible.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13629 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 10:23:44 +00:00
Christian Stimming
29593a9e11
Add necessary include and linker flags when files from backend/file should be compiled here
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13628 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 10:19:55 +00:00
Christian Stimming
854551bf36
Remove unused include header
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13627 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 10:19:01 +00:00
Christian Stimming
0ee19589ac
Add svnignores
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13626 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 10:18:47 +00:00
Christian Stimming
1d87761986
Updated French translation by Didier Vidal.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13625 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 08:43:29 +00:00
David Hampton
094de8287b
Leave the accounts unordered in the engine. Switch the g-wrap
...
functions that return account lists to use new functions that return
sorted lists so that they see no change. Fixes 331855. Also change
the default account sorting to sort on utf8 strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13624 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 06:32:54 +00:00
David Hampton
765f18f478
Fix a warning message.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13623 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 06:08:47 +00:00
Neil Williams
2ae1e66504
bring library versions into line with QOF 0.6.3
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13622 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-13 22:56:53 +00:00
Neil Williams
41671fe8a9
Synchronise with QOF 0.6.3. Correct map handling to allow reverse operations and iteration over hierarchical objects. Improving debug messages and preventing a crash when loading a map directly. Standardise QSF backend on gint and gchar. Add new map file.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13621 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-13 22:52:02 +00:00
Christian Stimming
f968a871ea
Updated German translation - 3650 out of 3749 done.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13620 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-13 21:16:29 +00:00
Christian Stimming
81225210cb
Improve wording. Mark all strings for i18n.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13619 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-13 21:11:52 +00:00
Andreas Köhler
8d45bae07c
Save a QofBook instead of its GUID in the list of books in plugin pages. This should renable the deletion of some plugin pages.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13618 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-13 17:07:12 +00:00
Christian Stimming
7da11565e0
Reduce debug stack size from 2,000,000 to 200,000 because guile on windows will only accept the smaller value.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13617 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-13 16:54:14 +00:00
Christian Stimming
1a1d2fd474
Add linker flags in test programs for platforms where they are not inferred by libtool
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13616 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-13 15:20:02 +00:00
David Hampton
b486969db6
Add a new per-page callback to tell the page to finish any pending
...
activities. The page may return FALSE to abort whatever the caller's
normal function. Add helper routines to iterate over all pages in a
window, or all pages in all windows. Call these new functions before
Quit, Save, Close, and closing a window. The register page now
implements this hook and uses it to save/discard any pending
transaction. Closes 334090.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13615 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-13 04:37:58 +00:00
David Hampton
18b1188dbb
Tweak a couple of tooltips. Try and make it clear that the commodity
...
mnemonic field must exactly match that used by the quote source.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13614 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-12 22:49:53 +00:00
David Hampton
2307a95bde
Andrew Sackville-West's patch to tidy up the multi-currency handling
...
quite a bit. It also adds some functionality such as showing the
basis, realized and unrealized gains, and takes advantage of the new
gnc_pricedb_lookup-latest-before function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13613 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-12 22:46:00 +00:00