Commit Graph

2582 Commits

Author SHA1 Message Date
David Hampton
a25c54896e Don't allow the user to open the current log file. Fixes #337211.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13824 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-22 00:57:03 +00:00
David Hampton
3b9d56fe93 Don't allow a report page to be closed of it is in the process of
reloading.  Make the close buttons on the notebook tabs insensitive
when the rest of the UI is insensitive. Fixes 339327.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13823 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 22:55:05 +00:00
David Hampton
8de7eaa17b Make the "Welcome to GnuCash" report menu item build the entire
report, instead of just the first sub-report.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13822 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 21:14:18 +00:00
David Hampton
1b16f1e3ad Correctly save and restore multicolumn reports. Fixes 327627.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13821 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 19:21:40 +00:00
David Hampton
8f61cbcac4 Remove translatable flag from a temp label.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13819 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 15:25:36 +00:00
David Hampton
095729af58 Add a tooltip for the "hidden" option in the Edit Account dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13817 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-21 15:07:28 +00:00
Chris Shoemaker
227f515afc Revert r13797 so that it can be recommited as logical, documented changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13811 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-20 01:37:50 +00:00
David Hampton
95995638b2 If the report already has an id assigned (i.e. restored reports) then
add it to the table using that id.  Only generate ids for reports that
don't have them yet.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13810 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-20 00:05:00 +00:00
David Hampton
1e53468d1e Don't call shutdown directly from the delete_event handler, but use a
periodic idle function that checks to insure that gnucash isn't saving
the data file before calling shutdown.  Fixes 338952.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13809 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-19 22:28:04 +00:00
Christian Stimming
4297f61c06 New French Swiss account templates by Jonathan Ernst
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13808 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-19 19:35:33 +00:00
David Hampton
eec68c5f5f Parse the old ~/.gnome/GnuCash MDI document file to see which 1.8
reports should be opened the first time gnucash2 starts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13803 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-19 02:35:39 +00:00
Christian Stimming
bedc9ccde5 Updated French translation by Jonathan Ernst
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13802 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-18 19:28:30 +00:00
Christian Stimming
406b8941ba Added French glossary by Jonathan Ernst
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13801 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-18 19:27:37 +00:00
Derek Atkins
58d55d0822 Two string fixes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13800 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-18 18:05:14 +00:00
Neil Williams
293e60d88f Final changes for QOF 0.6.4 - Improvements in map handling.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13797 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-17 13:06:33 +00:00
Chris Lyttle
b58efd00d1 update to release 1.9.5
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13794 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-16 23:32:30 +00:00
Derek Atkins
4921f27c79 Add new files to make the string freeze that define the
interface to choose a customer or vendor for a hand-entered
	  transaction.  Hopefully we can simplify the input by allowing
	  users to enter a transaction directly and assigning it to a
	  customer/vendor by hand (rather than going through the business
	  interfaces).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13793 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-16 22:25:39 +00:00
Derek Atkins
cf565e278c need to #include gmodule.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13791 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-15 23:21:37 +00:00
David Hampton
54374be00d Replace "commodity" with "security" where it is user visible. If its
possible to determine that the user is operating on a currency instead
of a commodity, update titles/labels to specify "security". Fixes
338382.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13789 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-15 21:26:56 +00:00
David Hampton
c29ce7478d Clean up the xml file some by dropping empty kvp strings/frames and
'false' placeholder values.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13788 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-15 18:50:59 +00:00
Andreas Köhler
ff513a4fcc Fix to compile on systems with glib < 2.9.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13787 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-15 18:10:22 +00:00
David Hampton
dc28af130f The kvp_frame_get_string() function returns a pointer to an internal
string.  Mark it 'const' to prevent callers from trying to free it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13786 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-15 16:40:03 +00:00
David Hampton
39fad14808 Add a per-account "hidden" flag, and update the accounts page and the
account quickfill to respect this flag.  Also flip the "hide zero
balance" flag to a "show zero balance" flag for symmetry.  Implements
87077.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13785 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-15 03:52:44 +00:00
David Hampton
e1fdd98f98 Allow the account tree view callback to run in addition the the page
callback.  Fixes 303995.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13784 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-15 00:14:19 +00:00
David Hampton
da7b7787c0 Clarify text regarding the lines in the register. Fixes 338479.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13783 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 22:56:06 +00:00
David Hampton
8fd1f3a93a Fixes to compile with gcc4.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13782 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 22:44:28 +00:00
Andreas Köhler
14ce276877 Initial support to decode old, ambiguous data files, missing an encoding declaration, with the help of the user.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13781 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 17:38:57 +00:00
Derek Atkins
d9c78bd0fe Fix a bunch of 64-bit compile issues.
* src/engine/Transaction.c:
	* src/engine/test/test-date.c:
	* src/backend/file/test/test-dom-converters1.c:
	  Fix 64-bit compile: Use G_GUINT64_FORMAT instead of %llu or lld
	  for Timespec seconds.
	* src/app-utils/gnc-ui-util.c:
	  Fix 64-bit compile issues:
	  - Use QOF_SCANF_LLD instead of GNC_SCANF_LLD.
	  - Use QOF_SCANF_LLD and G_GINT64_FORMAT properly.
	  - replace %lld with G_GINT64_FORMAT



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13780 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 16:45:10 +00:00
David Hampton
4ee1e008a8 Add a new event for when a split associated with account is changed.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13779 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 05:37:34 +00:00
David Hampton
5d4b4c7b22 Improve the performance of the listen_for_accounts function. Never
rebuild the list_store from scratch as the time required to sort each
account insertion takes forever with a large number of accounts.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13778 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 05:36:42 +00:00
David Hampton
5f3491f7d3 Finish cleaning up old uses of NS_ISO. Use the C is_currency function
for both C and Scheme calls.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13777 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 03:49:14 +00:00
David Hampton
9c24273f83 Replace NS_ISO with NS_CURRENCY. This substitution was already
performed by the called functions, so there this change is purely
cosmetic.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13776 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-14 02:36:00 +00:00
Andreas Köhler
9b47d47ec4 Fix loop of split account reassignments in xaccGroupMergeAccounts, because the commit of one split will change the list itself. Potentially fix 337048.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13773 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-13 19:39:37 +00:00
David Hampton
751e720a9f Update the determination of what's a currency and what isn't. Fixes
337804.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13771 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-12 15:22:57 +00:00
Andreas Köhler
8b4f3a1570 Fix leakage of old books.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13769 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-11 20:49:35 +00:00
Derek Atkins
dd321449ce * lib/libqof/qof/qofbookmerge.c: fix a few memory leaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13768 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-11 15:20:04 +00:00
Derek Atkins
422bf34bfe Get gnucash to build properly with the new QOF changes (0.6.4+)
* src/backend/file/sixtp-utils.c:
	  use QOF_SCANF_LLD to read 64-bit numbers.
	* src/gnome-utils/QuickFill.c:
	* src/engine/gnc-pricedb.c:
	* src/engine/Transaction.c:
	* src/engine/gnc-commodity.c:
	  convert gnc_string_cache* APIs to CACHE_* APIs.
	* src/engine/Account.c:
	  Properly convert usage of SAFE_STRCMP() to safe_strcmp()
	* src/engine/kvp-scm.c:
	  #include <qof.h> instead of <kvp_frame.h>
	* src/engine/gnc-engine.c:
	  Update the method used to shutdown QOF.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13765 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 22:20:12 +00:00
Derek Atkins
f9d1f3e42f Create a QOF_SCANF_LLD (because we cannot use the printf version).
Keep the deprecated GNC_SCANF_LLD defined in terms of the new
QOF_SCANF_LLD.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13764 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 22:13:46 +00:00
Derek Atkins
5028d178ea Revert r13749. Wedon't need to explicitly #include glib.h
because qof.h includes it for us.  Also, this changeset contains
lots of other stuff that has nothing to do with glib.h.  Note
that this revision wont build, but I'll fix that shortly.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13763 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 21:49:44 +00:00
Derek Atkins
18700492c5 Back out r13752. We don't need to explicitly #include glib.h
because qof.h includes it for us.  Besides, it doesn't fix
the whole problem.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13762 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-10 21:14:34 +00:00
David Hampton
454aabb1bd Eliminate some unnecessary work by comparing the account name in the
quickfill with the actual account name, and only rebuilding the
quickfill if they differ.  This improves GnuCash's response somewhat,
but still needs more improvement.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13758 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-08 23:52:20 +00:00
David Hampton
3dacd15900 Include the svn revision number in the about dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13754 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 23:39:53 +00:00
Derek Atkins
aaa13ff290 * lib/libqof/qof/qof.h: QOF requires <glib.h>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13753 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 19:46:36 +00:00
Neil Williams
ba61372f97 Replacing deprecated code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13750 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 18:52:28 +00:00
David Hampton
f17cbc8281 Patch from chpe@gnome.org to use the gtk_show_about_dialog to avoid an
inconsistency in the GtkAboutDialog code. Fixes 337634.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13744 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 15:53:52 +00:00
David Hampton
dcf55d0a40 Generate the gnc:count-data tags by hand so that the attribute will be
written properly with all versions of libxml2.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13743 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-07 04:26:59 +00:00
David Hampton
f31638e1cd Make the entire UI (menus and toolbar) insensitive when the progress
bar is showing.  Replaces the code to make the Save/Save As menus
insensitive while saving.  Should prevent a whole class of bugs caused
by gtk commands sneaking in and causing non-recursive code to be
entered recursively.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13741 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-06 03:44:50 +00:00
Chris Lyttle
7f6ca4d36c update to release 1.9.4
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13739 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-06 03:02:49 +00:00
David Hampton
79c0b4f77d Serialize access to the "Save" and "Save As" commands. Fixes 148905.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13732 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-03 22:26:39 +00:00
David Hampton
73e481da0c Use the name "Currency" internally instead of ISO4217. Make it
possible to edit the "get quotes" flag on currencies.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13731 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-04-03 21:39:25 +00:00