Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2002-02-08
16:04 • Ticket [415648ffff] Doc, CONSTify, and unify Tcl_*Panic* status still Closed... artifact: 72e2ca5aca user: dkf
2001-06-16
06:33 • Add attachment tclppanic.patch to ticket [415648ffff] artifact: ee087b7cc1 user: dgp
06:33 • Ticket [415648ffff] Doc, CONSTify, and unify Tcl_*Panic* status still Closed... artifact: d5180d6709 user: dgp
2001-06-14
07:41 • Ticket [415648ffff]: 6 changes artifact: e210e36513 user: dgp
07:41 • Add attachment mac.patch to ticket [415648ffff] artifact: bac9880d3b user: dgp
2001-06-09
03:07 • Closed ticket [415648ffff]: Doc, CONSTify, and unify Tcl_*Panic* plus 8 othe... artifact: 30412bb88c user: dgp
2001-04-19
01:10 • Ticket [415648ffff]: 5 changes artifact: 2cabbac7de user: dgp
01:09 • Add attachment Panic.3 to ticket [415648ffff] artifact: 1e88aeb8d0 user: dgp
01:09 • Ticket [415648ffff] Doc, CONSTify, and unify Tcl_*Panic* status still Open w... artifact: 8f6f633b8b user: dgp
01:07 • Ticket [415648ffff]: 4 changes artifact: 0be2e6f873 user: dgp
2001-04-18
21:53 • Ticket [415648ffff]: 4 changes artifact: c024ba0762 user: andreas_kupries
21:48 • Ticket [415648ffff]: 4 changes artifact: 029015554b user: andreas_kupries
07:29 • Ticket [415648ffff]: 4 changes artifact: dfd8ce34f5 user: dgp
07:29 • Ticket [415648ffff]: 4 changes artifact: ad081eb5bd user: dgp
07:29 • Add attachment panic.patch to ticket [415648ffff] artifact: 87edf40302 user: dgp
2001-04-12
19:31 • Ticket [415648ffff] Doc, CONSTify, and unify Tcl_*Panic* status still Open w... artifact: 255352c5a5 user: dgp
19:31 • Ticket [415648ffff]: 4 changes artifact: 66706aa40d user: dgp
19:26 • Ticket [415648ffff]: 4 changes artifact: e2759b21a3 user: dgp
12:26 • New ticket [415648ffff]. artifact: e40225ab68 user: dgp

Doc, CONSTify, and unify Tcl_*Panic*

Closed / Accepted415648ffffffffffffffffffffffffffffffffffCreated 26 years agoUpdated 25 years ago
Descriptionplain2001-04-12 12:26:36
New man page doc/Panic.3 documents Tcl_Panic,
Tcl_PanicVA, Tcl_SetPanicProc, panic, panicVA, and
Tcl_PanicProc.  (Bugs 219170, 414936).
dgpplain2001-04-12 19:26:41
File Added - 5267: Panic.3
dgpplain2001-04-12 19:31:02
Logged In: YES 
user_id=80530

Added patch that CONSTifies (TIP 27) the Tcl_*Panic*
procedures.  Also tries to significantly rework the
Tcl_*Panic* procedures on the Mac, so that all platforms use
the same generic routines.  These changes need checking and
probably more work by someone with a Mac.  Please review.
dgpplain2001-04-12 19:31:03
File Added - 5268: panic.patch
dgpplain2001-04-18 07:29:43
Logged In: YES 
user_id=80530

Updated patch (forgot 'make mklinks' the first time).

Any comments?
dgpplain2001-04-18 07:29:44
File Deleted - 5268: 



File Added - 5489: panic.patch
andreas_kupriesplain2001-04-18 21:48:47
Logged In: YES 
user_id=75003

The manpage looks good, except for a small nit: "decription"
should be "description". The code seems to be ok too, but I
can't speak about the Mac changes.
andreas_kupriesplain2001-04-18 21:53:08
Logged In: YES 
user_id=75003

Wah, never work from memory. It is describing, not
description:

Panic.3:
50c50
< \fIformat\fB argument is a format string decribing how to
format the
---
> \fIformat\fB argument is a format string describing how to
format the
dgpplain2001-04-19 01:07:04
File Deleted - 5267: 

Logged In: YES 
user_id=80530

Corrected typos in doc/Panic.3
dgpplain2001-04-19 01:09:26
File Added - 5513: Panic.3

Logged In: YES 
user_id=80530

Take 2
dgpplain2001-04-19 01:10:31
Logged In: YES 
user_id=80530

Not sure why the system converted this from "Patch"
to "Bug".  Changing it back...
dgpplain2001-06-09 03:07:50
Logged In: YES 
user_id=80530

Committed to HEAD.
dgpplain2001-06-14 07:41:56
File Added - 7311: mac.patch

Logged In: YES 
user_id=80530

Attached and committed to HEAD a supplemental patch
for the Macintosh from Dan Steffen.
dgpplain2001-06-16 06:33:52
File Added - 7396: tclppanic.patch

Logged In: YES 
user_id=80530

Dan Steffen pointed out to me that the patches so far
break wish on the Mac.  The patches so far had the effect
of requiring Mac applications that embed Tcl to call
Tcl_SetPanicProc() with a suitable panic handler
in order to have panic messages reported visibly.  This
would be an incompatible change.

So, I'm uploading another supplemental patch that corrects
this problem.  It defines an internal routine TclpPanic()
that is a platform-specific panic handler.  It is actually
implemented only on the Mac, so that Mac applications that
continue not to call Tcl_SetPanicProc() will still have
a suitable platform-specific handler provided by the Tcl
internals.  On Unix and Windows, TclpPanic is NULL.

Committing to HEAD and uploading this supplemental patch.
dkf Ticket [415648ffff]: 3 changes [History diff]2002-02-08 16:04:38
Log in (anonymous is fine) to add a comment.

Attachments: