summaryrefslogtreecommitdiffstats
path: root/generic/tkOldConfig.c
Commit message (Collapse)AuthorAgeFilesLines
* canvText progressjan.nijtmans2024-09-041-1/+1
|
* takeFocus -> takeFocusObjjan.nijtmans2024-09-021-12/+15
|
* Always Incr refcount before Decr another: it could be the same Tcl_Objjan.nijtmans2024-09-021-8/+7
|
* Undo experiment. Merge 9.0jan.nijtmans2024-09-021-4/+4
|\
| * Use the more efficient ↵jan.nijtmans2024-09-011-4/+4
| |\ | | | | | | | | | | | | Tk_AllocColorFromObj()/Tk_Alloc3DBorderFromObj()/Tk_AllocCursorFromObj()/Tk_GetJustifyFromObj() in tkOldConfig.c. Doc update
| | * Use the more efficient ↵jan.nijtmans2024-09-011-4/+4
| | |\ | | | | | | | | | | | | | | | | Tk_AllocColorFromObj()/Tk_Alloc3DBorderFromObj()/Tk_AllocCursorFromObj()/Tk_GetJustifyFromObj() in tkOldConfig.c. Merge 8.6
* | | \ Merge 9.0jan.nijtmans2024-08-301-34/+34
|\ \ \ \ | |/ / /
| * | | Merge 8.7jan.nijtmans2024-08-301-34/+39
| |\ \ \ | | |/ /
| | * | Merge 8.6jan.nijtmans2024-08-301-34/+39
| | |\ \ | | | |/
| | | * Tk 8.6 doesn't support TK_CONFIG_OBJS flag in TK_CONFIG_??? entries. If an ↵jan.nijtmans2024-08-301-54/+59
| | | | | | | | | | | | | | | | extension tries, supply an error.
* | | | Make a start with [610a73a179]: Canvas widget handles pixel objects ↵jan.nijtmans2024-08-291-1/+35
|/ / / | | | | | | | | | incorrectly in Tk 9.0. WIP
* | | Performance improvement in tkOldConfig.c. See [610a73a179].jan.nijtmans2024-08-291-36/+30
|\ \ \ | |/ /
| * | Performance improvement in tkOldConfig.c. See [610a73a179]. Backport some ↵jan.nijtmans2024-08-291-42/+45
| |\ \ | | | | | | | | | | | | formatting from 9.0
| | * | Fix performance part of [610a73a179]: Canvas widget handles pixel objects ↵core-bug-610a73a179jan.nijtmans2024-08-281-36/+30
| |/ / |/| | | | | | | | incorrectly in Tk 9.0
* | | Merge 8.7jan.nijtmans2024-06-161-1/+1
|\ \ \ | |/ /
* | | Implement TK_CONFIG_NULL_OK for TK_CONFIG_PIXELS. Needed for ↵jan.nijtmans2024-06-161-11/+15
|\ \ \ | | | | | | | | | | | | | | | | "-elementborderwidth" in tkScrollbar.c Make TK_OPTION_NULL_OK the same value as TCL_NULL_OK for Tcl 9, but keep binary compatibility. Fix some spacing
* \ \ \ Merge 8.7jan.nijtmans2024-03-291-2/+2
|\ \ \ \
* \ \ \ \ Merge 8.7jan.nijtmans2024-03-271-11/+11
|\ \ \ \ \
* \ \ \ \ \ Merge 8.7jan.nijtmans2024-02-161-4/+4
|\ \ \ \ \ \
* \ \ \ \ \ \ Merge 8.7jan.nijtmans2024-02-141-2/+2
|\ \ \ \ \ \ \ | |/ / / / / /
| | | | | | |
| \ \ \ \ \ \
*-. \ \ \ \ \ \ TIP 647: Change Tk_ConfigureWidgets signature, abandon TK_CONFIG_OBJSjan.nijtmans2023-11-281-28/+12
|\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Rebase to trunk.jan.nijtmans2023-11-081-24/+8
| |\ \ \ \ \ \ \ \ |/ / / / / / / / /
| * | | | | | | | Merge 8.7jan.nijtmans2023-03-311-5/+5
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2023-01-251-2/+6
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2022-11-271-2/+2
| |\ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | Get rid of TK_CONFIG_OBJS flag (and change signature of Tk_ConfigureWidgets)jan.nijtmans2022-11-031-24/+8
| | | | | | | | | | | |
| | | | | | | | | | * | Something wrong with previous commitjan.nijtmans2024-06-161-1/+1
| | | | | | | | | |/ /
| | | | | | | | | * | Implement TK_CONFIG_NULL_OK for TK_CONFIG_PIXELS. Needed for ↵jan.nijtmans2024-06-161-11/+15
| | | | | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "-elementborderwidth" in tkScrollbar.c Make TK_OPTION_NULL_OK the same value as TCL_NULL_OK for Tcl 9, but keep binary compatibility. Fix some spacing
| | | | | | | | * | Fix [c2b8a44bb9]: compiler warnings about ckfree()jan.nijtmans2024-03-291-2/+2
| | | | | | | |/ /
| | | | | | | * | Revise some (void *)/(char *) usage. Now on X11, everything compiles/runs ↵jan.nijtmans2024-03-271-10/+10
| | | | | | |/ / | | | | | | | | | | | | | | | | | | | | | | | | with a C++ compiler.
| | | | | | * | Tcl_Alloc -> ckalloc. Remove unnecessary type-casts.jan.nijtmans2024-02-141-2/+2
| | | | | |/ /
| | | | | * | TIP #647 (partial, only the 100% upwards compatible part)jan.nijtmans2023-11-281-5/+5
| |_|_|_|/ / |/| | | | |
* | | | | | Merge 8.6. Some C++-fixesjan.nijtmans2023-10-111-2/+2
|\ \ \ \ \ \ | | |_|_|_|/ | |/| | | |
| * | | | | Fix [9675dd5916]: tkOldConfig.c incorrectly uses ckfree() when freeProc == ↵jan.nijtmans2023-10-111-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | free. Also eliminate FreeWidget() in ttkWidget.c
* | | | | | Missed more than a few TIP 660 changes. Possibly more to come.apnadkarni2023-04-181-4/+4
| |_|_|_|/ |/| | | |
* | | | | More -1 -> TCL_INDEX_NONE. More TCL_UNUSED(jan.nijtmans2023-03-121-5/+5
| |_|_|/ |/| | |
* | | | Merge core-8-6-branch: Eradicate uses of sprintf because it triggers ↵fvogel2023-01-181-2/+6
|\ \ \ \ | |/ / / | | | / | |_|/ |/| | deprecation warning on macOS Ventura. Resolve conflicts. Remove sprintf calls specific to the main branch.
| * | Factorise definition of snprintf in tkWinInt.h (MSVC before 2015 didn't know ↵fvogel2023-01-141-6/+2
| | | | | | | | | | | | snprintf).
| * | Provide explicit size in snprintf when needed. Fix gcc warning: 'argument to ↵fvogel2023-01-121-2/+2
| | | | | | | | | | | | ‘sizeof’ in ‘snprintf’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]'
| * | Eradicate uses of sprintf because it triggers deprecation warning on macOS ↵fvogel2023-01-101-2/+10
| | | | | | | | | | | | Ventura. Only a single instance left in TkpPrintWindowId() (tkWinWindow.c).
* | | Merge 8.6jan.nijtmans2022-11-251-1/+1
|\ \ \ | |/ /
| * | Slightly better: Check for specPtr->offset < 0 before doing calculations with itjan.nijtmans2022-11-251-1/+1
| | |
* | | Merge 8.6jan.nijtmans2022-11-251-1/+1
|\ \ \ | |/ / | | / | |/ |/|
| * Fix [56e7e25369]: Commit [2f2bccfc22d]: enless loop ?jan.nijtmans2022-11-251-1/+1
| |
| * Handle the TCL_NULL_OK flag, if running with Tcl 8.7, as synonym for ↵jan.nijtmans2022-11-231-1/+1
| | | | | | | | TK_CONFIG_NULL_OK/TK_OPTION_NULL_OK.
| * Protect specPtr->offset against begin < 0, so it doesn't lead to a crash any ↵jan.nijtmans2022-11-231-20/+30
| | | | | | | | more. Backported from 8.7
* | If compiled with -DTK_NO_DEPRECATED, make TK_CONFIG_OBJS mandatory. So, we ↵jan.nijtmans2022-11-031-0/+8
| | | | | | | | could get rid of this flag in Tk 9.x (TIP upcoming!)
* | Allow specPtr->offset to have the value TCL_INDEX_NONE. Use this in ↵jan.nijtmans2022-11-031-1/+10
| | | | | | | | tkImgPhoto.c to remove the need for a tricky allocation of a temporary special argument array.
* | even more int -> Tcl_Sizejan.nijtmans2022-10-301-1/+1
| |
* | TCL_INDEX_NULL_OK -> TCL_NULL_OK (following TIP #618)jan.nijtmans2022-10-071-1/+1
| |