1
2001-12-27 Dave Peticolas <dave@krondo.com>
3
* src/backend/postgres/test/test-db.c: expand testing
5
* src/engine/Transaction.c: fix bugs. keep positive editlevel
6
while committing and rolling back transaction.
8
2001-12-25 Dave Peticolas <dave@krondo.com>
10
* src/backend/postgres/test/test-db.c: test rollback
12
* src/engine/Transaction.c: fix bug in transaction rollback
14
* src/engine/test-core/test-engine-stuff.h: add test routine
16
* src/engine/test-core/test-engine-stuff.c: add test routine
18
2001-12-20 Dave Peticolas <dave@krondo.com>
20
* src/scm/main.scm: update for api changes
22
* src/report/report-gnome/window-report.h: add new init api
24
* src/report/report-gnome/window-report.c: move some report
25
initialization here from top-level.c
27
* src/report/report-gnome/gncmod-report-gnome.c: call new report
28
initialization function
30
* src/report/report-gnome/Makefile.am: add app-utils dependency
32
* src/gnome/top-level.h: update for api changes
34
* src/gnome/top-level.c: remove some gnome initialization &
35
shutdown. change ui init api.
37
* src/gnome/gw-gnc-spec.scm: update for api changes
39
* src/gnome/argv-list-converters.h: remove
41
* src/gnome/argv-list-converters.c: remove
43
* src/gnome/Makefile.am: remove argv-list-converters.[ch]
45
* src/gnome-utils/gw-gnome-utils-spec.scm: g-wrap new funcs
47
* src/gnome-utils/gncmod-gnome-utils.c: remove #include cruft
49
* src/gnome-utils/gnc-html.c: remove #include cruft
51
* src/gnome-utils/gnc-gnome-utils.h: new file
53
* src/gnome-utils/gnc-gnome-utils.c: new file -- init and shutdown
56
* src/gnome-utils/argv-list-converters.h: add
58
* src/gnome-utils/argv-list-converters.c: add
60
* src/gnome-utils/Makefile.am: add new files
62
* src/gnc-ui.h: remove cruft
64
* src/scm/main.scm: remove some report menu setup functionality
66
* src/report/report-gnome/report-gnome.scm: move some report
67
menu setup functionality here
69
* src/gnome/top-level.c: take out component manager initialization
72
* src/engine/Transaction.c: fix spelling
74
* src/backend/postgres/test/test-db.c: work on tests
76
* src/backend/postgres/test/.cvsignore: ignore database dirs
78
* src/backend/postgres/txn.c: fix spelling
80
* src/app-utils/gncmod-app-utils.c: perform component manager
81
initialization and shutdown here
83
* src/app-file/gnc-file.c: suspend engine events when
86
2001-12-19 Dave Peticolas <dave@krondo.com>
88
* src/engine/gw-engine-spec.scm: g-wrap event types enum
90
* src/engine/gnc-session.c: set book backend to NULL before
91
destroying old book in gnc_session_load
93
* src/engine/Transaction.c: do checks & events when setting
94
slots for transactions and splits.
96
* src/engine/GNCId.h: add a const typedef for GNCIdType
98
* src/backend/postgres/test/test-db.c: add a test for backend
99
transaction rollback due to stale data in the engine
101
* src/backend/postgres/txn.c: fix bugs restoring one transaction
104
* src/backend/postgres/putil.h: add EXEC_QUERY
106
* src/backend/postgres/price.h: add pgendGetCommodity
108
* src/backend/postgres/price.c: add pgendGetCommodity
110
* src/app-utils/test/test-component-manager: test g-wrapped
113
* src/app-utils/test/Makefile.am: add test-component-manager
115
* src/app-utils/gw-app-utils-spec.scm: g-wrap component manager
117
* src/app-utils/gnc-component-manager.h: add some SCM api
119
* src/app-utils/gnc-component-manager.c : add some SCM api
121
2001-12-17 Dave Peticolas <dave@krondo.com>
123
* src/gnome-utils/gw-gnome-utils-spec.scm: add wrapping for widgets
126
* src/backend/postgres/test/test-db.c: add check for initial
129
* src/backend/postgres/PostgresBackend.c: fix bug. begin/commit
130
account group when loading initial balances
132
2001-12-12 Dave Peticolas <dave@krondo.com>
134
* src/report/report-gnome/test/test-load-module: add
136
* src/report/report-gnome/test/test-link-module.c: add
138
* src/report/report-gnome/test/Makefile.am: add
140
* src/report/report-gnome/test/.cvsignore: add
142
* src/report/report-gnome/Makefile.am: add test dir
144
* configure.in: configure report-gnome/test directory
146
2001-12-11 Rob Browning <rlb@defaultvalue.org>
148
* src/scm/command-line.scm: reorganize a little to remove some of
149
the top-level actions. Accommodate the new -path vars instead of
151
(gnc:initialize-config-vars): new function -- initialize config
152
vars to defaults, respecting any relevant envt variable
155
* src/scm/doc.scm (gnc:find-doc-file): use
156
gnc:find-localized-file, not gnc:find-file.
158
* src/scm/main-window.scm: fix hooks usage to be idempotent --
159
file should (re)load safely now.
161
* src/scm/main.scm: migrate some loads to the top level - though
162
to really do this right, we're going to need more explicit
163
use-modules and gnc:module-load deps expressed everywhere.
164
(gnc:find-file): new exported function.
165
(gnc:find-localized-file): new exported function.
166
(gnc:*config-path*): new export.
167
(gnc:*share-path*): new export.
168
(gnc:*doc-path*): new export.
169
(gnc:flatten): new function.
170
(build-path): simplify.
171
(gnc:print-unstable-message): simplify.
173
* src/scm/path.scm: rework doc-path handling completely, migrating
174
much of the code to command-line.scm.
175
(gnc:expand-path): new function.
176
(gnc:load-system-config-if-needed): use gnc:*config-path*, not
178
(gnc:locale-prefixes): removed.
179
(gnc:default-doc-dirs): removed.
180
(gnc:_expand-doc-path_): removed.
182
* src/scm/price-quotes.scm
183
(gnc:*finance-quote-helper*): use gnc:*share-path*, not
186
* src/scm/tip-of-the-day.scm: rewrite to be re-loadable -- you now
187
need to call an init function after loading the file. In the long
188
run, this should still become a module (guile or gnc).
189
(gnc:initialize-tip-of-the-day): new function.
190
(gnc:tip-of-the-day-startup-func): new function.
192
* src/scm/build-config.scm.in: rename -dir_ variables to -path_
193
and remove help-dir in favor of doc-path.
195
* src/scm/Makefile.am (build-config.scm): remove
196
GNC_PKGLIB_INSTALLDIR.
198
* src/report/utility-reports/hello-world.scm
199
(hello-world-renderer): modify to reflect switch from share-dir to
202
* src/report/report-gnome/.cvsignore: add missing bits.
204
* configure.in: now that libgnc-engine doesn't depend on guile any
205
more, migrate the guile flags from "BASE" to the regular vars.
206
(GNUCASH_ENGINE_BASE_LIBS): remove guile bits.
207
(GNUCASH_ENGINE_LIBS): add guile bits.
208
(GNUCASH_ENGINE_BASE_CFLAGS): remove guile bits.
209
(GNUCASH_ENGINE_CFLAGS): add guile bits.
211
* src/engine/.cvsignore: add a few missing bits.
213
* src/engine/iso-currencies-to-c: new file -- convert
214
iso-4217-currencies.scm to iso-4217-currencies.c. Amazingly
215
easily. Woohoo for languages with built in self-parsers.
217
* src/engine/Makefile.am: accommodate new automatically generated C
218
code for default commodity table initialization.
220
* src/engine/gnc-commodity.h
221
(gnc_commodity_table_add_default_data): new prototype.
223
* src/engine/gnc-commodity.c
224
(gnc_commodity_table_add_default_data): new function -- populate a
225
commodity table with the "default" commodities/namespaces.
226
#includes the automatically generated code from
229
* src/engine/engine-helpers.c
230
(gnc_engine_commodity_table_new): removed.
232
* src/engine/commodity-table.scm: migrate commodity table
233
construction to be C-only.
234
(gnc:load-iso-4217-currencies): removed.
235
(gnc:setup-default-namespaces): removed.
237
* src/engine/gnc-book.c (gnc_book_init): switch to use non-guile
238
based gnc_commodity_table_add_default_data.
240
* src/engine/engine-helpers.h: remove
241
gnc_engine_commodity_table_new.
243
* src/engine/engine.scm: don't export deleted
244
gnc:engine-commodity-table-construct.
246
* src/engine/iso-4217-currencies.scm: fix some typos.
248
* src/report/report-gnome/Makefile.am
249
(AM_CFLAGS): add GLADE_CFLAGS.
250
(.scm-links): add report link.
252
* src/report/report-gnome/.cvsignore: add *.lo and *.la.
254
* src/optional/.cvsignore: add *.lo and *.la.
256
* src/gnome/dialog-sxsincelast.c: #include gnc-gui-query.h
258
* src/bin/overrides/gnucash-build-env.in: add report-gnome to
259
test-env. Change envt vars to reflect new scheme:
260
GNC_CONFIG_PATH, GNC_SHARE_PATH, and GNC_DOC_PATH.
262
* src/backend/postgres/test/test-db.c
263
(db_file_url): find the postgres communication socket directory
264
via envt var TEST_DB_SOCKET_DIR.
266
* src/backend/postgres/test/db-control.sh: rework to communicate
267
with postgres through a file system socket rather than a TCP
268
connection so tests will work even on machines that don't allow
269
TCP. This was a little tricky because shell substitutions were
270
fighting the PG_CTL "-o '-k x -p y'" syntax.
272
* src/backend/postgres/test/Makefile.am
273
(AM_CFLAGS): add GUILE_INCS.
274
(TESTS_ENVIRONMENT): add TEST_DB_SOCKET_DIR.
276
* intl-scm/Makefile.am (guile-strings.c): add top_srcdir.
278
* configure.in (error-on-warning): make this the default. I'm
279
tired of having to fix missing #includes, mismatched types,
280
etc. after an update so I can get back to work, but if anyone has
281
a real problem with this, I'd be happy to reconsider.
283
* src/scm/bootstrap.scm.in: deleted (a few days ago actually).
285
2001-12-11 Dave Peticolas <dave@krondo.com>
287
* src/tax/us/test/Makefile.am: remove report-gnome from dirs
289
* src/tax/us/us.scm: don't use gw-gnc
291
* src/report/utility-reports/test/Makefile.am: remove report-gnome
294
* src/report/utility-reports/welcome-to-gnucash.scm: don't use gw-gnc
296
* src/report/utility-reports/view-column.scm: don't use gw-gnc
298
* src/report/utility-reports/utility-reports.scm: don't use gw-gnc
300
* src/report/utility-reports/iframe-url.scm: don't use gw-gnc
302
* src/report/utility-reports/hello-world.scm: don't use gw-gnc
304
* src/report/stylesheets/test/Makefile.am: remove report-gnome
307
* src/report/stylesheets/stylesheets.scm: don't use gw-gnc
309
* src/report/stylesheets/stylesheet-plain.scm: don't use gw-gnc
311
* src/report/stylesheets/stylesheet-fancy.scm: don't use gw-gnc
313
* src/report/standard-reports/test/Makefile.am: remove report-gnome
316
* src/report/standard-reports/transaction.scm: don't use gw-gnc
318
* src/report/standard-reports/standard-reports.scm: don't use gw-gnc
320
* src/report/standard-reports/register.scm: don't use gw-gnc
322
* src/report/standard-reports/price-scatter.scm: don't use gw-gnc
324
* src/report/standard-reports/portfolio.scm: don't use gw-gnc
326
* src/report/standard-reports/pnl.scm: don't use gw-gnc
328
* src/report/standard-reports/net-barchart.scm: don't use gw-gnc
330
* src/report/standard-reports/category-barchart.scm: don't use gw-gnc
332
* src/report/standard-reports/balance-sheet.scm: don't use gw-gnc
334
* src/report/standard-reports/account-summary.scm: don't use gw-gnc
336
* src/report/standard-reports/account-piecharts.scm: don't use gw-gnc
338
* src/report/report-system/test/Makefile.am: remove report-gnome
341
* src/report/report-system/report.scm: don't use gw-gnc
343
* src/report/report-system/report-system.scm: don't use gw-gnc
345
* src/report/report-gnome/window-report.c: implement report
346
export handling gui here instead of in reports
348
* src/report/report-gnome/report-gnome.scm: don't use gw-gnc
350
* src/report/locale-specific/us/test/Makefile.am: remove
351
report-gnome from dirs
353
* src/report/locale-specific/us/taxtxf.scm: don't use gw-gnc.
356
* src/import-export/qif-io-core/qif-io-core.scm: don't use gw-gnc
358
* src/import-export/qif-import/qif-parse.scm: fix i18n
360
* src/import-export/qif-import/qif-import.scm: don't use gw-gnc
362
* src/gnome/gw-gnc-spec.scm: remove remaining gnome-utils wrapping
364
* src/gnome-utils/test/Makefile.am: remove report-gnome from dirs
366
* src/gnome-utils/gw-gnome-utils-spec.scm: add more wrapping
369
* src/gnome-utils/gnome-utils.scm: don't use gw-gnc
371
* src/app-utils/test/Makefile.am: remove report-gnome from dirs
373
* src/app-file/test/Makefile.am: remove report-gnome from dirs
375
2001-12-11 Christian Stimming <stimming@tuhh.de>
377
* src/app-utils/gnc-euro.c (gnc_convert_to_euro): Fixed rounding
380
* src/gnome-utils/druid-utils.[ch]: added
381
gnc_druid_set_logo_image.
383
2001-12-10 Dave Peticolas <dave@krondo.com>
385
* src/scm/main.scm: handle welcome report gui here
387
* src/report/utility-reports/welcome-to-gnucash.scm: remove gui code
389
* src/report/utility-reports/view-column.scm: remove
392
* src/report/report-system/report.scm: remove options-editor code
394
* src/report/report-system/report-system.scm: remove
397
* src/report/report-gnome/report.glade: add
399
* src/report/report-gnome/report-gnome.scm: handle options-editors
400
here instead of in other report modules
402
* src/report/report-gnome/gw-report-gnome-spec.scm: g-wrap more
405
* src/report/report-gnome/dialog-style-sheet.h: add
407
* src/report/report-gnome/dialog-style-sheet.c: add
409
* src/report/report-gnome/dialog-column-view.h: add
411
* src/report/report-gnome/dialog-column-view.c: add
413
* src/report/report-gnome/Makefile.am: add new files. fix .scm-links
415
* src/gnome/glade/report.glade: remove
417
* src/gnome/glade/Makefile.am: remove report.glade
419
* src/gnome/dialog-style-sheet.h: remove
421
* src/gnome/dialog-style-sheet.c: remove
423
* src/gnome/dialog-column-view.h: remove
425
* src/gnome/dialog-column-view.c: remove
427
* src/gnome/gw-gnc-spec.scm: remove report-related wrapping
429
* src/gnome/Makefile.am: remove deleted files
431
2001-12-09 Dave Peticolas <dave@krondo.com>
433
* src/backend/postgres: add auto-generated headers
435
* configure.in: add new default warnings
437
2001-12-08 Dave Peticolas <dave@krondo.com>
439
* src/bin/overrides/gnucash-build-env.in: add report-gnome dir
441
* src/backend/postgres/test/test-db.c: remove unused function
443
* configure.in: remove -Wno-unused
445
2001-12-07 Dave Peticolas <dave@krondo.com>
447
* src/report/report-system/report.scm: move a gnome function
448
to report-gnome module
450
* src/report/report-system/report-system.scm: remove export
452
* src/report/report-gnome/report-gnome.scm: new file.
454
* src/report/report-gnome/gw-report-gnome-spec.scm: wrap some more
457
* src/report/report-gnome/gncmod-report-gnome.c: load g-wrapped
458
and gnucash report-gnome modules.
460
* src/report/report-gnome/Makefile.am: add report-gnome.scm module
462
* src/gnome/gw-gnc-spec.scm: remove some report bindings
464
2001-12-05 Bill Gribble <grib@billgribble.com>
466
* use AM_PATH_LIBGLADE instead of gnome-config for libglade paths
468
* add --disable-gui option to configure.in and reshuffle
469
src/Makefile.am to not build gui code if it's used.
471
2001-12-04 Rob Browning <rlb@defaultvalue.org>
473
* src/scm/main.scm: merge bootstrap.scm contents here and
474
rearrange code to eliminate most, if not all top-level activities.
476
* src/scm/.cvsignore: remove bootstrap.scm and add build-config.scm.
478
* src/scm/Makefile.am: remove depend.scm and handle switch from
479
bootstrap.scm to main.scm and build-config.scm.
481
* src/scm/build-config.scm.in: new file -- keep all the
482
auto-generated bits (and only those) here.
484
* src/scm/doc.scm (gnc:load-help-topics): just use
485
%search-load-path for now, though in the future these files
486
probably ought to be elsewhere.
488
* src/scm/path.scm (gnc:default-doc-dirs): match build-config.scm
489
var names for help dir.
491
* src/scm/command-line.scm: add other env var lookups as part of
492
startup changes. Change bootstrap to main.
493
(gnc:*load-path*): eliminate.
495
* src/gnc-module/gnc-module.c: remove guile includes.
497
* src/gnc-module/Makefile.am (libgncmodule_la_LIBADD): remove
498
guile libs -- not needed any more.
500
* src/engine/test/test-period.c: must load the engine
501
before using it, and check to make sure the load works.
503
* src/engine/test/test-group-vs-book.c (main_helper): check for
504
failure loading the engine.
506
* src/bin/overrides/gnucash-build-env.in: part 1 of startup
507
changes -- use envt vars for more bits: GNC_CONFIG_DIR,
508
GNC_SHARE_DIR, and GNC_DOC_PATH now.
510
* src/bin/overrides/gnucash: use main, not bootstrap.
512
* src/app-utils/app-utils.scm: accommodate removal of
513
utilities.scm, and use main not bootstrap.
515
* src/app-utils/utilities.scm: code moved to main.scm -- needed
516
earlier in boot process.
518
* src/app-utils/Makefile.am (gncscm_DATA): remove utilities.scm.
520
* Makefile.am (TAGS): modify to fix the problem where you had to
521
run make twice to get it to succeed.
523
* Makefile.TAGS: new file.
525
* src/scm/depend.scm: deleted.
527
* src/report/standard-reports/net-barchart.scm: rename bootstrap to main.
529
* src/report/standard-reports/category-barchart.scm: rename
532
* src/report/standard-reports/balance-sheet.scm: rename bootstrap
535
* src/report/standard-reports/receivables.scm: rename bootstrap to main.
537
* src/report/standard-reports/payables.scm: rename bootstrap to
540
* src/report/standard-reports/standard-reports.scm: rename
543
* src/report/standard-reports/register.scm: rename bootstrap to main.
545
* src/report/standard-reports/price-scatter.scm: rename bootstrap
548
* src/report/standard-reports/portfolio.scm: rename bootstrap to main.
550
* src/report/standard-reports/average-balance.scm: rename
553
* src/report/utility-reports/welcome-to-gnucash.scm: rename
556
* src/report/utility-reports/utility-reports.scm: rename bootstrap
559
* src/report/standard-reports/transaction.scm: rename bootstrap to main.
561
* src/report/standard-reports/aging.scm: rename bootstrap to main.
563
* src/report/utility-reports/view-column.scm: rename bootstrap to main.
565
* src/report/standard-reports/account-summary.scm: rename
568
* src/report/standard-reports/account-piecharts.scm: rename
571
* src/report/utility-reports/iframe-url.scm: rename bootstrap to main.
573
* src/report/utility-reports/hello-world.scm: rename bootstrap to main.
575
* src/tax/us/us.scm: rename bootstrap to main.
577
* src/scm/price-quotes.scm: rename bootstrap to main.
579
* src/report/stylesheets/stylesheets.scm: rename bootstrap to main.
581
* src/report/stylesheets/stylesheet-plain.scm: rename bootstrap to main.
583
* src/report/stylesheets/stylesheet-fancy.scm: rename bootstrap to main.
585
* src/report/report-system/report.scm: rename bootstrap to main.
587
* src/report/report-system/report-system.scm: rename bootstrap to main.
589
* src/report/locale-specific/us/taxtxf.scm: rename bootstrap to main.
591
* src/import-export/qif-io-core/qif-io-core.scm: rename bootstrap
594
* src/gnome-utils/gnome-utils.scm: rename bootstrap to main.
596
* src/import-export/qif-import/qif-import.scm: rename bootstrap to main.
598
* src/report/standard-reports/pnl.scm: rename bootstrap to main.
600
2001-11-28 Rob Browning <rlb@defaultvalue.org>
602
* src/bin/Makefile.am: handle new overrides arrangement.
604
* src/bin/generate-gnc-script: new script to generate all the
605
trivial top-level gnucash redirection scripts.
607
* src/scm/tip-of-the-day.scm (gnc:read-tips): use
608
%search-load-path to find the tips, not gnc:find-in-directories
609
and gnc:*load-path*. In truth, the tips should be in sharedir
610
anyway, but we'll handle that later.
612
* src/scm/main.scm (gnc:startup): call gnc:setup-gettext and
613
setlocale just after loading app-utils. If this isn't early
614
enough, we'll need to try something else.
616
* src/scm/command-line.scm (gnc:*config-dir*): add GNC_CONFIG_DIR
617
environment variable override.
619
* src/scm/bootstrap.scm.in: switch to use load-from-path for
622
* src/bin/test/test-run-script: new file.
624
* src/bin/overrides/gnucash-run-script: new file -- mostly content
625
of ../gnucash-run-script.
627
* configure.in: add adjustments for new static overrides scripts.
629
* src/import-export/binary-import/Makefile.am
630
(.scm-links): add some more links so runs from build dir will
633
* src/gnome/Makefile.am: accommodate the removal of gnucash.h,
634
gnucash.c.in, and the move of i18n.h.in which all resulted in the
635
removal of libgncguile.la.
637
* src/gnc-module/gnc-module.c
638
(gnc_module_system_setup_load_path): don't do anything when dir
641
* src/business/business-core/gncInvoice.c
642
(gncInvoiceGetInvoiceFromTxn): initialize book to NULL so warnings
643
won't kill -Werror compiles.
645
* src/app-utils/.cvsignore: add i18n.h.
647
* src/app-utils/Makefile.am
648
(gncinclude_HEADERS): add i18n.h
649
(EXTRA_DIST): add i18n.h.in
650
(i18n.h): new target.
652
* src/app-utils/gw-app-utils-spec.scm: add wrapper for
655
* src/app-utils/README: new file.
657
* src/bin/overrides/guile.in: moved from ../.
659
* src/bin/overrides/gnucash-make-guids: new file -- mostly content
660
of ../gnucash-make-guids.in.
662
* src/bin/overrides/gnucash-env.in: moved from ../.
664
* src/bin/overrides/gnucash-build-env.in: moved from ../.
666
* src/bin/.cvsignore: update for file rearrangements.
668
* src/bin/test/test-version: new file.
670
* src/bin/test/test-guile-env-override: new file.
672
* src/bin/test/fake-guile: new file.
674
* src/bin/test/Makefile.am: new file.
676
* src/bin/test/.cvsignore: new file.
678
* src/bin/overrides/gnucash: new file.
680
* src/bin/overrides/Makefile.am: new file.
682
* src/bin/overrides/.cvsignore: new file.
684
* src/bin/gnucash.in: removed.
686
* src/bin/gnucash-make-guids.in: removed.
688
* src/bin/gnucash-run-script.in: removed.
690
* src/bin/guile.in: moved to src/bin/overrides.
692
* src/bin/gnucash-env.in: moved to src/bin/overrides.
694
* src/import-export/qif-import/Makefile.am (.scm-links): new target.
696
* src/gnome/gnucash.h: removed.
698
* src/gnome/gnucash.c.in: removed.
700
* src/gnome/i18n.h.in: moved to src/app-utils.
702
* src/import-export/qif-import/.cvsignore: add .scm-links.
704
* src/gnome/top-level.c: remove gnucash.h include.
706
* src/gnome/gw-gnc-spec.scm: remove gnucash.h include.
708
* src/core-utils/.cvsignore: add .scm-links.
710
* src/core-utils/gw-core-utils-spec.scm: new file.
712
* src/core-utils/Makefile.am: accommodate new g-wrappers.
714
* src/app-utils/gnc-gettext-util.c (gnc_setup_gettext): move here.
716
* src/app-utils/gnc-gettext-util.h (gnc_setup_gettext): move here.
718
* src/app-utils/i18n.h.in: move here from src/gnome.
720
2001-11-26 Robert Graham Merkel <rgmerk@mira.net>
722
* src/*/Makefile.am: add ${GLADE_CFLAGS} to AM_CFLAGS.
724
2001-11-21 Rob Browning <rlb@defaultvalue.org>
726
* README: add a note to the Running section indicating that it's
727
obsolete. We'll need to update this soon.
729
* src/scm/startup-design.txt: some updates -- needs overhaul.
731
* src/bin/guile.in: trivial guile override wrapper.
733
* src/bin/gnucash.in: rearrange code so that the file can be
734
interactively loaded for debugging without firing up gnucash
737
* src/bin/gnucash-env.in: add the script-override directory to the
738
front of the user's PATH.
740
* src/bin/Makefile.am (gncoverridedir): new var.
741
(gncoverride_SCRIPTS): new var -- add guile.
742
(guile): new target -- guile override stub script.
744
* src/bin/.cvsignore: add guile.
746
* doc/gnucash.1: remove some vestigial envt var refs.
748
* configure.in: add GNC_LIBEXECDIR.
749
(AC_OUTPUT): add src/bin/Makefile.
751
* src/bin/gnucash-env.in: carefully setup PATH to pick up correct
754
* src/bin/: new directory. Added so that scripts will be in a
755
subdir and can be re-made/installed without a full build.
757
* src/bin/gnucash-env.in: new file -- you can use this to invoke
758
programs or scripts with the proper gnucash
759
environment. i.e. "gnucash-env guile -s foo bar" or
760
"gnucash-env some-command arg1 arg2 ..."
762
* src/gnome/window-main.c (gnc_shutdown): moved here for now, but
763
should eventually be moved to app-utils (or similar) and made
766
* src/bin/gnucash.in: moved here from ../gnucash.sh.in. Now uses
767
gnucash-env to set up environment.
769
* src/gnome/gnucash.c.in: removed all code except
770
gnc_setup_gettext, which should be moved to app-utils, or
773
* src/scm/main.scm: remove append-path calls - handled in gnucash-env.
774
(append-path): unused -- deleted.
775
(gnc:main): handle setlocale here.
777
* src/.cvsignore: remove bits that moved to src/bin.
779
* src/Makefile.am: handle new src/bin directory, and remove all
780
the old gnucash binary bits.
782
* src/gnc-main.c: deleted.
784
* src/gnucash-make-guids.in: moved to src/bin.
786
* src/gnucash-run-script.in: moved to src/bin.
788
* src/gnucash.sh.in: moved to src/bin/gnucash.in.
790
* src/gnome/gnucash.h: removed many dead functions.
792
* src/bin/gnucash-run-script.in: moved here from ..
794
* src/bin/gnucash-make-guids.in: moved here from ..
796
* src/bin/Makefile.am: new file.
798
* src/bin/.cvsignore: new file.
800
2001-11-20 Rob Browning <rlb@defaultvalue.org>
802
* src/gnome/gnucash.c.in
803
(gnucash_main_helper): switch to gnc_setenv.
805
* src/gnome/Makefile.am (AM_CFLAGS): add core-utils.
807
* src/gnc-module/gnc-module.c
808
(gnc_module_system_setup_load_path): use gnc_setenv.
810
* src/gnc-module/Makefile.am
811
(AM_CFLAGS): add core-utils.
812
(libgncmodule_la_LIBADD): add core-utils.
814
* src/engine/gnc-engine-util.h: add #include config.h.
816
* src/dialog-account/Makefile.am
817
(AM_CFLAGS): add GDK_PIXBUF_CFLAGS.
819
* src/core-utils/core-utils.h: new file.
821
* src/core-utils/core-utils.c: new file.
822
(gnc_setenv): new function.
823
(gnc_unsetenv): new function.
825
* src/core-utils/Makefile.am: new file.
827
* src/core-utils/.cvsignore: new file.
829
* src/business/business-gnome/Makefile.am
830
(AM_CFLAGS): add GDK_PIXBUF_CFLAGS.
832
* src/backend/file/test/test-save-in-lang.c
833
(test_file): switch from putenv to gnc_setenv.
834
(main): switch from putenv to gnc_setenv.
836
* src/backend/file/test/Makefile.am (AM_CFLAGS): add src/core-utils.
838
* configure.in (AC_OUTPUT): add src/core-utils.
840
* src/backend/file/sixtp-utils.c (gnc_timegm): switch from putenv
841
to gnc_setenv and gnc_unsetenv.
843
* src/README.modules: add core-utils.
845
* src/Makefile.am (SUBDIRS): add core-utils.
847
2001-11-17 Rob Browning <rlb@defaultvalue.org>
849
* src/business/business-gnome/.cvsignore: add various-things.
851
* src/business/business-core/.cvsignore: add various things.
853
* src/business/business-core/test/Makefile.am: fixup
854
TESTS_ENVIRONMENT to use gnc-test-env.
856
* src/business/business-core/test/.cvsignore: add various things.
858
* src/business/.cvsignore: add Makefile.in.
860
* src/gnc-module/test/test-scm-multi: turned into guile script
863
* src/gnc-module/test/test-scm-multi.scm: deleted.
865
* src/gnc-module/test/Makefile.am: use gnc-test-env.
866
(EXTRA_DIST): remove test-scm-multi.scm.
868
* src/business/business-gnome/Makefile.am
869
(AM_CFLAGS): add GNOME_PRINT_CFLAGS.
871
2001-11-16 Rob Browning <rlb@defaultvalue.org>
873
* configure.in (AC_OUTPUT): add src/dialog-account.
875
* src/.cvsignore: add gnucash.sh.
877
* src/gnucash.sh.in: new file -- this will eventually become the
878
primary gnucash program, but for now, let's make it available for
881
* src/Makefile.am (SUBDIRS): re-order to fix dependency problems.
882
(bin_SCRIPTS): add gnucash.sh.
883
(EXTRA_DIST): add gnucash.sh.in.
884
(gnucash.sh): new target.
886
* src/gnc-module/test/test-scm-init: don't set %load-path
887
internally anymore -- depend on a proper TESTS_ENVIRONMENT.
889
* src/gnc-module/test/test-load-scm: turn in to a self-contained
890
guile script launched by /bin/sh which will respect the PATH.
892
* src/gnc-module/test/test-load-deps: turn in to a self-contained
893
guile script launched by /bin/sh which will respect the PATH.
895
* src/gnc-module/test/Makefile.am
896
(EXTRA_DIST): remove test-load-deps.scm.
898
* src/tax/us/test/Makefile.am: switch to use gnc-test-env to build
901
* src/scm/main.scm (gnc:startup): very ugly hack -- right now we
902
switch the current-module briefly during the loads. This should
903
go away once the rest of the startup process is cleaned up.
905
* src/gnc-module/gnc-module.c
906
(gnc_module_system_setup_load_path): don't change %load-path
907
anymore, augment LD_LIBRARY_PATH instead. This reflects the
908
change in how guile and g-wrap now load C shared libraries.
910
* src/app-utils/file-utils.h: moved here from src/gnome.
912
* src/app-utils/file-utils.c: moved here from src/gnome.
914
* src/app-utils/Makefile.am: add file-utils.
916
* src/gnc-module/test/test-load-deps.scm: deleted - unnecessary.
918
* src/register/ledger-core/dialog-dup-trans.c: moved here from
921
* src/register/ledger-core/Makefile.am: add dialog-dup-trans.
922
(SUBDIRS): add . first so tests will work.
923
(libgncmod_ledger_core_la_LIBADD): add missing dependencies.
924
(AM_CFLAGS): add needed -I.
926
* src/gnome-utils/window-help.h: moved here from src/gnome.
928
* src/gnome-utils/window-help.c: moved here from src/gnome.
930
* src/gnome-utils/Makefile.am: add window-help.
932
* src/gnome/gnucash.c.in: add temporary helpers for gnucash
935
* src/gnome/top-level.c: remove spurious dialog-account.h include.
937
* src/gnome/file-utils.h: moved to src/app-utils.
939
* src/gnome/file-utils.c: moved to src/app-utils.
941
* src/gnome/window-help.h: moved to src/gnome-utils.
943
* src/gnome/window-help.c: moved to src/gnome-utils.
945
* src/gnome/dialog-dup-trans.c: moved to src/register/ledger-core.
947
* src/gnome/dialog-account.c: moved to src/dialog-account.
949
* src/gnome/dialog-account.h: moved to src/dialog-account.
951
* src/gnome/Makefile.am: accommodate file relocations.
953
* src/dialog-account/dialog-account.c: moved here to break mutual
954
dependency between ledger-core and libgncgnome.
956
* src/dialog-account/dialog-account.h: moved here to break mutual
957
dependency between ledger-core and libgncgnome.
959
* src/dialog-account/Makefile.am: new file.
961
* src/dialog-account/.cvsignore: new file.
963
2001-11-16 Christian Stimming <stimming@tuhh.de>
965
* src/Makefile.am, src/gnome-utils/Makefile.am: Moved
966
${GUPPI_LIBS} to appear before GNOME_LIBDIR in *_LIBADD so that
967
--with-libguppi-prefix can have any effect at all.
969
2001-11-13 Robert Graham Merkel <rgmerk@mira.net>
971
* src/gnc-module/Makefile.am: libgw-gnc-module.la needs
972
to be linked to libgncmodule.la
974
2001-11-12 Rob Browning <rlb@defaultvalue.org>
976
* src/gnome/Makefile.am (noinst_HEADERS): add gw-gnc.h.
978
* src/report/utility-reports/test/Makefile.am: use gnc-test-env.
980
* src/report/stylesheets/test/Makefile.am: switch to use gnc-test-env.
982
* src/gnome/Makefile.am: accommodate files from src/guile.
984
* src/gnome/gnucash.c.in: moved here from src/guile.
986
* src/gnome/gnucash.h: moved here from src/guile.
988
* src/gnome/i18n.h.in: moved here from src/guile.
990
* src/gnome/.cvsignore: add files from src/guile.
992
* src/Makefile.am: update to reflect deleted src/gnome.
994
* configure.in: update to reflect deleted src/gnome.
996
* src/guile: deleted -- remaining contents moved to src/gnome.
998
* src/scm/Makefile.am: added config.
1000
* src/scm/config: moved from src/scm.
1002
* src/guile/Makefile.am: remove config.
1004
* src/guile/config: moved to src/scm.
1006
* src/report/standard-reports/test/Makefile.am: use gnc-test-env.
1008
* configure.in: set execute bit on gnc-test-env.
1010
* src/gnc-test-env: new script.
1012
2001-11-09 Rob Browning <rlb@defaultvalue.org>
1014
* src/gnc-module/test/Makefile.am (TESTS_ENVIRONMENT): add missing
1015
components in GUILE_LOAD_PATH.
1017
* src/gnome-utils/test/Makefile.am
1018
(INCLUDES): typo - GUILE_INCS not GUILE_CFLAGS.
1020
* src/tax/us/test/.cvsignore: add .libs.
1022
* src/report/locale-specific/us/test/.cvsignore: add .libs.
1024
* src/import-export/qif-import/test/.cvsignore: add .libs.
1026
* src/backend/file/test/Makefile.am
1027
(AM_CFLAGS): add GUILE_INCS.
1029
* src/guile/tip-of-the-day.h: moved to src/gnome.
1031
* src/guile/tip-of-the-day.c: moved to src/gnome.
1033
* src/gnome/tip-of-the-day.h: moved from src/guile.
1035
* src/gnome/tip-of-the-day.c: moved from src/guile.
1037
* src/guile/Makefile.am: remove tip-of-the-day.
1039
* src/gnome/Makefile.am: move tip-of-the-day here.
1041
* src/guile/Makefile.am: fix for new automake.
1043
* src/gnome-utils/Makefile.am (BUILT_SOURCES): fix for new automake.
1045
* src/app-file/test/.cvsignore: add Makefile.in.
1047
* src/import-export/qif-import/test/.cvsignore: add .deps.
1049
* src/report/locale-specific/us/test/.cvsignore: add .deps.
1051
* src/tax/us/test/.cvsignore: add .deps.
1053
2001-11-06 Joshua Sled <jsled@asynchronous.org>
1055
* src/gnome/dialog-sxsincelast.c (create_each_transaction_helper):
1056
Fixed credit/debit confusion.
1058
* src/gnome/dialog-sx-from-trans.c (sxftd_add_template_trans):
1059
Fixed credit/debit confusion.
1061
2001-11-04 Joshua Sled <jsled@asynchronous.org>
1063
* src/gnome-utils/gnc-frequency.c: saving state and updating the
1064
calendar markings no longer force so much of a
1065
component-manager/UI refresh.
1067
* src/guile/gw-gnc-spec.scm: Changed sx-since-last return type to
1068
gboolean [bool]; added better sx-since-last-run-wrapper param name
1071
* src/gnome/dialog-scheduledxaction.c (new_button_clicked): Better
1072
initial-FreqSpec setup to prevent error from GNCFrequency.
1074
* src/engine/SchedXaction.c (xaccSchedXactionSetTemplateTrans):
1075
Added support for setting template-transaction currency from the
1078
* src/gnome/dialog-sxsincelast.c: Correct support for "nothing
1079
to do": if this is the case, don't load/create the UI. Required
1080
much re-working due to my bad design. :(
1081
Added component-manager freeze/thaw [equivalents] around engine
1082
interaction to minimize program-wide GUI refresh during
1083
Transaction creation.
1084
(finish_finish): Added support for 'finish' button.
1085
(cancel_check): Initial support for cancel button, checking with
1088
2001-10-29 Joshua Sled <jsled@asynchronous.org>
1090
* src/gnome/dialog-sxsincelast.c: Unused pages are skipped,
1093
* src/gnome/dialog-sx-from-trans.c: Added start date handling; as
1094
well, correctly update the start date when the frequency option
1095
changes. Added using FreqSpecs for start date calculation. Added
1098
* src/gnome-utils/gnc-account-tree.c (gnc_account_tree_init): Make
1099
account-tree description column auto-resize.
1101
* src/engine/SchedXaction.c (xaccSchedXactionSetEndDate): Removed
1102
end date validity check; an invalid end date is how we signal "no
1105
2001-10-25 Dave Peticolas <dave@krondo.com>
1107
* src/scm/Makefile.am: remove slib-backup.scm and startup.scm
1109
* src/scm/bootstrap.scm.in: remove out-of-date docs
1111
* src/scm/main.scm: load printing/print-check.scm
1113
* src/import-export/qif-import/Makefile.am: remove simple-obj.scm
1115
* src/import-export/qif-import/qif-import.scm: don't load
1118
* src/guile/gw-gnc-spec.scm: remove printing g-wraps
1120
* src/gnome-utils/gw-gnome-utils-spec.scm: add printing g-wraps
1122
* src/engine/Account.c (xaccAccountSetSlots_nc): set core_dirty
1124
* src/app-utils/Makefile.am: add simple-obj.scm
1126
* src/app-utils/app-utils.scm: export simple-obj api
1128
2001-10-24 Joshua Sled <jsled@asynchronous.org>
1130
* src/gnome/dialog-scheduledxaction.c (sxed_delete_event): Added.
1131
(gnc_ui_scheduled_xaction_editor_dialog_create): Added support for
1132
delete-event [WM window close].
1133
(sxed_check_close): Added close-check, including register check.
1134
(editor_cancel_button_clicked): Renamed from
1135
editor_close_button_clicked; correctly handles a cancel WRT ledger
1138
* src/gnome/glade/sched-xact.glade: Added as-yet-unused Start
1139
Date widgets to make-from-transaction dialog.
1141
* src/gnome/dialog-sx-from-trans.c (sxftd_add_template_trans): Use
1142
the user-friendly amount formating instead of a stringified
1143
gnc_numeric. Copies the account data over into the template
1145
(sxftd_init): Added; supports using the Description of the
1146
transaction as the initial name of the SX.
1148
2001-10-22 Joshua Sled <jsled@asynchronous.org>
1150
* src/engine/SchedXaction.c (xaccSchedXactionInit): Fixed
1151
number-of-occurrences init problem.
1153
* src/gnome/dialog-scheduledxaction.c (schedXact_editor_populate):
1154
Fixed bug in populating the editor.
1156
2001-10-22 Joshua Sled <jsled@asynchronous.org>
1158
* src/gnome/window-main.c (gnc_ui_mainWindow_nextrun_cb):
1159
Removed obsolete dialog.
1161
2001-10-22 Joshua Sled <jsled@asynchronous.org>
1163
* src/gnome/Makefile.am: Removed obsolete dialog-nextrun.{c,h}
1165
* src/gnome/window-main.c (gnc_main_window_create_menus): Added
1166
both Scheduled Transaction-related items to "Scheduled
1167
Transactions" sub-menu of "Tools".
1168
(gnc_main_window_about_cb): Added self to GUI About dlg.
1170
* src/gnome/dialog-scheduledxaction.c: Renamed '_'-led functions.
1172
* src/gnome/dialog-sxsincelast.c: Changed from a loose
1173
confederation of multiple dialogs to the strong central authority
1174
of a GnomeDruid-based since-last-run UI. Renamed '_'-led
1177
* src/gnome/glade/sched-xact.glade: Fixed a non-unique-name
1178
problem between the GnomeNumberEntry "end_nentry" and it's
1179
GtkEntry "end_nentry". Added Druid-based Since-Last-Run dialog.
1181
* src/gnome/dialog-scheduledxaction.c (schedXact_editor_populate),
1182
(editor_ok_button_clicked): Added support for now-uniquely-named
1185
* src/engine/SchedXaction.c
1186
(xaccSchedXactionCreateSequenceState): Added.
1187
(xaccSchedXactionIncrSequenceState): Added.
1188
(xaccSchedXactionDestroySequenceState): Added.
1189
Added support for opaque state data when generating a sequence of
1190
SX instances to support number-of-occurrence-terminated SXes.
1192
* src/backend/file/gnc-freqspec-xml-v2.c (dom_tree_to_freqSpec):
1193
Added missing instance of GNCSession propagation.
1195
* src/backend/file/io-gncxml-v2.c
1196
(write_template_transaction_data): Added correct determination for
1197
writing out the template-transaction section [before: only if
1198
transactions existed in accounts; now: if any accounts exist] to
1199
prevent read errors from SXes with valid-and-referenced Accounts,
1200
but no Transactions in them.
1202
* src/gnome-utils/gnc-frequency.c (gnc_frequency_setup): Better
1203
error text when UIFreqType isn't recognized or appropriate.
1205
* src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked):
1206
Correctly sets SXes to have no occurrence data if that's the case.
1207
Better option variable naming, usage.
1209
2001-10-16 Dave Peticolas <dave@krondo.com>
1211
* src/engine/test-core/test-engine-stuff.c: work on test
1212
infrastructure for making changes to existing data
1214
* src/engine/gnc-book.c: keep backends up to date
1216
* src/engine/gnc-session.c: keep backends up to date
1218
* src/backend/postgres/test/db-control.sh: bring down postmaster
1219
on database create and destroy
1221
* src/backend/postgres/test/test-db.c: work on single-update
1224
* src/backend/postgres/txn.c: fix bug -- when deleting splits
1225
from the database that aren't in the engine, can't use
1228
2001-10-14 Joshua Sled <jsled@asynchronous.org>
1230
* src/gnome/dialog-scheduledxaction.c (delete_button_clicked):
1231
Fixed multiple bugs in deletion selection-handling.
1232
(schedXact_editor_populate), (schedXact_editor_create_ledger):
1233
Added code for respecting the user's Preferences.
1235
* src/gnome/dialog-scheduledxaction.c
1236
(gnc_ui_scheduled_xaction_dialog_create): Added support for only a
1237
single SX list to be up at any one time; if one already exists,
1238
show and raise that window instead of creating a new one.
1240
* src/gnome/dialog-scheduledxaction.c
1241
(gnc_ui_scheduled_xaction_editor_dialog_create): Only one editor
1242
for any Scheduled Transaction open at a time; if one already
1243
exists, show and raise it's window.
1245
* src/gnome/dialog-scheduledxaction.c
1246
(schedXact_editor_create_ledger): Add [read: steal from
1247
window-register.c] register toolbar, suitably modified for SXes.
1249
* src/app-utils/prefs.scm: Updates to wording, defaults for
1250
Scheduled Transaction preferences.
1252
2001-10-14 Rob Browning <rlb@defaultvalue.org>
1254
* src/backend/file/test/Makefile.am
1255
(TESTS_ENVIRONMENT): add paths.
1257
* src/app-utils/test/Makefile.am
1258
(TESTS_ENVIRONMENT): add paths.
1260
* src/tax/us/test/Makefile.am
1261
(TESTS_ENVIRONMENT): add paths.
1263
* src/tax/us/us.scm (gnucash): added use-modules.
1265
* src/scm/printing/print-check.scm: remove gnc:support and
1268
* src/scm/gnumeric/gnumeric-utilities.scm: remove gnc:support and
1271
* src/scm/xml-generator.scm: remove gnc:support call.
1273
* src/scm/substring-search.scm: remove gnc:support call.
1275
* src/scm/startup.scm: comment out everything -- if this works, we
1276
should remove this file soon.
1278
* src/scm/price-quotes.scm: make it a guile module -- add exports,
1281
* src/scm/path.scm (gnc:locale-prefixes): () -> '().
1283
* src/scm/main.scm (gnc:startup): change gnc:depend calls to
1285
(gnc:main): add second arg to eval call to comply with standard.
1287
* src/scm/main-window.scm: remove gnc:support call.
1289
* src/scm/extensions.scm: remove gnc:support call.
1291
* src/scm/doc.scm: remove gnc:support call.
1293
* src/scm/command-line.scm
1294
(gnc:*arg-defs*): use gnc:use-module-module-here!.
1296
* src/scm/bootstrap.scm.in: remove slib compatibility stuff.
1297
Add many exports for stuff that used to be "global".
1298
Load main.scm from here now.
1299
(gnc:use-guile-module-here!): new function.
1301
* src/scm/Makefile.am (gncscmmod_DATA): move bootstrap.scm here.
1303
* src/report/utility-reports/test/Makefile.am
1304
(TESTS_ENVIRONMENT): add paths.
1306
* src/report/utility-reports/welcome-to-gnucash.scm: added use-modules.
1308
* src/report/utility-reports/view-column.scm: added use-modules.
1310
* src/report/utility-reports/utility-reports.scm: added use-modules.
1312
* src/report/utility-reports/iframe-url.scm: added use-modules.
1314
* src/report/utility-reports/hello-world.scm: added use-modules.
1315
(hello-world-renderer): use share-dir config var, not bare binding.
1317
* src/report/stylesheets/test/Makefile.am
1318
(TESTS_ENVIRONMENT): add paths.
1320
* src/report/stylesheets/stylesheets.scm: added use-modules.
1322
* src/report/stylesheets/stylesheet-plain.scm: added use-modules.
1324
* src/report/stylesheets/stylesheet-fancy.scm: added use-modules.
1326
* src/report/standard-reports/test/Makefile.am
1327
(TESTS_ENVIRONMENT): add paths.
1329
* src/report/standard-reports/transaction.scm: added use-modules.
1331
* src/report/standard-reports/standard-reports.scm: added use-modules.
1333
* src/report/standard-reports/register.scm: added use-modules.
1335
* src/report/standard-reports/price-scatter.scm: added use-modules.
1337
* src/report/standard-reports/portfolio.scm: added use-modules.
1339
* src/report/standard-reports/pnl.scm: added use-modules.
1341
* src/report/standard-reports/payables.scm: added use-modules.
1343
* src/report/standard-reports/net-barchart.scm: added use-modules.
1345
* src/report/standard-reports/category-barchart.scm: added use-modules.
1347
* src/report/standard-reports/balance-sheet.scm: added use-modules.
1349
* src/report/standard-reports/account-summary.scm: added use-modules.
1351
* src/report/standard-reports/account-piecharts.scm: added use-modules.
1353
* src/report/report-system/report-system.scm: added use-modules.
1355
* src/report/locale-specific/us/test/Makefile.am
1356
(TESTS_ENVIRONMENT): add paths.
1358
* src/report/locale-specific/us/taxtxf.scm: added use-modules.
1360
* src/import-export/qif-io-core/qif-io-core.scm: added
1363
* src/import-export/qif-import/qif-import.scm: added use-modules.
1365
* src/guile/gnucash.c.in
1366
(GNC_BOOTSTRAP_SCM): now in gnucash module dir.
1367
(gnc_gw_init): remove gw_init_module_gw_gnc call.
1368
(gnucash_main_helper): don't mess with startup, just run gnc:main.
1370
* src/guile/Makefile.am (gnucash): new symlink target.
1371
(g-wrapped): new symlink target.
1373
* src/gnc-module/gnc-module.c (gnc_module_system_init): add some
1374
error checking -- may need a way to return errors.
1376
* src/engine/test/Makefile.am (TESTS_ENVIRONMENT): add paths.
1378
* src/engine/engine.scm: added use-modules.
1380
* src/app-utils/guile-util.h:
1381
(gnc_depend): deleted.
1382
(gnc_scm_lookup): new prototype.
1384
* src/app-utils/guile-util.c
1385
(gnc_depend): deleted.
1386
(gnc_scm_lookup): new cross-guile function -- disabled until we
1389
* src/app-utils/app-utils.scm: added use-modules.
1391
2001-10-13 Dave Peticolas <dave@krondo.com>
1393
* src/guile/Makefile.am (libgncguile_la_LIBADD): remove gncgnome.la
1396
* src/engine/test-core/test-engine-stuff.c (get_random_timespec):
1397
add flag to always set nsec to 0.
1398
(get_random_transaction_with_currency): new func
1399
(add_random_transactions_to_session): new func
1401
* src/backend/postgres/test/db-control.sh: add 'connect' argument
1402
to start psql connection
1404
* src/backend/postgres/test/test-db.c: add random transactions
1407
* src/backend/postgres/account.c (pgendStoreAccountNoLock): expound
1408
on commodity table comment
1410
2001-10-12 Rob Browning <rlb@defaultvalue.org>
1412
* src/scm/printing/print-check.scm: use number-to-words module.
1414
* src/scm/printing/number-to-words.scm: make a guile module.
1416
* src/scm/printing/Makefile.am
1417
(gncscmmoddir): added.
1418
(gncscmmod_DATA): number-to-words.scm now a guile module.
1419
(gncscm_DATA): removed number-to-words.scm.
1420
(EXTRA_DIST): handle number-to-words.scm move.
1422
* src/guile/Makefile.am
1423
(libgncguile_la_SOURCES): libgncguile is now a shared lib.
1424
(libgncguile_la_LIBADD): libgncguile is now a shared lib.
1425
(libgncguile_la_LDFLAGS): libgncguile is now a shared lib.
1426
(libgw_gnc_la_SOURCES): libgw-gnc is now a shared lib.
1427
(libgw_gnc_la_LIBADD): libgw-gnc is now a shared lib.
1428
(libgw_gnc_la_LDFLAGS): libgw-gnc is now a shared lib.
1430
* src/guile/.cvsignore: add files for shared libs.
1432
* src/gnome/Makefile.am
1433
(lib_LTLIBRARIES): libgncgnome is now a shared lib.
1434
(libgncgnome_la_SOURCES): libgncgnome is now a shared lib.
1436
* src/gnome/.cvsignore: add files for shared libs.
1438
* src/engine/Makefile.am
1439
(libgw_glib_la_LDFLAGS): use ${G_WRAP_LINK_ARGS}.
1440
(libgw_engine_la_LDFLAGS): use ${G_WRAP_LINK_ARGS}.
1441
(libgw_kvp_la_LDFLAGS): use ${G_WRAP_LINK_ARGS}.
1443
* src/Makefile.am (gnucash_LDADD): link gncguile and gncgnome as
1446
* .cvsignore: add stamp-h1 (where does this come from?).
1448
* configure.in (GNC_ADD_ON_SRFIS): compute needed SRFIs.
1450
* lib/srfi/Makefile.am: determine SRFI list via autoconf.
1452
2001-10-12 Dave Peticolas <dave@krondo.com>
1454
* src/test-core/test-stuff.c (get_random_string_without): new func
1456
* src/engine/test-core/test-engine-stuff.c
1457
(get_random_kvp_frame_depth): fix bug
1458
(get_random_session): new func
1460
* src/engine/Account.c (xaccAccountEqual): more warnings, use
1463
* src/engine/Group.c (xaccGroupEqual): more warnings
1465
* src/engine/Transaction.c: use gnc_commodity_equal
1467
* src/engine/gnc-book.c (gnc_book_equal): compare commodity tables
1469
* src/engine/gnc-commodity.c (gnc_commodity_equal): new func
1470
(gnc_commodity_table_equal): new func
1472
* src/engine/gnc-session.c (gnc_session_begin): destroy old backend
1474
* src/backend/postgres/test/.cvsignore: ignore test files
1476
* src/backend/postgres/test/Makefile.am: add file backend .la
1477
to get symbols for gdb
1479
* src/backend/postgres/test/run-tests.sh: remove test files
1480
before starting test
1482
* src/backend/postgres/test/test-db.c: when books differ, write
1485
* src/backend/file/test/test-xml-account.c (test_add_account):
1486
fix for strong commodity equal test
1488
2001-10-11 Rob Browning <rlb@defaultvalue.org>
1490
* configure.in: require at least g-wrap 1.3.1.
1492
2001-10-11 Dave Peticolas <dave@krondo.com>
1494
* src/register/register-core/table-allgui.c
1495
(gnc_table_traverse_update): remove assert
1497
* src/import-export/binary-import/druid-commodity.c: use g_assert
1499
* src/guile/gnucash.c.in (gnc_main): use g_assert
1501
* src/gnome-utils/gnc-account-tree.c: remove asserts
1503
* src/gnome/dialog-fincalc.c (normalize_period): remove asserts
1505
* src/gnome/dialog-find-transactions.c: remove asserts
1507
* src/gnome/dialog-scheduledxaction.c: remove asserts
1509
* src/gnome/reconcile-list.c: remove asserts
1511
* src/gnome/window-register.c: remove asserts
1513
* src/engine/Account.c: remove asserts
1515
* src/engine/Group.c: remove asserts
1517
* src/engine/Query.c:remove asserts
1519
* src/engine/TransLog.c: remove asserts
1521
* src/engine/Transaction.c: remove asserts
1523
* src/engine/gnc-engine-util.h: don't include assert.h
1525
* src/engine/gnc-engine.c: remove asserts
1527
* src/engine/gnc-numeric.c: remove asserts
1529
* src/engine/gnc-pricedb.c (gnc_price_unref): remove asserts
1531
* src/engine/messages.c: remove asserts
1533
* src/backend/file/test/test-xml-account.c: fix text handling
1535
* src/backend/file/test/test-xml-commodity.c: fix text handling
1537
* src/backend/file/test/test-xml-transaction.c: fix text handling
1539
* src/backend/file/gnc-freqspec-xml-v2.c: fix text handling
1541
* src/backend/file/gnc-pricedb-xml-v2.c: fix text handling
1543
* src/backend/file/gnc-schedxaction-xml-v2.c: fix text handling
1545
* src/backend/file/gnc-transaction-xml-v2.c: fix text handling
1547
* src/backend/file/io-gncxml-v1.c: fix text handling
1549
* src/backend/file/sixtp-dom-parsers.c: fix text handling
1551
* src/backend/file/sixtp-to-dom-parser.c (dom_chars_handler): don't
1552
ignore whitespace. This fixes text handling for strings like "< <"
1554
* src/app-utils/gnc-ui-util.c: remove asserts
1556
* src/app-utils/option-util.c: remove asserts
1558
2001-10-11 Dave Peticolas <dave@krondo.com>
1560
* src/test-core/test-stuff.c: allow option of including funky
1561
characters in random strings
1563
* src/engine/Transaction.c (xaccTransEqual): add warning strings
1565
* src/backend/postgres/test/.cvsignore: ignore test-escape
1567
* src/backend/postgres/test/test-escape: test string escaping
1569
* src/backend/postgres/test/Makefile.am: add test-escape
1571
* src/backend/postgres/builder.c (sqlBuild_Where_Str): don't
1574
* src/backend/postgres/escape.c (sqlEscapeString): check for
1575
already-escaped string
1577
* src/backend/postgres/kvp-sql.c: escape path strings
1579
* src/backend/file/test/test-xml-transaction.c (test_add_transaction):
1580
test in reverse order, first orig, then new.
1582
2001-10-10 Rob Browning <rlb@defaultvalue.org>
1584
* src/test-core/Makefile.am
1585
(CFLAGS): move INCLUDES bits to CFLAGS.
1587
* src/tax/us/test/Makefile.am
1588
(TESTS_ENVIRONMENT): fix for guile 1.3.4 and new g-wrap.
1590
* src/tax/us/Makefile.am
1591
(CFLAGS): move INCLUDES bits to CFLAGS.
1593
* src/report/utility-reports/test/Makefile.am
1594
(TESTS_ENVIRONMENT): fix for guile 1.3.4 and new g-wrap.
1596
* src/report/utility-reports/iframe-url.scm: use slib and require
1599
* src/report/utility-reports/Makefile.am
1600
(CFLAGS): move INCLUDES bits to CFLAGS.
1602
* src/report/stylesheets/test/Makefile.am
1603
(TESTS_ENVIRONMENT): fix for guile 1.3.4 and new g-wrap.
1605
* src/report/stylesheets/Makefile.am
1606
(CFLAGS): move INCLUDES bits to CFLAGS.
1608
* src/report/standard-reports/test/Makefile.am
1609
(TESTS_ENVIRONMENT): fix for guile 1.3.4 and new g-wrap.
1611
* src/report/standard-reports/Makefile.am
1612
(CFLAGS): move INCLUDES bits to CFLAGS.
1614
* src/report/report-system/test/Makefile.am
1615
(TESTS_ENVIRONMENT): fix for guile 1.3.4 and new g-wrap.
1617
* src/report/report-system/report-system.scm:
1618
(use-modules (g-wrapped gw-glib))
1620
* src/report/report-system/Makefile.am
1621
(CFLAGS): move INCLUDES bits to CFLAGS.
1623
* src/report/locale-specific/us/test/Makefile.am
1624
(TESTS_ENVIRONMENT): fix for guile 1.3.4 and new g-wrap.
1626
* src/report/locale-specific/us/Makefile.am
1627
(CFLAGS): move INCLUDES bits to CFLAGS.
1629
* src/register/register-gnome/test/Makefile.am
1630
(CFLAGS): move INCLUDES bits to CFLAGS.
1632
* src/register/register-gnome/Makefile.am
1633
(CFLAGS): move INCLUDES bits to CFLAGS.
1635
* src/register/register-core/test/Makefile.am
1636
(CFLAGS): move INCLUDES bits to CFLAGS.
1638
* src/register/register-core/Makefile.am
1639
(CFLAGS): move INCLUDES bits to CFLAGS.
1641
* src/register/ledger-core/test/Makefile.am
1642
(CFLAGS): move INCLUDES bits to CFLAGS.
1644
* src/register/ledger-core/Makefile.am
1645
(CFLAGS): move INCLUDES bits to CFLAGS.
1647
* src/optional/swig/Makefile.am
1648
(CFLAGS): move INCLUDES bits to CFLAGS.
1650
* src/network-utils/test/Makefile.am
1651
(CFLAGS): move INCLUDES bits to CFLAGS.
1653
* src/network-utils/Makefile.am
1654
(CFLAGS): move INCLUDES bits to CFLAGS.
1656
* src/network-utils/.cvsignore: add .libs.
1658
* src/import-export/qif-io-core/test/Makefile.am
1659
(CFLAGS): move INCLUDES bits to CFLAGS.
1661
* src/import-export/qif-io-core/Makefile.am
1662
(CFLAGS): move INCLUDES bits to CFLAGS.
1664
* src/import-export/qif-io-core/.cvsignore: add .deps.
1666
* src/import-export/qif-import/Makefile.am
1667
(CFLAGS): move INCLUDES bits to CFLAGS.
1669
* src/import-export/binary-import/test/Makefile.am
1670
(CFLAGS): move INCLUDES bits to CFLAGS.
1672
* src/import-export/binary-import/Makefile.am : support new g-wrap
1674
(pkglib_LTLIBRARIES): move libgw-binary-import.la here.
1675
(CFLAGS): move INCLUDES bits to CFLAGS.
1677
* src/import-export/binary-import/.cvsignore: add .libs and
1678
gw-binary-import.scm.
1680
* src/guile/Makefile.am: support new g-wrap .scm module files.
1681
(CFLAGS): move INCLUDES bits to CFLAGS.
1683
* src/guile/.cvsignore: add gw-gnc.scm.
1685
* src/gnome-utils/test/Makefile.am
1686
(CFLAGS): move INCLUDES bits to CFLAGS.
1688
* src/gnome-utils/Makefile.am
1689
(CFLAGS): move INCLUDES bits to CFLAGS.
1691
* src/gnome-utils/.cvsignore: add .libs.
1693
* src/gnome/window-register.c
1694
(print_check_cb): coerce away guile 1.3.4 warning.
1695
(report_helper): coerce away guile 1.3.4 warning.
1697
* src/gnome/window-help.c
1698
(gnc_help_window_load_topics): coerce away guile 1.3.4 warning.
1700
* src/gnome/top-level.c
1701
(gnc_get_remaining_argv): coerce away guile 1.3.4 warning.
1702
(gnc_set_remaining_argv): coerce away guile 1.3.4 warning.
1704
* src/gnome/argv-list-converters.c
1705
(gnc_argvarr_to_scheme_list): coerce away guile 1.3.4 warning.
1707
* src/gnome/Makefile.am: use INTLTOOL_DESKTOP_RULE.
1708
(CFLAGS): move INCLUDES bits to CFLAGS.
1710
* src/gnc-module/test/mod-foo/Makefile.am
1711
(CFLAGS): move INCLUDES bits to CFLAGS.
1713
* src/gnc-module/test/mod-baz/Makefile.am
1714
(CFLAGS): add GUILE_INCS.
1716
* src/gnc-module/test/mod-bar/Makefile.am
1717
(CFLAGS): move INCLUDES bits to CFLAGS.
1719
* src/gnc-module/test/test-scm-init: convert to shell script that
1720
invokes contents as guile script.
1722
* src/gnc-module/test/test-scm-dynload: adjust dynamic-link call
1723
based on guile version.
1725
* src/gnc-module/test/test-dynload.c
1726
(guile_main): call lt_dlinit();
1728
* src/gnc-module/test/Makefile.am
1729
(CFLAGS): add GUILE_INCS.
1731
* src/gnc-module/gnc-module.scm
1732
(gnc:module-system-init): adjust dynamic-link call based on guile
1735
* src/gnc-module/Makefile.am: support new g-wrap .scm module files.
1736
(CFLAGS): add GUILE_INCS.
1737
(pkglib_LTLIBRARIES): move libgw-gnc-module.la here.
1739
* src/gnc-module/.cvsignore: add gw-gnc-module.scm.
1741
* src/experimental/cgi-bin/Makefile.am
1742
(CFLAGS): move INCLUDES bits to CFLAGS.
1744
* src/engine/test-core/Makefile.am
1745
(CFLAGS): move INCLUDES bits to CFLAGS.
1747
* src/engine/test/Makefile.am
1748
(CFLAGS): move INCLUDES bits to CFLAGS.
1749
(TESTS_ENVIRONMENT): fix for guile 1.3.4 and new g-wrap.
1751
* src/engine/engine.scm: (use-modules (g-wrapped gw-runtime)).
1753
* src/engine/Makefile.am: support new g-wrap .scm module files.
1754
(pkglib_LTLIBRARIES): move libgw-glib.la, libgw-engine.la, and
1756
(CFLAGS): move INCLUDES bits to CFLAGS.
1758
* src/engine/.cvsignore: add gw-engine.scm, gw-glib.scm, and
1761
* src/calculation/Makefile.am
1762
(CFLAGS): move INCLUDES bits to CFLAGS.
1764
* src/backend/rpc/Makefile.am:
1765
(CFLAGS): move INCLUDES bits to CFLAGS.
1767
* src/backend/postgres/test/Makefile.am
1768
(CFLAGS): move INCLUDES bits to CFLAGS.
1770
* src/backend/postgres/test/.cvsignore: add .deps.
1772
* src/backend/postgres/Makefile.am
1773
(CFLAGS): move INCLUDES bits to CFLAGS.
1775
* src/backend/net/Makefile.am
1776
(CFLAGS): move INCLUDES bits to CFLAGS.
1778
* src/backend/file/test/Makefile.am
1779
(TESTS_ENVIRONMENT): fix for guile 1.3.4 and new g-wrap.
1780
(CFLAGS): move INCLUDES bits to CFLAGS.
1782
* src/backend/file/Makefile.am
1783
(CFLAGS): move INCLUDES bits to CFLAGS.
1785
* src/app-utils/test/Makefile.am
1786
(TESTS_ENVIRONMENT): fix for guile 1.3.4 and new g-wrap.
1787
(CFLAGS): move INCLUDES bits to CFLAGS.
1789
* src/app-utils/option-util.c
1790
(gnc_option_db_register_change_callback): coerce away guile 1.3.4
1793
* src/app-utils/guile-util.c
1794
(gnc_depend): coerce away guile 1.3.4 warning.
1795
(gnc_split_scm_set_memo): coerce away guile 1.3.4 warning.
1796
(gnc_split_scm_set_memo): coerce away guile 1.3.4 warning.
1797
(gnc_split_scm_set_action): coerce away guile 1.3.4 warning.
1798
(gnc_trans_scm_set_num): coerce away guile 1.3.4 warning.
1799
(gnc_trans_scm_set_description): coerce away guile 1.3.4 warning.
1800
(gnc_trans_scm_set_notes): coerce away guile 1.3.4 warning.
1801
(gnc_get_debit_string): coerce away guile 1.3.4 warning.
1803
* src/app-utils/gnc-ui-util.c
1804
(gnc_ui_account_get_tax_info_string): coerce to suppress warning
1807
* src/app-utils/app-utils.scm: must load "gnucash/engine" module.
1809
* src/app-utils/Makefile.am: support new g-wrap .scm module files.
1810
(pkglib_LTLIBRARIES): move libgw-app-utils.la here.
1811
(CFLAGS): move INCLUDES bits to CFLAGS.
1813
* src/app-utils/.cvsignore: add gw-app-utils.scm.
1815
* src/app-file/gnome/Makefile.am
1816
(CFLAGS): move INCLUDES bits to CFLAGS.
1818
* src/app-file/gnc-file.c
1819
(gnc_book_opened): coerce to suppress warning for guile 1.3.4.
1820
(gnc_file_new): coerce to suppress warning for guile 1.3.4.
1821
(gnc_post_file_open): coerce to suppress warning for guile 1.3.4.
1822
(gnc_file_save): coerce to suppress warning for guile 1.3.4.
1823
(gnc_file_quit): coerce to suppress warning for guile 1.3.4.
1825
* src/app-file/Makefile.am: support new g-wrap .scm module files.
1826
(CFLAGS): move INCLUDES bits to CFLAGS.
1827
(pkglib_LTLIBRARIES): move libgw-app-file.la here.
1829
* src/app-file/.cvsignore: add gw-app-file.scm.
1831
* macros/autogen.sh: update for intltool.
1833
* configure.in: update for intltool. Update LIBTOOL macros to
1834
match libtool docs. Require at least g-wrap 1.1.12. Add
1835
src/backend/net/Makefile to output.
1837
* src/Makefile.am (CFLAGS): move INCLUDES bits to CFLAGS.
1839
* macros/autogen.sh: update for intltool.
1841
* acinclude.m4: added AM_ACLOCAL_INCLUDE so it would work from
1842
configure.in under the new auto* tools.
1844
* .cvsignore: add intltool files.
1846
2001-10-10 Dave Peticolas <dave@krondo.com>
1848
* src/engine/test-core/test-engine-stuff.c
1849
(get_random_kvp_frame_depth): use set kvp max elements number
1851
* src/engine/Account.c (xaccAccountEqual): add warning strings
1853
* src/engine/Group.c (xaccGroupEqual): add warning strings
1855
* src/engine/gnc-book.c (gnc_book_equal): add warning strings
1857
* src/engine/kvp_frame.c: treat empty frames as NULL
1859
* src/backend/postgres/test/run-tests.sh: enable test
1861
* src/backend/postgres/test/test-db.c (main): enable test
1863
* src/backend/file/test/test-kvp-frames.c (test_kvp_xml_stuff):
1864
print more debugging output
1866
* src/backend/file/sixtp-dom-generators.c (add_kvp_value_node):
1867
fix bug generating kvp string values (they weren't being escaped)
1869
2001-10-09 Robert Graham Merkel <rgmerk@mira.net>
1871
* src/engine/Transaction.{ch} (xaccTransGetVoidTime): new function.
1873
2001-10-08 Robert Graham Merkel <rgmerk@mira.net>
1875
* src/engine/test/test-transaction-voiding.c (run_test): remove
1876
diagnostic stuff needed for initial debugging, fix bug in test.
1878
* src/engine/Transaction.c: removed transaction void debugging
1881
* src/engine/test/Makefile.am: enable transaction voiding test.
1883
2001-10-05 Robert Graham Merkel <rgmerk@mira.net>
1885
* src/engine/test/test-transaction-voiding.c: new file.
1887
* src/engine/Transaction.c: debugging stuff for transaction
1888
voiding (will be removed later).
1890
2001-10-03 Christian Stimming <stimming@tuhh.de>
1892
* po/glossary/de.po, txt-to-pot.sh: Several updates from the
1895
* po/glossary/es.po: Added Spanish translation by Raúl Miró
1896
<cotin@geocities.com>
1898
2001-10-03 Robert Graham Merkel <rgmerk@mira.net>
1900
* */Makefile.am: changes for automake 1.5 compatibility (still not
1903
* configure.in: changes for automake 1.5 compatibility
1905
* src/engine/transaction.c: store values as well as amounts in
1906
voided splits' kvp frames
1908
* src/engine/gw-engine-spec.scm: wrap voiding functions
1910
* src/report/report-system/report-utilities.scm: added some
1911
convenience functions for adding voiding checks to queries and
1912
checking the voiding status of splits.
1914
* src/report/standard-reports/*: fixed up queries to exclude voids
1917
2001-10-01 Robert Graham Merkel <rgmerk@mira.net>
1919
* src/engine/Transaction.{ch} (xaccTransVoid),
1920
(xaccTransGetVoidStatus), (xaccTransGetVoidReason),
1921
(xaccSplitVoidFormerAmount): new functions.
1923
* src/engine/kvp_doc.txt: add new entries related to transaction
1926
* src/engine/Query.{ch}: add support for filtering queries on
1929
2001-09-30 Josh Sled <jsled@asynchronous.org>
1931
* src/gnome/dialog-sxsincelast.c: Displays
1932
auto-created-and-notification-requested scheduled transactions in
1933
a GL rather than a clist.
1935
* src/register/ledger-core/split-register-model.c
1936
(gnc_template_register_model_new): Added date-cell entry/io-flags
1937
handler for template register, making date cell inactive, and
1938
stating "Scheduled" instead of a date.
1940
* src/gnome/dialog-sxsincelast.c (_create_transactions_on): Now
1941
does appropriate cleanup in the case it needs to create a
1942
temporary toCreateTuple for transaction-creation.
1943
(_create_each_transaction_helper): Cleanup failed
1944
transaction-creation appropriately. Support for returning a list
1945
of the GUIDs of created transactions.
1947
2001-09-28 Robert Graham Merkel <rgmerk@mira.net>
1949
* src/app-utils/date-utilities.scm ((gnc:deltasym-to-delta)): new
1950
function to convert datedelta symbols to the actual deltas.
1952
* src/app-utils/app-utils.scm: export gnc:deltasym-to-delta
1954
* src/report/standard-reports/net-barchart.scm (etc.): replace
1955
eval usage with gnc:deltasym-to-delta
1957
2001-09-21 Robert Graham Merkel <rgmerk@mira.net>
1959
* src/engine/SchedXaction.c: fix split account bugs.
1961
* src/gnome/dialog-sx-from-trans.c: fix freqspec bugs.
1963
2001-09-14 Dave Peticolas <dave@krondo.com>
1965
* src/register/register-gnome: add new headers
1967
* src/register/register-gnome/gncmod-register-gnome.c: initialize
1968
gnome-specific cells and table
1970
* src/register/register-gnome/pricecell-gnome.c
1971
(gnc_price_cell_gnome_new): new func.
1973
* src/register/register-gnome/quickfillcell-gnome.c
1974
(gnc_quickfill_cell_gnome_new): new func
1976
* src/register/register-gnome/table-gnome.c: new code to
1977
initialize table with gnome-specific callbacks
1979
* src/register/register-core/Makefile.am: add test subdir
1981
* src/register/register-core/pricecell.c: remove gui-specific stuff
1983
* src/register/register-core/quickfillcell.c: remove gui-specific stuff
1985
* src/register/register-core/table-allgui.c: implement gui cursor
1986
refresh as a callback.
1988
* src/gnome/window-register.c: fix menu names and help strings
1990
* src/backend/file/gnc-schedxaction-xml-v2.c
1991
(gnc_schedXaction_end_handler): open account for editing
1992
before destroying it.
1994
* src/backend/file/gnc-schedxaction-xml-v2.c (tt_act_handler):
1995
open account for editing and leave it open.
1997
* src/backend/file/io-gncxml-v2.c
1998
(add_template_transaction_local): commit the template account
1999
group after all transactions have been added.
2001
* configure.in: configure new test Makefile
2003
2001-09-13 Dave Peticolas <dave@krondo.com>
2005
* src/guile/gw-gnc-spec.scm: remove some unused wrappings
2007
* src/gnome-utils/Makefile.am: enable test dir
2009
* src/gnome-utils/dialog-commodity.c: re-factor help handler
2011
* src/gnome-utils/gnc-account-tree.c: re-factor account group handler
2013
* src/gnome-utils/gnc-html.c: re-factor help url handler
2015
* src/gnome/glade/commodity.glade: name help button
2017
* src/gnome/top-level.c: add in new handlers
2019
* src/gnome/window-main.c: remove toplevel api
2021
2001-09-06 Dave Peticolas <dave@krondo.com>
2023
* src/engine/Makefile.am: install public headers
2025
* src/engine/SX-ttinfo.h: add fixme, reformat to 80 columns
2027
2001-09-05 Dave Peticolas <dave@krondo.com>
2029
* src/Makefile.am: identify new scripts as built sources
2031
* configure.in: configure a gnucash-specific header directory
2033
* src/gnucash-run-script.in: new helper script for running gnucash
2034
guile scripts with the right directories set up.
2036
* src/Makefile.am: add new files
2038
* src/gnucash-make-guids.in: replace old gnucash-make-guid
2041
* src/engine/gw-engine-spec.scm: wrap new function
2043
* src/engine/GNCId.c (xaccGUIDNewReturn): new function suitable
2046
2001-09-06 Christian Stimming <stimming@tuhh.de>
2048
* src/engine/messages.[hc]: Added support for i18n messages with
2049
qualifying prefix; adapted from code by Zbigniew Chyla
2050
<cyba@piast.t19.ds.pwr.wroc.pl>.
2052
2001-09-05 James LewisMoss <jimdres@mindspring.com>
2054
* src/register/ledger-core/split-register-model-save.c
2055
(gnc_split_register_save_template_cells): Add missing comma.
2057
2001-09-05 Robert Graham Merkel <rgmerk@mira.net>
2059
* src/register/ledger-core/split-register-model-save.c: replace
2060
kvp-frame key string literal with #defines from schedXaction.h
2062
* src/gnome/window-register.c: rename "recur" commands "schedule".
2064
2001-09-04 Robert Graham Merkel <rgmerk@mira.net>
2066
* several SX-related .c files: replaced use of
2067
kvp_frame_{set,get}_slot, with {set,get}_slot_path, replaced
2068
literals with #defines.
2070
* src/engine/SchedXaction.h: #define names for kvp_frame keys.
2072
* src/engine/dialog-sx-from-trans.h: fix freqspec and date/time
2075
* src/gnome/glade/sched-xact.glade: rename several items in editor
2076
dialog to match UI code.
2078
2001-09-02 Dave Peticolas <dave@krondo.com>
2080
* src/backend/file/sixtp-dom-generators.c (add_kvp_value_node):
2081
fix warning in case of empty kvp sub-frame
2083
* src/backend/file/io-gncxml-v2.c (clear_up_account_commodity):
2086
* src/engine/Account.c (xaccInitAccount): initialize scu to 0
2088
2001-09-02 Christian Stimming <stimming@tuhh.de>
2090
* src/report/standard-reports/average-balance.scm: Ben Stanley
2091
<bds02@uow.edu.au>'s report fix.
2093
2001-08-31 Dave Peticolas <dave@krondo.com>
2095
* src/engine/Scrub.c: don't create accounts with no currency
2097
2001-08-30 Robert Graham Merkel <rgmerk@mira.net>
2099
* src/gnome/dialog-sx-from-trans.{ch}: New files, providing easy way
2100
to turn existing transactions into SX's.
2102
* src/engine/SX-ttinfo.{ch}: provide data structure for easy building
2103
of template transactions for SX.
2105
* src/engine/GNCId.h: changed include guards to fix in with policy.
2107
* src/engine/SchedXaction.{ch}: added function to turn structures in
2108
SX-ttinfo.c into real template trans, fixed bugs.
2110
* src/engine/kvp-doc.txt: updated docs.
2112
* src/gnome/glade/sched-xact.glade: added dialog for SX-from-trans
2114
* src/gnome/dialog-commodity.h: fixed include guards (previously, name
2115
started with underscore).
2117
* src/gnome/window-register.c: added code to let user activate
2118
SX-from-trans dialog
2120
2001-08-25 Christian Stimming <stimming@tuhh.de>
2122
* src/gnome/gnc-html-guppi.c: activate the [xy]_axis_label
2125
2001-08-22 Dave Peticolas <dave@krondo.com>
2127
* src/gnome/query-user.c
2128
(gnc_choose_radio_option_dialog_parented): add a cancel button
2130
* src/guile/gw-gnc-spec.scm: fix api naming
2132
* src/report/locale-specific/us/taxtxf.scm: fix api naming
2134
2001-08-20 Dave Peticolas <dave@krondo.com>
2136
* others: xaccGetAccountRoot->xaccAccountGetRoot
2138
* src/engine/messages.h: move this file here
2140
* src/engine/test/test-group-vs-book.c: new file. test group/book
2143
* src/engine/test-core/test-engine-stuff.c (get_random_group): new
2146
* src/engine/gnc-book.c: (gnc_book_set_group): update group's book
2148
* src/engine/Group.c (xaccGroupGetBook): new func
2149
(xaccGroupSetBook): new func
2151
* src/engine/GroupP.h: add a reference to the group's book
2153
* src/app-utils/global-options.[ch]: cleanup
2155
* src/app-utils/option-util.[ch]: cleanup
2157
* src/gnome/top-level.c: take out reverse balance implementations
2159
* src/app-utils/gnc-ui-util.c: take out deprecated api
2160
implementations. implement reverse balance api calls.
2162
* src/register/ledger-core/SplitLedger.[ch]: take out reverse
2163
balance callback. just use app-utils version.
2165
* src/app-utils/gnc-ui-util.h: remove deprecated api
2167
* src/engine/gnc-book-p.h: add const
2169
* src/engine/gnc-book.c: strdup error message for backend
2171
* src/backend/file/gnc-backend-file.c: fix bugs
2173
2001-08-19 Christian Stimming <stimming@tuhh.de>
2175
* po/gnc-glossary.txt, po/glossary/gnc-glossary.txt,
2176
po/glossary/txt-to-pot.sh, po/glossary/de.po: Moved from the
2177
concept of one big ASCII table to the concept of one po file for
2178
each translation of the glossary. Hence, created this
2181
2001-08-18 Robert Graham Merkel <rgmerk@mira.net>
2183
* src/engine/FreqSpec.c: i18n xaccFreqSpecGetFreqStr.
2185
* src/gnome/dialog-sxsincelast.c: fix bug in close callback.
2187
2001-08-17 James LewisMoss <jimdres@mindspring.com>
2189
* src/gnc-module/gnc-module.c (gnc_module_system_setup_load_path):
2190
add in void for empty argument list.
2192
* src/gnc-module/Makefile.am (libgw_gnc_module_la_SOURCES): add
2193
-lgncmodule to link link and libgncmodule.la to dependencies.
2195
* src/register/register-gnome/Makefile.am
2196
(libgncmod_register_gnome_la_LDFLAGS): add GNOMEUILIBS to module
2199
* src/guile/Makefile.am: remove file-utils.[ch] &
2200
argv-list-encoders.[ch]
2202
* src/gnome/Makefile.am (SUBDIRS): add file-utils.[ch] &
2203
argv-list-encoders.[ch]
2205
2001-08-16 Bill Gribble <grib@billgribble.com>
2207
* move report system into gnc-modules. This required a new
2208
module of application framework stuff, src/app-utils.
2210
* src/report/report-system/: the report-html-generation code
2211
and the various report utilities and infrastructure
2213
* src/report/standard-reports/: non-locale-specific financial
2216
* src/report/utility-reports: non-financial reports
2218
* src/report/locale-specific: reports that only apply to specific
2221
* src/report/stylesheet: report style sheet definitions
2223
2001-08-16 James LewisMoss <jimdres@mindspring.com>
2225
* src/guile/argv-list-converters.c (print_argv): remove unused
2228
2001-08-16 Robert Graham Merkel <rgmerk@mira.net>
2230
* src/engine/FreqSpec.c: Take out day and month name arrays - use
2231
strftime instead. i18n Date formatting. Replace magic numbers.
2233
* src/gnome/glade/sched-xact.glade: Add "select all" and "unselect all"
2234
buttons to obsolete-sx dialog.
2236
* src/gnome/dialog-sxsincelast.c: Remove string literals and magic
2237
numbers. (freq_type_to_string) remove. (_create_transactions_on):
2238
catch errors a bit better. (sx_obsolete_row_{un}sel): remove unnecessary
2239
warnings. (sx_obsolete_{un}select_all_clicked): add callbacks for
2240
"select all" and "unselect all" buttons.
2242
2001-08-15 James LewisMoss <jimdres@mindspring.com>
2244
* Makefile.am: remove TAGS.stamp stuff.
2246
2001-08-15 Christian Stimming <stimming@tuhh.de>
2248
* src/gnome/window-acct-tree.c, window-register.c,
2249
window-reconcile.c, po/gnc-glossary.txt: Changed the term 'to
2250
scrub' to 'to check and repair'.
2252
2001-08-15 Robert Graham Merkel <rgmerk@mira.net>
2254
* src/engine/SchedXaction.c(xaccSchedXactionFree): fix
2257
* src/gnome/dialog-sxsincelast.c: add "obsolete
2258
transactions" dialog. Extensive changes.
2260
* src/gnome/glade/sched-xact.glade: add obsolete SX dialog
2263
* src/scm/report-utilities.scm (gnc:amount->string): fix
2266
2001-08-14 James LewisMoss <jimdres@mindspring.com>
2268
* src/backend/file/gnc-schedxaction-xml-v2.c: add null stuff to
2271
2001-08-13 James LewisMoss <jimdres@mindspring.com>
2273
* src/engine/gw-engine-spec.scm (((mod (gw:new-module
2274
"gw-engine")))): move some funcs to kvp-spec.
2276
* src/scm/report/balance-sheet.scm (optname-show-parent-balance):
2277
wrap all var usages with N_'ed vars with (_ ... )
2279
2001-08-14 Dave Peticolas <dave@krondo.com>
2281
* all others: update for api/reorganization
2283
* src/register/register-core/table-control.[ch]: encapsulate
2284
table control object.
2286
* src/register/ledger-core/split-register-util.c: split out
2287
general split register utilities
2289
* src/register/ledger-core/split-register-control.[ch]: split
2290
out split register control functionality
2292
2001-08-13 Dave Peticolas <dave@krondo.com>
2294
* all other files: update for change below
2296
* src/register/register-core/table-layout.[ch]: make cursors part
2297
of the table. allow them to be added dynamically.
2299
2001-08-11 James LewisMoss <jimdres@mindspring.com>
2301
* src/engine/md5.c: include string.h to get bcopy def.
2303
2001-08-11 Christian Stimming <stimming@tuhh.de>
2305
* src/FileDialog.c (show_book_error): fix message.
2307
2001-08-11 Dave Peticolas <dave@krondo.com>
2309
* src/register/register-core/table-allgui.[ch]: update for
2310
api changes. Move some layout code to table-layout.c.
2312
* src/register/register-core/splitreg.[ch]: update for api changes
2314
* src/register/register-core/cellblock.[ch]: move cursor
2315
changed functions here
2317
* src/register/register-core/Makefile.am: add new files
2319
* src/register/ledger-core/SplitLedger.c: update for api changes
2321
* src/register/register-core/table-layout.[ch]: new file.
2322
table layout object encapsulates table structure.
2324
* src/scm/main.scm: add lib path to LD_LIBRARY_PATH
2326
2001-08-10 Christian Stimming <stimming@tuhh.de>
2328
* po/gnc-glossary.txt: Updated explanation for "to scrub" to clear
2329
up some big misunderstandings here.
2331
2001-08-10 Dave Peticolas <dave@krondo.com>
2333
* src/register/register-core/cell-factory.c
2334
(gnc_cell_factory_add_cell_type): fix bug
2336
2001-08-09 Dave Peticolas <dave@krondo.com>
2338
* src/register/register-gnome/table-gnome.c
2339
(gnc_table_save_state): tweak cell width saving
2341
2001-08-08 Dave Peticolas <dave@krondo.com>
2343
* src/register/ledger-core/SplitLedger.c: fix bugs
2345
* src/register/register-gnome/pricecell-gnome.c: better 'return'
2348
2001-08-08 Bill Gribble <grib@billgribble.com>
2350
* fix Makefile.am in various places to clean up libtool
2351
problems. These changes may still need fine tuning to make
2352
everything work with both libtool 1.4 and 1.3.5
2354
2001-08-08 Dave Peticolas <dave@krondo.com>
2356
* src/engine/engine-helpers.[ch]: remove cruft
2358
* src/guile/gnc-helpers.c: fix warnings
2360
* src/import-export/qif-import/gncmod-qif-import.c: include api
2363
* src/register/register-gnome/gncmod-register-gnome.c: include api
2366
* src/register/register-core/gncmod-register-core.c: include api
2369
* src/register/ledger-core/gncmod-ledger-core.c: include api header
2371
* src/backend/postgres/gncmod-backend-postgres.c: include api header
2373
* src/backend/rpc/gncmod-backend-rpc.c: include api header
2375
* src/backend/file/gnc-pricedb-xml-v1.c: fix warning
2377
* src/backend/file/Makefile.am (SUBDIRS): fix includes
2379
* src/backend/file/gncmod-backend-file.c: include api header
2381
* src/engine/gncmod-engine.c: include api header
2383
* src/gnc-module/test/test-dynload.c: fix warning
2385
* src/gnc-module/test/misc-mods/agedver.c: include api header
2387
* src/gnc-module/test/misc-mods/incompatdep.c: include api header
2389
* src/gnc-module/test/misc-mods/futuremodsys.c: include api header
2391
* src/gnc-module/test/mod-baz/gnc-mod-baz.c: include api header
2393
* src/gnc-module/test/mod-bar/gnc-mod-bar.c: include api header
2395
* src/gnc-module/test/mod-bar/Makefile.am: fix includes
2397
* src/gnc-module/test/mod-foo/gnc-mod-foo.c: include api header
2399
* src/gnc-module/test/mod-foo/Makefile.am: fix includes
2401
* src/gnc-module/gnc-module-api.h: new file. public module api
2403
* src/gnc-module/Makefile.am: add headers
2405
2001-08-06 Bill Gribble <grib@billgribble.com>
2407
* Added module/plugin system (src/gnc-module/*)
2409
* reshuffled source code from src/engine, src/register, and some
2410
from src/guile, src/scm, src/gnome (see src/README.modules).
2411
engine, backends, register, qif importer are now "modules".
2413
* unfinished new QIF import/export module (the old one's still
2414
there and still works)
2416
* really too many files touched to get into it.
2418
2001-08-06 Dave Peticolas <dave@krondo.com>
2420
* src/register/table-html.[ch]: remove
2422
* src/register/Makefile.am: add table-model.[ch],
2423
remove table-html.[ch]
2425
* src/MultiLedger.c: same as below
2427
* src/register/table-allgui.[ch]: same as below
2429
* src/register/table-model.[ch]: separate table model out from
2432
* src/register/pricecell.c: fix bugs
2434
* src/engine/sql/upgrade.h: fix warning
2436
* src/engine/gnc-pricedb.[ch] (gnc_price_equal): new func
2438
* src/engine/FreqSpec.c: add comment
2440
2001-08-05 Dave Peticolas <dave@krondo.com>
2442
* src/gnome/window-register.c: move close button to left
2443
to be more consistent with main window
2445
* src/SplitLedger.c (sr_split_auto_calc): fix bug
2447
2001-08-04 Dave Peticolas <dave@krondo.com>
2449
* src/scm/main-window.scm: handle errors in creating
2452
* src/scm/path.scm (gnc:make-dir): new func
2454
* src/scm/options.scm: same as below
2456
* src/scm/html-style-sheet.scm: handle file opening error
2458
2001-08-03 Dave Peticolas <dave@krondo.com>
2460
* src/gnome/dialog-sxsincelast.c: same as below
2462
* src/gnc-exp-parser.[ch]: seperate->separate
2464
* src/engine/gnc-book.c: fix warnings
2466
* doc/sgml/C/xacc-sxeditor.sgml: fix warning
2468
2001-08-02 James LewisMoss <jimdres@mindspring.com>
2470
* src/scm/prefs.scm (((current-value gnc:*debugging?*))): add
2473
* src/scm/command-line.scm (gnc:*arg-defs*): add devel mode
2474
command line option.
2476
2001-08-02 Robert Graham Merkel <rgmerk@mira.net>
2478
* src/engine/SchedXaction.c (xaccSchedXactionSetEndDate): Reject
2479
bad data, log warning. (xaccSchedXactionSetRemOccur): ditto.
2480
(xaccSchedXactionSetSplits): remove already-#if'd out function.
2482
* src/engine/gnc-schedxaction-xml-v2.c: #define more tags.
2484
2001-08-01 Robert Graham Merkel <rgmerk@mira.net>
2486
* src/engine/SchedXaction.{ch}: modified indenting to 2 spaces.
2488
* src/engine/SchedXaction.{ch}: Added member for recording if
2489
SX has changed since last save.
2490
(xaccSchedXactionSetDirtyness) provide API for modifying that field.
2491
All setter functions changed to set member appropriately.
2492
(xaccSchedXactionSetSlot, XaccSchedXactionGetSlot): New functions
2494
* src/engine/gnc-book-p.h (struct gnc_book_struct): Added field
2495
for recording whether sx list had changed.
2497
* src/engine/gnc-book.c: (gnc_book_marked_save): mark the SX-related
2499
(gnc_book_not_saved): look up the SX-related stuff as well.
2501
* src/engine/gnc-schedxaction-v2.c: once a scheduled transaction is
2502
loaded by the backend, mark it as not saved.
2504
2001-07-30 Christian Stimming <stimming@tuhh.de>
2506
* src/scm/html-utilities.scm: Fixed bug with sub-balances in
2507
account tables with non-default account selection.
2509
2001-07-30 James LewisMoss <jimdres@mindspring.com>
2511
* src/engine/Query.c: move test code to a test-queries in test
2514
* src/engine/io-gncbin-r.c: remove #if 0'ed code.
2516
2001-07-30 Joshua Sled <jsled@asynchronous.org>
2518
* src/gnome/glade/sched-xact.glade: Added seperate reminders
2519
dialog from since-last-run dialog. Removed reminders
2520
frame/section from since-last-run dialog. Added alternative SX
2521
Editor UI [not presently used].
2523
* src/gnome/dialog-sxsincelast.c: Changes for
2524
reminders-as-seperate-dialog; selected reminders then update
2525
since-last-run dialog [whether it's open or not]; the dialogs
2526
[mostly] deal with their closing conditions correctly. Support
2527
for ad-hoc variables in template-transaction-split formulas.
2529
* src/engine/gnc-schedxaction-xml-v2.c
2530
(gnc_schedXaction_end_handler): Added support for restoring
2531
in-development pre-template-account-stored-in-SX change.
2532
(tt_act_handler): Added support for restoring in-devel pre-CIT
2535
* src/gnc-exp-parser.c (gnc_exp_parser_parse_seperate_vars): Added
2536
for Scheduled-Transaction-related since-last-run/split-formula
2539
* src/gnome/dialog-sxsincelast.c: Added support for variable entry
2540
before creation/formulas in template transactions.
2542
2001-07-28 Robert Graham Merkel <rgmerk@mira.net>
2544
* src/engine/SchedXaction.{ch}: Store template account in the
2545
SchedXaction structure, get rid of splitlist from structure.
2547
* src/engine/gnc-schedxaction-xml-v2.c: replaced tag literals
2548
with #define'd constants.
2549
(gnc_schedXaction_dom_tree_create, sx_templ_act_handler): added
2550
code for saving/restoring template account ID.
2552
* doc/sgml/C/xacc-sxeditor.sgml: new file.
2554
2001-07-27 James LewisMoss <jimdres@mindspring.com>
2556
* src/engine/gnc-schedxaction-xml-v2.c: remove include of removed
2559
* src/engine/gnc-freqspec-xml-v2.c: remove include of removed
2562
* src/engine/gnc-pricedb-xml-v1.c: remove include of
2563
sixtp-writers.h and remove func xml_add_gnc_pricedb (no longer
2565
(gnc_pricedb_parser_new): reorder functions.
2566
remove include of removed file.
2568
* src/engine/io-gncxml-v1.c: move v1 kvp parser code to this
2571
* src/engine/sixtp-parsers.h: remove old v1 parser decls to
2574
* src/engine/gnc-schedxaction-xml-v2.c
2575
(gnc_schedXaction_dom_tree_create): remove usage of
2578
2001-07-26 James LewisMoss <jimdres@mindspring.com>
2580
* configure.in: comment out AC_ARG_PROGRAM called. Presumably
2581
called by one of the AM macros.
2583
2001-07-26 Robert Graham Merkel <rgmerk@mira.net>
2585
* src/engine/SchedXaction.c (xaccSchedTransactionInit):
2586
change declaration to static, uncommented g_free usage.
2588
* src/engine/SchedXaction.c: Moved a couple of functions
2591
* src/engine/FreqSpec.c (xaccFreqSpecInit): change
2592
declaration to static. Moved a couple of functions
2595
* src/engine/FreqSpec.h, SchedXaction.h: remove "Init"
2598
2001-07-25 Robert Graham Merkel <rgmerk@mira.net>
2600
* src/engine/SchedXaction.c
2601
(sxprivtransactionListMapDelete): renamed function.
2603
2001-07-24 Robert Graham Merkel <rgmerk@mira.net>
2605
* doc/sgml/C/xacc-sxeditor.sgml: New file.
2607
* doc/sgml/C/Makefile.am, gnucash.sgml: updates for new file
2609
* src/gnome/glade/sched-xact.glade: add help button
2611
* src/gnome/dialog-schedxaction.c: add callback for help button.
2613
* src/gnome/gnc-ui.h: pointer to help file.
2615
2001-07-22 Dave Peticolas <dave@krondo.com>
2617
* src/test/gnc-test-stuff.[ch] (get_random_price): new func.
2619
* src/register/splitreg.[ch]: remove null cell
2621
* src/engine/Transaction.h: update docs
2623
2001-07-21 Dave Peticolas <dave@krondo.com>
2625
* src/register/cell-factory.[ch]: a new object for creation of
2626
register cells. allows new cell types to be added dynamically.
2628
* src/register/gnome/gnucash-style.c: fix for removal of
2629
label from cellblock cells.
2631
* src/register/table-allgui.[ch]: fix for changed flag and
2634
* src/register/splitreg.[ch]: remove fixed cells, use a dynamic
2635
list. Fix code appropriately.
2637
* src/register/register-common.[ch]: add wrapper for a global cell
2640
* src/register/gnome/datecell-gnome.c: same as below
2642
* src/register/gnome/combocell-gnome.c: same as below
2644
* src/register/textcell.[ch]: same as below
2646
* src/register/recncell.[ch]: same as below
2648
* src/register/quickfillcell.[ch]: same as below
2650
* src/register/pricecell.[ch]: same as below
2652
* src/register/numcell.[ch]: same as below
2654
* src/register/datecell.h: same as below
2656
* src/register/combocell.h: make destructor private.
2657
constructor returns 'BasicCell *'.
2659
* src/register/cellblock.[ch]: remove 'label' members -- no longer
2662
* src/register/basiccell.[ch]: 'virtualize' destructor.
2663
simplify changed flags.
2665
* src/register/Makefile.am (SUBDIRS): add cell-factory.[ch]
2667
* src/gnome/gnc-html.c: fix includes
2669
* src/SplitLedger.c: update for api changes
2671
* src/MultiLedger.c: update for api changes
2673
2001-07-20 James LewisMoss <jimdres@mindspring.com>
2675
* src/gnome/top-level.c (gnucash_ui_init): remove the \n's from
2676
the ENTER and LEAVE calls.
2678
2001-07-19 James LewisMoss <jimdres@mindspring.com>
2680
* src/engine/gnc-book.c (gnc_book_save): use all_sync if available
2681
else sync separately.
2682
(gnc_book_save): extract out duplicate error handling code.
2684
2001-07-19 Robert Graham Merkel <rgmerk@mira.net>
2686
* src/scm/report/payables.scm: add column totals, add some
2687
clarifying comments.
2689
2001-07-18 Dave Peticolas <dave@krondo.com>
2691
* src/gnc-ui-util.c (balance_helper): fix bug
2693
2001-07-17 Dave Peticolas <dave@krondo.com>
2695
* src/engine/Scrub.c (xaccGroupScrubCommodities): use group
2696
begin/commit to speed up processing
2698
* src/engine/Group.[ch] (xaccAccountGroupBeginEdit): make public
2700
2001-07-18 Robert Graham Merkel <rgmerk@mira.net>
2702
* src/scm/report/payables.scm: Make creditor display
2705
* src/guile/gnc.gwp: wrap safe_strcmp.
2707
* src/gnome/dialog-print-check.c: revert inadvertent change
2710
2001-07-17 Dave Peticolas <dave@krondo.com>
2712
* doc/sgml/C/xacc-features.sgml: Matt Krai's doc patch
2714
* doc/sgml/C/xacc-about.sgml: Matt Krai's doc patch
2718
* doc/sgml/C/xacc-about.sgml: credits
2720
* src/gnome/gnc-dateedit.c: Matt Kraai's date accelerator bug fix
2722
* src/engine/io-gncbin-r.c: fix bug with price import (use
2723
posted date, not entered date).
2725
* src/engine/gnc-pricedb.[ch]: fix bugs with setting currency and
2726
commodity and with converting from legacy commodities.
2728
* src/engine/Transaction.c (xaccTransAppendSplit): make sure
2729
split's value conforms to the transaction common currency.
2731
2001-07-12 Dave Peticolas <dave@krondo.com>
2733
* src/gnome/window-register.c: same as below
2735
* src/scm/report/taxtxf.scm: use split amount
2737
2001-07-13 Robert Graham Merkel <rgmerk@mira.net>
2739
* src/scm/report/payables.scm: New file - an
2740
"Accounts payable by creditor" report.
2742
* src/scm/date-utilities.scm: Added a couple
2745
* src/scm/Makefile.am: update for new file.
2747
2001-07-12 Dave Peticolas <dave@krondo.com>
2749
* src/register/splitreg.[hc]: same as below
2751
* src/SplitLedger.c: remove share balance cells, they are now
2754
* accounts/*/*: currency->commodity
2756
* src/scm/engine-interface.scm: quantity->amount
2758
* src/guile/guile-util.[ch]: quantity->amount
2760
* src/guile/gnc.gwp: quantity->amount
2762
* src/SplitLedger.c: quantity->amount
2764
* src/gnc-ui-util.[ch]: quantity->amount
2766
* src/scm/report/transaction.scm: remove old api
2768
* src/scm/report-utilities.scm: remove old api
2770
* src/scm/commodity-utilities.scm: remove old api
2772
* src/scm/engine-interface.scm: remove old api
2774
* src/scm/extensions.scm: remove old api
2776
* src/scm/report-utilities.scm: remove old api
2778
* src/gnome/reconcile-list.c: remove old api
2780
* src/scm/report/register.scm: remove old api
2782
* src/engine/Scrub.c: remove old api
2784
* src/engine/sql/txn.c: remove old api
2786
* src/engine/rpc/RpcUtils.c: remove old api
2788
* src/guile/gnc.gwp: remove cruft
2790
* src/scm/extensions.scm: remove cruft
2792
* src/guile/gnc-helpers.[ch]: remove old api
2794
* src/engine/io-gncbin-r.c: remove old api
2796
* src/guile/gnc-helpers.c: remove old api
2798
* src/SplitLedger.c: remove old api
2800
* src/engine/Transaction.[ch]: remove share api and older api
2802
* src/engine/Transaction-xml-parser-v1.c: remove old api
2804
* src/gnome/druid-stock-split.c: remove share api
2806
* src/engine/Account.[ch]: remove 'share' api and other
2809
* src/scm/qif-import/qif-to-gnc.scm: remove share api
2811
* src/guile/gnc.gwp: remove share api
2813
* src/gnome/window-reconcile.c: remove share api
2815
* src/gnome/window-register.c: remove share api
2817
2001-07-11 Dave Peticolas <dave@krondo.com>
2819
* src/engine/io-gncxml-v2.c: same as below
2821
* src/engine/io-gncbin-r.c: same as below
2823
* src/engine/io-example-account.c: same as below
2825
* src/engine/Ledger-xml-parser-v1.c: remove autocode
2827
* src/engine/Group.[ch]: remove autocode api. This hasn't
2828
really been used in a while, and account codes are generally
2829
assigned based on account function, not just hierarchy position.
2831
* src/engine/Account.[ch]: remove autocode api
2833
* src/guile/gnc.gwp: remove auto code api
2835
* src/scm/commodity-utilities.scm: fix function calls
2837
* src/test/test-xml-transaction.c: CIT (currency-in-transaction)
2839
* src/test/test-xml-account.c: CIT
2841
* src/test/gnc-test-stuff.c: CIT
2843
* src/scm/report/taxtxf.scm: CIT
2845
* src/scm/qif-import/qif-to-gnc.scm: CIT
2847
* src/scm/qif-import/qif-dialog-utils.scm: CIT
2849
* src/scm/text-export.scm: CIT
2851
* src/scm/price-quotes.scm: CIT
2853
* src/scm/main-window.scm: CIT
2855
* src/scm/engine-interface.scm: CIT
2857
* src/guile/gnc.gwp: CIT. remove unused api
2859
* src/gnome/glade/transfer.glade: remove currency account list
2861
* src/gnome/glade/account.glade: remove security gui
2863
* src/gnome/window-reconcile.c: CIT
2865
* src/gnome/window-main-summarybar.c: CIT
2867
* src/gnome/window-acct-tree.c: CIT
2869
* src/gnome/druid-stock-split.c: CIT
2871
* src/gnome/druid-qif-import.c: CIT
2873
* src/gnome/druid-hierarchy.c: CIT
2875
* src/gnome/druid-commodity.c: CIT
2877
* src/gnome/dialog-transfer.c: CIT. don't use currency accounts
2879
* src/gnome/dialog-commodities.c: CIT
2881
* src/gnome/dialog-account.c: CIT
2883
* src/gnome/account-tree.c: CIT
2885
* src/engine/sql/txn.c: fix for CIT
2887
* src/engine/sql/account.c: remove old currency/security cruft
2889
* src/engine/sixtp-dom-parsers.[ch]: allow parsing kvp data into
2892
* src/engine/kvp_doc.txt: document new keys used for storing
2893
old currency/security fields
2895
* src/engine/io-gncxml-v2.c: CIT
2897
* src/engine/io-gncxml-r.c: CIT
2899
* src/engine/io-gncbin-r.c: CIT
2901
* src/engine/io-example-account.c: CIT
2903
* src/engine/gnc-transaction-xml-v2.c: CIT
2905
* src/engine/gnc-schedxaction-xml-v2.c: load kvp data
2908
* src/engine/gnc-commodity.[ch]: add new lookup api, fixes
2911
* src/engine/gnc-book.c: don't scrub (moved elsewhere)
2913
* src/engine/gnc-account-xml-v2.c: store transaction currency
2914
and account commodity.
2916
* src/engine/Transaction.[ch]: add a transaction currency
2918
* src/engine/TransLog.c: CIT
2920
* src/engine/Scrub.[ch]: add api for fixing up
2921
account and transaction commodities.
2923
* src/engine/SchedXaction.c: CIT
2925
* src/engine/Ledger-xml-parser-v1.c: CIT
2927
* src/engine/Group.[ch]: don't cache a group balance
2929
* src/engine/Account.[ch]: CIT. remove currency, security
2930
fields, add commodity fields. Store old currency/security
2933
* src/engine/Account-xml-parser-v1.c: fix for CIT
2935
* src/gnc-ui-util.[ch]: fix for CIT
2937
* src/gnc-component-manager.c: remove deleted api
2939
* src/SplitLedger.c: fix for currency-in-transaction (CIT)
2941
2001-07-11 James LewisMoss <jimdres@mindspring.com>
2943
* configure.in (GNOME_XML_CFLAGS): add Richard Braakman's xml
2946
* src/engine/sql/PostgresBackend.c (pgend_session_begin): used
2947
backend arg directly.
2949
* src/engine/BackendP.h (struct _backend ): add Backend arg to
2952
* src/engine/rpc/RpcBackend.c (rpcendInit): use xaccInitBackend to
2953
set everything in the backend to default values.
2954
(rpcend_book_begin): use backend var directly.
2956
* src/engine/sql/PostgresBackend.c (pgendInit): use
2957
xaccInitBackend to set everything to default values.
2959
* src/engine/gnc-book.c (gnc_book_destroy): use destroy backend
2960
method to free backend if it's set.
2962
2001-07-09 Dave Peticolas <dave@krondo.com>
2964
* configure.in: check for ghttp_ssl.h
2966
* src/gnome/gnc-http.c: conditionally include ghttp_ssl.h
2968
* doc/sgml/C/xacc-whats-new.sgml: fix spelling
2970
* doc/sgml/C/xacc-about.sgml: fix version
2972
* src/Makefile.am: link intl libs with gnucash-make-guids
2974
* src/register/QuickFill.c: same as below
2976
* src/register/quickfillcell.c: conditionally include wctype.h
2978
* configure.in: check for wctype.h
2980
2001-07-07 Dave Peticolas <dave@krondo.com>
2982
* src/test/gnc-test-stuff.c (get_random_query): not so many terms
2984
* src/test/Makefile.am: add test-scm-query
2986
* src/test/.cvsignore: add test-scm-query
2988
* src/test/test-scm-query.c: new test -- check query<->scm
2991
* src/guile/gnucash.h: new func api
2993
* src/guile/gnucash.c.in (gnc_gw_init): new func
2995
* src/guile/gnc-helpers.c: fix bugs
2997
* src/engine/Query.c: fix bugs
2999
2001-07-06 Dave Peticolas <dave@krondo.com>
3001
* src/gnome/glade/sched-xact.glade: tweak
3003
* src/test/gnc-test-stuff.c (get_random_boolean): new func.
3004
(get_random_query): new func.
3006
2001-07-06 Robert Graham Merkel <rgmerk@mira.net>
3008
* src/scm/report/transaction.scm: Add new sort option "register
3009
order", make it the default for secondary sorting.
3011
* po/ChangeLog: removed from CVS.
3013
2001-07-06 Joshua Sled <jsled@asynchronous.org>
3015
* src/gnome/gnc-schedxaction-xml-v2.c: Support for new
3016
SchedXaction options [create/remind-days-in-advance; auto-create,
3017
notify-on-creation].
3019
* src/gnome/dialog-scheduledxaction.c (putSchedXactionInClist):
3020
Fix for next-occurrence processing.
3022
* src/engine/SchedXaction.c (xaccSchedXactionGetNextInstance):
3023
Better handling of start date/last-occur date/current dates when
3024
generating the next occurrence date. Gotta remember to clear those
3025
g_dates, lest the come up 'valid' due to stack trash... :(
3027
* src/gnome/gnc-sxlastrun.{h,c}: Added; newer/better
3028
since-last-occur dialog.
3030
* src/gnome/window-main.c: Added Scheduled Transaction stuff to
3033
* src/scm/prefs.scm: Added initial cut at Scheduled Transaction
3036
2001-07-06 Robert Graham Merkel <rgmerk@mira.net>
3038
* doc/sgml/C/xacc-balancreport.sgml: minor updates
3040
* doc/sgml/C/image/regwin*.png, appr-income.png, bal-graph.png,
3041
report-hierachical.png: no longer used, so removed.
3043
* doc/sgml/C/image/*tax*.png: resaved as compressed png.
3045
* doc/sgml/C/image/report-folio.png: reshot for 1.6.
3047
* doc/sgml/C/image/Makefile.am: updated for removed files.
3049
2001-07-05 Dave Peticolas <dave@krondo.com>
3051
* src/engine/Query.c (xaccQueryEqual): new func.
3053
* doc/sgml/C/xacc-common-report-options.sgml: fix my fix
3055
* doc/sgml/C/xacc-price-sources.sgml: fix warnings
3057
* src/guile/gnc.gwp: wrap new func
3059
* src/gnome/druid-stock-split.c: use new func
3061
* src/gnome/window-register.c: use new func
3063
* src/gnome/window-reconcile.c: use new func
3065
* src/gnome/reconcile-list.c: use new func
3067
* src/gnc-ui-util.c (gnc_account_print_info): new func. this
3068
replaces 'quantity' and 'value' print info for the currency-
3069
in-transaction switch. Delete the 'quantity' version.
3071
2001-07-04 Dave Peticolas <dave@krondo.com>
3075
* doc/sgml/C/xacc-about.sgml: credits
3077
* src/scm/report/transaction.scm: Michael T. Garrison Stuber's
3078
transaction report patch.
3080
* doc/sgml/C/xacc-common-report-options.sgml: fix warning
3082
2001-07-05 Robert Graham Merkel <rgmerk@mira.net>
3084
* doc/sgml/C/xacc-depreciation.sgml: Minor updates.
3086
* doc/sgml/C/xacc-price-sources.sgml: Updated for 1.6
3088
* doc/sgml/C/image/ticker-{a,b}.png: Removed.
3090
* src/gnome/druid-qif-import.c: fix syntax bug.
3092
* doc/sgml/C/image/<lots.png>: new and updated screenshots.
3094
* doc/sgml/C/image/Makefile.am: include new files.
3096
* doc/sgml/C/{lots}.sgml: update for new screenshots.
3098
2001-07-04 Bill Gribble <grib@billgribble.com>
3100
* src/gnome/druid-qif-import.c: fix cut-n-paste error in
3101
default_acct_back handler; fixes bug #106.
3103
* src/gnome/glade/qif.glade: add some explanatory text about
3104
what the "back" button does where it's not obvious
3106
* (later) actually fix #106... first patch didn't do it
3108
2001-07-04 Dave Peticolas <dave@krondo.com>
3110
* Makefile.am: add gnc-glossary.txt to the dist
3112
* src/engine/sixtp.c (sixtp_handle_catastrophe): fix bug -- don't
3113
destroy last stack frame
3115
2001-07-03 Dave Peticolas <dave@krondo.com>
3117
* src/scm/report/register.scm: add exported functions and needed
3122
* doc/sgml/C/xacc-about.sgml: credits
3124
* src/scm/date-utilities.scm: Nicholas Lee's bug fix
3126
* src/.cvsignore: adjust for new program
3128
* rpm/gnucash.spec.in: adjust for new program
3130
* src/Makefile.am: adjust for new program
3132
* src/gnucash-make-guids.c: new program to aid in GUID creation
3134
* src/engine/sql/putil.h: Alex Zepeda's patch converting atol->strtoll.
3136
* src/scm/commodity-utilities.scm: fix bug -- use srfi-1 to
3137
make sure we get the right 'last'
3139
* src/scm/Makefile.am: same as below
3141
* src/scm/report/Makefile.am: fix bugs -- put modulized scm
3142
files back into dist and strings targets
3144
* src/scm/report/taxtxf.scm: fix bug, eliminate use of append
3146
* src/MultiLedger.c: same as below
3148
* src/register/table-allgui.c: same as below
3150
* src/register/splitreg.c: same as below
3152
* src/register/splitreg.h: same as below
3154
* src/register/table-allgui.h: rename TableView to TableModel.
3155
Put cell data handlers into the model.
3157
2001-07-02 Dave Peticolas <dave@krondo.com>
3159
* many header files: apply Ben Stanley's script to
3160
convert __HEADER_H__ to HEADER_H. All names starting
3161
with '_' are reserved.
3163
* src/gnome/gnc-dateedit.c: sync with datecell-gnome.c
3165
* src/register/gnome/datecell-gnome.c: use GDate to do
3168
* src/scm/bootstrap.scm.in: instead of the scheme command,
3169
just tell the user to run gnucash once as root.
3171
2001-07-01 Dave Peticolas <dave@krondo.com>
3173
* src/gnc-ui-util.[ch]: implement towupper and iswlower
3176
* src/register/quickfillcell.c: include gnc-ui-util.h
3178
* src/register/QuickFill.c: include gnc-ui-util.h
3180
* configure.in: check for towupper
3182
2001-06-29 Joshua Sled <jsled@asynchronous.org>
3184
* src/gnome/gnc-frequency.c: Added functions for dealing with
3185
widget changes in the year-subset freq. panels [quarterly,
3186
tri-yearly, semi-yearly, yearly].
3188
* src/gnome/gnc-frequency.c (gnc_frequency_save_state): Some
3189
improvement regarding saving the state of scheduled transactions.
3190
(gnc_frequency_setup): Much improvement regarding the setup of
3191
scheduled transactions.
3192
(year_range_sels_changed): Added to simplify modifications to
3193
year-range scheduled transactions.
3195
2001-06-29 Dave Peticolas <dave@krondo.com>
3197
* src/engine/gnc-account-xml-v2.c: Alex Zepeda's patch
3198
adding a missing include.
3200
2001-06-28 James LewisMoss <dres@ioa.com>
3202
* src/engine/gnc-book.c (xaccAddEndPath): new func.
3203
(xaccUserPathPathGenerator): new func.
3204
(xaccDataPathGenerator): new func.
3205
(xaccCmdPathGenerator): new func.
3206
(xaccResolveFilePath): refactor and use new funcs.
3208
2001-06-27 Dave Peticolas <dave@krondo.com>
3210
* src/register/QuickFill.c: same as below
3212
* src/register/quickfillcell.c: use wide character conversion
3217
* doc/sgml/C/xacc-about.sgml: credits
3219
* po/fr.po: Paul Poulain's French translations
3221
2001-06-26 James LewisMoss <jimdres@mindspring.com>
3223
* src/engine/gnc-book.c (gnc_book_begin): convert strncmp ->
3224
g_strncasecmp (strncmp isn't universally available)
3226
2001-06-26 Dave Peticolas <dave@krondo.com>
3228
* src/engine/sixtp-dom-parsers.c: same as below
3230
* src/engine/gnc-commodity-xml-v2.c: same as below
3232
* src/engine/gnc-account-xml-v2.c: don't use node content member
3233
directly -- if libxml was configured to use buffers, this won't
3236
* src/register/gnome/gnucash-sheet.c
3237
(gnucash_sheet_key_press_event): allow shift-pgup and shift-pgdn
3238
to go to top & bottom of register respectively.
3240
* src/register/gnome/datecell-gnome.c (DateDirect): allow '-'
3241
hotkey to work if there is a full date there, or the cell is
3244
* src/gnome/gnc-html.c: don't handle key presses, let the gtkhtml
3247
2001-06-25 Dave Peticolas <dave@krondo.com>
3249
* src/engine/sql/kvp-sql.c: include gnc-engine-util.h for stpcpy
3251
* src/engine/gnc-engine-util.c (gnc_stpcpy): add func
3253
* src/engine/gnc-engine-util.h: add definition of gnc_stpcpy.
3254
if stpcpy is not available, define stpcpy as gnc_stpcpy.
3256
* src/gnc-ui-util.c: remove gnc_stpcpy
3258
* src/gnome/window-main-summarybar.c: fix bug in euro profit
3259
calculation. use share prices in calculating totals.
3263
* doc/sgml/C/xacc-about.sgml: credits
3265
* src/scm/report/balance-sheet.scm: Daniel Hagerty's patch
3266
to add an unrealized gain/loss line to the balance sheet.
3268
2001-06-24 Dave Peticolas <dave@krondo.com>
3270
* src/scm/report/account-piecharts.scm: fix sign bug
3272
* src/engine/sql/kvp-sql.c: same as below
3274
* src/engine/sql/txn.c: same as below
3276
* src/engine/sql/price.c: same as below
3278
* src/engine/sql/checkpoint.c: use strtoll instead of atoll
3280
2001-06-24 Kevin Finn <kevinfinn@mediaone.net>
3282
* src/gnome/dialog-transfer.[ch]: reformatted my previous changes
3283
to 80 cols. Added interface to specify whether description
3284
quickfill will be based on From or To account splits. Enhance
3285
quickfill to also select the appropriate account in the account
3286
tree for the matched transaction.
3288
* src/gnome/window-reconcile.c: reformatted my previous changes to
3289
80 cols. Change the auto interest xfer dialog so that it
3290
quickfills based on the reconcile account, rather than always on
3293
2001-06-24 Dave Peticolas <dave@krondo.com>
3297
* doc/sgml/C/xacc-about.sgml: credits
3299
* configure.in: Alex Zepeda's postgres configure patch
3301
2001-06-23 Kevin Finn <kevinfinn@mediaone.net>
3303
* src/gnome/window-reconcile.c: fix for display of auto end value
3306
2001-06-23 Dave Peticolas <dave@krondo.com>
3308
* doc/sgml/C/xacc-about.sgml: credits
3312
* configure.in: Bill Nottingham's guile configuration patch
3314
2001-06-20 Dave Peticolas <dave@krondo.com>
3316
* configure.in: better error messages. remove cruft.
3318
2001-06-19 Dave Peticolas <dave@krondo.com>
3320
* src/engine/gnc-numeric.c: use C comments.
3322
* src/engine/SchedXaction.[ch]: use C comments.
3324
* src/gnome/gnc-frequency.[ch]: use C comments. fix warnings
3326
2001-06-19 Bill Gribble <grib@billgribble.com>
3328
* src/scm/qif-import/qif-parse.scm: convert to gnc-numeric when
3329
parsing, using string length as the precision
3331
* src/scm/qif-import/qif-to-gnc.scm: use gnc-numeric
3332
math routines where necessary
3334
* src/scm/qif-import/qif-file.scm: pass an equality test
3335
predicate to check-and-parse-fields
3337
* src/scm/report/*: fix module reports to use-modules on
3338
srfi-1 and slib where needed.
3340
2001-06-19 Dave Peticolas <dave@krondo.com>
3342
* src/gnome/dialog-nextrun.h: add guards
3344
* src/gnome/dialog-nextrun.c: use C comments.
3346
2001-06-19 Bill Gribble <grib@billgribble.com>
3348
* src/scm/qif-import/qif-objects.scm: initialize fields to ""
3351
* src/scm/qif-import/qif-to-gnc.scm: fix cut-n-paste error
3353
2001-06-19 Dave Peticolas <dave@krondo.com>
3355
* src/gnome/dialog-scheduledxaction.c: use C comments. fix warning
3357
2001-06-18 Dave Peticolas <dave@krondo.com>
3359
* src/test/test-stuff.[ch]: fix warning
3361
2001-06-18 James LewisMoss <jimdres@mindspring.com>
3363
* src/engine/gnc-transaction-xml-v2.c
3364
(gnc_transaction_end_handler): use dom_tree_to_transaction.
3366
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler): use
3367
dom_tree_to_account.
3369
2001-06-18 Rob Browning <rlb@cs.utexas.edu>
3371
* src/scm/report/report-list.scm: switch to use-modules for
3374
* po/.cvsignore: add ChangeLog.
3376
* src/scm/report/transaction-report.scm: renamed to transaction.scm
3378
* src/scm/report/transaction.scm: renamed from
3379
transaction-report.scm and converted to guile module.
3381
* src/scm/report/taxtxf.scm: convert to guile module.
3383
* src/scm/report/register.scm: convert to guile module.
3385
* src/scm/report/price-scatter.scm: convert to guile module.
3387
* src/scm/report/portfolio.scm: convert to guile module.
3389
* src/scm/report/pnl.scm: convert to guile module.
3391
* src/scm/report/net-barchart.scm: convert to guile module.
3393
* src/scm/report/iframe-url.scm: convert to guile module.
3395
* src/scm/report/hello-world.scm: convert to guile module.
3397
* src/scm/report/category-barchart.scm: convert to guile module.
3399
* src/scm/report/balance-sheet.scm: convert to guile module.
3401
* src/scm/report/average-balance.scm: convert to guile module.
3403
* src/scm/report/account-summary.scm: convert to guile module.
3405
* src/scm/report/account-piecharts.scm: convert to guile module.
3407
* src/scm/report/Makefile.am (gncscmmoddir): dir for report modules.
3408
(gncscmmod_DATA): add reports that have been modularized.
3409
(gncscm_DATA): remove reports that have been modularized.
3411
* src/scm/bootstrap.scm.in (gnc:load): don't silently succeed on
3412
load errors -- fail.
3414
* src/scm/report-html.scm: make (ice-9 slib) dependency explicit.
3416
* src/scm/depend.scm (gnc:depend): add optional timing facility.
3418
* src/gnome/gnc-frequency.c: fixed some type problems.
3420
* src/gnome/dialog-scheduledxaction.c: fixed some type problems.
3422
* src/gnome/dialog-nextrun.c: fixed some type problems.
3424
2001-06-18 Dave Peticolas <dave@krondo.com>
3426
* src/engine/gnc-schedxaction-xml-v2.c: same as below
3428
* src/MultiLedger.c: same as below
3430
* src/SplitLedger.c: same as below. fix indentation. please
3431
use the indentation style already present in the file.
3433
* src/engine/gnc-freqspec-xml-v2.c: same as below
3435
* src/engine/FreqSpec.[ch]: fix warnings. use standard C comments
3437
* doc/sgml/C/xacc-about.sgml: update credits
3439
2001-06-17 Joshua Sled <jsled@asynchronous.org>
3441
* src/engine/gnc-account-xml-v2.c (dom_tree_to_account): Added.
3443
* src/engine/gnc-transaction-xml-v2.c (dom_tree_to_transaction):
3446
* src/FileDialog.c: Added support for copying
3447
scheduled-transaction-related GNCBook fields.
3449
* src/engine/FreqSpec.{h,c}: Added.
3451
* src/engine/SchedXaction.{h,c}: Added.
3453
* src/engine/gnc-{freqspec,schedxaction}-xml-v2.c: Added
3455
* src/engine/gnc-book.c: Added the template group [template
3456
transaction belong to the template group] and the Scheduled
3459
* src/gnome/glade/sched_xact.glade: Added.
3461
* src/gnome/dialog-nextrun.{h,c}: Added.
3463
* src/gnome/dialog-scheduledxaction.{h,c}: Added.
3465
* src/gnome/gnc-frequency.{h,c}: Added.
3467
* src/SplitLedger.c, src/MultiLedger.c: Added support for a
3470
* src/guile/gnc.gwp: Added wrapping for
3471
dialog-{scheduledxactions,nextrun}-creation functions.
3473
* src/register/splitreg.c: Added formula credit and debit cells,
3474
and flags for template-register support.
3476
* src/register/formulacell.h: Added.
3478
* src/gnome/gnc-dateedit.h: Added explanatory comment from dave_p
3481
* src/gnome/query-user.h: Added prototype of
3482
gnc_verify_dialog_parented(...), so I could use it the SX UI
3485
2001-06-17 Kevin Finn <kevinfinn@mediaone.net>
3487
* src/gnome/window-reconcile.c: Implemented automatic interest
3488
transfer as a stripped-down transfer dialog. This allows the user
3489
to automatically enter an interest charge or payment for bank or
3490
credit accounts prior to starting reconciliation, subject to both
3491
a global and per-account preference.
3493
* src/gnome/dialog-transfer.c,h: Add interfaces to allow the
3494
dialog-transfer to be manipulated as necessary to create the auto
3495
interest transfer dialog.
3497
* src/scm/prefs.scm: added new Reconcile boolean: Automatic
3500
* src/engine/Account.c,h: Add access functions
3501
for per-account auto interest xfer kvp
3503
* src/engine/kvp_doc.txt: Document new kvps.
3505
2001-06-17 James LewisMoss <jimdres@mindspring.com>
3507
* src/engine/gnc-commodity-xml-v2.c (set_commodity_value): strip
3508
string before setting things.
3510
* src/engine/io-gncxml-v2.c (gnc_book_write_to_xml_file_v2): check
3513
2001-06-17 Dave Peticolas <dave@krondo.com>
3515
* src/gnome/cursors.c (gnc_set_busy_cursor): fix warning
3517
* src/scm/date-utilities.scm: use gnc:print-date instead of
3520
* src/scm/report/hello-world.scm: fix docs
3522
* src/scm/report/transaction-report.scm: fix date printing
3524
* src/scm/report/register.scm: remove cruft
3526
* src/register/gnome/gnucash-style.c (gnucash_font_load): new func
3527
If gdk_fontset_load doesn't work, try gdk_font_load.
3528
(gnucash_style_set_register_font_name): use gnucash_font_load
3529
(gnucash_style_set_register_hint_font_name): use gnucash_font_load
3531
* src/FileDialog.c (gncFileSave): save the window state on a save
3532
(gncFileQuerySave): don't provide cancel option when the ui can't
3534
* src/scm/main-window.scm (gnc:main-window-save-state): new func
3535
don't save state when the ui can't
3537
* src/gnome/window-main.c
3538
(gnc_main_window_can_cancel_exit): new func
3539
(gnc_main_window_can_save): new func
3540
(gnc_main_window_has_apps): new func
3542
* src/gnc-ui.h: add new api
3544
* src/gnome/top-level.c (gnc_ui_can_cancel_exit): new func
3546
2001-06-16 Dave Peticolas <dave@krondo.com>
3548
* src/guile/gnc.gwp: update for api change
3550
* src/scm/main.scm: update for api change
3552
* src/gnome/glade/newuser.glade: new file for new user glade xml
3554
* src/gnome/glade-support.[ch]: remove generated files
3556
* src/gnome/new-user-*.[ch]: remove old files
3558
* src/gnome/dialog-new-user.c: new file for new user dialog code.
3560
* src/gnome/druid-hierarchy.c: new file for account hierarchy
3561
creation druid code. Rename api calls to reflect the more
3562
general use of the druid.
3564
2001-06-16 Robert Graham Merkel <rgmerk@mira.net>
3566
* po/POTFILES.in : remove references to deleted files.
3568
2001-06-15 James LewisMoss <jimdres@mindspring.com>
3570
* src/engine/gnc-book.c (gnc_book_write_to_file): remove useless
3572
(make_backup): new func for duplicate functionality
3573
(copy_file): new func to copy file.
3574
(gnc_book_backup_file): use make_backup
3575
(gnc_book_write_to_file): use make_backup
3577
2001-06-15 Dave Peticolas <dave@krondo.com>
3579
* src/gnome/dialog-account-picker.c: use libglade
3581
* src/gnome/dialog-print-check.c: use libglade
3583
* src/gnome/dialog-find-transactions.c: use libglade
3585
* src/guile/gnc.gwp: remove budgeting api
3587
* src/gnome/dialog-budget.[ch]: remove
3589
* src/gnome/dialog-fincalc.c: use libglade
3591
* src/gnome/dialog-commodity.c: use libglade
3593
* src/gnome/dialog-account.c: use libglade
3595
* src/gnome/dialog-userpass.c: fix bloop
3597
* src/gnome/druid-commodity.c: use libglade
3599
2001-06-14 Dave Peticolas <dave@krondo.com>
3601
* src/gnome/druid-qif-import.c: use libglade
3603
2001-06-14 Robert Graham Merkel <rgmerk@mira.net>
3605
* src/engine/Transaction.c (get_corr_account_split): Fix
3606
bug - lookup split values rather than balances.
3608
2001-06-14 Dave Peticolas <dave@krondo.com>
3610
* src/gnome/dialog-transfer.c: use libglade
3612
* rpm/gnucash.spec.in: fix bug
3614
2001-06-13 Dave Peticolas <dave@krondo.com>
3616
* src/experimental/cgi-bin/Makefile.am: add .cvsignore to dist
3618
* src/scm/report/account-summary.scm: fix string
3620
* src/guile/gnc-helpers.c (gnc_scm_list_to_glist): fix bug
3622
* src/scm/extensions.scm: fix bug
3624
* src/gnome/dialog-progress.c: use libglade
3626
* src/gnome/window-help.c: use libglade
3628
* src/gnome/dialog-utils.c (gnc_glade_lookup_widget): new func
3630
* src/gnome/dialog-tax-info.c: use libglade
3632
* src/gnome/dialog-style-sheet.c: use libglade
3634
2001-06-13 James LewisMoss <jimdres@mindspring.com>
3636
* configure.in (CFLAGS): add test-files makefiles to list.
3638
* src/test/Makefile.am: add SUBDIRS test-files.
3640
* src/test/test-load-xml2.c (main): add test for file ending so we
3641
don't get the Makefiles
3643
* doc/sgml/de_DE/Makefile.am: remove empty SUBDIRS setting.
3645
2001-06-13 Dave Peticolas <dave@krondo.com>
3647
* src/gnome/glade/stocks.glade: new file for old stock split druid
3649
* src/gnome/druid-stock-split.c: use libglade
3651
* src/gnome/glade/userpass.glade: new file for old
3652
username/password dialog
3654
* src/gnome/dialog-userpass.c: use libglade
3656
* src/gnome/dialog-column-view.c: more libglade work
3658
2001-06-13 Bill Gribble <grib@billgribble.com>
3660
* src/sc/qif-import/qif-guess-map.scm: fix bug in
3661
account name guessing
3663
2001-06-13 Herbert Thoma <herbie@hthoma.de>
3665
* po/de.po: updated German translation for transfer dialog.
3667
* doc/build-suse.txt: updated for gnucash 1.6 / SuSE 7.2
3669
2001-06-12 Dave Peticolas <dave@krondo.com>
3671
* src/gnome/glade/report.glade: new file for old report dialogs
3673
* src/gnome/dialog-column-view.c: use libglade
3675
2001-06-12 Dave Peticolas <dave@krondo.com>
3677
* src/gnome/dialog-price-editor.c: fix bug
3679
* src/gnome/glade/price.glade: new file for old price dialogs
3681
* src/gnome/dialog-price-editor.c: use libglade
3683
* src/gnome/reconcile-list.c: obey new option below
3685
* src/scm/prefs.scm: add option wrt checking off cleared
3686
transactions when reconciling
3688
* src/register/table-allgui.[ch]: move function to .c file
3690
* src/scm/tip-list.scm: update tip
3692
* src/register/register-common.h: move function defs to
3695
* src/register/register-common.c: new file
3697
* src/gnome/glade/Makefile.am: new file
3699
* src/gnome/glade/commodity.glade: new file. glade file for
3702
* src/gnome/dialog-commodities.c: use libglade
3704
* src/gnome/dialog-utils.c (gnc_glade_xml_new): new func
3705
(gnc_glade_xml_new_widget): new func
3707
* rpm/gnucash.spec.in: add glade dir
3709
* configure.in: move libglade check to glade section.
3710
add configured glade file dir.
3712
* src/gnome/Makefile.am: add glade flags & glade dir
3714
* src/Makefile.am: add glade libs
3716
* src/scm/report/account-piecharts.scm: same as below
3718
* src/scm/report/category-barchart.scm: remove hint text
3720
* src/engine/gnc-book.c (gnc_book_get_file_lock): some file systems
3721
don't support hard links. If the error code indicates this, go
3722
ahead and grant the lock. Is there a better way?
3724
2001-06-11 Dave Peticolas <dave@krondo.com>
3726
* src/register/gnome/gnucash-date-picker.c
3727
(gnc_date_picker_key_event): fix bug
3729
* src/scm/Makefile.am: same as below
3731
* src/scm/price-quotes.scm: same as below
3733
* src/scm/process.scm: re-modulize process.scm
3735
2001-06-10 Christian Stimming <stimming@tuhh.de>
3737
* de.po: updated German translation.
3739
* configure.in, doc/sgml/Makefile.am, doc/sgml/de_DE/*: Added
3740
German translation of a few manual pages, including a Whats-New
3741
table for the translated words.
3743
2001-06-10 Dave Peticolas <dave@krondo.com>
3745
* doc/sgml/C/xacc-print.sgml: fix docs
3747
* src/engine/gnc-engine-util.c: change debug levels to warning
3749
2001-06-10 Bill Gribble <grib@billgribble.com>
3751
* src/scm/report/welcome-to-gnucash.scm: fix bug in "welcome to
3754
* src/gnome/dialog-column-view.c: remove printout
3756
2001-06-09 Dave Peticolas <dave@krondo.com>
3758
* configure.in: fix bug
3760
* doc/sgml/C/xacc-about.sgml: update credits
3762
* src/gnome/window-main.c (gnc_main_window_about_cb): update
3765
* AUTHORS: update credits
3767
* src/gnome/reconcile-list.c (gnc_reconcile_list_refresh): fix
3770
* src/gnome/dialog-utils.c (gnc_clist_add_check): fix bugs
3772
* doc/sgml/pt_PT/Makefile.am: remove adjust balance docs
3774
* doc/sgml/C/Makefile.am: remove adjust balance docs
3776
* doc/sgml/de_DE/xacc-quickstart.sgml: fix docs
3778
* doc/sgml/pt_PT/xacc-quickstart.sgml: fix docs
3780
* doc/sgml/C/xacc-quickstart.sgml: fix docs
3782
* src/scm/help-topics-index.scm: work on index
3784
* src/gnome/window-help.c (gnc_help_show_topic): first check
3785
current location for match
3787
* src/SplitLedger.c (xaccSRDuplicateCurrent): fix bug
3789
* src/gnc-ui-util.c (gnc_find_or_create_equity_account): allow
3790
group to be specified
3791
(gnc_account_create_opening_balance): search in given account's
3794
2001-06-08 Dave Peticolas <dave@krondo.com>
3796
* src/gnc-ui-util.c (gnc_find_or_create_equity_account): first
3797
search for untranslated name, then translated name.
3799
* src/gnome/new-user-callbacks.c
3800
(on_chooseAccountTypesPage_prepare): suspend & resume gui
3801
refreshes while loading accounts.
3802
add more suspend & resume calls for other big changes
3804
* src/gnome/new-user-funs.c (gnc_create_newUserDialog): make clist
3805
column titles passive
3807
* src/gnome/new-user-callbacks.c
3808
(on_chooseAccountTypesPage_prepare): use pointer<->int conversion
3810
(gnc_get_ea_locale_dir): take out debugging messages
3811
(on_newAccountTypesList_unselect_row): fix bug
3812
(on_newAccountTypesList_select_row): fix bug
3813
(add_each_gea_to_clist): fix mem leak
3814
(on_newAccountCurrencyChoosePage_prepare): use pointer<->int
3817
* src/SplitLedger.c (xaccSRGetEntryHandler): handle reconcile
3818
cell string as appropriate for translate flag.
3820
* src/register/table-allgui.c (gnc_table_get_entry): return
3822
(gnc_table_get_entry_internal): return untranslated version
3824
* src/register/table-allgui.h: add 'translate' argument to
3827
2001-06-08 Christian Stimming <stimming@tuhh.de>
3829
* configure.in, accounts/Makefile.am, accounts/de_DE/*: add
3830
account template files for German locale.
3832
* src/gnome/gnucash.desktop, po/de.po: updated German translation.
3834
2001-06-08 Dave Peticolas <dave@krondo.com>
3836
* src/doc/design/engine.texinfo: update docs
3838
* src/doc/design/gnucash-design.texinfo: update docs
3840
2001-06-08 Robert Graham Merkel <rgmerk@mira.net>
3842
* doc/sgml/C/xacc-file-operations.sgml, xacc-quickstart.sgml,
3843
xacc-regwin.sgml: updates and corrections.
3845
2001-06-07 Dave Peticolas <dave@krondo.com>
3847
* src/scm/price-quotes.scm: same as below
3849
* src/scm/Makefile.am: same as below
3851
* src/scm/process.scm: un-modulize process.scm. Let's experiment
3852
with this after 1.6.
3854
* src/gnome/new-user-callbacks.c (gnc_get_ea_locale_dir): if first
3855
check fails, see if 2-letter prefix succeeds
3857
2001-06-07 James LewisMoss <jimdres@mindspring.com>
3859
* doc/README.translator.txt (variables): add instructions for
3860
manual and account hierarchy files.
3862
* src/gnome/new-user-callbacks.c: fix test for commodity added by
3863
setting data on druid rather than a global variable (bad jim.
3864
global variable bad).
3865
(on_chooseAccountTypesPage_prepare): remove old comment.
3866
(on_chooseAccountTypesPage_prepare): set object data that account
3868
(on_chooseAccountTypesPage_prepare): use new func to determine
3870
(gnc_get_ea_locale_dir): new func to determine locale correct dir
3871
to read account files from.
3873
* src/gnome/new-user-funs.c (gnc_get_new_user_dialog): new func.
3875
* src/gnome/new-user-callbacks.c (set_first_startup): simplify
3876
using the global-options.h func gnc_set_boolean_option.
3878
* src/FileDialog.c (gncFileNew): lookup pref and do or don't run
3879
new account list druid.
3881
* doc/sgml/C/image/Makefile.am (image_DATA): add new user images.
3883
* src/gnome/new-user-callbacks.c
3884
(on_newAccountCurrencyChoosePage_prepare): remove old comment.
3886
* doc/sgml/C/xacc-quickstart.sgml: add link to
3887
account-hierarchy-creator.
3889
* doc/sgml/C/Makefile.am (GNUCASH_SGML_FILES): add account
3890
hierarchy sgml file to list.
3892
2001-06-07 Dave Peticolas <dave@krondo.com>
3894
* src/doc/design/gnucash-design.texinfo: update docs
3896
* src/doc/design/engine.texinfo: update docs
3898
2001-06-06 Dave Peticolas <dave@krondo.com>
3900
* src/scm/report-html.scm: remove unneeded (require 'printf).
3901
This is invoked as part of testing for slib > 2c4. For slib
3902
< 2c4, printf is loaded from slib-backup.scm.
3904
2001-06-07 Robert Graham Merkel <rgmerk@mira.net>
3906
* doc/sgml/C/xacc-regwin.sgml: Chris "Wilddev" Lyttle's
3907
register documentation update.
3909
* doc/sgml/C/image/MakeFile.am, autosplitledger.png,
3910
basicledger-transfer.png, basicledger.png editaccount.png,
3911
transactionjrnl.png: Wilddev's screenshots.
3913
* doc/sgml/C/xacc-toplevel.sgml, xacc-calculator.sgml,
3914
xacc-file-operations.sgml: more new docs.
3916
* doc/sgml/C/xacc-quickstart.sgml, xacc-mainwin.sgml,
3917
xacc-reports.sgml, gnucash.sgml: updates.
3919
* doc/examples/reg_doc_example.xac: add register doc
3922
* AUTHORS: added Chris Lyttle.
3924
* src/scm/help-topics-index.scm: Updates to reflect doc work.
3927
2001-06-06 Dave Peticolas <dave@krondo.com>
3929
* src/gnome/gnc-dialogs.glade: fix string
3931
* src/scm/report.scm: fix i18n bug
3933
2001-06-06 James LewisMoss <jimdres@mindspring.com>
3935
* README.patches: remove warning at top. Up version number to
3938
* README: fix dependencies. Spell check.
3940
2001-06-06 Dave Peticolas <dave@krondo.com>
3942
* src/test/test-real-data.sh: Josh Sled's bug fix
3944
* src/doc/design/engine.texinfo: document prices and their API
3946
* src/doc/design/gnucash-design.texinfo: update docs
3948
* macros/gnome.m4: Chris J (Oakton) Leach's macro patch
3950
* AUTHORS: update credits
3952
* doc/sgml/C/xacc-about.sgml: update credits
3954
2001-06-05 Dave Peticolas <dave@krondo.com>
3956
* src/gnome/dialog-fincalc.c: grey out the frequency menu
3957
when compounding is continuous.
3959
* src/engine/sql/Makefile.am: add checkpoint.h
3961
2001-06-05 Christian Stimming <stimming@tuhh.de>
3963
* src/scm/report/category-barchart.scm, average-balance.scm,
3964
net-barchart.scm: changed price source default to
3967
* src/scm/prefs.scm: fix string.
3969
* src/scm/options-utilities.scm: added date interval Quarter, Half
3972
* src/scm/date-utilities.scm: added QuarterDelta, HalfYearDelta
3974
* po/de.po: Updated German transl
3976
2001-06-05 James LewisMoss <jimdres@mindspring.com>
3978
* doc/sgml/C/xacc-gpl.sgml: more cleanups.
3980
* doc/sgml/C/xacc-locatingtxns.sgml: promote sect3's to sect2's.
3982
* doc/sgml/C/xacc-gpl.sgml: remove sect1. cleanup.
3984
* doc/sgml/C/xacc-print.sgml: wrap content in sect1.
3986
* doc/sgml/C/xacc-gpl.sgml: remove sect1. promote rest of
3989
* doc/sgml/C/xacc-y2k.sgml: wrap content in sect1
3991
* doc/sgml/C/xacc-stock-price-report.sgml: remove section title.
3993
* doc/sgml/C/xacc-txf-export.sgml: wrap content in sect1.
3995
* doc/sgml/C/xacc-txf-export-anomalies.sgml: wrap content in
3998
* doc/sgml/C/xacc-txf-categories.sgml: wrap content in sect1.
4000
* doc/sgml/C/xacc-trans-report.sgml: wrap content in sect1.
4002
* doc/sgml/C/xacc-tax-report.sgml: wrap content in sect1.
4004
* doc/sgml/C/xacc-reports.sgml: remove sectionness of first section.
4006
* doc/sgml/C/xacc-regwin-kbd.sgml: wrap content in sect1.
4008
* doc/sgml/C/xacc-regwin.sgml: remove sectionness of first
4011
* doc/sgml/C/xacc-quickstart.sgml: remove sect1. promote sect2's
4014
* doc/sgml/C/xacc-qif-import.sgml: remove sect1. promote sect2's
4017
* doc/sgml/C/xacc-print-check.sgml: remove sect1. promote sect2's
4020
* doc/sgml/C/xacc-portfolio-report.sgml: remove section title.
4022
* doc/sgml/C/xacc-pnl.sgml: wrap content in sect1.
4024
* doc/sgml/C/xacc-net-worth-barchart.sgml: remove section title.
4026
* doc/sgml/C/xacc-multicolumn-view-reports.sgml: remove section
4029
* doc/sgml/C/xacc-mainwin.sgml: wrap content in sect1.
4031
* doc/sgml/C/xacc-locatingtxns.sgml: remove sect1. promote sect2's
4034
* doc/sgml/C/xacc-income-expense-piecharts.sgml: remove section
4037
* doc/sgml/C/xacc-income-expense-barcharts.sgml: remove section
4040
* doc/sgml/C/xacc-gnucash-web-browser.sgml: remove section title.
4042
* doc/sgml/C/xacc-gnome-mdi.sgml: remove first section's
4045
* doc/sgml/C/xacc-dateinput.sgml: remove section title.
4047
* doc/sgml/C/xacc-euro.sgml: remove top level sect1 and promote
4048
all sect2's to sect1's.
4050
* doc/sgml/C/xacc-currencyhandling.sgml (LINKEND): remove first
4053
* doc/sgml/C/xacc-common-report-options.sgml: remove section
4056
* doc/sgml/C/xacc-commodity.sgml: insert section around
4059
* doc/sgml/C/xacc-balancesheet.sgml: remove section title.
4061
* doc/sgml/C/xacc-balancereport.sgml: insert section around
4064
* doc/sgml/C/xacc-depreciation.sgml: remove sectionness of first
4065
bit. leave para's as top level.
4067
* doc/sgml/C/xacc-apar.sgml: remove sectionness of first bit.
4068
leave para's as top level.
4070
* doc/sgml/C/xacc-adjbalwin.sgml: remove section title.
4072
* doc/sgml/C/xacc-newacctwin.sgml: remove section title.
4074
* doc/sgml/C/xacc-asset-liability-piecharts.sgml: remove section
4077
* doc/sgml/C/xacc-asset-liability-barcharts.sgml: remove section
4080
* doc/sgml/C/xacc-accountedit.sgml: Remove title for section so
4081
"Editing an Account" doesn't appear twice.
4083
* doc/sgml/C/xacc-acctypes.sgml: Remove title for section so
4084
"Account Types" doesn't appear twice.
4086
2001-06-05 Dave Peticolas <dave@krondo.com>
4088
* src/gnome/druid-commodity.c: use new func
4090
* src/gnome/new-user-funs.c: use new func
4092
* src/gnome/druid-qif-import.c: use new func
4094
* src/gnome/druid-utils.c (gnc_druid_set_colors): new func
4096
* doc/sgml/C/xacc-about.sgml: update credits
4098
* AUTHORS: update credits
4100
2001-06-04 Dave Peticolas <dave@krondo.com>
4102
* src/gnome/new-user.glade: tweak gui. fix strings.
4104
* src/gnome/window-main.c: fix mem leak
4106
* doc/sgml/C/xacc-about.sgml: update credits
4108
* AUTHORS: update credits
4110
* lib/srfi/srfi-19.scm: fix bug.
4112
2001-06-04 Rob Browning <rlb@cs.utexas.edu>
4114
* lib/srfi/srfi-19.scm: updated to include guile-core bug fixes.
4115
Removed syncase dependency.
4116
(priv:open-input-string): removed -- check for open-input-string
4117
and define that if not found.
4118
(:optional): removed - just as easy to handle by-hand -- all funcs
4119
that called :optional have been adjusted.
4120
(priv:read-tai-utc-data): remove priv: from open-input-string.
4121
(string->date): remove priv: from open-input-string.
4122
(date): change constructor name to make-date.
4123
(priv:decode-julian-day-number): add inexact->exact after
4125
(time-utc->date): add inexact->exact and int-secs.
4126
(priv:locale-reader): use reverse! on result rather than reverse.
4128
* src/scm/Makefile.am (gnc_regular_scm_files): remove process.scm.
4129
(gncscmmoddir): new directory for gnucash guile modules --
4130
i.e. for files available via (use-modules (gnucash foo)).
4131
(gncscmmod_DATA): first gnucash guile module (gnucash process).
4133
* src/scm/price-quotes.scm: use (gnucash process) module.
4135
* src/scm/process.scm: now a guile module (gnucash process).
4136
(gnc:cleanup-sub-process): fix several missing waitpid pid args.
4138
2001-06-04 James LewisMoss <jimdres@mindspring.com>
4140
* src/test/test-xml-commodity.c (node_and_commodity_equal): use
4141
string_to_gint64 rather than string_to_integer.
4143
* src/engine/sixtp-utils.c: (string_to_gint64) return FALSE if the
4146
* src/engine/gnc-commodity-xml-v2.c (set_commodity_value): use
4147
string_to_gint64 rather than string_to_integer.
4149
* src/engine/io-gncxml-v2.c (gnc_counter_end_handler): use
4150
string_to_gint64 rather than string_to_integer.
4152
* src/engine/sixtp-dom-parsers.c (string_to_integer): remove
4153
func. duplicates string_to_gint64
4155
2001-06-04 Dave Peticolas <dave@krondo.com>
4157
* src/SplitLedger.c: fix spelling errors
4159
* src/register/gnome/gnucash-item-edit.c: same as below
4161
* src/register/gnome/gnucash-sheet.c: check change confirmation
4162
before popping up combo list.
4164
* src/register/table-allgui.c (gnc_table_confirm_change): new func
4166
2001-06-03 Christian Stimming <stimming@tuhh.de>
4168
* po/de.po: Massive update of the German translation according to
4169
the finalized glossary. Should be ready for 1.6 by now, pending a
4170
spell check by other translators.
4172
* po/gnc-glossary.txt: Four more entries added, that's it for now.
4174
2001-06-02 Dave Peticolas <dave@krondo.com>
4176
* src/gnome/top-level.c (gnc_ui_start_event_loop): remove
4179
* src/scm/report/register.scm: fix bugs
4181
* src/scm/html-utilities.scm: fix bugs
4183
* src/gnome/window-register.c: fix bugs
4185
* src/scm/report/price-scatter.scm: same as below
4187
* src/scm/prefs.scm: same as below
4189
* src/gnc-ui-util.c: same as below
4191
* src/gnome/druid-qif-import.c: same as below
4193
* src/gnome/dialog-price-editor.c: same as below
4195
* src/gnome/dialog-fincalc.c: same as below
4197
* src/SplitLedger.c: use gnc_default_currency instead
4198
of gnc_locale_default_currency.
4200
* src/scm/options-utilities.scm: use new func
4202
* src/scm/report/transaction-report.scm: handle splits with no
4205
* src/gnome/dialog-account.c: use new func
4207
* src/gnome/window-main-summarybar.c: use new func
4209
* src/guile/gnc.gwp: wrap new func below
4211
* src/guile/global-options.c (gnc_default_currency): new func
4212
to return user-set default currency
4214
* src/engine/gnc-book.c (gnc_book_backup_file): use g_free
4217
2001-06-02 Christian Stimming <stimming@tuhh.de>
4219
* po/gnc-glossary.txt: Updated glossary, 15 new terms, and lots of
4220
explanations. Feedback welcome.
4222
2001-06-02 Dave Peticolas <dave@krondo.com>
4224
* src/register/gnome/gnucash-date-picker.c (gnc_date_picker_new):
4227
* src/SplitLedger.c: fix mem leak
4229
* src/gnome/top-level.c: handle X errors ourselves
4231
2001-06-01 Dave Peticolas <dave@krondo.com>
4233
* src/gnc-ui-util.c: use new scanf macro below
4235
* src/engine/sixtp-dom-parsers.c (string_to_integer): use new
4238
* src/engine/sixtp-utils.c: use new scanf macro below
4240
* src/engine/gnc-numeric.c: use new scanf macro below
4242
* src/engine/gnc-engine-util.h: define GNC_SCANF_LLD macro to use
4243
for scanf long long int conversion. This is needed since there is
4244
not a common solution between Linux, Solaris, and FreeBSD. Thanks
4245
to Matthew Condell for finding the problem and to Matt and Alan
4246
Orndorff for testing it.
4248
* configure.in: invoke conversion test below
4250
* acinclude.m4: add test for %lld scanf conversion
4252
* README: update info
4254
2001-06-01 Robert Graham Merkel <rgmerk@mira.net>
4256
* src/scm/commodity-utilities.scm: exchange functions
4257
now return unchanged quantity if the two currencies are
4260
2001-06-01 Dave Peticolas <dave@krondo.com>
4262
* src/doc/design/engine.texinfo: document commodity table API
4264
* src/doc/design/gnucash-design.texinfo: update docs
4266
2001-05-31 Dave Peticolas <dave@krondo.com>
4268
* src/engine/sixtp-dom-parsers.c (string_to_binary): fix sanity
4270
(dom_tree_to_gnc_numeric): fix mem leak
4272
* src/test/test-dom-converters1.c (test_dom_tree_to_gnc_numeric):
4275
* src/engine/sixtp-utils.c (string_to_gint32): use intermediate
4276
variable in case int != gint32.
4278
* src/test/test-dom-converters1.c: fix spelling
4280
* src/engine/sixtp-dom-generators.c (int_to_dom_tree): cast
4281
gint64 to long long int for %lld.
4283
2001-05-31 James LewisMoss <jimdres@mindspring.com>
4285
* src/scm/tip-of-the-day.scm ((gnc:current-tip-number)): reset
4286
number if greater. tips read before config file so this number
4287
gets reset by config file too high.
4289
2001-05-31 Dave Peticolas <dave@krondo.com>
4291
* src/doc/design/gnucash-design.texinfo: update docs
4293
* src/doc/design/engine.texinfo: document commodities & their API
4295
* doc/sgml/C/xacc-price-editor.sgml: fix warnings
4297
2001-05-31 Robert Graham Merkel <rgmerk@mira.net>
4299
* doc/sgml/C/xacc-ticker.sgml: renamed xacc-price-sources.sgml
4300
in preparation for rewriting - some material to be excised.
4302
* doc/sgml/C/xacc-price-editor.sgml: new file.
4304
* doc/sgml/C/gnucash.sgml: updated for new/changed file names.
4306
* doc/sgml/C/*.sgml: change xacc-ticker references to
4307
xacc-price-sources, or remove them entirely.
4309
2001-05-30 Dave Peticolas <dave@krondo.com>
4311
* src/test/Makefile.am: add missing link lib
4313
* src/engine/sixtp.c: include sys/types.h for ssize_t under
4316
* src/engine/sixtp-utils.c (timespec_secs_to_given_string): use
4319
* src/engine/date.c (gnc_timezone): new func
4320
(gnc_iso8601_to_timespec): use gnc_timezone
4321
(gnc_timespec_to_iso8601_buff): use gnc_timezone
4323
2001-05-29 Dave Peticolas <dave@krondo.com>
4325
* configure.in: call new macro below
4327
* acinclude.m4: add macro to check for tm_gmtoff struct tm member
4329
* src/engine/date.c: handle all uses of nl_langinfo.
4331
2001-05-30 Robert Graham Merkel <rgmerk@mira.net>
4333
* src/engine/date.c (printDate): Workaround for
4334
missing nl_langinfo.
4336
* src/engine/Query.c: moved sys/types.h before
4339
* acinclude.m4 (HAVE_LANGINFO_D_FMT): add check
4340
for working nl_langinfo(D_FMT).
4342
* configure.in: use check for nl_langinfo(D_FMT).
4344
2001-05-29 Robert Graham Merkel <rgmerk@mira.net>
4346
* src/gnome/dialog-options.{ch} (gnc_options_dialog_new):
4347
provide the ability to (optionally) set a title for
4348
the options dialog box. API changed.
4350
* src/gnome/dialog-column-view.c, dialog-style-sheet.c,
4351
window-acct-tree.c :modify to use changed API.
4353
* src/gnome/window-report.c: use new API to title report
4356
2001-05-28 Dave Peticolas <dave@krondo.com>
4358
* doc/sgml/pt_PT/*: add Duarte Loreto's updated translations
4360
* src/engine/gnc-pricedb.c (compare_prices_by_date): stabilize
4363
* src/engine/gnc-pricedb-xml-v1.c (price_parse_xml_sub_node): fix
4366
2001-05-27 Christian Stimming <stimming@tuhh.de>
4368
* src/scm/tip-list.scm: edited some tips after consultation with
4369
Robert Graham Merkel.
4371
* po/sv.po: by Pablo Saratxaga <pablo@mandrakesoft.com>: changed
4372
DOS end of lines to Unix end of lines.
4374
2001-05-26 Dave Peticolas <dave@krondo.com>
4376
* src/gnome/dialog-fincalc.c: Kevin Foss's bug fix
4378
* src/engine/sql/kvp-sql.h: add /* */ around #endif comment
4380
* src/gnc-component-manager.c (gnc_cm_event_handler): ignore
4383
2001-05-26 James LewisMoss <jimdres@mindspring.com>
4385
* src/gnome/new-user-funs.c (gnc_new_user_dialog_is_new_user): new
4386
func to test is new user.
4387
(gnc_ui_show_new_user_window): add arg for new user or not.
4388
(gnc_ui_show_new_user_choice_window): call
4389
gnc_ui_show_new_user_window with one argument saying it is a new
4392
* src/gnome/new-user-callbacks.c (cancel_everything_out): new func
4393
extracting out shared functionality.
4394
(on_accountChooseDruidPage_cancel): add check to only pop up
4395
cancel dialog for new user stuff.
4397
* src/FileDialog.c (gncFileNew): call gnc_ui_show_new_user_window
4398
with one argument saying it isn't new user call.
4400
* src/gnome/new-user-callbacks.c
4401
(on_newAccountTypesList_select_row): deal with change in the text
4402
setting to a label rather than a gtktext.
4403
(on_newAccountTypesList_unselect_row): same.
4405
* Makefile.am (TAGS): ignore debian dir.
4407
2001-05-26 Dave Peticolas <dave@krondo.com>
4409
* src/gnome/window-acct-tree.c: fix label alignment
4411
* src/gnome/window-report.c: fix label alignment
4413
* src/gnome/window-main.c: put child menu after tools menu
4415
2001-05-25 Dave Peticolas <dave@krondo.com>
4417
* src/gnome/dialog-column-view.c (gnc_column_view_edit_size_cb):
4420
* src/scm/report/transaction-report.scm: default to sign-reverse
4421
credit accounts. fix i18n bug.
4423
* src/doc/design/engine.texinfo: update docs
4425
* configure.in: add Norwegian to list of translations
4427
* AUTHORS: add credits
4429
* doc/sgml/C/xacc-about.sgml: add credits
4431
2001-05-25 Christian Stimming <stimming@tuhh.de>
4433
* po/no.po: Kjartan Maraas' Norwegian updated translation.
4435
* src/gnome/gnc-html-guppi.c (gnc_has_guppi_version): generalized
4436
this function for arbitrary Guppi versions. Tried to enable
4437
barchart axis-labels for CVS Guppi but this gives nothing but
4440
2001-05-25 Dave Peticolas <dave@krondo.com>
4442
* src/scm/report/account-summary.scm: fix bug
4444
* src/gnome/window-main.c: add close window button to toolbar
4446
* doc/sgml/C/xacc-about.sgml: fix warnings
4448
* doc/sgml/C/xacc-quickstart.sgml: fix warnings
4450
2001-05-24 Dave Peticolas <dave@krondo.com>
4452
* doc/sgml/C/xacc-features.sgml: fix docs
4454
* doc/sgml/C/xacc-account-summary.sgml: fix spelling
4456
* src/gnome/new-user-funs.c (gnc_ui_show_new_user_choice_window):
4457
jump to new user quickstart help when appropriate
4459
* src/gnc-ui.h: add new help file
4461
2001-05-25 Robert Graham Merkel <rgmerk@mira.net>
4463
* src/scm/report/average-balance.scm: catch all-zero-data
4464
case, display warning message rather than let the graphing
4467
* src/scm/html-utilities.scm: display report title
4468
string in gnc:html-no-account-warning and
4469
gnc:html-make-empty-data-warning. API changed.
4471
* src/scm/report/*.scm: update to use changed
4472
functions described above.
4474
* src/scm/tip-list.scm: fix spelling mistake.
4476
2001-05-24 Christian Stimming <stimming@tuhh.de>
4478
* po/gnc-glossary.txt: added file for all our translators.
4480
* src/scm/report/average-balance.scm: made strings more
4483
* src/scm/options-utilities.scm: adjusted the upper bound for plot
4486
* src/gnome/dialog-column-view.c: use menu-name in report-list.
4488
* src/scm/report.scm (gnc:report-menu-name),
4489
(gnc:report-template-menu-name/name): added functions.
4491
2001-05-24 Robert Graham Merkel <rgmerk@mira.net>
4493
* doc/sgml/C/gnucash.sgml: add references to new files.
4495
* doc/sgml/C/xacc-quickstart.sgml: New file, new user
4498
* doc/sgml/C/xacc-features.sgml: New file, describing
4499
the features of GnuCash.
4501
* doc/sgml/C/Makefile.am: update for new files.
4503
* lib/srfi/srfi-19.scm: revert to older version.
4505
* src/scm/tip-list.scm: more tips.
4507
2001-05-23 Christian Stimming <stimming@tuhh.de>
4509
* po/pt_PT.po: Duarte Loreto's updated translation.
4511
* src/scm/prefs.scm, options-utilities.scm: fix string.
4513
2001-05-23 Rob Browning <rlb@cs.utexas.edu>
4515
* configure.in (AC_OUTPUT): remove src/scm/srfi/Makefile (again?).
4517
* src/scm/report/transaction-report.scm: add use-modules
4520
* lib/srfi/srfi-19.scm: update to new guile-core version. (Grab
4523
2001-05-23 Dave Peticolas <dave@krondo.com>
4525
* src/doc/design/gnucash-design.texinfo: update docs
4527
* src/doc/design/engine.texinfo: update docs
4529
* src/gnome/window-reconcile.c (startRecnWindow): fix bug
4531
* src/scm/bootstrap.scm.in: fix test for slib
4533
2001-05-22 Christian Stimming <stimming@tuhh.de>
4535
* src/register/splitreg.c (configAction): fix comments for i18n.
4537
2001-05-22 Dave Peticolas <dave@krondo.com>
4539
* src/gnome/druid-qif-import.c: fix scrollbar bug. raise qif
4542
2001-05-21 Dave Peticolas <dave@krondo.com>
4544
* src/gnome/window-main.c: remove cruft
4546
* src/gnome/new-user-callbacks.c: use gncp_new_user_finish
4548
* src/gnome/new-user-funs.c: finish new user choices dialog.
4549
(gncp_new_user_finish): new func
4551
* src/scm/main.scm: use new 'new user' call
4553
* src/guile/gnc.gwp: change new user api
4555
* src/guile/gnucash.h: change new user api
4557
* doc/sgml/C/xacc-balancesheet.sgml: fix warning
4559
2001-05-20 Dave Peticolas <dave@krondo.com>
4561
* src/gnome/new-user-funs.h: add api & glade work for new
4562
user choices dialog.
4564
2001-05-21 Robert Graham Merkel <rgmerk@mira.net>
4566
* doc/sgml/C/xacc-whats-new.sgml: New file.
4568
* doc/sgml/C/xacc-multicolumn-view-reports.sgml: preliminary
4571
* doc/sgml/C/xacc-report.sgml, xacc-balancesheet.sgml,
4572
xacc-asset-liability-piecharts.sgml : more updates.
4574
* src/scm/tip-list.scm: more tips.
4576
2001-05-19 Dave Peticolas <dave@krondo.com>
4578
* src/engine/sixtp.c (gnc_is_our_xml_file): fix mem leak
4580
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): fix
4583
* src/gnome/window-acct-tree.c: fix mem leak
4585
* src/doc/design/engine.texinfo: update docs
4587
* src/gnome/window-acct-tree.c: fix mem leaks
4589
* src/engine/io-gncxml-v2.c (gnc_counter_end_handler): fix mem
4592
* src/engine/gnc-account-xml-v2.c (account_parent_handler): fix
4595
* src/engine/Group.c (xaccFreeAccountGroup): set parent's child
4597
(xaccAccountRemoveGroup): set parent's child pointer to NULL
4599
* src/engine/sixtp-dom-parsers.c (dom_tree_to_integer): fix mem
4602
2001-05-18 James LewisMoss <jimdres@mindspring.com>
4604
* src/FileDialog.c (gncFileNew): create new user dialog on new
4607
2001-05-18 Dave Peticolas <dave@krondo.com>
4609
* src/engine/io-gncxml-w.c: remove
4611
* src/engine/Group.h: fix prototype
4613
* src/doc/design/engine.texinfo: update docs
4615
* src/gnome/dialog-price-editor.c: add button to remove
4616
prices before a user-entered date.
4618
* src/gnome/file-history.c: fix for menu changes
4620
* src/scm/report.scm: move reports menu to top-level
4622
2001-05-17 James LewisMoss <jimdres@mindspring.com>
4624
* src/engine/Makefile.am (libgncengine_la_SOURCES): remove
4627
2001-05-17 Dave Peticolas <dave@krondo.com>
4629
* src/doc/design/engine.texinfo: update docs
4631
* src/engine/Account.c (xaccAccountRecomputeBalance): include
4632
frozen splits in reconciled balance. Fix variable names.
4634
* accounts/C/*: tweak detailed descriptions
4636
* doc/sgml/C/xacc-reports.sgml: fix warnings
4638
* doc/sgml/C/xacc-net-worth-barchart.sgml: fix warnings
4640
* doc/sgml/C/xacc-gnucash-web-browser.sgml: fix warnings
4642
* doc/sgml/C/xacc-gnome-mdi.sgml: fix warnings
4644
* doc/sgml/C/xacc-common-report-options.sgml: fix warnings
4646
* doc/sgml/C/Makefile.am: add new file to Makefile.am
4648
* src/doc/design/gnucash-design.texinfo: update docs
4650
* src/doc/design/engine.texinfo: update docs
4652
* src/engine/Account.c: same as below
4654
* src/engine/Account.h: use GNCAccountType instead of 'int'
4656
2001-05-17 Robert Graham Merkel <rgmerk@mira.net>
4658
* doc/sgml/C/xacc-gnucash-web-browser.sgml: New file.
4660
* doc/sgml/C/Makefile.am: add new file.
4662
* doc/sgml/C/gnucash.sgml, xacc-gnome-mdi.sgml,
4663
xacc-asset-liability-piecharts.sgml: more updated/new content.
4665
* ChangeLog: fix wrong path in (my) previous changelog
4668
2001-05-16 Dave Peticolas <dave@krondo.com>
4670
* src/doc/design/gnucash-design.texinfo: update docs
4672
* src/doc/design/engine.texinfo: update docs
4674
* src/engine/Account.c (xaccCloneAccountSimple): remove
4675
redundant initialization
4676
(xaccAccountGetSlots): handle NULL
4678
* src/engine/Account.h: fix docs
4680
* src/engine/AccountP.h: fix spelling errors in comments
4682
2001-05-16 Robert Graham Merkel <rgmerk@mira.net>
4684
* src/scm/html-utilities.scm ((gnc:html-make-empty-data-warning)):
4687
* doc/sgml/C/{gnucash.sgml, xacc-account-summary.sgml,
4688
xacc-asset-liability-barcharts.sgml, xacc-reports.sgml}: more new
4691
* src/scm/xacc-stock-price-report.sgml: new file.
4693
2001-05-15 Christian Stimming <stimming@tuhh.de>
4695
* src/scm/commodity-utilities.scm: added another case to
4696
gnc:case-exchange-time-fn. Needs more work.
4697
(gnc:exchange-by-euro): new function. Added this function to all
4698
other exchange function so that exchange of EURO currencies works
4699
auto-magically in some more places. Doesn't work often enough,
4702
* src/scm/report/price-scatter.scm: Catch all cases that would
4703
cause Guppi's scatterplot to barf.
4705
2001-05-15 Rob Browning <rlb@cs.utexas.edu>
4707
* doc/sgml/C/Makefile.am (GNUCASH_SGML_FILES): remove entries
4708
listing missing files -- build was broken.
4710
* src/scm/report/transaction-report.scm (addto!): make a
4711
let-syntax since you apparently can't define-syntax before other
4712
defines in a nested let.
4714
* src/scm/report/register.scm (addto!): make a let-syntax since
4715
you apparently can't define-syntax before other defines in a
4718
* src/scm/gnumeric/gnumeric-utilities.scm: use srfis as modules.
4720
* src/scm/srfi/: moved to lib/srfi.
4722
* src/scm/srfi/.cvsignore: moved to lib/srfi.
4724
* src/scm/srfi/Makefile.am: moved to lib/srfi.
4726
* src/scm/srfi/README: moved to lib/srfi.
4728
* src/scm/srfi/srfi-1.r5rs.scm: merged to lib/srfi/srfi-1.scm.
4730
* src/scm/srfi/srfi-1.unclear.scm: merged to lib/srfi/srfi-1.scm.
4732
* src/scm/srfi/srfi-19.scm: moved to lib/srfi.
4734
* src/scm/srfi/srfi-8.guile.scm: merged to lib/srfi/srfi-8.scm.
4736
* src/scm/srfi/srfi-8.scm: merged to lib/srfi/srfi-8.scm.
4738
* src/scm/utilities.scm (flatten): improved via grib's version.
4740
* src/scm/text-export.scm: use srfis as modules.
4742
* src/scm/main.scm: use srfis as modules.
4744
* src/scm/date-utilities.scm: use srfi-19 as a module.
4746
* src/scm/Makefile.am (SUBDIRS): remove srfi.
4748
* src/gnome/window-main.c
4749
(gnc_main_window_restore): fix prototype (const-wise).
4751
* src/gnome/window-main.h
4752
(gnc_main_window_restore): fix prototype (const-wise).
4754
* Makefile.am (TAGS): add a msg to suggest --enable-tags.
4756
* lib/Makefile.am (SUBDIRS): add srfi.
4758
* configure.in: add lib/srfi/Makefile to AC_OUTPUT.
4760
* lib/srfi/srfi-2.scm: new file.
4762
* lib/srfi/srfi-9.scm: new file.
4764
* lib/srfi/srfi-11.scm: new file.
4766
* lib/srfi/srfi-8.scm: moved from src/scm/srfi/.
4768
* lib/srfi/srfi-19.scm: moved from src/scm/srfi.
4770
* lib/srfi/README: moved from src/scm/srfi/.
4772
* lib/srfi/srfi-1.scm: moved from src/scm/srfi/.
4774
2001-05-15 James LewisMoss <jimdres@mindspring.com>
4776
* src/test/test-xml-account.c (node_and_account_equal): add equals
4777
tests for currency and security scu.
4779
* src/test/gnc-test-stuff.c (equals_node_val_vs_int): new func.
4781
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler):
4782
reorder some things: cleanup.
4784
* src/test/test-xml-account.c (node_and_account_equal): return
4785
strduped strings now.
4786
(test_account): make sure to free string.
4787
(test_real_account): free string.
4789
* src/engine/gnc-account-xml-v2.c (gnc_account_dom_tree_create):
4792
* src/engine/gnc-commodity-xml-v2.c
4793
(gnc_commodity_dom_tree_create): use new func.
4795
* src/engine/sixtp-dom-generators.c (int_to_dom_tree):new func.
4797
2001-05-14 James LewisMoss <jimdres@mindspring.com>
4799
* src/engine/gnc-account-xml-v2.c (gnc_account_dom_tree_create):
4800
add currency and security scus.
4801
(account_currency_scu_handler): new func.
4802
(account_security_scu_handler): new func.
4803
Add refs to new funcs to parsing structure.
4805
2001-05-15 Robert Graham Merkel <rgmerk@mira.net>
4807
* doc/sgml/C/xacc-reports.sgml, xacc-about.sgml,
4808
xacc-dateinput.sgml, xacc-account-summary.sgml,
4809
xacc-balancesheet.sgml, xacc-common-report-options.sgml
4810
xacc-mainwin.sgml: update documentation for new features.
4812
* doc/sgml/C/xacc-asset-liability-barcharts.sgml: new file.
4813
Placeholder at this stage.
4815
* doc/sgml/C/xacc-asset-liability-piecharts.sgml, xacc-gnome-mdi.sgml,
4816
xacc-income-expense-barcharts.sgml, xacc-income-expense-piecharts.sgml,
4817
xacc-multicolumn-view-reports.sgml: ditto.
4819
2001-05-15 Dave Peticolas <dave@krondo.com>
4821
* src/doc/design/engine.texinfo: update docs
4823
2001-05-15 Christian Stimming <stimming@tuhh.de>
4825
* src/scm/commodity-utilities.scm, report/portfolio.scm: major
4826
code cleanup. (gnc:pricealist-lookup-nearest-in-time) code moved
4827
from report/portfolio.scm to commodity-utilities.scm.
4829
2001-05-14 Christian Stimming <stimming@tuhh.de>
4831
* src/scm/report/category-barchart.scm: fix bug.
4833
2001-05-14 Dave Peticolas <dave@krondo.com>
4835
* src/gnome/druid-qif-import.c: fix bug
4837
* src/engine/Account.c (xaccAccountGetChildren): fix bug
4839
* src/engine/sixtp-dom-generators.c (add_kvp_value_node): use
4842
* src/scm/report/register.scm: reverse balance where appropriate.
4843
put total in proper column.
4845
* src/scm/report/price-scatter.scm: use a commodity option
4846
so stocks/mutuals can be selected.
4848
* src/engine/gnc-book.c (gnc_book_begin_file): check for missing
4851
* src/gnome/file-history.c (gnc_history_add_file): fix bug
4853
2001-05-13 Kevin Finn <kevinfinn@mediaone.net>
4855
* src/gnome/window-register.c: flag summarybar as NEVER_VERTICAL
4857
2001-05-13 Christian Stimming <stimming@tuhh.de>
4859
* src/scm/report/portfolio.scm: Added price-source option. Added
4860
code to use prices from transactions.
4862
* src/scm/commodity-utilities.scm: fix warnings.
4864
2001-05-13 Dave Peticolas <dave@krondo.com>
4866
* src/FileDialog.c (gncPostFileOpen): fix bug -- current_book
4867
might be changed by book-opened-hook.
4869
* src/scm/tip-list.scm: fix tip
4871
* src/engine/Account.c (finder_help_function): fix warning
4873
2001-05-13 Kevin Finn <kevinfinn@mediaone.net>
4875
* src/SplitLedger.c, src/engine/Account.c, src/engine/Account.h:
4876
moved function gnc_find_trans_in_account_by_desc from SR to become
4877
new functions xaccAccountFindTransByDesc and
4878
xaccAccountFindSplitByDesc so they could be used outside of the
4881
* src/gnome/dialog-transfer.c: Added quickfill/autocomplete
4882
functionality to the transfer dialog, based on the Description.
4884
2001-05-13 Dave Peticolas <dave@krondo.com>
4886
* src/gnome/window-main.c: write commodities with accounts
4888
* src/engine/io-gncxml-v2.c (write_commodities): make public
4890
* src/gnome/new-user.glade: tweak gui
4892
* src/gnome/window-main.c: the "destroy" handler does not
4893
return a result. add menu item & functionality for account
4896
* src/scm/report/welcome-to-gnucash.scm: take out the ugly :)
4898
2001-05-12 Christian Stimming <stimming@tuhh.de>
4900
* src/scm/report/category-barchart.scm, net-barchart.scm,
4901
average-balance.scm: Added price-source option. Uses new function
4902
gnc:make-exchange-nearest-function to offer time-varying exchange
4905
* src/scm/report-utilities.scm
4906
(gnc:acccounts-get-all-subaccounts): added.
4908
* src/scm/commodity-utilities.scm
4909
(gnc:make-exchange-nearest-function): Added this and many more
4910
functions to enable time-variant currency exchange.
4912
* src/scm/report/price-scatter.scm: Add warnings if data is empty.
4914
2001-05-12 Bill Gribble <grib@billgribble.com>
4916
* src/gnome/dialog-options.c: fix destructor bug
4918
* src/gnome/window-report.c: add options dialog to edited list
4919
even if opened by a URL click.
4921
* src/gnome/window-main.c: handle close of last window safely.
4922
Still don't save MDI info correctly with WM close, though.
4924
2001-05-12 Dave Peticolas <dave@krondo.com>
4926
* src/FileDialog.c (gncFileSaveAs): don't use a default filename
4928
* src/scm/report/hello-world.scm: put under utility menu
4930
* src/scm/report/welcome-to-gnucash.scm: don't show in menu
4932
* src/scm/report/iframe-url.scm: put under utility menu
4934
* src/scm/report.scm: add 'utility reports' menu
4936
* src/gnome/new-user-funs.c: add support for opening balances
4938
* src/gnome/gnc-amount-edit.c (gnc_amount_edit_evaluate): allow
4939
empty string as zero
4941
* src/gnome/new-user-callbacks.c: add support for opening balances
4943
* src/gnome/dialog-account.c (gnc_account_list_fill): fix warning
4944
(gnc_account_window_destroy_cb): destroy callback has no return
4945
(gnc_ui_to_account): reverse opening balance appropriately
4947
* src/engine/Account.c: change return type to const
4949
2001-05-12 Christian Stimming <stimming@tuhh.de>
4951
* src/scm/report/pnl.scm, account-piecharts.scm,
4952
account-summary.scm: Added price-source option. Use new function
4953
gnc:case-exchange-fn.
4955
* src/scm/date-utilities.scm (gnc:get-end-cur-fin-year): added
4958
* src/scm/options-utilities.scm (gnc:options-add-date-interval!):
4959
changed the order of relative dates - which order is best?
4961
* src/scm/report/balance-sheet.scm: use new function
4962
gnc:case-exchange-fn.
4964
* src/scm/commodity-utilities.scm (gnc:case-exchange-fn): add
4967
* src/scm/report/price-scatter.scm: adapted helper function name
4970
* src/scm/report/price-scatter.scm: Extended option to use the
4971
pricedb as a price source.
4973
* src/scm/commodity-utilities.scm: Added functions for getting
4974
sorted commodity splits, for total-average-prices of a
4975
commodity-list, for instantaneous prices, for instantaneous prices
4976
of a commodity-list, and for cooking your morning coffee :)
4978
* src/scm/report-utilites.scm, html-utilities.scm: create new
4979
function (gnc:accounts-get-commodities), use it in
4982
* src/scm/html-scatter.scm: add workaround for rgba color.
4984
2001-05-12 Robert Graham Merkel <rgmerk@mira.net>
4986
* src/scm/main-window.scm: create .gnucash if it doesn't exist
4987
when saving a book config file.
4989
2001-05-11 Dave Peticolas <dave@krondo.com>
4991
* src/engine/Account.c (xaccCloneAccountSimple): use
4992
xaccAccountSetCurrency -- it does more than just set the pointer!
4994
* src/gnome/new-user-funs.c (clone_account): don't use engine
4997
* src/engine/io-example-account.c (add_account_local): fix up
4998
currency & security for new example accounts
5000
* src/engine/io-utils.c: add emacs mode comment to cancel
5003
* src/gnome/new-user-callbacks.c: fix compiler warning
5005
* src/engine/gnc-book.c (gnc_book_set_group): fix bug
5007
* src/engine/sql/Makefile.am: add files for make dist
5009
2001-05-11 Bill Gribble <grib@billgribble.com>
5011
* src/scm/main-window.scm: force-output when saving param files.
5012
otherwise they don't get written until program exit, which can
5013
cause problems. Add newlines to acct tree output.
5015
2001-05-11 Dave Peticolas <dave@krondo.com>
5017
* src/doc/design/engine.texinfo: update docs
5019
2001-05-11 Robert Graham Merkel <rgmerk@mira.net>
5021
* src/scm/report/account-piecharts.scm: add checks for empty
5024
2001-05-10 Dave Peticolas <dave@krondo.com>
5026
* src/scm/main-window.scm ((gnc:main-window-book-open-handler
5027
book-url)): restore the main window even if we can't get a
5030
* src/scm/main.scm (gnc:load-account-file): if we have a file to
5031
open, only run book-opened-hook if file open returns false.
5033
* src/FileDialog.c (gncPostFileOpen): once book-closed-hook has
5034
been run, run book-opened-hook if opening the file fails for some
5037
* src/guile/gnc.gwp: update ui-open-file api.
5039
* src/gnome/top-level.c (gnucash_ui_open_file): return TRUE/FALSE
5040
for success/failure. use gboolean instead of int for boolean
5043
2001-05-10 Bill Gribble <grib@billgribble.com>
5045
* src/gnome/dialog-column-view.c: change handling of component
5046
reports. now we explicitly handle the case of the column view,
5047
which is the only report that needs to save/restore its children.
5049
* src/gnome/gnc-html-guppi.c: add printing support for graphs.
5050
Doesn't really work on my system ATM. I'll follow up on it.
5052
* src/gnome/window-main.c: move save/restore forms out of gnome
5053
MDI config string. rename some functions.
5055
* src/gnome/window-report.c: save the initial report in a window
5056
for special treatment. It's the one that gets saved and restored,
5057
and whose title appears in the tab.
5059
* src/scm/*: remove instances of report-add-child and friends.
5060
The concept is unnecessary.
5062
* src/scm/main-window.scm: save report and account data to a new
5063
file named after the book in the directory ~/.gnucash/books.
5065
* src/scm/options.scm: run option-changed callbacks in the order
5066
they were added. Add gnc:options-touch to dirty the options
5067
without changing anything.
5069
* src/scm/report.scm: add new optional fields for the
5070
define-report form: 'options-cleanup-cb and 'options-changed-cb.
5071
'options-cleanup-cb is called before book save to allow you to
5072
clean up any mess that you don't want saved. 'options-changed-cb
5073
is called after any report option is changed. Both are optional.
5075
Also get rid of the concept of 'display-lists' for reports and
5076
let the displays update themselves with callbacks. Get rid of
5077
parents and children for the reports.
5079
* src/scm/report/view-column.scm: revamp to handle options
5080
processing, saving, and rendering better.
5082
2001-05-10 James LewisMoss <jimdres@mindspring.com>
5084
* src/scm/main.scm ((gnc:main)): remove the main window startup
5085
with new user startup (moved to end of new user stuff).
5087
* src/engine/sql/PostgresBackend.c (pgendGetAllAccountKVP): same
5090
* src/engine/rpc/RpcUtils.c (rpcend_build_gncacctlist):
5091
xaccGroupForEachAccountDeeply -> xaccGroupForEachAccount(...TRUE)
5092
(rpcend_build_gncacct_verslist): same.
5094
* src/engine/gnc-book.c (gnc_book_set_group): free account group
5095
when setting new one.
5097
* src/engine/Group.c (xaccGroupForEachAccount): change from
5098
xaccGroupForEachAccountDeeply and add argument on whether it
5099
should do things deeply.
5101
* src/engine/Account.c (xaccCloneAccountSimple): new func.
5102
(xaccAccountEnumAsString): change arg to GNCAccountType.
5104
* src/gnc-ui-util.c (gnc_ui_account_get_balance):
5105
xaccGroupForEachAccountDeeply -> xaccGroupForEachAccount(...TRUE)
5107
* src/engine/Account.c (xaccAccountGetChildren): Add children
5108
group if ->children == NULL.
5110
2001-05-10 Dave Peticolas <dave@krondo.com>
5112
* src/guile/File.c (gncFindFile): handle NULL arg
5113
(gncReadFile): use glib mem routines
5115
* src/doc/design/engine.texinfo: update docs
5117
* src/scm/command-line.scm: fix bugs
5119
* src/engine/kvp_frame.c: handle NULL args
5121
2001-05-10 Christian Stimming <stimming@tuhh.de>
5123
* src/scm/report/account-summary.scm, balance-sheet.scm, pnl.scm:
5124
moved foreign currency display option to display tab.
5126
* src/scm/html-utilities.scm
5127
(gnc:html-acct-table-comm-row-helper!): fixed display bug.
5129
* src/engine/gnc-pricedb.c (gnc_pricedb_lookup_nearest_in_time):
5130
Fixed this function so that it works properly now.
5132
* src/scm/commodity-utilities.scm
5133
(gnc:get-match-commodity-splits): fix bug.
5135
2001-05-09 Dave Peticolas <dave@krondo.com>
5137
* src/doc/design/engine.texinfo: update docs
5139
* src/engine/*.[ch]: add GPL headers
5141
2001-05-09 Christian Stimming <stimming@tuhh.de>
5143
* src/scm/report/price-scatter.scm: use the configurable report
5146
2001-05-09 Dave Peticolas <dave@krondo.com>
5148
* src/doc/design/user-preferences.texinfo: update docs
5150
* src/doc/design/reports.texinfo: update docs
5152
* src/doc/design/top-level.texinfo: update docs
5154
* src/doc/design/register.texinfo: update docs
5156
* src/doc/design/component-manager.texinfo: update docs
5158
2001-05-09 Christian Stimming <stimming@tuhh.de>
5160
* src/scm/report/price-scatter.scm: Added new option: get weighted
5161
average prices from the past, not only the instant prices.
5163
* src/scm/commodity-utilities.scm
5164
(gnc:get-commodity-totalaverage-prices): Added
5165
function. Eventually this could be an extension/alternative to
5166
prices from the pricedb.
5168
2001-05-09 Robert Graham Merkel <rgmerk@mira.net>
5170
* src/scm/report/net-barchart.scm: check for empty data
5171
and empty account lists.
5173
* src/scm/report/category-barchart.scm: check for empty
5174
data, print a nice error message.
5176
* src/scm/html-piechart.scm: now produces a warning if an
5177
empty piechart is sent to it.
5179
* src/scm/html-barchart.scm: now checks for and warns
5180
against empty barcharts
5182
2001-05-08 Christian Stimming <stimming@tuhh.de>
5184
* src/scm/options-utilities.scm, src/scm/report/price-scatter.scm:
5185
moved gnc:options-add-marker-choice! from price-scatter.scm to
5186
options-utilities.scm.
5188
2001-05-08 Dave Peticolas <dave@krondo.com>
5190
* src/scm/price-quotes.scm: add currency quote support
5192
* src/gnome/dialog-account.c: add currency quote support
5194
* src/engine/Account.c: allow CURRENCY accounts to have price
5197
* src/quotes/finance-quote-helper.in: add currency quote support
5199
2001-05-07 Christian Stimming <stimming@tuhh.de>
5201
* src/scm/commodity-utilities.scm: Always use the absolute value
5202
when building a weighted average.
5204
2001-05-06 Christian Stimming <stimming@tuhh.de>
5206
* src/scm/report/price-scatter.scm: add options for marker shape
5209
* src/scm/report/transaction-report.scm: fix bug.
5211
2001-05-05 Dave Peticolas <dave@krondo.com>
5213
* src/gnome/window-main.c: fix bugs
5215
2001-05-05 Christian Stimming <stimming@tuhh.de>
5217
* src/scm/report/price-scatter.scm: More experiments with scatter
5218
plots which are working now. Doesn't look too nice though.
5220
* src/scm/commodity-utilities.scm
5221
(gnc:get-match-commodity-splits): new function.
5223
* src/scm/date-utilities.scm (gnc:date->timepair): new
5224
function. Code cleanup.
5226
* src/guile/gnc.gwp: more price handling functions.
5228
2001-05-04 Dave Peticolas <dave@krondo.com>
5230
* src/register/splitreg.c: set action cell to autosize
5232
* src/register/gnome/combocell-gnome.c (xaccComboCellSetAutoSize):
5235
* src/register/gnome/gnucash-item-list.c (gnc_item_list_autosize):
5236
return the clist width
5238
* src/register/gnome/gnucash-item-edit.c (item_edit_show_popup):
5241
* src/scm/main.scm: run the book-opened hook before showing
5242
the new-user window.
5244
* src/guile/Makefile.am: remove references to gnc-autogen.h.
5245
Clean gnc.c and gnc.h.
5247
2001-05-03 Dave Peticolas <dave@krondo.com>
5249
* src/engine/date.c (timespec_normalize): fix bug
5251
* doc/sgml/C/xacc-about.sgml: update credits
5253
* src/gnc-ui-util.h (_GNCPrintAmountInfo): make commodity const
5255
* src/gnome/window-register.c: fix compiler warning
5257
2001-05-04 Robert Graham Merkel <rgmerk@mira.net>
5259
* src/scm/report/transaction-report.scm : Add labels
5262
2001-05-04 Conrad Canterford <conrad@mail.watersprite.com.au>
5264
* make-gnucash-patch.in: add --manifest option (allow use of a
5265
manifest file. Also, change --file option to allow multiple files.
5266
Fix bug in previous change.
5268
* README.patches: Updated to reflect new capabilities.
5270
2001-05-03 Dave Peticolas <dave@krondo.com>
5272
* doc/sgml/*/xacc-hierarchical-report.sgml: remove file
5274
* doc/sgml/pt_PT/xacc-txf-categories.sgml: add missing </article>
5276
* doc/sgml/pt_PT/gnucash.sgml: add missing file
5278
* doc/sgml/es/xacc-txf-categories.sgml: add missing </article>
5280
* doc/sgml/es/gnucash.sgml: add missing file
5282
* doc/sgml/C/xacc-txf-categories.sgml: add missing </article>
5284
* src/engine/DateUtils.c: config.h goes first
5286
* make-gnucash-patch.in: fix bug
5288
* README.cvs: update info
5290
2001-05-03 Christian Stimming <stimming@tuhh.de>
5292
* src/scm/report/account-summary.scm: fix bug.
5294
* src/scm/html-document.scm: added handler for scatter plots.
5296
* src/scm/report/price-scatter.scm: Added file. This eventually
5297
should show prices over time. ATM it demonstrates scatter plots in
5298
a meaningless report.
5300
* src/scm/html-scatter.scm: Added file. Provides scatter plots for
5303
* src/scm/options.scm (gnc:color->hex-string): added function.
5305
2001-05-03 Robert Graham Merkel <rgmerk@mira.net>
5307
* src/scm/report/transaction-report.scm: fix bug with secondary
5310
2001-05-03 Dave Peticolas <dave@krondo.com>
5312
* many files: fix spelling errors
5314
* src/gnome/gnc-html-guppi.c: use unsigned int for color
5316
2001-05-02 Dave Peticolas <dave@krondo.com>
5318
* src/gnome/window-main.c: set the app's mdi mode from user prefs
5320
* README.cvs: add README about cvs write access
5322
* src/scm/report/net-barchart.scm: same as below
5324
* src/scm/report/category-barchart.scm: same as below
5326
* src/scm/report/average-balance.scm: same as below
5328
* src/scm/report/account-piecharts.scm: don't combine liabilities
5331
* src/gnome/dialog-column-view.c: work on gui
5333
* src/gnome/dialog-utils.c (gnc_clist_columns_autosize): new func
5335
2001-05-02 Robert Graham Merkel <rgmerk@mira.net>
5337
* src/scm/report/transaction-report.scm: Fix bug with subheading
5340
2001-05-01 Dave Peticolas <dave@krondo.com>
5342
* src/gnome/dialog-transfer.c: fix bugs
5344
* src/guile/gnucash.c.in: update last stable version
5346
2001-05-01 Conrad Canterford <conrad@mail.watersprite.com.au>
5348
* make-gnucash-patch.in: add --file option to allow single file
5351
* README.patches (new file): Moved patch instructions from README
5352
file into this new file, and added detailed descriptions of all
5353
the options for make-gnucash-patch.
5357
2001-05-01 Dave Peticolas <dave@krondo.com>
5359
* src/scm/report/stylesheet-plain.scm: fix i18n bugs
5361
* src/scm/report/stylesheet-fancy.scm: work on colors,
5364
* src/gnome/dialog-style-sheet.c: fix i18n bugs
5366
* src/gnome/window-acct-tree.c: add popup menu to account tree
5368
* src/gnome/mainwindow-account-tree.c
5369
(gnc_mainwin_account_tree_attach_popup): add user_data argument
5372
* src/gnome/window-register.c: same as below
5374
* src/gnome/window-main.c: same as below
5376
* src/gnome/window-register.c: obey gnome preferences for
5377
menubar & toolbar detachability
5379
2001-05-01 Christian Stimming <stimming@tuhh.de>
5381
* src/scm/report/average-balance.scm: moved from
5382
average-balance-2.scm. Fix bug.
5384
2001-04-30 Dave Peticolas <dave@krondo.com>
5386
* src/scm/report/portfolio.scm: fix bug
5388
* src/scm/price-quotes.scm: handle 'nav' and 'price' types
5390
* src/gnome/dialog-price-editor.c: update for nav price type
5392
* src/quotes/finance-quote-helper.in: try 'nav' and 'price' if
5395
2001-05-01 Robert Graham Merkel <rgmerk@mira.net>
5397
* src/engine/Query.{ch}: added date-granularity sorting functionality
5400
* src/engine/date.[ch] (timespecCanonicalDayTime): new function
5401
migrated from the scheme code.
5403
* src/guile/gnc.gwp: added wrappers for the above.
5405
* src/scm/date-utilities.scm (gnc:timepair-canonical-day-time):
5406
removed, replaced by new C function.
5408
* src/scm/report/*.scm: added checks for "no-accounts-selected".
5410
* src/scm/report/average-balance-2.scm: New (temporary) file.
5411
The average balance report with a rewritten calculation engine.
5413
* src/scm/report/register.scm: Modified to use global styles
5415
* src/scm/report/transaction-report.scm: use improved sorting ability,
5416
get report title from options.
5418
* src/scm/html-utilities.scm (gnc:html-make-no-account-warning): new
5419
function. (remove-last-empty-row): minor changes.
5421
* src/scm/report-utilities.scm: added the ability to get "numitems"
5422
out of a stats collector for debugging purposes.
5424
2001-04-30 Christian Stimming <stimming@tuhh.de>
5426
* src/scm/report/net-worth-timeseries.scm,
5427
income-expense-chart.scm: removed files.
5429
2001-04-29 Dave Peticolas <dave@krondo.com>
5431
* src/gnc-ui-util.c (gnc_locale_default_currency): handle no
5434
* src/gnome/dialog-transfer.c: fix bugs
5436
2001-04-28 Christian Stimming <stimming@tuhh.de>
5438
* src/scm/date-utilities.scm: Fixed a whole lot of bugs in the
5439
relative-date functions (did *nobody* ever test those???). Added
5440
relative dates end-cal-year, end-current-quarter, and
5441
end-this-month. Added comments.
5443
* src/scm/options-utilities.scm: Changed date-options to be combo
5444
options of both relative and absolute dates.
5446
* src/scm/report/portfolio.scm, taxtxf.scm: adapt to usual option
5449
* src/scm/report/account-summary.scm: Fix bug.
5451
2001-04-27 Christian Stimming <stimming@tuhh.de>
5453
* src/scm/report/balance-sheet.scm: Added workaround for gtkhtml
5456
2001-04-27 Dave Peticolas <dave@krondo.com>
5458
* src/SplitLedger.c (xaccSRExpandCurrentTrans): if expanding
5459
a transaction, try to show all of it
5461
* src/register/table-gnome.c (gnc_table_show_range): new func
5463
* src/register/gnome/gnucash-sheet.c (gnucash_sheet_show_range):
5466
2001-04-27 Christian Stimming <stimming@tuhh.de>
5468
* src/scm/report/balance-sheet.scm: Added option to choose the
5469
source of prices. Adapted to changes in html-utilities.
5471
* src/scm/report/pnl.scm: Adapted to changes.
5473
* src/scm/report-utilities.scm (gnc:monetary->string): Fix bug.
5475
* src/scm/html-utilities.scm (gnc:html-make-exchangerates):
5476
Switched to different arguments. Fix bug.
5478
* src/scm/commodity-utilities.scm: fix bug
5480
* src/scm/options-utilities.scm (gnc:options-add-price-source!):
5483
* src/engine/gnc-pricedb.c (gnc_pricedb_lookup_nearest_in_time):
5486
2001-04-26 Christian Stimming <stimming@tuhh.de>
5488
* src/scm/commodity-utilities.scm
5489
(gnc:exchange-by-pricedb-{latest,nearest}): new functions.
5491
2001-04-26 Dave Peticolas <dave@krondo.com>
5493
* src/gnome/window-main.c: handle scm parsing errors
5495
* src/scm/report.scm: fix bug
5497
* src/guile/gfec.c: handle NULLs
5499
2001-04-26 Christian Stimming <stimming@tuhh.de>
5501
* src/scm/report/net-barchart.scm: New file, it is the merger of
5502
income-expense-graph.scm and net-worth-timeseries.scm.
5504
* src/scm/report/*.scm: adapt to changed gnc:make-report-anchor.
5506
* src/scm/html-utilities.scm (gnc:make-report-anchor):
5507
gnc:report-add-child-by-id! is now used inside here. API changed.
5509
2001-04-25 Dave Peticolas <dave@krondo.com>
5511
* src/scm/commodity-utilities.scm: fix fixme
5513
* src/engine/Group.c (xaccGroupGetAccount): remove pokey warning
5515
* src/engine/gnc-transaction-xml-v2.c: read & write split action
5518
* src/gnome/druid-commodity.c: do gncFileNew after gncFileQuit
5520
* src/guile/gnc.gwp: remove pokey functions (not used anymore)
5522
* src/scm/main.scm: fix bug. don't do new user dialog if we
5523
have a file on the command line.
5525
* src/FileDialog.c (gncAddHistory): fix bug. check for NULL.
5527
* src/guile/gnucash.c.in: include string.h
5529
* src/gnome/window-main.c: don't restore state for old format files
5531
2001-04-24 Dave Peticolas <dave@krondo.com>
5533
* src/scm/options.scm: check for deleted accounts in account
5534
list option. fix bug.
5536
* src/scm/report/pnl.scm: filter out non income/expense accounts
5538
* src/scm/report/budget-report.scm: remove
5540
* src/scm/qif-import/qif-to-gnc.scm: remove cruft
5542
* src/engine/Account.c: take out pokey warnings
5544
2001-04-25 Robert Graham Merkel <rgmerk@mira.net>
5546
* src/scm/html-utilities.scm:
5547
(gnc:html-table-append-ruler/markup!) new function. Also modify
5548
(gnc:html-build-acct-table) and other functions to use global row
5551
* src/scm/html-table.scm:(gnc:html-table-prepend-row/markup!) fix
5554
* src/scm/report/balance-sheet.scm: use new global row styles.
5556
* src/scm/report/stylesheet-*.scm: add new global row styles.
5558
* src/scm/report/transaction-report.scm: use new global row styles,
5559
fix bug with memo display. Remove local color options.
5561
2001-04-24 Bill Gribble <grib@billgribble.com>
5563
* src/FileDialog.c: call book-opened-hook and book-closed-hook
5566
* src/gnome/dialog-column-view.c: change to single-parent model
5568
* src/gnome/top-level.c: don't do MID state saving and restoring
5569
here... do it in the book save/load hooks.
5571
* src/gnome/window-main.c: the configstring stored in MDI is now a
5572
Scheme form which restores the window state. save/restore it.
5573
Also, change the MDI session name to encode the book URL
5574
(have to encode it to escape some chars, notably /, which MDI
5575
doesn't like in section names)
5577
* src/scm/main-window.scm: new file. get the main-window
5578
save/restore functions out of prefs.scm
5580
* src/scm/report/scm: only one parent per report; write save
5581
routines to save all parents and children.
5583
2001-04-24 Dave Peticolas <dave@krondo.com>
5585
* src/gnome/window-register.c: add additional warnings when
5586
deleting reconciled splits/transactions
5588
2001-04-24 Christian Stimming <stimming@tuhh.de>
5590
* src/guile/gnc.gwp: g-wrap all the euro-related functions.
5592
2001-04-24 Dave Peticolas <dave@krondo.com>
5594
* src/gnome/dialog-transfer.c: set price for euro currencies
5597
* src/EuroUtils.c (gnc_euro_currency_get_rate): new func
5599
2001-04-23 Dave Peticolas <dave@krondo.com>
5601
* src/gnome/gnc-html-guppi.c: check for new guppi args before
5604
2001-04-23 Christian Stimming <stimming@tuhh.de>
5606
* src/scm/report/transaction-report.scm: Make more sanity
5609
2001-04-23 Dave Peticolas <dave@krondo.com>
5611
* src/engine/Query.c (xaccQueryGetSplitsUniqueTrans): fix bug
5613
* src/engine/Account.c (xaccAccountSetPriceSrc): fix bug
5615
2001-04-23 Kevin Finn <kevinfinn@mediaone.net>
5617
* src/engine/Account.c src/engine/Account.h: added
5618
xaccAccountGetBalanceAsOfDate and
5619
xaccAccountGetShareBalanceAsOfDate, to determine the balance of an
5620
account on a given date.
5622
* src/gnome/window-reconcile.c: added appropriate callbacks so
5623
that changes to the startRecnWindow date entry will update the
5624
ending balance amount entry. Once the user manually updates the
5625
ending balance amount, the automatic updates will no longer occur
5626
if the date entry is changed again. Changed
5627
gnc_get_reconcile_info to use the *AsOfDate funcs if possible.
5629
2001-04-22 Christian Stimming <stimming@tuhh.de>
5631
* src/scm/report/transaction-report.scm: More work on subtotal
5634
* src/scm/report/net-worth-timeseries.scm: Add links to new
5637
* src/scm/options.scm, html-utilities.scm: Fix bugs with wrong
5640
2001-04-22 Dave Peticolas <dave@krondo.com>
5642
* src/gnome/dialog-find-transactions.c: remove tags notebook page.
5644
2001-04-22 Christian Stimming <stimming@tuhh.de>
5646
* src/scm/report/income-expense-graph.scm: Add links to new
5649
2001-04-22 Dave Peticolas <dave@krondo.com>
5651
* src/scm/report/transaction-report.scm: use new api for
5652
changing sensitivity
5654
* src/guile/gnc.gwp: wrap new function
5656
* src/guile/global-options.c (gnc_set_option_selectable_by_name):
5659
* src/guile/option-util.c
5660
(gnc_option_db_set_option_selectable_by_name): new func
5662
* src/gnome/dialog-options.c (gnc_set_option_selectable): new func
5664
* src/gnome/dialog-account.c (gnc_type_list_unselect_cb): fix bug
5666
* src/scm/report/register.scm: use query option to store query
5668
* src/gnome/window-register.c (report_helper): don't copy
5669
the query -- it's converted to scm now
5671
* src/guile/gnc-helpers.c: more work on scm<->query
5673
2001-04-22 Christian Stimming <stimming@tuhh.de>
5675
* src/scm/report/transaction-report.scm: Added new options for
5676
specifying whether a subtotal will be printed. Unfinished.
5678
* src/scm/report.scm, src/scm/report/*.scm: Defined more string
5679
constants for option names. Used them in the reports.
5681
2001-04-21 Christian Stimming <stimming@tuhh.de>
5683
* src/scm/options.scm (gnc:make-multichoice-callback-option):
5684
Added multichoice option with callback functions, just like the
5685
complex-boolean-option.
5687
* src/scm/report/transaction-report.scm: Fixed date bug.
5689
2001-04-21 Dave Peticolas <dave@krondo.com>
5691
* src/guile/gnc-helpers.c: more work on scm<->query.
5693
2001-04-20 Dave Peticolas <dave@krondo.com>
5695
* src/gnome/window-report.c: raise app of new report to top
5697
* src/register/recncell.c: add confirmation callback
5699
* src/SplitLedger.c: implement reconcile confirm cb
5701
* src/gnome/gnc-html.c: add missing include
5703
* src/gnome/dialog-transfer.c: fix spelling
5705
2001-04-20 Bill Gribble <grib@billgribble.com>
5707
* src/gnome/dialog-column-view.c: maintain the report window
5708
edited list when closing dialog. raise an existing edit dialog.
5710
* src/gnome/gnc-html.c: make sure we know about options editors
5711
launched from gnc-options: urls
5713
* src/gnome/window-report.c: numerous changes to improve handling
5716
* src/scm/report.scm: new function, gnc:report-edit-options.
5718
2001-04-20 Dave Peticolas <dave@krondo.com>
5720
* src/guile/gnc-helpers.c: remove cruft. work on converting
5721
Query objects to and from a scheme representation (unfinished)
5723
* src/guile/gnc.gwp: wrap more of the Query enums
5725
* src/engine/Query.c (xaccQueryAddAccountGUIDMatch): new func
5727
* src/scm/options.scm: add a query option type
5729
* src/scm/report/report-list.scm: don't bother hiding tax report
5731
2001-04-19 Bill Gribble <grib@billgribble.com>
5733
* src/gnome/top-level.c: add call to skeleton "welcome" report
5734
if user has not run 1.5/1.6 before
5736
* src/scm/html-document.scm: changes to make sure styles are
5737
set for component reports in multicolumn view
5739
* src/scm/report.scm: clean up rendering with/without headers
5741
* src/scm/report/stylesheet-plain.scm: get rid of <center> tag
5744
* src/scm/report/welcome-to-gnucash.scm: new report and function
5745
to set up welcome to gnucash report
5747
2001-04-19 Dave Peticolas <dave@krondo.com>
5749
* src/register/gnome/gnucash-item-edit.c (item_edit_draw_info): fix
5750
some left-right scrolling glitches
5752
* src/gnome/dialog-tax-info.c: implement tax info api
5754
* src/gnome/account-tree.c: same as below
5756
* src/gnome/window-acct-tree.c: add tax info field
5758
* src/scm/report.scm: add an export callback for reports
5760
* src/guile/gnc.gwp: wrap radio chooser api
5762
* src/scm/report/taxtxf.scm: use export callback to choose
5765
* src/gnome/window-report.c: implement export callback
5767
2001-04-19 James LewisMoss <jimdres@mindspring.com>
5769
* src/gnome/new-user-funs.c (gnc_new_user_get_clist): new func to
5770
remove duplicate code.
5772
2001-04-18 Dave Peticolas <dave@krondo.com>
5774
* src/SplitLedger.c: fix for api change below
5776
* src/gnc-ui.h: api change below
5778
* src/gnome/query-user.c
5779
(gnc_choose_radio_option_dialog_parented): use glist instead of
5780
pointer array for list of strings argument
5782
2001-04-18 Bill Gribble <grib@billgribble.com>
5784
* src/gnome/dialog-options.c: don't destroy options dialog twice.
5786
* src/gnome/window-main.c: hopefully last MDI fixes; rearrange
5787
menu and replace "New Window" with "Move to New Window."
5789
2001-04-18 Dave Peticolas <dave@krondo.com>
5791
* src/gnc-ui-util.c (gnc_ui_account_get_balance): use current
5792
stock quotes to get balances for stock/mutual/currency accounts
5794
* src/gnome/window-main.c: check for NULL toolbar parents
5796
* src/engine/sixtp-xml-write-utils.c: use new func below
5798
* src/engine/sixtp-dom-generators.c (timespec_sec_to_string): use
5801
* src/engine/sixtp-utils.c (timespec_secs_to_given_string): new
5802
func. format timezone string by hand (solaris fix)
5804
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler): only
5805
begin editing the account if parsing was successful
5807
* src/test/test-xml-account.c (test_add_account): don't delete
5808
the account, because it's referenced by the parser after the
5811
2001-04-17 Bill Gribble <grib@billgribble.com>
5813
* src/gnome/window-main.c: More changes for MDI. I think we
5814
finally have toolbars handled right. Also new windows for account
5817
2001-04-17 Rob Browning <rlb@cs.utexas.edu>
5819
* src/scm/utilities.scm (string-split): used to be string-split-on
5822
* src/scm/qif-import/qif-utils.scm: move string-split-on to
5823
utilities.scm as string-split to better match string-join.
5825
* src/scm/qif-import/qif-to-gnc.scm (qif-import:qif-to-gnc):
5826
string-split-on -> string-split.
5828
* src/scm/qif-import/qif-dialog-utils.scm
5829
(qif-import:get-all-accts): string-split-on -> string-split.
5831
* src/scm/price-quotes.scm (yahoo-get-historical-quotes): new
5832
function - retrieve lists of historical quote information.
5834
* src/scm/bootstrap.scm.in (%load-path): add new guile-modules
5835
directory so we can use-modules from there.
5837
* src/guile/Makefile.am (CLEANFILES): add gnucash.c so it goes
5838
away on "make clean" in addition to "make distclean".
5840
* src/engine/gnc-pricedb.c: minor doc updates.
5842
* src/engine/gnc-pricedb.h: much more documentation.
5844
* lib/guile-www: new directory - contains guile-www CVS module.
5845
Used by new historical quote function. Several new files added.
5846
Installed to new install directory GNC_SHAREDIR/guile-modules such
5847
that it is available via (use-modules (www main)), etc.
5849
* lib/Makefile.am (SUBDIRS): add guile-www
5851
* configure.in (AC_OUTPUT): add lib/guile-www/Makefile
5853
2001-04-17 Dave Peticolas <dave@krondo.com>
5855
* src/gnome/file-history.c: fix bug
5857
2001-04-17 Bill Gribble <grib@billgribble.com>
5859
* fixes to MDI bugs: only one param editor for accounts and
5860
reports, make sure reports reference and created children
5862
* new report: 'Frame URL'. Give it an URL and it will display the
5863
contents in an <iframe>... handy for putting that stock ticker
5864
graph from yahoo or wherever in a sidebar of a multicolumn view.
5866
2001-04-17 James LewisMoss <jimdres@mindspring.com>
5868
* src/test/test-load-example-account.c (main): ignore the README
5871
2001-04-17 Dave Peticolas <dave@krondo.com>
5873
* lots of files: handle NULL pointer printf problems,
5876
2001-04-16 Dave Peticolas <dave@krondo.com>
5878
* src/gnc-ui-util.c (gnc_account_get_balance_in_currency): new func
5880
* src/gnome/dialog-price-editor.c: button for online quotes
5882
* src/scm/price-quotes.scm: handle missing lib errors. i18n
5885
* src/quotes/finance-quote-helper.in: return error symbol when
5886
libraries are missing.
5888
* src/guile/guile-util.c (gnc_book_to_scm): new func
5890
2001-04-15 Dave Peticolas <dave@krondo.com>
5892
* src/register/gnome/gnucash-sheet.c: some more error checking
5894
* src/gnome/top-level.c: check for no children when creating default
5897
* src/gnome/window-main.c: Kevin Finn's patch to shutdown gnucash
5898
when the main window is deleted. Handle remove_child events to
5899
prevent accessing deleted windows.
5901
* src/engine/sixtp-dom-parsers.c (string_to_integer): same as
5904
* src/engine/sixtp-dom-generators.c (add_kvp_value_node): same as
5907
* src/engine/sixtp-xml-write-utils.c: same as below
5909
* src/engine/sixtp-utils.c: same as below
5911
* src/engine/gnc-numeric.c: same as below
5913
* src/engine/TransLog.c: same as below
5915
* src/engine/kvp_frame.c: same as below
5917
* src/engine/sql/kvp-sql.c: same as below
5919
* src/engine/sql/builder.c (sqlBuild_Set_Int64): don't assume
5920
long long int == gint64
5922
* src/gnome/window-main.c: take out devel menu
5924
* src/gnome/dialog-price-editor.c (price_ok_clicked): fix bug
5926
2001-04-15 Christian Stimming <stimming@tuhh.de>
5928
* src/scm/report.scm: Defined global identifiers for some option
5931
* src/scm/report/category-barchart.scm: Added menu tips, menu
5932
names. Use Reportname option for report title. Added an
5933
explanatory text (only for devel info, will be removed again in
5936
* src/scm/html-barchart.scm: Fix bug.
5938
* src/gnome/gnc-html-guppi.c (guppi_bar_1_callback): Fix bug.
5940
2001-04-14 Dave Peticolas <dave@krondo.com>
5942
* src/scm/path.scm: version the .gnucash/config* files.
5944
* src/scm/: change several other files to use versioned config
5946
* src/gnome/window-main.c: show current filename in app titles
5948
2001-04-13 Bill Gribble <grib@billgribble.com>
5950
* Bug fixes and a couple of new features for MDI stuff.
5952
* src/scm/prefs.scm: new option to set MDI mode (prefs/general)
5954
* src/gnome/{window-acct-tree.c,window-report.c,window-main.c}:
5955
bug fixes to handle runtime MDI mode changes.
5957
2001-04-13 Dave Peticolas <dave@krondo.com>
5959
* src/scm/report/*: update several reports to use
5960
the new date option api.
5962
* src/scm/options.scm: change date options to return
5963
the same values as they accept.
5965
* src/guile/option-util.c: update for new date option api.
5966
wrap scheme api for C.
5968
* src/gnome/dialog-options.c: update for new date option api.
5971
* src/gnome/query-user.c: fixes for no toplevel window
5973
* src/gnome/window-main.c (gnc_main_window_get_toplevel): check
5976
2001-04-13 Christian Stimming <stimming@tuhh.de>
5978
* src/scm/report/balance-sheet.scm: Cleanup code. Use new funcs
5979
from html-utilities.
5981
* src/scm/report/stylesheet-{plain,fancy}.scm: Added some styles
5984
* src/scm/html-utilities.scm (gnc:html-acct-table-cell),
5985
(gnc:html-acct-table-row-helper!),
5986
(gnc:html-acct-table-comm-row-helper!): Added functions i.e. moved
5987
them out of gnc:html-build-acct-table. Use table-cell-markup
5988
instead of direct markup-b.
5990
* Several reports: Added option page "Account" or "Display" so
5991
that every report has those.
5993
2001-04-12 Bill Gribble <grib@billgribble.com>
5995
* Lots and lots of changes to support Gnome MDI. And I thought it
5996
would be an easy way to get that toolbar problem fixed. Short
5997
story is lots of function prototypes changed to reflect the notion
5998
that there is no longer a single top-level gnucash window or
5999
account tree. 41 files changed, which is too many for me to
6002
* src/gnome/window-acct-tree.{c,h}: new file; the "account tree
6003
window" is the contents of the former main window. Now you can
6004
have as many of them open as you want. account trees and reports
6005
are the 2 kinds of "main window children" which MDI manages.
6007
* src/gnome/window-main-summarybar.{c,h}: new file. I moved the
6008
summary bar stuff out of the account tree because there's one
6009
summary bar per top-level window but possible many account trees
6010
per top-level window.
6012
* src/gnome/window-main.c: this is not what it used to be at all.
6013
the main gnucash ui element is now a 'GnomeMDI'. The only menus
6014
and toolbar items here are ones that are always visible in any
6017
* src/scm/prefs/scm: acct tree prefs are treated differently (one
6018
options obj per acct tree) and are auto-saved and restored.
6020
* src/scm/report.scm: report options are auto saved and restored.
6022
* src/scm/html-style-sheet.scm: so are style sheets.
6024
2001-04-12 James LewisMoss <jimdres@mindspring.com>
6026
* accounts/C/Makefile.am (EXTRA_DIST): move some of the files to
6027
the EXTRA_DIST rule for the moment (we don't want them installed
6030
* accounts/C/acctchrt_*: Include Carol's documentation fixes.
6032
2001-04-12 Dave Peticolas <dave@krondo.com>
6034
* src/register/gnome/gnucash-item-list.c: same as below
6036
* src/register/gnome/combocell-gnome.c (popup_post_show): fix for
6037
making the scrollbars appear under gtk+ 1.2.9.
6039
* src/gnome/dialog-commodity.c: add api to edit commodities
6041
* src/gnome/dialog-commodities.c: allow commodities to be edited
6043
2001-04-12 Christian Stimming <stimming@tuhh.de>
6045
* src/scm/report/account-piecharts.scm: Added menu tips, menu
6046
names. Use Reportname option for report title. Added an explanatory
6047
text (only for devel info, will be removed again in some weeks).
6049
2001-04-12 Robert Graham Merkel <rgmerk@mira.net>
6051
* src/engine/Transaction.[ch] (xaccSplitGetCorrAccountFullName): new
6052
functions. (xaccSplitCompareAccountNames): rename
6053
to xaccSplitCompareAccountFullNames and compare using full names.
6054
(xaccSplitCompareOtherAccountNames): renaming as above.
6056
* src/engine/Query.[ch]: rename sort enumeration values.
6058
* src/guile/gnc.gwp: update to match above changes.
6060
* src/scm/report-utilities.scm (gnc:split-get-corr-account-full-name):
6063
* src/scm/report/transaction-report.scm: use above changes to sort
6064
and optionally display full account names. Fix unrelated bugs with
6067
2001-04-11 Dave Peticolas <dave@krondo.com>
6069
* src/scm/report/hello-world.scm: add a menu tip as an example
6071
* src/scm/report.scm: add menu names and menu tips to reports
6073
2001-04-11 Christian Stimming <stimming@tuhh.de>
6075
* src/scm/report/average-balance.scm, category-barchart.scm,
6076
income-expense-graph.scm, net-worth-timeseries.scm, portfolio.scm:
6077
Added menu-path for reports.
6079
* src/scm/report/account-piecharts.scm: Report title is now
6080
fetched from Reportname option. Slices and legend now have
6083
2001-04-11 Dave Peticolas <dave@krondo.com>
6085
* src/gnome/dialog-commodities.c: more work
6087
* src/engine/gnc-commodity.c (gnc_commodity_table_remove): new func
6089
* src/engine/gnc-commodity.h: add ASX namespace
6091
* src/gnome/dialog-commodity.c (gnc_ui_edit_commodity_modal): new
6092
func. unfinished. rename some functions to reflect that it's also
6093
an editing dialog now.
6095
2001-04-11 Robert Graham Merkel <rgmerk@mira.net>
6097
* src/scm/report/transaction-report.scm (render-month-subheading):
6100
2001-04-11 Christian Stimming <stimming@tuhh.de>
6102
* src/scm/report/account-piecharts.scm: Simplified anchors for
6103
other reports by using gnc:make-report-anchor.
6105
* src/scm/html-utilities.scm (gnc:make-report-anchor): New
6108
* src/scm/options.scm (gnc:options-copy-values): New function.
6110
* src/scm/report/account-piecharts.scm: Added anchors to yet other
6111
reports on the slices of the pie. Simplified creation of other
6114
* src/scm/report/category-barchart.scm: Simplified creation of
6115
other report's options.
6117
* src/scm/report/report-list.scm: Renamed file.
6119
* src/scm/report/account-piecharts.scm: Renamed to this filename
6120
(used to be: income-or-expense-pie.scm). Introduced some more
6121
generality such that this file also has an asset and a liability
6124
* src/scm/report/category-barchart.scm: Introduced some
6125
more generality such that this file also has a asset and liability
6128
2001-04-10 Christian Stimming <stimming@tuhh.de>
6130
* src/scm/report-utilities.scm: Added function
6131
(gnc:account-get-type-string-plural). Changed
6132
gnc:decompose-accountlist to return AccountType symbols.
6134
* src/scm/html-utilities.scm,
6135
src/scm/report/net-worth-timeseries.scm, balance-sheet.scm:
6136
Adapted to changed gnc:decompose-accountlist.
6138
2001-04-10 Dave Peticolas <dave@krondo.com>
6140
* src/engine/date.c (__EXTENSIONS__): add a define for solaris
6142
* src/gnome/dialog-commodities.c: new file. commodity editor.
6145
2001-04-10 Christian Stimming <stimming@tuhh.de>
6147
* src/scm/report/net-worth-timeseries.scm: Fixed date argument
6148
bug. Added auto label rotation.
6150
* src/scm/date-utilities.scm: Renamed gnc:dateloop to
6151
gnc:make-date-interval-list and gnc:dateloop-simple to
6154
* src/scm/report/category-barchart.scm, income-expense-graph.scm:
6155
Adapt to gnc:dateloop's namechange.
6157
2001-04-10 Robert Graham Merkel <rgmerk@mira.net>
6159
* src/scm/report/net-worth-timeseries.scm: New file. You guessed
6160
it, a time series net worth barchart.
6162
* src/scm/report/date-utilities.scm: add gnc:dateloop-simple to
6163
generate simple timeseries for net worth barchart.
6165
* src/scm/report/{Makefile.am, report-list.scm}: add new barchart.
6167
2001-04-10 James LewisMoss <jimdres@mindspring.com>
6169
* src/engine/io-utils.c (write_accounts): Pull out function from
6171
(write_account_group): same.
6172
(write_emacs_trailer): abstract out functionality.
6174
2001-04-09 James LewisMoss <jimdres@mindspring.com>
6176
* src/engine/sixtp-dom-parsers.c (dom_tree_to_guid): handle new
6177
and guid types the same for the moment.
6179
2001-04-09 Dave Peticolas <dave@krondo.com>
6181
* src/gnome/dialog-price-editor.c: more work
6183
2001-04-09 Robert Graham Merkel <rgmerk@mira.net>
6185
* src/scm/report/balance-sheet.scm (balance-sheet-renderer):
6186
use gnc:decompose-accounts to split up accounts.
6188
* src/scm/report-utilities.scm (gnc:decompose-accountlist):
6189
add credit accounts to the list of liability accounts.
6191
2001-04-08 Dave Peticolas <dave@krondo.com>
6193
* src/gnome/dialog-price-editor.c: more work
6195
* src/gnome/account-tree.c (gnc_account_tree_insert_row): speedup
6198
* src/gnome/account-tree.h: remove duplicate declaration
6200
* src/scm/report/taxtxf.scm: don't use deprecated calls
6202
* src/guile/gnc.gwp: wrap xaccAccountGetSplitList
6204
* src/engine/Query-xml-parser-v1.c
6205
(qrestore_datepred_start_handler): use g_new0 instead of bzero --
6208
2001-04-07 Dave Peticolas <dave@krondo.com>
6210
* src/engine/md5.h: include stddef.h for size_t
6212
* src/engine/sql/PostgresBackend.c: include ctype.h for tolower
6214
* src/engine/guid.h: include stddef.h for size_t
6216
* src/engine/gnc-engine-util.h: include stddef.h for size_t
6218
* src/scm/report/taxtxf.scm: fix bug
6220
* src/scm/text-export.scm: fix for api change
6222
* src/scm/report-utilities.scm: fix for api change
6224
* src/scm/engine-utilities.scm: change gnc:group-map-accounts
6225
to gnc:group-map-all-accounts. make gnc:group-map-accounts do
6226
only the immediate children.
6228
* src/gnome/dialog-price-editor.c: more work
6230
* src/engine/gnc-pricedb.c: add an error check
6232
* ChangeLog: split changelog
6234
2001-04-06 Rob Browning <rlb@cs.utexas.edu>
6236
* src/scm/process.scm (gnc:run-sub-process): some process control
6237
fixes seen on guile-devel.
6239
2001-04-06 Dave Peticolas <dave@krondo.com>
6241
* src/gnome/dialog-price-editor.c: new file with price db
6244
* src/engine/gnc-pricedb.c: connect prices to pricedbs
6246
2001-04-05 Dave Peticolas <dave@krondo.com>
6248
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): fix
6249
for files with no pricedb section
6251
2001-04-04 Dave Peticolas <dave@krondo.com>
6253
* src/scm/prefs.scm: add price editor geometry options
6255
2001-04-06 Christian Stimming <stimming@tuhh.de>
6257
* src/scm/report/balance-sheet.scm: Major overhaul. Adapted to new
6258
options in gnc:html-build-acct-table. Cleaned up code. Corrected
6261
* src/scm/html-utilities.scm (gnc:html-table-append-ruler!): New
6263
(gnc:html-build-acct-table): Added new arguments for how to show
6264
non-leaf accounts: with subtotal or not, with own balance or
6265
not. Removed some empty lines in the html-table.
6267
* src/scm/report/pnl.scm, account-summary.scm: Added support for
6268
new gnc:html-build-acct-tree options.
6270
* src/scm/report-utilities.scm (gnc:decompose-accountlist): Added
6273
2001-04-05 James LewisMoss <jimdres@mindspring.com>
6275
* src/test/test-xml-transaction.c: guess what?
6277
* src/test/test-xml-commodity.c: genericify all over.
6279
* src/test/test-xml-account.c: genericify all over.
6281
* src/test/gnc-test-stuff.c (test_load_file): use new generic
6283
(test_files_in_dir): same.
6285
* src/engine/io-gncxml-v2.h (struct sixtp_global_data_v2_struct):
6286
remove all the stuff made unnecessary by generification.
6288
* src/engine/io-gncxml-v2.c (gnc_counter_end_handler): same as below.
6289
(generic_callback): new func for generic callback.
6290
(gnc_book_load_from_xml_file_v2): use new generic callback
6293
* src/engine/gnc-transaction-xml-v2.c
6294
(gnc_transaction_end_handler): same as below.
6296
* src/engine/gnc-pricedb-xml-v1.c (pricedb_v2_end_handler): same
6299
* src/engine/gnc-commodity-xml-v2.c (gnc_commodity_end_handler):
6302
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler):
6303
genericify the callback mechanism.
6305
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): move
6306
xaccLogDisable call.
6308
2001-04-05 Christian Stimming <stimming@tuhh.de>
6310
* src/scm/html-table.scm (gnc:html-table-remove-last-row!): Added
6313
* src/scm/html-utilities.scm (gnc:html-build-acct-table): Added
6314
removal of the last empty line above the total sum.
6316
* src/scm/html-document.scm: changed rendering of #f from one
6317
whitespace to equally arbitrary three whitespaces. FIXME: This
6318
should be configurable by a style-sheet.
6320
* src/scm/report/pnl.scm: deactivated column headers.
6322
2001-04-05 Robert Graham Merkel <rgmerk@mira.net>
6324
* src/scm/report/balance-sheet.scm: Relabel summary rows, fix
6325
asset calculation bugs.
6327
2001-04-04 Robert Graham Merkel <rgmerk@mira.net>
6329
* src/scm/report/balance-sheet.scm: calculate retained profits
6330
explicitly, display (liabilities + equity) to allow people
6333
2001-04-04 Dave Peticolas <dave@krondo.com>
6335
* src/register/gnome/gnucash-sheet.c
6336
(gnucash_register_goto_next_trans_row): new func.
6338
* src/gnome/window-register.c: make 'enter' toolbar button
6339
move to next transaction
6341
* src/gnome/dialog-tax-info.c: more work
6343
* src/gnome/dialog-account.c: allow opening balances to come
6346
* src/gnome/dialog-totd.c (totd_close_cb): don't bother with the
6347
help dialog after disabling tips
6349
2001-04-04 Christian Stimming <stimming@tuhh.de>
6351
* src/gnome/gnc-html-guppi.c, src/scm/html-barchart.scm: Added new
6352
option for barchart: legend-reversed.
6354
2001-04-04 Robert Graham Merkel <rgmerk@mira.net>
6356
* src/scm/report/balance-sheet.scm: calculate retained profits
6357
explicitly, display (liabilities + equity) to allow people
6360
2001-04-04 James LewisMoss <jimdres@mindspring.com>
6362
* src/engine/sixtp-dom-parsers.c (dom_tree_to_timespec): use
6363
g_free rather than free (ben's find)
6364
(dom_tree_to_gnc_numeric): same.
6366
2001-04-03 Dave Peticolas <dave@krondo.com>
6368
* src/register/gnome/gnucash-sheet.c: move cursor before showing
6371
* src/gnome/window-register.c: add a Transaction->Invoice item
6373
* src/engine/Query.c: add GUID predicate
6375
* src/gnome/dialog-commodity.c: add namespace picker getter.
6376
Show "CURRENCY" instead of "ISO4217" when displaying.
6378
* src/gnome/druid-commodity.c: use namespace picker getter
6380
* src/gnome/druid-qif-import.c: use namespace picker getter
6382
* src/scm/report/register.scm: more work
6384
* src/engine/gnc-commodity.c (reset_printname): take the namespace
6385
out of the printname
6387
* src/gnome/dialog-account.c: add opening balance support
6389
* src/gnc-ui-util.c (gnc_find_or_create_equity_account): new func.
6390
(gnc_account_create_opening_balance): new func.
6392
* src/gnome/gnc-dateedit.c: add some error checking
6394
* src/gnome/gnc-commodity-edit.c: add "changed" signal
6396
* src/scm/report/register.scm: fix bug
6398
2001-04-03 Robert Graham Merkel <rgmerk@mira.net>
6400
* src/scm/report/html-table.scm (gnc:html-table-prepend-row!): Fix
6403
* src/scm/report/html-utilities.scm (gnc:build-html-acct-table): Add
6404
show-col-headers option.
6406
* src/scm/report/balance-sheet.scm: New file. Code for a balance
6407
sheet report. Numbers should be correct, presentation is
6408
rudimentary as usual.
6410
* src/scm/report/account-summary.scm: modify for changed arguments
6411
to gnc:build-html-acct-table.
6413
* src/scm/report/pnl.scm: modify for changed arguments to
6414
gnc:build-html-account-table.
6416
2001-04-02 Dave Peticolas <dave@krondo.com>
6418
* Makefile.am: add po/README
6420
* src/gnome/window-main.c: hide developer menu
6422
* src/gnome/window-register.c: add invoice menu item
6424
* src/scm/prefs.scm: add user name & address option for invoice
6425
report. add option for whether reports appear in main window or
6428
* src/scm/report.scm: open reports based on new option
6430
* src/scm/report/transaction-report.scm: more work
6432
* src/scm/report/register.scm: more work
6434
2001-04-01 Dave Peticolas <dave@krondo.com>
6436
* src/FileDialog.c: update for api change
6438
* src/gnome/window-report.c: update for api change
6440
* src/gnome/gnc-html.c: update for api change
6442
* src/gnome/window-main.c: update for api change
6444
* src/gnome/cursors.c (gnc_set_busy_cursor): add extra arg
6445
to determine whether to update cursor immediately
6447
* src/gnome/druid-qif-import.c: update for api change
6449
* src/gnome/window-help.c: expand the top nodes initially
6450
(gnc_help_show_topic): show the topic in the tree when it
6453
* src/gnome/gnc-html.c: set busy cursor before start request
6455
2001-03-31 Dave Peticolas <dave@krondo.com>
6457
* src/gnome/dialog-utils.c (gnc_get_gdk_imlib_image): new func
6459
* src/scm/report.scm: translate report name
6461
* src/gnome/window-main.c: fix some i18n bugs
6463
2001-03-31 Christian Stimming <stimming@tuhh.de>
6465
* src/scm/html-utilities.scm (gnc:html-build-acct-table): fix
6466
horizontal line width if foreign currencies are shown.
6468
2001-03-31 James LewisMoss <jimdres@mindspring.com>
6470
* src/test/test-xml-account.c (node_and_account_equal): fix parent
6473
* src/test/test-real-data.sh (EXIT_VALUE): check for empty FILES
6476
* src/test/test-xml-commodity.c (main): fix argc test.
6478
* src/test/test-xml-account.c (main): fix argc test.
6480
* src/test/test-xml-commodity.c (main): fix argc test
6482
* src/test/test-load-xml2.c (main): call xaccLogDisable
6484
* src/test/test-xml-transaction.c (main): call xaccLogDisable
6486
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2):
6487
comment out load debug info.
6489
* src/test/test-real-data.sh (EXIT_VALUE): don't run on a
6492
* src/test/gnc-test-stuff.c (test_files_in_dir): rename vars
6493
file_count -> argc, files -> argv to be more accurate.
6495
2001-03-31 Dave Peticolas <dave@krondo.com>
6497
* src/scm/options.scm: add a text option type
6499
* src/gnome/dialog-options.c: add support for text options
6501
* src/gnome/window-main.c (gnc_ui_about_cb): set parent
6503
* src/scm/report/register.scm: more work
6505
* src/scm/html-document.scm: fix bug
6507
2001-03-30 James LewisMoss <jimdres@mindspring.com>
6509
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): add
6510
stuff from file format 1 ledger data start and end handlers to
6511
disable enable log, mark saved, and the rest.
6513
* src/engine/gnc-book.c (gnc_book_write_to_file): clean up
6514
writing. Write only once.
6515
(gnc_book_write_to_file): extract out backup functionality.
6516
(gnc_book_backup_file): new func with extracted functionality.
6517
(gnc_book_backup_file): add more permanent backup for binary
6520
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler): add
6521
begin edit so that everything doesn't get recomputed till end.
6523
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): add
6524
commit of all accounts at end.
6526
* src/engine/gnc-book.c (gnc_book_write_to_file): use v2 write.
6528
2001-03-30 Dave Peticolas <dave@krondo.com>
6530
* src/scm/report/average-balance.scm: tweak default accounts
6532
* src/scm/html-utilities.scm (gnc:html-build-acct-table):
6533
put in a horizontal line before grand total.
6535
* src/gnome/dialog-tax-info.c: use form & description, not
6536
code & form, in clist. more work on display.
6538
* src/scm/report/txf-export.scm: fix bug
6540
* src/register/gnome/gnucash-sheet.c
6541
(gnucash_sheet_modify_current_cell): reset item edit position
6543
* src/register/gnome/gnucash-item-edit.c (item_edit_reset_offset):
6546
* src/gnome/gnc-currency-edit.c (add_item): don't use namespace
6549
* src/quotes/finance-quote-helper.in: check for non-standard
6552
* src/quotes/Makefile.am: add update-finance-quote
6554
* src/quotes/update-finance-quote.in: new file
6556
* src/guile/guile-util.c: new funcs for wrapping price lists
6558
* src/guile/gnc.gwp: wrap more pricedb api. g-wrap price lists.
6560
* src/gnome/dialog-tax-info.c: more work
6562
* src/gnc-ui-util.c (gnc_push_locale): new func
6563
(gnc_pop_locale): new func
6565
* src/gnome/gnc-html-guppi.c: use C locale when parsing doubles
6567
* src/gnc-ui-util.c (gnc_lconv_set): strdup value to make
6568
sure changing the locale doesn't affect the cached value
6570
* src/gnome/window-register.c: make 'record' work like 'enter'
6572
* src/scm/prefs.scm: add internal prefs for tax window size
6574
* src/gnome/gnc-splash.c: make splash a regular window
6576
2001-03-30 James LewisMoss <jimdres@mindspring.com>
6578
* src/test/gnc-test-stuff.c (test_files_in_dir): use file list
6579
rather than dir so we can control the order of files tested (to
6580
allow parent accounts to be parsed first)
6582
* src/test/test-real-data.sh (EXIT_VALUE): make sure test fails if
6583
at least one of the tests fail.
6585
2001-03-29 Dave Peticolas <dave@krondo.com>
6587
* doc/sgml/C/xacc-incomeexpense.sgml: fix debit/credit distinction
6589
* src/scm/report/taxtxf.scm: more work
6591
* src/scm/report/category-barchart.scm: remove url FIXME
6593
* src/scm/html-barchart.scm: add bar & legend urls to render
6595
* src/gnome/top-level.c: Robert Stephenson's patch for
6598
* src/gnome/gnc-html-guppi.c: fix bugs
6600
* src/scm/html-text.scm: fix bug
6602
* src/scm/report/portfolio.scm: work on display
6604
* src/scm/report/stylesheet-plain.scm: add styles for totals
6606
* src/scm/html-document.scm: bug fix
6608
* src/scm/report/taxtxf.scm: more work
6610
* src/engine/gnc-commodity.c (count_coms): use
6611
GNC_COMMODITY_NS_ISO instead of the string const.
6613
* src/engine/rpc/Makefile.am: use GLIB_CFLAGS instead of
6614
hard-coded include dir.
6616
* src/engine/rpc/RpcUtils.c (rpcend_build_gnccommoditylist): use
6617
GNC_COMMODITY_NS_ISO instead of the string const. Fix compiler
6620
2001-03-29 James LewisMoss <jimdres@mindspring.com>
6622
* src/engine/io-gncxml-v2.c (write_counts): don't add an amount if
6625
2001-03-29 Christian Stimming <stimming@tuhh.de>
6627
* src/scm/report/report-list.scm, Makefile.am: Added new file.
6629
* src/scm/report/category-barchart.scm: Two new reports. Shows
6630
barchart of income (or expense) categories over time.
6632
* src/scm/report/income-expense-graph.scm: Use more
6633
option-utilities.scm. Fixed gnc:dateloop usage (last interval was
6636
* src/scm/html-barchart.scm: Added record components for bar- and
6637
legend-urls and their accessor/modifier functions. FIXME: They
6638
don't get rendered yet -- somebody has to add that.
6640
* src/scm/date-utilities.scm (gnc:dateloop): Fixed last interval
6641
not to be longer than the specified end date.
6643
2001-03-29 James LewisMoss <jimdres@mindspring.com>
6645
* src/engine/io-gncxml-v2.c (write_counts): don't add an amount if
6648
2001-03-29 Robert Graham Merkel <rgmerk@mira.net>
6650
* src/scm/report/portfolio.scm: New file. Stock portfolio
6653
* src/engine/date.[ch]: Added timespec_normalize,
6654
timespec_diff, and timespec_abs.
6656
* src/engine/gnc-pricedb.[ch]: added
6657
gnc_pricedb_lookup_nearest_in_time, courtesy Rob B.
6659
2001-03-28 Dave Peticolas <dave@krondo.com>
6661
* src/SplitLedger.c: fix bug
6663
2001-03-28 James LewisMoss <jimdres@mindspring.com>
6665
* src/test/gnc-test-stuff.c (get_random_split): set a share
6668
* src/engine/gnc-transaction-xml-v2.c (spl_quantity_handler):
6669
should have been xaccSplitSetShareAmount not SetValue
6671
2001-03-28 Dave Peticolas <dave@krondo.com>
6673
* src/gnome/dialog-tax-info.c: more work
6675
* src/guile/gnc.gwp: wrap more of pricedb api
6677
* src/engine/gnc-pricedb.c (gnc_pricedb_get_prices): new func
6679
2001-03-28 Bill Gribble <grib@billgribble.com>
6681
* src/gnome/dialog-column-view.c: set the view dirty on edit
6683
* src/gnome/dialog-style-sheet.c: dirty every report using a
6684
stylesheet when it's edited.
6686
* src/gnome/window-report.c: Add display register/unregister for
6687
reports so the reports know which report-windows they are being
6690
* src/scm/html-{bar,pie}chart.scm: Add a little space to work
6691
around a gtkhtml-0.8.3 bug in table display
6693
* src/scm/html-document.scm: move tree collapse and
6694
stringification to the html document rather than the report. Add
6695
functions to render just the body elements of a document.
6697
* src/scm/html-table.scm: fix broken html-table-set-cell!
6699
* src/scm/report.scm: add parents list to report struct. Mark
6700
parents dirty when report is marked dirty. reload windows showing
6701
a report on dirty. Clean up rendering functions a little
6703
* src/scm/report/view-column.scm: Add a link to open each report
6704
in a window by itself. Change rendering to allow children to be
6707
2001-03-28 Dave Peticolas <dave@krondo.com>
6709
* src/gnome/dialog-tax-info.c: more work
6711
* src/engine/Transaction.c (DxaccSplitSetSharePriceAndAmount):
6712
do the double->numeric conversion directly.
6714
* src/guile/gnc.gwp: remove unused deprecated functions
6716
* src/engine/Transaction.c (xaccSplitsComputeValue): convert
6717
imbalance to base_currency fraction if possible
6719
* src/SplitLedger.c (LedgerDestroy): commit pending instead
6722
2001-03-28 James LewisMoss <jimdres@mindspring.com>
6724
* src/engine/Transaction.c (xaccSplitGetAccount): use
6725
xaccSplitSetAccount_Internal to set. Don't want to NULL out data
6726
if xaccAccountLookup doesn't give us data (for testing).
6727
(xaccSplitSetAccount_Internal): new func that doesn't null out
6730
* src/engine/gnc-transaction-xml-v2.c
6731
(gnc_transaction_dom_tree_create): add test to not add trn:num
6732
item when it's an empty string.
6734
* src/test/Makefile.am (clean-local): add to remove .log files.
6736
2001-03-27 James LewisMoss <jimdres@mindspring.com>
6738
* doc-tools/Makefile.am (LDADD): remove all the unneccesary libs.
6740
2001-03-27 Christian Stimming <stimming@tuhh.de>
6742
* src/scm/report/average-balance.scm: Major rework: Uses
6743
option-utilities.scm. Added basic multi-currency handling. Fixed
6744
time interval handling.
6746
* src/scm/report/income-expense-graph.scm,
6747
income-or-expense-pie.scm: Use option-utilities.scm.
6749
* src/scm/options-utilities.scm: Added date interval multichoice
6750
option, report currency option, and plot size option.
6752
2001-03-27 Dave Peticolas <dave@krondo.com>
6754
* configure.in: add --enable-etags argument to turn on
6755
automatic TAGS creation
6757
* src/scm/report/register.scm: add notes field
6759
* src/scm/report/stylesheet-plain.scm: more reports centered
6762
* src/scm/html-document.scm: Christopher Browne's markup
6765
* src/gnome/window-main.c (gnc_report_in_main_window): show new
6768
* doc/sgml/pt_PT/Makefile.am: remove demo html files
6770
* doc/sgml/es/Makefile.am: remove demo html files
6772
* doc/sgml/C/Makefile.am: remove demo html files
6774
* src/gnome/dialog-column-view.c: mark the options dialog
6775
changes as appropriate
6777
* src/gnome/dialog-options.c (gnc_options_dialog_changed): new
6780
* src/gnome/dialog-tax-info.c: more work
6782
* src/gnome/dialog-options.c: set apply button sensitivity
6785
* src/scm/report/average-balance.scm: use option-utilities
6787
* src/scm/report/transaction-report.scm: use option-utilities
6789
* src/scm/options-utilities.scm: remove superfluous (begin)'s
6791
2001-03-26 Dave Peticolas <dave@krondo.com>
6793
* src/gnome/gnc-html.c: fix compiler warning
6795
* src/scm/prefs.scm: add new liability/equity debit/credit labels
6797
* src/register/gnome/pricecell-gnome.c (PriceDirect): don't use
6798
key stroke if cell value doesn't change
6800
* src/register/pricecell.c (xaccSetPriceCellValue): return TRUE
6801
if cell value actually changed
6803
2001-03-27 James LewisMoss <jimdres@mindspring.com>
6805
* src/engine/io-gncxml-v2.c (add_account_local): duh. currency
6806
not commodity. commodity is same as Security. Old gets freed
6807
really hosing the data known_commodities structure.
6809
2001-03-26 James LewisMoss <jimdres@mindspring.com>
6811
* src/engine/gnc-commodity.c (count_coms): new func.
6812
(gnc_commodity_table_get_size): Actually return size rather than
6814
(gnc_commodity_table_get_number_of_namespaces): new func. Used to
6815
be the get_size one.
6817
* src/test/test-commodities.c (test_commodity): Improve error
6818
output for size diffs.
6820
2001-03-26 Bill Gribble <grib@billgribble.com>
6822
* src/gnome/dialog-column-view.{c,h}: new files. Options editor
6823
for the multicolumn report view.
6825
* src/gnome/dialog-options.{c,h}: add API to get notebook widget
6826
from standard options dialog
6828
* src/gnome/gnc-html.c: add handler for gnc-options:report-id=%d
6829
url... pops up the options editor for that report.
6831
* src/gnome/window-main.c: make the app main widget a notebook
6832
with side tabs. When a report is run from the menu, it makes a
6833
new tab and put itself there (via gnc_report_in_main_window).
6835
* src/gnome/window-report.c: ask the report how to edit its
6836
options. Redo options dialog handling. Add a "open in new window"
6837
option to the report toolbar/popup
6839
* src/scm/report.scm: add 'options-editor field to report template
6840
struct. It's optional (there's a default). Add a "Report name"
6841
option for all reports. Not used yet but will be soon.
6843
* src/scm/report/view-column.scm: a generic table layout for
6844
multiple reports. Each report is in a table cell with a
6845
configurable rowspan and colspan.
6847
2001-03-26 James LewisMoss <jimdres@mindspring.com>
6849
* README (NOTE): Update how make-gnucash-patch works.
6851
2001-03-26 Dave Peticolas <dave@krondo.com>
6853
* src/scm/report/transaction-report.scm: fix i18n bug
6855
* src/scm/report/register.scm: more work
6857
* src/SplitLedger.c: update for api change
6859
* src/gnome/window-register.c: update for api change
6861
* src/engine/Transaction.c (xaccSplitGetCorrAccountName): update
6862
name used for split transactions
6863
(xaccSplitGetOtherSplit): rename to be more consistent
6865
* src/gnome/gnc-dialogs.glade: use 'contains' instead of
6866
'matches' in search dialog
6868
* src/guile/gnc.gwp: update for api changes below
6870
* src/engine/Account.c: use US in api names and tags of
6871
US-specific tax info.
6873
2001-03-25 Dave Peticolas <dave@krondo.com>
6875
* src/test/test-exp-parser.c (test_parser): add / 0 test
6877
* src/scm/report/txf-export.scm: fix bugs
6879
* src/gnome/gnc-dialogs.glade: work on tax info dialog
6881
* src/gnome/dialog-tax-info.c: more work
6883
* src/engine/sixtp.c (gnc_is_our_xml_file): don't use
6884
g_return_if_fail for not finding a file -- avoid ** CRITICAL **
6887
2001-03-24 Dave Peticolas <dave@krondo.com>
6889
* src/engine/gnc-pricedb-xml-v1.c (pricedb_v2_end_handler): fix bug
6891
2001-03-23 Dave Peticolas <dave@krondo.com>
6893
* src/scm/report/txf-export.scm: redo data structure
6896
* src/guile/gnc.gwp: wrap tax info api getters
6898
* src/scm/report/income-or-expense-pie.scm: show total in subtitle
6900
* src/scm/html-utilities.scm (gnc:assign-colors): make the order
6901
of color assignment stable
6903
* src/engine/Account.c: add api for tax info
6905
* src/engine/kvp_frame.c: handle NULL pointers
6907
* src/engine/kvp_doc.txt: add tax kvp keys
6909
* doc/gnucash-gdb-cmds: remove, out of date
6911
2001-03-23 Christian Stimming <stimming@tuhh.de>
6913
* src/scm/report/income-or-expense-pie.scm: Included new option to
6914
summarize all subaccount balances below a certain level threshold.
6916
2001-03-23 James LewisMoss <jimdres@mindspring.com>
6918
* src/engine/gnc-pricedb-xml-v1.c (gnc_pricedb_to_dom_tree): Don't
6919
return and empty tree. Return NULL.
6921
* src/engine/io-gncxml-v2.c (write_pricedb): check for null return
6922
from pricedb tree generator and ignore. It's ok to get NULL.
6924
2001-03-22 Dave Peticolas <dave@krondo.com>
6926
* src/Makefile.am: compile src/test after compile src/
6928
* src/guile/gnucash.c.in (gnc_main): change from main
6929
function so other executables can link with this lib
6931
* src/gnc-main.c: new file with gnucash main
6933
* src/test/test-stuff.c: add api to turn on success printing
6935
* src/test/test-exp-parser.c: new test file for testing
6938
* src/scm/report/income-or-expense-pie.scm: display totals
6941
* src/gnome/druid-stock-split.c: check for proper currencies
6942
on income & asset accounts. allow price to be recorded.
6944
* src/gnome/account-tree.c: add api for setting selectability
6945
with a filter function
6947
* src/engine/Group.c (xaccGroupRemoveAccount): check for
6948
group/account mismatch
6950
2001-03-21 Dave Peticolas <dave@krondo.com>
6952
* src/scm/date-utilities.scm: set isdst to -1 before calling
6955
* src/gnome/window-main.c: put summary info on left side
6957
* src/gnome/gtkselect.c: don't display button unless there is
6958
something to select. put button on left side
6960
2001-03-22 Robert Graham Merkel <rgmerk@mira.net>
6962
* src/scm/date-utilities.scm (moddate): set is-dst to unknown to
6963
hopefully fix daylight-saving time errors.
6965
2001-03-21 Dave Peticolas <dave@krondo.com>
6967
* configure.in: take out --enable-gpg argument, is run-time dep
6969
2001-03-21 Bill Gribble <grib@billgribble.com>
6971
* gnc-network.{c,h}: new files. Functions for user registration
6974
* gnc-gpg.c: fix bugs. make gpg operations optionally
6975
asynchronous via gdk_input_add().
6977
* gnc-html.c: fix URL base name handling. Rework processing of
6980
* gnc-http.c: memory management in gnome_http. Still some
6981
memory leaks in there, I think.
6983
* gnc-html-actions.{c,h}: remove files. Content moved into
6986
* prefs.scm: Add hidden preference for GnuCash Network user ID.
6988
2001-03-21 Dave Peticolas <dave@krondo.com>
6990
* src/scm/report-utilities.scm
6991
(gnc:accounts-get-comm-total-income): new func
6992
(gnc:accounts-get-comm-total-expense): new func
6994
* src/scm/report/income-expense-graph.scm: allow user to display
6995
both income & expense side-by-side
6997
* src/scm/report/pnl.scm: use sprintf to make title
6999
* src/guile/guile-util.c (gnc_get_debit_string): use g_strdup
7000
(gnc_get_credit_string): use g_strdup
7002
* src/gnome/gnc-html.c: add guid type to register anchor
7004
* src/scm/report/register.scm: work on display
7006
* src/engine/Query.c (xaccQueryGetSplitsUniqueTrans): fix bug
7008
* src/gnome/window-register.c: add arguments to report window
7009
for title & debit/credit strings
7011
2001-03-21 James LewisMoss <jimdres@mindspring.com>
7013
* src/engine/Account.c (xaccAccountInsertSplit): add test to not
7014
remove if the account is the same.
7015
(xaccAccountInsertSplit): add check to see if the split already
7016
exists in the account.
7018
* src/test/test-xml2-is-file.c (main): use simple_success_test.
7020
* src/test/test-xml-transaction.c (test_add_transaction):
7021
cleanup. use simple_success_test.
7023
* src/test/test-xml-commodity.c (test_add_commodity): use
7024
simple_success_test.
7026
* src/test/test-xml-account.c (test_add_account): use
7027
simple_success_test.
7029
* src/test/test-string-converters.c (test_string_converters): use
7030
success_with_error_args.
7032
* src/test/test-kvp-frames.c (test_kvp_copy_compare): use
7033
simple_success_test.
7035
* src/test/test-dom-converters1.c
7036
(test_dom_tree_to_commodity_ref): user simple_success_test
7038
* src/test/test-load-xml2.c (main): use success_test_with_error_args
7040
* src/test/test-stuff.c (get_random_string_in_array): new func to
7041
get a random string from a string array.
7042
(get_random_commodity): move func here from test-xml-commodity.c
7043
(success_test_with_error_args): new func.
7044
(vfailure_args): new func. make failure_args call this.
7045
(vsuccess_args): new func. make success_args call this.
7047
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): zero
7050
* src/engine/gnc-book.c (gnc_book_push_error): add new parameter
7052
(gnc_book_push_error): Change everything to use it (adding NULL
7054
(get_default_error_message): new func to return a message based on
7056
(gnc_book_get_error_message): new func to return error message.
7057
(gnc_book_pop_error): change to use clear error so the freeing
7058
behavior of the error message doesn't have to be copied.
7059
(gnc_book_clear_error): free the error message.
7061
* src/engine/io-gncxml-v2.c (gnc_is_xml_data_file_v2): use new
7064
* src/engine/sixtp.c (gnc_is_our_xml_file): extract out v2 xml is
7065
ours test code and create new func.
7066
(search_for): move here from io-gncxml-v2.c
7067
(eat_whitespace): likewise.
7069
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): set
7072
* src/gnome/cursors.c (set_cursor_helper): add NULL test for
7073
window. I think this is a timing thing found by not having the
7074
window come up quickly enough.
7076
2001-03-20 Christian Stimming <stimming@tuhh.de>
7078
* src/scm/report/income-expense-graph.scm,
7079
income-or-expense-pie.scm: Fixed account choosing, fixed default
7080
report currency, added currency exchange calculation.
7082
2001-03-20 Dave Peticolas <dave@krondo.com>
7084
* src/gnome/dialog-progress.c
7085
(gnc_progress_dialog_set_activity_mode): new func
7087
* src/guile/gnc.gwp: add new progress dialog api
7089
* src/engine/date.h: remove unneeded includes
7091
* src/scm/report/income-or-expense-pie.scm: make 'other' slice
7092
a link to a new pie report
7094
* src/scm/report.scm (gnc:make-report-options): new func
7096
* src/register/splitreg.c (configLayout): don't show balance
7097
column in stock registers
7099
* src/gnc-ui-util.c (xaccSPrintAmount): put currency symbol
7100
after quantity for shares values
7102
* src/guile/option-util.c (gnc_commit_option): update GUI value
7104
* src/gnome/gnc-html-guppi.c: new func for shutting down guppi
7106
* src/gnome/top-level.c (gnc_ui_shutdown): shutdown guppi
7108
* src/scm/report/income-or-expense-pie.scm: use shorter names
7111
* src/scm/report/income-expense-graph.scm: work on display
7113
* src/scm/html-utilities.scm (gnc:account-anchor-text): new func
7115
* src/gnome/gnc-html.c: check for null args
7117
* src/scm/report/income-or-expense-pie.scm: work on display
7119
* src/scm/html-utilities.scm: add function for assigning colors
7121
2001-03-20 James LewisMoss <jimdres@mindspring.com>
7123
* src/engine/Group.c (xaccGroupRemoveAccount): rename function
7124
from xaccRemoveAccount and add Group parameter to make it fit with
7126
(xaccAccountRemoveGroup): rename function from xaccRemoveGroup to
7127
better fit naming conventions and add Account parameter. Actually
7128
make the parameter just an Account.
7130
* src/test/test-xml2-is-file.c (main): same as below.
7132
* src/test/test-xml-transaction.c (main): same as below.
7134
* src/test/test-split-vs-account.c (main): same as below.
7136
* src/test/test-string-converters.c (main): add print_test_stats
7139
* src/test/Makefile.am (STUFF): remove test-dom-parser1 because
7142
* src/test/test-dom-converters1.c (main): same as below.
7144
* src/test/test-date-converting.c (main): add print_test_stats
7147
* src/test/test-stuff.c (print_stats): new func.
7148
(success_args): print success only if set.
7149
(success_args): increment successes.
7150
(failure_args): increment failures.
7152
* src/engine/gnc-transaction-xml-v2.c (split_to_dom_tree): don't
7153
add a memo field with an empty string as the value.
7155
* src/engine/sixtp-dom-parsers.c (dom_tree_to_text): don't return
7156
NULL if no children. This just means there is no text and we
7157
should return a strduped "".
7159
* src/engine/gnc-transaction-xml-v2.c (trn_dom_handlers): make
7160
slots not required transaction item.
7162
* src/engine/gnc-account-xml-v2.c: make code and description not
7164
(account_parent_handler): Add tests for NULL data.
7166
2001-03-19 Dave Peticolas <dave@krondo.com>
7168
* src/gnome/gnc-html-guppi.c: fix callback pointer
7170
* src/engine/Transaction.c (xaccSplitGetCorrAccountName): i18n
7171
(xaccSplitGetCorrAccountCode): i18n
7173
* src/guile/gnucash.c.in (gnucash_lowlev_app_init): update
7176
* src/scm/report.scm: more work on display
7178
* src/scm/report/register.scm: add api for printing a
7179
register report. more work on display
7181
* src/gnome/window-report.c (gnc_print_report): add api
7182
for printing reports
7184
* src/gnome/gnc-html.c: check for no urltype callback
7186
* src/scm/report/stylesheet-plain.scm: add some more space
7189
* src/gnome/window-register.c: add support for printing reports
7191
* src/guile/gnc.gwp: add print report api
7193
* src/gnome/gnc-html.c: use PWARN, not printf
7195
* rpm/gnucash.spec.in: add finance-quote-helper as executable
7197
2001-03-19 Derek Atkins <warlord@MIT.EDU>
7199
* src/engine/rpc/*: Gnucash RPC Subsystem (Backend and Server).
7200
Still considered experimental. Note that the RPC protocol may
7201
change over time causing client/server incompatibilities between
7202
various versions of client and server.
7204
* configure.in: Add option to --enable-rpc. Hook in RPC Subsystem
7206
* src/engine/Account.c: Fix for initial balance on
7207
stock/etc. accounts. In particular, don't set to zero if there
7210
* src/engine/Backend.h: New RPC errors
7212
* src/engine/Query.{c,h}: Add function to obtain the internal
7213
Query Predicate functions (for use in rebuilding Queries from
7216
* src/engine/Transaction.c: Be sure to call the backend in
7217
xaccTransRollbackEdit()
7219
* src/engine/gnc-book.{c,h}: Added gnc_run_rpc_server() function.
7220
Added hooks to call RPC Backend
7222
* src/guile/gnc.gwp: added gnc_rpc_server() and new RPC Backend errors
7224
* src/scm/command-line.scm: added --rpc-server optio
7226
* src/engine/Makefile.am: Added RPC subdir
7228
2001-03-19 Dave Peticolas <dave@krondo.com>
7230
* src/gnome/gnc-dir.h.in: move to src/gnome. fix for make dist
7233
* src/gnome/Makefile.am: add gnc-dir.h target
7235
* src/Makefile.am: remove gnc-dir.h target
7237
* src/quotes/Makefile.am: add gnc-prices to dist
7239
* src/scm/report/transaction-report.scm (record): use number-cell
7242
* src/scm/report/register.scm: use number-cell style
7244
* src/engine/gnc-pricedb.c (gnc_price_unref): unref quote source
7246
2001-03-18 Dave Peticolas <dave@krondo.com>
7248
* src/engine/gnc-pricedb.c (compare_prices_by_date): sort
7249
in descending order so the most recent quote is first.
7251
* AUTHORS: update author info
7253
* doc/sgml/C/xacc-about.sgml: update author info
7255
* src/gnome/top-level.c: add VERSION arg to gnome_init
7257
2001-03-16 Rob Browning <rlb@cs.utexas.edu>
7259
* src/scm/utilities.scm
7260
(item-list->hash!): new - fancy (possibly over-customizable)
7261
list->hash converter function.
7262
(filteroutnulls): simplify via SRFI-1.
7263
(flatten): speedup - avoid intermediate appends.
7264
(striptrailingwhitespace): speedup - avoid intermediate substrings.
7265
(string-join): speedup - (maybe), trade string-appends for conses.
7267
* src/scm/process.scm
7268
(gnc:run-sub-process): renamed from run-sub-process.
7269
(gnc:cleanup-sub-process): new - take various steps to make sure
7270
we don't leave a zombie lying around.
7272
* src/scm/price-quotes.scm: substantial rework - now much smarter,
7273
though still a bit too obfuscated.
7275
* src/scm/engine-utilities.scm: various cleanups, speedups, and
7277
(gnc:filename->book): deleted.
7278
(gnc:call-with-account-data-from-file): deleted.
7279
(gnc:url->loaded-book): new function.
7281
* src/scm/command-line.scm (gnc:*arg-defs*): add
7282
--add-price-quotes option.
7284
* src/quotes/finance-quote-helper.in: new file - renamed from
7285
price-quote-helper.in.
7287
* src/quotes/README: various updates.
7289
* src/quotes/Quote_example.pl: document that we *don't* use the
7290
"fetch" method in gnucash.
7292
* src/quotes/gnc-prices: new file -- replaces gnc-prices.in and is
7293
now just a wrapper for "gnucash --add-price-quotes".
7295
* src/quotes/Makefile.am: accomodated renaming of
7296
price-quote-helper to finance-quote-helper. Also moved
7297
finance-quote-helper to GNC_SHAREDIR from pkgdatadir.
7298
(gncsharedir): grab GNC_SHAREDIR.
7299
(gncshare_SCRIPTS): put finance-quote-helper in GNC_SHAREDIR.
7301
* src/guile/gnc.gwp: wraped new quote timezone API. Added new
7302
gnc-book wrappers and new pricedb wrappers -- still not finished.
7304
* src/gnome/gnc-dialogs.glade: add quote timezone menu.
7306
* src/gnome/dialog-utils.h: added prototypes for timezone menu
7309
* src/gnome/dialog-utils.c:
7310
(known_timezones): new - list of quote timezones we support.
7311
(gnc_find_timezone_menu_position): new.
7312
(gnc_timezone_menu_position_to_string): new.
7313
(gnc_ui_quote_tz_menu_create): new.
7315
* src/gnome/dialog-account.c
7316
(struct _AccountWindow): add quote_tz_menu.
7317
(gnc_account_to_ui): support quote_tz_menu.
7318
(gnc_ui_to_account): support quote_tz_menu.
7319
(gnc_account_window_create): create quote_tz_menu.
7321
* src/gnc-ui-util.h: warn to update price-quotes.scm when
7322
PriceSourceCode changes.
7324
* src/engine/io-gncbin-r.c
7325
(cvt_potential_prices_to_pricedb_and_cleanup): Timespec* ->
7326
Timespec for price time function(s).
7328
* src/engine/gnc-pricedb.h: Timespec* -> Timespec for time
7331
* src/engine/gnc-pricedb.c
7332
(gnc_price_clone): re-enable, and Timespec* -> Timespec
7333
(gnc_price_set_time): Timespec* -> Timespec
7334
(gnc_price_get_time): Timespec* -> Timespec
7335
(compare_prices_by_date): Timespec* -> Timespec
7336
(gnc_pricedb_lookup_at_time): Timespec* -> Timespec
7337
(gnc_price_print): minor fixes (still lame).
7338
(gnc_price_print_stdout): new (for lame guile side debugging).
7340
* src/engine/gnc-pricedb-xml-v1.c: change price time args/results
7341
from Timespec* to Timespec (to be more guile friendly).
7343
* src/engine/gnc-book.c (gnc_book_init): be more thorough.
7345
* src/engine/Backend.h: warn to update gnc.gwp on some mods.
7347
* src/engine/Account.h: support new funcs and update docs.
7349
* src/engine/Account.c
7350
(xaccAccountSetQuoteTZ): new.
7351
(xaccAccountGetQuoteTZ): new.
7353
2001-03-16 Dave Peticolas <dave@krondo.com>
7355
* src/scm/report/transaction-report.scm: add line before
7358
* src/scm/report/register.scm: more work
7360
* src/gnome/window-register.c: display shares & current value
7363
* src/engine/gnc-pricedb.h: fix spelling error
7365
* src/gnc-exp-parser.c (gnc_exp_parser_parse): check for
7368
* src/calculation/finvar.h: add new parser error type
7370
* src/gnome/dialog-transfer.c (gnc_xfer_dialog_create): don't
7371
set editable_enters for amount field
7373
* src/engine/gnc-numeric.c: check for invalid arg
7375
2001-03-15 Dave Peticolas <dave@krondo.com>
7377
* src/engine/sixtp-to-dom-parser.c (dom_chars_handler): use
7378
xmlNodeAddContentLen
7380
* src/gnome/gnc-dialogs.glade: tweak stylesheet dialog
7382
* src/gnome/dialog-style-sheet.c: tweak looks
7384
* src/scm/report/register.scm: new report
7386
* src/guile/gnc.gwp: g-wrap new query api
7388
* src/gnome/window-register.c: add report menu and toolbar items
7390
* src/engine/Query.c: handle NULL pointers, add api to get list
7391
of splits with unique transactions
7393
2001-03-15 James LewisMoss <jimdres@mindspring.com>
7395
* src/engine/gnc-book.c (gnc_book_load_from_file): add xml v2
7396
loading. Make use new funcs (below)
7397
(happy_or_push_error): new func.
7398
(gnc_book_determine_file_type): new func.
7400
2001-03-14 Dave Peticolas <dave@krondo.com>
7402
* rpm/gnucash.spec.in: simplify
7404
* configure.in: add 'da' to language list
7406
* src/gnome/dialog-totd.c (totd_close_cb): increment tip on
7407
close so we open with the next one
7409
* src/scm/tip-of-the-day.scm: make current tip number a preference
7410
so it is saved and restored
7412
* src/gnome/druid-commodity.c: same as below
7414
* src/gnome/druid-qif-import.c: same as below
7416
* src/gnome/dialog-commodity.c: prevent user from creating
7419
* src/gnome/gnc-html.c: set busy cursor on html widget
7420
while request is being processed
7422
* src/gnome/window-main.c: hierarchy not heirarchy
7424
* src/gnome/window-help.c: specify the help window as the
7425
request dialog parent
7427
* doc/sgml/C/xacc-dochack.sgml: remove and fix broken links
7429
2001-03-14 James LewisMoss <jimdres@mindspring.com>
7431
* src/engine/io-gncxml-v2.c (gnc_book_load_from_xml_file_v2): Add
7433
(add_account_local): add call to countCallback
7434
(add_commodity_local): same
7435
(add_transaction_local): same.
7437
2001-03-13 Dave Peticolas <dave@krondo.com>
7439
* src/engine/io-gncxml-r.c (gnc_is_xml_data_file): don't print
7440
a warning just because we couldn't open the file
7442
* src/FileDialog.c (gncPostFileOpen): clear the non-iso
7443
commodities before loading the new file
7445
* src/SplitLedger.c (xaccSRGetEntryHandler): convert imbalance
7446
to transaction currency fraction
7448
* src/FileDialog.c (gncFileNew): clear the non-iso commodities
7450
* src/engine/gnc-commodity.c (gnc_commodity_table_remove_non_iso):
7453
* src/test/test-xml-commodity.c: remove duplicate string_to_integer
7455
* src/gnome/dialog-userpass.c: add missing #include
7457
* src/register/gnome/Makefile.am: add gnome & glib flags
7459
* src/engine/Makefile.am: add glib libs
7461
* src/engine/sql/Makefile.am: add glib flags
7463
* configure.in: fix includes used to check for sizes
7465
* acinclude.m4: fix guppi macro
7467
* macros/: update m4 files
7469
2001-03-13 James LewisMoss <jimdres@mindspring.com>
7471
* src/test/test-stuff.c (get_random_string): sometimes generate
7472
empty strings and NULL (10% each).
7473
(get_random_string): and 10% of the time generate a larger string.
7474
(get_random_character): Generate better characters.
7476
* src/engine/io-gncxml-v2.c (gnc_counter_end_handler): complete
7478
(print_counter_data): new func.
7479
(gnc_book_load_from_xml_file_v2): call above func at end of
7482
* src/engine/sixtp-dom-parsers.c (string_to_integer): move here
7483
from gnc-commodity-xml-v2.c
7485
* src/engine/io-gncxml-v2.c (gnc_book_write_to_xml_file_v2): add
7486
transaction number output.
7488
* src/engine/Group.c (xaccGroupForEachTransaction): actually make
7490
(xaccGroupVisitUnvisitedTransactions): actually make this work.
7491
Don't get accounts from group. We already are looking at all of
7492
them by xaccGroupGetSubAccounts.
7493
(xaccGroupVisitUnvisitedTransactions_thunk): new func for
7494
xaccAccountForEachTransaction call.
7496
* src/test/test-string-converters.c (test_string_converters): add
7497
func to test some more difficult strings (including xml special
7500
* src/engine/gnc-account-xml-v2.c (gnc_account_dom_tree_create):
7501
convert to use text_to_dom_tree.
7503
* src/engine/gnc-commodity-xml-v2.c
7504
(gnc_commodity_dom_tree_create): convert to use text_to_dom_tree.
7506
* src/engine/gnc-book.c (gnc_book_count_transactions): new func.
7508
* src/engine/io-gncxml-v2.c: (write_account_group)new func.
7509
extract out stuff from write_accounts. Forgot to traverse down
7510
accounts so a bunch of the accounts weren't being written.
7511
(write_accounts): now just call the write_account_group func.
7512
(gnc_book_write_to_xml_file_v2): use xaccGroupNumSubAccounts to
7513
get the number of accounts.
7515
2001-03-13 Dave Peticolas <dave@krondo.com>
7517
* src/engine/sixtp-utils.c (gnc_timegm): new func. define as
7518
timegm if present, otherwise implement using mktime.
7519
(string_to_timespec_secs): use gnc_timegm for UTC parsing
7521
* src/engine/io-gncxml-r.c (gnc_book_load_from_xml_file): remove
7524
* src/test/test-date-converting.c: remove putenv
7526
* src/test/test-dom-converters1.c: remove putenv
7528
* src/test/test-xml-transaction.c: remove putenv
7530
* src/gnome/gnc-http.c: same as below
7532
* src/engine/NetIO.c (setup_request): use config.h instead
7533
of hard-coding package and version
7535
* configure.in: check for timegm function
7537
* src/scm/report/taxtxf.scm: more porting work
7539
* src/scm/html-text.scm (gnc:html-markup-em): new func
7541
* src/scm/report/stylesheet-plain.scm: add some default styles
7543
* src/scm/html-style-sheet.scm: remove non-type styles
7545
* src/scm/html-document.scm (gnc:html-document-markup-start):
7546
check for non-string attributes
7548
2001-03-12 Dave Peticolas <dave@krondo.com>
7550
* src/scm/html-style-info.scm: cleanup
7552
2001-03-12 James LewisMoss <jimdres@mindspring.com>
7554
* src/gnome/window-main.c (gnc_ui_xml_v2_cb): new func.
7555
(gnc_ui_account_heirarchy_cb): new empty func.
7556
(gnc_main_create_menus): add devel menu.
7558
* src/engine/io-gncxml-v2.h (struct _load_counter_struct): add
7561
* src/engine/io-gncxml-v2.c: mostly complete everything. Writing
7562
only partially tested. Reading not tested at all.
7564
* src/engine/gnc-xml.h: add pricedb declarations.
7566
* src/engine/gnc-transaction-xml-v2.c (split_to_dom_tree): check
7567
for NULL return from kvp_frame_to_dom_tree and don't add if we get
7569
(gnc_transaction_dom_tree_create): same.
7571
* src/engine/gnc-commodity.c (gnc_commodity_table_get_size): add func.
7573
* src/engine/gnc-account-xml-v2.c (gnc_account_dom_tree_create):
7574
check for NULL return from kvp_frame_to_dom_tree and don't do
7575
anything if we get it.
7577
* src/gnome/gnc-http.c (gnc_http_start_post): cast data to char*
7578
(it's const char*) (compile warning)
7580
* src/gnome/gnc-html.c: put const on char *ptr (compile warning)
7582
* src/doc/xml/io-gncxml-version2.dtd: reorder commodity and
7583
prices. Add count data defs.
7585
* src/engine/sixtp-dom-generators.c (timespec_to_dom_tree): Only
7586
write nanoseconds if > 0.
7587
(kvp_frame_to_dom_tree): don't return an xmlNodePtr if the frame
7588
is null or contains no data.
7590
* src/engine/gnc-commodity-xml-v2.c
7591
(gnc_commodity_dom_tree_create): check to see if xcode is > 0
7593
* src/engine/gnc-account-xml-v2.c (gnc_account_dom_tree_create):
7594
check for description and code strlen > 0
7596
* src/engine/gnc-pricedb-xml-v1.c (pricedb_v2_end_handler): make
7597
this func work in the v2 manner with a callback in the global
7599
(gnc_pricedb_sixtp_parser_create): change to work in the v2 manner
7600
with an end handler that does the final link of the data into the
7602
(pricedb_after_child_handler): add upping the counter for prices
7605
2001-03-12 Dave Peticolas <dave@krondo.com>
7607
* src/engine/io-gncxml-r.c (gnc_book_load_from_xml_file): use
7608
TZ=UTC while parsing xml.
7610
* src/engine/sixtp-utils.c: adjust for timezone offset manually
7612
* src/scm/html-table.scm ((gnc:make-html-table-header-cell/markup
7613
markup . objects)): new func
7615
* src/scm/report/taxtxf.scm: more work on porting
7617
* src/scm/html-style-sheet.scm: add "<number-cell>" and
7618
"<number-header>" styles.
7620
* src/scm/report/account-summary.scm: use "Total" not "Net
7621
Assets". This is a general report, not just limited to asset
7624
2001-03-10 Dave Peticolas <dave@krondo.com>
7626
* src/engine/Ledger-xml-parser-v1.c
7627
(ledger_data_after_child_handler): mark pricedb as clean after
7630
2001-03-09 Bill Gribble <grib@billgribble.com>
7632
* add configure/acconfig option for GPG
7634
* src/gnome/gng-gpg.c: add handlers for creation of keypair
7635
(with passphrase) and for exporting public key block to GnuCash
7636
Network server. Fix bugs in old keypair creator. Add passphrase
7637
handling to data encrypt/decrypt.
7639
* src/gnome/gnc-html-actions.c: rewrite privacy notice to use
7640
GnuCash Network terminology. The longer you guys wait to bitch
7641
about the name the more stuck it is. Rewrite gnc-info/form handler
7642
to submit GnuCash version and feature information.
7644
* src/gnome/gnc-html.c: respect global preferences for HTTP, SSL,
7645
and GnuCash Network transactions. Change submit handler calls to
7646
unpack encoded form data into a hash table and possibly re-encode
7647
and re-pack if necessary. Fix bugs in submit handler lookups.
7648
Add RFC-1738 decoder to go with the encoder.
7650
* src/gnome/window-help.c: fix bugs in Open dialog.
7652
* src/scm/html-table.scm: Add new table-cell/markup and
7653
append-row/markup functions to make it easier to set semantic data
7654
styles in style sheets. Remove dead code.
7656
* src/sc/prefs.scm: New preferences section, "Network", with
7657
options to globally disable HTTP, SSL, and GnuCash Network, and to
7658
assign the GnuCash Network server name.
7660
* src/scm/report/table-test.scm: new test report to demonstrate
7661
row and cell semantic style
7663
2001-03-09 James LewisMoss <jimdres@mindspring.com>
7665
* src/doc/xml/prices-v1.dtd: Add rest of def.
7667
* src/engine/gnc-pricedb-xml-v1.c (add_child_or_kill_parent):
7668
remove unneeded check since NULL has already been checked.
7669
(xml_add_gnc_pricedb): extract out pricedb xmlNodePtr creation to
7670
func not requiring parent then add that to parent passed into this
7672
(gnc_pricedb_to_dom_tree): new func.
7673
(gnc_pricedb_sixtp_parser_create): new func to call other so names
7674
are standard in v2 parser setup.
7676
* src/engine/Account.c (xaccAccountInsertSplit): Remove unused
7677
var oldacc (assigned to once) and the block that went with it.
7679
* src/gnc-ui-util.c (gnc_account_print_info_helper): New helper
7681
(gnc_account_quantity_print_info): Use new helper func.
7682
(gnc_account_value_print_info): same.
7683
(gnc_default_print_info_helper): new helper func.
7684
(gnc_default_share_print_info): use new helper func.
7685
(gnc_default_price_print_info): same.
7686
(gnc_split_quantity_print_info): add test for NULL split and
7688
(gnc_split_value_print_info): same.
7690
2001-03-08 James LewisMoss <jimdres@mindspring.com>
7692
* src/test/test-stuff.c (failure): don't print num if == -1.
7694
(get_random_account): move here from test-xml-account.c
7695
(get_random_split): move here from test-xml-transaction.c
7696
(get_random_transaction): same.
7697
(success_args): New func.
7698
(success): Simplified version
7699
(failure_args): new func.
7700
(failure): Simplified version.
7702
* src/engine/io-gncbin-r.c: same as below.
7704
* src/engine/TransLog.c (xaccTransWriteLog): same as below.
7706
* src/engine/Group.c (xaccGroupMergeAccounts): same as below.
7708
* src/engine/Backend.c (xaccTransactionGetBackend): Convert to not
7709
use the split's acc part directly, but only to access through
7712
* src/engine/sixtp-dom-parsers.c (dom_tree_generic_parse): Add
7715
* src/engine/gnc-account-xml-v2.c (gnc_account_end_handler): use
7716
generic parser extracted from here and used here and
7717
gnc-transaction-iml-v2.c
7719
* src/engine/Transaction.c (xaccInitSplit): Add a split->acc_guid
7720
field that is set to the account's guid. This way an Account is
7721
not required to exist yet when loading the split. Later when
7722
xaccSplitGetAccount is called the account is looked up, cached and
7723
returned. Make sure everything accesses ->acc through the helper
7726
* src/engine/AccountP.h: same as below.
7728
* src/engine/Account.c (xaccAccountSetGUID): mark guid argument
7729
const since it doesn't keep a pointer to it.
7731
* src/doc/xml/transactions-v2.dtd: change guid -> id.
7733
2001-03-08 Dave Peticolas <dave@krondo.com>
7735
* src/scm/report/report-list.scm: load tax report if possibly in
7738
* src/scm/report/taxtxf.scm: work on tax report (unfinished)
7740
2001-03-07 James LewisMoss <jimdres@mindspring.com>
7742
* src/engine/Transaction.c (get_denom_internal): New helper func.
7743
(get_currency_denom): use func.
7744
(get_security_denom): use func.
7746
* src/engine/sixtp.c: (sixtp_sax_end_handler,
7747
sixtp_sax_characters_handler, sixtp_sax_start_handler): don't use
7748
g_return_if_fail to test pdata->parsing_ok so we don't see the
7749
million CRITICAL warnings. We'll print an error at the end
7752
2001-03-07 Dave Peticolas <dave@krondo.com>
7754
* src/scm/report/hello-world.scm: use new html format functions.
7755
Add scheme reference.
7757
* src/gnome/dialog-fincalc.c (gnc_ui_fincalc_dialog_create): hide
7758
schedule button. Use 'lookup_widget'.
7760
* src/gnome/gnc-html.c (gnc_html_export): handle cancelling
7762
* src/scm/html-style-info.scm: remove cruft
7764
2001-03-08 Robert Graham Merkel <rgmerk@mira.net>
7766
* src/scm/report/transaction-report.scm: More colourization.
7768
2001-03-07 Bill Gribble <grib@billgribble.com>
7770
* summary: separate the HTML and HTTP processing functions into
7771
different files to facilitate reuse. Modularize much of the
7772
gnucash-specific behavior of the HTML code (<object> and form
7773
submission) to use run-time-expandable bahavior tables. Add the
7774
gnc-action: mechanism for installing form submission handlers.
7776
* src/gnome/gng-gpg.c: initialize gnc-html handler for crypted
7777
HTML objects. Remove all mention of GPG from gnc-html.c
7779
* src/gnome/gnc-html-actions.c: new file. Add a simple form
7780
submission action (action=gnc-action:gnc-info/form?CGI_URL) to
7781
test submit and action processing. This is useless ATM. Some of
7782
the stuff in the privacy comments is unimplemented yet.
7784
* src/gnome/gnc-html-guppi.c: move all Guppi references from
7785
gnc-html.c into a separate file, with an initializer for
7786
the Guppi <object> tags.
7788
* src/gnome/gnc-html.c: get rid of SSL references; all that stuff
7789
is now in gnc-http.c. Restructure to use gnc-http instead of
7790
ghttp directly. Finish GET and POST default handlers, and add
7791
handler lookup/install mechanism for gnc-action: actions. crib
7792
urlencoding function from gtkhtml guts.
7794
* src/gnome/gnc-http.c: new file. Move HTTP stuff here. Finish
7797
* src/gnome/top-level.c: add calls to Guppi, GPG, and gnc-html
7798
init functions. These calls will eventually go into loadable
7799
module startup functions, when we get loadable modules.
7801
* src/scm/html-text.scm: Add html-markup/format.
7802
(html-markup/format "%a %a %a %a" 1 2 3 4) does what you'd expect,
7803
even if the non-format args are html-markup objects.
7805
2001-03-07 Dave Peticolas <dave@krondo.com>
7807
* src/gnome/top-level.c (gnc_ui_check_events): add timeout
7808
handler for checking backend events.
7810
* src/engine/gnc-book.{ch}: add api calls to use backend
7813
* src/engine/BackendP.h (struct _backend ): add events_pending
7814
and process_events callbacks.
7816
* src/scm/command-line.scm: extend usage command with argument
7819
* src/pixmaps/Makefile.am: switch splash graphics
7821
* src/gnome/gnc-splash.c (gnc_show_splash_screen): add a border.
7824
* src/gnome/window-main.c: store namespace & mnemonic instead
7825
of commodity pointers in the asset/profit widget.
7827
2001-03-07 Robert Graham Merkel <rgmerk@mira.net>
7829
* src/scm/report/transaction-report.scm: Added row colors to make
7830
things look pretty. Comments on effectiveness appreciated.
7832
* src/scm/html-table.scm: keep track of how many rows are in the
7835
2001-03-06 Dave Peticolas <dave@krondo.com>
7837
* src/scm/iso-4217-currencies.scm: remove duplicate currency
7838
fix colonial franc names
7840
* src/engine/sixtp-dom-parsers.c (dom_tree_to_commodity_ref): use
7841
gnc_commodity_destroy, not g_free.
7843
* src/guile/gnc.gwp: fix for new commodity insert
7845
* src/gnome/druid-qif-import.c: fix for new commodity insert
7847
* src/gnome/dialog-commodity.c: check for existing commodity.
7848
fix for new commodity insert.
7850
* src/engine/io-gncbin-r.c: fix for new commodity insert
7852
* src/gnome/druid-commodity.c: fix for new commodity insert
7854
* src/engine/gnc-commodity.c: change commodity insert semantics to
7855
use an existing commodity if present. Remove
7856
gnc_commodity_table_remove(). It wasn't used and was a mem leak.
7858
* src/engine/Commodity-xml-parser-v1.c
7859
(commodity_restore_end_handler): use gnc_commodity_destroy,
7862
2001-03-05 Dave Peticolas <dave@krondo.com>
7864
* src/register/gnome/gnucash-item-edit.{ch}: improve horizontal
7867
2001-03-05 Christian Stimming <stimming@tuhh.de>
7869
* src/scm/html-utilities.scm: reorganizing of the hierarchical
7870
reports: subtotals are now printed *below* the subaccounts instead
7873
2001-03-05 James LewisMoss <jimdres@mindspring.com>
7875
* src/engine/Transaction.c (xaccSplitSetAccount): new func.
7877
* src/doc/xml/transactions-v2.dtd: move splits to an array type
7880
2001-03-04 Dave Peticolas <dave@krondo.com>
7882
* configure.in: define a new substitution GNC_PIXMAP_DIR for
7883
a pixmap directory. check for gal.
7885
* src/pixmaps/Makefile.am (gncpixmapdir): install in configured
7888
* src/gnc-dir.h.in (GNC_PIXMAP_DIR): define pixmap directory
7890
* src/Makefile.am (gnc-dir.h): configure pixmap directory
7893
* src/gnome/dialog-utils.c (gnc_get_pixmap): use configured
7896
* src/engine/gnc-associate-account.c: fix some uses of glib
7897
list routines (they always return the new head of the list).
7899
* src/pixmaps: add gnucash_long.png graphic
7901
* src/gnome/top-level.c (gnucash_ui_init): show splash screen
7903
* src/gnome/gnc-splash.{ch}: splash screen functionality
7905
* src/gnome/dialog-utils.{ch} (gnc_get_pixmap): new function
7907
* src/gnc-dir.h.in: add header file with directory info
7909
* src/guile/Makefile.am: use BUILT_SOURCES for *.in sources
7911
2001-03-04 Christian Stimming <stimming@tuhh.de>
7913
* src/scm/html-utilities.scm: Added different printing of stock
7914
accounts. Started a new layout/ordering for sub-totals.
7916
* src/scm/commodity-utilities.scm (gnc:sum-collector-stocks):
7917
added such that stock prices are no longer shown but foreign
7918
currencies are. Rounding precision increased. Added sanity checks
7919
for arguments of various funtions.
7921
* src/scm/report-utilities.scm (gnc:account-is-stock?): added
7924
2001-03-04 Dave Peticolas <dave@krondo.com>
7926
* src/gnome/window-help.c: save & restore window size
7928
* src/gnome/window-report.c: save & restore window size
7930
* src/scm/prefs.scm: add vars for report & help win sizes
7932
2001-03-03 Dave Peticolas <dave@krondo.com>
7934
* src/engine/sql/README: add info about running without root
7937
* src/engine/sql/design.txt: update design docs
7939
* src/engine/sql/PostgresBackend.c (pgend_session_begin): connect
7940
to template1 database instead of 'gnucash'
7942
2001-03-02 Dave Peticolas <dave@krondo.com>
7944
* src/gnome/new-user.glade: tweak layout, strings
7946
* src/gnome/new-user-funs.h: add gpl header
7948
* src/gnome/new-user-funs.{ch}: add gpl header
7950
* src/gnome/new-user-callbacks.c: tweak layout, add gpl header
7952
* src/gnome/gnc-dialogs.glade: add title to transfer dialog
7954
* src/engine/gnc-pricedb.c (gnc_pricedb_destroy): fix mem leak
7956
* src/gnome/dialog-options.c: cleanup destruction semantics.
7959
* src/engine/io-gncxml-r.c (gnc_book_load_from_xml_file): fix mem
7962
* src/gnome/dialog-utils.c (gnc_build_option_menu): destroy
7963
tooltips when menu is destroyed
7965
2001-03-02 James LewisMoss <jimdres@mindspring.com>
7967
* src/test/test-xml-transaction.c (test_generation): add success
7968
call for creation accuracy.
7970
* src/test/test-xml-commodity.c (test_generation): Add success
7971
call for creation accuracy.
7973
* src/test/test-xml-account.c (test_generation): Add call to
7974
xaccGUIDinit. Don't know how this was working before without this
7975
call. Maybe hit good memory spots before.
7976
(test_generation): add success call for creation accuracy.
7978
* src/engine/Transaction.c (xaccSplitSetSlots_nc): New func.
7979
(xaccTransSetSlots_nc): new func.
7981
2001-03-01 James LewisMoss <jimdres@mindspring.com>
7983
* src/engine/gnc-account-xml-v2.c (account_id_handler): fix mem
7984
leak because xaccAccountSetGUID doesn't keep pointer to guid
7987
2001-03-01 Dave Peticolas <dave@krondo.com>
7989
* src/gnome/dialog-transfer.c: destroy tooltips object
7991
* src/gnome/window-main.c (gnc_ui_destroy_all_subwindows): now all
7992
windows use component manager
7994
* src/gnome/window-report.c: add report to component manager.
7995
cleaner destruction behavior
7997
* src/gnome/window-help.c: cleaner destruction behavior
7999
* src/gnome/gnc-html.c: fix to avoid having the ref the container
8000
from outside for destruction
8002
* src/FileDialog.c (gncAddHistory): fix mem leak
8004
* src/gnome/dialog-options.c (gnc_option_create_date_widget): fix
8007
2001-03-01 James LewisMoss <jimdres@mindspring.com>
8009
* src/engine/gnc-account-xml-v2.c (account_id_handler): fix mem
8010
leak because xaccAccountSetGUID doesn't keep pointer to guid
8013
2001-03-01 Dave Peticolas <dave@krondo.com>
8015
* src/register/gnome/gnucash-sheet.c: if input is cancelled by
8016
user during delete, ignore the insert callback.
8018
* src/MultiLedger.c: update for new view api
8020
* src/register/recncell.{ch}: allow setting a parent to be used
8023
* src/gnome/query-user.c (gnc_verify_dialog_parented): handle null
8024
parent by using gnc_get_ui_data.
8026
* src/gnome/window-register.c: eliminate calls to
8027
xaccSRCheckReconciled. confirmation is done in SplitLedger.c now.
8029
* src/SplitLedger.c: use new data entry confirmation callback
8030
to confirm changes to a reconciled split.
8032
* src/register/splitreg.{ch}: mod for table-allgui changes
8034
* src/register/table-allgui.{ch}: encapsulate 'view' callbacks
8035
into a struct. add a callback for confiming data entry.
8037
2001-03-01 Robert Graham Merkel <rgmerk@mira.net>
8039
* src/scm/report/transaction-report.scm (add-split-row): Now
8040
uses date-posted rather than date-entered.
8041
(used-<foo>, build-column-used): use a vector rather than a
8042
record. *Big* speedup :)
8044
* src/scm/html-document.scm (gnc:document-fetch-markup-style): use
8045
a let rather than repeated variable lookups.
8046
(gnc:document-fetch-data-style): ditto.
8047
(gnc:html-document-markup-end): use new closing-font-tag? variable
8050
* src/scm/html-document.scm (<html-markup-style-info>): add new
8051
closing-font-tag? variable to speedup closing tags. Also modify
8052
setter functions to set closing-font-tag to appropriate values,
8053
and add a setter and getter for it.
8054
(gnc:html-style-info-markup-set): modify to set closing-font-tag
8055
to appropriate state.
8056
(gnc:html-style-info-markup-merge): modify to set closing-font-tag
8057
to appropriate state
8059
* src/scm/html-table.scm: replace for-each-in-order with for-each,
8060
which has exactly the same semantics according to R5RS (which
8061
guile is a superset of). Was done in hope of speedup, but none
8062
forthcoming. Didn't change back because for-each is R5RS, but
8063
for-each-in-order isn't. Probably should make the substitution
8066
2001-02-28 Dave Peticolas <dave@krondo.com>
8068
* src/engine/Transaction.c (xaccSplitsComputeValue): fix a bug
8070
* src/engine/gnc-book.c (gnc_book_load): fix spelling
8072
* src/engine/Scrub.c (xaccTransScrubImbalance): don't use sub_fixed
8073
since the value may not have the right denominator
8074
(xaccSplitScrub): handle splits without accounts
8076
* src/gnome/query-user.c
8077
(gnc_choose_radio_option_dialog_parented): actually set the parent
8079
* src/SplitLedger.c (xaccSRCheckReconciled): check current
8080
transaction, not current split.
8082
* src/engine/GNCId.c: use GUID allocator for hash keys.
8084
2001-02-28 James LewisMoss <jimdres@mindspring.com>
8086
* src/engine/gnc-commodity-xml-v2.c (gnc_commodity_end_handler):
8087
mem leak. free the node in the end handler.
8089
* src/engine/gnc-commodity.c (reset_unique_name): new func.
8090
(reset_printname): new func.
8091
(gnc_commodity_new): use new funcs
8092
(gnc_commodity_set_mnemonic): use new funcs.
8093
(gnc_commodity_set_namespace): use new funcs.
8094
(gnc_commodity_set_fullname): use new funcs.
8096
* src/engine/gnc-commodity-xml-v2.c (gnc_commodity_end_handler):
8097
Don't free commodity. That's the globaldata funcs job if it wants
8099
(set_commodity_value): Must remember compare equals == 0. Duh.
8101
* src/engine/sixtp.c (sixtp_parse_file): Only run end handler if
8102
parsing is already ok.
8104
* src/test/test-xml-account.c (test_generation): oops should have
8107
* src/engine/gnc-commodity-xml-v2.c (valid_commodity): Complete func.
8109
* configure.in (LIBS): disable libxml/xmlversion.h checks so we can't
8110
compile for libxml2 for now.
8112
* src/test/test-xml-account.c (node_and_account_equal): fix mem
8114
(test_add_account): new func.
8115
(test_generation): Actually test the node created and the
8116
parser. Everything looks good other than some sixtp oddness I
8117
don't understand yet.
8119
* src/engine/gnc-transaction-xml-v2.c
8120
(gnc_transaction_end_handler): same as below.
8122
* src/engine/gnc-commodity-xml-v2.c (gnc_commodity_end_handler):
8123
Use data struct from io-gncxml-v2.h
8125
* src/engine/gnc-account-xml-v2.c (account_currency_handler): Make
8126
not use engine commodity funcs to make this testable. Will have
8127
to have something to clean this up in production code.
8128
(account_security_handler): Same.
8129
(gnc_xml_set_account_data): Oops. Actually set that we have
8130
gotten this so the got all test succeeds.
8131
(gnc_account_end_handler): Start the main parsing setup by relying
8132
on data struct from io-gncxml-v2.h
8133
(gnc_account_end_handler): fix free to free the correct thing.
8134
Add some g_warning calls to make errors more apparent.
8136
2001-02-28 Dave Peticolas <dave@krondo.com>
8138
* src/FileDialog.c: store the original (not comma-fied) version
8139
of the url in the file history.
8141
2001-02-28 James LewisMoss <jimdres@mindspring.com>
8143
* src/test/test-xml-account.c (delete_random_account): new func to
8144
cleanup commodities not generally freed at xaccAccountDestroy.
8145
(node_and_account_equal): complete func to compare account and the
8146
dom tree created. Looks good except for some warnings from
8149
* src/test/test-stuff.c (equals_node_val_vs_commodity): new func.
8150
(equals_node_val_vs_guid): New func.
8151
(equals_node_val_vs_string): new func.
8153
* src/engine/gnc-account-xml-v2.c (account_code_handler): Add func.
8154
(account_description_handler): Add func. Oops forgot a couple.
8155
(gnc_account_dom_tree_create): Move all string tags in file to
8157
(account_slots_handler): Complete func.
8159
* make-gnucash-patch.in: Test to see if makepatch exists.
8161
* src/engine/sixtp-dom-parsers.c (dom_tree_to_text): same as
8162
below. Add NULL tests for arguments. Affected many functions in
8165
* src/engine/gnc-pricedb-xml-v1.c (price_parse_xml_sub_node): Same
8168
* src/engine/gnc-commodity-xml-v2.c (set_commodity_value): Convert
8169
dom_tree_to_text to act as rest looking at children on it's own.
8171
2001-02-27 Dave Peticolas <dave@krondo.com>
8173
* src/register/gnome/gnucash-scrolled-window.c: subclass of
8174
gtk_scrolled_window for use in register.
8176
* src/register/gnome/gnucash-item-list.c: use scrolled window
8177
for really long account names.
8179
* doc/sgml/es/Makefile.am (GNUCASH_SGML_FILES): fix list of sgml
8182
* src/gnc-ui.h: use gncUIWidget not GtkWidget* in non-gnome
8185
* src/engine/sql/PostgresBackend.c (pgendSyncTransaction): add
8186
missing call to gnc_engine_resume_events ().
8188
2001-02-28 Robert Graham Merkel <rgmerk@mira.net>
8190
* src/scm/report/transaction-report.scm: Formatting cleanups.
8191
Gotta keep Dave P happy . . .
8193
* src/scm/html-table.scm: html table data field list now stored in
8194
*reverse* order, to make appending rows fast (prepending is now
8195
O(n^2) however. If we want linear-time appends and prepends,
8196
we'll need a Glist wrapper :) )
8198
* src/scm/report/folio.scm: use renamed collector functions (dunno
8199
why, code is dead . . .)
8201
* src/scm/report/taxtxf.scm: use renamed collector functions (see
8204
* src/scm/report/average-balance.scm: changed to use renamed
8205
collector functions.
8207
* src/scm/commodity-utilities.scm: changed to used renamed
8208
make-<foo>-collector functions.
8210
* src/scm/report-utilities.scm (gnc:make-<foo>-collector): renamed
8211
to prevent namespace pollution.
8213
2001-02-27 James LewisMoss <jimdres@mindspring.com>
8215
* src/test/test-xml-account.c (node_and_account_equal): Start
8216
proper comparison between node and Account.
8218
* src/engine/sixtp-dom-parsers.c (dom_tree_to_guid): Merge in Hans
8219
de Graaff's xml patch. Use safe_strcmp.
8221
* src/engine/gnc-xml-helper.h: cleanup. Merge in Hans de Graaff's
8224
* src/engine/gnc-account-xml-v2.c: Merge in Hans de Graaff's xml
8227
* src/test/test-stuff.c (check_dom_tree_version): Add func.
8229
* src/test/Makefile.am (LDADD): Add EFENCE_LIBS to LDADD list.
8231
* src/Makefile.am: Add EFENCE_LIBS to LDADD list.
8233
* acconfig.h: Add required USE_EFENCE def.
8235
* configure.in: Add --enable-profiling argument.
8236
(GHTTP_CFLAGS): Add --enable-efence argument.
8238
2001-02-27 Dave Peticolas <dave@krondo.com>
8240
* src/gnome/dialog-userpass.c: add a dialog for username/password
8243
2001-02-26 Dave Peticolas <dave@krondo.com>
8245
* src/engine/gnc-engine-util.h: don't evaluate debug macro
8246
arguments unless it's going to be printed.
8248
2001-02-25 Robert Graham Merkel <rgmerk@mira.net>
8250
* src/engine/Query.[ch]: added support for sorting by account
8251
names and codes, as well as names and codes for the "other" split
8252
in the transaction. also, modified (xaccQuerySetSortIncreasing)
8253
so you can sort in different orders for the three criteria
8256
* src/engine/Transaction.[ch]: Added new functions for comparing
8257
splits on account names and codes.
8259
* src/engine/reconcile-list.c (gnc_reconcile_list_set_sort_order):
8260
modified to use new query sorting interface.
8262
* src/scm/report/transaction-report-2.scm: New file. Transaction
8263
report rewritten for our new improved HTML generator. Most
8264
functionality is now present, but the layout is "homely". Will
8267
* src/scm/report/transaction-report.scm: Old transaction report,
8270
* src/scm/report/report-list.scm: added new transaction report.
8272
* src/scm/report-utilities.scm: modified for new query sorting
8275
* src/doc/design/multicurrency.discussion.txt: The log of an IRC
8276
discussion between cstim and myself about his currency-collector
8277
code. Included because it's the only documentation we have on
8280
* src/doc/design/.cvsignore: ignore additional generated files.
8282
2001-02-24 Rob Browning <rlb@cs.utexas.edu>
8284
* configure.in (AC_ARG_ENABLE): add --enable-error-on-warning.
8285
Enables -Werror and whatever else is needed for super-strict
8286
checks. I'm compiling with this now, and I urge everyone else to
8287
as well. We do have a few aggravating things we still ignore,
8288
like unused variables, but as of today, the whole codebase
8289
compiles successfully with this turned on.
8290
(AC_CHECK_PROG): Add a check for etags.
8291
(AC_ARG_WITH): --with-perl-includes - don't die if CORE not found.
8292
I install modules in a local directory and use --perl-includes to
8293
enable gnucash to find Finance::Quote at runtime, but there won't
8295
(AC_CHECK_LIB): popt - note required Debian -dev package.
8297
* macros/autogen.sh (conf_flags): omit --enable-compile-warnings.
8298
This was adding flags that overrode our configure.in settings;
8299
specifically, this kept --enable-error-on-warning from working.
8301
* Makefile.am (noinst_DATA): add optional TAGS target.
8302
(DISTCLEANFILES): add tags cleanup bits.
8303
(TAGS): Add fancy TAGS handling. TAGS file is only built if you
8304
have etags available, and now it takes into account
8305
additions/deletions of files in addition to modifications.
8307
* src/engine/gnc-engine-util.c
8308
(g_hash_table_key_value_pairs): new - returns a GSList of all the
8309
key value pairs in a given hash table so you can manipulate them.
8310
(g_hash_table_kv_pair_free_gfunc): new - g_slist_foreach helper
8311
for deleting key value hash pairs when you're finished with the
8312
results from g_hash_table_key_value_pairs. You'll still need to
8313
call g_slist_free as well to delete the spine of the list.
8315
* src/engine/NetIO.c: comment out various bits of the code that's
8316
incompatible with the recent gnc-book changes. Linas said he'd
8319
* src/scm/price-quotes.scm: new file - not used yet.
8321
* src/scm/price-quotes.scm: new file - launch a sub-process you
8322
can talk to bidirectionally from scheme read/write.
8324
* src/scm/command-line.scm: (disabled) support for getting prices.
8326
* src/scm/command-line.scm
8327
(gnc:group-map-accounts): implementation simplified dramatically,
8328
probably should be dropped entirely, in favor of just calling (map
8329
thunk (gnc:group-get-subaccounts group)) -- which is what's in the
8332
* src/quotes/price-quote-helper.in: new file.
8334
* src/Backend.h: Delete ERR_FILEIO_MISC (use ERR_BACKEND_MISC).
8335
Replace ERR_FILEIO_ALLOC with ERR_BACKEND_ALLOC.
8337
* src/engine/gnc-book.c: add support for GNCPriceDB element. Move
8338
still relevant FileIO bits here. Add support for gnc-book
8339
clean/dirty checking instead of just Group checking.
8341
* src/engine/gnc-book.h: fixes for gnc-book marking, private
8342
header, and addition of pricedb.
8344
* src/engine/gnc-book-p.h: new file - private book functions.
8346
* src/engine/Ledger-xml-parser-v1.c
8347
(ledger_data_after_child_handler): new function to handle grabbing
8348
the pricedb when we hit it.
8350
* src/FileDialog.c: Various fixes to replace uses of the top level
8351
AccountGroup with the parent GNCBook. Also add support for
8352
reading/writing the GNCPriceDB. This file still needs a lot of
8353
work. Much of it should become a proper file IO Backend.
8355
* src/guile/gnc.gwp: Add <gnc:Book*>. Add gnc:get-current-book.
8356
Add gnc:book-get-group. Add gnc:account-get-price-src.
8358
* src/gnome/druid-commodity.c (finish_helper): add support for
8361
* src/engine/sixtp-writers.h: add support for GNCPriceDB.
8363
* src/engine/sixtp-to-dom-parser.c
8364
(sixtp_dom_parser_new): change signature to add fail and result
8365
cleanup functions. These can be NULL, in which case they're
8366
ignored. Also modify overall scheme to clean internal garbage up
8367
properly in case of failure.
8369
* src/engine/sixtp-parsers.h
8370
(sixtp_dom_parser_new): change signature.
8372
* src/engine/sixtp-dom-parsers.c (dom_tree_to_text): minor fixes.
8374
* src/engine/sixtp-dom-generators.c
8375
(text_to_dom_tree): new function.
8377
* src/engine/sixtp-dom-generators.h
8378
(text_to_dom_tree): new prototype.
8380
* src/engine/io-gncxml-w.c: add support for pricedb and using
8381
GNCBook at top level rather than Group.
8383
* src/engine/io-gncxml.h: support migration from top level Group
8384
to top level GNCBook.
8386
* src/engine/io-gncbin-r.c: add support for detecting legacy
8387
prices and migrating them to the new pricedb. Replace top level
8388
uses of a Group with a GNCBook.
8390
* src/engine/io-gncbin.h: support pricedb and gnc-book changes.
8392
* src/engine/io-gncxml-p.h: new file - private header.
8394
* src/engine/io-gncxml-r.c: move bits to private header. Make
8395
changes to support move from top level to Group to top level
8398
* src/gnome/druid-qif-import.c: -Werror fixes.
8400
* src/engine/gnc-pricedb.h: new file.
8402
* src/engine/gnc-pricedb-p.h: new file.
8404
* src/engine/gnc-pricedb.c: new file.
8406
* src/engine/gnc-pricedb-xml-v1.c: new file.
8408
* src/engine/gnc-engine-util.h: accomodate new functions.
8410
* src/engine/gnc-commodity-xml-v2.c
8411
(gnc_commodity_sixtp_parser_create): fix sixtp_dom_parser_new call.
8413
* src/engine/gnc-account-xml-v2.c
8414
(gnc_account_end_handler): -Werror fixes.
8415
(gnc_account_sixtp_parser_create): fix sixtp_dom_parser_new call.
8417
* src/engine/date.h (timespec_equal): add back.
8419
* src/engine/date.c (timespec_equal): add back.
8421
* src/engine/Commodity-xml-parser-v1.c
8422
(xml_add_commodity_ref): cleanup.
8424
* src/FileIO.h: deleted.
8426
* src/FileIOP.h: deleted.
8428
* src/FileIO.c: deleted.
8430
* src/test/test-dom-parser1.c: fixes for new sixtp_dom_parser_new.
8432
* src/test/test-xml-account.c: fixes for new sixtp_dom_parser_new.
8434
* src/test/test-xml-commodity.c: fixes for new sixtp_dom_parser_new.
8436
* src/guile/option-util.h: remove consts from
8437
gnc_commoditities (after consultation with Bill).
8439
* src/guile/option-util.c: remove consts from
8440
gnc_commoditities (after consultation with Bill).
8442
* src/guile/guile-util.h: remove consts from
8443
gnc_commoditities (after consultation with Bill).
8445
* src/guile/guile-util.c: remove consts from
8446
gnc_commoditities (after consultation with Bill).
8448
* src/guile/global-options.h: remove consts from
8449
gnc_commoditities (after consultation with Bill).
8451
* src/guile/global-options.c: remove consts from
8452
gnc_commoditities (after consultation with Bill).
8454
* src/gnome/window-register.c: remove consts from
8455
gnc_commoditities (after consultation with Bill).
8457
* src/gnome/window-main.c: remove consts from
8458
gnc_commoditities (after consultation with Bill).
8460
* src/gnome/gnc-currency-edit.h: remove consts from
8461
gnc_commoditities (after consultation with Bill).
8463
* src/gnome/gnc-currency-edit.c: remove consts from
8464
gnc_commoditities (after consultation with Bill).
8466
* src/gnome/gnc-commodity-edit.h: remove consts from
8467
gnc_commoditities (after consultation with Bill).
8469
* src/gnome/gnc-commodity-edit.c: remove consts from
8470
gnc_commoditities (after consultation with Bill).
8472
* src/gnome/druid-commodity.c: remove consts from
8473
gnc_commoditities (after consultation with Bill).
8475
* src/gnome/dialog-account.c: remove consts from gnc_commoditities
8476
(after consultation with Bill).
8478
* src/gnome/dialog-options.c: remove consts from gnc_commoditities
8479
(after consultation with Bill).
8481
* src/gnome/dialog-commodity.h: remove consts from
8482
gnc_commoditities (after consultation with Bill).
8484
* src/gnome/dialog-commodity.c: remove consts from
8485
gnc_commoditities (after consultation with Bill).
8487
* src/gnc-ui-util.h: remove consts from gnc_commoditities (after
8488
consultation with Bill).
8490
* src/gnc-ui-util.c: remove consts from gnc_commoditities (after
8491
consultation with Bill).
8493
* src/engine/Transaction.h: remove consts from gnc_commoditities
8494
(after consultation with Bill).
8496
* src/engine/Transaction.c: remove consts from gnc_commoditities
8497
(after consultation with Bill).
8499
* src/engine/Scrub.c: remove consts from gnc_commoditities (after
8500
consultation with Bill).
8502
* src/AccountP.h: remove consts from gnc_commoditities (after
8503
consultation with Bill).
8505
* src/Account.h: remove consts from gnc_commoditities (after
8506
consultation with Bill).
8508
* src/Account.c: remove consts from gnc_commoditities (after
8509
consultation with Bill).
8511
* src/SplitLedger.c: remove consts from gnc_commoditities (after
8512
consultation with Bill).
8514
* src/EuroUtils.h: remove consts from gnc_commoditities (after
8515
consultation with Bill).
8517
* src/EuroUtils.c: remove consts from gnc_commoditities (after
8518
consultation with Bill).
8520
2001-02-23 Bill Gribble <grib@billgribble.com>
8522
* src/scm/qif-import/qif-dialog-utils.scm: Be more flexible
8523
about account types on QIF import
8525
* src/scm/qif-import/qif-objects.scm: make sure the list of
8526
allowed types is in the right order
8528
* src/scm/qif-import/qif-to-gnc.scm: be more flexible about type;
8529
check on parent type after creating child; don't set security on
8530
non-{stock,mutual} accounts.
8532
2001-02-22 Christian Stimming <stimming@tuhh.de>
8534
* src/engine/Transaction.h: Added xaccSplitGetAmount to be used
8535
instead of SplitGetShareAmount. Added some explanatory comments
8536
about our commodity restructuring.
8538
2001-02-22 James LewisMoss <jimdres@mindspring.com>
8540
* src/test/test-dom-parser1.c: Move generic funcs to test-stuff.c
8542
* src/test/test-dom-converters1.c: Move generic funcs to
8545
* src/test/test-date-converting.c: move generic funcs to
8548
* src/engine/sixtp-to-dom-parser.c (dom_start_handler): cast arg
8549
to xmlNewChild to xmlNodePtr
8550
(dom_chars_handler): Remove is_whitespace func and use isspace_str
8553
* src/engine/sixtp-dom-parsers.c: Add all the dom_tree_to funcs.
8555
* src/engine/sixtp-dom-generators.c (guid_to_dom_tree): Make GUID
8557
(commodity_ref_to_dom_tree): check nulls.
8558
(add_kvp_value_node): Add all the kvp code.
8560
* src/engine/kvp_frame.c: Use string cache func.
8561
(charstar_va_list_to_gslist): new func.
8562
(kvp_frame_get_frame): More refactoring.
8564
* src/engine/gnc-engine.h: Add func def as below.
8566
* src/engine/gnc-engine.c: Move string cache creation to function
8567
to get so that you don't have to gnc_engine_init to use the global
8569
(gnc_engine_get_string_cache): Add func as above.
8571
* src/engine/gnc-book.h: Add func as below.
8573
* src/engine/gnc-book.c (gnc_book_get_commodity_table): Add
8576
* src/engine/gnc-account-xml-v2.c (gnc_account_dom_tree_create):
8578
(gnc_account_end_handler): Fix up. Finish work.
8580
* src/engine/Transaction.c (xaccInitSplit): Use func to get string
8581
cache rather than accessing the var directly.
8583
* src/engine/Account.h: same as Account.c. Add comment on
8584
xaccAccountSet{Currency,Security} that they take control of the
8587
* src/engine/Account.c: Rename xaccAccountSetSlots to *_nc so we
8588
use the kvp_frame provided rather than copy.
8590
* src/doc/xml/types.dtd: Fix up kvp type list. clean up timestamp
8591
tuff. Simplify a bit.
8593
* src/doc/xml/account-v2.dtd: add code and description.
8595
2001-02-19 James LewisMoss <jimdres@mindspring.com>
8597
* src/engine/kvp_frame.c: Fix < to be > in binary datasize
8598
argument (bug fix). Add comment about appropriateness of
8599
comparing data sizes first.
8600
Fix double compare. was using just gint64 compare. Extracted out
8601
double compare into double_compare function.
8602
Fix return value of kvp_value_compare from gboolean -> gint.
8603
Fix bug in kvp_glist_compare where it should have read (!lp2 &&
8604
lp1) and it read (!lp2) so glists never compared equal.
8605
(kvp_frame_get_hash): Add func.
8606
(kvp_frame_to_string): Add func.
8607
(kvp_value_to_string): Add func.
8608
(kvp_value_glist_to_string): Add func.
8609
(binary_to_string): Add func.
8611
2001-02-15 Bill Gribble <grib@billgribble.com>
8613
* src/scm/qif-import/qif-guess-map.scm: add stock hash
8614
save/restore to map IO
8616
* src/scm/qif-import/qif-to-gnc.scm: bug fixes to remove duplicate
8619
2001-02-15 Christian Stimming <stimming@tuhh.de>
8621
* src/scm/report-utilities.scm: Added functions to filter accounts
8622
by type, and helpers for calculating balances.
8624
* src/scm/commodity-utilities.scm: (gnc:make-exchange-function)
8625
now uses <gnc-monetary>.
8627
* src/scm/html-utilities.scm: (gnc:html-build-acct-table) major
8628
code cleanup. Added new function to generate a <html-table> of
8631
* src/scm/options-utilities.scm: Added function for another
8634
* src/scm/report/{pnl,account-summary}.scm: Added options.
8636
2001-02-15 James LewisMoss <jimdres@mindspring.com>
8638
* src/engine/Account.h: Add prototype for SetSlots.
8640
* src/engine/Account.c (xaccAccountSetSlots): add func.
8642
* src/test/test-dom-converters1.c (main): Add return_value
8643
handling to better be a "check"able program.
8645
* src/test/test-date-converting.c (main): Add return_value
8646
handling to better be a "check"able program.
8648
* src/engine/kvp_frame.c (kvp_frame_get_frame): refactor to use
8650
(kvp_frame_parse_slash_path): extract from slashpath func
8651
(kvp_frame_get_frame_slash): refactor to use gslist func
8653
* src/test/test-dom-converters1.c
8654
(test_dom_tree_to_commodity_ref): Use no_engine version.
8656
* src/engine/sixtp-dom-parsers.c
8657
(dom_tree_to_commodity_ref_no_engine): rename func.
8658
(dom_tree_to_commodity_ref): Add func to do complete commodity
8659
creation including adding to engine cache.
8661
2001-02-14 James LewisMoss <jimdres@mindspring.com>
8663
* src/test/test-dom-converters1.c (Repository): fix mem leak.
8665
* src/engine/sixtp-dom-parsers.h (Repository): start of kvp code.
8667
* src/engine/sixtp-dom-parsers.c (Repository): fix mem leak.
8670
* src/engine/sixtp-dom-generators.c (Repository): fix mem leak.
8671
(Repository): Start of kvp code.
8673
* src/test/test-date-converting.c (Repository): Tests to make sure
8674
date <-> string converting strings work.
8676
* src/test/test-dom-converters1.c (Repository): Add tests for rest
8679
* src/test/Makefile.am (Repository): add new test. Make "make
8682
* src/engine/sixtp-xml-write-utils.c (Repository): use date format
8683
strings from sixtp-utils.h
8685
* src/engine/sixtp-utils.h (Repository): add date format strings.
8688
* src/engine/sixtp-utils.c (Repository): Use define as timespec
8691
* src/engine/sixtp-dom-parsers.c (Repository): Add funcs from
8692
Rob. make consistent. Fix a few bugs. Make
8693
dom_tree_to_commodity_ref testable by adding new func
8694
"associate_commodity_ref_with_engine_commodity" to do final
8695
association with engine commodity table.
8697
* src/engine/sixtp-dom-generators.c (Repository): Fix to_guid to
8698
be generic. Oops. Add rest of funcs to to foo_to_dom_tree to
8699
match funcs in sixtp_dom_parsers.
8701
* src/engine/gnc-numeric.c (Repository): Comment out unused var.
8703
* src/engine/gnc-account-xml-v2.c (Repository): change to use
8704
dom_tree_to_commodity_ref.
8706
* src/doc/xml/types.dtd: Change cmd: to cmdty: and add ts: to the
8709
2001-02-14 Dave Peticolas <dave@krondo.com>
8711
* src/engine/date.c: use nl_langinfo (D_FMT) instead of %x for
8712
locale-based date formatting and parsing.
8714
2001-02-14 Bill Gribble <grib@billgribble.com>
8716
* src/scm/qif-import/*.scm: fuzzify account type rules a bit to
8717
make imports more likely to match up with existing accounts. Fix
8718
broken "New" detection.
8720
* src/gnome/druid-qif-import.c: add default acct based on file
8723
* src/gnome/dialog-account-picker.c: make sure picker gets
8724
scrolled to initial selection.
8726
2001-02-14 Christian Stimming <stimming@tuhh.de>
8728
* src/scm/html-utilities.scm (gnc:html-build-acct-table): Add
8729
grouping of accounts according to their types and show their
8730
subtotal. Major cleanup.
8732
2001-02-13 Bill Gribble <grib@billgribble.com>
8734
* src/engine/gnc-numeric.c: fix stupid. stupid. stupid. stupid
8737
* src/guile/gnc-helpers.c: start to fix scm_to_gint64 for
8738
guile-1.3.. this is sort of a duct-tape fix. We need to port some
8739
stuff from the guile-1.4 source tree. Should work fine unless you
8740
are Bill Gates and you do your accounting in lira.
8742
* src/gnome/dialog-style-sheet.c: handle WM delete event
8744
* src/scm/qif-import/qif-to-gnc.scm: fix backtrace-if-exception
8745
usage; add preliminary memo/payee-to-account mapping.
8747
* src/scm/utilities.scm: define hash-fold if it's not builtin
8749
2001-02-12 Bill Gribble <grib@billgribble.com>
8751
* src/scm/html-style-info.scm: minor fixes to html style
8754
* various in src/scm: fixes for i18n .. use (N_ instead of (_
8757
* src/engine/gnc-numeric.{c,h}, src/scm/gnc-numeric.scm: add
8758
support for a new auto-denom type, GNC_DENOM_SIGFIGS(x), where x
8759
is the number of "significant figures" you want in the output.
8760
This means that the output denominator will always be a poewr of
8761
10, but which power is determined by the magnitude of the
8764
* src/engine/Transaction.c, src/gnc-exp-parser.c,
8765
src/gnc-ui-util.c: make minor changes to use GNC_DENOM_SIGFIGS
8768
* src/gnome/dialog-account-picker.{c,h}: totally rewritten QIF
8769
import account picker. this one is much less likely to get you
8770
into trouble. Still some rough edges but MUCH better than
8773
* src/gnome/druid-qif-import.c: fixes. Add memo/payee matching
8774
(but it's not hooked up to the import yet so don't get that
8777
* src/scm/qif-import/qif-dialog-utils.scm: memo mapping stuff,
8780
* src/scm/qif-import/qif-to-gnc.scm: update error catching; print
8781
backtrace on failure.
8783
2001-02-09 Christian Stimming <stimming@tuhh.de>
8785
* src/scm/commodity-utilities.scm: Functions to calculate exchange
8786
rates (weighted average) for different commodities (moved from
8787
report-utilities.scm). Major cleanup.
8789
* src/scm/options-utilities.scm: Option creation functions common
8790
to several reports. (moved from report-utilities.scm)
8792
* src/scm/report-utilities.scm: Major cleanup.
8794
2001-02-08 Bill Gribble <grib@billgribble.com>
8796
* src/gnome/druid-qif-import.c: restructure druid a bit to
8797
allow more flexible navigation (in particular, so we can have
8798
a global pref to skip documentation pages)
8800
* src/scm/html-*.scm: change rendering model to speed up reports.
8801
use a "string tree" instead of the old with-output-to-string and
8802
compile style tables where possible. Strangely enough, alists
8803
are faster than hash tables.
8805
* src/scm/html-table.scm: clean up row/col style stuff a little.
8806
semantics changed a wee bit: now row style takes precedence over
8807
column style. this was necessary for performance.
8809
* src/scm/prefs.scm: add a global pref to skip doc pages in the
8812
* src/scm/report.scm: shuffle around a bit for the new rendering
8815
* src/gnome/window-report.c: back out some overly-aggressive
8816
memory reclamation. I need to figure out how to do this right.
8818
2001-02-08 Christian Stimming <stimming@tuhh.de>
8820
* src/scm/date-utilities.scm Added (gnc:timepair-previous-day).
8822
* src/scm/report-utilities.scm (gnc:account-get-balance-interval)
8823
Fix bug with start date.
8825
* src/scm/html-style-info.scm: Fix bug.
8827
* src/scm/gnc-numeric.scm: Add more functions on gnc-monetary.
8829
* src/scm/html-utilities.scm: Add balance sign reversal
8830
conditioned on gnc:account-reverse-balance? for the account
8831
table. Add function to print exchange rates.
8833
* src/scm/report-utilities.scm: Modify commodity-collector to
8834
enable more sign reversals and usage of gnc-monetary. Add option
8835
creation functions common to several reports.
8837
* src/scm/report/account-summary.scm: Removed function now in
8838
report-utilities.scm. Added variables for option names.
8840
* src/scm/report/pnl.scm: New Profit And Loss report, based on
8841
account-summary report.
8843
2001-02-08 James LewisMoss <dres@phoenixdsl.com>
8845
* src/engine/sixtp.c (sixtp_parse_file): Only set parse_result if
8846
it points somewhere.
8848
* src/engine/sixtp-to-dom-parser.c (dom_chars_handler): fix
8851
2001-02-07 James LewisMoss <dres@phoenixdsl.com>
8853
* make-gnucash-patch.in: Add a file ending that is ignored.
8855
* src/doc/xml/types.dtd: Change currency-type -> commodity-type.
8856
Add defs for cmd:space and cmd:id.
8858
* src/doc/xml/io-gncxml-version1.dtd: Change currency-type ->
8861
* src/doc/xml/account-v2.dtd: Change currency-type ->
8864
2001-02-06 James LewisMoss <dres@phoenixdsl.com>
8866
* src/engine/sixtp.c: Use frame creator.
8867
Move sixtp_handle_catastrophe to here. Add functions
8868
sixtp_context_new, sixtp_context_destroy. And change and move
8869
sixtp_parse_file and sixtp_parse_buffer here from io-gncxml-r.c
8870
Add concept of a parsing context to hold data.
8872
* src/engine/sixtp-stack.h: Add creator. Add headers.
8874
* src/engine/sixtp-stack.c: Add creator.
8876
* src/engine/sixtp-parsers.h: add needed headers.
8877
Add func from sixtp-to-dom-parser.c
8879
* src/engine/io-gncxml.h: Fix name.
8881
* src/engine/io-gncxml-w.c: Fix name.
8883
* src/engine/io-gncxml-r.c: Fix name. Create stack frame creator
8884
function and use here.
8886
2001-02-05 James LewisMoss <dres@phoenixdsl.com>
8888
* src/engine/sixtp-stack.h: Add glib.h include (needed for GSList)
8890
* src/engine/sixtp.c: Add catchall tag for parsing handlers. Use
8891
name instead of next_parser_tag since that can now contain a magic
8894
2001-02-05 Bill Gribble <grib@billgribble.com>
8896
* src/scm/qif-import/qif-merge-groups.scm: new file. Utilities
8897
for detecting duplicate transactions in two account groups.
8899
* src/scm/qif-import/qif-quick-import.scm: new file (unfinished).
8900
A start at a "quick import" facility that will import a single
8901
QIF file with very little interaction.
8903
* src/engine/Group.c: be sure to free account split list and
8904
set to NULL on merge
8906
* src/engine/Query.c: add a new API to get Transactions from a
8907
query instead of splits. you have to specify whether you want
8908
transactions with one split matching the query or all splits
8909
matching the query. More options later.
8911
* src/gnome/druid-qif-import.c : add a few slots to the
8912
QIF window struct and add the extra pages to the dialog to
8913
allow review and selection of duplicate transactions
8915
* src/guile/gnc.gwp: wrap new Query functions and enums; wrap
8916
gnc:group-concat-group
8918
* src/scm/gnc-numeric.scm: add gnc-numeric enumerated types.
8919
They need to be bitwise combined so don't use g-wrap enum
8922
* src/scm/qif-import/qif-to-gnc.scm: change semantics slightly to
8923
put new xtns in a new Group and return it before committing.
8925
2001-02-05 Christian Stimming <stimming@tuhh.de>
8927
* src/scm/html-utilities.scm: Added sorting of accounts according
8928
to their account-code. Added calculation of a total sum.
8930
* src/scm/report-utilities.scm: Improved calculation of the
8931
exchange rates such more complicated currency configurations can
8934
2001-02-03 Christian Stimming <stimming@tuhh.de>
8936
* src/scm/html-utilities.scm: add account table generating
8937
function which builds a hierarchy and is generalized enough to be
8938
used in balance- and profit-and-loss style reports. (moved from
8939
report/account-summary.scm)
8941
2001-02-02 Christian Stimming <stimming@tuhh.de>
8943
* src/scm/report-utilities.scm: add function for determining the
8944
account tree depth (moved from account-summary)
8946
* src/scm/report/account-summary.scm: changed semantics of account
8949
2001-02-01 Bill Gribble <grib@billgribble.com>
8951
* src/gnome/gnc-html-history.{h,c}: add destroy callback. part of
8952
report memory management cleanup
8954
* src/gnome/window-report.c: set report dirty flag when options
8955
apply or reload is clicked. Store report object in window
8956
struct while it's visible.
8958
* src/scm/qif-import/qif-file.scm: expand detection of opening
8959
balance transactions.
8961
* src/scm/qif-import/qif-parse.scm: fix regexp bug in miscincx and
8962
miscexpx category parsing (thanks carol!)
8964
* src/scm/qif-import/qif-to-gnc.scm: use correct amount for
8965
non-stock investment transactions (dividends etc). Use fuzzy
8966
equality predicate for inexact numbers.
8968
* src/scm/report.scm: Add dirty flag and 'children' (other reports
8969
created by this report... nobody uses it yet) to report struct.
8970
Add function to clean up report when it's erased from the window
8971
history. Add some debugging timing bits to the report-run
8972
function. Display cached HTML if not dirty.
8974
* src/scm/report.scm: WARNING! Change prototype of report
8975
rendering functions... they take a <report> object as argument
8976
instead of an options object. This is necessary for memory
8977
management stuff when reports create other reports.
8979
* src/scm/report/account-summary.scm: fix to use new renderer
8982
* src/scm/report/average-balance.scm: fix to use new renderer
8985
* src/scm/report/hello-world.scm: fix to use new renderer
8988
2001-01-30 Bill Gribble <grib@billgribble.com>
8990
* src/scm/report/stylesheet-{plain,fancy}.scm: add a new boolean
8991
option to disable hyperlinks in reports. This will make it nicer
8992
to have a "printing" style sheet that disables links when you want
8993
to print. (if you change a report's style sheet, click "Reload"
8994
to see it take effect. this needs to be fixed)
8996
* src/gnome/gnc-html-embedded.c: add support for URLsa attached to
8997
double clicks of pie slices, bar chart bars, and legend entries of
8998
guppi graphs. Still need to do this for scatter chart.
9000
* src/scm/html-{piechart,barchart}.scm: add API for callbacks.
9001
Not totally finished with barchart yet.
9003
* src/scm/qif-import/qif-to-gnc.scm: check for currency and type
9004
mismatches between QIF-imported and existing GNC accounts. If
9005
there's a name conflict, rename the new account with a unique name
9006
and a description indicating there was a conflict. This should
9007
fix several reports of crashes for multi-currency users.
9009
* src/scm/report-utilities.scm: back out my previous breakage of
9012
* src/scm/report.scm: Thanks to the guile mailing list for
9013
pointing my at this odd bit of code needed to print backtraces on
9014
guile exceptions while still running. You need to run with
9015
--debug to get the trace.
9017
2001-01-26 Bill Gribble <grib@billgribble.com>
9019
* src/gnome/gnc-gpg.{c,h}: if Linas can add useless prototype
9020
code, so can I :) Gnucash now supports display of GPG-encrypted
9021
HTML pages via another special <object> block.
9023
* src/gnome/gnc-html.c: Add support for GPG stuff. Fix error
9024
reporting to display errors from GHTTP if available.
9026
* src/gnome/window-help.c: Add an Open button to open an arbitrary
9027
URL. The network IS the computer!
9029
* src/scm/html-document.scm: Change interface to additional
9030
attributes on html-document-markup-start.
9032
* src/scm/html-table.scm: Fix rendering of <html-table-cell> to do
9033
rowspan/colspan correctly. Add new constructors to build <th>
9034
<html-table-cells> in addition to <td>
9036
* src/scm/report-utilities.scm: Rename misnamed d-gnc:foo
9037
functions to gnc:foo. d-gnc: is only for preexisting engine
9038
interface functions that had signature changes. there's nothing
9039
inherently deprecated about using doubles in reports.
9041
* src/scm/report.scm: Start trying to print backtraces on
9042
exceptions in reports. Only partially successful at this point;
9043
the error gets printed but the backtrace won't. Stay tuned. You
9044
need to run with --debug to see the error information.
9046
* src/scm/report/account-summary.scm: Modify to use new
9047
table-cell ctors where appropriate. Set justification for
9050
* src/scm/report/average-balance.scm: Add title.
9052
* src/scm/report/stylesheet-plain.scm: Render title in plain
9053
stylesheet. Set default table border to 0.
9055
2001-01-15 Bill Gribble <grib@billgribble.com>
9057
* src/gnome/druid-qif-import.c: remove printout
9059
* src/scm/qif-import/qif-parse.scm: Warning dialog on unknown
9060
Action type. Add new actions from Q2000.
9062
* src/scm/qif-import/qif-to-gnc.scm: Fix handling of commissions
9063
for (hopefully) the last time. Add new security Action types.
9064
Don't puke on unknown Action.
9066
* src/scm/qif-import/qif-dialog-utils.scm: Change default account
9067
for ShrsIn/ShrsOut to 'Retained Earnings', which is a normal
9068
account; replaces old policy of stock-denominated Equity
9071
2001-01-15 Rob Browning <rlb@cs.utexas.edu>
9073
* configure.in (G_WRAP_LINK_ARGS): require g-wrap 1.1.5. This
9074
should fix a number of problems, including guile 1.3.4
9075
compatibility (g-wrap was using the *_NEWSMOB macros which guile
9076
1.3.4 doesn't have), and maybe even Dave's ugly memory issues.
9078
* src/scm/report/average-balance.scm: new g-wrap fix.
9079
Essentially all of these g-wrap fixes are to accomodate the new
9080
type names and visible bindings for g-wrapped non-native types.
9081
Where we had <gw:wct-void*> we now have <gw:void*>. This naming
9082
convention has been applied unilaterally, even for native types,
9083
so we now have <gw:int>. Further, types that are gnucash types
9084
appear as <gnc:Account*>, and types that are glib appear as
9085
<glib:GList*>, etc. Finally, in cases where the name of the type
9086
is already prefixed with gnc, the prefix is not doubled, so we
9087
have gncSomeThing -> <gnc:SomeThing> and gnc-commodity* ->
9090
* src/scm/report-utilities.scm
9091
(gnc:account-get-balance-at-date): new g-wrap fix.
9093
* src/guile/option-util.c
9094
(gnc_option_db_register_change_callback): new g-wrap fix.
9096
* src/guile/guile-util.c
9097
(gnc_copy_split): new g-wrap fix.
9098
(gnc_copy_split_scm_onto_split): new g-wrap fix.
9099
(gnc_copy_trans): new g-wrap fix.
9100
(gnc_copy_trans_scm_onto_trans_swap_accounts): new g-wrap fix.
9101
(gnc_glist_account_ptr_to_scm_internal): new g-wrap fix.
9102
(gnc_scm_to_commodity): new g-wrap fix.
9103
(gnc_commodity_to_scm): new g-wrap fix.
9104
(gnc_glist_commodity_ptr_to_scm): new g-wrap fix.
9106
* src/guile/gnucash.c.in (gnucash_main_helper): new g-wrap fix.
9108
* src/guile/gnc.gwp: major rework (mostly s///) for new g-wrap.
9110
* src/guile/gnc-helpers.c (gnc_scm_traversal_adapter): new g-wrap fix.
9112
* src/gnome/top-level.c (gnc_ui_show_main_window): new g-wrap fix.
9114
* src/doc/design/engine.texinfo (Splits): mention location of
9115
kvp_frame.txt -- the reserved key list.
9117
2001-01-12 Bill Gribble <grib@billgribble.com>
9119
* doc/html/C/account-tree-demo.html: add a simple demo of
9120
embedding a gnucash main window widget in HTML
9122
* src/gnome/dialog-options.c: add a 'pixmap' option type to
9125
* src/gnome-dialog-style-sheet.{c,h}: new dialog for creating
9126
and editing HTML style sheets
9128
* src/gnome/druid-qif-import.c: add support for false-if-exception
9129
error handling within QIF import process
9131
* src/gnome/gnc-html-embedded.c: add backslash escaping for
9132
converting string arrays to and from single HTML strings
9134
* src/gnome/gnc-html-embedded.c: error handling in creating guppi
9135
plots, and add new embedded object type for embedding a gnucash
9136
mainwindow-account-tree in HTML (preliminary). Add x axis
9137
label rotation as an option to the barchart.
9139
* src/gnome/gnc-html.c: fixes for renaming of report objects and
9140
handling false-if-exception returns from report runs. Use async
9141
mode for ghttp requests and add a gtk_timeout callback to check on
9142
their status. Add a gnc_html_cancel() which gets rid of pending
9143
ghttp requests (called by the stop buttons in help, report
9146
* src/gnome/window-help.c: bug fixes for search results printing.
9147
Don't expand help topics nodes on creation. Add stop and reload
9148
buttons to the toolbar.
9150
* src/gnome/window-report.c: Add stop and reload buttons to the
9153
* src/guile/gnc-helpers.c: fix helpers for recordization of
9154
<gnc-numeric> on Scheme side
9156
* src/scm/engine-utilities.scm: rewrite transaction map functions
9157
to eliminate ith-transaction calls
9159
* src/scm/gnc-numeric.scm: make gnc-numeric into a first class
9160
type on the scheme side (<gnc-numeric>)
9162
* src/scm/html-*.scm (7 files): new architecture for generating
9163
HTML within reports. See src/scm/report-html.txt for an overview.
9165
* src/scm/options.scm: support for pixmap options
9167
* src/scm/qif-import/: add false-if-exception error catching in
9168
QIF import entry points.
9170
* src/scm/report-utilities.scm: add functions to get immediate
9171
subaccounts; rewrite get-balance-at-date.
9173
* src/scm/report.scm: rename report objects; now the thing that
9174
gets created by define-report is a <report-template> and the thing
9175
that has a window and a set of parameters is a <report>. Add a
9176
"style sheet" option automatcally to EVERY report, and a "General"
9177
section to put it in; report with only 1 page of options should
9178
use "General". Add false-if-exception error catching to report
9181
* src/scm/report/account-summary.scm, src/scm/report/hello-world.scm,
9182
src/scm/report/average-balance.scm: rewrite some reports using the
9183
new HTML generation infrastructure. Old reports won't work until
9186
* src/scm/report/stylesheet-*.scm (2 files): create some sample
9187
stylesheet templates.
9189
2001-01-03 Rob Browning <rlb@cs.utexas.edu>
9191
* src/engine/Transaction.h :start documenting reserved split slots.
9192
add prototypes for new functions below.
9194
* src/engine/Transaction.c
9195
(xaccSplitGetType): new function.
9196
(xaccSplitMakeStockSplit): new function.
9198
* src/doc/design/engine.texinfo
9199
(Engine Introduction): add docs for split types, including the new
9201
(General Split API): remove Slot Get/Set function docs.
9202
(General Split API): add xaccSplitMakeStockSplit docs.
9203
(Split Getters): add xaccSplitGetType docs.
9205
* .cvsignore: add TAGS.