summaryrefslogtreecommitdiffstats
path: root/generic/tclResult.c
Commit message (Collapse)AuthorAgeFilesLines
* Rename macro's TclListObjGetElements -> TclListObjGetElementsM and ↵jan.nijtmans2022-05-171-5/+5
| | | | TclListObjLength -> TclListObjLengthM (prevent conflict with TIP #616)
* Merge 8.6jan.nijtmans2022-02-101-4/+4
|\
| * Use TclListObjLength/TclListObjGetElements in stead of ↵jan.nijtmans2022-02-101-4/+4
| | | | | | | | Tcl_ListObjLength/Tcl_ListObjGetElements everywhere. This is slightly more efficient if the refered list already has the correct type
| * Tcl_NewObj() -> TclNewObj()jan.nijtmans2022-01-171-4/+6
| |
| * IntRep -> InternalRep. Internal changes only.jan.nijtmans2021-10-191-1/+1
| |
* | Change "IntRep" to "InternalRep", as discussed in the Tcl Core mailing listjan.nijtmans2021-10-061-2/+2
| |
* | Unbreak buildjan.nijtmans2021-04-131-1/+1
| |
* | Fix [f566e1c817]: macOS: -DTCL_NO_DEPRECATEDjan.nijtmans2021-04-121-1/+6
| |
* | 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.6jan.nijtmans2020-09-281-4/+4
|\ \ | |/
| * Eliminate many "register" keywords (which do nothing with modern compilers)jan.nijtmans2020-09-141-14/+14
| | | | | | Eliminate many unnecessary type-casts to (unsigned)
* | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-9/+11
| | | | | | | | TclNewIntObj or Tcl_NewWideIntObj)
* | Merge 8.6jan.nijtmans2020-04-141-1/+10
|\ \ | |/
| * Merge 8.5. Failing tests highlight ticket [1b1f5f0b53].dgp2020-04-131-1/+10
| |\
| | * Same trouble fixed the same way in Tcl_AppendElement().dgp2020-04-091-1/+10
| | |
| * | Use _copysign on Windows always (available from float.h). Use mp_iszero() ↵jan.nijtmans2020-01-081-2/+2
| |\ \ | | |/ | | | | | | whenever appropriate.
| | * * generic/tclResult.c (ResetObjResult): Correct failure to cleardgp2011-03-081-5/+7
| | | | | | | | | invalid intrep. Thanks to Colin McDonald. [Bug 3202905]
* | | Merge 8.7jan.nijtmans2020-02-131-4/+2
|\ \ \
| * | | TIP #559 follow-up: Make sure that if Tcl_FreeResult() is used in an ↵jan.nijtmans2020-01-251-4/+2
| | | | | | | | | | | | | | | | | | | | extension compiled with -DTCL_NO_DEPRECATED, this results in a link error. Do the same with deprecated funcions from other TIP's.
* | | | Merge 8.7jan.nijtmans2020-01-071-19/+13
|\ \ \ \ | |/ / /
| * | | Some eol whitespace eliminationsjan.nijtmans2020-01-071-2/+2
| | | |
| * | | Merge 8.6jan.nijtmans2020-01-061-19/+13
| |\ \ \ | | |/ /
| | * | Fix documentation, comments, and argument names of Tcl_TransferResult().dgp2020-01-051-19/+13
| | | |
* | | | Merge tip-548jan.nijtmans2019-08-151-13/+13
|\ \ \ \ | |/ / /
| * | | Merge 8.7jan.nijtmans2019-08-141-4/+4
| |\ \ \
| * | | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-13/+13
| | | | | | | | | | | | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | | | | Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-4/+4
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Eliminate the use of C++ keywords as variable names. Nothing more than ↵jan.nijtmans2019-07-231-4/+4
| |/ / / | | | | | | | | | | | | rename the variables in something else.
* | | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-9/+9
|/ / /
* | | If compiling with -DTCL_NO_DEPRECATED, make Tcl_GetStringResult() a macro. ↵jan.nijtmans2019-05-091-5/+1
| | | | | | | | | | | | | | | This opens up one more simplification for Tcl 9. Compile the load-test dll's/so's with -DTCL_NO_DEPRECATED
* | | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-1/+1
| | | | | | | | | | | | and (unsigned) type-casts, which don't make sense any more.
* | | Take the next step in TIPs 330 and 336, ending in 8.7 the USE_INTERP_RESULT anddgp2018-03-051-17/+0
| | | | | | | | | USE_INTERP_ERRORLINE directives to escape need to migrate to 8.6 interfaces.
* | | If Tcl is compiled with -DTCL_NO_DEPRECATED, make sure that ↵jan.nijtmans2017-03-171-1/+1
| | | | | | | | | | | | iPtr->(resultSpace|appendResult|appendAvl|appendUsed) are not used any more.
* | | In TclGetNumberFromObj() macro (tclExecute.c): Don't fill in type if ↵jan.nijtmans2017-02-031-2/+2
| | | | | | | | | | | | | | | TCL_ERROR is returned: The caller doesn't do anything with this. Don't access (non-const) variable tclEmptyStringRep any more, use its value (&tclEmptyString) directly. Only keep it in tclPkg.c, for error checking.
* | | If TCL_NO_DEPRECATED is defined, remove the "case" statement, and use much ↵jan.nijtmans2017-01-251-13/+42
|/ / | | | | | | less interp->result. Implementation mostly taken over from "novem". If TCL_NO_DEPRECATED is not defined, nothing changes.
* | typo in comment. Eliminate unnecessary end-of-line spacing.jan.nijtmans2015-10-191-2/+2
| |
* | Allow successfull compilation, even if Tcl_GetErrorLine/Tcl_SetErrorLine are ↵jan.nijtmans2013-07-051-0/+2
| | | | | | | | redefined as macros.
* | Allow Tcl to be compiled even if Tcl_Eval, Tcl_GetVar, ... are macros.jan.nijtmans2013-02-281-0/+3
| |
* | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfojan.nijtmans2013-01-251-1/+1
| | | | | | Fix "make test-packages" on cygwin
* | Minor changes to improve style (C89 declarations, consistent indentation,dkf2012-08-071-24/+33
| | | | | | | | clarification of #endifs, reduction of unnecessary casts, use of array syntax for reading array elements, etc.)
* | more result generation conversiondkf2012-08-031-23/+20
| |
* | [Bug 3386417] avoid a reference loop between the bytecode and its companion ↵ferrieux2011-08-091-0/+23
| | | | | | | | errostack when compiling a syntax error.
* | TclFreeIntRep() cleanup.dgp2011-04-271-1/+0
| |
* | More generation of error codes (namespace creation, path normalization,dkf2011-04-031-6/+9
| | | | | | pipeline creation, package handling, procedures, [scan] formats)
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-6/+6
| | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | * generic/tclResult.c (ResetObjResult): Correct failure to cleardgp2011-03-081-5/+7
| | | | | | invalid intrep. Thanks to Colin McDonald. [Bug 3202905]
* | USE_DIRECT_INTERP_RESULT_ACCESS -> USE_INTERP_RESULT [TIP 330].dgp2011-03-031-2/+2
| |
* | 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.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.