Commit Graph

4132 Commits

Author SHA1 Message Date
Dave Peticolas
f2ffc649bb 2001-08-06 Dave Peticolas <dave@krondo.com>
* src/register/pricecell.c: fix bugs


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5072 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-06 21:15:48 +00:00
Dave Peticolas
18957d5333 2001-08-06 Dave Peticolas <dave@krondo.com>
* src/engine/sql/upgrade.h: fix warning

	* src/engine/gnc-pricedb.[ch] (gnc_price_equal): new func

	* src/engine/FreqSpec.c: add comment


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5071 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-06 08:24:49 +00:00
Dave Peticolas
481fee0773 2001-08-05 Dave Peticolas <dave@krondo.com>
* src/gnome/window-register.c: move close button to left
	to be more consistent with main window

	* src/SplitLedger.c (sr_split_auto_calc): fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5069 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-05 22:14:26 +00:00
Dave Peticolas
f1d6ef6176 2001-08-04 Dave Peticolas <dave@krondo.com>
* src/scm/main-window.scm: handle errors in creating
	~/.gnucash/books

	* src/scm/path.scm (gnc:make-dir): new func

	* src/scm/options.scm: same as below

	* src/scm/html-style-sheet.scm: handle file opening error


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5067 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-04 07:33:07 +00:00
Dave Peticolas
9b0441eb33 2001-08-03 Dave Peticolas <dave@krondo.com>
* src/gnome/dialog-sxsincelast.c: same as below

	* src/gnc-exp-parser.[ch]: seperate->separate


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5066 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-03 23:17:31 +00:00
Dave Peticolas
982d2168ec 2001-08-03 Dave Peticolas <dave@krondo.com>
* src/engine/gnc-book.c: fix warnings


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5065 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-03 22:56:03 +00:00
Dave Peticolas
4817add780 2001-08-03 Dave Peticolas <dave@krondo.com>
* doc/sgml/C/xacc-sxeditor.sgml: fix warning


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5064 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-03 22:45:49 +00:00
Robert Graham Merkel
ad7945d7f6 Fixed FIXME's, cleaned up string literals.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5063 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-02 03:31:15 +00:00
Robert Graham Merkel
d7ce67bb66 Add support for detecting "changes after last save". Format cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5062 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-08-01 06:45:20 +00:00
James LewisMoss
e9e588fa03 fix missing space between func name and arg list warnings. Also fix
function pointer typedefs from function defs to type defs.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5061 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-30 21:45:59 +00:00
Christian Stimming
6831da755d 2001-07-30 Christian Stimming <stimming@tuhh.de>
* src/scm/html-utilities.scm: Fixed bug with sub-balances in
	account tables with non-default account selection.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5060 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-30 09:13:14 +00:00
Joshua Sled
4017f68403 2001-07-30 Joshua Sled <jsled@asynchronous.org>
* src/gnome/glade/sched-xact.glade: Added seperate reminders
	dialog from since-last-run dialog.  Removed reminders
	frame/section from since-last-run dialog.  Added alternative SX
	Editor UI [not presently used].

	* src/gnome/dialog-sxsincelast.c: Changes for
	reminders-as-seperate-dialog; selected reminders then update
	since-last-run dialog [whether it's open or not]; the dialogs
	[mostly] deal with their closing conditions correctly.  Support
	for ad-hoc variables in template-transaction-split formulas.

	* src/engine/gnc-schedxaction-xml-v2.c
	(gnc_schedXaction_end_handler): Added support for restoring
	in-development pre-template-account-stored-in-SX change.
	(tt_act_handler): Added support for restoring in-devel pre-CIT
	.gml2/XMLv2 files.

	* src/gnc-exp-parser.c (gnc_exp_parser_parse_seperate_vars): Added
	for Scheduled-Transaction-related since-last-run/split-formula
	parsing.

	* src/gnome/dialog-sxsincelast.c: Added support for variable entry
	before creation/formulas in template transactions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5058 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-30 08:32:02 +00:00
Linas Vepstas
a1e4ca2cfe performance improvements for kvp handling; should speed loads of
transactions, splits, considerably


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5057 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-29 05:54:35 +00:00
Linas Vepstas
e43a518e51 add test for empty kvp_frame
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5055 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 21:16:16 +00:00
Linas Vepstas
5981ba00c3 kvp management update
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5054 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 18:10:47 +00:00
Linas Vepstas
db1e06a8ee more upgrade work
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5051 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 06:49:13 +00:00
Linas Vepstas
d303cb8d29 add new error conditions, clean up cruft
in prep for sql backend versioning


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5050 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 06:43:05 +00:00
Robert Graham Merkel
14ec1c6d95 Tidy up for Scheduled Transaction code.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5049 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 06:13:21 +00:00
Linas Vepstas
a6570d20d2 more versioning hacking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5048 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 03:29:53 +00:00
Linas Vepstas
7a0527e19b add version upgrade header
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5047 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 03:26:45 +00:00
Linas Vepstas
eab9e6b82c prepare for improved kvp frame handling in backend
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5046 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 03:19:36 +00:00
Linas Vepstas
951dfb0d1a more hacking
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5045 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 01:31:23 +00:00
Linas Vepstas
058ddc8bca add an upward compatibility migration tool
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5044 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-28 00:16:04 +00:00
James LewisMoss
1facf81a88 * src/engine/gnc-schedxaction-xml-v2.c: remove include of removed
file.

* src/engine/gnc-freqspec-xml-v2.c: remove include of removed
file.

* src/engine/gnc-pricedb-xml-v1.c: remove include of removed file.

oops.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5043 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 17:41:48 +00:00
James LewisMoss
a01bfdcaae * src/engine/gnc-pricedb-xml-v1.c: remove include of
sixtp-writers.h and remove func xml_add_gnc_pricedb (no longer
used anywhere)
(gnc_pricedb_parser_new): reorder functions.

* src/engine/io-gncxml-v1.c: move v1 kvp parser code to this
file.

* src/engine/sixtp-parsers.h: remove old v1 parser decls to
io-gncxml-v1.c

* src/engine/gnc-schedxaction-xml-v2.c
(gnc_schedXaction_dom_tree_create): remove usage of
xml_add_gint32.

more cruft removal


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5042 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 17:00:29 +00:00
Linas Vepstas
39f1cb68cf fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5041 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 07:14:59 +00:00
Linas Vepstas
74e3677078 forgot to check this in earlier
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5040 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 07:14:09 +00:00
Linas Vepstas
fc06934106 restructure to improve multi-user performance
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5037 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 06:22:02 +00:00
Linas Vepstas
27fa0eac94 bug fix plus nasty hack
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5035 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 06:13:30 +00:00
Linas Vepstas
4e0717acf3 fix rare bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5033 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 04:13:59 +00:00
Linas Vepstas
93b6884b1f tweak
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5032 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 03:19:39 +00:00
Linas Vepstas
ebc6a58935 another timing routine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5031 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 03:16:27 +00:00
Linas Vepstas
04b1201871 cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5030 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-27 02:41:59 +00:00
Linas Vepstas
1cedd0012d rename files
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5029 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-26 23:41:07 +00:00
Linas Vepstas
fdb9360217 updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5028 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-26 22:57:00 +00:00
James LewisMoss
9a1f390cd6 combine all the v1 xml parser code into one file (io-gncxml-v1.c)
taking all the code from
{Account,Commodity,Ledger,Query,Transaction}-xml-parser-v1.c,
io-gncxml-p.h, and io-gncxml-r.c.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5027 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-26 22:10:45 +00:00
Linas Vepstas
58a7a07a1d order dependency bug fix
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5026 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-26 17:32:49 +00:00
Linas Vepstas
3a06c6f538 add warning note
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5022 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-26 17:08:50 +00:00
Robert Graham Merkel
89eba41d20 Cleanups as discussed in SX TODO . . .
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5020 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-26 03:50:50 +00:00
Linas Vepstas
98fa91d61b add performance notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5018 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-26 01:12:50 +00:00
Linas Vepstas
eb060ef9ed add some notes
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5017 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-26 01:10:14 +00:00
Linas Vepstas
598441ad21 add timing info
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5016 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-26 01:08:12 +00:00
Linas Vepstas
423eb9b641 fix 'save' performance problem
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5014 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 23:34:15 +00:00
Linas Vepstas
191162f100 new, improved: loading from database is now 1.5 times faster than
loading from xml file, at least for large files


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5010 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 23:03:43 +00:00
Linas Vepstas
1cc838949b mass restore design runs nearly as native xml file speed (only 16% slower)
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5009 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 22:21:10 +00:00
Linas Vepstas
a3a84ffffb new experimental fast-fetch routine
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5008 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 21:47:37 +00:00
Linas Vepstas
5e2c2ddab5 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5006 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 21:36:24 +00:00
Linas Vepstas
fedc9fda9f vacuum the db on close
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5004 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 21:11:36 +00:00
Linas Vepstas
23ee9c3391 index creation fiasco
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5002 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 21:00:29 +00:00
Linas Vepstas
1d7503552c temp performance hack
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@5000 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-07-25 17:19:41 +00:00