Tk Source Code

Timeline
Login
Bounty program for improvements to Tcl and certain Tcl packages.

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

2020-09-14
09:59
Cherrypick [0dae01f2]: Check for invalid width or height values in Match function check-in: 9afe0b7d user: oehhar tags: bug-d6e9b4db_svg-match-big-file
09:50
Cherrypick [79583944]: Corrected Match function. Do not use the SVG parser for matching, as the SVG parser might be called in the Match pipeline for large files. As the SVG Match functions reads in the whole file, makes a copy of that string and then tries to parse that large string, this takes a lot of time and eventually might cause crashes. Instead read 4096 bytes and try to extract the needed information. No need for cache anymore. check-in: cfde0c45 user: oehhar tags: bug-d6e9b4db_svg-match-big-file
2020-09-04
20:04
Merge trunk Leaf check-in: 8be1eb72 user: jan.nijtmans tags: tip-529-image-metadata
16:57
Merge 8.6 check-in: 17091574 user: jan.nijtmans tags: trunk
16:54
Update .travis.yml, hopefully this fixes the Travis build. check-in: 58d6ce2e user: jan.nijtmans tags: tip-529-image-metadata
2020-09-02
15:05
Added "image metadata" tests for all supported image formats check-in: 19ca9b37 user: obermeier tags: tip-529-image-metadata
2020-09-01
20:39
Check for invalid width or height values in Match function check-in: 0dae01f2 user: obermeier tags: tip-529-image-metadata
20:37
Added some tests for new image metadata command check-in: 9fb5df33 user: obermeier tags: tip-529-image-metadata
15:33
Do not throw an error, but return empty dict in image metadata, if the file could not be identified as an image. check-in: 95cfcc52 user: obermeier tags: tip-529-image-metadata
2020-08-02
17:41
Added new image subcommand metadata. check-in: ab1a3403 user: obermeier tags: tip-529-image-metadata
17:40
Change MatchFileFormat and MatchStringFormat from static to MODULE_SCOPE and rename to TkImgPhotoMatchFileFormat and TkImgMatchStringFormat. check-in: fdf4a6b5 user: obermeier tags: tip-529-image-metadata
17:37
Corrected Match function. Do not use the SVG parser for matching, as the SVG parser might be called in the Match pipeline for large files. As the SVG Match functions reads in the whole file, makes a copy of that string and then tries to parse that large string, this takes a lot of time and eventually might cause crashes. Instead read 4096 bytes and try to extract the needed information. No need for cache anymore. check-in: 79583944 user: obermeier tags: tip-529-image-metadata
2020-06-29
09:18
Merge tip-529-image-metadata Leaf check-in: ffcad8a2 user: jan.nijtmans tags: tip-529-image-metadata-optional
09:17
Merge trunk check-in: ae527714 user: jan.nijtmans tags: tip-529-image-metadata
09:09
Merge-mark check-in: 847fedf6 user: jan.nijtmans tags: trunk
2020-06-28
16:11
Merge tip-529-image-metadata check-in: 087616ef user: jan.nijtmans tags: tip-529-image-metadata-optional
15:56
Merge trunk check-in: 3f7fb3f1 user: jan.nijtmans tags: tip-529-image-metadata
15:39
Merge 8.6 check-in: 7312d4e0 user: jan.nijtmans tags: trunk
2020-06-26
11:12
Merge tip-529-image-metadata check-in: af856c7a user: jan.nijtmans tags: tip-529-image-metadata-optional
10:42
Make C++ compiler more happy (for Travis build) check-in: 4f5da4e9 user: jan.nijtmans tags: tip-529-image-metadata
2020-06-24
17:05
merge unintended branch check-in: e00e45f2 user: oehhar tags: tip-529-image-metadata
16:01
TIP529 image metadata: remove optional feature "gif XMP metadata support". check-in: 6a7e4656 user: oehhar tags: tip-529-image-metadata
15:42
TIP529 image metadata: remove optional feature: driver internal DString communication between match and read function check-in: d2791c76 user: oehhar tags: tip-529-image-metadata
15:23
TIP529 image metadata: remove close file flag returned by format driver file match function check-in: c60e9512 user: oehhar tags: tip-529-image-metadata
15:01
TIP 529 image metadata: remove optional feature: svg blob in metadata check-in: 905f1b58 user: oehhar tags: tip-529-image-metadata
12:38
TIP529 image metadata branch with optional features check-in: 19f873f0 user: oehhar tags: tip-529-image-metadata-optional
2020-06-23
20:09
fix incomplete image test file earth.gif check-in: baf43e83 user: oehhar tags: tip-529-image-metadata
19:46
TIP529 image metadata: make compile on MS-VC6 check-in: c966e906 user: oehhar tags: tip-529-image-metadata
19:11
TIP529 image metadata: implement png metadata write check-in: fd694594 user: oehhar tags: tip-529-image-metadata
2020-06-22
21:20
TIP529 image metadata: read png DPI and aspect metadata check-in: fc035ac1 user: oehhar tags: tip-529-image-metadata
13:21
TIP 529 image metadata: svg metadata optimization for -dpi parameter check-in: d78fe967 user: oehhar tags: tip-529-image-metadata
2020-06-21
12:06
TIP529 image metadata: implement svg intermediate metadata memory check-in: 5b7e8328 user: oehhar tags: tip-529-image-metadata
2020-06-12
12:12
TIP529 image metadata: correct stubs entry check-in: 30dd114b user: oehhar tags: tip-529-image-metadata
2020-06-11
14:28
TIP529 image metadata: implement image write/data with metadata property. GIF comment write correction. GIF file tests check-in: 74deafc0 user: oehhar tags: tip-529-image-metadata
2020-06-09
12:45
TIP 529 image metadata: PNG format driver to version 3 interface check-in: a9b93d4d user: oehhar tags: tip-529-image-metadata
09:28
TIP529 image metadata: allow match functions to output metadata. implement file close. check-in: ad63541a user: oehhar tags: tip-529-image-metadata
2020-06-08
10:38
Merge trunk check-in: 5e56098d user: jan.nijtmans tags: tip-529-image-metadata
10:31
When TK_NO_DEPRECATED is defined or when Tk is compiled with Tcl 9 headers, no longer support the oldImageType. check-in: 94086445 user: jan.nijtmans tags: trunk
2020-06-07
11:25
TIP529 image metadata: correct shared metadata object ref count on output, implement XMP gif write check-in: 7a5f5a6c user: oehhar tags: tip-529-image-metadata
10:26
TIP529 image metadata: rename function & friends from Tk_CreatePhotoImageFormat87 to Tk_CreatePhotoImageFormatVersion3 check-in: 9829f627 user: oehhar tags: tip-529-image-metadata
2020-06-06
19:16
TIP529 image metadata: added GIF XMP write test, functionality not implemented jet check-in: d76047d4 user: oehhar tags: tip-529-image-metadata
18:36
TIP529 image metadata: changed order of arguments to alphabetical order check-in: deec7f96 user: oehhar tags: tip-529-image-metadata
18:27
Merge trunk check-in: 0cd04856 user: oehhar tags: tip-529-image-metadata
18:07
TIP529 image metadata: changed driver interface: split metadata to in/out object, driver communication dstring, file close flag, reorder all options in a more logical order. Forking intended, will merge later. Thanks Jan, for your work. check-in: 195ed496 user: oehhar tags: tip-529-image-metadata
07:45
Update leftover comments that didn't follow the changes made in [0deef053f6] check-in: a97bc436 user: fvogel tags: trunk
2020-06-05
09:07
Merge trunk, various tweaks to make it (at least) compile again. Not yet further tested. check-in: 7014d00b user: jan.nijtmans tags: tip-529-image-metadata-jan
2020-06-04
20:13
TIP529 image metadata: image data with gif comment test check-in: 7b8e689b user: oehhar tags: tip-529-image-metadata
2020-06-03
21:30
TIP529 image metadata: use metadata copy for put and read. Merge metadata on gif read check-in: 26f271fd user: oehhar tags: tip-529-image-metadata
2020-05-30
21:56
Merge fork check-in: 3b356031 user: oehhar tags: tip-529-image-metadata
21:53
TIP529 image metadata: untested sketch to implemet new call interface for Tcl_CreatePhotoImageType with metadata in all functions. Replaces Tk_Get/SetMetadata check-in: b272bef7 user: oehhar tags: tip-529-image-metadata