David Hampton
4525380ae9
Large accounts are overflowing the data types used in the register
...
code and are causing crashes. #92072 , #98802
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/1.6@7696 57a11ea4-9604-0410-9ed3-97b8803252fd
2002-12-20 03:55:30 +00:00
Dave Peticolas
29ad1874da
Merges from head.
...
Move function from table-allgui.h to table-allgui.c.
Add option to disable auto checking of cleared transactions during reconcile.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/branches/1.6@4653 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-13 03:37:49 +00:00
Dave Peticolas
3bdfeb5be9
2001-06-08 Dave Peticolas <dave@krondo.com>
...
* src/SplitLedger.c (xaccSRGetEntryHandler): handle reconcile
cell string as appropriate for translate flag.
* src/register/table-allgui.c (gnc_table_get_entry): return
translated version
(gnc_table_get_entry_internal): return untranslated version
* src/register/table-allgui.h: add 'translate' argument to
entry handler api.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4547 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-08 22:41:03 +00:00
Dave Peticolas
fad634bfb6
2001-06-04 Dave Peticolas <dave@krondo.com>
...
* src/SplitLedger.c: fix spelling errors
* src/register/gnome/gnucash-item-edit.c: same as below
* src/register/gnome/gnucash-sheet.c: check change confirmation
before popping up combo list.
* src/register/table-allgui.c (gnc_table_confirm_change): new func
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4408 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-06-04 09:35:29 +00:00
Dave Peticolas
002ec86337
2001-04-27 Dave Peticolas <dave@krondo.com>
...
* src/SplitLedger.c (xaccSRExpandCurrentTrans): if expanding
a transaction, try to show all of it
* src/register/table-gnome.c (gnc_table_show_range): new func
* src/register/gnome/gnucash-sheet.c (gnucash_sheet_show_range):
new func
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@4075 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-04-27 10:25:35 +00:00
Dave Peticolas
275142e3c2
* src/register/gnome/gnucash-sheet.c: if input is cancelled by
...
user during delete, ignore the insert callback.
* src/MultiLedger.c: update for new view api
* src/register/recncell.{ch}: allow setting a parent to be used
for the dialog.
* src/gnome/query-user.c (gnc_verify_dialog_parented): handle null
parent by using gnc_get_ui_data.
* src/gnome/window-register.c: eliminate calls to
xaccSRCheckReconciled. confirmation is done in SplitLedger.c now.
* src/SplitLedger.c: use new data entry confirmation callback
to confirm changes to a reconciled split.
* src/register/splitreg.{ch}: mod for table-allgui changes
* src/register/table-allgui.{ch}: encapsulate 'view' callbacks
into a struct. add a callback for confiming data entry.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3726 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-03-01 11:06:36 +00:00
Dave Peticolas
d6bbbaced5
Reduce number of header resizes.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3485 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-16 13:10:41 +00:00
Dave Peticolas
38f02afdff
Improve auto-scroll behavior.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3451 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-12 12:03:44 +00:00
Dave Peticolas
2b35ce6d71
More register work. Fix various bugs.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3414 57a11ea4-9604-0410-9ed3-97b8803252fd
2001-01-09 02:13:47 +00:00
Dave Peticolas
a9a8dfa0b4
Make sure register column sizes are saved.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3342 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-22 08:42:48 +00:00
Dave Peticolas
ee3c0b4864
Improve register support for multi-byte character sets.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3319 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-19 01:47:22 +00:00
Dave Peticolas
2ff12ccada
Blank shares & price header on non-stock split lines.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3306 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-14 01:41:38 +00:00
Linas Vepstas
baa7c158a9
make annotations so that lxr happily ndisplays the file contents
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3302 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-13 21:57:33 +00:00
Dave Peticolas
fe9b8a7d20
Blank price & shares cells in non-stock account split lines.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3298 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-13 01:37:44 +00:00
Dave Peticolas
b8e9d8e2cc
Visual indication of imbalance.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3264 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-08 06:12:31 +00:00
Dave Peticolas
4b7887cfd7
Add HIGHLIGHT mode for cell borders.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3256 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-07 10:42:32 +00:00
Dave Peticolas
027b738f6a
Restrict multi-account registers to journal mode.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3244 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-05 11:18:58 +00:00
Dave Peticolas
c2cfb72c8f
Only allow price & shares to be editied for stock, mutual, and currency
...
accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3235 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-12-05 00:48:51 +00:00
Dave Peticolas
e2f274b190
Allow new accounts to be created from names typed in the register.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3212 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-30 10:12:42 +00:00
Dave Peticolas
10dc08e3db
Distinguish between user changes and auto changes in register cell values.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3194 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-27 19:28:47 +00:00
Dave Peticolas
737d33d7d8
More work on rebalancing.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3191 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-22 03:46:20 +00:00
Dave Peticolas
7c4cb62b83
Mork work on transaction display.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3159 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-18 09:07:15 +00:00
Dave Peticolas
a639f7e1f0
Rework the register styles. Use a general-ledger approach for displaying
...
expanded transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3153 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-16 22:40:46 +00:00
Dave Peticolas
f06fded5da
Use gnc_numerics in price cells and the register.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3126 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-07 08:27:08 +00:00
Dave Peticolas
97de3f4897
Minor register work.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3092 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-30 09:25:26 +00:00
Dave Peticolas
77aa9114c0
Use callbacks to get background colors, instead of storing them in the
...
cursors. Simplify color scheme for register.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3079 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-24 10:20:22 +00:00
Dave Peticolas
fcf7f501cd
PO: Move translatable strings from src/message_i18n.h into source files.
...
Register: Use visibility flags to implement auto-modes instead of
rebuilding the table. Make 'multi-line' an auto-mode where
only the current transactions has a blank split line.
Engine: Remove MoveFarEnd* cruft.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3073 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-23 22:39:27 +00:00
Dave Peticolas
889c27cc18
More work on virtual cell visibility. Drawing cleanups.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3037 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-09 22:00:49 +00:00
Dave Peticolas
bf1d2132ba
Add visibility flag to virtual rows. Code cleanup.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3032 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-08 10:04:03 +00:00
Dave Peticolas
1e9ebabe86
Make the Table resize automatically. Remove cruft.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3028 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-07 02:06:27 +00:00
Dave Peticolas
2120e4867a
Remove cached cell styles.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3027 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-06 22:50:43 +00:00
Dave Peticolas
ddba24dfe7
Fix a memory leak.
...
Use table for label strings, don't cache them in styles.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3026 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-06 11:34:15 +00:00
Dave Peticolas
d66f044a61
Implement foreground color handler. Remove cruft.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3010 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-03 08:03:47 +00:00
Dave Peticolas
184ae7b53d
Remove register physical->virtual mapping and all physical data.
...
Vroom vroom vroom!
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3009 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-03 02:03:05 +00:00
Dave Peticolas
724e7f23d4
Remove virtual->physical mapping.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3008 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-03 01:20:30 +00:00
Dave Peticolas
2b5a089e2d
Remove unused functions.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3007 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-03 01:03:58 +00:00
Dave Peticolas
fad189e49f
Only use virtual locations in manipulating the register.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3003 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-02 23:29:37 +00:00
Dave Peticolas
5193da34f7
More work on the register. Start eliminating use of physical locations.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2998 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-02 07:56:44 +00:00
Dave Peticolas
2fdff1c254
Minor fixes.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2994 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-01 11:06:16 +00:00
Dave Peticolas
7a24cb47e9
Rearchitect the register to avoid copying strings.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2993 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-01 09:24:29 +00:00
Dave Peticolas
5e0e0fb18d
Use GUIDs instead of Split * in the register.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2990 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-09-30 08:21:10 +00:00
Dave Peticolas
52a55ce64b
Configure the coloring of negative quantities with a user preference
...
instead of a compile-time option.
Implement the 'thin blue line' separating past transactions from
future transactions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2975 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-09-29 08:01:54 +00:00
Dave Peticolas
dee554f5fb
Register cruft removal.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2896 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-09-18 22:45:15 +00:00
Dave Peticolas
3e4b20679d
Add src/register/gtable.[ch], an implemtation of a dyamic 2-d array.
...
Reimplement the CellBlock and Table using this structure.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2860 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-09-16 08:14:30 +00:00
Dave Peticolas
2b3a4ff53f
Remove Makefile.in's from CVS repository.
...
Add and use gnome autoconf macros.
Fix lots of new compiler warnings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2842 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-09-13 22:33:15 +00:00
Dave Peticolas
ae29030ca8
Work on the register. Incorporate physical and virtual
...
Location abstractions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2749 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-09-02 00:26:15 +00:00
Dave Peticolas
0256e9db4a
Remove gncBoolean typedef and constants. Replace all uses of them
...
with the glib equivalents.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2682 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-08-21 10:26:57 +00:00
Dave Peticolas
4f7aca77fd
Reimplement the register Table object using glib's dynamic arrays.
...
Clean up the code and standardize the function naming convention.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2644 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-08-07 18:11:01 +00:00
Dave Peticolas
004a533bbd
Fix register bug.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2429 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-06-07 02:58:27 +00:00
Dave Peticolas
1d118e5861
Move gui-dependent defs out of engine. Use glib guint32 typedef.
...
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@2425 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-06-06 06:08:58 +00:00