summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
Commit message (Collapse)AuthorAgeFilesLines
* Reduce internals access in the implementation of [<foo>::pkgconfig list].dgp2011-04-191-8/+3
|\ | | | | FossilOrigin-Name: 56376940138d3509ea182cd8e7ad8703929a0506
| * Reduce internals access in the implementation of [<foo>::pkgconfig list].dgp2011-04-191-8/+3
| | | | | | FossilOrigin-Name: 52560d396ef9208445b6d4e677db74847f6ad259
* | Use ListRepPtr(.) and other cleanup.dgp2011-04-181-2/+1
|\ \ | |/ | | FossilOrigin-Name: e7e05e37cc46b3dfd49567c1ad23f1c76eff0210
| * Use ListRepPtr(.) and other cleanup.dgp2011-04-181-2/+1
| | | | | | FossilOrigin-Name: 3dba2563a1ce58177201b16ae2144a5aa8e60ec4
* | More generation of errorCode information, notably when lists are mis-parsed.dkf2011-03-291-1/+6
| | | | | | FossilOrigin-Name: 999804376cc4de0b5b25215372acd1bc46937c5e
* | 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. FossilOrigin-Name: 5574bdd262b2672cde48771787370c12854cecf4
* | 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). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
| * 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. FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
* | Style fixes (unfouling whitespace, sorting comments, removing useless casts, ↵dkf2009-01-091-4/+4
| | | | | | | | | | etc.) FossilOrigin-Name: cd3c38f00ada216d7bc93560d3d70012c2918343
* | Add "const" to many internalnijtmans2008-10-161-2/+2
| | | | | | | | | | | | | | const tables. No functional or API change. FossilOrigin-Name: f03d2e2d83be42035c4aad3b01bbd09f5a967c1b
* | * 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. FossilOrigin-Name: 3aa5a6de7fa3f2d0f2783caf4c12bdd00543143f
* | 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. FossilOrigin-Name: 697472b8f78e61ec141e6ad509bd8df1fb9229e7
* | fix [2021443] inconsistant "wrong # args" messagesnijtmans2008-07-191-2/+2
| | | | | | FossilOrigin-Name: 1e5261316ed076ff5ff69f2a720e8eff30fcf66e
* | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-17/+16
|/ | | FossilOrigin-Name: 2d205c22fbe5def21ccd36bc6f7b2d3831f6122d
* merge stable branch onto HEADdgp2007-12-131-1/+1
| | | FossilOrigin-Name: d1f7550cd9bf1343d8505fb99fc5141b58bb88bf
* * 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]. FossilOrigin-Name: 247f50eb473c8a8318c05ccf70f3422cfdc1a8cb
* Correct usage of Tcl_WrongNumArgsdkf2007-11-201-3/+3
| | | FossilOrigin-Name: 12d29832543d4af11e124fa8883822f180552bb1
* * 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. FossilOrigin-Name: 20ea42ff075295ee6b91db68027a279ee6dbf18e
* * 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. FossilOrigin-Name: 8bb17255849fdfacfa51d0cce4443882c75668aa
* Handle creation of Tcl_Objs from constant strings better (easier to use, moredkf2007-04-101-5/+5
| | | | | | efficient). After [Patch 1529526] (afredd) FossilOrigin-Name: 4d69119aadb4298f8e994440eb988c6c46396086
* Minor simplification.dkf2007-04-011-11/+12
| | | FossilOrigin-Name: e8b2e8dbb49fea03dfba15e03699613b55bcd969
* Plug a leak of encodingsdkf2007-03-121-27/+27
| | | FossilOrigin-Name: 92ffd0c4a7f01dad189059b31a177b24b5021192
* 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: FossilOrigin-Name: 055195c6bce7cf3bc2a1dc2c88b333d9e9b4485c
* ANSIfy. Also converted some deeply nested code to a less nested form for ↵dkf2005-11-011-27/+27
| | | | | easier reading. FossilOrigin-Name: a3b0b6f1d981da1fe106445a90860a30e0c63d29
* Getting more systematic about styledkf2005-07-241-126/+130
| | | FossilOrigin-Name: 83d72c558cc66d1e10666e2fab0f6e87addb5c3d
* Merged kennykb-numerics-branch back to the head; TIPs 132 and 232kennykb2005-05-101-1/+1
| | | FossilOrigin-Name: 1cc2336920c70c6b9f7825b88dec87fc223f2c4e
* Changed the internal representation of lists to (a) reduce the malloc/freemsofer2005-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] FossilOrigin-Name: 20cba22d4264a71bbc3de27278a9ed12fbe42004
* 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 FossilOrigin-Name: 7162a54053e53f6f469b5d978fca906c9880d363
* 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] FossilOrigin-Name: 524a53e3b36111f085cdb216a27da061773239ae
* Increased robustness and speed for [lrepeat] with help of new list constructordkf2003-11-011-52/+43
| | | FossilOrigin-Name: 14a264ed1d03eba266c3475d7ab37b879cfc2189
* * 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. FossilOrigin-Name: efaf32b4498a19f1a867aac12697bbf67b44b86a
* * 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: FossilOrigin-Name: 8397302b4de4c8614e57e7e5b8ff31760faa48ef