summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
Commit message (Collapse)AuthorAgeFilesLines
* Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings.jan.nijtmans2013-06-271-45/+56
|\
| * Allocate encoding name, so caller of Tcl_RegisterConfig() doesn't need to ↵ticket_9b2e636361jan.nijtmans2013-06-261-4/+12
| | | | | | | | | | keep it forever. Fix some comments.
| * Proposed solution for [9b2e636361]jan.nijtmans2013-06-261-25/+19
| |
* | formatting, typojan.nijtmans2013-06-261-13/+13
|/
* make some more internal tables constjan.nijtmans2012-04-181-1/+1
| | | a few CONST -> const changes
* Reduce internals access in the implementation of [<foo>::pkgconfig list].dgp2011-04-191-8/+3
|
* Use ListRepPtr(.) and other cleanup.dgp2011-04-181-2/+1
|
* Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-021-2/+0
| | | more harm than good. Purged them.
* merge stable branch onto HEADdgp2007-12-131-1/+1
|
* * generic/tclConfig.c: Corrected failure of the [::foo::pkgconfig]dgp2007-11-281-10/+27
| | | | | command to clean up registered configuration data when the query command is deleted from the interp. [Bug 983501].
* Correct usage of Tcl_WrongNumArgsdkf2007-11-201-3/+3
|
* * generic/tclConfig.c (Tcl_RegisterConfig): Modified to not extendandreas_kupries2007-11-051-36/+39
| | | | | | | the config database if the encoding provided by the user is not found (venc == NULL). Scripts expecting the data will error out, however we neither crash nor provide bogus information. See [SF Tcl Bug 983509] for more discussion.
* * generic/tclConfig.c (Tcl_RegisterConfig): Modified to useandreas_kupries2007-11-051-1/+6
| | | | | | | | iso8859-1 as a fallback if the user supplied encoding was not found. That way we do not crash. It is unclear however if this is a sane fallback given that the encoding is likely wrong and producing bogus strings. See [SF Tcl Bug 983509] for more discussion.
* Handle creation of Tcl_Objs from constant strings better (easier to use, moredkf2007-04-101-5/+5
| | | | efficient). After [Patch 1529526] (afredd)
* Minor simplification.dkf2007-04-011-11/+12
|
* Plug a leak of encodingsdkf2007-03-121-27/+27
|
* TIP#268 IMPLEMENTATIONandreas_kupries2006-09-221-4/+8
| | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: Regenerated from tcl.decls. * generic/tclStubInit.c: * doc/PkgRequire.3: Documentation of extended API, * doc/package.n: extended testsuite. * tests/pkg.test: * generic/tcl.decls: Implementation. * generic/tclBasic.c: * generic/tclConfig.c: * generic/tclInt.h: * generic/tclPkg.c: * generic/tclTest.c: * generic/tclTomMathInterface.c: * library/init.tcl: * library/package.tcl: * library/tm.tcl:
* ANSIfy. Also converted some deeply nested code to a less nested form for ↵dkf2005-11-011-27/+27
| | | | easier reading.
* Getting more systematic about styledkf2005-07-241-126/+130
|
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
|
* Changed the internal representation of lists to (a) reduce the malloc/freeMiguel Sofer2005-04-021-12/+22
| | | | | | | | calls at list creation (from 2 to 1), (b) reduce the cost of handling empty lists (we now never create a list internal rep for them), (c) allow refcounting of the list internal rep. The latter permits insuring that the pointers returned by Tcl_ListObjGetElements remain valid even if the object shimmers away from its original list type. This is [Patch 1158008]
* Allow ensembles to rewrite their subcommands' error messages to be moredkf2004-10-291-4/+4
| | | | | | relevant to users. [Patch 1056864] Also patches to core to take advantage of this Also other general cleaning up of Tcl_WrongNumArgs usage
* All uses of 'panic' (the macro) changeddavygrvy2003-12-241-2/+2
| | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* Increased robustness and speed for [lrepeat] with help of new list constructordkf2003-11-011-52/+43
|
* * generic/tclConfig.c (ASSOC_KEY): Changed the key toandreas_kupries2003-06-101-2/+2
| | | | | "tclPackageAboutDict" (tcl prefix) to make collisions with the keys of other packages more unlikely.
* * generic/tcl.decls: Ported the changes from theandreas_kupries2003-06-091-0/+365
* generic/tcl.h: 'tip-59-implementation' branch into the CVS * generic/tclBasic.c: head. Regenerated stub table. Regenerated * generic/tclInt.h: the configure's scripts, with help from Joe * generic/tclDecls.h English. * generic/tclStubInit.c: * generic/tclConfig.c: * generic/tclPkgConfig.c: * unix/Makefile.in: * unix/configure.in: The changes in the windows section are not * unix/tcl.m4: yet committed, they await feedback from * unix/mkLinks: David Gravereaux. * doc/RegConfig.3: * mac/tclMacPkgConfig.c: * tests/config.test: