Commit Graph

9811 Commits

Author SHA1 Message Date
Derek Atkins
3366829dc2 Move the GLIB26 compatibility checks to configure.in.
Just modify GLIB_LIBS and GLIB_CFLAGS so everyone properly
	  links against the glib26 compatibility library when necessary.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14330 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-05 03:39:54 +00:00
David Hampton
d982c50662 Don't ever reference lib/glib26 if the host system has glib 2.6 or
better installed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14328 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-05 02:44:25 +00:00
David Hampton
e5c0029700 Add lib/glib26 to the include and library paths.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14327 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-05 01:48:35 +00:00
David Hampton
025df33973 Include gkeyfile.h instead of explicitly declaring a data type. This
prevents include file ordering problems.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14326 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-05 01:47:16 +00:00
David Hampton
64911600c8 Add bug id.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14324 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 23:34:19 +00:00
Derek Atkins
fd31b7caa7 swap the #includes so it builds on FC3 w/ glib-2.4
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14323 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 22:25:59 +00:00
Joshua Sled
34aacb502b Use UTF8_STRING for copy/pastes, as it's at least 4 whole characters better than just "STRING".
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14322 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 21:43:45 +00:00
David Hampton
f92d3b19bb If the g2 file history list is empty, then copy the file history list
over from Gnucash 1.x gnome settings file.  #342724.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14321 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 21:02:26 +00:00
Joshua Sled
003e41da06 Bug#333299: Handle selections more correctly in a utf8 world, within GnuCash at least.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14320 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 18:27:24 +00:00
Joshua Sled
32cf6165e4 Bug#343795: Treat all numbers in a auto-decimal-point-safe way.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14319 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 15:01:33 +00:00
Andreas Köhler
6a590e818a Add gnc_html_copy and enable report pages to copy to clipboard. Fixes
#343645. Readd descriptions for Cut/Copy/Paste actions in register
pages.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14318 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 12:23:58 +00:00
Derek Atkins
4abbcdee4e Properly round values when setting the Base Value. Fixes #337505.
(also fix a string, but the fixed string is already translated so
shouldn't be a problem).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14317 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 05:15:08 +00:00
Joshua Sled
9a27b5a625 Bug#343772: Re-enable View Lots; disable 'View' button. Fix clist/lot-title handling bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14316 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-04 00:51:35 +00:00
David Hampton
736f0c2d02 Only use the amount of space required to show all the entries in the
popup, not all the available space. Fixes #343242.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14309 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-03 21:20:52 +00:00
David Hampton
dce5945569 The register code shouldn't process any keystrokes that have a
"modifier" (e.g. Alt, Meta, etc.) key pressed.  This allows
Alt-Ctl-Pgup/Down in a register to change the notebook page, just like
from the accounts page. Also remove some dead code.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14308 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-03 19:58:18 +00:00
Chris Shoemaker
7b07c2e238 When loading the gmodule backends from the test suite, look in ../.libs
for the real module.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14302 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-03 14:51:10 +00:00
Chris Shoemaker
89f37371d9 Disable support for the old binary file format.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14301 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-03 13:42:53 +00:00
Andreas Köhler
8ef848f7f8 Link gnome-utils against backend/file and remove symbol lookup in
druid-gnc-xml-import.c.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14300 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-03 08:59:51 +00:00
Andreas Köhler
d769b6b4ee Add GDK_Menu as shortcut for showing register popups. Fixes 343244.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14299 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-03 08:27:01 +00:00
David Hampton
e2a2770110 The progress bar changes size when text is added/removed. Prevent
these changes by setting the text to a single space when there is no
text to display.  Fixes #343455.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14298 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-02 21:43:18 +00:00
David Hampton
683d667074 Limit the reconciliation date to the past or today, never the future.
Fixes #343527.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14297 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-02 21:02:43 +00:00
Derek Atkins
acba90be80 Refactor the file backend into a shared library and a loadable module.
This should let us build on both Win32 AND MacOS, and means we don't
need to compile the file-backend sources multiple times.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14296 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-02 01:50:02 +00:00
Derek Atkins
5b46825ad2 * po/nb.po: updated Norwegian Bokmål translation by Sigve Indregard
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14289 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-01 23:06:01 +00:00
Derek Atkins
ecf8603602 * configure.in: Don't need to patch libtool for darwin anymore.
Patch by David Reiser.
	* src/gnome-utils/dialog-preferences.c: fix non-C99 construct so
	  the file builds again.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14288 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-01 21:02:42 +00:00
Andreas Köhler
877ddc61d9 Do not try to find positions for alphabetic insertions of add_on pages,
but rather append and then sort pages in the end. Solves appearance of
pref dialog in non-C locales.
Move "Accounting Period" to the top, regardless of above.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14287 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-01 15:30:41 +00:00
Andreas Köhler
122e4456d3 Cancel renaming of a page when GDK_Escape is pressed. Fixes #343226.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14286 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-01 08:56:38 +00:00
Chris Shoemaker
9f74b5a44c Restore two behaviors removed by r14283, and add a third.
1) Invalidate outstanding iterators when a row is inserted or deleted.
   2) Emit row_changed for ancestors of inserted or deleted row.
   New) Emit row_changed for ancestors of a changed account, too.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14285 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-01 01:44:53 +00:00
Andreas Köhler
2fea2c7978 Replace gnc_tree_model_account_path_changed with manual checks whether
the inserted (resp. deleted) account is the first (resp. last) account
in its level and call gtm_row_has_child_toggled only in these cases.
Might fix #343405, as GtkTreeModelFilter seems to make (false)
assumptions when being woken up too often.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14283 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-31 19:30:49 +00:00
Chris Shoemaker
2a3d5020c9 GNOME integration, part 2. Bug #342936.
Use the same icon for the window manager as for the desktop.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14276 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-31 00:56:10 +00:00
Derek Atkins
f71c7f04e0 remove some duplicated code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14259 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-30 20:30:43 +00:00
Derek Atkins
96a6c21df7 Updated Spanish Translation from Eneko Lacunza
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14258 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-30 20:26:02 +00:00
David Hampton
3b7b0ad4f5 Update the help file names now that the docs are xml instead of
html.  Fixes #343255.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14254 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-30 04:41:44 +00:00
David Hampton
d103f3514e Remove old help-topics-index files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14253 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-30 04:39:40 +00:00
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
Joshua Sled
409fae2fce Remove support for being a dual-nature -release and -svn ebuild. Misc cleanups.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14236 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-29 16:38:52 +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
de37603ecc revert r14177 because it fails make dist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14233 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-29 04:53:40 +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
722c899c91 Updated translation from Nigel Titley.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14228 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-28 21:22:37 +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
Joshua Sled
576bc55a73 only conditionally remove the file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14214 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-28 14:34:50 +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
Joshua Sled
cbddf8483f Add docs extraction, un-slot, un-/opt-ize.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14211 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-05-27 15:09:03 +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