Commit Graph

5666 Commits

Author SHA1 Message Date
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
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