Commit Graph

9444 Commits

Author SHA1 Message Date
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
David Hampton
808a35ae99 Andrew Sackville-West's patch to show zero balance entries in the
payables and receivables aging reports.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13612 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-12 22:23:40 +00:00
David Hampton
c9bd69b302 Andrew Sackville-West's changes to add the ability to lookup the
latest price before a specific date.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13611 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-12 22:18:28 +00:00
David Hampton
872a2cafa8 Replace the changes in r13361 with a better method for determining
when a change in the register needs to be reflected in the available
user actions.  Now updates the Void and Unvoid actions which
implements the enhancement request in 330763.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13610 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-12 21:54:04 +00:00
David Hampton
5af42fc6b1 Finish removing the redundant list of valid strings maintained by the
combocell and use the list in the item_edit widget.  Fixes the problem
where account cell contents disappear when focusing in/out of an
account cell.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13609 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-12 03:52:45 +00:00
David Hampton
a010fdf742 Update the quickfill to watch for accounts being added/removed from
the account tree.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13608 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-12 03:42:04 +00:00
Chris Shoemaker
37d086196d Restore some widget names that were lost in r9938 but still used by
dialog-transfer.c.   Added a warning to find more bugs like this one.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13607 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-12 03:38:27 +00:00
Andreas Köhler
5d58c5ce49 Fix order of parameters to gnc_ui_common_commodity_modal, and 334181.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13606 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 23:41:51 +00:00
Derek Atkins
fe14d8341c fix the build-order (and install order) of the engine libs.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13605 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 21:52:31 +00:00
Christian Stimming
dc57311bb9 Unify whitespaces in strings
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13604 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 21:07:38 +00:00
Christian Stimming
a96c566899 Updated Norwegian translation by Tor Harald Thorland; Translated 2431 out of 3729.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13603 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 20:54:21 +00:00
Derek Atkins
3c37fe7edd translate "Thank you.." string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13602 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 19:43:21 +00:00
Chris Shoemaker
d1d79562b8 Change the account removal event back to using the parent account instead of
the group, but delay the nulling of the account's group pointer until after
   the generation of the remove event.  That way, the tree model can verify
   that the removed account's root is the same as the root for the model.
   Also, in the model's event handler, check that accounts are in the same book
   as the model is for.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13601 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 19:39:16 +00:00
Derek Atkins
470625b385 Make sure we translate the button label string.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13600 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 18:10:19 +00:00
David Hampton
4d2d52413a The account tree model event handler needs to be more robust in the
case of multiple account sets existing at the same time. Pass the
account group instead of the parent account so that its possible to
determine which model a "top level" account belongs to.  Fixes 333866.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13599 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 17:30:54 +00:00
Andreas Köhler
2a3b4aa51f Unref the summary bar list store so that it gets deleted together with the combobox.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13597 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 15:52:45 +00:00
Andreas Köhler
b39a0305fc Avoid calculation of account period total for the top level account.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13595 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 15:23:19 +00:00
Chris Shoemaker
5fd25c0154 Invert sense of conditions involving g_setenv() since its return value
is different than that of setenv().  Also, convert last remaining uses of 
   setenv() to g_setenv().


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13594 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-11 01:23:43 +00:00
Derek Atkins
f3cbe0ce05 put ".links" into lib so rm -rf works properly from the top-level
of the source tree.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13593 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 23:32:53 +00:00
David Hampton
fc8d20214b Walk through the list of plugins installed in a window and uninstall
them before the window is destroyed. Fixes 333973.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13592 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 23:11:54 +00:00
David Hampton
cd7457cf8e Change the output from this file to use g_message instead of g_warning
so the --g-fatal-warnings argument doesn't trip over it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13591 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 23:06:17 +00:00
Derek Atkins
ec2d9622e7 gnc:get-account-from-full-name requires two args, not three (#334170)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13590 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 22:16:15 +00:00
Christian Stimming
60a2b55d60 I18n cleanup; improve wording to disambiguation the semantics of a bool checkbox.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13589 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 20:35:46 +00:00
Christian Stimming
defef8df47 Updated German translation - 3642 out of 3729 done.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13588 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-10 20:35:10 +00:00