summaryrefslogtreecommitdiffstats
path: root/generic
Commit message (Collapse)AuthorAgeFilesLines
* merge sebres-8-6-clock-speedupsebres_trunk_clock_speedupsebres2017-05-292-9/+11
|\
| * small amend with forgetten static keyword by optionsebres_8_6_clock_speedupsebres2017-05-161-1/+1
| |
| * optimized special case "-now" of base (by scan or add) or clock value (by ↵sebres2017-05-161-4/+9
| | | | | | | | format): bypass integer recognition if it looks like option "-now"
| * resolved warnings compiled with gcc, removed unused "MsgCtLitIdxs" (was ↵sebres2017-05-161-4/+1
| | | | | | | | moved to tclClock.c)
* | merge sebres-8-6-clock-speedupsebres2017-05-151-5/+7
|\ \ | |/
| * Fixed stardate format: be sure positive after decimal point (note: ↵sebres2017-05-121-5/+7
| | | | | | | | clock-value can be negative - modulo operation in C has the same sign as dividend)
* | merge sebres-8-6-clock-speedupsebres2017-05-111-5/+5
|\ \ | |/
| * fixes lost indentation during back-portingsebres2017-05-111-18/+18
| |
| |
| \
*-. \ reintegrate sebres-8-6-clock-speedup back to sebres-clock-speedup (trunk ↵sebres2017-05-1148-818/+1738
|\ \ \ | | |/ | |/| | | | clock-speedup, 3-way merge)
| | * merge trunk (to sebres-trunk-timerate)sebres2017-05-1144-744/+1640
| | |\
| | | * merge core-8-6-branchjan.nijtmans2017-05-092-41/+41
| | | |\
| | | * \ [6015221f59] Segfault after overflow of [binary] field specifier numeric count.dgp2017-05-051-1/+9
| | | |\ \
| | | * | | Revert the colorful debug garbage mistakenly committed.dgp2017-05-011-8/+2
| | | | | |
| | | * | | [f9fe90d0fa] [file join] normalization. See filesystem-1.52*dgp2017-05-011-3/+19
| | | |\ \ \
| | | * \ \ \ [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.
| | | * \ \ \ \ silence uninit variable warningsdgp2017-04-281-1/+1
| | | |\ \ \ \ \
| | | * \ \ \ \ \ [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.
| | | * | | | | | | | 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
| | | |\ \ \ \ \ \ \ \
| | | * | | | | | | | | 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
| | | |\ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ merge core-8-6-branchjan.nijtmans2017-04-121-1/+31
| | | |\ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | 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.
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ 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.
| | | * | | | | | | | | | | | | | | | 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.
| | | | * | | | | | | | | | | | | | | | | 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)
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 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.
| | | * | | | | | | | | | | | | | | | | | | If Tcl is compiled with -DTCL_NO_DEPRECATED, make sure that ↵jan.nijtmans2017-03-174-1/+40
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iPtr->(resultSpace|appendResult|appendAvl|appendUsed) are not used any more.
| | | * | | | | | | | | | | | | | | | | | | redundant end-of-line spacingjan.nijtmans2017-03-153-10/+10
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Compile [clock clicks], [clock microseconds], [clock milliseconds] and ↵Kevin B Kenny2017-03-157-13/+174
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [clock seconds].