| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
FossilOrigin-Name: dbebe038215e1a26e0d55b7c08d0d20ce820b6af
|
|\
| |
| |
| |
| | |
cause more harm than good. Purged them (except in zlib files).
FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
|
| |\
| | |
| | |
| | |
| | | |
more harm than good. Purged them.
FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
|
| | |
| | |
| | |
| | |
| | | |
more harm than good. Purged them.
FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.h: to get the correct type signature
* unix/tclUnixPort.h: for TclpLocaltime and TclpGmtime.
* unix/tclUnixTime.c: CONST TclpTime_t is a 'time_t *CONST'
* win/tclWinTime.c: and not a 'CONST time_t*'!
* generic/tclIntDecls.h: [Bug 1677275]
* generic/tclIntPlatDecls.h: Regenerated.
FossilOrigin-Name: c109ead7b6580bc2ed9f05a731312bd0eaa13272
|
| | |
| | |
| | | |
FossilOrigin-Name: d41af48065dcbcbd65ee57cb1b1a013bfa8abad8
|
| | |
| | |
| | | |
FossilOrigin-Name: d3a95fedcf2ad46a35b1d719f1c4e6ffa1179c42
|
| | |
| | |
| | | |
FossilOrigin-Name: 5f1abfca594625d0697a69076a4d2be32855dd15
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclIntDecls.h: The Win/DOS EOLs from the
* generic/tclIntPlatDecls.h: last regen screwed up compilation
* generic/tclPlatDecls.h: with an older gcc.
* generic/tclStubInit.c:
FossilOrigin-Name: be14957e2ee1f852e0a258ae7df3725d23687241
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
build works again.
* generic/tclInt.decls: Changes to the tests for
* generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime
* generic/tclStubInit.c: so that any clock frequency
* tests/platform.test (platform-1.3): is accepted provided that
* win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share
* win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence,
* win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This
change necessitated a small burst of assembly code to read CPU ID
information, which was added as TclWinCPUID in the internal Stubs. To
test this code in the common case of a single-processor machine, a
'testwincpuid' command was added to tclWinTest.c, and a test case in
platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for
reporting this bug. [Bug #976722]
FossilOrigin-Name: a45bf99c8eb11742f802731d5583009c4b6f5e28
|
| | |
| | |
| | | |
FossilOrigin-Name: cf62c7e8ba19e91d408c0655da27ba97c2540735
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclIntPlatDecls.h: places where it appeared before the
* unix/tclUnixPort.h changes of 14 May, because use of
* unix/tclUnixTime.h native time_t in its place requires
* win/tclWinTime.h: the 8.5 header reforms. [Bug #955146]
FossilOrigin-Name: 23544a04acf874fd6bb7713a65d633fb0d84d351
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.decls: Promoted TclpLocaltime and TclpGmtime
* generic/tclIntDecls.h: from Unix-specific stubs to the generic
* generic/tclIntPlatDecls.h: internal Stubs table. Reran 'genstubs'
* generic/tclStubInit.c:
* unix/tclUnixPort.h:
* generic/tclClock.c: Changed a buggy 'GMT' timezone specification
to the correct 'GMT0'. [Bug #922848]
* unix/tclUnixThrd.c: Moved TclpGmtime and TclpLocaltime to
unix/tclUnixTime.c where they belong.
* unix/tclUnixTime.c (TclpGmtime, TclpLocaltime, TclpGetTimeZone,
ThreadSafeGMTime [removed],
ThreadSafeLocalTime [removed],
SetTZIfNecessary, CleanupMemory):
Restructured to make sure that the same mutex protects
all calls to localtime, gmtime, and tzset. Added a check
in front of those calls to make sure that the TZ env var
hasn't changed since the last call to tzset, and repeat
tzset if necessary. [Bug #942078] Removed a buggy test
of the Daylight Saving Time information in 'gettimeofday'
in favor of applying 'localtime' to a known value.
[Bug #922848]
* tests/clock.test (clock-3.14): Added test to make sure that
changes to $env(TZ) take effect immediately.
* win/tclWinTime.c (TclpLocaltime, TclpGmtime):
Added porting layer for 'localtime' and 'gmtime' calls.
FossilOrigin-Name: 27f78ca91bc1b33c909fb1eac370a3d41c65fa59
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
const/void when appropriate. This allows to
use const/void in the *.decls file always,
genStubs will do the right thing.
FossilOrigin-Name: 5c3a90bdc46511e7b24019ce5a8a8e39e30bdfc1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
const/void when appropriate. This allows to
use const/void in the *.decls file always,
genStubs will do the right thing.
FossilOrigin-Name: 1b43842ad6d704ba329a6651740638c9b05a2e4e
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.h: the Tcl Head, with help from Jeff Hobbs.
* generic/tclStrToD.c:
* generic/tclTest.c:
* generic/tclTomMath.decls:
* generic/tclUtil.c:
* tests/util.test:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits
that (a) fixes a severe performance problem with floating point
shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits
to generate the digit strings for 'e' and 'f' format, so that it
can be used for tcl_precision != 0 (and possibly later for [format]),
(c) fixes [Bug 3120139] by making TclPrintDouble inherently
locale-independent, (d) adds test cases to util.test for
correct rounding in difficult cases of TclDoubleDigits where fixed-
precision results are requested. (e) adds test cases to util.test for
the controversial aspects of [Bug 3105247]. As a side effect, two
more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c)
are brought into the build, since the new code uses them.
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
* generic/tclTomMathDecls.h: Regenerated.
FossilOrigin-Name: 769801ace1040dc40a1bcbc3f02ea15b8258c8fb
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclStubInit.c: TclFormatInt restored at slot 24
* generic/tclUtil.c (TclFormatInt): restore TclFormatInt func from
2005-07-05 macro-ization. Benchmarks indicate it is faster, as a
key int->string routine (e.g. int-indexed arrays).
FossilOrigin-Name: 2a8fac784cc952d6ac0239827d081439773ac995
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
return data to interp by default, or if given an arg, use that as
filename to output to (accepts 'stdout' and 'stderr').
Fix output to print used inst count data.
* generic/tclCkalloc.c: change TclDumpMemoryInfo sig to allow
* generic/tclInt.decls: objPtr as well as FILE* as output.
* generic/tclIntDecls.h:
FossilOrigin-Name: 5726fcf08b7b19223432236d837eee7c6cc952ac
|
| | |
| | |
| | | |
FossilOrigin-Name: 70f70c32ff54de49864e4747a7c3a8f33c467362
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
changes from HEAD, so diffing
between 8.5.x and 8.6 shows the
real structural differences again.
(any signature change not backported!)
FossilOrigin-Name: abe54e99af3c4b88b5abeeef8c9f5da2531ec826
|
| | |
| | |
| | | |
FossilOrigin-Name: 3a43f003a8f4e595938bf2fe553aa3cd66ea9616
|
| | |
| | |
| | | |
FossilOrigin-Name: 40089e043b001a989b0496c8e787e66264141512
|
| | |
| | |
| | |
| | |
| | | |
TclWin(Get|Set)SockOpt to SOCKET, because on Win64 those are 64-bit, which does not fit.
FossilOrigin-Name: 5d5c5e198a0641ec2e5d6daa98947ff0efe13877
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclStubInit.c: TclFormatInt restored at slot 24
* generic/tclUtil.c (TclFormatInt): restore TclFormatInt func from
2005-07-05 macro-ization. Benchmarks indicate it is faster, as a
key int->string routine (e.g. int-indexed arrays).
FossilOrigin-Name: f43e9a82a781a3946432e7842f2bd129de7b5790
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclInt.decls:
* generic/tclInt.h:
* generic/tclStrToD.c:
* generic/tclTest.c:
* generic/tclTomMath.decls:
* generic/tclUtil.c:
* tests/util.test:
* unix/Makefile.in:
* win/Makefile.in:
* win/makefile.vc: Rewrite of Tcl_PrintDouble and TclDoubleDigits
that (a) fixes a severe performance problem with floating point
shimmering reported by Karl Lehenbauer, (b) allows TclDoubleDigits
to generate the digit strings for 'e' and 'f' format, so that it
can be used for tcl_precision != 0 (and possibly later for [format]),
(c) fixes [Bug 3120139] by making TclPrintDouble inherently
locale-independent, (d) adds test cases to util.test for
correct rounding in difficult cases of TclDoubleDigits where fixed-
precision results are requested. (e) adds test cases to util.test for
the controversial aspects of [Bug 3105247]. As a side effect, two
more modules from libtommath (bn_mp_set_int.c and bn_mp_init_set_int.c)
are brought into the build, since the new code uses them.
FossilOrigin-Name: 5986a2c42150954ab16a9a9ca388db3c6fd2f99f
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
return data to interp by default, or if given an arg, use that as
filename to output to (accepts 'stdout' and 'stderr').
Fix output to print used inst count data.
* generic/tclCkalloc.c: change TclDumpMemoryInfo sig to allow
* generic/tclInt.decls: objPtr as well as FILE* as output.
* generic/tclIntDecls.h:
FossilOrigin-Name: 4a9ba4606457fef4b186e6e3de296d5b39a6c2b4
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCmdIL.c: update): a saner NRE.
* generic/tclCompExpr.c:
* generic/tclCompile.c: This makes TclNRExecuteByteCode
* generic/tclCompile.h: (ex TEBC) to be a normal NRE
* generic/tclExecute.c: citizen: it loses its special status.
* generic/tclInt.decls: The logic flow within the BC engine is
* generic/tclInt.h: simplified considerably.
* generic/tclIntDecls.h:
* generic/tclObj.c:
* generic/tclProc.c:
* generic/tclTest.c:
FossilOrigin-Name: 56c0f34285323c689b17fa61b812db8da24cdf56
|
| | |
| | |
| | |
| | |
| | |
| | | |
Use void (*reserved$i)(void) = 0 instead of void *reserved$i = NULL for unused stub entries, in case pointer-to-function and pointer-to-object are different sizes.
FossilOrigin-Name: f2adcb56845991be7a0f3f9125e2dd67311a6959
|
| | |
| | |
| | |
| | |
| | | |
remove unneeded ifdeffery and put C++ guard around stubs pointer definition.
FossilOrigin-Name: 6f6d53c30a1cbbdedcc7618d4bec0ec592b0e3a5
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
on what to do with the obsolete internal stub for
TclBackgroundException() (eliminate it!)
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
FossilOrigin-Name: ab93077c3d982878fc60d8d123b23a8d7ff0ac60
|
| | |
| | |
| | | |
FossilOrigin-Name: 093bc6f84aca5cb9d758a1ef06aed69b1168b022
|
| | |
| | |
| | | |
FossilOrigin-Name: bba3e3d384c7fb00db487997d5c0009dfe21f4e0
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
prevent space within stub table function parameters
if the parameter type is a pointer.
Minor formatting, and VOID -> void.
Change signature of TclNRInterpProcCore,
and TclOONewProc(Instance|)MethodEx,
indicating that errorProc is a function pointer
tclVar.c: fixed two gcc warnings
FossilOrigin-Name: 98e1b94811e5566833ed547424b86dd3e7fc9a2d
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
immediately after a function name, so the
format of function definitions in tcl*Decls.h
matches all other tcl*.h header files.
- Change Tcl_ArgvFuncProc, Tcl_ArgvGenFuncProc
and GetFrameInfoValueProc to be function
definitions, not pointers, for consistency
with all other Tcl function definitions.
FossilOrigin-Name: 92924901357b4846fa668b6f5122abf37979693a
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
declared with attribute warn_unused_result
CONSTify functions TclpGetUserHome and
TclSetPreInitScript (TIP #27)
FossilOrigin-Name: e52afe7fa4a7ade909410cfb737f1f7bbe6c201a
|
| | |
| | |
| | |
| | |
| | |
| | | |
Also added code from itcl-ng for better separation of concerns.
FossilOrigin-Name: 518b8a92e083149d15d0045b0931240c85452db7
|
| | |
| | |
| | | |
FossilOrigin-Name: 9157d4329935fd13bc5fa6c6da64fbd88ee193df
|
| | |
| | |
| | |
| | |
| | |
| | | |
don't use CONST84/CONST86 in internal header files
FossilOrigin-Name: 23ff81a854460293945f523c9ac352f6ab8aedc7
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
{unix win} in *.decls is equivalent to {generic}
tclGetDate.y, tclDate.c: single internal const decoration
FossilOrigin-Name: b4d9520da5a0a5a222745f840e07616a462c2dac
|
| | |
| | |
| | | |
FossilOrigin-Name: fa03a357a1ba470dc5457a62dfce688956d18d53
|
| | |
| | |
| | | |
FossilOrigin-Name: 1b2f480abfeea90d0f2c00bd99481975dc2260b9
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/AppInit.c: Made routines Tcl_SetStartupScript and
* doc/Tcl_Main.3: Tcl_GetStartupScript public. Removed all
* generic/tcl.h: internal stub access to Tcl*Startup* routines,
* generic/tclInt.decls: and removed their implementations. Their
* generic/tclMain.c: function can now be completely performed with
the new public interface.
*** POTENTIAL INCOMPATIBILITY for callers of the internal
Tcl*Startup* routines. ***
* generic/tclIntDecls.h: make genstubs
* generic/tclStubInit.c:
FossilOrigin-Name: e52c9bd3ce5799bb2a70f70623cd081fd3cdfd69
|
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
for TIP #337 implementation. (when it's _that_
simple, there is no excuse not to do it) :-)
FossilOrigin-Name: 10911e26ab27a5ce1d97eb5b507850440ef604ff
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* doc/BackgdErr.3: Converted internal routine
* doc/interp.n: TclBackgroundException() into public routine
* generic/tcl.decls: Tcl_BackgroundException().
* generic/tclEvent.c:
* generic/tclInt.decls:
* generic/tclDecls.h: make genstubs
* generic/tclIntDecls.h:
* generic/tclStubInit.c:
* generic/tclIO.c: Update callers.
* generic/tclIOCmd.c:
* generic/tclInterp.c:
* generic/tclTimer.c:
*** POTENTIAL INCOMPATIBILITY only for extensions using the converted
internal routine ***
FossilOrigin-Name: 2c2b2f27f3d1998e9f174196c4209f64daf896f2
|
| | |
| | |
| | |
| | |
| | |
| | | |
broken since 8.4 and no-one complained about it.
FossilOrigin-Name: dc58eb7219d241ac91b3404382fe30280fced6a1
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
* generic/tclCompCmds.c: of TclCreateAuxData and
* generic/tclCompile.c TclRegisterAuxDataType and the return
* generic/tclCompile.h values of TclGetAuxDataType and
* generic/tclExecute.c TclGetInstructionTable
* ChangeLog
* generic/tclIntDecls.h: regenerated
This change complies with TIP #27 (even though it only
involves internal function, so this is not even necessary).
FossilOrigin-Name: 20d2689bb94d989c288c6a165e9ec08ca34e1d4a
|
| | |
| | |
| | | |
FossilOrigin-Name: 4c5c243ec39b9eca18031add6602feb4534a6210
|
| | |
| | |
| | |
| | |
| | |
| | | |
and CONST -> const (.c files and internal .h files)
FossilOrigin-Name: a3ec1868d0fbbbc22d6acb1d97f34c9d6275c7ce
|
| | |
| | |
| | | |
FossilOrigin-Name: 163adf45a3e39a84138cd40d824b5fdd9ac771de
|
| | |
| | |
| | | |
FossilOrigin-Name: 7352e913603a2710129d8cd7c5fcdc6178c78ca7
|