summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* [a16752c252] Correct failure to call cmd deletion callbacks.dgp2013-08-142-26/+8
|
* Make sure that "string is space \u202f" will continue to return "1", even if ↵jan.nijtmans2013-07-291-1/+1
| | | | in future Unicode this character (NARROW_NO_BREAK_SPACE) will cease to be a space. See: [http://www.unicode.org/review/pri249/]
* [6585b21ca8] [regexp {(\w).*?\1} abb] failed to match.dgp2013-07-261-6/+1
| | | Thanks to Tom Lane for passing on the discovery in Postgres.
* Demonstrate and fix memory leak in Tcl_ParseVar().dgp2013-07-241-0/+1
|
* Unbreak MSVC6 debug build (thanks Andreas Kupries!)jan.nijtmans2013-07-081-1/+1
|
* Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings.jan.nijtmans2013-06-272-47/+59
|\
| * Allocate encoding name, so caller of Tcl_RegisterConfig() doesn't need to ↵ticket_9b2e636361jan.nijtmans2013-06-261-4/+12
| | | | | | | | | | keep it forever. Fix some comments.
| * Proposed solution for [9b2e636361]jan.nijtmans2013-06-262-27/+22
| |
* | formatting, typojan.nijtmans2013-06-261-13/+13
|/
* Don't use deprecated Tcl_DStringTrunc any more.jan.nijtmans2013-06-251-1/+1
|
* TclCompileScript() should not overwrite envPtr->numSrcBytes.dgp2013-06-201-1/+0
| | | The envPtr already has the right value stored in it.
* Fix [3611974]: InitSubsystems multiple thread issuejan.nijtmans2013-06-181-9/+4
|
* Use more portable TclIsSpaceProc() in stead of isspace(). jan.nijtmans2013-06-173-6/+7
| | | Make sure that "string is space \u180e" continues to return 1 for whatever unicode version.
* Fix [a876646efe]: re_expr character class [:cntrl:] should contain \u0000 - ↵jan.nijtmans2013-06-171-2/+3
| | | | \u001f
* Fix some gcc warnings which become visible with -Wextrajan.nijtmans2013-06-132-28/+28
|
* Improve compatibility detection for <time.h> and <sys/stat.h>: jan.nijtmans2013-06-111-3/+4
| | | | - Move <time.h> before other includes on Windows, so we are sure the time_t definition being checked doesn't come from <sys/types.h>. - Padding at the end of Tcl_StatBuf doesn't influcence binary compatibility, so relax panic check accordingly.
* fix for perf bug detected by Kieran ↵mig2013-06-031-5/+6
| | | | (https://groups.google.com/forum/?fromgroups#!topic/comp.lang.tcl/vfpI3bc-DkQ)
* Fix C99 comment-ism breaking the native AIX compiler. HPUX likely as well.andreask2013-05-291-2/+2
|
* silence compiler warningdgp2013-05-221-1/+2
|
* Fixed the weird edge case.bug_3613609dkf2013-05-221-12/+25
|
* Slight improvement: if cs = "\xC0\x80" and ct = "\x00", loop would continue ↵jan.nijtmans2013-05-211-4/+4
| | | | after NUL-byte, this should not happen.
* Proposed solution for 3613609: lsort -nocase does not sort non-ASCII correctlyjan.nijtmans2013-05-214-6/+34
|
* Don't #define VOID on VxWorks, as it is already typdef'd to void. Eliminate ↵jan.nijtmans2013-05-193-11/+13
|\ | | | | | | possibly conflicting LOCAL/OFFSET
| * Don't #define VOID on VxWorks, as it is already typdef'd to voidjan.nijtmans2013-05-192-7/+9
| | | | | | Eliminate possibly conflicting LOCAL #define
| * <sys/stat.h> inclusion is only needed when compiling for Win32, don't bother ↵jan.nijtmans2013-05-171-1/+1
| | | | | | | | for other platforms.
| * - eliminate compiler warning when compiling with Visual Studio.jan.nijtmans2013-05-171-0/+1
| | | | | | - Make sure that _ftime() from msvcrt.dll is used, not ftime() from mingw (which might use 64-bit time_t)
* | _USE_32BIT_TIME_T is already defined in tclWinPort.hjan.nijtmans2013-05-161-4/+0
| |
* | Add support for the latest mingw-4.0-rc1. See: ↵jan.nijtmans2013-05-161-0/+15
|\ \ | |/ | | | | [http://sourceforge.net/p/mingw/mingw-org-wsl/ci/4.0-rc1/tree/NEWS]
| * Add support for the latest mingw-4.0-rc1. See: ↵jan.nijtmans2013-05-161-0/+15
| | | | | | | | [http://sourceforge.net/p/mingw/mingw-org-wsl/ci/4.0-rc1/tree/NEWS]
* | Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-062-0/+133
|\ \ | |/ | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.
| * Add support for Cygwin64, which has a 64-bit "long" type. jan.nijtmans2013-05-062-0/+133
| | | | | | | | Binary compatibility with win64 requires that all stub entries use 32-bit long's, therefore the need for various wrapper functions/macros. For Tcl 9 a better solution is needed, but that cannot be done without introducing binary incompatibility.
* | Backport 8.6's fix [checkin 5af0d249de] to [Bug 2901998]: Inconsistent ↵ferrieux2013-05-011-8/+92
| | | | | | | | buffered I/O. Tcl's I/O now flushes buffered output before reading, discards buffered input before writing, etc.
* | Implement Tcl_NewBooleanObj, Tcl_DbNewBooleanObj and Tcl_SetBooleanObj as ↵jan.nijtmans2013-04-232-5/+16
| | | | | | | | | | macros using Tcl_NewIntObj, Tcl_DbNewLongObj and Tcl_SetIntObj. Starting with Tcl 8.5, this is exactly the same, it only eliminates code duplication.
* | Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as ↵jan.nijtmans2013-04-194-0/+33
|\ \ | |/ | | | | (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct
| * Implement many Tcl_*Var* functions and Tcl_GetIndexFromObj as ↵jan.nijtmans2013-04-193-0/+33
| | | | | | | | (faster/stack-saving) macros around resp their Tcl_*Var*2 equivalent and Tcl_GetIndexFromObjStruct
* | 3610404 When we let go of commandPtr in TclEvalObjvInternal, NULL out thedgp2013-04-161-0/+1
| | | | | | variable so we don't mistakenly try to use the value later after we freed it.
* | Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵jan.nijtmans2013-04-122-2/+15
|\ \ | |/ | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
| * Implement Tcl_Pkg* functions as macro's around Tcl_Pkg*Ex. This saves stack ↵jan.nijtmans2013-04-122-4/+17
| | | | | | | | space, is (marginally) faster, while still being fully up/down compatible. It makes pkgb.so loadable in "novem" without the need to change the Tcl_PkgProvide() call to Tcl_PkgProvideEx().
| * Make (deprecated) Tcl_EvalObj/Tcl_GlobalEvalObj macro's always, not only ↵jan.nijtmans2013-04-092-8/+8
| | | | | | | | when using stubs.
* | 3610026 Stop crash when the number of "colors" in a regular expressiondgp2013-04-084-0/+10
|\ \ | |/ | | | | overflows a short int. Thanks to Heikki Linnakangas for the report and the patch.
| * 3610026 Stop segfault when regexp overflows color limits.dgp2013-04-084-7/+17
| |
* | Make Tcl_EvalObj/Tcl_GlobalEvalObj a macro always, not only when using stubs.jan.nijtmans2013-04-042-8/+8
| |
* | Merge 8.5. Tag RC1.dgp2013-03-281-8/+0
|\ \
| * | Undo [6a9ee3273c]. Last commit in Tk's core-8-5-branch makes this change no ↵jan.nijtmans2013-03-283-24/+4
| | | | | | | | | | | | longer necessary.
| * | Add dummy (undocumented) TclCanceled function in stub table (not exported as ↵jan.nijtmans2013-03-273-4/+24
| | | | | | | | | | | | symbol or macro), which always returns TCL_OK. Needed for Tk 8.5.14 when running in Tcl 8.6 for properly clean-up when a (Tcl 8.6) thread is canceled.
| * | remove unneccessary duplicationjan.nijtmans2013-03-271-8/+0
| | |
* | | Release branch for Tcl 8.5.14.dgp2013-03-211-2/+2
|/ /
* | 3597000 Consistent [file copy] result.dgp2013-03-191-10/+7
|\ \ | |/
| * 3597000 Consistent [file copy] result.dgp2013-03-191-8/+7
| |
* | Greater protection against double TclFreeObj() calls in TCL_MEM_DEBUG mode.dgp2013-03-111-0/+12
| |