Tk Library Source Code

Timeline
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

5 check-ins related to "tests-ico"

2026-11-22
16:39
Fix XOR mask padding, BMP text mode and EXEtoICO in ico (part of [39f280ebe4]): the rows of the XOR mask are padded to a multiple of 32 bits, but ico read and wrote them unpadded, so a standard 16x16 1 bpp icon (and any width whose rows are not 32-bit aligned) was read and written wrong. readDIB, readDIBFromData, getRawIconDataBMP and calcSize now use the padded size and strip the padding, and getXORFromColors pads each row. BMP files are now opened in binary mode, so their data is no longer translated. EXEtoICO resets the list of size fields for each icon group, so the icon files after the first one are no longer corrupted. The XOR and BMP fixes are also applied to ico0.tcl. leaf check-in: b6bcb5aad3 user: serhiy.storchaka tags: ico-xor-padding-bmp-binary
2026-11-21
13:47
Merge tests-ico. The knownBug tests ico-4.11 and ico-6.10 now run. The tests of the fix branch are kept as ico-6.32 and ico-6.33 in ico.test. leaf check-in: 8b58f0e302 user: serhiy.storchaka tags: ico-andmask-padding
13:46
Merge tests-ico. The knownBug tests ico-3.9 and ico-5.18 now run. The test of the fix branch is kept as ico-3.13 in ico.test. leaf check-in: 1fb71c39e3 user: serhiy.storchaka tags: ico-256-icons
12:23
Add tests for ico: icons, iconMembers, getIcon, getIconByName, writeIcon, copyIcon, EXEtoICO, clearCache, transparentColor and Show, with ICO, CUR, BMP and PE files generated by the tests. leaf check-in: 6735264544 user: serhiy.storchaka tags: tests-ico
10:57
Fix [1346295fff]: remove the executable bit from 50 files which are not scripts (they have no #! line): documentation, package indexes, libraries and tests in plotchart, controlwidget, khim, ctext, datefield, diagrams, notifywindow and swaplist, the old diagrams examples, and support/main.tcl and support/modules.tcl. check-in: 1fe463dd01 user: serhiy.storchaka tags: trunk