-
Notifications
You must be signed in to change notification settings - Fork 5
/
ChangeLog
executable file
·1705 lines (1163 loc) · 57.7 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
2016-01-12 waj
* upgraded TEA to 3.9
* numerous compiler fixes for 64bit
2008-11-14 Jeff Hobbs <[email protected]>
**** 2.10 TAGGED FOR RELEASE ****
* generic/tkTable.c: Set NO_XSETCLIP universally as Tk 8.5/Xft
seems to ignore XSetClipRectangles. This may slow things down a
little, but draws correctly. [Bug 1805350]
* UPGRADING.txt (removed): no longer need this old v1 upgrade doc.
* README.txt: remove refs to mac classic stuff, update notes
* configure, configure.in, tclconfig/tcl.m4: Update to TEA 3.7
* tests/tkTable.test, unix/tktable.spec, generic/version.h:
* demos/loadtable.tcl: Update version to 2.10
* Makefile.in: update dist target, include library/tktable.py
* demos/tktable.py: note that this version is outdated
* library/tktable.py (NEW): Added new version of tktable wrapper
for Python/Tkinter from GPolo. Not 100% compatible with previous
version. [Patch 2244167]
* generic/tkTableTag.c (Table_TagCmd): remove interp->result set
work-around for old bug as i->result is no longer exposed in 8.6.
* generic/tkTable.c: Use safe Tcl_SetObjResult instead of trying
* generic/tkTableCell.c: to set existing objResult value.
* generic/tkTableCmds.c:
2006-07-10 Jeff Hobbs <[email protected]>
* license.txt (bourbon_ware): Be less restrictive in the
bourbon_ware clause.
2006-01-25 Jeff Hobbs <[email protected]>
* configure.in, configure, tclconfig/tcl.m4: update to TEA 3.5
2006-01-22 Jeff Hobbs <[email protected]>
* tclconfig/tcl.m4, configure: update to TEA 3.4 interim
2005-12-13 Jeff Hobbs <[email protected]>
* generic/tkTableCmds.c (Table_ActivateCmd): remove potential
undefined behavior warning.
2005-12-02 Jeff Hobbs <[email protected]>
* tclconfig/tcl.m4, configure.in, configure: update to TEA 3.4
2005-05-11 Jeff Hobbs <[email protected]>
* Makefile.in (html): switch to groff to fix botched html output.
* doc/tkTable.html: regen [Bug 1198478]
* doc/tkTable.n: use '' around \\ items.
2005-03-18 Jeff Hobbs <[email protected]>
* Makefile.in (AR): use @AR@, improve html doc target
* configure, configure.in, tclconfig/tcl.m4: TEA 3.2 patch update
* doc/tkTable.n, doc/kTable.html: doc cleanup
2005-02-01 Jeff Hobbs <[email protected]>
* configure, configure.in, tclconfig/tcl.m4: update to TEA 3.2
2004-11-18 Jeff Hobbs <[email protected]>
* library/tkTable.tcl (::tk::table::SelectAll): remove invalid ref
to HandleType proc. [Bug 1068874] (ade)
2004-07-22 Jeff Hobbs <[email protected]>
**** 2.9 TAGGED FOR RELEASE ****
* configure, tclconfig/tcl.m4: update tcl.m4 TEA_PATH_X that adds
Aqua build recognition and TEA_WINDOWINGSYSTEM variable.
2004-07-20 Jeff Hobbs <[email protected]>
* generic/version.h, unix/tktable.spec: updated for v2.9
* demos/loadtable.tcl, tests/tkTable.test:
* Makefile.in, configure.in, configure, tclconfig/tcl.m4: update
to TEA 3.1, use CFLAGS instead of EXTRA_CFLAGS and bump the
version number of Tktable to 2.9.
* generic/tkTable.h: add #include <ctype.h>
* generic/tkTableCell.c (TableGetCellValue, TableSetCellValue):
Do faster cache checks when DATA_CACHE is the only data source.
In fallback from command that errors to array var, retrieve array
value immediately on current get|set request.
When setting the value with cache and array sources, don't do the
caching branch as the array trace will do that already.
(TableMoveCellValue): Do the efficient cache value management when
cache is the only data source, otherwise the regular fallback has
all the necessary checks. [Bug #919872]
* generic/tkTable.c (TableVarProc): allow setting NULL value in
cache hash from array trace.
2004-06-10 Jeff Hobbs <[email protected]>
* generic/tkTableWin.c (EmbWinDisplay): make min window displayed
have width/height 1 pixel min (was 3px)
* generic/tkTable.c (TableDisplay): Don't draw when we don't have
the space for it. [Bug 747038]
* doc/tkTable.html, doc/tkTable.n: improve docs to note
requirement of specifying a data source. [Bug 963204]
2004-02-17 Jeff Hobbs <[email protected]>
* generic/tkTableCmds.c (Table_ActivateCmd): test implementation
of an "unactivate" ($table activate "") command to remove the
active cell. (becroft)
2004-02-13 Jeff Hobbs <[email protected]>
* library/tkTable.tcl (::tk::table::Button1): account for what
resizeborders are set when selecting cell [Bug 876320] (ferenc)
(<Prior> <Next>): activate topleft, not @0,0 (accounts for title
rows) [Bug 879347] (ferenc)
2003-12-10 Jeff Hobbs <[email protected]>
* Makefile.in: updated to TEA3 spec
* configure:
* configure.in:
* generic/tkTable.c:
* generic/tkTableInitScript.h:
* generic/version.h:
* mac/mac_tkTable.r:
* tclconfig/tcl.m4:
* win/makefile.vc: minor updates, probably still out of date
* tclconfig/ChangeLog (removed): not necessary
* generic/tkTable.c: added Tk_ClassProcs and TableWorldChanged
proc if built against 8.4
* generic/tkTable.h: add 8.4 ifdef, remove ANSI_ARGS usage
2003-07-16 Jeff Hobbs <[email protected]>
* doc/tkTable.n: add note about -window "" behavior
2003-04-10 Jeff Hobbs <[email protected]>
* configure: regen
* tclconfig/tcl.m4: updated
* library/tkTable.tcl (BeginExtend): avoid error in tables that
have no anchor index yet. (renshaw)
2003-04-09 Jeff Hobbs <[email protected]>
* configure: regen
* tclconfig/tcl.m4: Updated to newest tcl.m4, (WinCE support)
* demos/loadtable.tcl: redefine 'puts' on Windows CE
* generic/tkTable.c (TableDisplay): correctly copy clipwindow area
for NO_XSETCLIP case and use that when UNDER_CE as well. Also add
support for drawing ellipsis in NO_XSETCLIP case.
Comment out OffsetClipRgn call - it was a noop.
2003-04-04 Andreas Kupries <[email protected]>
* configure.in:
* tclconfig/tcl.m4: Updated to newest tcl.m4, regenerated
configure's.
2003-02-24 Jeff Hobbs <[email protected]>
* generic/tkTable.c (TableDisplay): do not use buffer pixmap for
slow -drawmode on Win32 because we aren't clipping it correctly.
2003-01-30 Jeff Hobbs <[email protected]>
* Makefile.in: remove use of nested $(PACKAGE) to enable building
on older, cruftier make versions
* doc/tkTable.n: add -ellipsis tag /global option which
* tests/tkTable.test: takes a char string (ie: "...") to display
* generic/tkTableTag.c: as an ellipsis. These will only be shown
* generic/tkTable.h: on non-wrapping, non-multiline cells.
* generic/tkTable.c:
2002-12-10 Jeff Hobbs <[email protected]>
* tests/tkTable.test:
* generic/tkTableCell.c (TableGetCellValue): make caching allows
NULLs throughout to save mem.
Do not call Tcl_FreeResult as it will be freed before the next
result is set, and causes us to lose large results. [Bug #651685]
2002-10-16 Jeff Hobbs <[email protected]>
**** 2.8 TAGGED FOR RELEASE ****
* Makefile.in: updated dist target to get changed fileset.
* generic/tkTableEdit.c (Table_EditCmd): Ensure that embedded
widgets being moved offscreen get unmapped. [Bug #551325]
* generic/tkTableCell.c (TableAtBorder): refine border detection
in the midst of spanned cells. [Patch #544117] (duxbury)
* doc/tkTable.n:
* doc/tkTable.html:
* tests/tkTable.test:
* generic/tkTable.c: Add global -justify option. [Bug #623557]
* generic/tkTableTag.c: more CONST84 casting fixes.
Allowing setting of tag relief to "". [Bug #233619]
* generic/tkTable.h:
* generic/tkTableUtil.c:
* generic/tkTableWin.c: more CONST84 casting fixes.
* library/tkTable.tcl: Add <FocusOut> as a default auto-commit
event. [Bug #611132]
(::tk::table::Motion): abort "extended" arm if the anchor cell
isn't defined. [Bug #604470]
2002-10-15 Jeff Hobbs <[email protected]>
* tclconfig/tcl.m4:
* configure:
* configure.in: move the CFLAGS definition into TEA_MAKE_LIB
and make it pick up the env CFLAGS at configure time.
2002-10-15 Andreas Kupries <[email protected]>
* configure.in: Changed to propagate an initial CFLAGS value to
the final definition. A TEA condition (SHARED_BUILD == 1)
squashed it, causing it the build system to loose the
+DAportable we specify for the AS PA-RISC2.2 build host. This is
a problem for _all_ TEA and TEA 2 based configure files.
2002-10-09 Jeff Hobbs <[email protected]>
* configure:
* configure.in: move TEA_PATH_X below TEA_CONFIG_CFLAGS as it can
mess with the configure results.
* unix/tktable.spec (new): RPM spec file. (fontaine)
* demos/tktable.py: added a contributed tktable wrapper for
Python/Tkinter from Klaus Roethemeyer.
2002-09-27 Jeff Hobbs <[email protected]>
* Makefile.in: correct tkTable.tcl.h target to work with FreeBSD's
default make.
2002-09-25 Jeff Hobbs <[email protected]>
* generic/tkTable.c:
* generic/tkTable.h: added support for building on OS X (steffen)
2002-06-21 Jeff Hobbs <[email protected]>
* Makefile.in: call cygpath on INCLUDES $(srcdir)/generic.
* tests/all.tcl: minor cleanup
* tests/tkTable.test (table-30.1):
* generic/tkTableEdit.c (Table_EditCmd): fixed problem where row
insertion could segfault. [Bug #487747]
2002-04-11 Jeff Hobbs <[email protected]>
* tclconfig/tcl.m4:
* configure: Enabled COFF as well as CV style debug info with
--enable-symbols to allow Dr. Watson users to see function info.
More info on debugging levels can be obtained at:
http://msdn.microsoft.com/library/en-us/dnvc60/html/gendepdebug.asp
2002-04-03 Jeff Hobbs <[email protected]>
* Makefile.in: improved use of DESTDIR in install targets.
Removed need for installdirs target.
Broke TCLSH_PROG into TCLSH_ENV and TCLSH_PROG with TCLSH var and
added comments about TCLSH_ENV.
Added default shell and gdb targets.
* tclconfig/tcl.m4:
* configure:
* configure.in: updated to new TEA base that: prefixes all macros
with TEA_* instead of SC_*; adds TEA_PREFIX, which defaults the
prefix and exec_prefix values to what Tcl used; adds
TEA_SETUP_COMPILER, which handles basic compiler / support program
checks and simplifies the configure.in. Turn on --enable-threads
by default and do sanity checking as well.
2002-04-02 Jeff Hobbs <[email protected]>
* configure: regened
* configure.in: added user32.lib to LIBS for Windows
* tclconfig/tcl.m4: updated from TEA sample
2002-03-27 Jeff Hobbs <[email protected]>
* Makefile.in (WISH_PROG): moved and updated env var definitions
to have wish work from build dir. Removed TCL_EXTRA_CFLAGS,
TCL_LD_FLAGS, TCL_SHLIB_LD_LIBS, TCL_DBGX, TCL_STUB_LIB_FILE,
TCL_STUB_LIB_SPEC as they aren't needed (configure acquires all
that info for us). TCL_LIBS is also not needed, but left in as a
reference to the libs Tcl used.
* configure: regen based on updated tclconfig/tcl.m4
* configure.in: moved the SHLIB_LD_LIBS magic into
tclconfig/tcl.m4 and noted where users can modify (SHLIB_LD_)LIBS.
* tclconfig/tcl.m4: updated from sample to be more independent of
*Config.sh.
* unix/Makefile.in (removed):
* unix/configure.in (removed):
* unix/configure (removed):
* unix/install-sh (removed): removed old makefile files to force
use of new toplevel TEA 2002 configure/make.
2002-03-21 Jeff Hobbs <[email protected]>
* tests/tkTable.test: more icursor tests
* generic/tkTable.c (TableWidgetObjCmd): corrected placing the
icursor and retaining the position.
2002-03-20 Jeff Hobbs <[email protected]>
* generic/tkTable.c:
* generic/tkTable.h:
* generic/tkTableCmds.c:
* generic/tkTableUtil.c: cleaned up several areas where cache data
was not getting freed. [Bug #532447] (bloisi)
2002-03-19 Jeff Hobbs <[email protected]>
* tests/tkTable.test: added tag configure tests
* generic/tkTableTag.c (Table_TagCmd): work-around for bug in
Tk_ConfigureValue that sets interp->result to NULL. [Bug #522882]
* generic/tkTable.c (TableDisplay): when building with threads on
WIN32, use NO_XSETCLIP instead of direct DC hacks because Tk
doesn't use CS_CLASSDC on threaded builds.
(Tktable_Init) Corrected to use BUILD_Tktable for EXTERN changes.
* configure:
* configure.in: use double-eval to substitute DBGX var for
${PACKAGE}_LIB_FILE.
* Makefile.in: cleaned up install target
2002-03-13 Jeff Hobbs <[email protected]>
* demos/loadtable.tcl:
* tests/tkTable.test: adapted load to new configure style where
unix gets the 'lib' suffix for the library.
* tclconfig/ChangeLog:
* tclconfig/README.txt:
* tclconfig/install-sh:
* tclconfig/tcl.m4:
* README.txt:
* Makefile.in:
* aclocal.m4:
* configure:
* configure.in: introduction of next-gen TEA based config files.
The unix/ configure files should no longer be used.
* generic/tkTable.c:
* generic/tkTableCell.c:
* generic/tkTableCellSort.c:
* generic/tkTableCmds.c:
* generic/tkTableEdit.c:
* generic/tkTableTag.c:
* generic/tkTableUtil.c:
* generic/tkTableWin.c:
* generic/tkTable.h: introduced CONST84 define for compatibility
with new 8.4 CONST-ed headers and older headers and fixed up
sources where necessary.
* generic/tkTableInitScript.h:
* generic/tkTable.c:
* generic/version.h:
* mac/mac_tkTable.r:
* win/makefile.vc: changed TBL_VERSION to VERSION, upped to 2.8.
Added Win64 build support to makefile.vc
2002-03-07 Jeff Hobbs <[email protected]>
* library/tkTable.tcl (tk_tablePasteHandler): "string comp" fixed
to "string compare" [Bug #500449]
2002-01-16 Jeff Hobbs <[email protected]>
* generic/tkTable.c (TableWidgetObjCmd): corrected dangerous
caching of resultPtr that could lead to segfault.
2001-08-24 Jeff Hobbs <[email protected]>
* README.txt: corrected outdated notes. [Bug #455116] (kriehbel)
2001-08-23 Jeff Hobbs <[email protected]>
* unix/Makefile.in (tkTable.tcl.h): corrected target to sed \'s
properly in the .tcl file.
* library/tkTable.tcl: added the ability to select borders with
button 1. (backe) The user can turn off this ability by calling
[set ::tk::table::Priv(borderB1) 0] in their code. button 3 is
still active for selecting borders as well.
fixed a couple references to work on Mac/Tk. (steffen)
* mac/mac_tkTable_prefix.h:
* mac/mac_tkTable.r: corrected Mac build. (steffen)
* doc/tkTable.html: regen'd
* doc/tkTable.n: Clarified that any <row>,<col> index
specification will always return a valid cell. [Bug #450397]
Corrected what 'units' scrolls. [Bug #448837]
* mac/mac_tkTable.mcp: removed in favor of XML project file
* mac/mac_tkTable.mcp.xml: XML CodeWarrior project file for the
mac. (steffen)
2001-07-18 Jeff Hobbs <[email protected]>
* generic/tkTable.c (TableDestroy): freed cached values in destroy.
2001-06-30 Jeff Hobbs <[email protected]>
**** 2.7 RELEASE ****
* generic/tkTable.h: added STREQ #def to replace strcmp(a,b) == 0
* generic/tkTable.c:
* generic/tkTableTag.c: made use of STREQ #define.
Redid tag merging to make use of only one allocated tag.
* doc/tkTable.html:
* doc/tkTable.n: updated docs with feature change info
* tests/tkTable.test: added more tests
* generic/tkTableCmds.c (Table_ActivateCmd): made table refresh
when moving the cursor in the active cell.
2001-06-24 Jeff Hobbs <[email protected]>
* generic/tkTableTag.c (Table_TagCmd): corrected patch for Patch
#423332 that does prevent excess refresh in the simple case.
2001-06-23 Jeff Hobbs <[email protected]>
* generic/tkTable.c (TableConfigure): corrected possible crash
during configure when switching array vars and changed name of
'restrict' var to something that is not a reserved word. (berggren)
* library/tkTable.tcl: support for future UTF8_STRING selection on
unix.
* generic/tkTable.c:
* generic/tkTable.h:
* generic/tkTableTag.c: added support for priorities in tags.
There are new 'tag lower' and 'tag raise' methods. This may lead
to different view characteristics because the default priority
order is creation order, starting with flash, active, sel, title,
followed by whatever the user creates. The old order was fixed at
flash, active, sel, <celltag>, title, <rowtag>, <coltag>
**** POTENTIAL INCOMPATABILITY ****
* tests/tkTable.test: makings of an initial test suite
* generic/tkTableCmds.c (Table_CurvalueCmd): removed extra curvalue
in error message.
2001-06-22 Jeff Hobbs <[email protected]>
* generic/tkTableTag.c (Table_TagCmd): made adding tags to
cell/row/col create the tag if it didn't exist. This was
previously an error.
* generic/tkTable.c (TableDisplay): changed use of NO_XSETCLIP to
only operate on Macintosh, added new Windows code that is the
equivalent of XSetClipRectangles. (teske)
Removed XFillRectangle function that was there for support with
8.1 (nobody should use 8.1 anymore).
(TableDisplay): Corrected clearing of the area beyond the last
cell to not be incorrect when there is a span on the last cell.
(TableAdjustParams): handle possible div-by-zero for scrollbar
calculations. (christian brunner)
* generic/tkTable.h: added TableMoveCellValue decl.
* generic/tkTableEdit.c (TableModifyRC): made use of
TableMoveCellValue.
* generic/tkTableCell.c (TableSetCellValue): fixed mem leak in
-cache option.
(TableMoveCellValue): new function to support possible speedier
movement of cells when caching is being used. (michael teske)
* generic/tkTableCell.c (TableCellCoords): corrected
rowspan/colspan dimension calculation for title cells.
(Table_SetCmd): correct possible abuse in setting result object
pointer.
* README.txt: updated links
* win/makefile.vc (pkgIndex.tcl):
* unix/Makefile.in (pkgIndex.tcl): made 8.2 the required base for
the stubs version
* generic/tkTableCmds.c (Table_GetCmd): fixed potential crash from
abusing object pointer. (jonas hodges) Bug #230701
* generic/tkTableTag.c (Table_TagCmd): fix possible hang situation
by preventing refresh when setting the same tag on a cell/row/col.
(Michael Shulz)
2001-03-28 Jeff Hobbs <[email protected]>
* generic/tkTable.h: change 'char *new' -> 'char *newVal' to not
stump C++ compilers
2000-10-19 Jeff Hobbs <jeff at hobbs org>
* tests/all.tcl: new file
* tests/tkTable.test: copied listbox.test in to serve as a base
for tests on the table widget. Conversion still needs to be done.
* generic/tkTableCmds.c: #if 0'd stub function Table_Cmd
* generic/tkTable.h:
* generic/tkTable.c: corrected headers, made TableConfigure static
2000-08-30 Jeff Hobbs <[email protected]>
* generic/tkTable.h:
* generic/tkTableWin.c (EmbWinConfigure):
* generic/tkTableTag.c (Table_TagCmd):
* generic/tkTable.c (TableConfigure): changed -borderwidth to use
TK_CONFIG_CUSTOM functions for option parsing.
* win/makefile.vc:
* unix/Makefile.in: updated for added/removed source files
* generic/cmd.c (removed):
* generic/mm.h (removed):
* generic/tkTableUtil.c (new): moved the few used Cmd_* functions
into tkTableUtil.c (Cmd_Struct moved to tkTable.h), removing the
need for the other accessory files.
* unix/configure:
* unix/configure.in (uname check): added support for systems where
uname has no -p option (ie HP).
2000-08-21 Jeff Hobbs <[email protected]>
* generic/tkTable.c (TableConfigure): added check for NULL
oldBorders during configure.
2000-08-18 Jeff Hobbs <[email protected]>
* generic/tkTable.c: changed the -ipad* defaults to 0, to go along
with the -pad* defaults. For users looking for backwards
compatability with 2.5 padding, add:
option add *Table.ipadX 2
option add *Table.ipadY 1
Users will likely find that -pad* is more intuitive though.
**** POTENTIAL INCOMPATABILITY ****
* doc/tkTable.html:
* doc/tkTable.n: updated docs to reflect new -(i)pad* definitions
and enhanced -bd behavior.
* generic/tkTable.c (TableCursorEvent, TableConfigCursor): reduced
unnecessary redraws when the cursor was in a non-editable cell.
2000-08-17 Jeff Hobbs <[email protected]>
* generic/tkTable.c: enhanced -borderwidth option to support
per-edge configuration of borderwith. -bd now takes a list of
pixel sizes, 1, 2 or 4 in length. 1 is traditional, 2 specifies
just the left and right border sizes (to emulate a multicolumn
listbox), and 4 specifies {left right top bottom} for ultimate
control. Tags may override the default.
Also redid the handling of -(i)pad[xy]. Swapped the basic meaning
(-pad* from v2.5 should now be -ipad* in 2.7). -pad* now enforces
absolute empty padding for cells, expanding the default size.
Embedded windows can override the -pad* value. See docs for more.
**** POTENTIAL INCOMPATABILITY ****
* generic/tkTable.h: removed use of INLINE, added new border style
support to structures.
* generic/tkTableCell.c (TableAtBorder): made it aware of the new
configurable border style. It bases its calculations off the
default border width(s). Also did lots of comment cleanup.
* generic/tkTableWin.c (EmbWinDisplay): changed interpretation of
-pad* for windows to be per side (instead of overall). This is
more intuitive. Added support of new border styles.
* generic/tkTableTag.c: Added new border style control per tag.
New TableGetTagBorders function to determine border values based
on input. Lots of comment/code cleanup.
* generic/tkTableEdit.c (Table_EditCmd): corrected code to ensure
that when rows where deleted, rows/cols would not fall below 1,
the minimum dimension size (otherwise "bad things" happen).
(Table_EditCmd): corrected problem when specifying a negative
count deleting more rows than exist before the specified index.
* unix/Makefile.in ($(DLL)): corrected ld build line to not use
SHLIB_CFLAGS, instead adding TK_LD_SEARCH_FLAGS. (virden)
2000-08-10 Jeff Hobbs <[email protected]>
* unix/Makefile.in: cleaned up Makefile to correctly use the right
flags for building with stubs support.
* generic/version.h: bumped version to 2.7
* generic/tkTable.h: added ipadX, ipadY to table struct.
* generic/tkTable.c (TableConfigure): removed code setting
forceUpdate to 1 for any configure options.
(TableAdjustParams): added -ipdax/-ipday, giving them the meaning
that -pad* was extended to use in 2.6. -pad* are as they were in
2.5, and -ipad* does the extended cell padding for 2.7+. See docs
for details.
(TableEventProc): removed xexpose.count check that would delay
necessary invalidate calls. (Wangnick)
* library/tkTable.tcl: added ::tk::table::BackSpace proc instead
of inlined event binding, taking out \ at eol that confused the
tcl2c converter when inlining the tkTable.tcl.h runtime.
2000-08-02 Jeff Hobbs <[email protected]>
2.6 RELEASE
* unix/Makefile.in: added bindist and cleanall targets, and
cleared up the use of some variables to allow for correct building
of the tktable library across platforms (including AIX).
The distclean target no longer removes the generated html doc.
* unix/configure:
* unix/configure.in: added check of available compression program
and SYSID for Unix make bindist target. Also cleaned up the use
of some other variables.
* generic/tkTable.c (TableConfigCursor, TableCursorEvent)
(TableFlashEvent, TableEventProc):
* generic/tkTableEdit.c (TableDeleteChars, TableInsertChars):
* generic/tkTableCmds.c (Table_CurvalueCmd): removed INV_FORCE
from TableRefresh call. This means more refreshes are delayed.
* generic/tkTable.c (BUILD_tkTable): corrected EXTERN def'n of
Init funcs.
2000-08-01 Jeff Hobbs <[email protected]>
* library/tkTable.tcl: rewritten to use ::tk::table namespace
* generic/tkTable.h: added CONSTRAIN and BETWEEN macros to simply
some MIN/MAX cases.
* generic/tkTable.c:
* generic/tkTableCell.c:
* generic/tkTableCmds.c: updated to use CONSTRAIN/BETWEEN instead
of MIN(MAX()).
* generic/tkTable.c (TableRefresh): changed to not do anything
when coords < 0 are passed in (like asking to refresh non-existent
active cell).
(TableEventProc): added (likely redundant) check for xexpose.count
== 0 before redisplaying in Expose case. (Halpin)
* generic/tkTable.c (XFillRectangle): added compat XFillRectangle
to make up for lack of one in Tk8.1. (Nijtmans)
(TableAdjustParams): Made -padx and -pady actually work as
intended for each cell. This actually affects the default size
for a table, as more spacing is given to each cell by default.
Use -padx/y to control this. (Lennard, Hobbs)
(TableDisplay): removed extra call to TableCellCoords (leftover
from NO_SPANS). (Deich)
* generic/tkTableCmds.c (Table_SelSetCmd): Corrected the selection
of title cells when only title cells are available. (Brutti)
* library/tkTable.tcl (tkTableChangeWidth): changed -$a to
[expr {-$a}]. (Dubiner)
(tkTableBeginSelect): Changed behavior for extended selectmode to
select in the topleft title area when appropriate. (Dubiner)
(tkTableSelectAll): Changed behavior to select *all* cells
(including title cells) when -selecttitles is 1.
* demos/loadtable.tcl: corrected to search better in new directory
structure.
2000-03-22 Jeff Hobbs <[email protected]>
* */*: complete restructure of tktable sources
* CHANGES.txt: moved to ChangeLog, will now use ChangeLog format
##########################################################################
## TkTable CHANGES
##
## Newest changes at the top of the file.
## Release dates between "****"s.
##
## changes by Hobbs COPYRIGHT 1996-1997 Jeffrey Hobbs, CADIX International
## changes by Hobbs COPYRIGHT 1998-2000 Jeffrey Hobbs
## jeff at hobbs org
##
# * tkTable v0.55-1.x includes additions contributed by:
# * [email protected] (Tom Moore)
# * [email protected] (Sebastian Wangnick)
# * [email protected] (Peter Brueckner)
# * jeff at hobbs org (Jeffrey Hobbs)
# * [email protected] (John Ellson)
##
## Mac support provided by Chuck Houpt ([email protected]). (v2.3+)
##
##########################################################################
**** v2.6alpha 29 February 2000 ****
Fixed row/col insertion/deletion to correctly handle embedded windows.
(fix in part by [email protected])
Added stubs support to makefile.
Added support for safe init script (requires embedded runtime) to
be used in safe interpreters.
Fixed bug in Table_BorderCmd on passing the 6th arg (the optional
row|col). ([email protected])
Added -holdselection arg to row/col insert/delete. ([email protected])
Added -DNO_SORT_CELLS ...
Created tkTableCellSort.c with cell sorting routines. Redid ...
Fixed bug in tk_tableCut due to change in curselection syntax.
Fixed missing comma in tkTableEdit.c:32 (Brutti)
**** v2.5 31 May 1999 ****
Fixed row/col insertion/deletion to move embedded windows, added
-holdwindows option and Table_Win(Delete|Move).
Removed -rows/-cols switch to insert/delete row/col, as it could
cause very odd behavioral problems.
Removed ckfree/ckalloc's between a quick delete/init of a hash table.
Upgraded ExpandPercents for UTF awareness.
Changed "tag cell|row|col" to complain when the tag is unknown.
Fixed bug in UTF char length handling (actually due to change in
the Tk API from 8.1beta to final) for active cell.
fixed bug where scanMark* weren't properly initialized.
Changed icursor method to always return an int, being -1 if there
really isn't a valid cursor in the active cell (ie - it's disabled).
Converted table widget to mostly Tcl_Obj in/output.
Reorganized a lot of code in the process.
**** v2.4 10 December 1998 ****
Changed exit handler to not be used (unless -DUSE_EXIT_HANDLER is specified).
Changed distribution directory name to go with new 'make distrib'.
Changed TableUndisplay to properly handle unmapping embedded windows
in title areas. Added TableTrueCell for this.
Changed EmbWinUnmapNow to always call Tk_UnmapWindow.
Changed cell border drawing so that any 1-pixel border would use the
fast drawing mode (except for when single drawmode is set).
Changed borderWidth to be a tag-definable value.
Removed used of borderWidth in border resize cmd calculations.
Modified various C and Tcl procs to support spanning cells.
Changed ckfree(value) to Tcl_Free(value) in TableFetchSelection.
Streamlined use of NO_XSETCLIP, improved boundary checking for
determining whether the cell needs clipping at all.
Fixed bug in drawing with NO_XSETCLIP to copy the area from the source
window to the clip window, draw on it, then copy it back. Before the
clip window was drawn on clean, losing what might be important stuff in
the source (like an image).
Added row/col spanning. This involved a lot of code changes, mostly
in tkTableCell.c, mostly #ifndef'ed with NO_SPANS. See docs for behavior.
Added 'spans' and 'hidden' command.
Fixed bug in TableAtBorder that was messing up certain border cases.
Added delta error of 1 pixel to the B1-Motion routine, so that the mouse
must move more than a pixel for the tkTableMotion routine to kick in.
Fixed tkTableBeginToggle to handle Control-B1 properly. ([email protected])
Fixed seg fault in Table_BorderCmd when called with too few args
(reported by [email protected]).
Added TableGeometryRequest to TableModifyRC to update a table's
geometry according to the new row/col size.
Fixed EmbWinDelete to clean up properly (it wouldn't clean up if there
wasn't a window associated with the tag).
Removed unused type arg from TableModifyRCaux.
Fixed EmbWinRemove to actually remove all info about the window from
the table (as advertised).
*** BEHAVIORAL CHANGE ***
Fixed "window delete ..." to actually delete the window entry.
Fixed flashing so that it will flash if any valid data source is
being used (before only the Tcl array source caused flashes).
Removed deprecated 'flush' command. [.t flush ...] is equivalent
to [.t clear cache ...].
Improved TableUndisplay to really work within the proper seen
constraints. ([email protected])
Removed dependency on source for Windows (only for the XSync call).
Should now be able to compile against a binary installed version of wish.
Use of EXTERN and EXPORT reworked to follow 8.0.3 guidelines. EXPORT
was dropped, meaning that compiling for older versions of the Borland
compiler is not possible.
Changed use of "$*.h" in Makefile.in to "$@" - some makes seemed to
choke on the proper interpretation of $* (notably HP-UX).
Added "-fg SELECT_FG" to the default sel tag definition.
Swapped proto define of Tcl_DStringAppendAll with actual header.
Fixed #endif SPANS syntax error in Makefile.
Changed #define CELL from (ROW|COL) to it's own significant bit (this
is used by TableRefresh).
Added -sparsearray option to allow the user to choose whether the
table treats associated arrays as "sparse", deleting the empty
elements (default), or whether every element set is kept.
Fixed demos/spreadsheet.tcl to start column labeling with "A".
Changed Tcl_StaticPackage call in tkAppInit.c to include
SafeInit function.
Added "empty" bindings to tkTable.tcl to prevent the magic Alt-"menu"
bindings from inserting chars into the table as well.
**** v2.3 23 July 1998 ****
Moved the 'set' command into tkTableCell.c and extended it to
understand full row/col setting with Tcl lists.
Created tkTableInitScript.h to mirror the spirit of tclInitScript.h.
The user can now define a tkTableInit to be eval'ed at load time
that finds the appropriate tkTable.tcl file. Also added env support
for these locations.
Changed version.in to version.h, a file that is both readable in C
(for the Mac build) and by make (for Unix/Windows).
Changed TableDisplay #ifdef's to be more specific (NO_XSETCLIP).
Expecting XSetClipRectangles to be available in Tk8.0.3 for Win,
and maybe also in the future for Mac.
Attempted row/col spanning with limited success. Half functional
code left in for reference, delimited by #ifdef SPANS/#endif.
Changed TableCellCoords to no longer do bounds checking on row/col.
Changed several more instances of TableCellCoords/TableInvalidate
to TableRefresh.
Fixed bug in table insertion/deletion concerning the calculation of
the minkey (minimum valid row/col to insert/delete) when titles were
allowed to be moved.
Mac support courtesy Chuck Houpt ([email protected]).
**** v2.2 10 July 1998 ****
Undid caching of activeLayout in favor of activeTagPtr because I was
abusing the nature of the token returned by Tk_ComputeTextLayout,
causing amazingly odd cores.
Changed TableGetLastCell definition to fix scrollbar bug. (Brutti)
Changed "#if (TK_MINOR_VERSION > 0)" to "#ifdef TCL_UTF_MAX" to
remove the ambiguity of purpose (for UTF code).
Fixed bug in TableInsertChars that mangled the purpose of -autoclear,
as well as confusing icursor index when using it.
**** v2.1 2 July 1998 ****
Updated man pages, generated new HTML file.
Reworked directory structure, updated makefiles.
Removed -batchmode. It was pretty useless, and potentially confusing.
**** POTENTIAL INCOMPATIBILITY ****
Fixed bug for Tk8.1a2 Unicode display in TableDisplay where the length
of the display string was not calculated correctly.
Fixed background area redraw bug in Windows. Reworked to take out the
#ifdef WIN32 code without too much compromise.
Added TableRefresh command that subsumes many CellVCoords/Invalidate
call combos.
Adjusted TableWhatCell to what it was in v1.82, and made fix in
TableDisplay for bounds to prevent <=0 invalidWidth|Height.
Added clear command, subsumes flush command, plus adds features.
Made some cleanup from DestroyNotify repetitive in TableDestroy.
Added MapNotify event handler to ensure that changes to the table
made when iconified will still cause an update.
Changed "single" and "fast" drawmodes to not set -bd 1 as a side
effect, but instead to force 0..1 to allow for fast drawing without
any borders. Skipped border drawing case statement when -bd is 0.
Changed "tag cell ..." to only invalidate for redraw when the affected
cell is visible.
Added check for NULL tablePtr->tkwin in TableCellVCoords. Could
cause problems where it was used to replace TableCellCoords.
Fixed bug in TableFetchSelection that truncated the string returned
by -selectioncommand to the length of the original string. Also
fixed mem leak (didn't free all DStrings in an error), and changed
it so that a background error is triggered if there is a problem
with the -selectioncommand.
Fixed bug in TableDisplay where last row, if one pixel hi, wouldn't
get redrawn properly.
Changed default fonts to those used for entry widgets.
**** POTENTIAL INCOMPATIBILITY ****
Added UTF char (Unicode) support, based on 8.1a2 tkEntry.c. Had
to be conditionalized because it doesn't exist in 8.0.
Added -multiline option for tags to allow old one-line text only,
Reworked tag options so that tag values that aren't ever set won't
affect other tags.
Fixed seg fault bug in CMD_ACTIVATE when Tk_PointToChar could be called
on double-click, but TableDisplay hadn't yet been called (because it is
waiting for idle) which is required to set tablePtr->activeLayout
properly. Also fixed mem leak with old activeLayout not being freed when
it changed.
Speed improvement - changed from using Tk_GetGC/Tk_FreeGC to XCreateGc/
XChangeGC/XFreeGC. Since it was highly unlikely that the caching
provided in the Tk routines would ever benefit us, moving to direct
X calls and manipulating just one GC should be faster.
**** v2.00 24 April 1998 ****
Update man pages, generated new HTML version.