Commit Graph

5682 Commits

Author SHA1 Message Date
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
3359c6ff22 Get scrolling to work right on new searches
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6861 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-13 19:56:27 +00:00
Linas Vepstas
e8a31e3417 rough in lots
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6860 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-13 06:02:15 +00:00
Linas Vepstas
83b7db0963 initial checkin
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6859 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-13 04:29:13 +00:00
Linas Vepstas
fc57f9bea0 start roughing in support for lots
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6858 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-13 04:28:17 +00:00
Linas Vepstas
4d71a9ceaa spell fixes, misc doco cleanup
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6857 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-13 04:27:38 +00:00
Derek Atkins
47821a2862 Convert from GtkList to GtkCList in preparation for multi-column display
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6856 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-13 03:24:31 +00:00
Linas Vepstas
da568ff16b spill check
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6855 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-12 22:07:44 +00:00
Linas Vepstas
3f5b1ab117 spell chick
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6854 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-12 22:06:04 +00:00
Linas Vepstas
9dbae08f89 initial checkin of lots design proposal
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6853 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-12 22:04:11 +00:00
Linas Vepstas
fb3770cea9 updates
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6852 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-12 22:02:39 +00:00
Derek Atkins
0a52ed38ee Store the customer name in all the Splits of a Posted Invoice
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6851 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-12 04:39:49 +00:00
Derek Atkins
439e756f24 fix a compiler warning
reverse the sense of Description and Memo for Invoice/Payment transactions
so that check printing will (should) do the right thing.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6850 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-12 03:36:37 +00:00
Derek Atkins
d4fd27e987 business/business-core/gncInvoice.[c,h]
* Change the interface of PostToAccount to take a "memo" which is
  placed in the Transaction Description.  The Customer name is now
  placed in the Split Memo for the Split attached to the A/R account.

.../file/gnc-customer-xml-v2.c
.../file/gnc-employee-xml-v2.c
.../file/gnc-invoice-xml-v2.c
.../file/gnc-vendor-xml-v2.c

* Fix bugs in the parsing code so we get real commodities instead of
  "temporary" commodities.  This way we don't need to "fix" them
  later.

business/business-gnome/dialog-date-close.[c,h]
			date-close.glade

* Add a "description" field to the dialog.

business/business-gnome/dialog-invoice.c

* Hook into the new date-close and PostToAccount interfaces to
  provide a description for posted invoices.

gnome/window-register.c
register/ledger-core/gnc-ledger-display.[c,h]
register/ledger-core/split-register-layout.c
register/ledger-core/split-register-model.c

* Update the split-register for A/R and A/P.  Make it default to
  double-lined, basic ledger for A/R and A/P.  Fix some of the cell
  labels and help text.

report/standard-reports/aging.scm

* Look at Split Memo instead of Transaction Description by default.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6848 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-11 00:35:43 +00:00
Derek Atkins
a21c57d1ca Remove remnants of old report that no longer exists
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6847 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-10 18:32:20 +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
ff8f8b5920 Actually enable the search on JOB_ACTIVE
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6845 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-09 21:36:37 +00:00
Derek Atkins
25a6b025ab Remove dialog-job-select.[ch] from the build process.
Add JOB_ACTIVE to the list of queriable parameters


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6844 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-09 21:35:24 +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
Derek Atkins
cc76359407 It helps to recurse into oneself
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6841 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 23:13:51 +00:00
Derek Atkins
00e6030b19 If you pass down an owner into the Job selection, don't let the user
change it.

Deal with editing Invoices properly, so it actually changes the data.
You can change the owner of an invoice and it will DTRT.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6840 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 23:05:17 +00:00
Derek Atkins
06a94557b3 Change the format of Invoices slightly, in preparation for Lots.
In partciular, remove the due-date and paid-date from the invoice
itself (let A/R and A/P handle that with Lots).  Change the Invoice
Window from a Dialog to a GnomeApp -- provide a toolbar. Also remove
Orders from the UI.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6839 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 20:42:38 +00:00
Derek Atkins
f0d29a35d4 Use safe_strcmp() in case be->linkfile is NULL
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6838 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 17:22:22 +00:00
Derek Atkins
cfd364a4e2 Fix for Solaris: you cannot have an empty .a, so supply a no-op .c
file so you at least have _something_.  This is a crock, but it
was easier than making the inclusion of libc-missing.a optional
everywhere.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6837 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 05:03:31 +00:00
Derek Atkins
89be52ed5f Fix configure.in to work on Solaris.. Test's need spaces between the
terms:
	if $foo = "no"; then

Supply a result message for the SCANF_LLD test


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6836 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-08 05:01:48 +00:00
David Hampton
8f47e3e7ca Add CFP Franc Pacifique.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6835 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 23:55:13 +00:00
David Hampton
da8b78111e Convert new 'missing' library to a libtool library.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6834 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 23:53:27 +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
9d746b8122 Remove user visible references to gnucash.com.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6832 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 19:43:34 +00:00
David Hampton
957a607772 Fix a couple of compilation warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6830 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 04:46:43 +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
10a2944b33 Add another use of gtk_window_present().
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6828 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 03:24:07 +00:00
David Hampton
5518f193e7 Tweak a warning message to provide more info.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6827 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 03:22:04 +00:00
David Hampton
dfbb270c2c Update spec fil to build an additional postgres backend rpm.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6826 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-07 01:46:40 +00:00
Derek Atkins
5fc8d2d134 gnc-backend-file.c: scandir() is not portable; re-write the
backup-file deletion using readdir() instead
gnc-gui-query.c:	at startup, gnc_ui_get_toplevel() may return NULL,
			do deal accordingly and don't assume it will be
			non-NULL (still other cases where this can bite you)


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6825 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-06 20:15:49 +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
David Hampton
f31ae2e3f9 Move string formatting logic into the gnc_xxx_dialog routines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6819 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-21 21:56:54 +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
David Hampton
8d1cb07b21 Clean up a couple of compilation warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6812 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 20:02:12 +00:00
Joshua Sled
44331d5796 Updated comments based off last night's commit.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6811 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 04:45:27 +00:00
David Hampton
5a9fc4329f Add support to four more dialogs to automatically raise an existing
window if the user tries to create a new dialog.  Convert ten others
to use the new common logic for raising windows.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6810 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 03:55:29 +00:00
David Hampton
7ffb44f292 Create a GTK 1.4 based emulation of the new gtk_window_present()
routine from GTK 2.0.  This routine encapsulates all knowledge of how
to de-iconify and raise windows.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6809 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-04-19 03:49:01 +00:00
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