| Commit message (Collapse) | Author | Age | Files | Lines |
|\
| |
| |
| | |
code.
|
| | |
|
| |
| |
| | |
routine Write().
|
|\ \
| |/ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
the same field, but it allows twoPtrValue.ptr2 to be used for other purposes.
|
|\ \
| |/
| |
| | |
Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
|
| |
| |
| |
| | |
Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
|
| |\
| | |
| | | |
a few CONST -> const changes
|
| | |
| | |
| | | |
fix compilation with -DNO_CONST
|
| | | |
|
| | | |
|
|\ \ \
| |/ / |
|
| |\ \
| | |/ |
|
| | | |
|
| | | |
|
| | |
| | |
| | | |
rest of Tcl source code. No ABI change. API change *should* be harmless.
|
|\ \ \
| |/ /
| | | |
cause more harm than good. Purged them (except in zlib files).
|
| |\ \
| | |/
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | | |
more harm than good. Purged them.
|
| | |
| | |
| | |
| | | |
manifestations in the future.
|
| | |
| | |
| | |
| | | |
sequences. See [Bug 1908443] for details.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
supplied by Mo DeJong to fix [Bug 1516109]. Backport from Tcl
8.5. Mo's description: Clear the TCL_ENCODING_END flag when end
bytes are written. This fix keep this method from writing escape
bytes for an encoding like iso2022-jp multiple times when the
escape byte overlap with the end of the IO buffer.
* tests/io.test: Add test case for escape byte overlap case.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclEncoding.c (UtfToUnicodeProc, UnicodeToUtfProc):
* tests/encoding.test (encoding-16.1): fix alignment issues in
unicode <> utf conversion procs. [Bug 1122671]
|
| | |
| | |
| | |
| | | |
with call to memcpy(). Thanks to afredd. [Patch 1530262]
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
commentary to a piece of code which relies on BUFFER_PADDING to
create enough space at the beginning of each buffer forthe
insertion of partial multi-byte data at the beginning of a
buffer. To explain why this code is ok, and as precaution if
someone twiddled the BUFFER_PADDING into uselessness.
* generic/tclIO.c (ReadChars): [SF Tcl Bug 1462248]. Added code
temporarily suppress the use of TCL_ENCODING_END set when eof
was reached while the buffer we are converting is not truly the
last buffer in the queue. together with the Utf bug below it was
possible to completely bollox the buffer data structures,
eventually crashing Tcl.
* generic/tclEncoding.c (UtfToUtfProc): Fixed problem where the
function accessed memory beyond the end of the input
buffer. When TCL_ENCODING_END is set and the last bytes of the
buffer start a multi-byte sequence. This bug contributed to [SF
Tcl Bug 1462248].
|
| | |
| | |
| | |
| | | |
is missing one of its sub-encodings [Bug 506653].
|
| | |
| | |
| | |
| | | |
* generic/tclEncoding.c (TclFindEncodings): make static
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclEncoding.c that permits longer lifetimes of the
* generic/tclInt.h Tcl_Encoding values kept as intreps of
Tcl_Obj's. Reduces the need for repeated reading of encoding
definition files from the filesystem. [Bug 1077262]
|
| | |
| | |
| | |
| | | |
condition when TCL_UTF_MAX == 6. [Bug 1004065]
|
| | |
| | |
| | |
| | |
| | |
| | | |
* tests/encoding.test: added support and tests for translating
embedded null characters between real nullbytes and the internal
representation on input/output (Bug #949905).
|
| | |
| | |
| | |
| | |
| | | |
TclFinalizeEncodingSubsystem because its ref count was incremented
in TclInitEncodingSubsystem.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclEncoding.c (TclFindEncodings, Tcl_FindExecutable):
* mac/tclMacInit.c (TclpInitLibraryPath): Correct handling of UTF
* unix/tclUnixInit.c (TclpInitLibraryPath): data that is actually
* win/tclWinFile.c (TclpFindExecutable): "clean", allowing the
* win/tclWinInit.c (TclpInitLibraryPath): loading of Tcl from
paths that contain multi-byte chars on Windows [Bug 920667]
|
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclEncoding.c (TclFindEncodings): revert patch from
2003-11-05. It wasn't valid in the sensitive startup init phase
and broke Windows from working at all.
|
| | |
| | |
| | |
| | |
| | |
| | | |
of the executable before passing to TclpInitLibraryPath() to avoid
buggy handling of paths containing "..". [Bug 832657]
* tests/unixInit.test (unixInit-2.10): New test for fixed bug.
|
| | |
| | |
| | |
| | | |
future.
|
| | |
| | |
| | |
| | | |
sequences. See [Bug 1908443] for details.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclEnv.c, generic/tclLoad.c, generic/tclNamesp.c,
* generic/tclObj.c, generic/tclRegexp.c, generic/tclResolve.c,
* generic/tclResult.c, generic/tclUtil.c, macosx/tclMacOSXFCmd.c:
More purging of strcpy() from locations where we already know the
length of the data being copied.
|
| | |
| | |
| | |
| | |
| | |
| | | |
ASCII.
Needed for [FRQ 491789]: setargv() doesn't support a unicode cmdline
|
| | |
| | |
| | |
| | | |
3009403]: Signature of Tcl_GetHashKey, Tcl_(Create|Find)HashEntry
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
that they set the typePtr field to
NULL so that the Tcl_Obj is not left
in an inconsistent state.
[Bug 2857044]
|
| | |
| | |
| | |
| | | |
manifestations in the future. Add tcltest support for finalization.
|
| | |
| | |
| | |
| | |
| | | |
- some internal const decorations
- spacing
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
as the default and original [encoding system] value. Since
"iso8859-1" is built in to the C source code for Tcl now, there's no
availability issue, and it has the good feature of "identity" that
we must have ("bytes in" == "bytes out") without the bad feature of
"identity" ("broken as designed") that makes us want to abandon it.
[RFE 2008609]
*** POTENTIAL INCOMPATIBILITY for older releases of Tclkit and
any other code expecting a particular value for Tcl's default
system encoding ***
|
| | | |
|
| | |
| | |
| | |
| | | |
broken since 8.4 and no-one complained about it.
|