Commit Graph

11990 Commits

Author SHA1 Message Date
Phil Longstaff
dcdc943f3a 1) Remove obsolete xxx-backend-file files (now are backend-xml)
2) Fix 'make check', 'make dist' and 'make distcheck' problems

Make distcheck now passes



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18045 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-12 17:14:21 +00:00
Phil Longstaff
f7048ca505 Fix compilation problems for gtkhtml which uses gnome_print. My version of gtkhtml-dev
doesn't include gtk_html_print() function, so I still get a compilation problem, but I
think this will work for people who really have that configuration.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18044 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-11 13:58:12 +00:00
Christian Stimming
d426c0b7da Copy all translations (and glossaries) from 2.2 branch, r17964, to trunk.
Future translation work will (hopefully) be done on trunk only. However,
we still need to announce this appropriately.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18043 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-11 08:21:17 +00:00
Phil Longstaff
2d44031808 Remove magic strings - "gnc-guppi-pie" and other chart object types were separately defined
in both the .c file and the .scm files where the chart html was created.  This change defines
the values once, in gnc-html-graph-gog-extras.h, and these #defines are used and passed into
guile for use in the scm files.



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18042 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-11 02:52:43 +00:00
Phil Longstaff
ea934ae4d0 Merge webkit branch into trunk.
In order to use the webkit as the html engine, use --enable-webkit on the configure
command.  In SCM files, gnc-html-engine-supports-css can be used to determine whether
the html engine is webkit (supports css) or gtkhtml (doesn't support css).



git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18041 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-11 01:44:14 +00:00
Christian Stimming
b810924125 Bug #559670: Aqbanking should not ask for already accepted certificates.
Add support for AqBanking's permanently accepted SSL certificates

This patch fixes part of the problem for AqBanking 4.x (or newer).
The patch queries the certificates that have been accepted during the AqBanking
setup procedure. A hash of every single such certificate is stored by AqBanking
4.x under $HOME/.aqbanking/settings/shared/certs.conf.

For older versions of AqBanking the patch does nothing (yet). The main
difference is where AqBanking stores the hashes for such certificates. I've
added a FIXME comment on the appropriate place where code for older AqBanking
versions should be added.

Patch by Micha Lenk, slightly modified by me.

Signed-off-by: Christian Stimming <stimming@tuhh.de>
BP

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@18037 57a11ea4-9604-0410-9ed3-97b8803252fd
2009-04-10 20:20:11 +00:00
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