Commit Graph

9976 Commits

Author SHA1 Message Date
David Hampton
488af225cc Tell gnucash that a currency quote failed instead of just abandoning
the request.  Fixes #344546.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14359 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-14 00:04:59 +00:00
David Hampton
85e56e2e95 When committing an account during the closing of a book, don't search
the engine for splits that are in the process of being assigned to the
account but aren't yet linked into the account.  This eliminates an
O(n*m) operation that will never find any work to perform.  Fixes
#344473.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14358 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-13 03:17:48 +00:00
Chris Shoemaker
9b7245002d Don't crash when parsing empty string as date. Fixes #344466.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14354 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-13 00:35:47 +00:00
David Hampton
a36cbde106 Quote the F::Q version number so that it will be correctly parsed as a
string.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14353 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-13 00:14:26 +00:00
David Hampton
52f2bc1640 Tell subversion these files are text.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14352 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-09 23:33:51 +00:00
David Hampton
c56162d6f2 Move the valgrind reference code from a compiled file to a
documentation file.  The start/stop valgrind command didn't work as
well as I'd hoped.  Fixes #344353.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14351 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-09 21:33:29 +00:00
David Hampton
bf56d48411 Restore the business reports menu.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14347 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-08 02:30:18 +00:00
Chris Shoemaker
3c5a81accb Um, uhh, important code change. Might fix #343798.*
(*) Might also do strange things to the register, esp. cursor motion.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14345 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-07 01:34:54 +00:00
David Hampton
cf633107af Hide notebook tabs on programmatically changed notebook.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14344 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-07 00:43:48 +00:00
Joshua Sled
b5b39f2aa1 adjust desktop entry rule for icon, categories.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14343 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-06 20:13:04 +00:00
Chris Lyttle
a54bea396a update ebuild to use gnucash-docs-1.9.0
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14339 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-06 03:53:29 +00:00
Chris Lyttle
de12e2e929 update to release 1.9.7
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14336 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-06 03:03:24 +00:00
David Hampton
5ea82f3bfb Remove dead code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14334 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-05 13:41:55 +00:00
David Hampton
f502bb7377 Fix "missing icon" menu icons on FC6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14333 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-05 13:39:37 +00:00
David Hampton
b688e6c4ca Fix a couple of files that didn't include config.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@14331 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-06-05 04:21:09 +00:00
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