Commit Graph

5633 Commits

Author SHA1 Message Date
David Hampton
6e28432b23 Change gnc_forall_gui_components() to pass the registered user_data to
the callback routine, and to return a count of the callback functions
called.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6808 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 03:43:36 +00:00
David Hampton
d3306106c4 Make sure any non standard g-wrap prefix path if reflected in the
setting of the LD_LIBRARY_PATH variable.  Makes it possible to find
libgw-wct.so, et al.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6807 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 03:14:56 +00:00
Dave Peticolas
b85b2332ef Andreas Bogk's postgres backend patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6806 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-18 06:56:08 +00:00
Joshua Sled
477202a04a 2002-04-17 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c
	(editor_ok_button_clicked): Added checks for ScheduledTransactions
	with no name, same name as existing SchedXaction.
	(row_select_handler): Resolved "critical" GTK run-time warning
	regarding navigating the Scheduled Transaction list with the arrow
	keys.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6805 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-18 06:28:37 +00:00
Joshua Sled
1949ee142b Fix for compilation problem against g-wrap-1.3.2-only systems.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6804 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-18 03:12:22 +00:00
Joshua Sled
3121ea6489 Fixed compilation-error-causing tyop.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6803 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 22:59:28 +00:00
Dave Peticolas
ce673ac64f handle null mnemonic
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6800 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 17:44:53 +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
Dave Peticolas
89a1379ed7 David Hampton's stock split druid patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6798 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 02:23:07 +00:00
Dave Peticolas
0063662599 David Hampton's register patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6797 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-17 02:22:21 +00:00
Joshua Sled
a35b1536ad Fixes for string-containing files that didn't actually exist because of old source tree.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6796 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-16 14:14:20 +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
Dave Peticolas
a7ec9d158f David Hampton's mem leak patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6794 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-15 23:55:16 +00:00
Dave Peticolas
dda3645e70 Andreas Bogk's qif import patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6793 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-15 19:11:02 +00:00
Dave Peticolas
50f9eb4b4c Andreas Bogk's postgres backend patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6792 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-12 08:35:37 +00:00
Dave Peticolas
7211beddb4 David Hampton's patch for make-gnucash-patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6791 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-08 07:09:47 +00:00
Dave Peticolas
1779e5b697 David Hampton's placeholder account patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6789 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-08 07:08:16 +00:00
Dave Peticolas
775f552770 David Hampton's reconciliation patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6787 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-05 19:33:47 +00:00
Dave Peticolas
d8c82e2d64 David Hampton's placeholder account patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6786 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-05 08:00:43 +00:00
Linas Vepstas
1473470d76 update docos
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6782 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-22 22:28:26 +00:00
Linas Vepstas
bfd655f160 fix typo
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6781 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-22 21:53:39 +00:00
Dave Peticolas
6046b713da James A. Treacy's doc patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6780 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-16 22:44:09 +00:00
Chris Lyttle
e845e4c3d4 update for stable release
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6776 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-11 20:12:54 +00:00
Dave Peticolas
b90b076f54 Fix DB_LIBS setting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6772 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-05 23:28:33 +00:00
Derek Atkins
c26038103e change the structure member name:
version -> interface_version


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6771 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-05 03:07:26 +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
Dave Peticolas
136d8e4bd4 David Hampton's account deletion patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6767 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-04 07:56:48 +00:00
Dave Peticolas
af6169c07a David Hampton's doc patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6766 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-04 07:53:59 +00:00
Dave Peticolas
91b2f1d5f2 David Hampton's doc patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6764 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:34:37 +00:00
Dave Peticolas
202d7ce6d5 David Hampton's ignore patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6763 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:33:45 +00:00
Dave Peticolas
4354b2e89f David Hampton's spec file patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6762 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:33:03 +00:00
Dave Peticolas
5e04748f71 fix bug
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6761 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 10:30:48 +00:00
Derek Atkins
de7ac5c52e change string-searches to default to case-insensitive
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6760 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 02:31:27 +00:00
Derek Atkins
e83341b8c7 - Add new Backend method, counter(), which increments a named counter and
returns the new value.
- Add gnc_book_get_counter() which implements the API and calls the
  counter() method in the backend if it exists.  If not, it stores the
  counters in the Book KVP Frame.
- Modify all the Business objects to use the new counter API.  Counter is
  gint64 so modify all the users to expect that.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6759 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 02:17:07 +00:00
Dave Peticolas
4bacc6a9eb fix specs
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6758 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 00:08:25 +00:00
Dave Peticolas
87e4f059df add NULL is_dirty entry to static object
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6757 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 00:02:56 +00:00
Dave Peticolas
0cc0516ef5 Check for null id_type.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6756 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-03 00:02:17 +00:00
Dave Peticolas
2866ec7d13 suspend gui refresh during update
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6755 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-02 23:59:54 +00:00
Derek Atkins
e130451499 emit gnc events for the business objects.
change the address API to know about its parents' guid, and emit events
 based upon the parent
get the job-select dialog to use events to update
fix a crash in the invoice and order dialogs when creating a new one.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6754 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-02 18:55:01 +00:00
Derek Atkins
587430402d change API to supply a "const GUID *" because it's read-only
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6753 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-02 18:53:15 +00:00
Derek Atkins
bc76542925 gncVendor.c: convert terms to string
dialog-search: update on events.

restructure code to try to make it more asynchronous.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6752 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-01 21:45:54 +00:00
Dave Peticolas
902e35b2c7 David Hampton's build system patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6751 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-01 07:53:07 +00:00
Derek Atkins
2e801a6460 gncCustomer: change terms from gint to string
gncEntry: emit engine events for changes
        emit an event when the order is set: 'owner' modified
gncOrder: add the entry to the order before setting the entry
business-gnome.scm: change the API for invoice/order find/edit functions
dialog-customer: change terms entry to a GtkEntry; handle as string
	integrate invoice/order API changes
dialog-invoice: change find/edit API; start work for asynchronous UI
dialog-order: change find/edit API; start work for asynchronous UI
dialog-vendor: integrate invoice/order API changes
dialog-job-select: integrate invoice/order API changes


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6750 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-03-01 04:15:01 +00:00
Dave Peticolas
8e51e62781 David Hampton's make distcheck patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6749 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-28 08:31:32 +00:00
Derek Atkins
a2f360a38b srfi-19: Fix date->string to work with guile-1.4/slib-2d2
gncEntry: add date_entered for better sorting
	  change SetDate methods from "Timespec*" to "Timespec"
	  update entry ledger to use new function calls

Fix a comparison bug in Entry/Invoice/Order.  Compares now
work correctly.

Updated invoice report; use date->string to print today's date;
flags to print notes.  Added more flexibility in what gets printed.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6748 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-28 05:10:07 +00:00
Derek Atkins
38f3120e14 change the Order API to take "Timespec" instead of "Timespec*"
g-wrap more of the business objects
create a job and order in the test data


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6747 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-28 00:55:34 +00:00
Dave Peticolas
bc0eb9c8cc David Hampton's register patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6742 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-27 06:45:56 +00:00
Derek Atkins
24384eb99a gncOrder: add reference
make reference editable
	add g-wrap for reference
invoice.scm: add order reference(s) to Invoice output
Fix invoice-reload for testing.  It works, now (thanks, rlb)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6741 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-27 04:52:33 +00:00
Derek Atkins
d23182e372 gncInvoice: change interfaces from "const Timespec *" to "Timespec"
for the setter methods
Improved invoice report
wrapped a few more business objects


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6740 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-26 23:42:11 +00:00
Derek Atkins
f840788ccb Create a new Invoice Report to print a GncInvoice
remove the "Invoice" report from the old register report


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6739 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-02-26 06:07:09 +00:00