summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* [f9fe90d0fa]: more path normalization in TclNewFSPathObjbug_f9fe90d0faaspect2017-04-291-0/+9
|
* [f34cf83dd0] An optimization was being taken in a case where it produced the ↵dgp2017-04-281-0/+7
|\ | | | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| * [f34cf83dd0] An optimization was being taken in a case where it produced the ↵dgp2017-04-281-0/+7
| |\ | | | | | | | | | wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| | * [f34cf83dd0] An optimization was being taken in a case where it produceddgp2017-04-281-0/+7
| | | | | | | | | | | | | | | the wrong result, failing to collapse multiple /// into /. Testing on Windows where path expectations may vary would be a good idea, but since this is just an optimization avoidance, I suspect we're ok.
| | * [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-6/+2
| | |
* | | silence uninit variable warningsdgp2017-04-281-1/+1
|\ \ \ | |/ /
| * | silence uninit variable warningsdgp2017-04-281-1/+1
| | |
* | | [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-4/+2
|\ \ \ | |/ /
| * | [04e26c02c0] Remove useless condition that raises warnings.dgp2017-04-271-4/+2
| | |
* | | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-274-38/+70
|\ \ \ | |/ / | | | | | | zlib channel transform.
| * | [50750c735a] Fix for uninit memory handling issue in zlib transforms.bug_50750c735adkf2017-04-251-18/+16
| | |
| * | A better way of getting source file location information when disassembling.dkf2017-04-223-20/+54
| | |
* | | Remove unused functions like TclWinSetSockOpt()/Tcl_DStringTrunc() if ↵jan.nijtmans2017-04-203-7/+14
| | | | | | | | | | | | compiled with -DTCL_NO_DEPRECATED
* | | merge core-8-6-branchjan.nijtmans2017-04-141-1/+1
|\ \ \ | |/ /
| * | Don't use "0%o" format in test-cases, as it suggest's it's the normal way to ↵jan.nijtmans2017-04-141-1/+1
| | | | | | | | | | | | | | | format octal numbers: it isn't. Better use "%#o". Add tests for "format" and "scan" corner-cases which weren't documented (except in TIP's) neither had tests before.
* | | If %llu is considered invalid, it means that "%" TCL_LL_MODIFIER "u" cannot ↵jan.nijtmans2017-04-122-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | be used Tcl_ObjPrintf(), but only in sprintf(). That's unfortunate, clearly an oversight in TIP #237. Conclusion: new TIP must be written to correct this. I'll read a TIP and see what case you have, but TCL_LL_MODIFIER was never meant to play any role in [format] or in Tcl_ObjPrintf(). TCL_LL_MODIFIER exists to help deal with platform differences in sprintf() calls. Tcl_ObjPrintf() in contrast ought to be consistent in its behavior across platforms and should not need such things. If that's false, then fixes to Tcl_ObjPrintf() are in order.
* | | Revert recent commit. TIP 237 is clear that %llu is invalid.dgp2017-04-122-22/+13
|\ \ \ | |/ /
| * | Revert recent commit [80252e0aed]. TIP 237 is clear that %llu is invalid.dgp2017-04-122-22/+13
| | |
* | | merge core-8-6-branchjan.nijtmans2017-04-121-1/+31
|\ \ \ | |/ /
| * | merge fix-42202ba1e5ff566esebres2017-04-121-1/+31
| |\ \
| | * | bug fix for [42202ba1e5ff566e0f9abb9f890e460fbc6c1c5c]: segfault by coro injectfix_42202ba1e5ff566esebres2017-04-041-1/+31
| | | | | | | | | | | | | | | | rewritten callback for ::tcl::unsupported::inject, without leave the interpreter in unusable state (inaccurate environment exchange by adding eval callback), test covered now.
* | | | Remove some unnecessary "struct" definitions and some type casts no longer ↵jan.nijtmans2017-04-1114-24/+23
| | | | | | | | | | | | | | | | necessary. No functional changes.
* | | | More minor style fixes.dkf2017-04-104-375/+474
| | | |
* | | | Merge Harald's "robust-async-connect-tests" branch. Thanks!jan.nijtmans2017-04-101-0/+85
|\ \ \ \
| * \ \ \ merge trunkrobust_async_connect_testsjan.nijtmans2014-07-3112-158/+635
| |\ \ \ \
| * \ \ \ \ merge trunkjan.nijtmans2014-07-1819-1417/+1610
| |\ \ \ \ \
| * | | | | | Replaced option "-unsupported1" by test command "testsocket debugflags" ↵oehhar2014-07-171-0/+85
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (thanks Donal, Donald).
* | | | | | | Minor style issues through the socket implementation code.dkf2017-04-092-22/+45
| | | | | | |
* | | | | | | Minor simplification in tcl.h: For the ↵jan.nijtmans2017-04-071-8/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Tcl_WideAsLong/Tcl_LongAsWide/Tcl_WideAsDouble/Tcl_DoubleAsWide #defines, one set suffices: No need to have two versions depending on TCL_WIDE_INT_IS_LONG.
* | | | | | | Some more (internal) stub entries which can be cleaned up with ↵jan.nijtmans2017-04-061-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | -DTCL_NO_DEPRECATED, because they are not used any more.
* | | | | | | If compiled with TCL_NO_DEPRECATED, the functions ↵jan.nijtmans2017-04-062-11/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | TclpGetDate/TclpLocaltime/TclpGmtime can be removed: They are internal and not used for anything any more.
* | | | | | | Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu ↵jan.nijtmans2017-04-052-13/+22
|\ \ \ \ \ \ \ | | |_|_|/ / / | |/| | | | | | | | | | | | doesn't work. Also added new test-cases showing the expected behavior.
| * | | | | | Fix [4b12ccb3363e81b132e8dbe12aeec596102be1a8|4b12ccb336]: format/scan %llu ↵jan.nijtmans2017-04-052-13/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | doesn't work. Also added new test-cases showing the expected behavior.
* | | | | | | Merge core-8-6-branch.jan.nijtmans2017-04-031-6/+27
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | Add test-cases showing that the (undocumented) %p format (and also %zd/%td) are harmless, since they are equivalent to other already existing formats.
| * | | | | | Code optimization/reduction: If TCL_WIDE_INT_IS_LONG is defined, the ↵jan.nijtmans2017-04-031-5/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | variable useWide is always 0, so related code can be eliminated without loss of functionality.
* | | | | | | Since Tcl_AppendPrintfToObj() now understands the %p format, we can use it. ↵jan.nijtmans2017-03-312-18/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Eliminating some internal string buffers.
* | | | | | | Extend Tcl_DumpActiveMemory() and related functions for handling 64-bit ↵jan.nijtmans2017-03-311-24/+27
|\ \ \ \ \ \ \ | |/ / / / / / | | | | | | | | | | | | | | | | | | | | | memory. Only effective with TCL_MEM_DEBUG. Merge-mark core-8-6-branch (this doesn't bring in any changes)
| * | | | | | [900cb0284bc] Ensure that masking pseudo-methods used for export management ↵dkf2017-03-291-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | are not introspectable directly. [cherrypick]
* | | | | | | [900cb0284bc] Ensure that masking pseudo-methods used for export management ↵dkf2017-03-291-0/+1
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | are not introspectable directly.
| * | | | | | | Tweak to make tests a little clearer.bug_900cb0284bcdkf2017-03-291-1/+1
| | | | | | | |
| * | | | | | | Correct this use of isWanted to ensure NO_IMPLEMENTATION methods are not ↵aspect2017-03-271-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | listed (bug [900cb0284bc])
* | | | | | | | In comments and documentation, distinguish between __int64 (a Microsoft ↵jan.nijtmans2017-03-292-3/+3
|\ \ \ \ \ \ \ \ | | |/ / / / / / | |/| | | | | | | | | | | | | | 64-bit integer type) and int64_t (C99 equivalent)
| * | | | | | | In comments and documentation, distinguish between __int64 (a Microsoft ↵jan.nijtmans2017-03-292-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64-bit integer type) and int64_t (C99 equivalent)
* | | | | | | | Improve comment on TCL_WIDE_INT_IS_LONG, making it less misleading. jan.nijtmans2017-03-272-3/+3
|\ \ \ \ \ \ \ \ | |/ / / / / / / | | / / / / / / | |/ / / / / / |/| | | | | | In tclThreadTest.c, allow mainThreadId to be >32 bits.
| * | | | | | Improve comment on TCL_WIDE_INT_IS_LONG, making it less misleading. jan.nijtmans2017-03-272-3/+3
| | |_|_|/ / | |/| | | | | | | | | | In tclThreadTest.c, allow mainThreadId to be >32 bits.
* | | | | | Supply more C99-compatible (and MSVC) format options: '%p' for pointers, ↵jan.nijtmans2017-03-243-12/+37
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'z'/'j'/'I' for size_t/intptr_diff, 'j'/'q' for long long. Also add "I32" froom MSVC. Remove TCL_LL_MODIFIER specified as "L" for Borland: This must be wrong as "L" is meant for long double. Just assume that later Borland compilers are MSVC-compatible.
* | | | | | Add TCL_NORETURN attribute to TclpThreadExit() and Tcl_ExitThread()jan.nijtmans2017-03-243-4/+4
| | | | | |
* | | | | | Use portable %p modifier in "generic/tclThreadTest.c", in stead of more ↵jan.nijtmans2017-03-231-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | complicated TCL_LL_MODIFIER.
* | | | | | Addendum to previous commit: If compiled with TCL_NO_DEPRECATED, remove a ↵jan.nijtmans2017-03-213-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | few more stub entries which are not used any more.
* | | | | | If compiled with TCL_NO_DEPRECATED, remove some more stub entries which are ↵jan.nijtmans2017-03-2010-35/+83
| | | | | | | | | | | | | | | | | | | | | | | | not used any more.