Commit Graph
861 Commits
Author SHA1 Message Date
Joshua Sled 9ca6b3d830 2002-05-21 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sx-from-trans.c (sxftd_get_end_info): Changed
	to do the strtoul before we free the data itself; fixes "can't
	create once/number-of-occurance SXes" [in from-transaction dialog]
	bug.

	* src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked):
	Do a very lame but good-enough-for-now check to see if we can
	determine if the template transactions will still balance.  Note
	that we don't do anything with the result of that check, yet, but
	we perform it.

	* src/app-utils/gnc-exp-parser.c (gnc_exp_parser_real_init): Added
	so we can conditionaly add the "predefined variables" to the
	binding table for parsing a given expression.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6886 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-22 03:01:43 +00:00
David Hampton 59e52d8714 Mac OS X support, round 2.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6878 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-18 20:32:22 +00:00
David Hampton 447ad45a84 Commit required gettext 0.11 changes that are backward compatible with
gettext 0.10.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6865 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-15 04:48:36 +00:00
Derek Atkins 8b34e2bc96 Change the Search Dialog to use a CList and allow each object to
provide its own column list for displaying search results.  Change
	the interface to require the list of columns.  Modify all the
	business dialogs to use the new search interface.

	Add a new interface to the QueryCore to convert any Core object
	into a string (or have it return NULL)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6862 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-14 00:52:42 +00:00
Derek Atkins 08208d8b35 Change the Date-Close dialog to use gnc-date-edit instead of the
gnome-date-edit widget set.

	removed unused dialogs from job.glade and invoice.glade

	returned lost invoice functionality: open the invoice-register
	window when you 'ok' a new invoice.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6846 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-09 22:44:42 +00:00
Derek Atkins 9017969427 Fixed dialog-order. Should now complain less during compilation.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6843 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-09 21:27:20 +00:00
Derek Atkins ccb857a723 Create a new general_search widget that hooks into the search
dialog and provides callbacks and signals for object selection.
	This fixes a lot of the nested-gtk_main() problems in the business
	code.  Still more separation to do, but MOST of the main modules
	are changed to use the new interfaces.  This is an interim commit;
	another commit will follow shortly.  The code works now, but
	dialog-order (in particular) will give you compiler warnings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6842 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-09 20:55:26 +00:00
David Hampton 3ce1d63e1a Pogma's initial Mac OS X patches.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6833 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 23:22:24 +00:00
David Hampton 0dbbb49551 Split stock price editor into two dialogs; a price-db editor and a
single price editor.  Portfolio report now has hyperlinks to open the
editor for a single stock price.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6829 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 03:36:11 +00:00
David Hampton 66b89538ab Add support for pruning old 'xac' and 'log' files.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6824 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-04 05:54:14 +00:00
David Hampton ed4155b4f6 Track reconciliation interval (by account). When asking the user for
a reconciliation end date, always default to the same time interval
they previously used (or 1 month for the first reconcile in an
account.)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6823 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-27 23:13:58 +00:00
David Hampton b820a5006c Default date format to the users locale. Date widgets now accept a
single number as the day, or two numbers as day and month (ordered
according to the users date preference).


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6822 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-27 21:43:25 +00:00
David Hampton f9910405c2 More code to raise existing windows.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6821 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-27 04:53:38 +00:00
David Hampton 708d3cd472 Update for previous changes.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6820 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-23 02:31:08 +00:00
Joshua Sled 66b982375e 2002-04-21 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sx-from-trans.c (sxftd_advanced_clicked): Since
	"Advanced..." editing completely entails the from-transaction
	dialog, we close it if the user selects "Advanced..." to prevent
	errors when the from-trans dialog is "Ok"'d.

	* src/gnome/dialog-scheduledxaction.c (delete_button_clicked):
	Better deletion confirmation checking; we now look for
	being-edited scheduled transactions and confirm them specially
	with the user to prevent inconsistencies from cropping up.

	* src/doc/TODO-schedxactions: Updated; more 'X'-ed off items make
	me happy.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6818 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-21 21:03:57 +00:00
Joshua Sled 7e2051e60d 2002-04-21 Joshua Sled <jsled@asynchronous.org>
* src/backend/file/sixtp.c (sixtp_parse_file): Explicitly create
	an xmlParserCtxt and keep it in the sixtp_sax_data, so we can...
	(sixtp_sax_start_handler): retain line/column numbers for stack
	frames, which pays off in...
	* src/backend/file/sixtp-stack.c (sixtp_stack_frame_print):
	printing the line/column numbers of parsing errors when they
	occur.
	* src/backend/file/sixtp.c (sixtp_parse_buffer): Analagous change
	for in-memory-buffer parsing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6817 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-21 17:55:49 +00:00
Joshua Sled 833d4042b4 2002-04-20 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sxsincelast.c (process_auto_create_list): Added
	progress-bar support for transaction auto-creation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6816 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-21 04:29:42 +00:00
Joshua Sled 9ee3253a54 2002-04-16 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c
	(editor_ok_button_clicked): Check to see if the user is attempting
	to create a Scheduled Transaction which can't occur; confirm with
	them if they are.

	* src/gnome-utils/gnc-frequency.c
	(freq_option_value_changed): StartDate and frequency-specific
	options now come into better sync [when possible] on
	frequency-type change.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6799 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 06:10:00 +00:00
Joshua Sled 7de7b944f8 2002-04-16 Joshua Sled <jsled@asynchronous.org>
* src/register/ledger-core/gnc-ledger-display.c: Some template-GL
	cleanup [debugging printf's removed].  Removed never-used
	LD_TEMPLATE type.

	* src/gnome/glade/sched-xact.glade: Removed unused start page.

	* src/gnome/dialog-sxsincelast.c: Added support for using the
	gnc-regWidget to display created transactions for review. Added
	'Cancel' support. Didn't remove enough dead code, but started to.

	* src/gnome/dialog-scheduledxaction.c: Added support for using the
	gncRegWidget in the SX editor.  Formatting changes.

	* src/register/ledger-core/gnc-regWidget.{h,c}: Added; a
	macro-widget roughly duplicating the src/gnome/window-register.c
	look-and-feel-and-behavior.

	* src/engine/SchedXaction.c: Added support for saving a "temporal
	snapshot" of a scheduled transaction. Rewrote "sequence state"
	manipulations in terms of temporal snapshots.

	* src/engine/Query.c: Add support for Querying the template
	AccountGroup.

	* src/doc/TODO-schedxactions: Updates.

	* src/engine/Makefile.am: Prepend-to instead of unconditionally
	setting GUILE_LOAD_PATH when creating iso-4217-currencies.c, for
	those of us that need to set it for whatever reason we need to do
	so.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6795 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-16 07:09:16 +00:00
Derek Atkins cfd8718a42 * Plug-in Extensions for backends, so pluggable objects can
provide backend-support without changing the core backend
	implementation.

	* src/engine/gncObject: Add a 'mark_clean' data-type method()
				add backend extension registration.

	* src/engine/gnc-book.c: use mark_clean object interface

	* src/backend/file/io-gncxml-v2: use the backend extensions

	* src/business/business-core/gnc*: add the mark_clean methods
					   add commodities to many objects

	* src/business/business-core/gncInvoice.c: fix GetPaidTxn() bug

	* src/business/business-core/file: the XML backend extensions for
	business objects.

	* src/business/business-gnome/dialog-*: supply default commodities


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6770 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-04 19:34:52 +00:00
Christian Stimming fbcb72b678 2002-02-17 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/html-utilities.scm: Added support for
	surpressing zero amounts.

	* src/report/report-system/*-utilities.scm: Clean up
	commodity-collector calling functions.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6716 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-17 18:11:23 +00:00
Derek Atkins 72ecd9c5a6 New Search Dialog committed to repository.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6699 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-08 05:13:49 +00:00
Derek Atkins 2a0f766c34 * fix QueryNew bug: make sure to retain book list
* Update the QueryNew API to take a GList of terms to allow
  for any number of iterative lookups (such as
  GncEntry->GncInvoice->GncAccount->GNCBook->guid) (not that this
  is a useful example ;)

* Update all the business objects to the new API -- don't distinguish
  between a parameter that returns a core type and a parameter that
  returns another object.  Note that this implies that the namespace
  is shared between the objects and core types.  Also note that this
  is not enforced in any way.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6681 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-04 01:55:33 +00:00
Derek Atkins ff880b0efd * gncObject -- object registration in the engine; hook into the books
* QueryNew interface revision-1 check-in

 * update all the business objects to register with the new query system


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6680 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-03 20:01:08 +00:00
Dave Peticolas 214f46c2bd * src/report/standard-reports/account-piecharts.scm: bump up default
pie chart height

* src/bin/overrides/gnucash-env.in: set LTDL_LIBRARY_PATH, too

* macros/gnome-gdk-pixbuf.m4: fix bug


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6661 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-29 08:53:39 +00:00
Dave Peticolas 38d636156b * src/engine/gw-glib-spec.scm: remove
* src/engine/gw-engine-spec.scm: g-wrap split & trans lookup

* src/engine/gnc-engine-util.h: add more timing utils

* src/engine/gnc-engine-util.c: add more timing utils

* src/engine/Transaction.h: g-wrap split & trans lookup

* src/engine/Transaction.c: g-wrap split & trans lookup

* src/engine/Makefile.am: Take out glib wrapping cruft


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6613 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-13 03:05:26 +00:00
Rob Browning 73ba017924 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6607 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-09 22:13:39 +00:00
Dave Peticolas 515dc676fd * src/backend/postgres/test/test-db.c: test for new accounts
* src/backend/postgres/account.c: check for missing parent
account when loading accounts

* src/backend/postgres/PostgresBackend.c: check for bad
commodity string name


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6532 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-08 09:29:55 +00:00
Dave Peticolas 434a74cca8 * src/backend/postgres/account.c: check for missing currency
when loading accounts

* src/backend/postgres/PostgresBackend.c: check for missing
currency when loading transactions


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6526 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-07 11:01:46 +00:00
Christian Stimming 595d08d0b4 2002-01-07 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/commodity-utilities.scm: Tweaked the
	exchange rate calculation so that it will work in even more
	complicated cases, involving different Euroland and other
	currencies.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6524 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-07 00:52:40 +00:00
Christian Stimming 49bc361cd4 2002-01-06 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/html-utilities.scm,
	src/report/standard-reports/*: Added option hyperlink in report
	warnings.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6522 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-06 22:24:03 +00:00
Christian Stimming f9e8a3ada2 2002-01-06 Christian Stimming <stimming@tuhh.de>
* doc/sgml/*/xacc-euro.sgml: Fixed DEM rate as pointed out by
	Gregor Hoffleit <gregor@hoffleit.de>.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6518 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-06 14:49:51 +00:00
Christian Stimming f0b6a6fa57 2002-01-05 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/html-*.scm,
	src/report/stylesheets/stylesheet-*.scm: Added nowrap attribute
	for cells containing numbers.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6515 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-05 17:21:59 +00:00
Dave Peticolas 8ee531499a * src/backend/postgres/PostgresBackend.c: allow gnucash tables
to be installed in an existing database.

* src/backend/postgres/upgrade.c: use pointer<->int conversion
macros


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6501 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-01-03 10:04:01 +00:00
Dave Peticolas cdf8dd0fa1 * src/backend/postgres/test/test-db.c: expand testing
* src/engine/Transaction.c: fix bugs. keep positive editlevel
while committing and rolling back transaction.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6414 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-27 09:03:32 +00:00
Dave Peticolas a02f6e3f4d * src/backend/postgres/test/test-db.c: test rollback
* src/engine/Transaction.c: fix bug in transaction rollback

* src/engine/test-core/test-engine-stuff.h: add test routine

* src/engine/test-core/test-engine-stuff.c: add test routine


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6413 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-26 07:14:44 +00:00
Dave Peticolas afa35f1124 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6411 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-21 07:46:13 +00:00
Dave Peticolas 6286c3a56e *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6405 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-20 11:05:25 +00:00
Dave Peticolas a209d16f69 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6394 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-19 11:41:06 +00:00
Dave Peticolas 465fa68ee6 * src/gnome-utils/gw-gnome-utils-spec.scm: add wrapping for widgets
and other api

* src/backend/postgres/test/test-db.c: add check for initial
account balances

* src/backend/postgres/PostgresBackend.c: fix bug. begin/commit
account group when loading intitial balances


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6386 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-18 01:11:30 +00:00
Dave Peticolas a5640c4109 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6376 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-12 09:50:49 +00:00
Rob Browning f8374bd942 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6368 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 16:52:25 +00:00
Dave Peticolas f11914bd61 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6336 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 10:53:12 +00:00
Christian Stimming be0d9b8eae 2001-12-11 Christian Stimming <stimming@tuhh.de>
* src/app-utils/gnc-euro.c (gnc_convert_to_euro): Fixed rounding
	error.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6315 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 09:16:14 +00:00
Christian Stimming c8e93d5e4f 2001-12-11 Christian Stimming <stimming@tuhh.de>
* src/gnome-utils/druid-utils.[ch]: added
	gnc_druid_set_logo_image.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6314 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 09:12:14 +00:00
Dave Peticolas 82fe4e6a78 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6311 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-11 00:45:40 +00:00
Dave Peticolas c27faf98fd Add auto-generated headers.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6290 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-09 09:35:57 +00:00
Dave Peticolas 1a0d4712f2 * configure.in: remove -Wno-unused
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6280 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-08 09:32:35 +00:00
Dave Peticolas a0023ed033 *** empty log message ***
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6274 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-08 01:34:33 +00:00
Bill Gribble 1a0db3dfb7 Add --disable-gui option to autogen/configure
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6255 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-12-05 17:22:32 +00:00