Tcl-pTk

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

Summary of Changes to Tcl::pTk

1.11  2023-08-10

 * font.t: Avoid `Wide character in print` warnings
 * https://github.com/chrstphrchvz/perl-tcl-ptk/issues/26
   Fix TkHijack error during `use Tk::widgets qw(…)` in Perl 5.39.1:

     Attempt to call undefined import method with arguments via package "Tk::widgets"
     (Perhaps you forgot to load the package?)

 * https://github.com/chrstphrchvz/perl-tcl-ptk/issues/27
   Fix error during `use Tcl::pTk::widgets qw(…)`
   for widgets with .pm files in Perl/Tk but not Tcl::pTk, e.g.:

     Can't locate Tcl/pTk/Label.pm in @INC
     (you may need to install the Tcl::pTk::Label module)

1.10  2022-10-07

 * Perl/Tk compatibility updates to Text widget:
   - get() method returns empty string rather than undef
   - Contents() method does not return trailing newline
     as of Perl/Tk 804.030_500

1.09  2022-05-19

 * Support ttk::treeview `cellselection` command (Tk 8.7 TIP 552)
 * Workaround Tk Aqua bug f16cdb6d04 in bgerror1.t, tkHijack_bgerror1.t,
   and tkHijack_bgerror3.t
 * Workaround Tk Aqua bug fc5073a451 in mainloopMult.t, multMainWindow1.t,
   and tkHijack_bgerror1.t
 * Implement $w->Widget() method
 * Improve $w->imageNames() method; fix bitmapSubClass.t and photoSubClass.t
 * Fix Tcl::pTk::Widget::_addcascade() for Tk 8.7 (TIP 577)

1.08_02  2021-04-04

 * Specify GitHub issues as bugtracker
 * Avoid requiring sys/ioctl.ph for emulated fileevent
   on BSD and macOS (RT #125662)

1.08_01  2020-07-18

 * Add internal variable $Tcl::pTk::_Tile_ge_0840 to indicate whether Tile/Ttk
   version is 0.8.4.0 or later, which is needed by certain features.
   Use this variable to address new test failures in tileTree.t on CentOS 6.
 * Make Time::HiRes dependency explicit: it is a core module, but is not
   installed by default on some distributions, e.g. CentOS 6.

1.08  2020-07-17

 * Improved support for ttk::treeview `item`, `selection`, and `tag` commands
   as ttkTreeview methods: these now return Perl lists rather than string
   representations of Tcl lists. See https://git.io/JJZ7C
 * Emulate timeofday() with Time::HiRes::time()
   instead of Tcl 8.5+ [clock microseconds]

1.07  2020-03-13

 * Allow '.' in Cascade labels (RT #125058)

1.06_01  2020-03-12

 * ttkTixNoteBook (RT #132075):
   - add method _identify_unavailable to check if Tile version is too old
     (needs Tcl/Tk 8.5.9 or later, or Tile 0.8.4.0 for Tcl/Tk 8.4)
   - use _identify_unavailable to show error when identify method is called
     and to skip tests in ttkTixNoteBook.t and tkFacelife_notebook.t
     when Tile version is too old
 * Split photo.t into photoTk.t and photoImg.t to separately test formats
   supported either natively by Tk or TkPNG, and those supported by TkImg
   (as photo.t does in Perl/Tk and Tcl::pTk < 0.95)
   - photoTk.t: skip PNG output tests for Tcl/Tk 8.6.5-8.6.6
     (which output invalid PNG files: RT #128803)

1.06  2020-03-10

 * Mark wmStackorder.t as TODO due to unresolved failures (RT #132100)

1.05  2020-03-09

 * Support $toplevel->stackorder method (as used with Perl/Tk)
 * Experimental workaround for regression in Tcl/Tk 8.6.10
   which causes an error when using facelifted LabEntry widgets

1.04_03  2020-03-07

 * Facelift/Hijack tests: don't skip when Tix is unavailable
   for tests that don't depend on Tix

1.04_02  2020-03-07

 * Add tests in repository but missing from MANIFEST and distribution

1.04_01  2020-03-07

 * configureReturn.t:
   - fix check for skipping Tix widget tests
     (was skipping some tests even with Tix present)
   - Workaround for RT #128804: manually destroy $mw at end of test
     to avoid segmentation fault (observed on CentOS 6.10)

1.04  2020-03-07

 * Replaced README with improved markdown README.md;
   documentation fixes (contributions from Vadim Konovalov)
 * Update MANIFEST (README.md was missing from 1.03)

1.03  2020-03-02

 * Mark focusMethods.t as TODO due to unresolved failures (RT #131091)
 * Add internal variable `$Tcl::pTk::_Tile_available` to indicate whether
   Tile/Ttk is available; check this variable rather than checking the



( run in 1.637 second using v1.01-cache-2.11-cpan-5837b0d9d2c )