-
Notifications
You must be signed in to change notification settings - Fork 761
/
ChangeLog
12777 lines (8553 loc) · 429 KB
/
ChangeLog
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
2003-03-08 Derek Atkins <derek@ihtfp.com>
* src/import-export/import-backend.c:
* src/import-export/import-match-map.c:
* src/import-export/import-match-map.h:
Chris Morgan's Baysian Matching code, to match transactions
based on Bayesian filtering of previously matched transactions.
2003-03-06 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c: Include a latest
change in OpenHBCI: Use bank code from HBCI account instead of
HBCI bank, if the available openhbci version supports it.
2003-03-03 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/business-core.scm: don't export
gnc:owner-get-name -- it overrides the g-wrap'ed version
2003-03-02 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/gncEntry.[ch]: add interfaces
to deal with bill 'payment types', in preparation for
employee expense vouchers.
* src/business/business-core/file/gnc-entry-xml-v2.c:
add support for the bill payment type.
* src/business/business-core/business-core.scm:
don't need gnc:owner-get-name in scheme
add employee support to owners
fix bug in (gnc:owner-get-id)
* src/business/business-core/gncEmployee.[ch]:
add APIs to get-guid and lookup from scheme
* src/business/business-core/gw-business-core-spec.scm:
wrap employee-get-guid, employee-lookup, employee-get-id,
employee-get-username, employee-get-addr, owner-init-employee,
owner-get-employee, owner-get-name
* src/business/business-gnome/business-options-gnome.c:
create an "employee option" widget set
* src/business/business-gnome/business-urls.c:
define an 'employee' URL type
* src/business/business-gnome/dialog-employee.[ch]:
remove old, unused search APIs,
add new search APIs
* src/business/business-gnome/dialog-invoice.c:
add _some_ employee support. Still doesn't contain the code
to display an employee-owned invoice (expense voucher).
* src/business/business-utils/business-options.scm:
create an employee option type
* src/business/business-core/gncInvoice.c:
* src/business/business-core/gncOwner.[ch]:
* src/business/business-core/file/gnc-owner-xml-v2.c:
* src/business/business-gnome/business-gnome-utils.c
* src/business/business-gnome/search-owner.c:
add employee support
2003-03-02 Christian Stimming <stimming@tuhh.de>
* src/app-utils/prefs.scm: Adjust the names of register styles in
the preferences to those names used in the register View
menu. This didn't require changes in any option lookup code.
* src/gnome/glade/register.glade: 'Duplicate Transaction' could
either mean 'to duplicate a transaction' or 'the duplicate of a
transaction'. Both need very different translations. Therefore
changed 'Duplicate Transaction' in the register into 'Duplicate
this Transaction' to resolve that ambiguity here.
2003-03-01 Derek Atkins <derek@ihtfp.com>
* src/gnome/dialog-sxsincelast.c: make sure to resume gui refresh events
2003-02-26 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-backend.c:
-Disable -3 punishment for transactions which have an online ID. This punished credit card transfer yet added no tangible benefit.
2003-02-22 Derek Atkins <derek@ihtfp.com>
* src/gnome/glade/account.glade: Increase height of
account-hierarchy druid.
2003-02-22 David Hampton <hampton@employees.org>
* src/gnome/window-register.c: Don't override the user's toolbar
style preference by calling gtk_widget_show_all() on the toolbar.
#102041
* various: Initial port from the deprecated (in 1.6) guile gh_xxx
interface to the supported scm_xxx interface.
2003-02-22 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/dialog-hbcitrans.c: Quick fix to avoid
online transfers being sent to the bank twice.
2003-02-19 Derek Atkins <derek@ihtfp.com>
* configure.in: move AS_SCRUB_INCLUDE _before_ tests so it wont
fail on gcc 3.2.2 which actually cares. This is particularly
important for AC_CHECK_HEADER(S)
* configure.in: change the configure help message from
"--enable-gui" to "--disable-gui", because the default is
enabled. Also changed "--enable-error-on-warning" for the
same reason.
2003-02-18 David Hampton <hampton@employees.org>
* acconfig.h:
* configure.in: Export the guile version number so it can be used
in the code. Add new variable for conditionally including the
SRFI directory when doing 'make check'. Should be null when using
guile 1.6.
* Various Makefile.am files: Use new conditional include for the
SRFI directory when running 'make check'.
2003-02-17 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/dialog-transfer.c: don't round the exchange
rate when returning it to callers... Compute it from the
from_amount and to_amount.
* src/register/ledger-core/split-register.c: change the rate-cell
to a shares_print_info so we don't lose accuracy due to rounding
errors.
Fixes bug #106332
2003-02-16 David Hampton <hampton@employees.org>
* src/quotes: List HTML::TableExtract as an explicit requirement,
since about half of the of Finance::Quote modules require it even
though F::Q doesn't list it as a dependency.
2003-02-16 Derek Atkins <derek@ihtfp.com>
* src/import-export/import-backend.c: fix a bug keeping the code
from compiling.
2003-02-16 Herbert Thoma <herbie@hthoma.de>
* src/gnome/gnc-split-reg.c:
only display an euro amount in the status bar of a register window
if the account currency is a euro currency but NOT euro itself
* src/gnome-utils/gnc-account-tree.c:
auto resize balance and total columns
2003-02-15 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/qif-file.scm:
- No need to use the 'negative' field anymore
- Save the default split, even if we've got a split transaction.
It will be useful later to make sure we have a properly balanced
transaction and everything has the "right sign"
* src/import-export/qif-import/qif-objects.scm:
- remove the 'negative' field of a split
- add a 'default-split' field of a transaction
- change the split-amounts and set-split-amounts! functions
the split-amounts will also return the default-split, if it
exists. set-split-amounts! will figure out if we need to
reverse the splits by seeing if the amounts add up to 0 and
coping appropriately.. This is to fix a bug where SOME programs
make splits positive, and some make them negative. This should
deal properly in both cases, so it's a better fix for #105139.
2003-02-14 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-backend.c:
-Remove unused code.
-Fix "destination account written to the matchmap even when
autoselected" bug.
-Disable destination account matching by memo, until bayesian
filtering is implemented. It's currently unlikely to help, and
causes false positives since very often the type of the
transaction is stored there.
2003-02-14 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/glade/hbci.glade: Clarify some
HBCI strings.
2003-02-14 David Hampton <hampton@employees.org>
* src/quotes/dump-finance-quote: Do a runtime check for
Finance::Quote instead of including the perl 'use' declaration.
The latter causes RPM to add a dependancy on F::Q.
2003-02-13 Derek Atkins <derek@ihtfp.com>
* src/gnome-utils/dialog-options.c: guile-1.6 doesn't like
"()" as an empty list. Change it to "'()" to make it happy.
This is backwards compatible with older guiles.
2003-02-12 Derek Atkins <derek@ihtfp.com>
* applied Matthew Vanecek's patch to postgres/kvp-sql.c
2003-02-10 Herbert Thoma <herbie@hthoma.de>
* src/app-utils/gnc-ui-util.c:
* src/app-utils/gnc-ui-util.h:
* src/gnome-utils/gnc-account-tree.c:
* src/gnome/window-acct-tree.c:
* src/scm/main-window.scm:
recycle ACCOUNT_BALANCE_EURO and ACCOUNT_TOTAL_EURO account tree
columns to display balance resp. total in default report currency
* src/import-export/import-backend.c: in
gnc_import_TransInfo_refresh_destacc move g_assert before first
assignment, otherwise I get a syntax error
2003-02-10 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-main-matcher.c: Patch by cmorgan to
restrict iterative destination account matching to transactions
AFTER the current one in the clist.
2003-02-10 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-backend.c,h:
* src/import-export/import-main-matcher.c: Apply most of cmorgan's
patch for iterative destination account matching. Optionally
restricting to the transactions after the one being edited still
need's to be implemented.
2003-02-10 Derek Atkins <derek@ihtfp.com>
* po/POTFILES.in: fox for the search-param.c move
* src/import-export/import-main-matcher.c: freeze/thaw the clist
around the iterator to ease the visual affects.
2003-02-09 Chris Lyttle <chris@wilddev.net>
* rpm/gnucash.spec.in: fix info file not found.
2003-02-09 Derek Atkins <derek@ihtfp.com>
* src/register/ledger-core/split-register-control.c
If we're expanded, ignore TRANS cursor classes. This prevents
a bug where the exchange-rate dialog is realized when there really
is nothing to do (because we're in an expanded transaction).
* src/register/ledger-core/split-register-model.c
Don't PERR() if we have no account -- this prevents annoying
messages when handling multi-currency txns in the GL. Note:
all GL txns are displayed in the locale currency (if possible).
* src/register/ledger-core/split-register.c
AUTO_LEDGER and JOURNAL register types _ARE_ expanded -- return
TRUE, not FALSE.
Fixes 105319
* src/report/standard-report/advanced-portfolio.scm: add extra
arguments to prevent scheme crash.
Fixes 105405
* src/gnome/glade/sched-xact.glade: Need to start the Editor dialog
as non-visible so the ledger get's sized properly
* src/gnome/dialog-scheduledxaction.c: resize the cal after the
dialog is shown, so it get's sized properly.
Move some files around in preparation for re-factoring the
reconcile-list code:
* src/gnome-search/Makefile.am: removed search-param.[ch]
* src/gnome-search/search-param.[ch]: moved the search-param to gnome-utils
* src/gnome-utils/search-parah.[ch]: moved search-param from gnome-search
* src/gnome-utils/Makefile.am: added search-param.[ch]
2003-02-07 Derek Atkins <derek@ihtfp.com>
* src/scm/main.scm:
* src/scm/command-line.scm:
Add a flag to make it easier to turn on and off the various debug
messages (except the tip-list, which needs to be done manually).
* src/scm/tip-list.scm: change the 'development' message
2003-02-05 Derek Atkins <derek@ihtfp.com>
* src/engine/gnc-lot-p.h: some strange platforms assume "char" is
0..255 instead of -128..127. Force a "signed char" to make sure
we get the latter interpretation.
* src/app-utils/gnc-ui-utils.c: Don't round unless force_fit is true.
Fixes Debian Bug #179802.
* src/bin/overrides/gnucash-build-env.in: add business-utils
* src/business/business-utils/Makefile.am: make scm-links so you
can run gnucash from within the build tree
2003-02-04 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-backend.c: Add heuristic for duplicate matching by check number.
* doc/README.OFX: Update
2003-02-04 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/qif-file.scm: mark "splits" as negative
to make sure the numbers are reflected appropriately.
* src/import-export/qif-import/qif-objects.scm: add a neg? value to
a qif-split; use this when converting the split-amount.
Fixes bug #105179
2003-02-03 Derek Atkins <derek@ihtfp.com>
* src/calculation/Makefile.am: need to add GUILE_INCS
* src/engine/Makefile.am: add ${INTLLIBS} for gettext() et al on
platforms that don't have it in libc
* src/backend/file/io-gncbin-r.c: don't need to define functions
that are never used, so move the #ifdef around. Fixes # 105124
* rpm/gnucash.in: don't call autoconf
* src/import-export/qif-import/qif-file.scm: fix a
wrong-number-of-arguments fatal crash when trying to reparse
dates.
* src/scm/main.scm: fix "development version" message in head
2003-02-02 Chris Lyttle <chris@wilddev.net>
* configure.in: change to 1.9.0 version
* README: update for new unstable
2003-02-02 Chris Lyttle <chris@wilddev.net>
* rpm/gnucash.spec.in: add options to build ofx,hbci and postgresql
2003-02-02 Benoit Grégoire <bock@step.polymtl.ca>
* doc/README.OFX: I've quickly put together some docs for the ofx module and transaction matching. Also includes a FAQ. Not perfect, but should closebug 99478.
* doc/Makefile.am: Add README.OFX
* src/import-export/ofx/README: Remove obsolete file.
2003-02-02 Derek Atkins <derek@ihtfp.com>
* configure.in: re-enable -Werror, make sure it only is used with GCC,
but also move it to the end of the script so it wont interfere with
any other configuration test.
* src/business/business-report/owner-report.scm: fix the column
headings and option names to match. Fix the date-due column so
the heading properly goes away. Also fix some of the
internationalization issues -- strings were translated but the
translation was not being used. Fixes # 105036
* src/backend/postgres/gncquery.c: change INITIAL_BUFSZ to 32000
* src/app-utils/option-util.c: use gh_scm2double() instead of
gh_scm2int() because guile-1.6 prefers it. Fixes a crash when
opening the Pref's dialog when using guile-1.6.1
* src/business/business-ledger/gncEntryLedgerLoad.c -- don't add
income accounts to bills, or expense accounts to invoices. This
should help further reduce user confusion with what to do when
entering invoices.
* src/report/standard-reports/cash-flow.scm: don't crash when a
user does something silly like having a split with no account.
Warn the user when we find this situation.
* src/quotes/Makefile.am: add dump-finance-quote to the DIST
* po/POTFILES.in:
* src/import-export/Makefile.am:
Removed gnc-gen-transaction.[ch] "properly" for the dist.
2003-02-01 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/gnc-ofx-import.c: No longer assume that transaction with type OFX_OTHER are investement transactions. Fixes bug reported by Rik harris.
* src/import-export/import-main-matcher.c: Fix unrelated display bug with balanced (typically investement) transactions.
2003-02-02 Christian Stimming <stimming@tuhh.de>
* configure.in: Disable error-on-warning by default because this
seriously breaks quite a number of configure tests. May be enabled
again for the development branch, but definitely not for
end-users.
* configure.in: Fix libofx test.
* src/import-export/hbci/gnc-hbci-utils.c, po/de.po: Recognize
even more error codes from OpenHBCI. Yes, I know this breaks
string freeze -- but these strings *really* *only* apply to German
users, so I just fixed the translation myself.
2003-02-01 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/import-utilities.c: Build on Nigel's patch.
This hopefully permanently closes
http://bugzilla.gnome.org/show_bug.cgi?id=101705.
* src/import-export/Makefile.am: No longuer compile Christian's
old matcher.
2003-02-01 Christian Stimming <stimming@tuhh.de>
* src/import-export/import-backend.c: Reduced the
MATCH_DATE_NOT_THRESHOLD to 21 days. Yeah, this should rather be a
user preference, but IMHO three weeks should already cover the
basic problem.
* src/import-export/import-account-matcher.c, import-backend.c,
import-main-matcher.c, import-match-picker.c: Comment out
stderr debugging output.
* src/import-export/generic-import.scm: Move transaction matcher
preferences to "Online Banking & Import" preference page.
* src/import-export/hbci/gnc-hbci-cb.c: Add include config.h.
2003-02-01 Matthew Vanecek <mevanecek@yahoo.com>
* src/backend/postgres/PostgresBackend.c (pgendEnable):
Added ENTER/LEAVE statements
* src/backend/postgres/escape.c: Adde gnc-engine-util.h,
and "module = MOD_BACKEND"
- (sqlEscape_destroy): Added ENTER/LEAVE statemtents.
* src/backend/postgres/gncquery.c (sql_Query_destroy): Added
ENTER/LEAVE statements.
* src/backend/postgres/putil.h: Cleaned up the formatting on the
SEND/FINISH/EXEC/GET_RESULT macros. Changed them to use
PQresultErrorMessage where possible. Made them all set the Backend
error message string. Removed the PQfinish() calls, and setting
be->connection to NULL. Reasoning: if a malformed query fails, there is
no reason to close the connection. If an update/insert fails,
again, there is no need to close the connection. The user should
be presented an error message and respond appropriately. If
a update/insert/delete fails, then generally the transaction is
rolled back to the last BEGIN, thereby preventing data corruption.
* src/engine/QueryNew.c (gncQueryPrint): Check that q is not NULL
prior to processing it.
* src/engine/gnc-engine-util.c: turn off DEBUG on all the modules
(for the release).
* accounts/C/acctchrt_business.gnucash-xea: fix some of the accounts
in the tree to be more accurate to the real world.
* src/register/ledger-core/split-register-module.c: only set ReadOnly
status for Invoices, not Payments. Fixes #105032
2003-02-01 Derek Atkins <derek@ihtfp.com>
* src/gnome/window-register.c: fix the query code to use the correct
param list. Fixes bug #104951
2003-01-31 Derek Atkins <derek@ihtfp.com>
* src/import-export/qif-import/qif-file.scm: change the way that
parse-fields reports an error or warning. In particular, return
a list such that the error is tied to the actual type. This will
allow us to differentiate a date-parse ambiguity from any other
type of ambiguity. Also add a new procedure that, when given the
(cdr parse-results) and a 'type' will return the actual error for
that particular type.
* src/import-export/qif-import/qif-import.scm: export the new symbol
* src/import-export/qif-import/druid-qif-import.c: change the logic
to use the new parse results and only try to fill the date dialog if
there is actually a date parsing ambiguity.
Fixes Morrison J. Chang's QIF import problem.
* src/business/business-gnome/dialog-invoice.c:
* src/business/business-gnome/glade/invoice.glade:
add handlers to immediately save the active and notes fields
as they are edited. Fixes #104954
NOTE: This has a side effect of removing an invoice from any
open searches, but NOT replacing it if you click on the "active"
button.
* src/business/business-gnome/business-gnome.scm: fix the "bill
reminder" so it doesn't create a query if there are no payables
accounts.
* src/gnome-utils/gnc-menu-extensions.c: dgettext() and gettext()
return const char*.
2003-01-30 Derek Atkins <derek@ihtfp.com>
* po/np.po -- add the proper "Plural" header so it builds again.
* Nathan Neulinger's patch to gnc-split-reg.[ch] to implement
a summary-bar "Projected minimum balance". Somewhat fixes #102440.
* src/report/report-system/options-utilities.scm:
* src/report/standard-reports/account-summary.scm:
* src/report/standard-reports/balance-sheet.scm:
* src/report/standard-reports/cash-flow.scm:
* src/report/standard-reports/pnl.scm:
change the api to gnc:options-add-account-selection! to allow
the caller to set the default choice on "use-subaccounts", and
change the cash-flow report to default to 'no'. This will make
sure that "Assets:A/P" is not included (since it shouldn't be).
2003-01-29 Matthew Vanecek <mevanecek@yahoo.com>
* src/backend/postgres/Makefile.am: Changed the .sql.c target to
not echo the beginning and ending quotes. This is part of the
gcc 3.x compatibility changes.
* src/backend/postgres/PostgresBackend.c: Made some whitespace changes
for readability.
- (pgend_book_load_poll): Commented out a PWARN about the old book
list not being empty. See added comments for why.
- (pgend_book_load_poll): added a gnc_session_set_book() call so that
the session would have the correct book loaded (i.e., the book
that's stored in the DB).
* src/backend/postgres/*.sql: Enclosed each line in a set of
quotes "..". The "multi-line literals" were causing compile errors
for gcc 3.x.
* src/backend/postgres/gncquery.c: ran indent on the file.
- (STRING_TERM): Changed the comparison on STRING_MATCH_NORMAL to
STRING_MATCH_CASEINSENSITIVE for purposes of adding a '*' to the
comparison operator "~". The code was writing a "=*" which is
invalid, but "~*" is valid for case-insensitive regex searches.
- (sqlQuery_build): Added a "more_and = 0" to the final if statement
of the "for (il = qterms; il; il = il->next)" loop. This will
prevent a stray "AND" being appended to the end of the "WHERE" clause
of a dynamic query.
* src/backend/postgres/kvp-sql (store_cb): In "case KVP_TYPE_TIMESPEC",
changed the 'cb_data->stype = "timespec"' to 'cb_data->stype = "time"'.
The destination field in the database is defined as 4 characters, and
the extra chars in stype were causing an insertion error.
* src/backend/postgres/putil.h (FINISH_QUERY): Changed the error to use
PQresultErrorMessage() instead of PQerrorMessage().
* src/backend/postgres/test/db-control.sh (our_pg_ctl): Changed the
script to return -1 if pg_ctl was not found in PATH.
* src/backend/postgres/test/run-tests.sh: If db-control.sh returns
failure, the attempt to connect to $PGHOST on $PGPORT.
* src/backend/postgres/test/test-db.c: Included QueryNew.h. Added the
_dbinfo struct to pass host, port, dbname, and mode information
around. Everywhere that used db_name/mode is now using DbInfor->*.
- Ran indent on the file.
- Added a drop_database function to call dropdb on the database used
for the tests. This eventually needs to be changed so that every
"return FALSE" first calls gnc_session_destroy(session), before this
new function is called.
- (db_file_url): Changed the function to handle TCP connections as well
as socket connections.
- (load_db_file): Added a PGBackend object from which to get a PGconn
connection to store in DbInfo.
- (test_raw_query): Added a call to gncQueryPrint() if
gnc_should_log(MOD_TEST, GNC_LOG_DETAIL)
2003-01-29 Herbert Thoma <herbie@hthoma.de>
* src/report/standard-reports/cash-flow.scm: only asset accounts
are in the default account selection, tables use normal-row
and alternate-row
2003-01-28 Derek Atkins <derek@ihtfp.com>
* configure.in -- fix the PG test to deal properly with non-standard
locations. In particular, AC_CHECK_HEADERS() uses CPPFLAGS, not
CFLAGS.
* src/backend/postgres/Makefile.am: use PGSQL_CFLAGS and PGSQL_LIBS
* src/backend/postgres/test/Makefile.am: use PGSQL_CFLAGS
2003-01-28 Christian Stimming <stimming@tuhh.de>
* po/it.po: Updated Italian translation by Lorenzo Cappelletti
<L.Cappelletti@mail.com>
2003-01-27 Christian Stimming <stimming@tuhh.de>
* po/nl.po: Updated Dutch translation by Hendrik-Jan Heins
<hjh@passys.nl>
* src/import-export/hbci/gnc-hbci-getbalance.c: Introduced yet
more user messages about what is supported by the bank.
2003-01-27 Derek Atkins <derek@ihtfp.com>
* configure.in -- don't assume gtkhtml is avail from gnome-config
when testing for zvt. Use the (already aquired) $GTKHTML_LIBS
instead. Fixes Stan's problem from gc-devel.
2003-01-27 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/glade/hbci.glade: Some more GUI work for
HBCI setup, like clarifying some comments.
2003-01-25 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_update_cal): Fix
the Recurrence-Frequency example-calendar date calculation to show
upcoming instances correctly.
* src/engine/SchedXaction.c (xaccSchedXactionGetNextInstance):
Remove the validity check on the temporal-state-data's notion of
the last-occurance date; as invalidity means something important,
we must let it through; fixes Bug#103955.
* src/backend/file/gnc-schedxaction-xml-v2.c
(gnc_schedXaction_dom_tree_create): Make output of the
deferred-instance last-date node optional on it's validity.
* src/gnome/dialog-sxsincelast.c (cancel_check): Change assertion
into conditional-activity, allowing rational use-case and fixing
Bug #103182.
* src/gnome/dialog-scheduledxaction.c (editor_ok_button_clicked):
Correctly update available SX lists instead of the one we were
spawned from, which may have disappeared in the mean time. Fixes
Bug#103629 [and allows the future fix of not needing to open the
SX List Dialog when clicking "Advanced..." in the sx-from-transaction
SX Editor-open vector].
2003-01-26 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci.scm, gnc-hbci-utils.c: Add
preference (on advanced tab) to enable HBCI debug messages.
2003-01-25 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-getbalance.c: Fix HBCI problem
with negative account balances.
* src/engine/Scrub.c (xaccTransScrubImbalance): Fix rounding of
the imbalance amount, #104343.
* po/en_GB.po: Updated British English translation by Nigel Titley
<nigel@titley.com>.
2003-01-23 Derek Atkins <derek@ihtfp.com>
* configure.in -- Apply Bill Nottingham's patch to use db4/db_185.h
(fixes #104178)
2003-01-22 David Hampton <hampton@employees.org>
* src/bin/gnucash: Tell guile 1.6 not to bitch about deprecated
functions.
* src/quotes/dump-finance-quote: Add new script that dumps all the
data returned by F::Q for a stock. It also indicates which data
field gnucash requires, which are optional, etc.
2003-01-22 Derek Atkins <derek@ihtfp.com>
* src/business/business-reports/business-reports.scm -- need to
load business-gnome module, which loads gnome-utils module, for
a couple HTML definitions (which should eventually be moved
elsewhere) so that the reports themselves don't depend on
gnome... This fixes Wilddev's report problem.
* src/business/business-ledger/gncEntryLedgerModel.c -- relabel
the "Account" column to "Income Account" or "Expense Account"
to better encourage the user to "choose wisely".
* src/business/business-ledger/gncEntryLedgerLoad.c -- limit the
accounts in the pull-down list to accounts that are NOT
placeholder, A/R, A/P, Cash, Bank, or Equity accounts. This
is also to encourage the user to "choose wisely" :)
* src/business/business-gnome/glade/*.glade -- fix a tooltip to
let the user know that they can (should?) leave the ID blank
so the system will choose one for them.
2003-01-21 David Hampton <hampton@employees.org>
* src/quotes/finance-quote-helper.in: Fix problem getting quotes
from trustnet.
2003-01-21 Derek Atkins <derek@ihtfp.com>
* configure.in: be more liberal in the use of AS_SCRUB_INCLUDE
2003-01-20 Chris Lyttle <chris@wilddev.net>
* configure.in: release 1.7.8
* NEWS: release 1.7.8
2003-01-20 John Pierce <john@killterm.org>
* Makefile.am
Added distributed generated files to distcleancheckfiles.
Added distcheck-hook to deal with automake1.5 stupidity.
* src/doc/Makefile.am
Move doxygen log and cache to distclean-local.
2003-01-20 Derek Atkins <derek@ihtfp.com>
* src/engine/QueryNew.c -- g_list_append() can take a LONG time
and on big queries the merge can appear to take a long time.
So, let's use g_list_prepend() and g_list_reverse() to speed
up the process significantly.
* src/engine/gnc-numeric. -- fix the gnc_numeric_lcd() algo to
actually work with numbers that are not co-divisible but have
multiple-powers of co-factors. For example, the old algorithm
thought the LCM of 100,96875 was 3100, when it is really 387500,
because it was removing the factor of '5' too many times..
* src/app-utils/test/test-scm-query-string.c -- fix a memory leak
in the test.
2003-01-19 John Pierce <john@killterm.org>
* doc/Makefile.am
* src/doc/Makefile.am
* src/doc/design/Makefile.am
* src/experimental/cgi-bin/Makefile.am
Added docs that were missing from dist.
Moved doxygen clean rules to maintainer-clean.
Moved texinfos to maintainer-clean.
* lib/libc/Makefile.am
Added sources needed for OS X to dist.
* src/app-utils/Makefile.am
* src/backend/postgres/Makefile.am
* src/business/business-core/Makefile.am
* src/business/business-gnome/Makefile.am
* src/business/dialog-tax-table/Makefile.am
* src/core-utils/Makefile.am
* src/engine/Makefile.am
* src/gnc-module/Makefile.am
* src/gnc-module/test/mod-bar/Makefile.am
* src/gnc-module/test/mod-baz/Makefile.am
* src/gnc-module/test/mod-foo/Makefile.am
* src/gnome/Makefile.am
* src/gnome-search/Makefile.am
* src/import-export/Makefile.am
* src/import-export/binary-import/Makefile.am
* src/import-export/qif-io-core/Makefile.am
* src/register/register-core/Makefile.am
* src/report/report-gnome/Makefile.am
* src/scm/Makefile.am
* src/app-file/Makefile.am
* src/gnome-utils/Makefile.am
Put generated headers into dist.
Moved symlinks to distclean.
Moved generated files to maintainer-clean.
Put generated gw-.*.scm files in dist for parity.
Put generated sources into dist.
Moved generated source to maintainer-clean.
* src/bin/overrides/Makefile
Made built scripts depend on config.status to ensure
they're rebuilt when paths change.
2003-01-19 John Pierce <john@killterm.org>
* macros/autogen.sh
Use variables for programs so they can be overridden easily.
2003-01-19 Derek Atkins <derek@ihtfp.com>
* src/engine/gnc-numeric.c -- be more intelligent when operating
on numbers of different denominators. In particular, convert
both numbers to the lcd and then operate on them, instead of
assuming that a "cross-multiply" is safe.
* src/app-utils/test/test-print-parse-amount.c -- add more tests for
PrintAmountInternal by checking force_fit and round. Excercises
a bug (fixed in this patch) where cross-multiplies were NOT safe.
* src/gnome-search/dialog-search.c -- reset the search-type to
"New Search" if we end up displaying no results. Fixes bug #97095.
* src/app-utils/prefs.scm -- combine all the Advanced prefs into one
location. Then add the "New Search Limit" preference.
* src/gnome-search/dialog-search.c --Use the "New Search Limit" pref
to decide when to start a new search vs. when refine the search.
Really fix #97095.
* configure.in: scrub GNOME_PRINT_CFLAGS
* src/gnome-utils/gnc-gui-query.c -- fix gnc_info_dialog() to deal
properly in the case that it's called before the UI is up.
* src/app-utils/hooks.scm -- create a new 'post-ui-startup' hook
* src/app-utils/app-utils.scm -- export the 'post-ui-startup' hook
* src/scm/main.scm -- run the post-ui-startup hook after the UI
is up but before we run the ui-event-loop
* src/business/business-utils/business-prefs.scm -- create two
new global preferences: "Notify Bills Due?" and "Bills Due Days"
* src/business/business-gnome/business-gnome.scm -- create a dialog
are runtime (and via a new menu item) that displays all the bills
that are due withing "Bills Due Days" days from now. It's ugly,
but it's functional. Fixes #102439.
* configure.in -- scrub the CFLAGS for postgres, as per Roland Roberts'
report.
2003-01-18 Derek Atkins <derek@ihtfp.com>
* src/business/business-core/gncTaxTable.[ch]: add functions to
get the GUID and lookup by direct GUID (suitable for wrapping)
* src/business/business-core/gw-business-core-spec.scm: wrap
the taxtable get-guid and lookup methods
* src/business/business-gnome/business-utils.[ch]: re-implement
the "generic option menu" code to allow get_value(), set_value(),
and changed_callback() functions.
* src/business/business-gnome/business-options.c: create a taxtable
option type using the new generic optionmenu code
* src/business/business-gnome/business-options.scm: define a taxtable
option. Also fix all the other options when using a KVP storage
to actually load and save the options properly
* src/business/business-gnome/business-prefs.scm: create a default
customer and default vendor taxtable option for the "File Properties"
option menu.
Initial fix for #93462. Next commit will actually use the values.
move code around a lot.
* Rename a bunch of files:
business-options to business-options-gnome
business-utils to business-gnome-utils
- this required changes to a bunch of files in business-gnome
* move business-options.scm and business-prefs.scm to business-utils
* create a business-utils gnc-module
- required changes to configure.in, business/Makefile.am
- added a bunch of files (generally moved from business-gnome)
* moved a bunch of other non-gnome definitions out of the gnome-specific
locations (gnome-utils -> app-utils, or business-gnome -> business-utils)
* gncEntryLedgerLoad.c: commented-out code to load tax-tables from
the options; waiting until code is actually written.
* src/app-utils/option-util.[ch]: add new functions to handle
kvp-options from C (similar to the gnome-utils functions to
create an option dialog from a kvp-frame for a particular
object).
* src/business/business-utils/business-options.[ch]: add code to
lookup business options in an option database, from C.
* src/business/business-ledger/Makefile.am: include business-utils headers
* src/business/business-ledger/gncEntryLedgerLoad.c: load the tax-table
from the book-kvp options and use that as the default tax table
FIXES 93462.
* src/app-utils/prefs.scm: Remove "user name" and "user address"
preferences, as they are no longer used by anything.
* src/report/standard/reports/register.scm: we're not using the
'invoice' portion anymore, so we don't need references to user
name and user address preferences. This removes the "User Info"
page from the Global Preferences.
2003-01-16 Derek Atkins <derek@ihtfp.com>
* src/engine/commodity-table.scm: move gnc:commodity-is-currency? here
* src/engine/engine.scm: export gnc:commodity-is-currency?
* src/report/report-system/report-system.scm: remove ref to same.
* src/report/report-system/report-system.scm: remove function above
* src/import-export/qifiimport/qif-to-gnc.scm: fix the algorithm
to find/create new accounts. All "parent" accounts are of
commodity "default-currency" (but don't really care about that).
When creating a leaf account, use the security if it's a
stock/mmf account, but the default-currency otherwise.
Fixes #103633.
NOTE: Might need similar fixed in qif-io-core?
* qif-merge-groups.scm: Limit matches against only the accounts in
the old group, so we don't match against ourselves. This should
limit the matches to only "reasonable" matches, and should fix #102463
2003-01-15 David Hampton <hampton@employees.org>
* configure.in: Remove restriction on guile versions > 1.4.
Provide a version dependant load path variable for the SRFI
location. (Empty in 1.6 since they're bundled with guile.)
* src/engine/Makefile.am: Don't hard code the location of the
SRFIs into the guilel load path.
* src/import-export/qif-import/qif-file.scm: The rdelim module
moved locations in guile 1.6
2003-01-15 John H. Pierce <john@killterm.org>
* Makefile.am:
* configure.in:
* src/app-file/Makefile.am:
* src/app-utils/Makefile.am:
* src/backend/net/Makefile.am:
* src/backend/rpc/Makefile.am:
* src/bin/Makefile.am:
* src/business/business-core/Makefile.am:
* src/business/business-gnome/Makefile.am:
* src/business/dialog-tax-table/Makefile.am:
* src/core-utils/Makefile.am:
* src/engine/Makefile.am:
* src/experimental/cgi-bin/Makefile.am:
* src/experimental/cgi-bin/fastcgi-hello.c:
* src/experimental/cgi-bin/gnc-server.c:
* src/experimental/cgi-bin/hello3.c:
* src/gnc-module/Makefile.am:
* src/gnc-module/test/mod-bar/Makefile.am:
* src/gnc-module/test/mod-baz/Makefile.am:
* src/gnc-module/test/mod-foo/Makefile.am:
* src/gnome/Makefile.am:
* src/gnome-search/Makefile.am:
* src/gnome-utils/Makefile.am:
* src/import-export/binary-import/Makefile.am:
* src/import-export/hbci/test/Makefile.am:
* src/register/register-core/Makefile.am:
* src/report/report-gnome/Makefile.am: Changes to make the build
system work on multiple architectures and with multiple versions
of the autotools suite. Make generated g-wrap sources depend on
config.status.
* Makefile.DEPS:
* src/bin/strsub.c: New files needed for automake 1.4. These can
be removed when automake 1.4 is no longer supported for building
gnucash.
2003-01-15 Derek Atkins <derek@ihtfp.com>
* src/app-utils/test/test-print-parse-amount.c: set force_fit and
round to 0 (like they should be) so we don't hit the rounding
code and blow up. Fixes #103536.
* src/backend/postgres/test/Makefile.am: include run-tests.sh in
the distribution.
* src/register/register-gnome/gnucash-sheet.c: fix a fencepost
error where it assumed there would be at least two "visible
rows" per block, so search through the end rather than skipping
the last row. This fixes the page-up/page-down problem with
invoices. Also add more places where the visible range is computed.
* src/business/business-ledger/gncEntryLedgerLoad.c: add code to
"show_range()" which should fix the page-up/page-down problem.
2003-01-14 Derek Atkins <derek@ihtfp.com>
* src/engine/QueryNew.h: add QUERY_PARAM_ACTIVE
* src/business/business-core/gncCustomer.c:
* src/business/business-core/gncEmployee.c:
* src/business/business-core/gncInvoice.c:
* src/business/business-core/gncJob.c:
* src/business/business-core/gncOrder.c:
* src/business/business-core/gncVendor.c:
add the QUERY_PARAM_ACTIVE parameter support
* src/app-util/prefs.scm: add hidden preference to store
the user's choice of searchin
* src/gnome-search/search.glade: add a checkbox to search-for-all
* src/gnome-search/dialog-search.c -- add preliminary support to
limit searches to only "active" objects. Fixes bug #103506
* src/gnome-search/dialog-search.c -- grey out the button if it
has no meaning for this particular search-type.
2003-01-13 David Hampton <hampton@employees.org>
* src/engine/engine-helpers.c: Make the gnc_scm_to_gint64()
function work with either guile 1.4 or guile 1.6.
* src/app-file/gnc-file.h:
* src/engine/Backend.h:
* src/engine/gnc-session-scm.c:
* src/engine/gnc-session.h:
* src/gnome-utils/gnc-mdi-utils.c:
* src/gnome-utils/gnc-mdi-utils.h:
* src/gnome-utils/gw-gnome-utils-spec.scm:
* src/report/report-system/report-utilities.scm: Make the progress
bar argument a double instead of an int. This gets around an
issue with guile 1.6.
2003-01-13 Derek Atkins <derek@ihtfp.com>
* src/app-utils/option-util.c: gh_str2scm() takes a char*, not a
const char* (at least in guile-1.3.4), so force the string to be
a char* to make the compiler happy.
* src/engine/date.c: add spaces to the scanDate delimiters,
although it may not help if strptime() is doesn't like the
spaces. Attempt to fix #103147, but it's probably a strptime
bug.
* src/business/business-gnome/dialog-invoice.c -- make the Notes
field editable for new invoices. Fixes #103345
* src/import-export/import-utilities.c -- applied Nigel Titley's
patch for #101705
2003-01-12 Derek Atkins <derek@ihtfp.com>
* src/app-utils/global-options.[ch]: add gnc_default_report_currency()
* src/app-utils/gw-app-utils-spec.scm: wrap gnc_default_report_currency()
* src/app-utils/prefs.scm: add "Default Report Currency" preference
* src/report/report-system/options-utilities.scm: use new report currency