summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
Commit message (Collapse)AuthorAgeFilesLines
* Use more "size_t" in stead of "int" internall. Also eliminate a lot of ↵jan.nijtmans2016-11-161-4/+4
| | | | type-casts which are not necessary any more.
* CONST -> const in one placejan.nijtmans2013-07-051-1/+1
|
* Bug [9b2e636361]: Tcl_CreateInterp() needs initialized encodings.jan.nijtmans2013-06-271-46/+57
|\
| * 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
| | |
* | | typos. jan.nijtmans2013-06-261-2/+2
|\ \ \ | |/ / | | | On Cygwin, Tcl_SetPanicProc(NULL) should set back the panic proc to its default, which is not NULL.
| * | formatting, typojan.nijtmans2013-06-261-13/+13
| |/
| * make some more internal tables constjan.nijtmans2012-04-181-1/+1
| | | | | | a few CONST -> const changes
* | converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-4/+4
| |
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-2/+2
| |
* | Reduce internals access in the implementation of [<foo>::pkgconfig list].dgp2011-04-191-8/+3
|\ \ | |/
| * 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
|\ \ | |/
| * Use ListRepPtr(.) and other cleanup.dgp2011-04-181-2/+1
| |
* | More generation of errorCode information, notably when lists are mis-parsed.dkf2011-03-291-1/+6
| |
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-3/+4
| | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-2/+0
|\ \ | |/ | | cause more harm than good. Purged them (except in zlib files).
| * 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.
* | Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵dkf2009-01-091-4/+4
| | | | | | | | etc.)
* | Add "const" to many internalnijtmans2008-10-161-2/+2
| | | | | | | | | | const tables. No functional or API change.
* | * doc/RegConfig.3: CONSTified the configuration argumentnijtmans2008-10-041-2/+2
| | | | | | | | | | | | | | | | | | * generic/tcl.decls: of Tcl_RegisterConfig. * generic/tclConfig.c * generic/tclPkgConfig.c * ChangeLog * generic/tclDecls.h: regenerated This change complies with TIP #27.
* | generic/tclExecute.c formatting only: remove spaces at the end of a every ↵nijtmans2008-08-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | line generic/tclConfig.c make the internal cfg variable const. generic/tclTrace.c add a "const" keyword, allowing the "traceSubCmds[]" array to be placed by the C- compiler in a code segment in stead of a data segment Those harmless changes are as a preparation for a future change proposal. Unfortunately, my (Eclipse) editor automatically removes spaces at the end of every line. Creating a patch for this proposal should not contain unrelated harmless changes, so therefore this separate check-in. No change in functionality. No risk.
* | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
| |
* | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-17/+16
|/
* 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: