Commit Graph

7712 Commits

Author SHA1 Message Date
Chris Shoemaker
d564f8b254 Improve GNOME desktop integration. Bug #342936
Patch supplied by Stanislav Brabec <sbrabec@suse.cz>.
 


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14251 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-29 22:07:10 +00:00
Chris Shoemaker
c23bf4c67a Fix a crash in the aging report. Breaks a string, but seeing English is
better than seeing a guile stack trace.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14237 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-29 19:24:38 +00:00
Andreas Köhler
2bb9dc0c8f Add wait_for_gzip to avoid reading from a file that is still being
written to by a child process, a race condition at the end of the xml
import druid.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14235 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-29 07:08:28 +00:00
Chris Shoemaker
2982e18f73 Move the error-handling of failure to initialize the engine from
gnc-engine.c to gnucash-bin.c.  This allows tests that call 
   gnc_engine_init() but fail to find a backend to still pass.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14232 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-29 04:52:23 +00:00
David Hampton
4a9eea2b4e New splash screen from Joshua Facemyer / Impressus Art
<faceman@impressusart.com>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14229 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-28 21:24:54 +00:00
David Hampton
21f7d7e3d2 Fix gcc4 complaint about unused return value of the write function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14227 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-28 21:21:11 +00:00
Andreas Köhler
c3b8cdcfc6 Move is_gzipped_file to
io-gncxml-v2.c. Extend try_gz_open to read from gzipped files.
 Let gnc_xml2_find_ambiguous and parse_with_subst_push_handler
 read gzipped files.
Add gnc_is_our_first_xml_chunk.
Remove "error" from
 argument list of gnc_xml2_find_ambiguous.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14217 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-28 17:47:12 +00:00
Chris Shoemaker
4cd8389f06 The description for the "sort_column" gconf key of the tree_views says,
"Possible values for this setting are the name of any column in this 
   dialog (see the column_order key) or the keyword 'none'."

   The third click on a column header removes the sorting by that column.  
   This patch will now store 'none' for the sort_column in that case.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14213 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-28 02:23:37 +00:00
Chris Shoemaker
f4c3a2499c Use GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID instead of '0' as the
fallback sort column, since column 0 may not be sortable with the 
   default sort function.

   Set the MODEL_COLUMN column property, even when it is -1, since 
   gnc_tree_view_set_sort_column() looks for this condition.

   Make the gnc_tree_view_count_visible_columns() function only count regular
   columns, so that the special columns don't count, but count any 
   DEFAULT_VISIBLE columns, even if they've been hidden by gconf.  That way, 
   the special columns will still show and allow the user to unhide columns.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14212 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-27 19:05:41 +00:00
Chris Shoemaker
564958f000 Add -avoid-version to LDFLAGS of gmodule backends.
Hopefully this will solve the problem Macs are having dlopen'ing them.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14210 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-27 14:19:48 +00:00
Andreas Köhler
a922906362 When the user chooses another default encoding, do not recheck the file for ambiguous words, but rather just resort what has been found before.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14209 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-27 10:44:50 +00:00
Derek Atkins
63dfe823fd QOF should load its own backend libraries.
It shouldn't depend on apps to load QOF libraries.
	  Make sure app-defined backends are used first.
	  Fix a memory leak in qofsession.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14208 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 21:45:10 +00:00
Derek Atkins
5d1ee59cfa force-exit gnucash if a required library can't be loaded.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14206 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 19:45:26 +00:00
Derek Atkins
177b31b397 load the qsf backend from the right place.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14205 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 15:41:38 +00:00
Christian Stimming
844fe5f7ad Remove version query that is obsolete due to the configure.in required version
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14204 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 12:57:30 +00:00
Christian Stimming
87d7c0ba7b Simplify calling the aqhbci setup wizard for aqbanking>=1.9.1 because we don't need to select an aqbanking backend beforehand.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14203 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 12:53:34 +00:00
Chris Shoemaker
514086e496 Load the file backend _after_ the qsf backend, so that it gets tried
_before_ the qsf backend, because the qsf backend prints some noisy error
   messages while figuring out that the gnucash file isn't a qsf file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14199 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 00:14:28 +00:00
Chris Shoemaker
97062a3b81 Merge 'misc-backend' -r 14160:14184 into trunk.
This includes the now semi-functional postgres backend.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14198 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-26 00:10:35 +00:00
Joshua Sled
970a56e37d Bug#340885: Disable skipping hidden accounts for the purposes of quickfill completion population.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14182 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-24 23:27:51 +00:00
Derek Atkins
1e9a1f874d Re-enable window sensitivity if the report fails. Fixes #341610
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14178 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-24 15:53:50 +00:00
Joshua Sled
a1b9dfe6c1 Bug#342182: change gtk-workaround check to be more specific in face of evidence.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14162 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-24 01:44:55 +00:00
Chris Shoemaker
22ce233d1b Fix Bug#342736 by replacing "make-shared-substring" with "substring".
Guile 1.8 automatically shares strings as copy-on-write and no longer
   provides the "make-shared-substring" procedure.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14159 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-24 01:25:30 +00:00
Chris Shoemaker
998edefcc8 Fix Bug#342546 by using the pref date format instead of locale.
Also prefix-pad fixed-width date formats with '0'.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14158 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-24 00:49:10 +00:00
Derek Atkins
38d01019bc re-add the test-druid menu item but leave it commented out
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14157 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-23 14:41:00 +00:00
Christian Stimming
54404b2794 Deactivate the "View Lots" menu item because the lot viewer is
unfinished as well.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14152 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-22 19:27:22 +00:00
Derek Atkins
4f88bb6db8 remove hook to test druid for 2.0 release.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14151 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-22 18:26:02 +00:00
Christian Stimming
7f40fabd27 Deactivate the "Close Books" menu item because that feature is
unfinished as well.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14150 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-22 18:21:48 +00:00
Christian Stimming
36309d980a Hide the "Export account chart as QSF" as well. Not ready for 2.0.0
due to e.g. bug#341559.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14148 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-22 18:14:21 +00:00
Christian Stimming
6b1efe5f06 Hide the "QSF Import" for the 2.0.0 release because it is not yet
finished. Can be activated again in the next developing HEAD branch.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14147 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-21 20:02:58 +00:00
Andreas Köhler
77d9ef8604 Extend gnc_file_dialog to take a GList of GtkFileFilters instead of a filter string. Allows patterns like *.[Qq][Ii][Ff] without messing up the dialog, fixes #336124.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14142 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-20 10:25:04 +00:00
David Hampton
816d9da11c Make the blue past/future dividing line thicker so that it is obvious.
Fixes #342051.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14138 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-20 03:41:18 +00:00
David Hampton
689cbc0613 Make the removal of scm_block_gc conditional on having guile 1.8
installed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14137 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-20 02:02:20 +00:00
David Hampton
74523d95e8 More of the patch from Bill Nottingham for compiling with guile 1.8.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14136 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-19 23:30:58 +00:00
David Hampton
4ec2cc45e7 This patch fixes almost all of the test-period errors. It still
sometimes gets an error because it generates an amount that can't be
represented with the denominator it has chosen, but there's not much
gnucash can do about that.  From #342153.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14122 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-18 02:06:36 +00:00
Andreas Köhler
e306f46288 Scott Oonk's patch to activate forward button in XML import druid after having decided on each ambiguous string. Fix #342050.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14098 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-17 21:54:45 +00:00
Derek Atkins
2810b01eb6 need to link against gnome-utils
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14080 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-15 22:21:06 +00:00
Joshua Sled
7a1963b83e Bug#341609: filter template transactions from general journal report query.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14066 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-14 23:24:06 +00:00
Joshua Sled
eaf1843061 add core-utils to test setup; test-load-xml2 fails for me (from make check) otherwise
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14063 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-14 22:39:37 +00:00
Joshua Sled
5076ac3da4 Re-enable test-period, as the lots-scrubbing code is commented out.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14062 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-14 22:25:45 +00:00
Chris Shoemaker
9b64ae68a7 Disable Lots scrubbing, which is causing test-suite failures.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14050 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-14 21:30:22 +00:00
Joshua Sled
381c7a6412 comment out test-period for the moment. :p
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14049 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-14 21:05:24 +00:00
Chris Shoemaker
9c714d3e12 Undo accidental revert of part of r13713 by r14026.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14038 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-14 11:59:39 +00:00
Chris Shoemaker
4c941fbefb Change the method for specifying and recording the default visibility of
tree-view columns.  There is now a per-column setting, "DEFAULT_VISIBLE",
   similar to "ALWAYS_VISIBLE", that controls the visibility of a column in 
   the absence of, or prior to, gconf management.

   It is no longer necessary for the tree view to store a list of column names
   for default visible columns.

   To faciliate the adaptation of pre-existing tree-views, the 
   view_column_find_by_name() has been publicized as 
   gnc_tree_view_find_column_by_name().

   All callers of gnc_tree_view_configure_columns() have been converted to use
   the DEFAULT_VISIBLE column property.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14037 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-14 02:07:52 +00:00
Chris Shoemaker
3dd0f96c60 Fixing bug #341589: Apparently, guile 1.8 will actually enforce the rule
that all datum portions of case-statement clauses be unique.  The syntax:
   'foo expands to a list of two symbols: (quote foo) 
   If both 'foo and 'bar are used, then the "quote" symbol won't be unique.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14034 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-13 04:52:09 +00:00
Derek Atkins
b2c7e1a016 Use QSF #defines instead of hard-coding the library name and init-fcn
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14031 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-12 16:18:23 +00:00
Christian Stimming
542a5511a2 Fix strings that mentioned gnucash-1.8
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14029 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-12 10:50:06 +00:00
Christian Stimming
fb3dcc5376 Add the Tools->HBCI Setup menu item to the register tabs as well. Bug#341510.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14028 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-12 08:41:01 +00:00
Chris Shoemaker
4ccc09c1c7 Fix Bug #341375.
When handling the focus-out event for a GtkCellEditable, it's important
   not to keep the editable alive for too long, because the cursor-blink
   timeout expects that the editable still has the focus.  The easiest way to 
   do this is to stop the editing immediately by calling 
   gtk_cell_editable_editing_done() and then handle all the real work from 
   the "editing-done" signal handler.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14027 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-12 01:47:12 +00:00
Chris Shoemaker
e4092bb349 Minor cleanups to gnc_counter_end_handler().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14026 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-12 00:28:34 +00:00
Chris Shoemaker
eff827a63b Cause gncla-dir.h to be re-made after a 'make clean'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14025 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-12 00:25:15 +00:00