Linas Vepstas
f47b53a310
misc cleanup; lot-related bug fixes; add more traces
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6914 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-26 04:42:08 +00:00
Derek Atkins
47eaa5c35d
* src/engine/GNCId.c: Implement xaccForeachEntity() as a which
...
allows a traversal of all entities of a particular type.
* Register GncObject_t descriptions for Splits, Transactions, and
Accounts. Move the QueryObject definitions into the actual module
sources for Transactions, Splits, Accounts, and Books. This
allows QueryNew searches for Splits, Transactions, and Accounts.
* gnc-engine.c: call the registration functions for Splits,
Transactions, Accounts, and Books to enable searching using the
new search subsystem.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6913 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-25 02:50:24 +00:00
David Hampton
08e47f2b87
Finish fixing up the reconciliation window.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6912 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-25 01:38:11 +00:00
Derek Atkins
b9575c340f
Provide a method to obtain the computed discount
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6911 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-24 21:19:45 +00:00
Derek Atkins
2aa7caf1a1
Put the search criteria into a scrolled window. It will auto-resize
...
horizontally but vertically the window will remain the same size
and scroll. Note: need to adjust the scrollbar to scroll to the
end when you add a new criterion.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6910 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-24 18:23:54 +00:00
Linas Vepstas
9744356c43
finish adding suport for save/restore of lots
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6909 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-24 14:59:29 +00:00
Linas Vepstas
aa8daf8345
miswc cleanup, add minor/misc lot support
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6908 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-24 14:57:19 +00:00
David Hampton
550999c5b7
A couple more reconcile window tweaks.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6907 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-24 07:29:56 +00:00
David Hampton
fb02a024eb
Sorting in the reconciliation window is now done by clicking on the
...
column titles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6906 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-24 06:21:05 +00:00
Derek Atkins
5ceb07af38
Create a "search-owner" widget for the search dialog, which allows you
...
to search _by_ owner. Register at module load-time and use it in the
Invoice Search.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6905 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-24 03:34:27 +00:00
Derek Atkins
a7359db30b
Implement grab_focus() and editable_enters() for the search-date widget
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6904 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-24 00:44:52 +00:00
Derek Atkins
ff42bc9386
implement grab_focus() and editable_enters() for other search widgets
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6903 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-24 00:31:32 +00:00
Derek Atkins
a19c61ac98
Actually hook in the editable_enters() code
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6902 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 23:24:32 +00:00
Derek Atkins
ee6db584e2
Begin to implement grab_focus() and editable_enters() in order
...
to improve the UI. Currently only string types have been updated.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6901 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 22:57:52 +00:00
Derek Atkins
c206acf6fe
Fix payable report to save the account
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6900 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 21:57:16 +00:00
David Hampton
c2afef1d14
GncAmountEdit widget now based on a GtkEntry. Make the find dialog
...
more user friendly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6899 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 19:02:35 +00:00
Derek Atkins
862edd2220
Actually get the report to "save" successfully so one can reload later
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6898 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 18:01:34 +00:00
Derek Atkins
29b4ed62a0
Hook the payables and receivables reports into the window register
...
call them when viewing the appropriate accounts
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6897 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 17:05:47 +00:00
Linas Vepstas
0b360f29ea
more documentation
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6896 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 05:24:41 +00:00
Linas Vepstas
698e96e874
misc trite changes
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6895 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 05:11:51 +00:00
Linas Vepstas
4f79030fb7
undo scary cannabis-inspired damage
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6894 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 05:11:04 +00:00
Derek Atkins
ed360101be
Create a new lot when an invoice is posted
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6893 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-23 02:47:46 +00:00
Derek Atkins
cd8551e563
business-gnome.scm: add global preferences for the invoice dialog
...
dialog-invoice.c: get the dialog to size itself properly, and save the
width between runs.
gnucash-sheet.c: fix a bug where the "optimal size" is reporting the
wrong value.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6892 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-22 23:49:43 +00:00
Derek Atkins
ed76a1493e
Create a popup menu for the register
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6891 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-22 18:40:02 +00:00
Derek Atkins
fc2ce45809
Make search types dynamic, so you can register new ones
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6890 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-22 16:32:24 +00:00
Linas Vepstas
3256ec7856
updates
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6889 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-22 05:58:04 +00:00
Linas Vepstas
f082d63108
Accounts 'own' lots and provide memory management, etc.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6888 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-22 05:48:22 +00:00
Derek Atkins
1ba28d23dc
Not all versions of autoconf return 'GNU' in the --version.
...
Just search for "Autoconf" instead of "GNU Autoconf"
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6887 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-22 03:57:02 +00:00
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
Linas Vepstas
b443bcf002
add an example
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6885 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-22 01:03:23 +00:00
Derek Atkins
391e908943
configure.in: solve the "test: too many arguments" bug
...
acinclude.m4: don't need the extra MSG response
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6884 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-21 21:59:25 +00:00
Linas Vepstas
8179770a6d
cleanup, start adding support for lots
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6883 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-21 05:22:55 +00:00
Linas Vepstas
3504798dec
initial checkin
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6882 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-21 05:20:54 +00:00
Linas Vepstas
aa3ccabc9f
update status of lots implementation
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6881 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-21 05:18:54 +00:00
Linas Vepstas
d34d0327fd
get/set the guid
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6880 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-21 05:16:47 +00:00
Linas Vepstas
54be97345b
fix various tab->3 spaces, tab->8 spaces indentation problems
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6879 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-19 16:32:59 +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
Derek Atkins
094b57930f
implement "Delete" and "Duplicate" functions
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6877 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-18 20:10:27 +00:00
Derek Atkins
a61e184428
Implement "Blank" (jump to blank)
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6876 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-18 15:57:29 +00:00
Derek Atkins
2562c16e8a
Implement "cancel" and "enter" buttons in the Invoice Window toolbar
...
refactor the 'check and save' code in the Entry Ledger, provide an interface
for the invoice window to use
save and reload the current cursor in the Entry Ledger when reloading
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6875 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-17 22:09:14 +00:00
David Hampton
4fd247fb06
Remove some noise when debugging portfolio reports.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6874 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-17 01:06:35 +00:00
David Hampton
a78904819c
Eliminate a runtime error message.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6873 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-17 01:05:12 +00:00
David Hampton
cd00dc6f53
Add g-wrap lib directory to the build-env script.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6872 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-17 01:03:34 +00:00
David Hampton
0b0581c71e
More gettext 0.11 junk.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6871 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-17 00:20:06 +00:00
Derek Atkins
d77a6100e0
Hook payments into invoice search results
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6870 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-16 23:08:54 +00:00
Derek Atkins
23821171c0
Hook the payment dialog into customer, vendor, and job search results
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6869 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-16 23:02:18 +00:00
Derek Atkins
ec60f221fa
gncInvoice: add function to return the Type string, based on the Owner..
...
returns "Invoice" or "Bill"
add this type to the list of accessible parameters
gncOwner: add GetCommodity() interface
Refactor some common code out of dialog-date-close and dialog-invoice
into business-utils so that the payment dialog can use it too.
Add Payment Dialog, glade file, C and header, and link it into scheme
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6868 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-16 22:45:50 +00:00
Derek Atkins
3ef4566deb
Don't include gettext-0.11 macros in the distribution
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6867 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-16 22:36:52 +00:00
David Hampton
e3b32ced97
Finished changes to make both gettext 0.10 and 0.11 work.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@6866 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-05-16 21:59:52 +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