forked from eserte/perl-tk
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Changes
966 lines (630 loc) · 26.6 KB
/
Changes
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
Tk-804.035 release (2020-03-28)
------------------
This is basically the same like Tk-804.034_501.
Tk-804.034_501 release (2020-03-19)
----------------------
Fixes
Add dummy rules for newer EUMM (RT #124910)
Try harder to find libpng on FreeBSD
Tk-804.034_500 release (2020-02-23)
----------------------
Fixes
Compiles again with perl 5.31.x (see also
github pull request #61 and https://github.com/Perl/perl5/issues/17024
by Karl Williamson). Now ppport.h is included in the
distribution.
Switch to X's locale handling if needed (Karl Williamson)
Don't use buttons 4 and 5 on non-X11 platforms
(Christopher Chavez)
Fix corner case in XPM handling (/* in colors section)
Spelling/grammar fixes in comments and code (Christopher Chavez)
Improved demo script photo1.pl (Christopher Chavez)
Documentation
Smaller Pod fixes (Slaven Rezic, Christopher Chavez)
Tests
travis-ci fixes
Tk-804.034 release (2017-08-26)
------------------
This is basically the same like Tk-804.033_500.
Tk-804.033_500 release (2017-08-20)
----------------------
Fixes
Fix aborts on OS X Sierra, introduced by latest clang/llvm
strcpy/strncpy (RT #121631, github pull request #28 by Mark Aufflick)
No special xOKp handling in Perl_Value (RT #121528)
Add freetype2 path on MacOSX / XQuartz to inc search paths
(github pull request #21 by Christoph Lamprecht)
Fix Tk::NoteBook's FindMenu (Martin Jacobs)
Documentation
Add Tk::getSaveFile Pod file (see also
github pull request #19)
Fix documentation about scrollbars
(github pull request #18 by asb-cpan)
Add openSUSE instructions to README.linux
(github pull request #25 by Tux)
Add documentation notes about "make -j"
Tests
New test for Tk::NoteBook.
t/Trace.t is using now Test::More
travis-ci improvements
Introduce CI testing on appveyor
Tk-804.033 release (2015-02-21)
------------------
Tests
New t/pod.t test (github pull request #16)
Tk-804.032_501 release (2015-01-31)
----------------------
Fixes
Teach perl/Tk where OS X Yosemite Xquartz puts the X11 files
(github pull request #12)
Pushstack experiment to workaround crashes with perl 5.20.x and XFT=0
(RT #96543)
Tk::Text: don't insert ctrl and meta key presses
(github issue #9)
Fix memory leak in canvas text item handling with XFT=1
(RT #100211)
Use public version of Perl_utf8_hop (RT #100878)
FixBuggyUTF8String is not called anymore for new perls
Improvements
Use Cwd::getcwd() instead of Cwd::cwd() (performance improvement)
Tests
t/font.t does not fail with only one font family installed
(RT #99411)
unicode.t - update textwidget before examining new state
(RT #100153)
Compatibility with old Test::More versions without note() and isa_ok
class check
Workaround for core dumps in some fork-using tests (RT #100399)
Workaround for more timing problems in wm-tcl.h
Tk-804.032_500 release (2014-11-06)
----------------------
Fixes
Freetype header files may now be in /usr/include/freetype2/freetype.h
in newer freetype installations (e.g. Debian/jessie).
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=740207
Tk::MainWindow::Create without args used to segfault.
Fix X11 discovery on non-x86_64 platforms (RT #95590).
Fix new sprintf warning with perl 5.21.x.
Workaround behaviour change in ExtUtils::MakeMaker 6.99_10 (PERL
value is now quoted), which caused build failures (RT #100044).
Tests
Fix race condition in t/errordialog.t
t/create.t uses Test::More
Remove useless hostname and getlogin retrieval in t/fileevent.t
(RT #98889).
Use pipe instead of stdin in t/fileevent2.t (RT #98891).
Fix font-related issues with t/entry.t (RT #98831).
Documentation
New Pod ErrorDialog.pod (github pull request #6).
Tk-804.032 release (2014-01-26)
------------------
This is basically the same like Tk-804.031_503.
Tk-804.031_503 release (2013-12-07)
----------------------
Fixes
Regain compatibility for perl < 5.8.9
(SvIV_nomg is not available with earlier perls).
Tests
wm-time.t more robust against GNOME Shell slowness.
Tk-804.031_502 release (2013-12-01)
----------------------
Fixes
Enable libpng configure for all Solaris architectures.
Documentation
Update INSTALL, README-ActiveState.txt, and README-Strawberry.txt
documents.
Tk-804.031_501 release (2013-11-18)
----------------------
Fixes
Fix gamma setting for PNG images (was only broken in 804.031_500).
Fix clang compilation error (was only broken in 804.031_500).
Tests
Some tests are now more robust.
Tk-804.031_500 release (2013-11-17)
----------------------
Fixes
RT# 88210: fix compilation for perl 5.19.0+ ("undef bool").
RT# 90077: floating number issue with -textvariable variables.
RT# 89621: avoid segfaults during global destruction (by Gisle Aas).
RT# 87016: compatibility for libpng 1.6.x.
RT# 86988: use cflags/libs information from pkg-config zlib.
RT# 89261: split Tk/ColorEditor.pm into three .pm files.
RT# 71718: fix compilation issue with 64bit Strawberry Perl (Tk_Cursor).
Fail gracefully if no font could be allocated.
ptksh: storing the history works now also under Windows.
Better handling if libpng's configure fails.
Documentation
Changes to README.linux (dependency requirements, fontconfig) and
README.cygwin.
Document special Tk::Table behavior regarding -takefocus => 0.
Tests
New test files (eventGenerate.t, sv.t) and new test cases
(eventGenerate in optmenu.t).
More test tweaks (e.g. skip some tests if the required fixed font is
unavailable, see with_fixed_font in TkTest.pm, workaround some fvwm2
problems in wm-tcl.t, protect from haning wm-time.t).
checked_test_harness() skips testing if no font could be allocated.
No test request user positioning windows anymore (for old window
managers like twm).
Configuration file for travis-ci.
Tk-804.031 release (2013-05-25)
----------
This is basically the same like Tk-804.030_502.
Tk-804.030_502 release (2013-05-21)
----------------------
Fixes
The CopSTASH_set fix did not work in 804.030_501 because of a
missing file in the tarball. Now fixed.
Tk::MakeDepend parses gcc's inc search list now and does not rely
anymore on $Config{usrinc}. This helps when include files are
partially in "multiarch" subdirectories (e.g. in Debian/sid) or when
$Config{usrinc} is incorrect (e.g. in ActivePerl+gcc builds).
RT #85407 and http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708624
Helping Debian's build process by skipping the quilt state directory
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=708635
Improving build process for ActivePerl+gcc (RT #74036); see also
README-ActiveState.txt.
Use pkg-config for determining libpng cflags and libs.
Tk-804.030_501 release (2013-05-18)
----------------------
Fixes
Should compile again with older perls: SvNV_nomg is not available with
perls older than 5.13.2, and CopSTASH_set(..., NULL) is not possible
with threaded 5.16.x and older.
Tk-804.030_500 release (2013-05-18)
----------------------
Incompatible changes
The Tk::Text::Contents() method does not return an extra newline
anymore (RT #83124). The version number of Tk::Text was incremented
to 4.029 and may be used to detect the change.
Fixes
RT #78824: fixed compilation under threaded bleadperl (5.17.x)
Fix for internal magic handling, needed for perl 5.17.2 and newer.
Fixed myConfig issue with perl 5.17.x.
SvUPGRADE() is no longer an expression since perl 5.17.7.
Off-by-one error in Tk::Table::clear method (problem spotted by David
Overeem).
Tests
RT #75347: skip unicode.t under some circumstances (e.g. problematic
locales on Windows systems)
RT #82664: fixed mismatched test count in entry.t
Fixed Subwidget call in dirtree.t test.
A couple of new test cases, conversions to Test::More...
Documentation
RT #79381: mention Tkx and Tcl::Tk
Fixed return value for wrapper() in Tk::Wm Pod.
Moved Tk::DragDrop Pods.
"Tk::" prefix was missing in a number of Pods (original problem
report by Fabien Dupont).
Code cleanup
Removed some unused static functions from tkGlue.c
Simplified utf8 repair code in Tcl_GetStringFromObj.
Tk-804.030 release (2011-10-20)
------------------
This is basically the same like Tk-804.029_502.
Tk-804.029_502 release (2011-10-17)
----------------------
Fixes
RT #71718: windres call needs the --use-temp-file on some Windows systems
RT #70429: show correct file name if image loading failed. Also
systematically searched and fixed other bad uses of Tcl_AppendResult.
RT #70243: provide inuse method for Tk::Image
Fixed a possible segfault when using canvas' select clear method.
Tk-804.029_501 release (2011-10-14)
----------------------
Fixes
Use standard libpng configure for all amd64 and x86_64 variants.
Support gridRemove method.
https://rt.cpan.org/Ticket/Display.html?id=65900
Tk-804.029_500 release (2011-06-13)
----------------------
Fixes
Fixed compilation with newer X11 version (conflicting types for
'XKeycodeToKeysym')
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=613188
Use standard libpng configure for some 64 bit variants of OpenBSD,
amd64-freebsd, x86_64-linux, MacOSX 10.6.4 and newer.
Fixed Strawberry 64bit builds.
Changed handling of "underscore" character.
https://rt.cpan.org/Ticket/Display.html?id=66205
Tk::ProgressBar::configure calls now go through ConfigChanged
https://rt.cpan.org/Ticket/Display.html?id=63775
Fixed Tk::FBox::ResolveFile with defaultextension when directory
contains dots
https://rt.cpan.org/Ticket/Display.html?id=55146
New features
BalloonInfo for HList
Implementation by Christoph Lamprecht, documentation by
Slaven Rezic
https://rt.cpan.org/Ticket/Display.html?id=55887
Perl/Tk is now available at github.
Improved "all widgets at a glance" demo.
Tests
Another attempt on skipping tests if no DISPLAY is available.
Converted fork.t and progbar.t to Test::More
Documentation
Fixed SYNOPSIS section in Tk::Text Pod
Tk-804.029 release (2010-05-27)
------------------
This is basically the same like Tk-804.028_503.
Tests
after.t is a TODO test on Windows.
Tk-804.028_503 release (2010-05-13)
----------------------
Fixes
Tk::Text documentation mentioned -reverse where it should be -backwards.
Also allow -forwards/-backwards to be abbreviated in FindNext call.
https://rt.cpan.org/Ticket/Display.html?id=51552
Added WRITE method for tied Text widgets.
https://rt.cpan.org/Ticket/Display.html?id=45818
Fixed display of Unicode characters in Windows toplevel menus.
https://rt.cpan.org/Ticket/Display.html?id=50681
No special LDDLFLAGS handling on MacOSX systems, which probably
caused an unusable Tk module (i.e. bus errors)
http://rt.cpan.org/Public/Bug/Display.html?id=39593
Fixes Strawberry Perl builds (probably was broken on all 64bit systems)
Informal patch by Eduard Wulff
Tests
A missing rgb.txt is no more an error in the Tk::ColorEditor tests,
as rgb.txt may be missing completely in some X11 installations.
Documentation
Fixed minor typo in ProgressBar documentation
https://rt.cpan.org/Ticket/Display.html?id=39182
Documented that -width and -height do not work with NoteBook widgets
https://rt.cpan.org/Ticket/Display.html?id=52609
Tk-804.028_502 release (2010-01-30)
----------------------
Fixes
Support for perl 5.11.2 and later (UTF8_MAXLEN_UCLC is not available
anymore)
http://rt.cpan.org/Public/Bug/Display.html?id=53465
Use 'configure' for building libpng under IRIX64
http://rt.cpan.org/Ticket/Display.html?id=40820
PNG did not build under AIX and IRIC64, unchecked fix
http://rt.cpan.org/Ticket/Display.html?id=40064
http://rt.cpan.org/Ticket/Display.html?id=40820
Workaround for a perl bug (?) when using "eq" under a Japanese locale
under Windows (sample fail report:
http://www.nntp.perl.org/group/perl.cpan.testers/2008/11/msg2550386.html)
Tk did not support more than 32 fds on 64bit machines
http://rt.cpan.org/Ticket/Display.html?id=41158
Tk::Trace fix to make Tk::Gauge work
http://rt.cpan.org/Ticket/Display.html?id=41069
Fixed some regular expression-related and other errors, patch by
Alexander Krasnorutsky, see
http://rt.cpan.org/Public/Bug/Display.html?id=41068
Workaround for SvREADONLY issue with 5.8.x
http://rt.cpan.org/Public/Bug/Display.html?id=41436
Another possible rgb.txt location, by h.m.brand
Fix for attaching balloons to items of scrolled widgets
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=246363
Fixed XIM event filtering.
Fixed compilation with newer gcc
http://rt.cpan.org/Ticket/Display.html?id=49499
RecolorTree was broken since Tk-804.027_501 if called separately.
Reported and patched by Michael Parker
http://rt.cpan.org/Public/Bug/Display.html?id=49515
Control-X/Y/C now also works if Caps Lock is active
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=205895
Copy/paste operations between KDE and Perl/Tk applications
on 64bit system did not work, patch by Petr Pajas
Canvas grids: -color was documented, but only -fill was implemented.
In future both is supported.
http://rt.cpan.org/Ticket/Display.html?id=47132
Patch for mingw-w64 gcc compiler, supplied by kmx
http://rt.cpan.org/Public/Bug/Display.html?id=53467
Documentation
Documentation on "Perl/Tk and Unicode"
Fixed cget/delete confusion in Entry.pod
http://rt.cpan.org/Public/Bug/Display.html?id=50253
Tk-804.028_501 release (2008-11-04)
----------------------
Fixes
File permissions of the tarball seemed to be problematic under
Windows Vista and Strawberry Perl 5.10.0.3, causing aborted builds.
This is hopefully fixed now.
Changed cygwin default to x11 (native MSWin32 port still does not
work).
New
There's now an "examples" directory containing some useful scripts
previously been elsewhere in the distribution.
Documentation
Documented ROText key bindings.
New README for Strawberry Perl.
Tests
Prevent Event mini tests to be run when the rest of Tk is not tested,
to avoid insignificant PASSes at cpantesters.
More tests marked as TODO or SKIP.
Tk-804.028_500 release (2008-10-01)
----------------------
Fixes
Security fix for GIF reader (CVE-2006-4484, report and patch by
Anicka Bernathova)
Make sure Tk::MsgBox is not displayed before calling Show()
Solved problems with fileevent on 64bit architectures (this also
fixes a problem with POE)
Makefile.PL updates (auto-creation of META.yml, added LICENSE, exit
cleanly if prereqs are missing --- this is for cpan testers)
Fixed typo in Tk::FBox
http://rt.cpan.org/Public/Bug/Display.html?id=31989
Added different location of rgb.txt on Mac OS X 10.5.1 systems
Fixed a makedepend issue, reported by marek.rouchal
A BusyRecurse issue [rt.cpan.org #32858]
Fixed Tk::ColorEditor problem with OpenBSD (another rgb.txt location)
clipboardGet was documented, but did not work (note that clipboard("get")
always worked)
Tk::After::Cancelled needs also a dummy cancel() method
Fixed event handling for newer X servers
http://rt.cpan.org/Public/Bug/Display.html?id=38746
Permission issue [rt.cpan.org #39038]
Support for changed regexp-related functions and structures in perl
5.11.x.
Fix for: Tk::FileSelect fails to select file with "'" in file name
(with new fileselect.t tests)
http://rt.cpan.org/Public/Bug/Display.html?id=39096
Fixed movement of cursor on insertations in Tk::TextUndo
http://rt.cpan.org/Public/Bug/Display.html?id=34513
Tk::Test fix for: skips lines when arrowing down in a window not
exactly sized to a text
http://rt.cpan.org/Public/Bug/Display.html?id=39343
ErrorDialog fix for Windows (dialog was never displayed)
http://rt.cpan.org/Public/Bug/Display.html?id=39417
Use 'configure' for building libpng under Solaris.
Tests
Tests for signal handling (testing LangAsyncCheck introduced earlier)
Various skips and $TODOs for broken (?) window managers and slow
connections (for example -xscrollcommand-related, floating-point
precision-related, signal availability and many more ...)
Tk-804.028 release (2007-12-18)
------------------
Tests
Fixed some test problems.
Tk-804.027_502 release (2007-12-04)
----------------------
New features
Merged with CPAN version of Tk::Tree
Tk::Animation now reads delay and disposal information from GIF file
(experimental, may change, needs an installed Image::Info)
Fixes
Make sure canvas methods are really accessible in OnDestroy. This
fixes problems in the CPAN module Tk::LCD.
Some path-related problems fixed with Tk::DirTree.
Solved some Tk::ColorEditor issues (missing rgb.txt, multiple
chooseColor invocations)
Fixed some build problems under Windows.
Fixed possible memory corruption
(http://rt.cpan.org/Ticket/Display.html?id=24542)
Dash patches by Wolfgang Laun
(http://rt.cpan.org/Ticket/Display.html?id=11083)
hpux ia64 should now compile.
Tk::FBox: workaround for segfaults under threaded perl.
Fixed possible performance problem when using Tk::Balloon and
AutoLoader 5.63 is installed.
Documentation
Documented missing page_widget method in Tk::NoteBook.
Tests
Disabled more failing wm tests (notably on kwin).
Tk-804.027_501 release (2007-09-22)
----------------------
Compiles and passes tests on
FreeBSD 6.2 (amd64) + perl5.8.8
FreeBSD 6.2 (amd64) + perl5.10.0 patch 31894
FreeBSD 6.1 (i386) + perl5.8.8
Linux (Debian) + perl5.8.8
At some earlier point, there were success reports for the following
configurations:
* Solaris 8 (Sparc), gcc-4.0.3, perl-5.8.8 with
freetype-2.2.1, expat-2.0.0, libXft-2.1.11, fontconfig-2.4.1,
libXrender-0.9.2, renderproto-0.9.2, zlib-1.2.3, libjpeg-6b,
libpng-1.2.14
* RedHat Enterprise Linux 3.0 update 8 (i686), gcc-4.0.3, perl-5.8.8 with
freetype-2.2.1, expat-2.0.0, libXft-2.1.11, fontconfig-2.4.1,
libXrender-0.9.2, renderproto-0.9.2, zlib-1.2.3, libjpeg-6b,
libpng-1.2.14
* Windows, VC++ 6.0, perl-5.9.5
New features
Implemented -overrelief,-repeatinterval,-repeatdelay for Tk::Button.
Additional item in the "widget" demonstration showing all Tk widgets.
Added BalloonInfo to NoteBook.
ptked: Encoding menu now with radiobuttons, also added some popular
encodings to menu.
Fixes
Fix for not working 'hide entry' in HList.
HList: fixed errors with disabled entries and a entry named 0.
Various warning fixes.
Enable compiling of PNG-related files with Sun compiler.
Fixed setPalette and RecolorTree.
Make sure waitVariable exits if a waiting dialog is destroyed.
Again compiles under bleadperl.
Various fixes for 64bit platforms (e.g. property method, libpng
building).
Fixed situation when resizing a mainwindow containing a PNG image
crashed Tk Tcl/Tk bug 979239 fixed by George Peter Staplin, brought
to Perl/Tk by Franck Aniere.
Adapt path for getOpen/SaveFile's -initialfile and -initialdir to
the OS (patch provided by Roland Minner).
Fixed not working -dynamicgeometry in Tk::NoteBook.
Fixed zlib compilation problem under Windows (unistd.h does not
exist there). Reported by esskar.
Fixed configure problems on mixed 32/64 bit architectures, patch by
Steve Lidie.
Documentation
Documented the Widget() method
Widget.pod: resorted methods alphabetically
Documented Tk::DialogBox::Exit
Tests
New test script for Button widget, yet uncomplete (t/button-tcl.t)
New HList tests for show/hide
font.t is more robust if unexpected fonts are used.
The complete log of changes can be get using
svn log https://svn.perl.org/modules/Tk/trunk
Tk-804.027_500 release (2007-02-11)
----------------------
Compiles and passes tests on
FreeBSD 6.1 + perl5.8.8 + fontconfig 2.3.2
FreeBSD 6.1 + bleadperl + fontconfig 2.3.2
Linux (Debian) + perl5.8.8
Windows 2000 + Strawberry Perl 5.8.8 alpha 2
Mac OS X 10.4
Solaris 10 + perl5.8.4
At some earlier point, there were successful builds with
cygwin 1.5.x + perl5.8.7 + fontconfig (X11 build only)
Solaris 8
Linux (RedHat 8.0) + perl5.8.0
New features
The undocumented method font('subfonts') returns now more
diagnostics.
Library upgrades:
libpng from 1.2.5 to 1.2.12
zlib from 1.1.4 to 1.2.3
It's possible to use binary (and not anymore base64 encoded) -data
for GIF files.
New -cancel_button option for Tk::DialogBox
Fixes
gedi accepts now X11 command line options.
Encode.pm is specified as a PREREQ_PM.
Fixed slow listbox itemconfigure.
Fixed array return of Tk::Text::get method.
Fixed Tk::BrowseEntry problem with -label* options, see
http://perlmonks.org/?node_id=590170
Introduced LangAsyncCheck, which fixes
http://rt.cpan.org/Ticket/Display.html?id=23879
Fixed http://bugs.activestate.com/show_bug.cgi?id=40231 (missing
default button indicator on win32 for Tk::DialogBox widgets)
Fixed http://bugs.activestate.com/show_bug.cgi?id=40217 (wm close
window button does not call the default button)
Fixed non-working Balloon attachments to individual menu items,
see http://board.perl-community.de/cgi-bin/ikonboard/ikonboard.cgi?act=ST;f=3;t=665
As a side effect, there is now a new method Tk::Menu::MasterMenu for
getting the master menu of a cloned menu.
Adjuster now works in DialogBoxes, see
http://groups.google.de/group/comp.lang.perl.tk/browse_frm/thread/5366757a4c6cd844/8ff9d1745d2b75b8
Fixed memory leak in after* callbacks, see
http://rt.perl.org/rt3/Ticket/Display.html?id=41130
Fixed Tk:: FBox to treat special files like sockets, pipes as files,
not as directories.
Fixed -at/-before/-after problem with Tk::HList.
Workaround for 'selection conversion left too many bytes
unconverted' aborts.
Documentation
New Pod for Tk::MsgBox.
Created a CAVEATS section in Tk::Image for the FAQ about memory
leaks and images.
Added missing L<...> links.
Some minor Pod fixes.
Tests
Make sure that tests won't be run if no X11 is running to prevent
unnecessary cpantesters reports.
New test for Text widget (t/text.t)
New test for scripts (t/exefiles.t)
New test for Tk::Adjuster (t/adjuster.t)
More Tk::FBox tests (e.g. chooseDirectory ...)
Tests are now more robust if another application has the global grab
(see catch_grabs in TkTest.pm).
Tk-804.027-p4.patch.gz (2006-11-26)
----------------------
Compiles and passes tests on
FreeBSD 6.1 + perl5.8.8 + fontconfig 2.3.2
FreeBSD 6.1 + bleadperl + fontconfig 2.3.2
Linux Debian + perl5.8.8 + fontconfig 2.4.1
Solaris 8 + gcc-4.0.3 + perl-5.8.8 + fontconfig-2.4.1 (with two test
errors in font.t)
I also had success with compiling under recent cygwin using the x11
libraries a few days earlier.
Fixes
XFT works now with recent fontconfig, no core dumps anymore.
Fix for segfault in t/regexp.t with perl 5.9.x. See also
http://www.xray.mpe.mpg.de/mailing-lists/perl5-porters/2006-02/msg00748.html
for a similar issue.
Workaround for core dumps when using -font=>undef.
Fixed wrong usage of $#{@...} which does not work anymore in
bleadperl.
Fixed Tk::Text movements wordstart and wordend in unicode content.
Better handling of undef in BrowseEntry widgets. Bug reported by
Puetz Kevin A.
A couple of compilation warning fixes.
Tests
Continued text.t conversion.
More tests in font.t.
Fixed failing tests if no windows manager (under X11) is running.
Fixed some false test failures in listbox.t (font detection was
wrong).
Disabled fork.t and fileevent.t on cygwin (same like MSWin32).
Tk-804.027-p3.patch.gz (2006-11-20)
----------------------
Compiles and passes tests on
FreeBSD 6.1 + perl5.8.8 + xorg 6.9.x + various window managers (fvwm2, twm, metacity ...)
Linux RedHat 8.0 + perl5.8.0 (one test failure in leak.t)
Linux RedHat 8.0 + perl5.8.7
MSWin32 + Strawberry Perl (5.8.8)
There are some test failures with bleedperl, most of them
Tie::Watch-related, which will be fixed in a next version of the
patch.
Incompatible changes
Return values of some Tk::Wm methods (e.g. aspect, wmGrid,
iconposition, resizable ...) were changed from returning tclish
lists (e.g. "1 2 3 4") to perlish lists (1,2,3,4). I believe the
return values of these methods are rarely used.
Tk::Wm::wmTracing needs argument for setting on/off, without
argument just return the current value.
New features
The newest tkUnixWm.c from Tcl/Tk is now in the Perl/Tk code. This
adds (experimental?) support for wm attributes -topmost, -zoomed,
-fullscreen and other _NET_WM features (iconphoto) under Unix/X11.
Tk::Wm::stackorder was missing in Perl/Tk.
widget demonstration has a Ctrl-Q key binding.
ptksh: x is an alias for d (like in the perl debugger).
ptksh: use bold font for prompt.
Tk::Text: pasting selection with middle mouse sets cursor position now.
This is consistent with behaviour in other toolkits.
Tk::Widget: translated UnderlineAmpersand etc. functions.
Tk::MsgBox: again in Tk, completely new translation from the Tcl/Tk
original. Looks nicer and behaves better than messageBox through
Tk::DialogBox.
Fixes
Fixed crashes of Perl/Tk applications when Gtk/Gnome applications
were started. See http://rt.cpan.org/Ticket/Display.html?id=16053
ptksh is not slow anymore when popping up history.
ptksh: use fixed font for text area.
Tk::FBox may handle paths with high-bit set.
Image and bitmap filenames with high-bit set work now. See
http://groups.google.com/group/comp.lang.perl.tk/msg/865b56226af23f7c
Minor Tk::TextList fixes, but still most tests fail.
Fixed some menu problems, see
http://rt.cpan.org/Public/Bug/Display.html?id=15677,
http://rt.cpan.org/Ticket/Display.html?id=6166
Title of tearoff menus now set correctly.
ptked may be started without initial filename.
gedi works again.
Fixed some core dumps.
Tk::Listbox insert/delete does not leak memory anymore (well, not
that much). See
http://rt.cpan.org/Ticket/Display.html?id=12466
Building on RedHat systems works now, see
http://rt.cpan.org/Ticket/Display.html?id=6708
Tk::NoteBook fix for pages method, see
http://rt.cpan.org/Ticket/Display.html?id=8567
Tk::Canvas fix for -state => hidden issue, see
http://rt.cpan.org/Ticket/Display.html?id=4677
Documentation
Tk::Widget::Walk is now documented.
Corrected installation path for Tk::Menu::Item.
Fixed invalid Pod syntax.
Tests
Converted some tests from Test to Test::More
Enable unicode tests where possible.
Make all tests working with XFT=1.
New tests, converted from the Tcl counterparts: canvas.t, wm-tcl.t,
text.t (latter not completed yet)
00wmcheck.t: show user's window manager before starting tests.
(Almost) no test should request user positioning windows (for old
window managers like twm).
Some wm-dependent tests were marked as TODO tests.
----------------------------------------------------------------------
Within each 'release' time advances down the file, but most recent
release is at the top.
Change.log is generated from perforce database, it is therefore
complete, but short on detail.
Changes in Tk804.023
First public release of version based on Unicode aware core tk.
Historical changes in Tk800 branch to be reinstated here later.