Commit Graph

8873 Commits

Author SHA1 Message Date
Neil Williams
325d74fd90 Improve documentation of QofBackendProvider
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13116 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:58:38 +00:00
Neil Williams
bd4211ad2e support logging of qofchoice by default
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13115 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:58:13 +00:00
Neil Williams
9a66ebdf0b line-wrapping tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13114 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:57:28 +00:00
Neil Williams
6e50303f69 ignoring generated symlink 'g-wrapped' in svn
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13113 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:51:04 +00:00
Neil Williams
baeb72b172 reverting change to qofsession.c from r13084, already replaced in r13097
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13112 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:48:12 +00:00
Neil Williams
0a388ef203 New test for recursive copying of entities between sessions
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13111 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:13:37 +00:00
Neil Williams
5cd32c9228 typos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13110 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 10:12:21 +00:00
David Hampton
fab1d29944 Get gnucash to compile with gcc4.1.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13108 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 03:17:28 +00:00
Derek Atkins
52514db6fa Some gnc-numeric fixes (more to come).
- Fixes for handling reciprocal values.
	  - Mark a lot of places where potential overflow bugs
	    are not handled.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13107 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 01:41:27 +00:00
Joshua Sled
0f39ebdeeb fix gnc:numeric lexical range.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13106 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-05 00:16:38 +00:00
Joshua Sled
8f79f2da9a Emit all used namespaces; add XML datafile schema.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13105 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 23:56:56 +00:00
David Hampton
4330d520fd Don't just install the schema files, also install the gconf objects
into the database. Reverts accidental change made as part of r12863.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13104 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 22:44:38 +00:00
David Hampton
247cb10afd Remove extra close parenthesis.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13103 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 22:41:21 +00:00
Joshua Sled
17e78bdd29 Seperate report titles from headlines; leave title as a string, use headline for richer markup. Related to Bug#329369.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13102 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 20:49:00 +00:00
David Hampton
cb3d92579e Add disambiguating prefix to the single letter column titles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13101 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 20:46:32 +00:00
David Hampton
21adfc1779 Dave Herman's patch to fix #327630 by copying missing "function"
(gnc:html-document-set-style!) from the plain to both the "fancy" and
"easy" stylesheets.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13100 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 20:36:56 +00:00
David Hampton
ea587fdf3c Fix a couple of comments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13099 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 20:22:38 +00:00
David Hampton
311f5bdd57 Andreas Köhler's patch to perform the i18n on column headers before
calling the generic tree view code instead of performing it a couple
steps removed. It also introduces the translatable strings "P"
(placeholder) and "Q" (quotes) used in toggle column headers.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13098 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-02-04 20:22:03 +00:00
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