forked from Gnucash/gnucash
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.2002
4753 lines (3449 loc) · 177 KB
/
ChangeLog.2002
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
2002-12-30 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/hbci/druid-hbci-initial.c
* src/import-export/hbci/gnc-hbci-utils.c:
Fix a bunch of "warning: deprecated use of label at end of
compound statement" in gcc3 in select statements (added
semicolons after default: so that I don't break anything,
but it should probably output an error instead).
2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/report/standard-reports/cash-flow.scm: Patch by Ed Warnicke
<hagbard@physics.rutgers.edu>.
2002-12-30 Matthew Vanecek <mevanecek@yahoo.com>
* src/backend/postgres/PostgresBackend.c: Added some ENTER
and LEAVE statements to more of the functions.
* src/backend/postgres/upgrade.c: Changed all the DATETIME
SQL data types to TIMESTAMP. DATETIME will not be in Postgresql
as of 7.3.
* src/backend/postgres/functions.sql: Changed all the DATETIME
types in the DDL to TIMESTAMP.
* src/backend/postgres/table-create.sql: Changed all the DATETIME
types in the DDL to TIMESTAMP.
* src/backend/postgres/table-audit.sql: Changed all the DATETIME
types in the DDL to TIMESTAMP.
2002-12-30 Christian Stimming <stimming@tuhh.de>
* src/app-utils/prefs.scm, src/app-utils/global-options.c: Rename
"Default currency" option to "New Account default currency" since
*everybody* asks about that one. Was reported in #102043,
#100466, #99364, #87729.
* src/business/business-gnome/dialog-invoice.c
(gnc_invoice_id_changed_cb): More i18n fixes. Don't split up
strings.
* src/business/business-gnome/glade/*.glade: Correct spelling
error.
* src/engine/FreqSpec.c: Fix the i18n comments for the translators.
* src/gnome-utils/gnc-dense-cal.c: i18n'ize the dense calendar
widget.
2002-12-29 Christian Stimming <stimming@tuhh.de>
* src/gnome/dialog-scheduledxaction.c, dialog-sxsincelast.c: Some
i18n fixes.
2002-12-28 Joshua Sled <jsled@asynchronous.org>
* src/register/register-gnome/formulacell-gnome.c: Changed
FormulaCell from MOD_SX to MOD_REGISTER.
* src/engine/FreqSpec.c (xaccFreqSpecGetFreqStr):
s/g_string_sprintf/snprintf/, as the former can't handle the
re-ordered format parameters which the po-files use; fixes
Bug#101650.
2002-12-28 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-transfer.c: Revert pricedb lookup at
warlord's request.
* src/bin/test/Makefile.am:
* src/doc/Makefile.am:
* src/import-export/hbci/Makefile.am:
* src/import-export/ofx/Makefile.am: Get 'make distcheck' working again.
2002-12-28 Christian Stimming <stimming@tuhh.de>
* src/scm/main.scm: Patch by Peter O'Gorman <peter@pogma.com> for
Mac OS X.
2002-12-27 Christian Stimming <stimming@tuhh.de>
* src/engine/test-core/Makefile.am: Fix linker errors in
src/engine/test/
* src/import-export/hbci/hbci-interaction.c: Fix reparent
warnings. Make the PIN dialog a bit nicer.
* src/import-export/hbci/gnc-hbci-getbalance.c: Always use the
"booked balance" instead of sometimes one or the other.
* po/de.po: Updated translation.
2002-12-23 David Hampton <hampton@employees.org>
* src/import-export/qif-import/qif-parse.scm: Fix regexps to
handle a leading '+' sign in the currency field. (Bug reported on
gnucash-user.)
* src/gnome-utils/gnc-html.c: The stream_handler hook needs to
return a file size. Not all files opened by this function are
ASCII text. Reset the base_location properly when switching
documents. Add debugging. #101783
* src/report/report-gnome/window-report.c: Update the various
functions used as stream_handlers to return correct file
sizes. #101783
* configure.in: When checking for gtkhtml-1.1, make the lack of
pkg-config a fatal error. Also check for pkgconfig due to some
clueless software mismanagement.
* macros/autogen.sh: Enable -Werror for all builds.
* src/app-file/gnc-file.c: Add missing error message.
* src/backend/file/sixtp-dom-parsers.c:
* src/backend/file/sixtp-stack.c:
* src/backend/file/sixtp.c: Better handling of corrupt XML data
files. Print better error messages for unknown tags, or
mismatched start/end tags.
* src/engine/engine-utilities.scm: Check for errors when trying to
open a new session file.
* src/engine/gw-engine-spec.scm: Added wrappers to access the
engine suspend/resume events functions.
* src/scm/command-line.scm: Suspend engine events when running
with the --add-price-quotes flag.
* src/scm/price-quotes.scm: Add some additional checking.
* src/gnome-utils/dialog-transfer.c: Change logic to multiply by
the exchange rate instead of divide. Look for both both forward
and reverse currency quotes in the pricedb. Attempt to install
currency quotes into the pricedb in a consistent manner. Give the
user better feedback on exactly what the exchange rate
means. Obsolete the currency "swap" routine. #101450
* src/gnome-utils/transfer.glade: Give the user better feedback on
exactly what the exchange rate means.
* src/register/ledger-core/split-register-control.c: Remove
function call to obsolete routine.
* src/engine/gnc-pricedb.c:
* src/engine/gw-engine-spec.scm: Added a new function
(gnc_pricedb_lookup_day) to retrieve a price quote from a certain
day, not just an exact time.
* ChangeLog: Spell check this file.
2002-12-22 Chris Lyttle <chris@wilddev.net>
* rpm/gnucash.spec.in: require g-wrap 1.3.4
2002-12-22 Chris Lyttle <chris@wilddev.net>
* NEWS: release 1.7.6
* configure.in: release 1.7.6
2002-12-22 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-html.c: Build the URL correctly when using
the base_location field. #101783
2002-12-21 Chris Lyttle <chris@wilddev.net>
* src/gnc-ui.h: Change help files
* src/business/business-gnome/dialog-customer.c: fix help button
* src/business/business-gnome/dialog-employee.c: fix help button
* src/business/business-gnome/dialog-invoice.c: fix help button
* src/business/business-gnome/dialog-job.c: fix help button
* src/business/business-gnome/dialog-order.c: fix help button
* src/business/business-gnome/dialog-vendor.c: fix help button
* src/gnome-search/dialog-search.c: fix help button
2002-12-21 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sx-from-trans.c (sxftd_compute_sx): Respect the
user's Prefs regarding new SXes; fixes Bug#99566.
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Don't ignore fractional currency-amounts; fixes Bug#97062.
(gnc_ui_scheduled_xaction_editor_dialog_create): Changed some
string-constants to their #defines.
2002-12-20 David Hampton <hampton@employees.org>
* src/register/ledger-core/gnc-ledger-display.c:
Remove the original fix for #92158 as it caused #100852.
* src/register/ledger-core/split-register-p.h:
* src/register/ledger-core/split-register.c: Add place to save the
list of splits used to fill the register.
* src/register/ledger-core/split-register-load.c:
If there is a transaction pending when updating the register, use
the saved list so that the transaction is guaranteed to remain in
the register until the user finishes editing it. Otherwise,
populate the saved split list. #92158
* src/gnome/gnc-split-reg.c: Don't let users delete the split that
attaches a transaction to the current register.
* src/gnome/window-reconcile.c: Make sure to set the balance
properly for reversed accounts. #100998
2002-12-20 Chris Lyttle <chris@wilddev.net>
* src/pixmaps/gnucash-icon.png: new gnucash icon
* rpm/gnucash.spec.in: remove help dirs, add finance-quote-check
* src/gnome/gnucash.desktop.in: new gnucash icon
* src/gnome-utils/gnc-gnome-utils.c: add custom icon function
* src/pixmaps/Makefile.am: new gnucash icon
2002-12-20 Christian Stimming <stimming@tuhh.de>
* po/el.po, accounts/el_GR: Updated Greek translation by Nikos
Charonitakis <charosn@her.forthnet.gr>
2002-12-19 David Hampton <hampton@employees.org>
* src/register/register-core/register-common.h: Large accounts are
overflowing the data types used in the register code and are
causing crashes. #92072, #98802
2002-12-16 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/glade/hbci.glade: Set max size of
transaction fields according to HBCI spec.
2002-12-16 Chris Lyttle <chris@wilddev.net>
* Makefile.am: remove doc-tools dir
* configure.in: remove making in doc-tools, sgml dirs
* doc/Makefile.am: remove sgml dir
* src/scm/help-topics-index.scm: add indexes for new help docs
* doc-tools/build-help-index.in: removed
* doc-tools/dbadd.c: removed
* doc-tools/Makefile.am: removed
* doc-tools/.cvsignore: removed
* doc/manual/*: removed
* doc/sgml/*: removed
* doc/html/*: removed
2002-12-15 David Hampton <hampton@employees.org>
* src/report/standard-reports/advanced-portfolio.scm:
* src/report/standard-reports/portfolio.scm: Add an option for
changing the number of decimal places used in the shares
column. #87164
* src/app-utils/gnc-helpers.c:
* src/app-utils/gnc-ui-util.c:
* src/app-utils/gw-app-utils-spec.scm: New functions for creating
a print-info data structure with an explicit number of decimal
places. Added flags to GNCPrintAmountInfo to control
truncation/rounding of numbers.
* src/report/report-system/report-utilities.scm: New helper
routine for user feedback during rendering.
* src/report/report-system/html-document.scm:
* src/report/report-system/report-system.scm: Give user feedback
during the rendering of a report. Clunky at this point since most
reports are large tables (which is considered one html item).
* src/engine/Query.c:
* src/engine/QueryNew.c:
* src/business/business-ledger/gncEntryLedger.c: Promote private
build_param_list() function to a public function named
xaccQueryBuildParamList().
* src/engine/Query.h: Change cleared_match_t enum.
* src/gnome/window-register.c:
* src/gnome/glade/register.glade: Add menu items and code so a
user can limit transactions in a register to any combination of
the Reconciled/Cleared/Voided/Unreconciled states. #87990
* src/gnome-utils/dialog-options.c: Fix the order of the dialog
buttons to match the Gnome 1.x pattern. #98291
2002-12-15 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Fixed balance checks to be per-transaction; fixes Bug#97062, as
well as fixing another unfiled bug that would be possible with the
old code.
2002-12-15 Joshua Sled <jsled@asynchronous.org>
* src/gnome/glade/sched-xact.glade: Clarified some text, removed
unused widgets.
* src/app-utils/gnc-ui-util.c (xaccSPrintAmount): Added useful comment.
* src/gnome/druid-loan.c (ld_create_sxes): Re-written; now a much
more principled implementation which passes a test-script; fixes
Bug#100088, Bug#100085.
* src/engine/SX-ttinfo.c (gnc_ttsplitinfo_get_debit_formula):
Fixed potentially-nasty mem-handling bug.
2002-12-14 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-backend.c (matchmap_store_destination):
Fix error messages when memo or description is empty.
* src/import-export/hbci/gnc-hbci-gettrans.c: Switch to always
using the import-main-matcher.
2002-12-13 Chris Lyttle <chris@wilddev.net>
* rpm/gnucash.spec.in: fix for problem reports on gnucash-user
2002-12-12 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-account-matcher.c: Fix "level 3 and
more subaccount not selected by default" bug.
2002-12-11 Derek Atkins <derek@ihtfp.com>
* configure.in: require g-wrap >= 1.3.3
* src/engine/gw-engine-spec.scm: use gslist-of where needed
* src/engine/gw-kvp-spec.scm: use gslist-of where needed
NOTE: As of now you ABSOLUTELY REQUIRE G-WRAP >= 1.3.3
2002-12-11 David Hampton <hampton@employees.org>
* src/gnc-ui.h: New help URLs for Wilddev.
* src/engine/Account.c:
* src/gnome/glade/account.glade:
* src/gnome-utils/dialog-account.c: Support for having an account
scu that doesn't match the account commodity's scu. This allows a
user to notice/correct a case where the two are out of whack and
correct them (#100295), or to intentionally set them that
way. (E.G. A currency trading account that trades in $0.0001 USD
even though the scu for USD is $0.01.)
* src/backend/file/io-gncxml-v2.c: Call new routines to set the
account non-standard scu flag, and to get the actual scu on the
account regardless of the flag.
* src/backend/file/gnc-account-xml-v2.c: Read/write new indicator
that the account scu doesn't match the account commodity's scu.
2002-12-11 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/dialog-transfer.c -- lookup and store entries in
the pricedb, and use those entries when you change accounts and
dates. It will only save one entry per "date-time", so you need
to use the price editor to remove/change entries in the pricedb.
It may be a bit over-zealous of using the pricedb entries -- if
you change the date or an account after typing in a number it will
over-write your change with the nearest pricedb entry.
Fixed Bug #100284.
2002-12-11 Christian Stimming <stimming@tuhh.de>
* accounts/el_GR/acctchrt_common.gnucash-xea: Greek account
templates by Nikos Charonitakis <frolix68@yahoo.gr>
* src/import-export/hbci/gnc-hbci-gettrans.c: Fix broken changes
by Benoit.
2002-12-10 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/commodity-utilities.scm: Fix bug
#100463.
2002-12-10 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/*: Add user pref to allow HBCI users
to select if they want Christian's matcher or mine.
Update OFX readme.
Update column width in account-picker.
2002-12-09 Christian Stimming <stimming@tuhh.de>
* po/nl.po: Updated translation by Hendrik-Jan Heins
<hjh@passys.nl>.
2002-12-09 Derek Atkins <derek@ihtfp.com>
* src/gnome/window-acct-tree.c: Disallow the deletion of accounts
with ReadOnly Transactions in them. You must first "delete" the
RO Txns before you delete the account. Fix for bug# 100727 (although
it requires invoice unposting to work).
2002-12-9 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-main-matcher.c:
* src/import-export/generic-import.glade: Change colors, remove
imbalance column and put it's info into the "Select action column",
when appropriate. Change many strings after discussion with
Wilddev.
2002-12-8 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-account-matcher.c,h: Add param to
gnc_import_select_account():
@param ok_pressed A pointer to gboolean. If non-NULL, whether or
not the picker dialog was closed by the user pressing ok will be
stored in the parameter. If no dialog was created by the
gnc_import_select_account() call, TRUE is always returned.
* src/import-export/ofx/gnc-ofx-import.c: Fix for above change.
* src/import-export/gnc-gen-transaction.c: Take advantage of
above change
* src/import-export/import-main-matcher.c: Take advantage of
above change. Shorten the strings in the "Specific action to be
taken" column.
2002-12-8 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-backend.c: Make the auto-balance
split have the correct amount in all cases by using
xaccTransGetImbalance() instead of the first split's value.
* src/import-export/import-account-matcher.c:
-Performance improvements in the display code, and skipping
lookup of the kvp frame when not needed.
-Expand the tree when a subaccount is selected
-Remove redundant selection lookup.
2002-12-08 Joshua Sled <jsled@asynchronous.org>
* src/engine/SchedXaction.h: Doxygen-related changes.
* src/register/ledger-core/split-register-layout.c
(gnc_split_register_layout_add_cells): Change F(DEBT|CRED)_CELL
types to FORMULA_CELL from QUICKFILL_CELL.
* src/register/register-gnome/gncmod-register-gnome.c
(libgncmod_register_gnome_LTX_gnc_module_init): Add
formulacell-gnome override to gnc_register setup.
* src/register/register-core/formulacell.c:
* src/register/register-gnome/formulacell-gnome.c: Filled in a
long-thought of idea for a formula cell: can contain text unlike a
pricecell, but doesn't really want to do auto-complete like a
quickfill cell [what we had been using]. This allows us to
provide the gnome formula cell which can remap the keypad '.'
character based on locale; addresses Bug#97065, which is the
cause of Bugs#97063 and #97062.
* src/gnome/glade/sched-xact.glade: Remove "[Last Day]" option;
add "/last day" to 29/30/31 options in gnc-frequency month-based
selections.
* src/gnome/dialog-scheduledxaction.c (new_button_clicked): Change
default new SX frequency to monthly; fixes Bug#100615.
2002-12-08 Derek Atkins <derek@ihtfp.com>
* README.cvs: mention gettextize breakage and "cvs up -C"
workaround.
2002-12-08 Christian Stimming <stimming@tuhh.de>
* src/report/report-system/commodity-utilities.scm: For
calculation of weighted average, use all accounts and not only
currency/stock accounts now with the new exchange system.
* src/import-export/import-backend.c: Fix zero amount in the
'other' split of an imported transaction by now using
SplitSetBaseValue.
2002-12-08 David Hampton <hampton@employees.org>
* src/gnome/glade/register.glade: Make the register's "Set Date
Range" window more intuitive by moving a button.
* src/scm/main.scm: Tweak the file name normalization code.
2002-12-7 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/generic-import.glade: Add user instructions,
get rid of apply button.
* src/import-export/import-main-matcher.c: Speed optimizations,
implement import status notification with background color.
Clarify strings.
Note: The matcher is now feature complete, except for manual
transaction editing. (More optimizations and code review still
to be done) I am awaiting comments about the matcher UI and
and investment transaction importing.
2002-12-07 David Hampton <hampton@employees.org>
* src/app-utils/gnc-ui-util.c: Consolidate all knowledge about
Finance::Quote sources into one place. New and renamed functions
for mapping back and forth from Finance::Quote name to internal
name to user visible name. Functions to record whether or not F::Q
is installed properly, and if so, whether a particular source is
available.
* src/app-utils/gw-app-utils-spec.scm:
* src/gnome-utils/dialog-utils.c:
* src/scm/price-quotes.scm:
Removed all knowledge about Finance::Quote sources and now use the
common database.
* src/quotes/finance-quote-helper.in: Collapse all stock price
retrieval into a single call using the F::Q->fetch method instead
of individual per-source calls.
* src/quotes/finance-quote-check.in: New helper program to read
and return a list of all available F::Q methods.
* src/scm/price-quotes.scm: Code to call new finance-quote-check
program.
* src/scm/main.scm: Check for available F::Q methods when starting
up.
* src/gnome/glade/account.glade:
* src/gnome-utils/dialog-account.c:
* src/gnome-utils/dialog-utils.c:
When not retrieving stock quotes for an account, dim the price
source labels as well as the option menus.
2002-12-07 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-control.c:
- Don't grab the register account for multi-split txns. Just return NULL.
- Better logic in the exchange-rate handler function for when to
pop up the dialog, and what to put into it.
- add an error dialog for corner cases where we want to force
the user to expand the txn in order to get proper conversions.
* src/register/ledger-core/split-register-model-save.c:
- export "split_needs_amount()" for use elsewhere
- fix the logic in handling debcred changes, in particular for
multi-currency cases. Convert amount->value->amount properly.
- handle the case where you change the exchange-rate manually
(and do nothing else).
- fix the logic in the save-split post-processing for what gets
converted when.
* src/register/ledger-core/split-register-p.h:
- export the "split_needs_amount()" api for use in the register.
FIXES bug #100489
* src/engine/gnc-commodity.c: change PWARN() to DEBUG() in
gnc_commodity_equal(), because the average user doesn't need
to know why commodities are not equal.
2002-12-07 Benoit Grégoire <bock@step.polymtl.ca>
More Doxygenification. Created an Engine module, and a
Deprecated list. Unfortunately, unless we turn on EXTRACT_ALL
(not very practical currently) not all functions will appear
unless they are all documented.
* src/engine/Transaction.h: More Doxygenification
* src/engine/Account.h: Doxygenify
* src/doc/doxygen.cfg.in: Minor config change.
2002-12-07 Christian Stimming <stimming@tuhh.de>
* configure.in: Require openhbci 0.9.4 for HBCI version choosing.
* src/import-export/import-backend.c: Fix adding the balancing
split.
* src/import-export/hbci/gnc-hbci-utils.c: Correctly reparent the
HBCI widgets when the parent window changes.
* src/import-export/hbci/hbci-interaction[P].[hc],
hbci-progressmon.c, hbci.scm: Add option for "close on finish" of
the HBCI log window.
* src/import-export/hbci/druid-hbci-initial.c, glade/hbci.glade:
Add dialog for choosing HBCI version.
* po/el.po: Updated translation by Nikos Charonitakis
<charosn@her.forthnet.gr>
* src/engine/Transaction.h: Extensively added function
documentation (in order to avoid further amount/value confusion
down the road), watch doxygen output. Added a lot of 'const' all
over the place.
* po/nl.po: Fix use of msgid_plural by adding the appropriate
header entry.
2002-12-06 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/ofx/gnc-ofx-import.c: Do the "right"
thing for setting split amount and value.
* src/import-export/import-main-matcher.c: Cosmetic
improvements for balance display and window resizing.
* All other affected files: Doxygenify everything. Take a
look, run make doc, and open src/doc/html/index.html
2002-12-06 Derek Atkins <derek@ihtfp.com>
* revert patch in src/engine/Transaction.c -- imbalance is computed
by _value_ -- ALWAYS.
* po/nl.po -- don't use msgid_plural -- it fails to work.
2002-12-06 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-backend.c: Fix for gcc2
2002-12-06 Benoit Grégoire <bock@step.polymtl.ca>
Huge patch, this is the new generic import
architecture/transaction matcher. Many old
files were renamed, split or deleted.
* src/engine/Transaction.c,h:
- Add a DxaccSplitSetAmount function,
- Fix a bug in xaccSplitsComputeValue (Split values were
sometimes being summed, which is illogical) that caused
xaccTransGetImbalance to sometimes return incorrect values.
Somebody please review this. Playing in the engine during
freeze isn't ideal.
* src/import-export/import-backend.c,h: There is now a
real backend, completely independent of the GUI.
* src/import-export/gnc-gen-transaction.c: This is Christian's
old matcher, I tried to maintain compatibility, but couldn't
really test. Please note that there is some code
simplification that could be done there now that there is a
clean backend, and that some values passed between the functions
might no longer have any effect.
* src/import-export/ofx/gnc-ofx-import.c: Update for new
matcher. Use the currency reported by libofx and
xaccSpiltSetBaseValue when adding a banking/credit card
transaction.
* src/import-export/import-account-matcher.c,h: This is a
very generic and flexible account matcher/picker.
* src/import-export/import-commodity-matcher.c,h: This is
a generic commodity matcher/picker.
* src/import-export/import-main-matcher.c,h: This is the
main transaction matcher GUI. It's mostly feature complete
and should be fairly stable, but probably leaks memory.
* src/import-export/import-match-map.c,h: Derek Atkin's
generic string/account matching infrastructure.
* src/import-export/import-match-picker.c,h: This is the
interface to pick a matching transaction. It has been
completely ripped from the backend.
* src/import-export/import-settings.c,h: All user
settings (or compiled-in settings) are now abstracted in
an opaque structure with getter functions.
* src/import-export/import-utilities.c: These are utility
functions to help import module writers.
2002-12-06 Christian Stimming <stimming@tuhh.de>
* po/nl.po, po/uk.po: Updated translations by Hendrik-Jan Heins
<hjh@passys.nl> and Volodymyr M. Lisivka <lvm@mystery.lviv.net>.
2002-12-06 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-control.c -- Fix the
amount display so that the exchange dialog always shows the
"amount" in the the local (register) currency. It will convert
the amount to the txn currency if necessary in cases where all
accounts involved in a split are different (strange edge case).
Fixes #100277
* src/register/ledger-core/split-register-model-save.c -- Handle
the case where only the exchrate changed. Actually change it!
2002-12-06 David Hampton <hampton@employees.org>
* src/quotes/finance-quote-helper.in: Add an additional module to
check for (LWP aka libwww-perl) before attempting to call
Finance::Quote. Work around the fact that the Finance::Quote::VWD
module doesn't return the stock symbol.
2002-12-05 Derek Atkins <derek@ihtfp.com>
* src/gnome-search/Makefile.am: add GDK_PIXBUF_CFLAGS because
it is pulled in by gtkhtml, which is pulled in from window-help.
* revert patch -- not needed. Oops.
* src/gnome/glade/register.glade -- add "Edit Exchange Rate" menu
items to the Actions menu and the context menu
* src/gnome/gnc-split-reg.c -- turn off Exchange Rate editing on
"read-only" registers
* src/register/ledger-core/split-register-control.c -- fix the logic
for when we pop-up the exchange-rate dialog, in particular when the
user requests it. Fixes #100285
* src/gnome-utils/dialog-transfer.[ch]: add two APIs to set the
exchange rate and to set "swapped currencies". The former will
set the "price" and the latter will set a (as of yet unused) flag.
* src/register/ledger-core/split-register-control.c: Don't pop up
the exchange dialog when it is not needed, even when requested.
2002-12-04 David Hampton <hampton@employees.org>
* src/quotes/finance-quote-helper.in (schemify_quote): Allow stock
index names to be passed though from gnucash to
Finance::Quote. Necessary but not sufficient to solve #88118.
* src/scm/price-quotes.scm ((gnc:fq-get-quotes)): Beef up the
error handling. Should now print a warning message if the price
quote lookup fails, instead of crashing. #100186
2002-12-04 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-p.h:
* src/register/ledger-core/split-register.h:
move handle_exchange() API from -p.h to .h to export it
for the menus to call.
* src/gnome/gnc-split-reg.c: add a handler for
exchange-rate menu items.. Partial fix for #100285
* README: fix references to g-wrap
* acinclude.m4: fix g-wrap test to fail properly if it cannot
find g-wrap-config
* remove src/experimental/ofx from the build system
* src/import-export/qif-import/qif-parse.scm:
* src/import-export/qif-io-core/qif-parse.scm:
deal with broken QIF files that give broken bang-fields. In
particular, handle the case where it supplies "!Type Bank"
instead of "!Type:Bank"
2002-12-03 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-control.c:
export the 'handle_exchange()' interface
* src/register/ledger-core/split-register-p.h:
add the 'handle_exchange()' prototype
* src/register/ledger-core/split-register.c:
call handle_exchange() from the save() function to make sure we
have an exchange rate if the user hits "Enter" instead of
tabbing off the end. For the record, the logic of the register
is HORRIBLE, in that there are multiple code paths to deal with
moving the "current location" depending on _how_ you move! This
is awful, and means you need a lot of duplicated code to deal
with all the different corner cases. Someone should re-write
this all.
Closed bug # 97690
2002-12-03 David Hampton <hampton@employees.org>
* src/scm/main.scm ((gnc:account-file-to-load)): Normalize the
path name before using it to open a config files. #90487
* src/scm/path.scm (gnc:load-user-config-if-needed): Write out a
new 1.8 version of the config file. Add the 1.8 version to the
list of files to try an read when reading the config. #100266
* src/engine/gnc-session.c (gnc_session_load): Don't erase the
just loaded account information because the backend is reporting
that the file is from a previous version. Let the caller decide
after querying the user. #97270.
* src/gnome/window-main.c (gnc_main_window_about_cb): Put the
build date into the about box for development versions of
gnucash. #99775
* src/register/ledger-core/split-register-control.c
(gnc_split_register_move_cursor): Don't delete an empty split if
its the current transaction split. Dangling pointers are no
fun. #99774
2002-12-02 Chris Lyttle <chris@wilddev.net>
* NEWS: update to new version 1.7.5
* configure.in: update to new version 1.7.5
2002-12-02 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-utils.c, gnc-hbci-gettrans.c,
gnc-hbci-transfer.c: Create common functions for filling of
description and memo fields.
2002-12-02 David Hampton <hampton@employees.org>
* src/doc/Makefile.am: Fix build issues with the html
directory. Now also works in a split source/build tree.
* src/doc/doxygen.cfg: Removed.
* src/doc/doxygen.cfg.in: New file.
* src/gnome/gnc-split-reg.c (gsr_default_delete_handler):
Convert the delete dialogs to follow the existing gnucash standard
where the cancel button is the rightmost button in the dialog box.
#98291
* src/register/register-core/table-allgui.c
(gnc_table_get_cell_location): Search the entire cellblock for a
cell. Don't bail if one of the entries isn't populated. #93831
2002-12-02 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-model-save.c -- fix a bug
updating two-split multi-currency transactions from the basic ledger.
* src/register/ledger-core/split-register-model.c:
* src/register/ledger-core/split-register-model-save.c:
Fix a few rounding errors when computing conversion rates.
* src/gnome-utils/dialog-transfer.c:
don't make some checks if we're acting as an exchange dialog.
Set an initial exchange_rate when it's passed in.
Grab focus in the price-entry if we're acting as an exchange dialog.
* src/register/ledger-core/split-register-control.c:
reset the rate if the account changed.
get the exchange dialog to pop up in expanded txns
* src/register/ledger-core/split-register-model.c:
put the "proper" exchange rate in the RATE_CELL
v fix the print_info
use ALLOW_SHADOW so the rate-cell gets copied into the cursor
* src/register/ledger-core/split-register.c:
initialize the RATE Cell print-info
* src/register/ledger-core/split-register-control.c:
fill in the "exchange dialog" with entries from the current split/trans
change the API to allow a menu-item to pop up the exchange dialog
2002-12-02 Chris Lyttle <chris@wilddev.net>
* src/doc/Makefile.am: fix for failure when building rpm
2002-12-02 Chris Lyttle <chris@wilddev.net>
* NEWS: update to new version 1.7.4
* configure.in: update to new version 1.7.4
2002-12-01 David Hampton <hampton@employees.org>
* src/engine/Transaction.c (xaccTransOrder): The sort on the
transaction number filed should be a numeric sort not an alpha
sort. #99579
2002-12-01 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-account-sel.c
(gnc_account_sel_set_new_account_ability): Change the
gnc-account-sel's "New..." account button to expand but not fill
it's allocation.
* src/gnome/druid-loan.c (ld_pay_prep, ld_pay_save_current): Add
the ability to independently specify the source/from account of a
payment; fixes Bug#99467.
(ld_pay_prep, ld_pay_save_current): Add some insensitive widgets
to show the escrow account; fixes Bug#99476.
* src/gnome/druid-loan.c (ld_calc_upd_rem_payments): Get the
currently-typed value for doing the recalculation, not what the
gtk_spin_button reports.
(gnc_ui_sx_loan_druid_create): Recalc the remaining months when
the period-size OptionMenu changes.
(ld_pay_prep): Handle better the act of setting up the payment
page for both the Spec-FromAcct and Through-Escrow options.
2002-12-02 Christian Stimming <stimming@tuhh.de>
* src/gnome/window-main.c,
src/business/business-gnome/business-gnome.scm, src/scm/main.scm:
Yet more i18n menu insertion fixes.
* src/gnome-utils/gnc-menu-extensions.[hc]: Added
gnc_gnome_app_insert_menus to work around i18n problems with stock
gnome menus. This is now also used from window-acct-tree.c.
2002-12-01 Derek Atkins <derek@ihtfp.com>
* move QuickFill and dialog-transfer into gnome-utils
* business-ledger/gncEntryLedger.c -- delay setting *new = FALSE until
just before we call the "new account" dialog.
* src/gnome-utils/dialog-transfer -- update the dialog to enable
and "exchange dialog" -- limited use from the register. This is
a first pass at getting multi-currency transactions to work from
the register.
* register/ledger-core/split-register* -- hooks to deal with
multi-currency transactions better. Remember the implicit
exchange rates and recompute the split values, so when you enter
an amount it gets converted properly and you see what you type
(mostly). Call out to the exchange (transfer) dialog when you
create a split to an account different than the transaction
currency. This is a partial fix for 97690.
2002-12-01 Joshua Sled <jsled@asynchronous.org>
* src/app-utils/gnc-helpers.c (g_date_equals, g_date_hash): Added
to allow the use of GDates as GHashTable keys.
* src/gnome/druid-loan.c (ld_rep_next): Fix bug in 'payment' page
transitions.
(ld_rev_prep, ld_rev_recalc_schedule, ld_rev_update_clist):
Support for a loan amortization schedule review page; fixes
Bug#98966.
(ld_destroy): General post-run allocation cleanup.
2002-11-30 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-model.c -- compute
implicit exchange rates for balanced, two-split transactions.
Fixes bug #99083 (for real)
* src/register/ledger-core/split-register-model.c -- compute the
implicit exchange rates for ALL transactions when necessary. No
longer requires the pricedb for printing split values. This will
display all transactions in the currency of the current account,
regardless of the number of splits in the transaction.
2002-11-30 Herbert Thoma <herbie@hthoma.de>
* src/report/standard-reports/cash-flow.scm: Added new option
for output formating, make the output "nicer"
2002-11-30 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-getbalance.c: More graceful
fallback solution when returned balances are zero.
* src/app-utils/gnc-ui-util.[hc]: Added
gnc_locale_default_currency_nodefault function since
locale_default_currency might return a non-locale related
currency. Fix xaccSPrintAmount. Fixes #95404.
* src/engine/iso-4217-currencies.scm ("rouble"): Fix mnemonic for
Russian Rouble which is "RUR" instead of RUB.
* src/business/business-gnome/business-gnome.scm,
src/gnome-utils/gnc-mdi-utils.c,
src/gnome-utils/gnc-menu-extensions.c,
src/import-export/ofx/ofx-import.scm,
src/import-export/qif-import/druid-qif-import.c: More i18n menu
insertion fixes.
2002-11-30 Matthew Vanecek <mevanecek@yahoo.com>
* Makefile.am: Added the GNC_CTAGS_FILE token, and added the
ctags target. Changed the TAGS target to etags, and
GNC_TAGS_FILE to GNC_ETAGS_FILE. Removed GNC_TAGS_FILE from the
noinst_DATA variable. This makes tag building a manual target.
Run "make ctags" for Vi tags, or "make etags" for Emacs TAGS.
* Makefile.TAGS: Changed the TAGS target to etags, and added
the ctags target.
* configure.in: Added the --enable-ctags option.
* .cvsignore: Added tags to .cvsignore. tags is the file created
by ctags.
02-11-29 David Hampton <hampton@employees.org>
* src/report/standard-reports/transaction.scm: Fix the grand
totals in the transaction report when there is more than one type
of currency/commodity to report. #89501
* src/report/report-system/report.scm: Move the busy cursor logic
so that it removes the busy cursor even after a report error.
* src/report/locale-specific/us/taxtxf.scm:
* src/report/standard-reports/transaction.scm: Provide progress updates
while creating reports. #94280
2002-11-29 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-utils.c, gnc-hbci-*.c: Catch the
condition gracefully when OpenHBCI config file does not exist.
2002-11-29 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/dialog-exchange.h -- header for the exchange-rate dialog
2002-11-28 Christian Stimming <stimming@tuhh.de>
* src/import-export/gnc-gen-transaction.c: Use add_threshold
instead of clear_threshold to determine default txn action.
* src/import-export/hbci/gnc-hbci-gettrans.c: Give correct
feedback when no transactions are there.
* src/import-export/generic-import.glade: Add explaining label for
importer window.
2002-11-27 Benoit Grégoire <bock@step.polymtl.ca>