Phil Longstaff
0591867447
Another fix for lib/libqof -> src/libqof change.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18036 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-10 17:37:07 +00:00
Charles Day
9f7c476d58
Reverse an unintended change from r18034.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18035 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-10 15:30:27 +00:00
Charles Day
c6ceaa75b7
Register: Add an ENTER/LEAVE pair.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18034 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-10 15:28:47 +00:00
Phil Longstaff
0e4c9a03f9
Add extra status checking for return codes. Errors cause a CRIT message to the
...
trace file and set the background error status. Note that not all times when the
background error status is set will result in a notification to the user.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18033 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-09 22:23:34 +00:00
Phil Longstaff
29d9be3aa9
Fix move from lib/libqof -> src/libqof
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18032 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-09 12:29:46 +00:00
Charles Day
b5911ecf2e
Bug #478055 : Adjust read syntax of symbol names that include spaces. This old syntax doesn't work in guile 1.8, at least not on Fedora 9 64-bit.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18031 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-07 20:20:23 +00:00
Phil Longstaff
89bfcce989
Rename lib/libqof -> src/libqof
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18029 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-07 00:48:53 +00:00
Phil Longstaff
da681aa92d
Fix crash when searching for a customer
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18028 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 23:44:14 +00:00
Phil Longstaff
6b8dcdc737
Rename src/business/business-core/file -> src/business/business-core/xml
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18027 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 23:27:09 +00:00
Phil Longstaff
d3b232d208
Rename src/backend/file -> src/backend/xml
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18026 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 23:09:52 +00:00
Charles Day
3b096be543
Register: Force scroll to the current row if the row height may have changed and pushed the current row out of sight.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18024 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 17:00:03 +00:00
Charles Day
8493afcc37
Bug #432021 : Register: Recompute block offsets if the cell heights may have changed.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18023 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 16:27:21 +00:00
Charles Day
673bdf5496
Register: Add some gnome-related debugging messages.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18022 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 16:21:02 +00:00
Charles Day
fd4f497103
Register: Add some new debugging messages to the ledger display functions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18021 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 16:13:21 +00:00
Phil Longstaff
2ad4425be9
1) Use AS_HELP_STRING() to line up stuff in '--help' output
...
2) Remove last traces of old GDA stuff
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18020 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 12:15:18 +00:00
Phil Longstaff
bf2aeaefd4
Add missing file headers with license notice.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18019 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-06 12:13:46 +00:00
Phil Longstaff
9ded71b028
Remove some unnecessary dependencies
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18018 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-05 17:29:22 +00:00
Phil Longstaff
3b70eef190
Fix crash due to use of uninitialized variable. Fix supplied by Sebastien Held.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18017 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-05 17:07:50 +00:00
Phil Longstaff
4e47416ede
1) Add new files to po/POTFILES.in
...
2) Fix some unmatched quotes (in some cases, they were spelling errors)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18016 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-05 00:52:30 +00:00
Phil Longstaff
f8cf69ef2d
Add some debug enter/exit tracing. Add some more argument checking.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18014 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-04 23:44:16 +00:00
Derek Atkins
c02bba9102
Upgrade doxygen configuration from 1.5.2 to 1.5.7.1
...
for upgrade on server to Fedora 10.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18011 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-31 14:22:53 +00:00
Phil Longstaff
6e46443785
Fix uninitialized variable fileChooserAction.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18006 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-29 15:44:11 +00:00
Andrew Sackville-West
07467f13c6
Implement new custom report dialog.
...
Implements a new interface for accessing "saved" or "custom" reports.
Specifically, the current sub-menu is replaced with a dialog holding a
GtkTreeView of the saved reports. From here the user can either run or
delete an existing saved report.
* allows deletion of existing saved reports
* allows immediate access to new saved reports from this session (no
need to restart gnucash to get access to new saved reports!)
* keeps a single rolling backup of saved reports in case of errors
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18001 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-26 19:38:38 +00:00
Charles Day
908813cf34
QIF Import: Throw an error immediately upon failing to parse a category. Previously a bad value was returned, which could then cause a failure in the caller.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18000 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-25 00:52:32 +00:00
Charles Day
77c174f5c0
QIF: Replicate the fix from r17998 in two other QIF-related places.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17999 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-22 17:48:34 +00:00
Charles Day
dfa30891c7
QIF Import: Support backslash characters in category names. There was a mistake the regular expression, as a pipe symbol shouldn't be escaped with a backslash when used inside brackets.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17998 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-22 17:24:58 +00:00
Phil Longstaff
52343ab661
Add debugging info re SQL transactions
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17997 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-19 14:45:57 +00:00
Phil Longstaff
69458bd21c
1) Remove obsolete dwi directory.
...
2) Remove vestiges of GDA from Makefile.am
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17996 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-19 14:44:52 +00:00
Phil Longstaff
580ac585ee
Remove Database Connection dialog and menu entry
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17994 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-14 18:12:49 +00:00
Phil Longstaff
eb2aa66bfe
Implement BEGIN/COMMIT/ROLLBACK for transaction support. Provides a *huge*
...
performance improvement when saving to an sqlite3 file.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17993 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 16:33:19 +00:00
Derek Atkins
45370b48d8
Add a glade file to the POTFILES list.
...
make check now works for me.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17992 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 15:31:35 +00:00
Derek Atkins
c08c1baf73
remove python-bindings from POTFILES.in
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17991 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 15:09:15 +00:00
Derek Atkins
e52c8693a2
Ignore the python-bindings when building translations.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17990 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-13 15:07:39 +00:00
Phil Longstaff
39c89512e0
Replace radio buttons with a combo box. A bit ugly because I haven't figured out how to keep
...
the combo box from expanding to fill the space.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17989 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-10 17:41:52 +00:00
Charles Day
c3b86442c0
Reports: Speed up the report infrastructure. Patch by Mike Alexander.
...
One set of changes speeds up the three functions in report-utilities.scm:
gnc:account-get-comm-balance-interval
gnc:accountlist-get-comm-balance-interval
gnc:accountlist-get-comm-balance-at-date
These can all be implemented as calls to
gnc:account-get-trans-type-balance-interval (with a minor change to it to
ignore the type parameter if it is #f) and it is much faster since it does a
single query instead of a loop over an account list.
The other set of changes is in gnc:html-acct-table-add-accounts! in
html-acct-table.scm. This functions starts off by building a hash table of
account balances it cares about. The code to do this did a recursive loop over
the relevant accounts. I changed it to do a query to find the splits in the
accounts it cares about and build the hash table from them. This speeds it up
by a couple of orders of magnitude.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17988 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-09 20:14:46 +00:00
Charles Day
2d2e2d5b0e
Register: Fix the file name in a comment.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17987 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-09 20:07:51 +00:00
Charles Day
08a8d60401
Register: Add a few debugging calls.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17986 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-09 20:07:09 +00:00
Charles Day
e3477bc041
Register core: Start doxygen documentation of table-allgui.h
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17985 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-09 19:47:58 +00:00
Charles Day
4165e0ed62
Bug #523982 : Fix the Enter key in double-line mode. The register had wrongly assumed one physical row per virtual row.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17984 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-09 18:23:25 +00:00
Phil Longstaff
945e700a37
Fix lots of splint issues (including memory leaks). This includes some changes
...
in qof and gnc files adding annotation comments to help splint analyze ownership
of memory and objects.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17983 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-09 17:17:57 +00:00
Charles Day
0621803bd6
QIF Import: Correct case of cleared status code "c" in documentation text file.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17982 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-08 19:14:41 +00:00
Charles Day
1c8761d6d1
QIF Import: Allow "R" or "r" for reconciled, and "C" or "c" for cleared.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17981 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-08 18:58:17 +00:00
Charles Day
573d809b4a
QIF Import: Add a section for "cleared status" and fix some inconsistent whitespace.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17980 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-07 19:48:06 +00:00
Phil Longstaff
9017cbf593
Disable radio buttons for access types (sqlite3/mysql/pgsql) which don't have a qof backend
...
registered.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17979 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-07 17:46:25 +00:00
Phil Longstaff
cf19b319e3
Don't create qof backends for uri types where there is no libdbi driver installed.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17978 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-07 17:36:13 +00:00
Phil Longstaff
f20bbd373d
In File Access dialog, sqlite3 is default format, so make db fields
...
insensitive when dialog opened.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17977 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-07 00:46:16 +00:00
Phil Longstaff
bcf974bd11
1) Add new dialog-file-access which combines the standard GTK file selection widget with
...
the database selection fields from the old database connection dialog. If --enable-dbi
is specified at configuration time, this dialog is used instead of the file open and
save-as dialogs.
2) Prompt to create a mysql db if it doesn't exist.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17976 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-06 22:43:07 +00:00
Phil Longstaff
dea5a1c388
Handle integer values returned as string GValues (mysql does this for bigint
...
values).
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17975 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-06 21:02:10 +00:00
Phil Longstaff
a9116066f4
1) Update table version number so that tables aren't re-updated each time (update won't hurt, but
...
is not needed)
2) Don't free memory too soon
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17974 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-05 15:33:40 +00:00
Phil Longstaff
e0f50e0589
Update business table version numbers
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@17973 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-03-05 15:28:44 +00:00