| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Also add test-cases for those situations.
Various typo's in comments.
|
|\
| |
| |
| | |
of Tcl_UniCharToUtf()
|
|\ \
| |/
| |
| | |
TCL_UTF_MAX>4.
|
| |
| |
| |
| |
| | |
== 4. Also update documentation to distinguish better between "Tcl_UniChar" and "Unicode character": Those are not necessary the same when TCL_UTF_MAX == 4.
No change when TCL_UTF_MAX == 4 or TCL_UTF_MAX == 6.
|
| |
| |
| |
| | |
[https://en.wikipedia.org/wiki/UTF-8]. To be added to TIP #389
|
| |
| |
| |
| | |
TCL_UTF_MAX == 4
|
|/
|
|
| |
if characters > U+FFFF is considered to be 2, not 1.
|
|
|
|
| |
documentation updates)
|
|\ |
|
| | |
|
|\ \
| |/
| |
| | |
and possibly others.
|
| |
| |
| |
| | |
and possibly others.
|
|\ \
| |/
| | |
cause more harm than good. Purged them (except in zlib files).
|
| |\
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/CrtTrace.3: by using "null" everywhere to refer to
* doc/Encoding.3: the character '\0', and using "NULL"
* doc/Eval.3: everywhere to refer to the value of a
* doc/GetIndex.3: pointer that points to nowhere.
* doc/Hash.3: Also dropped references to ASCII that
* doc/LinkVar.3: are no longer true, and standardized on
* doc/Macintosh.3: the hyphenated spelling of "null-terminated".
* doc/OpenFileChnl.3:
* doc/SetVar.3:
* doc/StringObj.3:
* doc/Utf.3:
|
|/ /
| |
| |
| | |
typedefs, add a few missing bits)
|
| | |
|
| |
| |
| |
| | |
generation works
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
* doc/Environment.3: public C API to avoid conflict/confusion with
* doc/Eval.3: the std::string of C++.
* doc/ExprLong.3, doc/ExprLongObj.3, doc/GetInt.3, doc/GetOpnFl.3:
* doc/ParseCmd.3, doc/RegExp.3, doc/SetResult.3, doc/StrMatch.3:
* doc/Utf.3, generic/tcl.decls, generic/tclBasic.c, generic/tclEnv.c:
* generic/tclGet.c, generic/tclParse.c, generic/tclParseExpr.c:
* generic/tclRegexp.c, generic/tclResult.c, generic/tclUtf.c:
* generic/tclUtil.c, unix/tclUnixChan.c:
* generic/tclDecls.h: `make genstubs`
|
| | |
|
| | |
|
| | |
|
| | |
|
| |
| |
| |
| | |
of symbols like TCL_OK, TCL_ERROR, etc.
|
| | |
|
| | |
|
|/
|
|
|
|
|
|
|
|
|
|
|
|
| |
* doc/CrtTrace.3: by using "null" everywhere to refer to
* doc/Encoding.3: the character '\0', and using "NULL"
* doc/Eval.3: everywhere to refer to the value of a
* doc/GetIndex.3: pointer that points to nowhere.
* doc/Hash.3: Also dropped references to ASCII that
* doc/LinkVar.3: are no longer true, and standardized on
* doc/Macintosh.3: the hyphenated spelling of "null-terminated".
* doc/OpenFileChnl.3:
* doc/SetVar.3:
* doc/StringObj.3:
* doc/Utf.3:
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
restored to return (char *): Tcl_DStringAppend,
Tcl_DStringAppendElement, Tcl_JoinPath, Tcl_TranslateFileName,
Tcl_ExternalToUtfDString, Tcl_UtfToExternalDString,
Tcl_UniCharToUtfDString, Tcl_GetCwd, Tcl_WinTCharToUtf. Also
restored Tcl_WinUtfToTChar to return (TCHAR *) and
Tcl_UtfToUniCharDString to return (Tcl_UniChar *). Modified
some callers. This change recognizes that Tcl_DStrings are
de-facto white-box objects.
* generic/tclCmdMZ.c: corrected use of C++-style comment.
|
|
|
|
| |
to the guidelines of TIP 27. Updated callers.
|
|
|
|
| |
during conversion to TMML. Thanks to Joe English. [Patch 490514]
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* unix/mkLinks: Updated to incorporate the changes below.
* doc/StringObj.3: Added 'Tcl_AttemptSetObjLength' to the NAME
section. [Bug #414435].
* doc/Alloc.3: Added both 'Tcl_AttemptAlloc' and
'Tcl_AttemptRealloc' to the NAME section. [Bug #414435].
* doc/Utf.3: Added both 'Tcl_UniCharCaseMatch' and
'Tcl_UniCharNcasecmp' to the NAME section. [Bug #414435].
|
|
|
|
|
|
|
|
|
|
| |
* generic/tclStubInit.c:
* generic/tcl.decls:
* generic/tclDecls.h:
* generic/tclUtf.c: Added new functions Tcl_UniCharNcasecmp and
Tcl_UniCharCaseMatch (unicode parallel to Tcl_StringCaseMatch)
* generic/tclUtil.c: rewrote Tcl_StringCaseMatch algorithm for
optimization and made Tcl_StringMatch just call Tcl_StringCaseMatch
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* generic/tcl.decls:
* generic/tclInt.decls:
* generic/tclDecls.h:
* generic/tclIntDecls.h:
* generic/tclUtf.c:
* compat/strftime.c:
* unix/tclUnixTime.c: Changed function declarations in
non-platform-specific APIs to use "unsigned long" instead of
"size_t", which may not be defined on certain compilers (rather
than include sys/types.h, which may not exist).
|
| |
|
|
|
|
|
|
|
| |
* generic/tclStubInit.c:
* generic/tclDecls.h:
* generic/tclUtf.c:
* generic/tcl.decls: Added Tcl_UtfNcmp and Tcl_UtfNcasecmp.
|
| |
|
|
|