Commit Graph

2526 Commits

Author SHA1 Message Date
Joshua Sled
6dbc113082 Bugs#308554, 334811: Add basic validation and test-cases for invalid expressions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13715 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-30 19:48:30 +00:00
David Hampton
a4952b7cae Fix the dialog so that the 'Cancel' button cancels all changes made
since the dialog was opened. (c.f. The HIG section on explicit apply
windows.)  The 'OK' button is now always sensitive.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13714 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-30 18:00:44 +00:00
David Hampton
36e7673159 Work around the fact that a validating XML parser barfs on gnucash's
use of an attribute in an undefined namespace.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13713 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-30 17:20:29 +00:00
Joshua Sled
1d07017814 Bug#334777: Non-placeholder leaf Expense account in 'Simple Checkbook' example account tree.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13712 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-30 15:14:24 +00:00
Christian Stimming
c9c2b97a67 Updated Spanish translation by Eneko Lacunza
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13710 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-30 08:36:05 +00:00
Christian Stimming
fe7ee4544f Move gnc:options-add-subtotal-view! options from income-statement,
account-summary, and balance-sheet to option-utilisies.scm. Try to
clarify the wording of the option -- any native english speaker please
feel free to correct the wording even more.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13709 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-28 21:19:29 +00:00
Christian Stimming
d7d2d47903 Revert report date option to the 1.8 state where the stock
gnc:options-add-report-date! was used and allowed many potential
relative dates.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13707 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-28 20:30:58 +00:00
David Hampton
04b104aa65 Change the title of the category view to track changes in the
highlighted group name. Fixes reopened 334783.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13704 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-28 02:04:07 +00:00
Christian Stimming
69d880e715 Stick with vertical padding of 2 as discussed in bug#334920.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13703 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-27 20:33:34 +00:00
David Hampton
c369d4771a Add a reconcile button to the toolbar of a register page.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13702 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-26 00:21:54 +00:00
David Hampton
37d712666a Add a context menu to the reconcile window. Fixes 120830.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13701 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-25 23:51:28 +00:00
Derek Atkins
1ce73dada8 link against GUILE_LIBS when building the test-link test app (#336007)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13700 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-25 21:03:46 +00:00
David Hampton
089197fd7f Fix the lack of action strings in the popup menu. The problem occurs
because the menu is populated before the the item edit widget is
created.  Add a list store to track these strings (what the old
menustrings list did) which is then passed off to the item_edit widget
when that is created.  Fixes 334592.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13699 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-25 16:35:31 +00:00
David Hampton
13aaa7ae85 Add toolbar icons for Postpone and Cancel. Fixes 114267.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13697 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-24 22:16:54 +00:00
Joshua Sled
c2bf42960f Bug#335564: ensure book's SX list is consistent.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13693 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-24 00:20:00 +00:00
Andreas Köhler
974f037a11 Add vertical padding in register cells and align text, editable text and the text cursor vertically. This makes the cells taller and centers the text. Add one pixel to the horizontal padding.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13692 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-24 00:09:02 +00:00
David Hampton
5aa2cc3552 Regularize capitalization of the word 'GnuCash'.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13691 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-23 21:40:12 +00:00
Derek Atkins
06fb33e72c open the bills due reminder at BOOK_OPENED instead of UI_START.
This gets us the bills-due reminder on File->Open as well.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13690 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-23 20:42:54 +00:00
David Hampton
9c5b9d501e Update to compile on FC5.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13688 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-23 16:01:17 +00:00
Christian Stimming
d209e7a3a1 Store the log level of all printed messages and use this as
yet another check whether aqbanking had any errors.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13687 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-23 12:12:48 +00:00
David Hampton
7ef1d30ecd Mark all common account sets to be initially selected when creating a
new file.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13685 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-23 00:42:45 +00:00
Andreas Köhler
7a6f75a93f Remove some optional return value locations in emissions of signals without return value.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13682 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-22 09:49:19 +00:00
Andreas Köhler
e7afc1af76 Rename gtkhtml workaround, non-squared graphs in gtkhtml >= 3.10.1. Fix 328114.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13681 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-22 09:30:58 +00:00
David Hampton
4225cfa996 Add support for renumbering the account codes for all the children of
a given account.  Implements 334594.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13679 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-21 23:36:05 +00:00
Andreas Köhler
ebd82d625a Fill the filter by dialog with given start/end time instead of calculating earliest/latest date found. Fix 335237.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13677 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-21 06:16:40 +00:00
Chris Lyttle
0e9df48e47 update to release 1.9.3
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13673 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-20 02:07:16 +00:00
Andreas Köhler
9be926d22b Treat the date option widget as container if it shows absolute and relative dates, in multichoice_cb.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13669 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-19 17:11:41 +00:00
Andreas Köhler
279293cae8 Update frequency specification in SX from transaction dialog before moving one day back. Replace deprecated gdk_draw_pixmap.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13668 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-18 21:21:39 +00:00
Andreas Köhler
c856521bd3 Let glib subtract days from a GDate, because G_DATE_BAD_DAY (0) is a bad day.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13667 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-18 16:11:40 +00:00
Andreas Köhler
ae0f6cf1e7 Correct SX editor and Since Last Run dialog to close their register plugin pages instead of only the ledgers. Fix 334627.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13666 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-18 15:05:33 +00:00
Christian Stimming
a999514bb0 Remove translation macros so that this unused file isn't included in
the translation template any more. Avoids useless translation work.

	* src/scm/doc.scm, src/scm/main.scm: Comment out
	gnc:load-help-topics function because it isn't used anymore, and
	with the last change it also won't be translated anymore.
	



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13665 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-18 11:17:13 +00:00
David Hampton
4905d06edc Pass a dialog pointer through the scm code and back to the C error
display functions.  This will parent the error dialog properly.  Fixes
334929.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13662 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-18 00:39:17 +00:00
David Hampton
79e7cdff57 Enhance the quickfill event handler to detect changes in whether an
account should appear in the quickfill.  Fixes 334787.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13661 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 23:26:13 +00:00
David Hampton
2cd27a1b6e Add a "book saved" hook. Use this to update the window titles after a
file is saved.  Fixes 334789.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13660 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 22:59:28 +00:00
Andreas Köhler
d421a2d947 Fix return value of get_corr_account_split and reverse the tests of its callers. Fix 334801.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13654 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 14:37:19 +00:00
David Hampton
88d9995f64 Use the stable sort function from Account.c to back up the user
selected primary sort column. Fixes 334595.  Also collapse common
code, pull strings via the model, and use the utf8 collate function
instead of strcmp.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13653 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-17 05:37:33 +00:00
Andreas Köhler
d31b9d27c1 Add row_activated callback to commodity and price editor tree views. Fix 334661.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13651 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 22:47:30 +00:00
Andreas Köhler
34def736d9 Make register ui update unconditionally if in a GncEmbeddedWindow.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13650 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 22:03:58 +00:00
David Hampton
59bafed825 Add a wrapper function for g_utf8_collate that handles checking for
null pointers or null strings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13649 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 20:26:53 +00:00
David Hampton
e544b849d1 Move the computation of accounting period balances into the model and
colorize it.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13648 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 20:10:16 +00:00
Christian Stimming
5e9b699a7a Add more linker flags for referenced libraries. Necessary when
the required libraries are not inferred from the dependencies 
by that particular libtool, e. g. on windows/mingw32.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13646 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 15:25:12 +00:00
David Hampton
b5506a00c8 Treat the file name as utf8 when finding the file name for the window
title.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13645 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 03:43:06 +00:00
David Hampton
7e1d372f74 Don't create a new window for a page if there's already an open blank
window.  Fixes 334672.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13644 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-16 02:42:51 +00:00
Derek Atkins
f8b67bd3f2 move file-backend dependency from core to core/file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13642 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 20:33:49 +00:00
Andreas Köhler
3e41f8d965 Add a call to gnc_tm_set_day_end to correct initial ending balance in reconcile windows. Tiny comment typo in qof/gnc-date.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13641 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 20:16:13 +00:00
Derek Atkins
2edfa44813 Move sources to remove the libgw-engine dependency.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13640 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 17:29:09 +00:00
Derek Atkins
dde1437f81 * lib/libqof/backend/file/qsf-backend.c: add <locale.h>
Note:  it think it's probably wrong to set the locale here.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13639 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 17:08:08 +00:00
Christian Stimming
cc8a795330 Add more linker flags for referenced libraries. Necessary when the
required libraries are not inferred from the dependencies by 
that particular libtool, e. g. on windows/mingw32.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13637 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 12:51:43 +00:00
Christian Stimming
eb06c72026 Remove include <ltdl.h> that is unnecessary for code using this header.
Gets rid of some <ltdl.h> weirdness that plagues other object code 
files on windows.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13635 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-15 11:14:20 +00:00
Christian Stimming
f31ba70fe3 Disable extra NFS lockfile checking on windows due to
missing link(2). This is not a problem because on windows 
there also is no NFS, and the open(O_CREAT|O_EXCL) is 
sufficiently atomic for our purposes.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@13634 57a11ea4-9604-0410-9ed3-97b8803252fd
2006-03-14 16:59:32 +00:00