/
ChangeLog
9347 lines (5999 loc) · 298 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
2002-10-27 David Hampton <hampton@employees.org>
* src/import-export/qif-import/druid-qif-import.c: Add a working
directory for the qif-import code; defaults to user homedir. Use
the working directory in the file selection dialog and track any
directory changes by the user. #95668
* src/gnome-utils/gnc-mdi-utils.c (various routines): When
switching between MDI styles, the gnome MDI code creates and
destroys widgets at will. Because of this, remember the list of
menu/toolbar *names* to be modified and then look up the widgets
each time a change needs to be made to the visibility/sensitivity
of the item. #96302
(gnc_mdi_child_changed_cb): If the MDI style is "toplevel", then
don't update the state of any menu/toolbar items when switching
out of a window. Leave them as they were since that window is
still visible to the user.
* src/report/report-gnome/window-report.c
(gnc_report_window_load_cb): Don't try to unprotect the #f
object. Scheme doesn't normally care, but this will crash if
running under gdb.
2002-10-26 David Hampton <hampton@employees.org>
* src/app-utils/option-util.c (gnc_commit_option): Use the new
function to send an error message to the gui code instead of
printing a message on stdout. #96166
* src/gnome-utils/gnc-currency-edit.c (currency_compare): Sort by
currency identifer since it appears first in the display. #96159
Change a couple other functions so that the full currency name is
always displayed in the widget.
* src/gnome/druid-hierarchy.c: Replace the commodity editor with a
currency selector. #95594
2002-10-26 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sxsincelast.c (sxsincelast_tc_row_sel): Place
the template transaction associated with the SX in the window,
fixing Bug#93900.
* src/gnome/dialog-sxsincelast.c (sxsincelast_populate): Process
the auto-create transactions if there are only auto-create,
no-notify SXes as a result of the since-last-run-dialog
invocation; fixes bug #96944.
* src/gnome/dialog-sxsincelast.c (sxsincelast_populate): Changed
return-value from sxsincelast_populate to reflect all the possible
conditions, allowing...
* src/gnome/window-main.c (gnc_main_window_sched_xaction_slr_cb):
Changed since-last-run-dialog-create return-value handling; fixes
Bug#90060.
* src/gnome/dialog-sxsincelast.c (add_to_create_list_to_gui):
Setup of to-create page more correct; the first item which needs
interaction is selected, or the widgets are set to inactive.
Fixes Bug#96669 and Bug#96665.
2002-10-26 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-kvp.h,
src/import-export/hbci/gnc-hbci-gettrans.c: Remember the user's
date of last transaction retrieval. REQUIRES updating to current
OPENHBCI CVS.
* src/import-export/hbci/gnc-hbci-utils.c: Cache the created
HBCI_API for subsequent calls. Will also cache the user's
password. Also, make more meaningful error handling.
* src/import-export/hbci/dialog-daterange.[hc]: Add a dialog
asking for the date range of transactions to retrieve.
* src/engine/date.h: Add timespecToTime_t function.
2002-10-25 David Hampton <hampton@employees.org>
* src/gnome/window-register.c: Use a better function for making
the register contents immutable. Splits can now be viewed but not
changed. Make register altering menu/toolbar items insensitive.
* src/register/ledger-core/split-register.c
(gnc_split_register_set_read_only): New function to set the
read-only bit on the table underlying the register window.
* src/register/register-gnome/gnucash-sheet.c: Remove no longer
used function from first pass at the placeholder account code.
* src/gnc-ui.h:
* src/gnome/window-main.c: Add a new help menu item for Wildev and
rename another one. #96821
* src/gnome/window-register.c: Split the transaction delete
functionality into two functions. The first deletes a split or
transaction, as expected. The second handles what was an odd
corner case of the delete command, and removes all splits except
for the one attached to the current register. This is now called
the "reinitialize" function. (Fixes 85904).
* src/register/ledger-core/split-register.h:
* src/register/ledger-core/split-register-p.h: Make
gnc_split_register_get_current_trans_split() a public function.
* src/register/ledger-core/split-register.c
(gnc_split_register_emtpy_current_trans_except_split): New
function that lets you specify which split to keep when
reinitializing a transaction.
* src/gnome-utils/gnc-gui-query.c: Add a couple more variant ways
to create a dialog box. At some point these should all be cleaned
up and maybe made a subclass of a gnome dialog.
* src/register/ledger-core/gnc-regwidget.c:
* src/engine/Transaction.c: Move trans_has_reconciled_splits()
function from one file to another and rename it
xaccTransHasReconciledSplits().
2002-10-24 Christian Stimming <stimming@tuhh.de>
* src/gnome/window-acct-tree.c,
src/import-export/hbci/gncmod-hbci.c: fix more menu item strings.
2002-10-23 Derek Atkins <derek@ihtfp.com>
* de.po: fix a string for Christian so it compiles.
* new translations require leading underscores for menu names
or the lookups fail when adding new menus. In particular,
"_Actions", "_Toolbar", and "_Status Bar".
* gnc-backend-file.c: make sure a file HAS a date before actually
removing it. Otherwise you will remove a foo.xac file by accident.
2002-10-22 Derek Atkins <derek@ihtfp.com>
Fix a bunch of compiler warnings:
* Transaction-matcher.c: use "=" not "==" to set a variable
* gncmod-generic-import.c: comment out unused variable "engine"
* dialog-scheduledxaction.c: comment out unused function
* gnc-splash.[ch]: change splash-update to take a const string
2002-10-22 Christian Stimming <stimming@tuhh.de>
* po/glossary/gnc-glossary.txt, po/glossary/*: Update glossary
(added Scheduled Transactions). Merge glossaries from 1.6 branch
onto HEAD.
2002-10-21 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_update_cal): Check
validatity of date before subsequent processing; fixes Bug#96467.
* src/gnome-utils/gnc-dense-cal.c
(gnc_dense_cal_mark)
(gnc_dense_cal_mark_remove): Queue a re-draw when marks are added
or removed; fixes Bug#96468.
* src/gnome-utils/gnc-frequency.c (year_range_sels_changed): Emit
"changed" signal when the year-range selections change; fixes
Bug#96470.
* src/gnome/dialog-scheduledxaction.c (gnc_sxed_check_consistent):
Free the name str after we've used it [conrad-found, unfiled bug].
* src/gnome-utils/gnc-dense-cal.c (populate_hover_window): Now
more tolerant of mark sets without names.
* src/gnome/druid-loan.c:
* src/gnome/dialog-scheduledxaction.c: Cleaned up compilation
warnings so -Werror can go back on soon.
* src/gnome/window-main.c (gnc_main_window_create_menus): Reworded
MenuItem for loan-repayment druid as per Chris' suggestion.
2002-10-21 Derek Atkins <derek@ihtfp.com>
* app-utils/options.scm -- fix (find-first-account) to search subaccounts
2002-10-20 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/Trasaction-matcher.c: Fix compiler warnings.
* src/import-export/ofx/gnc-ofx-import.c: Give the user more information
for account creation.
2002-10-20 Derek Atkins <derek@ihtfp.com>
* configure.in -- remove -Wno-uninitialized -Wno-unused, in preparation
for the "new g-wrap" which should output code that wont cause these
warnings.
* gnc-vendor-xml-v2.c, test-customer.c, test-vendor.c -- fix compiler
warnings.
* dialog-options.c -- remove unused variable
* gnc-regwidget.c -- remove unused (module) variable
* Peter O'Gorman's MacOS patch
This is mostly just a bunch of libgncmod_name_LTX_ symbol changes to
the modules.
Also had to remove -Werror from hbci/Makefile.am due to darn cc
warnings about order of includes.
2002-10-20 Benoit Grégoire <bock@step.polymtl.ca>
* Investment transactions now create two accounts, one is for the stock,
the other is the account defined by the FI, where the cash is swaped.
2002-10-19 Derek Atkins <derek@ihtfp.com>
* gnome/gw-gnc-spec.scm -- add "#include <gnc-splash.h>"
* configure.in -- don't let GNOME_COMPILE_WARNINGS overwrite our list
* configure.in -- don't double-add -Wall. Only add -Wall for GCC.
let the user know what additional warnings are being added.
* fix bug #95844 -- fix qif-import/qif-parse.scm to match
qif-io-core/qif-parse.scm w.r.t. parsing the numbers.
* src/dialog-account/dialog-account.c,Makefile.am
prove to myself that there is no real dependency on src/gnome
by removing top-level.h and window-main.h and recompiling....
no warnings were output by the compiler.
* dialog-account.[ch] -- add "destroy-window" callback registration.
remove dependencies on register/ledger
* split-register.c -- register "destroy-window" callback
* move dialog-account.[ch] from src/dialog-account to src/gnome-utils
fix all references (Makefile.am) to remove src/dialog-account
* configure.in: remove src/account-dialog/Makefile
* move gnc-account-sel.[ch] from src/gnome to src/gnome-utils
* app-utils/options.scm -- define new account-sel options that let you
"select" an account. You can only select one account using this option.
* app-utils/app-utils.scm -- export new account-sel option types
* gnome-utils/dialog-options.c -- use the GNCAccountSel to implement
the account-sel option.
* business/business-reports/*.scm -- change to using the new account-sel
option type. Fixes bug #96137
2002-10-19 Christian Stimming <stimming@tuhh.de>
* po/POTFILES.in: Update potfile.in for upcoming translations.
2002-10-18 Christian Stimming <stimming@tuhh.de>
* accounts/fr_FR/*: Some bug fixes by frederic.lespez@wanadoo.fr.
* configure.in, macros/openhbci.m4: Add version control macro for
OpenHBCI.
2002-10-18 Derek Atkins <derek@ihtfp.com>
* dialog-date-close.c: remove unused function and non-necessary header
* gncEntryLedgerModel.c: don't use the currency symbol when printing
value and tax cells.
* Matthew Vanecek's gncQueryPrint() patch
2002-10-18 Benoit Grégoire <bock@step.polymtl.ca>
* Implement a working commodity matcher for the generic import
module.
* src/gnome-utils/dialog-commodity.c,.h: Extend the API to allow
the user to be told what he is trying to match, and to fill in
default values for new commodities
* Use the new matcher in the ofx module. The latest libofx CVS
is needed.
2002-10-17 Derek Atkins <derek@ihtfp.com>
* fix bug #96030 -- change "Customer/Vendor Name" to "Company Name"
* remove (old, unused) dialog-job-select.[ch] files from CVS.
* fix bug #96035 -- do not limit searches to the last-chosen object.
* fix some compiler warnings in dialog-customer and dialog-vendor
* add a new function: gncOwnerIsValid() which is really a
scheme-helper to detect whether an owner is holding a NULL value
(i.e. a real container with no value in the container).
* fix part of bug #96032 -- use (gnc:owner-is-valid) to detect owner
existence.
* fix bug #95954 -- cache backend query compiles. Add a hash table
to map book -> backend compile and fill it in when the terms are
recompiled.
* add a 'modality' flag to the gnc-account-sel (which new-account API)
so that the new-account-window can be called using the modal dialog
interfaces.
* use the GNCAccoutSel in the date-close dialog (fixes bug #94973)
* create search-reconciled.[ch] to implement searches by reconcile flag
* gnome-search/search-core-type.c: hook in "reconciled" type,
via the RECONCILED_MATCH_TYPE string
* src/engine/Transaction.h -- add RECONCILED_MATCH_TYPE string
* hook into the Find Transactions window (fixes bug #95634)
* src/engine/test/test-querynew.c -- add a warning message about
known CRITICAL messages, which are safe to ignore..
* gnc-ledger-display.c -- honor user defaults for A/R and A/P windows
* table-model.h -- add a flag for "READ_ONLY" cells, to all you to
specify a cell as readonly.
* table-allgui.c -- allow the cursor to enter a READ_ONLY cell. Make
sure "editable" is FALSE for READ_ONLY cells.
* split-register-model.c -- If the TxnType != NONE, set all cells as
READ_ONLY.
* fixes bug 96028 by making posted invoices and payments read-only.
* gnc-ledger-display.c -- fix a memory leak (you need to g_list_free()
the returned list from xaccGroupGetSubAccounts(), according to the docs)
2002-10-16 Joshua Sled <jsled@asynchronous.org>
* src/app-utils/gnc-exp-parser.c (gnc_exp_parser_parse): This
function now fails correctly if there are un-bound variables in
the expression. This causes expressions like 'AUD 1.23' to fail.
This is related to, but not a fix for, Bug#95474.
2002-10-16 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/hbci-account-picker.c,
dialog-hbci-trans.c, glade/hbci.glade: Grey out unimplemented
buttons.
2002-10-16 Derek Atkins <derek@ihtfp.com>
* add more debugging to new PostgresBackend functions
* fix call to pgend_trans_rollback_edit()
* fix call to pgend_trans_commit_edit()
2002-10-15 Derek Atkins <derek@ihtfp.com>
* Christian Krause's dialog-utils patch for style
* Update the Backend API in the engine for better plugability.
Change the File, Net, and Postgres backends to use the new API.
Fixes bug 94648.
* src/engine/engine-helpers.c: fix a compiler warning
2002-10-15 David Hampton <hampton@employees.org>
* src/gnome-utils/dialog-utils.c (gnc_handle_date_accelerator): Be
more careful about what keystrokes are passed onto the menuing
system. Clean up the code somewhat. #95787
* src/gnome/reconcile-list.c (gnc_reconcile_list_select_row):
(gnc_reconcile_list_unselect_row): If the user pressed the space
key to toggle a transaction, move the focus down to the next row
of the transaction. This lets the user toggle successive
transactions by repeatedly pressing the space bar (instead of
alternating the space and the down arrow key.)
2002-10-14 David Hampton <hampton@employees.org>
* src/app-utils/prefs.scm: By default, remove old files after 30
days.
* src/gnome/dialog-print-check.c:
* src/gnome/glade/print.glade: Use radio buttons for setting how
the month is displayed. Reorganize the code.
2002-10-14 Joshua Sled <jsled@asynchronous.org>
* src/gnome/dialog-sxsincelast.c (process_auto_create_list): Use
the appropriate function for creating toCreateInstances to fix
Bug#95637.
(sxsld_get_future_created_txn_count): Added to assist in
next-page-determination.
(sxsld_disposition_changed): Correctly predicts
post-processing/future txn count; fixes Bug#95734.
* src/app-utils/gnc-exp-parser.c (func_op): Remove
seemed-like-a-bad-idea explicit negation of calculated values;
fixes Bug#95781.
2002-10-14 Derek Atkins <derek@ihtfp.com>
* src/backend/file/test-xml-transaction.c -- use gnc_numeric_equal()
to compare split value and quantities in tests, because Splits can
adjust those values based on the commodity.
* src/backend/file/test/test-file-stuff.c -- don't spew so much
* src/test-core and src/engine/test-core should not be added to
the gnucash-build-env (noinst_ is a static library)
* add library directories for "make check"
2002-10-14 Chris Lyttle <chris@wilddev.net>
* src/import-export/Makefile.am: fix make dist breakage
* src/engine/Makefile.am: more fixes
2002-10-13 Chris Lyttle <chris@wilddev.net>
* accounts/fr_FR/Makefile.am: fix make dist breakage
* rpm/gnucash.spec.in: update for release
* configure.in: change to version 1.7.1
* AUTHORS: moved Benoit to main developers
* NEWS: added section for 1.7.1 release.
2002-10-13 David Hampton <hampton@employees.org>
* src/scm/printing/print-check.scm: The check printing setup
dialog is now called directly, instead of as a callback from the
check printing code.
* src/gnome/window-register.c (gnc_register_print_check_cb): Call
the check printing setup dialog directly.
* src/gnome/dialog-print-check.c
(gnc_ui_print_compute_new_format): Give feedback on the format
string being used. (gnc_ui_print_check_dialog_create): Rework for
being called directly from the register code. Now hiding instead
of destroying the dialog, so remove hooks to remember state. If
the current register already has a print dialog open, reuse
it. (gnc_ui_print_check_dialog_destroy): Hide the dialog instead
of destroying it. (gnc_ui_print_check_dialog_ok_cb): Call the
scheme printing code directly.
* src/gnome/gw-gnc-spec.scm: Remove unneeded references to check
printing.
2002-10-13 Joshua Sled <jsled@asynchronous.org>
* src/register/ledger-core/gnc-regwidget.c
(gnc_register_create_tool_bar): Added support for tooltips to the
toolbar of the gnc-regwidget
(gnc_regWidget_new): Added support for conditionally disallowing
various capabilities of the reg-widget, as scheduled transactions
use of the regwidget requires. Fixes Bug#95009.
2002-10-12 David Hampton <hampton@employees.org>
* src/scm/printing/print-check.scm (gnc:*stock-check-positions*):
Move the bottom check up by 1/2 inch. #95016 (gnc:print-check):
Actually print the memo field on the check. #95015
* src/gnome/window-register.c (gnc_register_print_check_cb): Print
the Notes field of the transaction, not the memo field of the
split. #95015
* src/gnome/dialog-print-check.c
(gnc_ui_print_compute_new_format): Update the sample date value in
the dialog box any time one of the controls is updated.
(gnc_ui_print_check_format_changed_cb): New callback function.
(gnc_ui_print_check_dialog_create): Update for new controls and
for the dynamicly updating sample date string. #95022
* src/gnome-utils/dialog-utils.c (gnc_option_menu_init_w_signal):
Set up an option menu with an attached callback so that the
program knows when the user changes the setting of the option
menu.
* src/engine/date.c (getDateFormat): New routines for getting
preferred date style. (getDateFormatString): Get the numeric
format string for a date, i.e. "12/31/2000".
(getDateTextFormatString): Get the textual format string for a
date, i.e. "December 31, 2000".
* src/engine/gnc-session.c:
* src/app-file/gnc-file.c:
* src/app-utils/gnc-ui-util.c: Move gnc_get_current_session() into
gnc-session.c. #94551
2002-10-09 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/Account-matcher.c: Change "Account ID" text
to "Full account ID" and make it translateable.
* src/import-export/ofx/gnc-ofx-import.c: Use the new account
name field of LibOFX to help the user identify the account.
Starting now, until furter notice you need LibOFX CVS available
at http://sourceforge.net/cvs/?group_id=61170 to build the
ofx module.
2002-10-08 Derek Atkins <derek@ihtfp.com>
* books do not need to generate events
* however they should generate destroy events
2002-10-07 Derek Atkins <derek@ihtfp.com>
* Rename "print invoice" to "printable invoice"
* Applied Matt Martin's advanced-portfolio patch.
* created the backend-api document
* removed the old Query code (bug #94318)
2002-10-07 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/druid-hbci-initial.c: Fix and activate
the initialization functions again; therefore, the HBCI subsystem
is now open for testing (requires openhbci-CVS as of Oct 03).
* src/import-export/hbci/hbci-interaction.[hc]: Close button
hides, not destroys.
* src/import-export/hbci/hbci-account-picker.c: Fix account picker.
2002-10-06 Joshua Sled <jsled@asynchronous.org>
* src/gnome/druid-loan.c: The druid now enforces valid account
selection for the GNCAccountSel widgets; fixes Bug#90784.
* src/gnome/gnc-account-sel.c (gas_destroy): GNCAccountSel
now cleans up after itself, especially with removing its engine
event observation. Moved from src/gnome-utils/ to src/gnome/
because of circular dep introduced below.
* src/dialog-account/dialog-account.c
(gnc_ui_new_account_with_types): Added new function to create a
NewAccount dialog with only a valid-types filtering list.
* src/gnome-utils/gnc-account-sel.c
(gnc_account_sel_set_acct_filters): Added support for filtering
the accounts available through the GNCAccountSel.
(gnc_account_sel_set_new_account_ability): Added support for a
conditional "New..." button which allows the creation a new
account. If the selector has a filter in place, the filter will
apply to the new-account creation as well.
* src/gnome-utils/gnc-account-sel.c: Added ifdefs, comments around
regions pertaining to unimplemented feature of completion.
Fix for Bug#90779.
(gnc_account_sel_event_cb): Added support for updating list
contents when the account tree changes; the current selection is
respected if the account still exists; fixes Bug#94951.
* src/gnome/dialog-sxsincelast.c
(sxsld_process_to_create_instance): Handle the corner case of not
incrementing the state while postponing/ignoring a
never-been-created SX. Handle only incrementing the counters of
newly-come-due SXes.
* src/engine/SchedXaction.c (gnc_sx_create_temporal_state): Fix
corner case of creating the temporal state of a never-been-created
SX; fixes Bug#94947.
2002-10-06 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.c, gnc-hbci-actions.c:
More work on transaction invocation and importing. Is actually
usable now.
2002-10-06 Derek Atkins <derek@ihtfp.com>
* Rename a bunch of reports as per Chris Lyttle's suggestions
* Change the Report MENU names, not the REPORT names (except for
the "Welcome to GnuCash" report)
* report-gnome/report-gnome.scm -- Create sorted menu items
* taxtxf.scm -- Change "Accounts -> Tax Information" to Edit->Tax Options
2002-10-06 David Hampton <hampton@employees.org>
* src/engine/Account.c (xaccAccountGetDescendantPlaceholder): New
function to check all descendents of an account to see if any of
them is a placeholder account.
* src/gnome/window-register.c (gnc_reg_get_placeholder):
(regWindowDetermineReadOnly): New routines for determining if a
register contains a placeholder account, and putting up a nice
dialog about it.
* src/register/register-gnome/gnucash-sheet.c
(gnucash_register_set_sensitive): New routine to make the sheet
insensitive for read-only accounts.
* src/gnome-utils/dialog-utils.c (gnc_handle_date_accelerator): If
an alphabetic character has any modifiers applied to it, pass it
on to the window manager. Fixes 88520.
* src/register/ledger-core/split-register-model-save.c
(gnc_split_register_save_data_new): Add a new arg to the register
save data to indicate whether the transaction the user is working
on is in expanded mode. (gnc_split_register_save_cells): Don't
balance other split of two, when the register is in expanded mode.
* src/register/ledger-core/split-register-control.c
(gnc_split_register_auto_completion): Add new arg to function
call.
* src/register/ledger-core/split-register.c
(gnc_split_register_save): Add new arg to function call.
2002-10-05 David Hampton <hampton@employees.org>
* src/engine/gnc-engine-util.c (gnc_set_xxx_message):
(gnc_send_gui_xxx): New routines that let the engine display gui
warning/error messages. The callbacks must be initialized by the
gui layer.
* src/gnome-utils/gnc-gui-query.c: Reorganize some of the
gnc_xxx_dialog routines. Add a couple of new routines that take a
va_list but no window.
* src/gnome-utils/gncmod-gnome-utils.c: Initialize the gui
callbacks in the engine.
* src/gnome/glade/newuser.glade: Remove the version number. Its
already in the splash screen.
* src/scm/main.scm (gnc:main): Erase the splash screen before
starting the new user dialog.
2002-10-05 Derek Atkins <derek@ihtfp.com>
* Fix the autoconf-2.13/2.52/2.53 problems -- Gnucash should now
work on all versions of auto-tools, although it now requires GnuMake.
* configure.in -- just pass LIBOBJS directly to the Makefile; pass
a sed script that uses '$U' (which is a 2.53ism, but works right
on 2.13) to the Makefile.
* lib/libc/Makefile.am -- Use LIBOBJS and GnuMake's $(shell) syntax
to create the list of libobjects to be linked into "libc-missing"
* Check for gettext in -lintl for MacOS
* Peter O'Gorman's patch for fixing libtool on darwin
* Implement a core CheckboxCell register type (note, still needs a
pretty Gnome implementation)
* use the checkbox cell in the EntryLedger
* make the Invoiced? cell mutable under limited conditions
2002-10-03 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-gettrans.[hc]: Separate the
Get-Transaction related HBCI functions into this file. Much more
work here, so that most of transaction information is now filled
into the right places. Requires totally up-to-date OpenHBCI CVS,
though.
* src/import-export/hbci/gnc-hbci-getbalance.[hc]: Separate the
Get-Balance related functions to a seperate file. Add invocation
of account reconcile upon successful balance retrieval.
* src/import-export/hbci/hbci-progressmon.c: Change to a
GnomeDialog here, and fix handling of parent window.
* src/gnome/window-main-summarybar.c: Introduce lookup of currency
symbol. However, this doesn't quite fix bug #91724, since that one
is related to the currency_item->assets_label and not to the label
in front of that. What a pity.
* src/RecnWindow.h (recnWindowWithBalance),
src/gnome/window-reconcile.c: Add function to invoke account
reconciliation with balance and date given.
2002-10-03 Derek Atkins <derek@ihtfp.com>
* src/scm/main.scm -- move (setlocale ...) earlier in the startup.
it needs to run before app-utils is loaded (because gnc_localeconv()
caches the first run -- so if that happens before setlocale, you're
stuck!) fixes 89471 and partially fixes 87729
2002-10-02 Derek Atkins <derek@ihtfp.com>
* configure.in: check for ltdl.h
* src/backend/postgres/gncquery.c - create proper SQL, ignore bookGUID
2002-10-01 Herbert Thoma <herbie@hthoma.de>
* /src/report/standard-reports/advanced-portfolio.scm: new report
which shows money-in, money-out and gain of stock and fund accounts
(based on the work of Martijn van Oosterhout and portfolio.scm
by Robert Merkel)
* src/report/standard-reports/standard-reports.scm: add
advanced-portfolio.scm to gncscmmod_DATA
* doc/build-suse.txt: updated for GnuCash 1.7
2002-10-01 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.c: More work and fixes
for balance/transaction retrieval.
2002-09-30 Derek Atkins <derek@ihtfp.com>
* get (alpha) qif-io-core to load again and "make check" to
start working (sort-of). Still needs more work.
* wrap gnc_commodity_table_add_default_data()
* src/engine/gnc-session.c -- don't try to modify a the path of a file: URL
* src/engine/Transaction.c -- fail in mallocTrans if book is NULL
* fix qif-io-core: use (gnc:transaction-set-currency) (not commodity)
* qif-io-core.scm: need app-utils and to re-export simple-format
* qif-io-core/test/Makefile.am: add app-file and backend/file dirs to tests
* fix test-import-phase-1.scm: load app-file for symbols, fix
the commodity table; fix the "file save" portion
* src/scm/main.scm -- fix menu issue for LANG=de_DE.. "Preferences" is
really "_Preferences"
* src/gnc-test-env: define LTDL_LIBRARY_PATH
* src/bin/overrides/gnucash-build-env: fix trailing whitespace bug
2002-09-29 Joshua Sled <jsled@asynchronous.org>
* src/backend/file/io-gncxml-v2.c
(write_template_transaction_data): Updated for new
backend-structure arguments, to not crash in the call to
xml_add_trn_data. Fixes unfiled bug.
* src/gnome/dialog-sxsincelast.c:
* src/backend/file/gnc-schedxaction-xml-v2.c
(sx_defer_last_handler)
(sx_defer_rem_occur_handler, sx_defer_inst_count_handler)
(sx_defer_inst_handler):
* src/engine/SchedXaction.c (gnc_sx_add_defer_instance)
(_temporal_state_data_cmp, gnc_sx_remove_defer_instance)
(gnc_sx_get_defer_instances):
Added and modified to support postponing to-be-created SXes; fixes
Bug#88981.
2002-09-29 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.[hc]: Initial code for
transaction download with usage of generic transaction
import. Requires OpenHBCI CVS update.
2002-09-29 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/Transaction-matcher.c: Fix segfault when
importing into a gnucash account which has no splits.
* src/import-export/ofx/gnc-ofx-import.c: Code simplification for
commodity autoselection.
2002-09-28 Derek Atkins <derek@ihtfp.com>
* fix g-wrap testing in configure to work with an existing config.cache
2002-09-26 David Hampton <hampton@employees.org>
* README: Updated the section on running gnucash.
* doc/Makefile.am: Automatically update the date and version
number in the man pages.
* src/app-file/gnc-file.c(gnc_post_file_open): Change the button
labels to be even more explicit.
* src/report/standard-reports/balance-sheet.scm: Use the report
name from the options instead of a hard coded report title.
2002-09-26 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/ofx/gnc-ofx-import.c: The default commodity
and account type are now preselected from OFX provided information
when user choses to creates a new gnucash account in the account
matcher dialog. Fix a segfault when clicking cancel in the file
selection dialog.
* src/import-export/Account-matcher.c, gnc-generic-import.h:
-Fix the new_account_default_type parameter of
gnc_import_select_account() not selecting default type properly.
-Add auto_create parameter to gnc_import_select_account().
If this parameter is 0 and the function is called, it will silently
return NULL if no matching account is found, instead of asking the
user to select or create an account.
-Clicking cancel will now cancel the import for the whole account
instead of having to click cancel for each transaction.
2002-09-25 David Hampton <hampton@employees.org>
* src/gnome-utils/gnc-gui-query.c: Add routines to put up the
various question/warning/error dialogs with a variable number of
buttons.
* src/app-file/gnc-file.c (gnc_file_set_shutdown_callback): Add a
callback so the gnome specific code can call the "top level"
shutdown function. (gnc_post_file_open): Rework the "file locked"
query to include a "Quit" option.
2002-09-25 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.c: Distinguish
booked/noted balance now.
* src/import-export/hbci/dialog-hbcitrans.c: Extend HBCI
transaction dialog to use the gnc-amount-edit widget.
2002-09-23 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.c,
src/import-export/hbci/dialog-hbcitrans.[hc] : Connect the HBCI
transaction-invocation and gnucash xfer dialog.
* src/gnome/dialog-transfer.[hc]: Add set_memo access function.
2002-09-23 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/Transaction-matcher.c, generic-import.glade:
-Transactions just downloaded are now ignored from the matchlist.
-Reimplement transaction duplicate detection using unique-ID.
Transactions with a negative confidence are those that would normally
be completely ignored (will be a user preference).
-Added a split's memo column to downloaded list and match list
(will be possible to turn it off in user prefs)
-Fix segfault when togling buttons without a transaction selected.
-Fix action buttons refresh bugs.
-Grayout inapropriate selections for action list and change the look
of the buttons.
-The REPLACE action really works this time.
* src/import-export/generic-import.glade: Change the title of the
transaction matcher and change the look and alignment of
the action buttons.
2002-09-22 Benoit Grégoire <bock@step.polymtl.ca>
* src/import-export/gnc-generic-import.c: Remove obsolete file now
split into Account.c Transaction.c and Utilities.c
* src/import-export/generic-import.glade: Change label of "Online ID"
column to "Account ID" in the account matcher for consistency
2002-09-19 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gnc-hbci-actions.[hc], gnc-hbci-cb.[hc],
dialog-hbcitrans.[hc], gncmod-hbci.c,
src/import-export/hbci/glade/hbci.glade: Added dialog and HBCI
code for HBCI online transaction invocation, and added a menu item
to call this dialog.
2002-09-18 Christian Stimming <stimming@tuhh.de>
* src/import-export/hbci/gncmod-hbci.c: Add menu-extension code
for register menu items.
* src/import-export/hbci/gnc-hbci-cb.h: add callback for register
window's menu.
* src/import-export/hbci/gnc-hbci-actions.c: Fix/improve first
real HBCI task so that it might actually run.
2002-09-17 Christian Stimming <stimming@tuhh.de>
* src/gnome/window-register.c (regWindowLedger): Uses the
menu_setup_with_data introduced below.
* src/gnome-utils/gnc-menu-extensions.[hc]
(gnc_extensions_menu_setup_with_data): Added, so that windows can
pass userdata on to the extension menu's callback functions.
* src/gnome/window-register.[hc]: Add getter functions for RegWindow
data.
2002-09-17 David Hampton <hampton@employees.org>
Add progress bar to main window. Shows progress of read, write
and export functions. Adds a callback for the backend to pass a
percentage done number out to the session code, and a callback for
the session code to pass this percentage out to the caller's gui
display funtion.
* src/app-file/gnc-file-p.h:
* src/app-file/gnc-file.c (gnc_file_set_pct_handler): Add a file
handler "percent done" routine that can be installed.
* src/app-file/gnc-file.c (gnc_post_file_open) (gnc_file_save):
Call the file handler routine pre/post file read/write, and pass
the handler into the backend so that it can report percentage
complete.
* src/app-file/gnc-file.c (gnc_file_export_file):
New export function. This is the upper half of the exporting
function. This is designed similar to the read/write routines.
* src/backend/file/gnc-backend-file.c
(gnc_file_be_write_accounts_to_file): New export function. This
is part of the lower half of the exporting function. This is
designed similar to the read/write routines.
* src/backend/file/io-example-account.c
(gnc_write_example_account):New calling arguments. Add counters.
Invoke the percentage done callback where appropriate.
* src/backend/file/io-gncxml-v2.c (add_schedXaction_local)
(run_callback) (write_xxx): New calling arguments. Add counters.
Invoke the percentage done callback where appropriate.
(file_rw_feedback): New function for XML read/write. Computed
percentage done then calls the callback function handed in from
outside of the backend code. (gnc_sixtp_gdv2_new): New auxiliary
function. (gnc_book_write_to_xml_filehandle_v2)
(gnc_book_write_accounts_to_xml_filehandle_v2): Remember count of
items to process. (gnc_book_write_accounts_to_xml_file_v2): Other
part of the lower half of the exporting function.
* src/backend/file/io-utils.c (write_account_group)
(write_accounts):New calling arguments. Add counters. Invoke the
percentage done callback where appropriate.
* src/backend/postgres/PostgresBackend.c:
* src/backend/rpc/RpcBackend.c:
* src/enfine/Backend.c:
Initialize the new pointers in the backend data structure.
* src/gnome/window-main.c (gnc_main_window_file_export_cb):
The file export function was moved into gnc-file.c.
* src/engine/Makefile.am:
* src/engine/gnc-session-scm.[ch]: New files. Moved the scheme
session read/write hooks here because of the new callback. Keeps
scheme out of the main session sources.
* src/engine/gnc-session.c (gnc_session_load):
(gnc_session_save): Added a callback for percentage done.
(gnc_session_export): New export function. This is the middle of
the exporting function. This is designed similar to the
load/save routines.
* src/engine/gw-engine-spec.scm: New arguments to session
load/save. New session export function.
* src/gnome/gw-gnc-spec.scm: New function to destroy the splash screen.
* src/gnome/top-level.c: No longer destroys splash screen.
* src/scm/main.scm: I18n new splash screen strings. Destroy splash
screen after loading data file.
2002-09-16 Derek Atkins <derek@ihtfp.com>
Fix bug #91413 -- Add TaxTable defaults to Customers and Vendors
* business-core/gncCustomer.[ch] -- add API for TaxTable and TaxTableOverride
* business-core/gncVendor.[ch] -- add API for TaxTable and TaxTableOverride
* business-core/file/gnc-customer-xml-v2.c -- store TaxTable and TTOverride
* business-core/file/gnc-vendor-xml-v2.c -- store TaxTable and TTOverride
* business-gnome/dialog-customer.c -- display/choose TaxTable and TTOverride
* business-gnome/dialog-vendor.c -- display/choose TaxTable and TTOverride
* business-gnome/glade/customer.glade -- add TaxTable Menu and Override button
* business-gnome/glade/vendor.glade -- add TaxTable Menu and Override button
* business-ledger/gncEntryLedger.c -- set traverse_to_new = TRUE when
you create a new ledger.
* business-ledger/gncEntryLedgerLoad.c -- don't load the ledger the
first time through (e.g. when there is no invoice and no entries).
Pull in the default TaxTable, TaxIncluded, and Discount flags.
2002-09-16 David Hampton <hampton@employees.org>
* src/business/business-gnome/search-owner.c:
* src/gnome-search/search-xxx.c: Prefix various functions with
gncs_ to prevent naming conflicts with system routines.
2002-09-15 Derek Atkins <derek@ihtfp.com>
* fix bug #93331
* src/business/business-gnome/glade/payment.glade
* src/business/dialog-tax-table/tax-tables.glade
make resizable; increase default account-tree size
* fix bug #93333
* business-gnome/dialog-payment.[ch] --add API to create the payment
dialog with an initial value
* business-gnome/dialog-invoice.c -- call the new payment API when
you try to pay an invoice from the invoice window or the invoice
search results.
* business-ledger/gncEntryLedger.c -- fix vendor bills to print
subtotals properly on the current-line.
* configure.in -- die during configure if g-wrap version is wrong
2002-09-15 Joshua Sled <jsled@asynchronous.org>
* src/gnome-utils/gnc-dense-cal.c (gnc_dense_cal_mark): Fix
assertion failure for ignorant callers, Bug#92779.
2002-09-14 David Hampton <hampton@employees.org>
Refactor the startup to display the splash screen faster (bug #92192)
* src/app-utils/kvp-option-registry.scm -- use slib
* src/gnome/gnc-splash.c -- add a progress bar to the splash screen.
don't timeout the screen, require the app to shut it down.
* src/gnome/gnc-splash.h -- export new splash API
* src/gnome/gw-gnc-spec.scm -- wrap init-splash and update-splash
* src/gnome/top-level.c -- refactor gui_init into splash_init and gui_init.
destroy the splash screen once the main window is up.
* src/gnome/top-level.h -- export init_splash_screen function
* src/scm/main.scm -- refactor startup into multiple stages to bring the
splash screen up sooner. Update the splash screen during different
stages of the startup.
Font Problems
* src/gnome/top-level.c (gnc_gui_init): Exit gracefully if the
register fonts can't be looaded.
* src/gnome/window-main.[ch] (gnc_shutdown): Export this function.
* src/register/register-gnome/gnucash-style.c
(gnucash_style_set_register_font_name):
(gnucash_style_set_register_hint_font_name): Complain to the user
if a font can't be loaded. Don't release any existing font until
the new font has been successfully loaded.
(gnucash_style_init): Indicate if all fonts were loaded.
2002-09-14 Derek Atkins <derek@ihtfp.com>
Add TaxTable entries to Vendor Invoices (Bills); make sure it does
not bleed over into billback items. Fixes RFE #91415