summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Revert [ac229dabaa]. There is a reason the Tcl_GetIndexFromObj wrapper jenglish2013-02-2713-90/+89
| | | exists and is used.
* Eliminate all Tcl_GetIndexFromObj calls, which is only a thin wrapper around ↵jan.nijtmans2013-02-2713-89/+90
| | | | Tcl_GetIndexFromObjStruct.
* Remove unneeded SetOptionFromAny and SetTextIndexFromAny. They were only ↵jan.nijtmans2013-02-262-49/+2
| | | | needed to prevent a panic in Tcl, but Tcl now generates a nice error-message in stead of panicing.
* Replace all Tcl_TraceVar/Tcl_UntraceVar with Tcl_TraceVar2/Tcl_UntraceVar2 ↵jan.nijtmans2013-02-229-28/+28
| | | | calls: The former are just thin wrappers around the latter.
* ttk::theme::* packages don't Provide anything Extra.jenglish2013-02-153-3/+3
| | | Change Tcl_PkgProvideEx() back to Tcl_PkgProvide().
* Eliminate usage of Tcl_PkgProvide/Tcl_PkgRequire functions, use the 'Ex' ↵jan.nijtmans2013-02-157-9/+9
| | | | versions in stead.
* Eliminate last use of Tcl_GetStringResultjan.nijtmans2013-02-151-1/+1
|
* ttk::treeview: schedule redisplay when adding or removing tags [Bug 3603077].jenglish2013-02-041-0/+5
|\
| * ttk::treeview: schedule redisplay when adding or removing tags [Bug 3603077].jenglish2013-02-041-0/+5
| |
* | eliminate unnecessary Tcl_ConvertToType calljan.nijtmans2013-02-011-4/+5
| |
* | some more int -> size_t changesjan.nijtmans2013-02-019-39/+43
| |
* | typojan.nijtmans2013-02-011-1/+1
| |
* | Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr ↵jan.nijtmans2013-02-0111-45/+45
|\ \ | |/ | | | | | | everywhere. Change some internal "length" variables from type int to type size_t, so it could handle bigger string sizes (for "novem")
| * Use internalRep.twoPtrValue.ptr1 in stead of internalRep.otherValuePtr ↵jan.nijtmans2013-02-012-69/+62
| | | | | | | | everywhere.
* | Merge trunk. jan.nijtmans2013-01-311-1/+26
|\ \ | |/ | | Define some macros in tk.h which are needed by Tk as fallback, which might be removed from future tcl.h versions.
* | Convert all Tcl_SetResult calls to Tcl_SetObjResult calls. jan.nijtmans2013-01-286-16/+14
| | | | | | Convert Tcl_GetStringFromObj to Tcl_GetString when possible.
* | Use some more (void *)'s in FreeProc's, a step in the direction getting Tk ↵jan.nijtmans2013-01-2614-49/+49
| | | | | | | | to work with "novem"
* | more places convertedjan.nijtmans2013-01-2429-106/+106
| |
* | Merge core-8-5-branchjan.nijtmans2013-01-2424-78/+83
|\ \ | |/ | | Various Tcl_GetIndexFromObj -> Tcl_GetIndexFromObjStruct changes.
| * Eliminate use of deprecated Tcl_VarEval function from ttk.jan.nijtmans2013-01-231-1/+7
| |
* | Tk_CancelIdleCall -> Tcl_CancelIdleCalljan.nijtmans2013-01-231-1/+1
|\ \ | |/
| * Tk_CancelIdleCall -> Tcl_CancelIdleCalljan.nijtmans2013-01-231-1/+1
| |
| * make TkBackgroundEvalObjv a static function, and eliminate the use of the ↵jan.nijtmans2013-01-231-83/+0
| | | | | | | | deprecated SaveResult API from it.
* | Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-223-8/+10
|\ \ | |/ | | | | fails, in stead of simply abort()
| * Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-222-5/+7
| |\ | | | | | | | | | fails, in stead of simply abort()
| | * Bug [3601782]: Produce a nice error-message when the first Tcl_InitStubs() ↵jan.nijtmans2013-01-222-5/+7
| | | | | | | | | | | | fails, in stead of simply abort()
| * | some formatting (backported from 8.6)jan.nijtmans2013-01-171-55/+54
| | |
* | | eliminate use of deprecated Tcl_SaveResult APIjan.nijtmans2013-01-201-12/+7
| | |
* | | fix commentjan.nijtmans2013-01-151-1/+1
|\ \ \ | |/ /
| * | fix commentjan.nijtmans2013-01-153-3/+3
| | |
* | | More flexible search for win32 tclConfig.sh, backported from TEA. jan.nijtmans2013-01-153-10/+4
|\ \ \ | |/ / | | | | | | | | | Don't use deprecated "case" any more. Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.6.x to be loaded in any Tcl 8.6 alpha/beta release.
| * | Don't use deprecated "case" any more.jan.nijtmans2013-01-153-10/+4
| |\ \ | | |/ | | | | | | Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case. Disallow Tk 8.5.x to be loaded in any Tcl 8.5 alpha release.
| | * Don't use deprecated "case" any more.jan.nijtmans2013-01-151-7/+1
| | | | | | | | | Don't do unnecessary Tcl_PkgRequire(..., "Tcl", ...), the preceding Tcl_InitStubs() call already does that, both for dynamic loaded as wel as the static case.
* | | Replace various functions calls, for functions which are small wrappers ↵jan.nijtmans2013-01-1420-76/+77
| | | | | | | | | | | | around other functions, to call the wrapped function directly.
* | | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-116-13/+14
|\ \ \ | |/ / | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths.
| * | Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-118-16/+25
| |\ \ | | |/ | | | | | | | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases. Enable tk.h to be used with higher tcl.h versions which might lack _ANSI_ARGS_
| | * Eliminate all usage of deprecated Tcl_EvalObj, Tcl_GlobalEval and ↵jan.nijtmans2013-01-113-8/+8
| | | | | | | | | | | | | | | | | | Tcl_GlobalEvalObj functions. Add [file normalize] to pkgIndex.tcl, in order to prevent '..' in file paths. Remove unused TCLPATCHL, it should be ".0" for all final releases.
| * | Restructure Tk's stub library: No longer use Tcl_SetResult() for setting the ↵jan.nijtmans2013-01-041-60/+51
| |\ \ | | |/ | | | | | | | | | | | | | | | error message, but Tcl_ResetResult/Tcl_AppendResult, as all other stub libraries do. This will allow us to remove Tcl_SetResult() in Tcl 9.0, eventually. More structural improvements, taken over from Tcl 8.6's tclOOStubLib.c/tclTomMathStubLib.c and from Tk 8.6's tclStubLib.c
| | * Restructure Tk's stub library: No longer use Tcl_SetResult() for setting the ↵jan.nijtmans2013-01-041-59/+86
| | | | | | | | | | | | | | | | | | | | | error message, but Tcl_ResetResult/Tcl_AppendResult, as all other stub libraries do. This will allow us to remove Tcl_SetResult() in Tcl 9.0, eventually. More structural improvements, taken over from Tcl 8.6's tclOOStubLib.c/tclTomMathStubLib.c and from Tk 8.6's tclStubLib.c
* | | Tk_InitStubs("8.6",1) would succeed in an "8.60" interp. Fixed.jan.nijtmans2013-01-041-52/+51
| | | | | | | | | No longer use Tcl_SetResult() for setting the error message, but Tcl_ResetResult/Tcl_AppendResult, as all other stub libraries do. This will allow us to remove Tcl_SetResult() in Tcl 9.0, eventually
* | | merge trunkdgp2012-12-043-3/+21
|\ \ \
| * \ \ [Bug 3588824]: bug in image index handling for weird image namesdgp2012-12-043-3/+21
| |\ \ \ | | |/ /
| | * | [Bug 3588824]: bug in image index handling for weird image namesdgp2012-12-043-3/+21
| | |\ \ | | | |/
| | | * [Bug 3588824]: bug in image index handling for weird image namesfvogel2012-11-221-3/+12
| | | |
| | | * More complete purge of things only present for supporting long-dead Mac 9 ↵dgp2012-11-1519-85/+33
| | | | | | | | | | | | | | | | systems.
| | | * Remove all the long dead mac entries in tk*.decls files jan.nijtmans2012-11-157-1823/+117
| | | | | | | | | | | | <p>re-generate all tk*Decls.h files.
| | * | merge 8.5dgp2012-11-071-3/+9
| | |\ \
| | * | | Release branch for Tk 8.5.13.dgp2012-11-051-2/+2
| | | | |
* | | | | merge trunkdgp2012-11-197-11/+15
|\ \ \ \ \ | |/ / / /
| * | | | Simplification: don't declare struct types that are never used.jan.nijtmans2012-11-157-11/+15
| | | | |