summaryrefslogtreecommitdiffstats
path: root/generic/tclConfig.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.7, resolve conflictsjan.nijtmans2021-01-111-1/+1
|\
* \ Merge 8.7jan.nijtmans2020-12-081-1/+1
|\ \ | |/
| * Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-1/+1
| | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | merge 8.7dgp2020-03-061-11/+5
|\ \ | |/
| * more of the samedgp2020-03-061-11/+5
| |
* | Merge 8.7jan.nijtmans2020-02-281-7/+8
|\ \ | |/
| * Merge tip-548jan.nijtmans2019-08-291-1/+2
| |\
| * | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-6/+6
| |/
* | Merge 8.7jan.nijtmans2019-03-081-1/+1
|\ \ | |/
* | Another (big) round of int -> size_t enhancements. So Tcl can handle string ↵jan.nijtmans2019-02-011-4/+5
|\ \ | |/ | | | | >2GiB in more places.
* | Another round of int -> size_t modifications, so strings > 2Gb are handled ↵jan.nijtmans2019-01-241-1/+1
| | | | | | | | correctly on 64-bit platforms.
* | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-4/+4
| | | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | merge core-8-branch. Various cleanup: unused structure names, unused ↵jan.nijtmans2017-12-011-1/+1
|/ | | | #defines. Change some "epoch"-related fields from int to size_t. Nothing functional.
* 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 ↵jan.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
|