-
Notifications
You must be signed in to change notification settings - Fork 812
/
ChangeLog.2001
9205 lines (5750 loc) · 281 KB
/
ChangeLog.2001
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
2001-12-27 Dave Peticolas <[email protected]>
* src/backend/postgres/test/test-db.c: expand testing
* src/engine/Transaction.c: fix bugs. keep positive editlevel
while committing and rolling back transaction.
2001-12-25 Dave Peticolas <[email protected]>
* src/backend/postgres/test/test-db.c: test rollback
* src/engine/Transaction.c: fix bug in transaction rollback
* src/engine/test-core/test-engine-stuff.h: add test routine
* src/engine/test-core/test-engine-stuff.c: add test routine
2001-12-20 Dave Peticolas <[email protected]>
* src/scm/main.scm: update for api changes
* src/report/report-gnome/window-report.h: add new init api
* src/report/report-gnome/window-report.c: move some report
initialization here from top-level.c
* src/report/report-gnome/gncmod-report-gnome.c: call new report
initialization function
* src/report/report-gnome/Makefile.am: add app-utils dependency
* src/gnome/top-level.h: update for api changes
* src/gnome/top-level.c: remove some gnome initialization &
shutdown. change ui init api.
* src/gnome/gw-gnc-spec.scm: update for api changes
* src/gnome/argv-list-converters.h: remove
* src/gnome/argv-list-converters.c: remove
* src/gnome/Makefile.am: remove argv-list-converters.[ch]
* src/gnome-utils/gw-gnome-utils-spec.scm: g-wrap new funcs
* src/gnome-utils/gncmod-gnome-utils.c: remove #include cruft
* src/gnome-utils/gnc-html.c: remove #include cruft
* src/gnome-utils/gnc-gnome-utils.h: new file
* src/gnome-utils/gnc-gnome-utils.c: new file -- init and shutdown
functions
* src/gnome-utils/argv-list-converters.h: add
* src/gnome-utils/argv-list-converters.c: add
* src/gnome-utils/Makefile.am: add new files
* src/gnc-ui.h: remove cruft
* src/scm/main.scm: remove some report menu setup functionality
* src/report/report-gnome/report-gnome.scm: move some report
menu setup functionality here
* src/gnome/top-level.c: take out component manager initialization
and shutdown
* src/engine/Transaction.c: fix spelling
* src/backend/postgres/test/test-db.c: work on tests
* src/backend/postgres/test/.cvsignore: ignore database dirs
* src/backend/postgres/txn.c: fix spelling
* src/app-utils/gncmod-app-utils.c: perform component manager
initialization and shutdown here
* src/app-file/gnc-file.c: suspend engine events when
creating new session
2001-12-19 Dave Peticolas <[email protected]>
* src/engine/gw-engine-spec.scm: g-wrap event types enum
* src/engine/gnc-session.c: set book backend to NULL before
destroying old book in gnc_session_load
* src/engine/Transaction.c: do checks & events when setting
slots for transactions and splits.
* src/engine/GNCId.h: add a const typedef for GNCIdType
* src/backend/postgres/test/test-db.c: add a test for backend
transaction rollback due to stale data in the engine
* src/backend/postgres/txn.c: fix bugs restoring one transaction
from database.
* src/backend/postgres/putil.h: add EXEC_QUERY
* src/backend/postgres/price.h: add pgendGetCommodity
* src/backend/postgres/price.c: add pgendGetCommodity
* src/app-utils/test/test-component-manager: test g-wrapped
component manager
* src/app-utils/test/Makefile.am: add test-component-manager
* src/app-utils/gw-app-utils-spec.scm: g-wrap component manager
* src/app-utils/gnc-component-manager.h: add some SCM api
* src/app-utils/gnc-component-manager.c : add some SCM api
2001-12-17 Dave Peticolas <[email protected]>
* src/gnome-utils/gw-gnome-utils-spec.scm: add wrapping for widgets
and other api
* src/backend/postgres/test/test-db.c: add check for initial
account balances
* src/backend/postgres/PostgresBackend.c: fix bug. begin/commit
account group when loading initial balances
2001-12-12 Dave Peticolas <[email protected]>
* src/report/report-gnome/test/test-load-module: add
* src/report/report-gnome/test/test-link-module.c: add
* src/report/report-gnome/test/Makefile.am: add
* src/report/report-gnome/test/.cvsignore: add
* src/report/report-gnome/Makefile.am: add test dir
* configure.in: configure report-gnome/test directory
2001-12-11 Rob Browning <[email protected]>
* src/scm/command-line.scm: reorganize a little to remove some of
the top-level actions. Accommodate the new -path vars instead of
the old -dir vars.
(gnc:initialize-config-vars): new function -- initialize config
vars to defaults, respecting any relevant envt variable
overrides.
* src/scm/doc.scm (gnc:find-doc-file): use
gnc:find-localized-file, not gnc:find-file.
* src/scm/main-window.scm: fix hooks usage to be idempotent --
file should (re)load safely now.
* src/scm/main.scm: migrate some loads to the top level - though
to really do this right, we're going to need more explicit
use-modules and gnc:module-load deps expressed everywhere.
(gnc:find-file): new exported function.
(gnc:find-localized-file): new exported function.
(gnc:*config-path*): new export.
(gnc:*share-path*): new export.
(gnc:*doc-path*): new export.
(gnc:flatten): new function.
(build-path): simplify.
(gnc:print-unstable-message): simplify.
* src/scm/path.scm: rework doc-path handling completely, migrating
much of the code to command-line.scm.
(gnc:expand-path): new function.
(gnc:load-system-config-if-needed): use gnc:*config-path*, not
gnc:*config-dir*.
(gnc:locale-prefixes): removed.
(gnc:default-doc-dirs): removed.
(gnc:_expand-doc-path_): removed.
* src/scm/price-quotes.scm
(gnc:*finance-quote-helper*): use gnc:*share-path*, not
gnc:*share-dir*.
* src/scm/tip-of-the-day.scm: rewrite to be re-loadable -- you now
need to call an init function after loading the file. In the long
run, this should still become a module (guile or gnc).
(gnc:initialize-tip-of-the-day): new function.
(gnc:tip-of-the-day-startup-func): new function.
* src/scm/build-config.scm.in: rename -dir_ variables to -path_
and remove help-dir in favor of doc-path.
* src/scm/Makefile.am (build-config.scm): remove
GNC_PKGLIB_INSTALLDIR.
* src/report/utility-reports/hello-world.scm
(hello-world-renderer): modify to reflect switch from share-dir to
share-path.
* src/report/report-gnome/.cvsignore: add missing bits.
* configure.in: now that libgnc-engine doesn't depend on guile any
more, migrate the guile flags from "BASE" to the regular vars.
(GNUCASH_ENGINE_BASE_LIBS): remove guile bits.
(GNUCASH_ENGINE_LIBS): add guile bits.
(GNUCASH_ENGINE_BASE_CFLAGS): remove guile bits.
(GNUCASH_ENGINE_CFLAGS): add guile bits.
* src/engine/.cvsignore: add a few missing bits.
* src/engine/iso-currencies-to-c: new file -- convert
iso-4217-currencies.scm to iso-4217-currencies.c. Amazingly
easily. Woohoo for languages with built in self-parsers.
* src/engine/Makefile.am: accommodate new automatically generated C
code for default commodity table initialization.
* src/engine/gnc-commodity.h
(gnc_commodity_table_add_default_data): new prototype.
* src/engine/gnc-commodity.c
(gnc_commodity_table_add_default_data): new function -- populate a
commodity table with the "default" commodities/namespaces.
#includes the automatically generated code from
iso-4217-currencies.
* src/engine/engine-helpers.c
(gnc_engine_commodity_table_new): removed.
* src/engine/commodity-table.scm: migrate commodity table
construction to be C-only.
(gnc:load-iso-4217-currencies): removed.
(gnc:setup-default-namespaces): removed.
* src/engine/gnc-book.c (gnc_book_init): switch to use non-guile
based gnc_commodity_table_add_default_data.
* src/engine/engine-helpers.h: remove
gnc_engine_commodity_table_new.
* src/engine/engine.scm: don't export deleted
gnc:engine-commodity-table-construct.
* src/engine/iso-4217-currencies.scm: fix some typos.
* src/report/report-gnome/Makefile.am
(AM_CFLAGS): add GLADE_CFLAGS.
(.scm-links): add report link.
* src/report/report-gnome/.cvsignore: add *.lo and *.la.
* src/optional/.cvsignore: add *.lo and *.la.
* src/gnome/dialog-sxsincelast.c: #include gnc-gui-query.h
* src/bin/overrides/gnucash-build-env.in: add report-gnome to
test-env. Change envt vars to reflect new scheme:
GNC_CONFIG_PATH, GNC_SHARE_PATH, and GNC_DOC_PATH.
* src/backend/postgres/test/test-db.c
(db_file_url): find the postgres communication socket directory
via envt var TEST_DB_SOCKET_DIR.
* src/backend/postgres/test/db-control.sh: rework to communicate
with postgres through a file system socket rather than a TCP
connection so tests will work even on machines that don't allow
TCP. This was a little tricky because shell substitutions were
fighting the PG_CTL "-o '-k x -p y'" syntax.
* src/backend/postgres/test/Makefile.am
(AM_CFLAGS): add GUILE_INCS.
(TESTS_ENVIRONMENT): add TEST_DB_SOCKET_DIR.
* intl-scm/Makefile.am (guile-strings.c): add top_srcdir.
* configure.in (error-on-warning): make this the default. I'm
tired of having to fix missing #includes, mismatched types,
etc. after an update so I can get back to work, but if anyone has
a real problem with this, I'd be happy to reconsider.
* src/scm/bootstrap.scm.in: deleted (a few days ago actually).
2001-12-11 Dave Peticolas <[email protected]>
* src/tax/us/test/Makefile.am: remove report-gnome from dirs
* src/tax/us/us.scm: don't use gw-gnc
* src/report/utility-reports/test/Makefile.am: remove report-gnome
from dirs
* src/report/utility-reports/welcome-to-gnucash.scm: don't use gw-gnc
* src/report/utility-reports/view-column.scm: don't use gw-gnc
* src/report/utility-reports/utility-reports.scm: don't use gw-gnc
* src/report/utility-reports/iframe-url.scm: don't use gw-gnc
* src/report/utility-reports/hello-world.scm: don't use gw-gnc
* src/report/stylesheets/test/Makefile.am: remove report-gnome
from dirs
* src/report/stylesheets/stylesheets.scm: don't use gw-gnc
* src/report/stylesheets/stylesheet-plain.scm: don't use gw-gnc
* src/report/stylesheets/stylesheet-fancy.scm: don't use gw-gnc
* src/report/standard-reports/test/Makefile.am: remove report-gnome
from dirs
* src/report/standard-reports/transaction.scm: don't use gw-gnc
* src/report/standard-reports/standard-reports.scm: don't use gw-gnc
* src/report/standard-reports/register.scm: don't use gw-gnc
* src/report/standard-reports/price-scatter.scm: don't use gw-gnc
* src/report/standard-reports/portfolio.scm: don't use gw-gnc
* src/report/standard-reports/pnl.scm: don't use gw-gnc
* src/report/standard-reports/net-barchart.scm: don't use gw-gnc
* src/report/standard-reports/category-barchart.scm: don't use gw-gnc
* src/report/standard-reports/balance-sheet.scm: don't use gw-gnc
* src/report/standard-reports/account-summary.scm: don't use gw-gnc
* src/report/standard-reports/account-piecharts.scm: don't use gw-gnc
* src/report/report-system/test/Makefile.am: remove report-gnome
dir
* src/report/report-system/report.scm: don't use gw-gnc
* src/report/report-system/report-system.scm: don't use gw-gnc
* src/report/report-gnome/window-report.c: implement report
export handling gui here instead of in reports
* src/report/report-gnome/report-gnome.scm: don't use gw-gnc
* src/report/locale-specific/us/test/Makefile.am: remove
report-gnome from dirs
* src/report/locale-specific/us/taxtxf.scm: don't use gw-gnc.
take out gui code.
* src/import-export/qif-io-core/qif-io-core.scm: don't use gw-gnc
* src/import-export/qif-import/qif-parse.scm: fix i18n
* src/import-export/qif-import/qif-import.scm: don't use gw-gnc
* src/gnome/gw-gnc-spec.scm: remove remaining gnome-utils wrapping
* src/gnome-utils/test/Makefile.am: remove report-gnome from dirs
* src/gnome-utils/gw-gnome-utils-spec.scm: add more wrapping
from gw-gnc
* src/gnome-utils/gnome-utils.scm: don't use gw-gnc
* src/app-utils/test/Makefile.am: remove report-gnome from dirs
* src/app-file/test/Makefile.am: remove report-gnome from dirs
2001-12-11 Christian Stimming <[email protected]>
* src/app-utils/gnc-euro.c (gnc_convert_to_euro): Fixed rounding
error.
* src/gnome-utils/druid-utils.[ch]: added
gnc_druid_set_logo_image.
2001-12-10 Dave Peticolas <[email protected]>
* src/scm/main.scm: handle welcome report gui here
* src/report/utility-reports/welcome-to-gnucash.scm: remove gui code
* src/report/utility-reports/view-column.scm: remove
options-editor code
* src/report/report-system/report.scm: remove options-editor code
* src/report/report-system/report-system.scm: remove
options-editor code
* src/report/report-gnome/report.glade: add
* src/report/report-gnome/report-gnome.scm: handle options-editors
here instead of in other report modules
* src/report/report-gnome/gw-report-gnome-spec.scm: g-wrap more
report api
* src/report/report-gnome/dialog-style-sheet.h: add
* src/report/report-gnome/dialog-style-sheet.c: add
* src/report/report-gnome/dialog-column-view.h: add
* src/report/report-gnome/dialog-column-view.c: add
* src/report/report-gnome/Makefile.am: add new files. fix .scm-links
* src/gnome/glade/report.glade: remove
* src/gnome/glade/Makefile.am: remove report.glade
* src/gnome/dialog-style-sheet.h: remove
* src/gnome/dialog-style-sheet.c: remove
* src/gnome/dialog-column-view.h: remove
* src/gnome/dialog-column-view.c: remove
* src/gnome/gw-gnc-spec.scm: remove report-related wrapping
* src/gnome/Makefile.am: remove deleted files
2001-12-09 Dave Peticolas <[email protected]>
* src/backend/postgres: add auto-generated headers
* configure.in: add new default warnings
2001-12-08 Dave Peticolas <[email protected]>
* src/bin/overrides/gnucash-build-env.in: add report-gnome dir
* src/backend/postgres/test/test-db.c: remove unused function
* configure.in: remove -Wno-unused
2001-12-07 Dave Peticolas <[email protected]>
* src/report/report-system/report.scm: move a gnome function
to report-gnome module
* src/report/report-system/report-system.scm: remove export
* src/report/report-gnome/report-gnome.scm: new file.
* src/report/report-gnome/gw-report-gnome-spec.scm: wrap some more
report bindings.
* src/report/report-gnome/gncmod-report-gnome.c: load g-wrapped
and gnucash report-gnome modules.
* src/report/report-gnome/Makefile.am: add report-gnome.scm module
* src/gnome/gw-gnc-spec.scm: remove some report bindings
2001-12-05 Bill Gribble <[email protected]>
* use AM_PATH_LIBGLADE instead of gnome-config for libglade paths
* add --disable-gui option to configure.in and reshuffle
src/Makefile.am to not build gui code if it's used.
2001-12-04 Rob Browning <[email protected]>
* src/scm/main.scm: merge bootstrap.scm contents here and
rearrange code to eliminate most, if not all top-level activities.
* src/scm/.cvsignore: remove bootstrap.scm and add build-config.scm.
* src/scm/Makefile.am: remove depend.scm and handle switch from
bootstrap.scm to main.scm and build-config.scm.
* src/scm/build-config.scm.in: new file -- keep all the
auto-generated bits (and only those) here.
* src/scm/doc.scm (gnc:load-help-topics): just use
%search-load-path for now, though in the future these files
probably ought to be elsewhere.
* src/scm/path.scm (gnc:default-doc-dirs): match build-config.scm
var names for help dir.
* src/scm/command-line.scm: add other env var lookups as part of
startup changes. Change bootstrap to main.
(gnc:*load-path*): eliminate.
* src/gnc-module/gnc-module.c: remove guile includes.
* src/gnc-module/Makefile.am (libgncmodule_la_LIBADD): remove
guile libs -- not needed any more.
* src/engine/test/test-period.c: must load the engine
before using it, and check to make sure the load works.
* src/engine/test/test-group-vs-book.c (main_helper): check for
failure loading the engine.
* src/bin/overrides/gnucash-build-env.in: part 1 of startup
changes -- use envt vars for more bits: GNC_CONFIG_DIR,
GNC_SHARE_DIR, and GNC_DOC_PATH now.
* src/bin/overrides/gnucash: use main, not bootstrap.
* src/app-utils/app-utils.scm: accommodate removal of
utilities.scm, and use main not bootstrap.
* src/app-utils/utilities.scm: code moved to main.scm -- needed
earlier in boot process.
* src/app-utils/Makefile.am (gncscm_DATA): remove utilities.scm.
* Makefile.am (TAGS): modify to fix the problem where you had to
run make twice to get it to succeed.
* Makefile.TAGS: new file.
* src/scm/depend.scm: deleted.
* src/report/standard-reports/net-barchart.scm: rename bootstrap to main.
* src/report/standard-reports/category-barchart.scm: rename
bootstrap to main.
* src/report/standard-reports/balance-sheet.scm: rename bootstrap
to main.
* src/report/standard-reports/receivables.scm: rename bootstrap to main.
* src/report/standard-reports/payables.scm: rename bootstrap to
main.
* src/report/standard-reports/standard-reports.scm: rename
bootstrap to main.
* src/report/standard-reports/register.scm: rename bootstrap to main.
* src/report/standard-reports/price-scatter.scm: rename bootstrap
to main.
* src/report/standard-reports/portfolio.scm: rename bootstrap to main.
* src/report/standard-reports/average-balance.scm: rename
bootstrap to main.
* src/report/utility-reports/welcome-to-gnucash.scm: rename
bootstrap to main.
* src/report/utility-reports/utility-reports.scm: rename bootstrap
to main.
* src/report/standard-reports/transaction.scm: rename bootstrap to main.
* src/report/standard-reports/aging.scm: rename bootstrap to main.
* src/report/utility-reports/view-column.scm: rename bootstrap to main.
* src/report/standard-reports/account-summary.scm: rename
bootstrap to main.
* src/report/standard-reports/account-piecharts.scm: rename
bootstrap to main.
* src/report/utility-reports/iframe-url.scm: rename bootstrap to main.
* src/report/utility-reports/hello-world.scm: rename bootstrap to main.
* src/tax/us/us.scm: rename bootstrap to main.
* src/scm/price-quotes.scm: rename bootstrap to main.
* src/report/stylesheets/stylesheets.scm: rename bootstrap to main.
* src/report/stylesheets/stylesheet-plain.scm: rename bootstrap to main.
* src/report/stylesheets/stylesheet-fancy.scm: rename bootstrap to main.
* src/report/report-system/report.scm: rename bootstrap to main.
* src/report/report-system/report-system.scm: rename bootstrap to main.
* src/report/locale-specific/us/taxtxf.scm: rename bootstrap to main.
* src/import-export/qif-io-core/qif-io-core.scm: rename bootstrap
to main.
* src/gnome-utils/gnome-utils.scm: rename bootstrap to main.
* src/import-export/qif-import/qif-import.scm: rename bootstrap to main.
* src/report/standard-reports/pnl.scm: rename bootstrap to main.
2001-11-28 Rob Browning <[email protected]>
* src/bin/Makefile.am: handle new overrides arrangement.
* src/bin/generate-gnc-script: new script to generate all the
trivial top-level gnucash redirection scripts.
* src/scm/tip-of-the-day.scm (gnc:read-tips): use
%search-load-path to find the tips, not gnc:find-in-directories
and gnc:*load-path*. In truth, the tips should be in sharedir
anyway, but we'll handle that later.
* src/scm/main.scm (gnc:startup): call gnc:setup-gettext and
setlocale just after loading app-utils. If this isn't early
enough, we'll need to try something else.
* src/scm/command-line.scm (gnc:*config-dir*): add GNC_CONFIG_DIR
environment variable override.
* src/scm/bootstrap.scm.in: switch to use load-from-path for
main.scm.
* src/bin/test/test-run-script: new file.
* src/bin/overrides/gnucash-run-script: new file -- mostly content
of ../gnucash-run-script.
* configure.in: add adjustments for new static overrides scripts.
* src/import-export/binary-import/Makefile.am
(.scm-links): add some more links so runs from build dir will
actually work.
* src/gnome/Makefile.am: accommodate the removal of gnucash.h,
gnucash.c.in, and the move of i18n.h.in which all resulted in the
removal of libgncguile.la.
* src/gnc-module/gnc-module.c
(gnc_module_system_setup_load_path): don't do anything when dir
list is empty.
* src/business/business-core/gncInvoice.c
(gncInvoiceGetInvoiceFromTxn): initialize book to NULL so warnings
won't kill -Werror compiles.
* src/app-utils/.cvsignore: add i18n.h.
* src/app-utils/Makefile.am
(gncinclude_HEADERS): add i18n.h
(EXTRA_DIST): add i18n.h.in
(i18n.h): new target.
* src/app-utils/gw-app-utils-spec.scm: add wrapper for
gnc:setup-gettext.
* src/app-utils/README: new file.
* src/bin/overrides/guile.in: moved from ../.
* src/bin/overrides/gnucash-make-guids: new file -- mostly content
of ../gnucash-make-guids.in.
* src/bin/overrides/gnucash-env.in: moved from ../.
* src/bin/overrides/gnucash-build-env.in: moved from ../.
* src/bin/.cvsignore: update for file rearrangements.
* src/bin/test/test-version: new file.
* src/bin/test/test-guile-env-override: new file.
* src/bin/test/fake-guile: new file.
* src/bin/test/Makefile.am: new file.
* src/bin/test/.cvsignore: new file.
* src/bin/overrides/gnucash: new file.
* src/bin/overrides/Makefile.am: new file.
* src/bin/overrides/.cvsignore: new file.
* src/bin/gnucash.in: removed.
* src/bin/gnucash-make-guids.in: removed.
* src/bin/gnucash-run-script.in: removed.
* src/bin/guile.in: moved to src/bin/overrides.
* src/bin/gnucash-env.in: moved to src/bin/overrides.
* src/import-export/qif-import/Makefile.am (.scm-links): new target.
* src/gnome/gnucash.h: removed.
* src/gnome/gnucash.c.in: removed.
* src/gnome/i18n.h.in: moved to src/app-utils.
* src/import-export/qif-import/.cvsignore: add .scm-links.
* src/gnome/top-level.c: remove gnucash.h include.
* src/gnome/gw-gnc-spec.scm: remove gnucash.h include.
* src/core-utils/.cvsignore: add .scm-links.
* src/core-utils/gw-core-utils-spec.scm: new file.
* src/core-utils/Makefile.am: accommodate new g-wrappers.
* src/app-utils/gnc-gettext-util.c (gnc_setup_gettext): move here.
* src/app-utils/gnc-gettext-util.h (gnc_setup_gettext): move here.
* src/app-utils/i18n.h.in: move here from src/gnome.
2001-11-26 Robert Graham Merkel <[email protected]>
* src/*/Makefile.am: add ${GLADE_CFLAGS} to AM_CFLAGS.
2001-11-21 Rob Browning <[email protected]>
* README: add a note to the Running section indicating that it's
obsolete. We'll need to update this soon.
* src/scm/startup-design.txt: some updates -- needs overhaul.
* src/bin/guile.in: trivial guile override wrapper.
* src/bin/gnucash.in: rearrange code so that the file can be
interactively loaded for debugging without firing up gnucash
immediately.
* src/bin/gnucash-env.in: add the script-override directory to the
front of the user's PATH.
* src/bin/Makefile.am (gncoverridedir): new var.
(gncoverride_SCRIPTS): new var -- add guile.
(guile): new target -- guile override stub script.
* src/bin/.cvsignore: add guile.
* doc/gnucash.1: remove some vestigial envt var refs.
* configure.in: add GNC_LIBEXECDIR.
(AC_OUTPUT): add src/bin/Makefile.
* src/bin/gnucash-env.in: carefully setup PATH to pick up correct
guile.
* src/bin/: new directory. Added so that scripts will be in a
subdir and can be re-made/installed without a full build.
* src/bin/gnucash-env.in: new file -- you can use this to invoke
programs or scripts with the proper gnucash
environment. i.e. "gnucash-env guile -s foo bar" or
"gnucash-env some-command arg1 arg2 ..."
* src/gnome/window-main.c (gnc_shutdown): moved here for now, but
should eventually be moved to app-utils (or similar) and made
public again.
* src/bin/gnucash.in: moved here from ../gnucash.sh.in. Now uses
gnucash-env to set up environment.
* src/gnome/gnucash.c.in: removed all code except
gnc_setup_gettext, which should be moved to app-utils, or
core-utils soon.
* src/scm/main.scm: remove append-path calls - handled in gnucash-env.
(append-path): unused -- deleted.
(gnc:main): handle setlocale here.
* src/.cvsignore: remove bits that moved to src/bin.
* src/Makefile.am: handle new src/bin directory, and remove all
the old gnucash binary bits.
* src/gnc-main.c: deleted.
* src/gnucash-make-guids.in: moved to src/bin.
* src/gnucash-run-script.in: moved to src/bin.
* src/gnucash.sh.in: moved to src/bin/gnucash.in.
* src/gnome/gnucash.h: removed many dead functions.
* src/bin/gnucash-run-script.in: moved here from ..
* src/bin/gnucash-make-guids.in: moved here from ..
* src/bin/Makefile.am: new file.
* src/bin/.cvsignore: new file.
2001-11-20 Rob Browning <[email protected]>
* src/gnome/gnucash.c.in
(gnucash_main_helper): switch to gnc_setenv.
* src/gnome/Makefile.am (AM_CFLAGS): add core-utils.
* src/gnc-module/gnc-module.c
(gnc_module_system_setup_load_path): use gnc_setenv.
* src/gnc-module/Makefile.am
(AM_CFLAGS): add core-utils.
(libgncmodule_la_LIBADD): add core-utils.
* src/engine/gnc-engine-util.h: add #include config.h.
* src/dialog-account/Makefile.am
(AM_CFLAGS): add GDK_PIXBUF_CFLAGS.
* src/core-utils/core-utils.h: new file.
* src/core-utils/core-utils.c: new file.
(gnc_setenv): new function.
(gnc_unsetenv): new function.
* src/core-utils/Makefile.am: new file.
* src/core-utils/.cvsignore: new file.
* src/business/business-gnome/Makefile.am
(AM_CFLAGS): add GDK_PIXBUF_CFLAGS.
* src/backend/file/test/test-save-in-lang.c
(test_file): switch from putenv to gnc_setenv.
(main): switch from putenv to gnc_setenv.
* src/backend/file/test/Makefile.am (AM_CFLAGS): add src/core-utils.
* configure.in (AC_OUTPUT): add src/core-utils.
* src/backend/file/sixtp-utils.c (gnc_timegm): switch from putenv
to gnc_setenv and gnc_unsetenv.
* src/README.modules: add core-utils.
* src/Makefile.am (SUBDIRS): add core-utils.
2001-11-17 Rob Browning <[email protected]>
* src/business/business-gnome/.cvsignore: add various-things.
* src/business/business-core/.cvsignore: add various things.
* src/business/business-core/test/Makefile.am: fixup
TESTS_ENVIRONMENT to use gnc-test-env.
* src/business/business-core/test/.cvsignore: add various things.
* src/business/.cvsignore: add Makefile.in.
* src/gnc-module/test/test-scm-multi: turned into guile script
invoked via /bin/sh.
* src/gnc-module/test/test-scm-multi.scm: deleted.
* src/gnc-module/test/Makefile.am: use gnc-test-env.
(EXTRA_DIST): remove test-scm-multi.scm.
* src/business/business-gnome/Makefile.am
(AM_CFLAGS): add GNOME_PRINT_CFLAGS.
2001-11-16 Rob Browning <[email protected]>
* configure.in (AC_OUTPUT): add src/dialog-account.
* src/.cvsignore: add gnucash.sh.
* src/gnucash.sh.in: new file -- this will eventually become the
primary gnucash program, but for now, let's make it available for
testing.
* src/Makefile.am (SUBDIRS): re-order to fix dependency problems.
(bin_SCRIPTS): add gnucash.sh.
(EXTRA_DIST): add gnucash.sh.in.
(gnucash.sh): new target.
* src/gnc-module/test/test-scm-init: don't set %load-path
internally anymore -- depend on a proper TESTS_ENVIRONMENT.
* src/gnc-module/test/test-load-scm: turn in to a self-contained
guile script launched by /bin/sh which will respect the PATH.
* src/gnc-module/test/test-load-deps: turn in to a self-contained
guile script launched by /bin/sh which will respect the PATH.
* src/gnc-module/test/Makefile.am
(EXTRA_DIST): remove test-load-deps.scm.
* src/tax/us/test/Makefile.am: switch to use gnc-test-env to build
TESTS_ENVIRONMENT.
* src/scm/main.scm (gnc:startup): very ugly hack -- right now we
switch the current-module briefly during the loads. This should
go away once the rest of the startup process is cleaned up.
* src/gnc-module/gnc-module.c
(gnc_module_system_setup_load_path): don't change %load-path
anymore, augment LD_LIBRARY_PATH instead. This reflects the
change in how guile and g-wrap now load C shared libraries.
* src/app-utils/file-utils.h: moved here from src/gnome.
* src/app-utils/file-utils.c: moved here from src/gnome.
* src/app-utils/Makefile.am: add file-utils.
* src/gnc-module/test/test-load-deps.scm: deleted - unnecessary.
* src/register/ledger-core/dialog-dup-trans.c: moved here from
src/gnome.
* src/register/ledger-core/Makefile.am: add dialog-dup-trans.
(SUBDIRS): add . first so tests will work.
(libgncmod_ledger_core_la_LIBADD): add missing dependencies.
(AM_CFLAGS): add needed -I.
* src/gnome-utils/window-help.h: moved here from src/gnome.
* src/gnome-utils/window-help.c: moved here from src/gnome.
* src/gnome-utils/Makefile.am: add window-help.
* src/gnome/gnucash.c.in: add temporary helpers for gnucash
scriptification.
* src/gnome/top-level.c: remove spurious dialog-account.h include.
* src/gnome/file-utils.h: moved to src/app-utils.
* src/gnome/file-utils.c: moved to src/app-utils.
* src/gnome/window-help.h: moved to src/gnome-utils.
* src/gnome/window-help.c: moved to src/gnome-utils.
* src/gnome/dialog-dup-trans.c: moved to src/register/ledger-core.
* src/gnome/dialog-account.c: moved to src/dialog-account.
* src/gnome/dialog-account.h: moved to src/dialog-account.
* src/gnome/Makefile.am: accommodate file relocations.
* src/dialog-account/dialog-account.c: moved here to break mutual
dependency between ledger-core and libgncgnome.
* src/dialog-account/dialog-account.h: moved here to break mutual
dependency between ledger-core and libgncgnome.
* src/dialog-account/Makefile.am: new file.
* src/dialog-account/.cvsignore: new file.
2001-11-16 Christian Stimming <[email protected]>
* src/Makefile.am, src/gnome-utils/Makefile.am: Moved
${GUPPI_LIBS} to appear before GNOME_LIBDIR in *_LIBADD so that
--with-libguppi-prefix can have any effect at all.
2001-11-13 Robert Graham Merkel <[email protected]>
* src/gnc-module/Makefile.am: libgw-gnc-module.la needs
to be linked to libgncmodule.la
2001-11-12 Rob Browning <[email protected]>
* src/gnome/Makefile.am (noinst_HEADERS): add gw-gnc.h.
* src/report/utility-reports/test/Makefile.am: use gnc-test-env.
* src/report/stylesheets/test/Makefile.am: switch to use gnc-test-env.
* src/gnome/Makefile.am: accommodate files from src/guile.
* src/gnome/gnucash.c.in: moved here from src/guile.
* src/gnome/gnucash.h: moved here from src/guile.
* src/gnome/i18n.h.in: moved here from src/guile.
* src/gnome/.cvsignore: add files from src/guile.
* src/Makefile.am: update to reflect deleted src/gnome.
* configure.in: update to reflect deleted src/gnome.
* src/guile: deleted -- remaining contents moved to src/gnome.
* src/scm/Makefile.am: added config.
* src/scm/config: moved from src/scm.