summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More efficient/robust implementation of function TclNativeCreateNativeRep(). rfe_3389978jan.nijtmans2014-05-081-46/+63
| | | | | | - No more intermediate results in a Tcl_DString, just allocate space directly. - Let MultiByteToWideChar() do all the difficult work, inclusive checking for invalid byte sequences. - Handled extended win32 paths, inclusive UNC paths. Implementation for a great deal taken over from fossil.
* Start working on [3389978]. Appears to work, but some clean-up needed.jan.nijtmans2014-05-062-4/+32
|
* merge-markjan.nijtmans2014-05-050-0/+0
|\
| * Backport "GotFlag" macro from Tcl 8.6. Makes code more readable. No change ↵jan.nijtmans2014-05-051-97/+89
| | | | | | | | in functionality.
* | Re-apply [3010352], bringing back the symbol exports of shared libraries as ↵jan.nijtmans2014-05-021-1/+7
| | | | | | | | it was in 8.6.0/8.6.1.
| |
| \
*-. \ Bring back self restacking support. Channel tests all passing now.dgp2014-05-023-19/+67
|\ \ \ | | |/ | |/|
| | * Fixup restacking tests to expect the right results.dgp_demodgp2014-05-021-6/+6
| | |
| * | Backport channel self restacking support. (Test iogt-2.4).dgp2014-05-022-3/+60
| |\ \ | | |/
| | * Add some comments about possible other self-restacking troubles.dgp2014-05-021-1/+8
| | |
| | * Fully restore topChan resetting to accommodate self-restacking channels.dgp2014-05-021-17/+26
| | |
| | * Re-enable buffer recycling.dgp2014-05-021-1/+1
| | |
| | * Stop the segfault in iogt-2.4. First by changing the UpdateInterest()dgp2014-05-012-2/+9
| | | | | | | | | | | | | | | | | | | | | call that triggers it. "downChanPtr" may no longer be the right argument at that point. Second, after ending the segfault, the test became an infinite loop (nested unstacking?! whoa.), so revised the test to one that terminates (and passes). Left behind a comment that the recursive unstacking case may require more examination.
| | * merge trunkdgp2014-05-015-14/+127
| | |\ | |_|/ |/| |
* | | We must Preserve channels if we're going to use TclChanCaughtErrorBypass() ↵dgp2014-05-011-3/+22
|\ \ \ | |/ / | | | | | | to get error information after channel routines are called (and have possibly called for the channel to go away).
| * | 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).
* | | make doubly sure that things which should be unshared stay unshareddkf2014-05-011-6/+6
| | |
* | | merge-markjan.nijtmans2014-05-010-0/+0
|\ \ \ | |/ /
| * | 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.
| | |
| \ \
*-. \ \ Merge in the fixes for improper ChannelBuffer sharing via recycling.dgp2014-05-012-8/+60
|\ \ \ \ | | |/ /
| | * | 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
| | |
* | | missing constraintdgp2014-05-011-1/+1
| | |
* | | [82e7f67325] Fix an evil refcount problem in compiled [string replace].dkf2014-04-302-3/+45
| | |
| | * merge trunkdgp2014-04-292-5/+28
| | |\ | |_|/ |/| |
* | | Fix bug exposed when buffer recycling is disabled.dgp2014-04-291-2/+4
|\ \ \ | |/ /
| * | 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
| |/ /
* | | Clarify fcopy manpage regarding its bidirectional uses. [1350564]ferrieux2014-04-281-3/+24
| | |
| | * Disable buffer recycling, which creates mysteries.dgp2014-04-251-1/+1
| | |
| | * Test iortrans-4.8.2 demos an infinite loop. Possible trouble withdgp2014-04-252-0/+25
| |/ |/| | | pushback buffers.
* | Make sure the ReflectedChannel struct is freed in the handler thread,dgp2014-04-241-2/+2
| | | | | | | | where it was allocated. This constraint allows the struct to safely hold Tcl_Obj values, which has been convenient for storing callback commands.
* | [3493120] Plug memory leak in thread exit.dgp2014-04-244-2/+35
|\ \ | |/
| * [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.
* | | Merge the [testchannel transform] fixes.dgp2014-04-221-47/+75
|\ \ \ | |/ /
| * | Add refcounting and preservation to [testchannel transform] to stop segfaultdgp2014-04-221-47/+75
| |/ | | | | in test iogt-2.4.
* | Merge refcounting machinery for ChannelBuffer.dgp2014-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 reflected channel improvements.dgp2014-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].
* | Remove all win95-specific test-cases, since Windows 95 is not supported any ↵jan.nijtmans2014-04-175-134/+6
| | | | | | | | more.
* | [d19a30db57] More testing.dgp2014-04-161-0/+4
|\ \ | |/
| * Repair new test so all parts will be effective.dgp2014-04-161-0/+3
| |