summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* Clean up the notifier code to not spread the hooks quite so widelydkf2021-04-034-11/+366
|\
| * Forgot a place to #ifndef outdkf2021-04-011-6/+8
| |
| * Don't define Tcl_CreateFileHandler or Tcl_DeleteFileHandler on Windows.dkf2021-03-311-66/+76
| |
| * merge core-8-branchdkf2021-03-317-181/+279
| |\
| * | Refactoring, ahoydkf2021-03-302-9/+326
| | |
| * | Start of doing a clean up of the notifier code.dkf2021-03-213-2/+28
| | | | | | | | | | | | | | | This originated as trying to stop macOS builds from doing silly warnings during a static build, but I noticed that there were common patterns that belong in generic code instead of being repeated in each of the platform-specific pieces.
* | | Merge 8.6jan.nijtmans2021-04-011-18/+33
|\ \ \ | |_|/ |/| |
| * | Follow-up to [15c7b4f93e]: "Implement TCL_ENCODING_STOPONERROR flag for ↵jan.nijtmans2021-04-011-6/+6
| | | | | | | | | | | | UtfToUtf encoder/decoder". Only do this check when pureNullMode == 0, otherwise we violate EIAS.
| * | remove useless save/restorejan.nijtmans2021-03-301-2/+0
| | |
| * | Merge 8.5jan.nijtmans2021-03-221-1/+1
| |\ \
| | * | Fix incorrect comment: underscore ('_') is allowed in a packageNamejan.nijtmans2021-03-221-1/+1
| | | |
| | * | Backport Tcl_UtfCharComplete() functionality from 8.6 for TCL_UTF_MAX>3. ↵jan.nijtmans2021-03-111-1/+18
| | | | | | | | | | | | | | | | This makes Tcl_UtfCharComplete() usable to protect Tcl_UtfNext() calls for overflow. No change for TCL_UTF_MAX=3 (default build)
| * | | Implement TCL_ENCODING_STOPONERROR flag for UtfToUtf encoder/decoder. ↵jan.nijtmans2021-03-211-7/+25
| | | | | | | | | | | | | | | | Backported from 8.7
* | | | Add 3 undocumented #defines. To be formalized by TIP #595 (currently being ↵jan.nijtmans2021-03-311-0/+5
| | | | | | | | | | | | | | | | voted on)
* | | | RFE 4b4830eb54: reflected channel truncate methodjan.nijtmans2021-03-301-3/+97
|\ \ \ \
| * | | | Proposed implementation of RFE [4b4830eb54]jan.nijtmans2021-03-181-5/+98
| | | | |
* | | | | Thanks to TIP #587, convert many escapes in the testcases into the actual ↵jan.nijtmans2021-03-301-1/+1
| | | | | | | | | | | | | | | | | | | | (UTF-8) character.
* | | | | Change TCL_ENCODING_EXTERNAL flag into TCL_ENCODING_MODIFIED, but with ↵jan.nijtmans2021-03-281-10/+9
| | | | | | | | | | | | | | | | | | | | opposite meaning. Simplify code.
* | | | | Rename MODULESCOPE TclGetLoadedPackagesEx() to TclGetLoadedLibraries()jan.nijtmans2021-03-224-5/+5
| | | | |
* | | | | Rename internal variables, making it more clear that tclLoad.c is not part ↵jan.nijtmans2021-03-221-162/+162
| |_|_|/ |/| | | | | | | | | | | of Tcl's "package" mechanism.
* | | | Fix [0221b993a1]: Tcl command [update idletasks] doesn't skip main loop in ↵jan.nijtmans2021-03-191-1/+1
|\ \ \ \ | | | | | | | | | | | | | | | Tcl_DoOneEvent
| * | | | Suggested fix for [0221b993a1]: Tcl command [update idletasks] doesn't skip ↵jan.nijtmans2021-03-181-1/+1
| | | | | | | | | | | | | | | | | | | | main loop in Tcl_DoOneEvent
* | | | | Fully implement TCL_ENCODING_STOPONERROR flag for Utf2Utf encoder/decoder.jan.nijtmans2021-03-191-3/+8
| | | | |
* | | | | Merge 8.6jan.nijtmans2021-03-1910-154/+152
|\ \ \ \ \ | | |_|/ / | |/| | |
| * | | | Change Tcl_StaticPackage's "pkgName" argument to "prefix" and improve ↵jan.nijtmans2021-03-196-38/+38
| | | | | | | | | | | | | | | | | | | | documentation, describing better what this argument does.
| * | | | Delete some useless code. Was only place where we fed an uncontrolled value ↵dkf2021-03-181-2/+0
| | | | | | | | | | | | | | | | | | | | to %f, and it was actually a conversion we didn't need to do at all.
* | | | | Handle the encoding of filenames in ZIPs correctly. (This is awful. The ↵dkf2021-03-182-39/+215
| |/ / / |/| | | | | | | | | | | awful isn't Tcl's fault. Terrible spec...)
* | | | Merge 8.6jan.nijtmans2021-03-181-2/+1
|\ \ \ \ | |/ / / | | / / | |/ / |/| |
| * | Remove incorrect/useless commentjan.nijtmans2021-03-181-2/+1
| | |
* | | More simplification of UtfToUtfProc(). Get rid of wrapper functions ↵jan.nijtmans2021-03-181-126/+24
| | | | | | | | | | | | UtfIntToUtfExtProc/UtfExtToUtfIntProc. This can be handled by additional flags.
* | | Simplify UtfToUtfProc() and UtfToUtf16Proc(): Using TclUtfToUCS4() ↵jan.nijtmans2021-03-172-59/+32
| | | | | | | | | | | | | | | internally means that we don't have to keep track of internal state any more (Tcl_EncodingState) Also, add (HMODULE) cast (back) in tclZipfs.c
* | | Fix MSVC buildjan.nijtmans2021-03-171-1/+1
| | |
* | | More cleaning up of zipfsdkf2021-03-161-46/+56
| | | | | | | | | Don't put straight binary data in a Tcl string, and other better API uses.
* | | Fix gcc warningsjan.nijtmans2021-03-162-4/+3
| | |
* | | Tweak usage of TCL_NO_DEPRECATEDjan.nijtmans2021-03-152-4/+4
| | |
* | | Implement TIP #575: Switchable Tcl_UtfCharComplete()/Tcl_UtfNext()/Tcl_UtfPrev()jan.nijtmans2021-03-1512-95/+106
|\ \ \
| * \ \ Merge 8.7jan.nijtmans2021-02-186-22/+61
| |\ \ \
| * \ \ \ Merge 8.7jan.nijtmans2021-02-161-6/+41
| |\ \ \ \
| * \ \ \ \ Merge 8.7jan.nijtmans2021-02-162-5/+5
| |\ \ \ \ \
| * \ \ \ \ \ Merge 8.7jan.nijtmans2021-02-1530-232/+416
| |\ \ \ \ \ \
| * \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-12-161-1/+1
| |\ \ \ \ \ \ \
| * \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-12-1399-216/+217
| |\ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-12-0418-188/+86
| |\ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-11-205-9/+20
| |\ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-11-115-91/+114
| |\ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-11-0511-78/+37
| |\ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-10-241-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-10-227-23/+27
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-10-141-6/+7
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge 8.7jan.nijtmans2020-10-1481-2175/+2439
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \