Commit Graph

26 Commits

Author SHA1 Message Date
Hugo van Kemenade
070e770469 Remove support for Tk/Tcl <= 8.4, deprecated in 8.2.0 2023-04-06 16:11:36 +03:00
Javier Dehesa
2cc40cc7f4
Fix tcl/tk loading error handling
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-01-05 00:05:54 +00:00
Javier Dehesa
da39e4e38e
Fix tcl/tk loading error handling
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-01-05 00:05:36 +00:00
Javier Dehesa
e945ab382a
Fix tcl/tk loading error handling
Co-authored-by: Ondrej Baranovič <nulano@nulano.eu>
2023-01-05 00:04:50 +00:00
Andrew Murray
406a8478cd Use break instead of goto 2022-11-26 17:41:06 +11:00
Javier Dehesa
4a36d9d761
Avoid using PyErr_SetFromWindowsErr on Cygwin 2022-11-25 22:27:18 +00:00
Javier Dehesa
80d7fa9004
Fix another bad cast syntax 2022-11-25 16:09:01 +00:00
Javier Dehesa
40d9732a40
Fix cast syntax 2022-11-25 15:57:07 +00:00
Javier Dehesa
73b91f58d0
Support arbitrary number of loaded modules on Windows
Changed the TKinter module loading function for Windows to support the rare (but possible) case of having more than 1024 modules loaded. This is an adaptation of the same fix that was added to Matplotlib in [PR #22445](https://github.com/matplotlib/matplotlib/pull/22445).
2022-11-25 15:10:05 +00:00
nulano
09da6fa73b
inline fname2char to fix #6319 2022-05-24 16:15:01 +01:00
Andrew Murray
ef99a73473 Clarified that version numbers refer to Tk, not Pillow 2022-01-20 10:04:35 +11:00
DWesl
c8391aaa4b Use the Windows functions to get TCL functions on Cygwin.
This is related to linking semantics, so Cygwin should follow the Windows codepath.
2021-11-03 13:03:55 -04:00
Andrew Murray
622a1cd542 Changed URLs to HTTPS 2021-07-12 21:00:36 +10:00
Andrew Murray
46b7e86bab Format with ClangFormat 2021-01-03 14:17:51 +11:00
Hugo van Kemenade
14643d5746
Merge pull request #4806 from nqbit/msan_bug
Initialize offset memory for PyImagingPhotoPut
2020-10-14 17:38:17 +03:00
Hugo van Kemenade
f9852c0381
Merge branch 'master' into fix-imagingHinclude 2020-10-14 14:50:36 +03:00
nulano
3273a1af4c fix tk on latest msys2-mingw64 2020-10-04 22:55:53 +01:00
Andrew Murray
7e4db0a80e Prefix other header includes 2020-09-22 13:33:05 +10:00
Nathaniel Quillin
1743ac4734 Initialize offset memory for PyImagingPhotoPut.
When using image mode "1" or "L" block.offset[3] is never initialized. In some use cases the block is passed to Tk_PhotoPutBlock (https://github.com/tcltk/tk/blob/master/generic/tkImgPhoto.c#L2752) and block.offset[3] is stored in alphaoffset which is later referenced.
2020-08-15 21:16:18 +10:00
Andrew Murray
c1d9931adc Added braces 2020-05-10 19:56:36 +10:00
Hugo
af770a6c55 Drop support for EOL Python 2.7 2019-10-07 14:30:59 +03:00
Andrew Murray
d9a3878937 Fixed ImageTk getimage 2019-04-29 23:43:13 +10:00
Lumir Balhar
78bf8ea041 Fix potential leaked storage issues (CWE-772) 2018-10-02 14:06:21 +02:00
Hugo
429c4bf30a Remove unnecessary '#if 0' code 2018-04-05 12:20:21 +03:00
Hugo
e25df9d65f Tabs to spaces, no other changes 2018-04-05 12:02:19 +03:00
Hugo
3916563a1b Move Tk files to src 2018-01-04 09:33:10 +02:00