Commit Graph

2659 Commits

Author SHA1 Message Date
Dave Peticolas
39ab0baea8 Use gnc_numerics in the register window.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3132 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-07 21:48:47 +00:00
Dave Peticolas
cbbde951b4 Use engine cache for strings.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3131 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-07 21:03:07 +00:00
Dave Peticolas
c027366e7a Add API for getting and setting the 'balance split'.
Redo Scrub using gnc_numerics.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3130 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-07 19:51:15 +00:00
Dave Peticolas
0e65931103 Fix spelling error.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3129 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-07 09:33:38 +00:00
Dave Peticolas
afdd02e15b Improve error message.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3128 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-07 08:55:34 +00:00
Dave Peticolas
c5571f5e9f Use GCaches to store strings in QuickFill objects.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3127 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-07 08:48:18 +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
bae97cb340 Christian Stimming's balance and pnl report patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3125 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-06 23:11:06 +00:00
Dave Peticolas
fa9161bb6a Stefan Nobis's German translation patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3124 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-06 23:01:57 +00:00
Dave Peticolas
b366a841fa Rob Browning's patch to sort the commodities in the XML output.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3122 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-06 22:48:54 +00:00
Dave Peticolas
13bf124bfc Tyson Dowd's patch to use GCaches for string caching in the engine.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3121 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-06 22:42:35 +00:00
Dave Peticolas
4f84ccd735 Use GLists to store splits in transactions. Remove cruft.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3120 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-04 01:05:41 +00:00
Dave Peticolas
134940aab9 Make gnc-amount-edit.c use gnc_numerics.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3119 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-03 08:43:55 +00:00
Dave Peticolas
3e48612a90 Derek Atkin's build system patches for g-wrap.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3118 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-02 23:26:36 +00:00
Dave Peticolas
155ce3612b Merge current account maintenance patch from stable.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3117 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-02 23:21:18 +00:00
Dave Peticolas
dda7f46033 More work on guile and amount printing.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3115 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-02 09:46:00 +00:00
Dave Peticolas
923f9e2107 Don't CHECK in a getter function.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3114 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-02 08:03:57 +00:00
Dave Peticolas
e337d684cb Make the gnc-currency-editor use gnc_commodities.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3113 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-02 07:40:07 +00:00
Dave Peticolas
6f41f77088 Wrap new amount printing API for guile.
Make gnucash load startup files when running as shell.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3112 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-02 04:07:21 +00:00
Dave Peticolas
a13f2dc367 Use Account smallest currency units in printing amounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3111 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-01 21:37:15 +00:00
Dave Peticolas
6fd791e4e1 Fix gnc_numeric <--> string conversions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3110 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-01 21:10:45 +00:00
Dave Peticolas
517b8a8cb2 Minor cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3109 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-01 11:50:12 +00:00
Dave Peticolas
8ee5befe6b Remove top-level.h.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3108 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-01 11:36:33 +00:00
Dave Peticolas
be92668bd2 Move amount printing and parsing routines out of the engine
and into src/gnc-ui-util.[ch]. Move src/engine/util.[ch] to
src/engine/gnc-engine-util.[ch].

Cleanup header files.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3107 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-11-01 08:52:30 +00:00
Dave Peticolas
66115c4740 Fix for libxml-1.8.6.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3106 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 19:40:35 +00:00
Dave Peticolas
2a5dc45753 Derek Atkins' patch.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3105 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 19:14:45 +00:00
Dave Peticolas
2b4cf35206 Remove crufty macros and memory routines.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3104 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 09:50:46 +00:00
Dave Peticolas
5974d8da52 Move xaccTransGetDateStr from Transaction.c to TransLog.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3103 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 09:36:07 +00:00
Dave Peticolas
da20e1a7c4 Use glib memory routines in Transaction.c.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3102 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 09:29:28 +00:00
Dave Peticolas
bf8db8bc26 Make register obey 'display negative balance in red' flag.
Fix some #includes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3101 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 09:08:49 +00:00
Dave Peticolas
abeddbce9b Fix memory leaks.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3100 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 08:21:58 +00:00
Dave Peticolas
8acba805da GUI cleanup.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3099 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 08:14:48 +00:00
Dave Peticolas
4607bb7d92 Fix memory leaks using xaccGetAccounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3097 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 07:11:11 +00:00
Dave Peticolas
2708767320 Use glib memory routines in Group.h functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3096 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 03:12:42 +00:00
Dave Peticolas
cfc0d3ad52 Use glib memory routines for Account.h functions.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3095 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 02:21:20 +00:00
Dave Peticolas
94c47a3cf3 Add gnc_log function for generic logging. Define other logging
macros in terms of gnc_log.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3094 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-31 01:27:31 +00:00
Dave Peticolas
b12e1d6675 Convert parser to use gnc_numerics.
Fix bug in gnc_numeric_reduce.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3093 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-30 10:46:46 +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
8a9364d146 Use GINT_TO_POINTER instead of casting.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3091 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-30 08:36:07 +00:00
Dave Peticolas
e3528bbe11 Remove xaccSplitOrder declaration.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3090 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-30 08:35:38 +00:00
Dave Peticolas
6a898c8fc0 Herbert Thoma's extension to the transfer dialog for currency accounts.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3089 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-29 22:09:45 +00:00
Dave Peticolas
7011b93f87 Implement xaccParseAmount to parse gnc_numerics directly.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3088 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-29 20:32:38 +00:00
Dave Peticolas
d180a69902 Fix register bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3087 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-28 07:54:19 +00:00
Dave Peticolas
9734f361ed Fix memory leaks getting commodity namespaces and commodity lists.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3086 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-28 07:33:59 +00:00
Dave Peticolas
c50f8c1ef5 Remove old guile currency list.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3085 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-28 01:31:34 +00:00
Dave Peticolas
a926c4045c Add 'commodity' option as a guile option.
Convert old currency widget to use the new commodity
infrastructure.

Add commodity widget to option dialog implementation.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3084 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-28 01:28:39 +00:00
Dave Peticolas
f2346f57e5 Fix for locales that use (num) as -num.
Create a gnc-commodity-edit widget for editing commodities and use it
in the account dialog.

A few bug fixes.


git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3083 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-27 20:30:30 +00:00
Dave Peticolas
13fa22195c Add const qualifiers to some function arguments.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3081 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-25 07:31:07 +00:00
Dave Peticolas
dec7371e29 Fix xml writer bug.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@3080 57a11ea4-9604-0410-9ed3-97b8803252fd
2000-10-25 06:48:57 +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