|
2003-05-17
| ||
| 06:59 | • Ticket [690354ffff] Fix for bug #219293 (and #219155) status still Closed wi... artifact: ed6eba0c13 user: patthoyts | |
| 06:59 | • Closed ticket [690354ffff]. artifact: 26b0942a0f user: patthoyts | |
|
2003-03-24
| ||
| 04:23 | • Ticket [690354ffff]: 1 change artifact: a1b29bb6a3 user: kennykb | |
|
2003-03-11
| ||
| 20:59 | • Ticket [690354ffff]: 4 changes artifact: 7a3237cfcd user: patthoyts | |
| 20:59 | • Add attachment tclWinDde.c.unique.patch to ticket [690354ffffffffff|690... artifact: 9673e56efc user: patthoyts | |
| 20:58 | • Ticket [690354ffff] Fix for bug #219293 (and #219155) status still Open with... artifact: 12cde5297e user: patthoyts | |
|
2003-02-21
| ||
| 05:46 | • Add attachment tclWinDde.c.unique.patch to ticket [690354ffffffffff|690... artifact: 35a762219c user: patthoyts | |
| 05:46 | • Ticket [690354ffff] Fix for bug #219293 status still Open with 4 other chang... artifact: 9907cbb161 user: patthoyts | |
|
2003-02-20
| ||
| 22:44 | • New ticket [690354ffff]. artifact: 83b8c433a0 user: patthoyts | |
Fix for bug #219293 (and #219155)
Closed / Accepted690354ffffffffffffffffffffffffffffffffffCreated 24 years agoUpdated 24 years ago
Descriptionplain2003-02-20 22:44:27
This is a fix for bug #219293.
patthoytsplain2003-02-21 05:46:48
File Added - 43053: tclWinDde.c.unique.patch
patthoytsplain2003-03-11 20:58:09
Logged In: YES
user_id=202636
I am uploading an enhanced version of the -unique patch for
tclWinDde.c. This addresses concerns about locking the tcl
application in the event of badly behaved windows applications.
What I have done here is to factor out the implementation of
dde services into a separate function
DdeGetServicesList(interp, appname, topicname). This builds
the services list and returns the list as the interp's result.
Secondly I've reimplemented this function in terms of raw
DDE calls using SendMessageTimeout. I have left the original
code in for reference #ifdef'd out which also helps to
bracket the collection of functions required to implement
the new functionality.
The new services function will ignore servers that are not
processing messages. It also fixes bug #219155 as dde
services {} $topic works as described.
The new code is only accessed from the services command -
and from the servername command unless -exact is specified.
Following on from this in the future, I could see a case for
reimplementing the remainder of the Dde package in raw dde
and putting it onto a secondary thread. This would mean that
tclsh using dde would be a 'well behaved' windows
application - at least for dde. I do not know if it's
sufficiently worth it though. Having all dde calls using
SendMessageTimeout is a pretty significant plus though.
patthoytsplain2003-03-11 20:59:16
File Added - 44725: tclWinDde.c.unique.patch Logged In: YES user_id=202636 Crap - attaching the patch file this time :)
kennykb Ticket [690354ffff]: 1 change
[History diff]2003-03-24 04:23:54
patthoytsplain2003-05-17 06:59:11
Logged In: YES user_id=202636 TIP #130 passed. Patch applied
patthoyts Ticket [690354ffff]: 2 changes
[History diff]2003-05-17 06:59:12
Log in (anonymous is fine) to add a comment.
Attachments:
- tclWinDde.c.unique.patch [download] added by patthoyts on 2003-03-11 20:59:16. [details]