summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| | | * | | | | | | | | [d19a30db57] More testing.dgp2014-04-161-0/+4
| | | |\ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ [d19a30db57] Fixed segfault in [clock] internals. Includes test.dgp2014-04-162-15/+26
| | | |\ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ Fix compiler warnings in win32/cygwin buildjan.nijtmans2014-04-162-6/+14
| | | |\ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | Remove unused variable, don't use deprecated function, some formatting.jan.nijtmans2014-04-163-8/+8
| | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-164-98/+19
| | | |\ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
| | | * \ \ \ \ \ \ \ \ \ \ \ \ Purge the (now unused) argc and argv fields.dgp2014-04-151-124/+4
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ [88aef05cda] Stop reentrancy segfault in reflected channels by managingdgp2014-04-152-2/+39
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | callbacks as (copies of) lists, not shared Tcl_Obj arrays. Still could use cleanup and improvements.
| | | * | | | | | | | | | | | | | | Test-cases which pick up the completion of bug-fix ↵jan.nijtmans2014-04-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [e663138a06d98e48b5fbb42cc015cf1698f486cd|e663138a06]. Thanks, Don!
| | | * | | | | | | | | | | | | | | [e663138a06] Fix the new INST_NUM_TYPE instruction so that the boundarydgp2014-04-141-6/+22
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cases of [string is] on integral values are computed right. Code is now correct, though still suffers from a large amount of ugly.
| | | * | | | | | | | | | | | | | | Fix [3118489]: NUL in filenames, now fixed for both Windows and UNIX. jan.nijtmans2014-04-113-1/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For consistancy, any NUL character in a filename prevents the native filesystem to generate a native file representation for it. Other filesystems than the native one may still accept it, but it's not recommended.
| | | * | | | | | | | | | | | | | | Fix [3118489] for Windows only: NUL in filenames. This allows various ↵jan.nijtmans2014-04-112-3/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | characters to be used in win32 filenames which are normally invalid, as described here: [http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars]. The Cygwin shell can handle those same filenames as well. In other shells (cmd.exe/mSys) or on the Windows desktop the filenames will look strange, but that's all.
| | | * | | | | | | | | | | | | | | [792641f95b]: Normalized win32 paths should never contain backslash.jan.nijtmans2014-04-102-9/+12
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | Fix bug [e663138a06]: Test failures in "string is"jan.nijtmans2014-04-101-0/+9
| | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | Provide full Tcl patchlevel to tcl.pc and move private libs to "Libs.private". jan.nijtmans2014-04-081-4/+4
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Record the fact that Tcl 8.6 requires Zlib 1.2.3 as a minimum. Supply both the shared library and the stub library to "Libs": Only one of them will actually be linked in, depending on whether -DUSE_TCL_STUBS is defined or not.
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge-mark: Those two test-cases will arrive in trunk as soon as branch ↵jan.nijtmans2014-04-070-0/+0
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [http://core.tcl.tk/tcl/timeline?r=bug-13d3af3ad5|bug-13d3af3ad5] is merged.
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Fix for Bug [97069ea11a]: Set return message in close if a flush error is ↵oehhar2014-04-041-1/+11
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reported (which may be an error from a background flush)
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Add missing @TCL_LIB_FLAG@ to tcl.pc.in (derived from ticket [5bcb5026ad])jan.nijtmans2014-03-311-1/+1
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge minimal fix for iocmd-23.11.dgp2014-03-283-12/+31
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Note that top channel regeneration is removed, so that Preserve/Release call pairs are sure to operate on the same pointers. Other bug fixes may need to change that.
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Test iocmd-23.11 demos another segfault.dgp2014-03-271-0/+15
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Test iogt-2.4 is another segfault demo for [721ec69271].dgp2014-03-271-0/+35
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * | | | | | | | | | | | | | | | | | | | | | | New test iortrans-4.8.1 exposes segfault bug [721ec69271].dgp2014-03-271-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | | | Implement RFE [b42b208ba4]: file attributes -readonly (and -archive, ↵jan.nijtmans2014-03-263-17/+177
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | -hidden, -system) on Cygwin.
| | | | * | | | | | | | | | | | | | | | | | | | | | | Only write back file attributes if any of them really changed.rfe_b42b208ba4jan.nijtmans2014-03-262-15/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | |
| | | | * | | | | | | | | | | | | | | | | | | | | | | Implementation of [b42b208ba4]: file attributes -readonly on Cygwin. For ↵jan.nijtmans2014-03-262-14/+174
| | | |/ / / / / / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | completeness, implemented -archive, -hidden and -system as well.
| | | * | | | | | | | | | | | | | | | | | | | | | | Added comments raising questions about possible updates to channeldgp2014-03-213-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | drivers on Windows.
| | | * | | | | | | | | | | | | | | | | | | | | | | Fix [2f7cbd01c3]: tcl8.6.1 fails to build on FreeBSD 10.0jan.nijtmans2014-03-202-10/+18
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
| | | * \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ Merge core-8-5-branch (New tests covering INPUT_NEED_NL flag handling. One ↵jan.nijtmans2014-03-091-0/+71
| | | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exposes a bug.)
| | | * | | | | | | | | | | | | | | | | | | | | | | | | Simplify macro handling in tclOO*Decls.h, just as already done in "novem" ↵jan.nijtmans2014-02-263-69/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [0c37ab8944], itcl*Decls.h and tdbc*Decls.h. This doesn't change the way symbols are exported. This simplifications were already present in the Tcl 8.6.2 headers, but those were buggy when tclOO was linked in statically without using stubs.
| * | | | | | | | | | | | | | | | | | | | | | | | | | | merge 8.5dgp2014-05-017-26/+116
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | | | | | | | | | | | | We must Preserve channels if we're going to use TclChanCaughtErrorBypass()dgp2014-05-011-4/+22
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to get error information after channel routines are called (and have possibly called for the channel to go away).
| | * | | | | | | | | | | | | | | | | | | | | | | | | Fix more corner-cases like ↵jan.nijtmans2014-05-014-12/+30
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | [0e92c404f19ede5b2eb06e6db27647d3138cc56|0e92c404f1]: The only place where a type of &tclByteArrayType can be trusted is when determining its length, because the character length of a (UTF-8) string is always equal to the byte length of the byte array.
| | * | | | | | | | | | | | | | | | | | | | | | | | Better (safer) fix for [0e92c404f1]jan.nijtmans2014-04-301-1/+1
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | Stop the segfaults in [close] during [gets] tests.dgp2014-04-302-11/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Not sure this is the right behavior, but it's better than crashing.
| | * | | | | | | | | | | | | | | | | | | | | | | Panic message to pinpoint the cause of iocmd-21.23 segfault.dgp2014-04-301-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | Another segfault demo test, this one with [close] during [gets].dgp2014-04-301-0/+16
| | | | | | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | | Make sure no shared ChannelBuffers get recycled.dgp2014-04-291-0/+11
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | |
| | * | | | | | | | | | | | | | | | | | | | | | Fix bug exposed when buffer recycling is disabled.dgp2014-04-291-2/+4
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | | Revise the logic for setting TCL_ENCODING_END in the outputEncodingFlagsdgp_no_buffer_recycledgp2014-04-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | so it does not rely on buffer recycling.
| | | * | | | | | | | | | | | | | | | | | | | | Disable buffer recycling to expose bugs for fixing.dgp2014-04-251-1/+1
| | |/ / / / / / / / / / / / / / / / / / / / /
| * | | | | | | | | | | | | | | | | | | | | | merge 8.5dgp2014-04-245-49/+110
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | | | | | | | [3493120] Plug memory leak in thread exit.dgp2014-04-234-2/+35
| | |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | |
| | | * | | | | | | | | | | | | | | | | | | | *nix segfault cleared: we should reset a thread key after freeing of alloc ↵bug_3493120sebres2014-04-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cache (in tclUnixThrd.c)
| | | * | | | | | | | | | | | | | | | | | | | Memory leak after thread exit, fixed (alloc cache released by exit), belong ↵sebres2014-04-223-2/+34
| | | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to ticket [3493120] Moved over to branch bug-3493120. This is not ready for the core-8-5-branch. Segfaults all over the place in a thread-enabled build on a CentOS system.
| | * | | | | | | | | | | | | | | | | | | | Add refcounting and preservation to [testchannel transform] to stop segfaultdgp2014-04-221-47/+75
| | |/ / / / / / / / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in test iogt-2.4.
| * | | | | | | | | | | | | | | | | | | | merge 8.5dgp2014-04-214-8/+78
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | | | | | Added a refcounting mechanism to ChannelBuffers. Other edits todgp2014-04-214-10/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | stop segfaults in tests iocmd-21.2[12].
| | * | | | | | | | | | | | | | | | | | | Another test exposing another segfault.dgp2014-04-171-0/+16
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | |
| * | | | | | | | | | | | | | | | | | | merge 8.5dgp2014-04-171-95/+50
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / / / / / /
| | * | | | | | | | | | | | | | | | | | Reflected channels. Keep a set of method names cached so we don't createdgp2014-04-171-40/+43
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | new each operation, and we can benefit from any lookup info cached in intreps.
| | * | | | | | | | | | | | | | | | | | Simplify reflected channels.dgp2014-04-171-55/+7
| | | |_|_|_|_|_|_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Instead of having two modes of Close operations and the need to choose between them with a special value of the methods field, when the initialize pass fails for some reason, simply do not create the channel so there's nothing that needs closing. Then the methods field no longer holds anything used, so eliminate it. All the methods checking is done by [chan create].