Commit Graph
8805 Commits
Author SHA1 Message Date
Joshua Sled 443571f859 Fix file-backend options; respect runtime value changes. Fix file-compression option name in prefs dialog.
2006-02-04  Joshua Sled  <jsled@asynchronous.org>

	* src/gnome-utils/glade/preferences.glade: Fix name of
	file-compression option.

	* src/backend/file/gnc-backend-file.c (gnc_backend_new): Setup
	option initial values; register configuration-change notification.
	(retain_changed_cb, compression_changed_cb): Add.

	* src/backend/file/gnc-backend-file.h (struct FileBackend_struct):
	Move backend options into backend struct.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13097 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 17:56:23 +00:00
Chris Shoemaker 9291a1a514 Hook-up the new budget value estimation dialog.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13096 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 16:34:57 +00:00
Chris Shoemaker 186c3c0f50 New dialog for estimating budget values from past transactions.
Minor string and glade tweaks.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13095 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 16:32:30 +00:00
Chris Shoemaker 17927cdfe8 gnc_date_edit_set_gdate(): A GDate setter for GNCDateEdit is useful, too.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13094 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 16:29:00 +00:00
Chris Shoemaker 0219a9d23e Add getter gnc_date_edit_get_gdate() for getting the value of a GNCDateEdit
widget as a GDate.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13093 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 15:17:51 +00:00
Chris Shoemaker edb52e4d32 Factor out some code from gnc-budget into Recurrence so that the budget
estimation code can use stand-alone recurrences to estimate budget values.
  Also, tweak the initial budget so that it begins at the beginning of the 
  current month.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13092 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 15:12:09 +00:00
Chris Shoemaker bbb8d1be33 Teach PrintAmountInternal() to correctly handle a reciprocal denominator.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13091 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 15:06:19 +00:00
Chris Shoemaker 85a99a1987 Add some test-cases for gnc_numerics using the reciprocal denominator.
Even though we don't explicitly ask for this representation, certain
   calculations (e.g. those involving GNC_HOW_DENOM_SIGFIGS in the loan    
   druid and soon in budgets) will return numbers using this representation.

   Unfortunately, these numbers aren't handled correctly by most of the
   gnc_numeric functions, like the ones for comparison, equality testing,
   arithmetic and conversion.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13090 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 05:37:50 +00:00
Chris Shoemaker 5631500dda Use the string cache for budget name and description.
Dirty the book when the budget changes.
   Remove some obsolete budget code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13089 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 21:29:06 +00:00
David Hampton bf7d801c00 Re-title the search dialog based upon the menu used to invoke it.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13088 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 14:45:47 +00:00
David Hampton 109f83f517 Filter out another post gtk2.4 property.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13087 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 07:19:55 +00:00
David Hampton 665e684050 Andreas Köhler's patch to allow explicit specification of which
columns in a tree view expand.  Updated to automatically mark a column
as expandable if it is the only visible column.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13086 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 06:26:50 +00:00
David Hampton 8b49655349 Change the default visibilities of the GncTreeViewAccount widget to
only show the account name column.  This is the most commonly used
case for this widget.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13085 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 04:38:01 +00:00
Joshua Sled 0324351b44 Fix overall and ".log"-specific file-retention issues: Bug#329670 (++).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13084 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 02:09:29 +00:00
David Hampton b9724e3063 Don't call g_utf8_strlen with a NULL pointer.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13083 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 00:47:40 +00:00
David Hampton 6e63f6b452 Better handling in the model event handling functions. Noticeable in
the commodity and price trees when adding/deleting the first/last
item.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13082 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 00:31:50 +00:00
David Hampton 88aff74d31 Fix a crash when manipulating commodities before crating the first
account.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13081 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 00:28:16 +00:00
David Hampton fa0b6374c3 Re-enable events before processing the book-opened hook. Solves some
strange problems in the account


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13080 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-03 00:24:26 +00:00
Chris Shoemaker 9b20cbd6d2 Allow make-gnucash-potfiles to run from directories other than srcdir.
Better documentation of exactly what m-g-potfiles excludes, and a general
   clean-up of the script.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13079 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 18:47:34 +00:00
Derek Atkins 3c92b8702f Specify the output xml encoding as utf8.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13078 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 15:55:16 +00:00
Derek Atkins 01d822475c Copy the mt940 UI Data into the dist tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13077 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 14:39:09 +00:00
Derek Atkins 0fe77b9c0e Copy the HBCI UI Data into the dist tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13076 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 14:35:41 +00:00
Derek Atkins 8317f2a72b Copy the OFX UI Data into the dist tarball.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13075 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 14:34:43 +00:00
Derek Atkins eb7c14d20b No need for the blank SUBDIRS +=
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13074 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 04:12:19 +00:00
Derek Atkins 06824ca8f5 Disable testing of the (not finished) qif import re-write.
(the tests fail on amd64).  Since this code isn't used,
yet, there's no need to actually run these tests.  But let's
distribute the code anyways....



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13073 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 01:22:23 +00:00
Chris Shoemaker c95bd2c9cc Check for any accidentally-distributed files not marked for translation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13072 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-02 00:07:58 +00:00
Derek Atkins 7ecd0df390 Allow specification of invoice sub-type when creating search dialog (#117354)
* src/gnome-search/dialog-search.c:
	* src/gnome-search/dialog-search.h:
	  Modify the gnc_search_dialog_create() API to add an optional
	  "type label" parameter, so you can manually set the string
	  presented to the user for what they are searching for...
	* src/business/business-gnome/dialog-order.c:
	* src/business/business-gnome/dialog-vendor.c:
	* src/business/business-gnome/dialog-customer.c:
	* src/business/business-gnome/dialog-job.c:
	* src/business/business-gnome/dialog-employee.c:
	* src/gnome/dialog-find-transactions.c:
	  Pass NULL into new search API parameter
	* src/business/business-gnome/dialog-invoice.c:
	  Modify how we call the search dialog.  Send in different
	  sets of parameters depending on whether we're searching for
	  a Customer Invoice, Vendor Bill, or Employee Expense Voucher.
	  Pass in a type_label as well so the dialog can properly label
	  the "new" button.  This fixes the UI Bug #117354.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13071 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 22:57:30 +00:00
Chris Shoemaker 48a51e7492 Add POTFILES.skip to EXTRA_DIST.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13070 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 22:38:41 +00:00
Derek Atkins 757ab689ca Re-sort an invoice entry list when an entry date changes (#320566)
* src/business/business-core/gncInvoice.[ch]:
	  Add new API: gncInvoiceSortEntries()
	* src/business/business-core/gncEntry.c:
	  re-sort the parent when the entry date changes.
	  Only re-sort when the existing date is non-zero (i.e.
	  don't re-sort on the initial setting of the date).
	  Fixes #320566.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13069 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 21:49:06 +00:00
Derek Atkins 5c94f54a4b Need to put the new split into the txn as well as the acct
before we call xaccSplitSetBaseValue().  Fixes #325890.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13068 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 21:23:54 +00:00
Chris Shoemaker c4dd32e179 Don't translate obsolete files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13067 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 20:33:36 +00:00
Chris Shoemaker d814359990 When generating POTFILES.in, don't include files we don't want to translate.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13066 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 20:32:11 +00:00
Chris Shoemaker 53b5dc8ef7 Fail 'make distcheck' if POTFILES.in contains undistributed files.
The failure will also helpfully explain which files are the problem.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13065 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-01 20:30:14 +00:00
Christian Stimming b48336d9ee Update German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13064 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 21:04:22 +00:00
Christian Stimming 346a5d1fb8 String improvements: Add missing whitespace
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13063 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 21:04:07 +00:00
Christian Stimming ff1fbc9685 String improvements: Make question a bit clearer, hopefully
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13062 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 20:47:42 +00:00
Christian Stimming ed99c666fe String improvements: Add missing whitespace
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13061 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 20:45:49 +00:00
Christian Stimming 97c38aeb89 Revert erroneous ngettext change; ngettext changes the text, but not the format arguments
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13060 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 20:27:02 +00:00
Christian Stimming 100dcd40cf Updated Greek translation by Nikos Charonitakis <nikosx@gmail.com>
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13059 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 19:52:43 +00:00
Derek Atkins 1adcc37a8a Get libqof to link against glib and gmodule.
* configure.in: include gmodule in GLIB_LIBS
	* lib/libqof/qof/Makefile.am: link libqof against glib.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13058 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 16:29:01 +00:00
Joshua Sled 665c3b0dbb fix compilation breakage; comment tyop.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13057 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 13:16:26 +00:00
Chris Shoemaker abbc6b6197 Don't add markup to tax report titles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13056 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 03:41:01 +00:00
Joshua Sled 32790cb169 Do the Locale-two-step to fix graphs in non-C-locales. Bug#328773.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13055 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-31 03:34:26 +00:00
Christian Stimming 232906bebc Update German translation
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13054 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 21:01:05 +00:00
Derek Atkins da38b024da Need to insert splits into accounts before called xaccSplitSetBaseValue().
* src/business/business-core/gncInvoice.c:
	  Make sure to insert new splits into an account before we
	  set the Base Value..  Otherwise it will fail to set the
	  value properly.  Closer to fixing 325890, but it's still
	  not completely fixed.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13053 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 17:17:33 +00:00
Neil Williams 5588942b31 en_GB update, 3645 of 3645 translated
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13052 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 16:40:25 +00:00
Joshua Sled 89348c97f2 Change since-last-run final-page text from "apply" to "Apply". Bug#329125.
Incidental ./glade-fixup changes to print.glade.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13051 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 14:47:04 +00:00
Derek Atkins ff3e769845 Um, there is no "PDEBUG()", only "DEBUG()". Oops.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13050 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 06:43:41 +00:00
Derek Atkins 8a0f2cf7e3 Clear up the billterm data lossage (due to a broken enum definition).
* src/business/business-core/file/gnc-bill-term-xml-v2.c:
	* src/business/business-core/file/gnc-bill-term-xml-v2.h:
	  Add a new API to "find-or-create" a billterm so all the
	  code is collated in one location.
	  Add more debugging during the scrub phases.
	* src/business/business-core/file/gnc-invoice-xml-v2.c:
	* src/business/business-core/file/gnc-vendor-xml-v2.c:
	* src/business/business-core/file/gnc-customer-xml-v2.c:
	  Use the new bill-term find-or-create API
	* src/business/business-core/gncBillTerm.c:
	  add some additional debugging
	* src/business/business-core/gncBillTerm.h:
	  The Billterm Type ENUM must start at 1, not zero.  The data file
	  now appears to properly save itself without destroying data.
	  Fixes rest of #328790.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13049 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 05:57:08 +00:00
David Hampton 7940c68a7a Make the cut/paste change compile on gtk 2.4 systems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13048 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-01-30 04:57:46 +00:00