summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
Commit message (Collapse)AuthorAgeFilesLines
* wsbch2023-06-291-4/+2
|
* Refactor allocation strategy in Tcl_DStringAppendapnadkarni2023-05-101-2/+2
|
* Left-over TCL_ENCODING_STRICT, not used any more.jan.nijtmans2023-05-091-2/+0
| | | Add "-profile tcl8" for testcases which don't work in strict profile
* size_t -> Tcl_Size (twice)jan.nijtmans2023-05-091-1/+1
|
* Merge 8.7jan.nijtmans2023-05-031-1/+1
|\
| * Changed CHANNEL_PROFILE_* to ENCODING_PROFILE_* and moved out of tclIO.h. ↵apnadkarni2023-05-031-1/+5
| | | | | | | | | | | | | | | | | | See below. For whatever reason, these macros were renamed and moved to tclIO.h post-660. This is inappropriate as those macros deal with *encoding* flags, not *channel* flags and have relevance outside of I/O making their renaming inappropriate. Further putting them in tclIO.h forces inclusion of that header in modules that do not otherwise need that header.
| * Merge 8.7apnadkarni2023-04-191-27/+54
| |\
| | * Fix missing stddef.h includeapnadkarni2023-04-191-0/+1
| | |
| | * Adapt TIP's #494/#481/#537/#544/#568/#616/#623/#627/#630 to TIP #660 changesjan.nijtmans2023-04-181-3/+3
| | |
| * | Add TCL_SIZE_MAX and TCL_SIZE_MODIFIERapnadkarni2023-04-051-4/+19
| | |
* | | Use Tcl_Size instead of ptrdiff_t in Tcl_ObjCmdProc2(), ↵pooryorick2023-05-031-2/+2
| | | | | | | | | | | | Tcl_CmdObjTraceProc2, and Tcl_MethodCallProc2().
* | | Changed CHANNEL_PROFILE_* to ENCODING_PROFILE_* and moved out of tclIO.h. ↵apnadkarni2023-05-031-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | See below. For whatever reason, these macros were renamed and moved to tclIO.h post-660. This is inappropriate as those macros deal with *encoding* flags, not *channel* flags and have relevance outside of I/O making their renaming inappropriate. Further putting them in tclIO.h forces inclusion of that header in modules that do not otherwise need that header.
* | | Merge trunkapnadkarni2023-04-191-22/+15
|\ \ \
| * \ \ Merge 8.7jan.nijtmans2023-04-181-25/+31
| |\ \ \ | | | |/ | | |/|
| | * | Add TCL_T_MODIFIER (from TIP #660). Some header-file clean-up.jan.nijtmans2023-04-181-28/+69
| | |/
* | | Proposed fix for [0b9200888e]: TIP #660 breaks TIP #628/#630jan.nijtmans2023-04-111-5/+5
| | |
* | | TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntuapnadkarni2023-03-301-8/+21
|/ /
* | Remove the last occurrences of TCL_ENCODING_NOCOMPLAIN.pooryorick2023-03-281-5/+2
| |
* | Merge 8.7jan.nijtmans2023-03-221-7/+0
|\ \ | |/
| * Move (TCL_ENCODING_PROFILE_MASK|GET|SET) from tcl.h to tclIO.h, since those ↵jan.nijtmans2023-03-221-7/+0
| | | | | | | | are not public. Some formatting.
| * Since TCL_ENCODING_PROFILE_DEFAULT == TCL_ENCODING_PROFILE_TCL8 (on Tcl 8), ↵jan.nijtmans2023-03-221-5/+0
| | | | | | | | we can simplify.
| * Merge 8.7jan.nijtmans2023-03-171-2/+2
| |\
| * \ Merge 8.7apnadkarni2023-03-161-0/+7
| |\ \
| * | | Eliminate TCL_ENCODING_MODIFIED flagapnadkarni2023-03-021-6/+7
| | | |
| * | | Partial implementation of replace profileapnadkarni2023-02-111-5/+2
| | | |
| * | | Eliminate TCL_ENCODING_{STRICT,NOCOMPLAIN}apnadkarni2023-02-111-10/+2
| | | |
| * | | Modify encoding C API to use profiles (in progress)apnadkarni2023-02-091-1/+21
| | | |
* | | | More TclNewIndexObj() usages (for values between -1 and SIZE_MAX-1)jan.nijtmans2023-03-201-1/+1
| | | |
* | | | Merge trunkapnadkarni2023-03-181-0/+7
|\ \ \ \
| * \ \ \ Merge 8.7jan.nijtmans2023-03-161-0/+7
| |\ \ \ \ | | | |_|/ | | |/| |
| | * | | If TCL_UTF_MAX=4, don't set 'exact' to 1jan.nijtmans2023-03-161-1/+1
| | | |/ | | |/|
| | * | Prevent extensions compiled with TCL_UTF_MAX=4 (See ↵jan.nijtmans2023-03-161-0/+7
| | |\ \ | | | |/ | | |/| | | | | [https://core.tcl-lang.org/tips/doc/trunk/tip/542.md|TIP #542]) from running in Tcl 8.6.
| | * | Fix compilation with tcc. Thanks, Cyan Ogilvie for the reportjan.nijtmans2022-12-091-2/+7
| | | |
* | | | Merge 9.0. Also fix replace profile handling of orphan surrogatesapnadkarni2023-03-141-2/+0
|\ \ \ \ | |/ / /
* | | | Merge 9.0jan.nijtmans2023-03-071-3/+3
|\ \ \ \ | |/ / /
| * | | Adapt type-casts to Tcl 9.0 signature of Tcl_Free/Tcl_Realloc/Tcl_AttemptReallocjan.nijtmans2023-03-031-3/+3
| | | |
* | | | Cherrypick [13537afd1b] - eliminate TCL_ENCODING_MODIFIEDapnadkarni2023-03-021-6/+7
| | | |
* | | | Merge 9.0apnadkarni2023-03-011-7/+7
|\ \ \ \ | |/ / /
| * | | In case of combining TIP #494 (TCL_8_COMPAT) and #628 (building for Tcl 8.7 ↵jan.nijtmans2023-02-281-7/+7
| | | | | | | | | | | | | | | | with 9.0 headers), ignore TCL_8_COMPAT macro. More Tcl_Size usage.
* | | | Compiles and runs. Tests still to be ported.apnadkarni2023-02-251-9/+19
|/ / /
* | | Merge 8.7jan.nijtmans2022-12-051-1/+1
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2022-12-051-1/+1
| |\ \ | | |/
| | * dev_t -> unsigned for Cygwin in tcl.h, so we don't need sys/types.h any ↵jan.nijtmans2022-12-051-3/+2
| | | | | | | | | | | | more. There's no gap in Tcl_StatBuf for 64-bit Cygwin
* | | Merge 8.7jan.nijtmans2022-12-051-1/+0
|\ \ \ | |/ /
| * | There's no gap on Cygwin any morejan.nijtmans2022-12-051-1/+0
| | |
* | | Merge 8.7jan.nijtmans2022-12-051-12/+4
|\ \ \ | |/ /
| * | On Cygwin, dev_t == unsigned, and long long == longjan.nijtmans2022-12-051-12/+4
| | |
* | | Merge 8.7jan.nijtmans2022-11-301-2/+2
|\ \ \ | |/ /
| * | Let Tcl_GetEncodingNulLength() return size_t on 9.0, for consisancy with ↵jan.nijtmans2022-11-301-2/+2
| | | | | | | | | | | | other API's. No change on 8.7
| * | Document some more differences between Tcl 8.7 and 9.0 in tcl.hjan.nijtmans2022-11-251-12/+28
| |\ \ | | |/