summaryrefslogtreecommitdiffstats
path: root/generic/tclDisassemble.c
Commit message (Collapse)AuthorAgeFilesLines
* Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-3/+3
| | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-22/+25
| | | | TclNewIntObj or Tcl_NewWideIntObj)
* Change version number of http package from 2.9.5 -> 2.10.0a1, since it's ↵jan.nijtmans2020-09-171-2/+2
|\ | | | | | | | | different from the 2.9.5 version in Tcl 8.6.x. Use "$idx >= 0" check in stead of "$idx > -1" everywhere.
* \ merge 8.6dgp2020-04-021-22/+8
|\ \ | |/
| * Adapt another caller. This one had a bug when (TCL_UTF_MAX == 4) because itdgp2020-04-021-22/+8
| | | | | | | | was never adapted when TclUtfToUniChar change from returning 0 to returning 1 for a high surrogate.
* | Merge 8.6jan.nijtmans2020-03-181-5/+5
|\ \ | |/
| * More uppercase HEX representations in source-code.jan.nijtmans2020-03-181-5/+5
| |
* | more unused argumentsdgp2020-03-061-6/+3
| |
* | Merge 8.7jan.nijtmans2020-02-131-1/+1
|\ \
| * \ Merge 8.7jan.nijtmans2019-09-251-3/+3
| |\ \
| * \ \ Merge tip-548jan.nijtmans2019-06-091-1/+1
| |\ \ \
| * | | | Merge 8.7jan.nijtmans2019-03-161-1/+1
| | | | | | | | | | | | | | | | | | | | Move up some stub entries related to Tcl_UniChar Use TCL_UTF_MAX=4 for full Unicode in stead of TCL_UTF_MAX=6 (TCL_UTF_MAX: 3 is default)
* | | | | Merge tip-548jan.nijtmans2019-08-291-7/+5
|\ \ \ \ \ | | |_|/ / | |/| | |
* | | | | Merge tip-548jan.nijtmans2019-08-151-3/+3
|\ \ \ \ \ | |/ / / /
| * | | | Eliminate "register" keyword _everywhere_ in Tcl. This keyword is deprecated ↵jan.nijtmans2019-07-171-3/+3
| | |/ / | |/| | | | | | | | | | in C++ (removed in C++17, even), and essentially does nothing with most modern compilers.
* | | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-1/+1
|/ / /
* | | More usage of TCL_INDEX_NONE in stead of -1. More internal use of size_t, ↵jan.nijtmans2019-06-071-1/+1
|/ / | | | | | | mainly in memory statistics (debug-mode only), and TCL_Z_MODIFIER. This gives broader memory statistics on win64.
* | New internal macro TclHasIntRep() to re-encapsulate the typePtr field.dgp2019-02-251-4/+4
| |
* | New internal macro TclFetchIntRep, which is faster than Tcl_FetchIntRep. jan.nijtmans2019-01-281-3/+3
| | | | | | But ... don't use this function when the result is only compared to NULL: that's just overkill.
* | merge 8.7dgp2018-10-241-1/+1
|\ \
| * | Change PTR2INT and PTR2UINT macros's so they can handle long's and ↵jan.nijtmans2018-10-211-1/+1
| | | | | | | | | | | | Tcl_WideInt's too, so no longer restricted to the "int" range.
* | | merge 8.7dgp2018-10-181-1/+1
|\ \ \ | |/ /
| * | Fix "string tolower" and friends for handling unpaired surrogates correctly. ↵jan.nijtmans2018-06-241-1/+1
| | | | | | | | | | | | | | | Also add test-cases for those situations. Various typo's in comments.
* | | merge 8.7dgp2018-02-151-5/+5
|\ \ \ | |/ /
| * | Guarantee the buffer is large enough it will not be overrun.dgp2018-02-151-1/+2
| | |
| * | Move TclGetBooleanFromObj to tclInt.h, so multiple source files can use it. ↵jan.nijtmans2018-02-141-4/+3
| | | | | | | | | | | | Change some internal variables from int to size_t.
* | | merge 8.7dgp2018-02-091-1/+1
|\ \ \ | |/ /
| * | small code review: resolve conversion warnings (possible loss of data, ↵sebres2018-02-091-2/+2
| | | | | | | | | | | | signed/unsigned comparison)
* | | merge 8.7dgp2018-02-061-2/+2
|\ \ \ | |/ /
| * | merge core-8-branchjan.nijtmans2017-12-191-2/+2
| |\ \
| * | | Experimental branch meant to eliminate the "wideint" type, just merge it to ↵jan.nijtmans2017-10-301-3/+3
| | | | | | | | | | | | | | | | a single "int" type. No effect on linux64 and similar systems, code simplification for Win64 and 32-bit system. No TIP yet, implementation ongoing.
* | | | merge 8.7dgp2017-12-191-2/+2
|\ \ \ \ | | |/ / | |/| |
| * | | Make TclEnsureNamespace() MODULE_SCOPE. Also change some refCount fields ↵jan.nijtmans2017-12-191-2/+2
| |/ / | | | | | | | | | from type "int" to "unsigned int" for increased range.
* | | merge trunkdgp2017-04-271-18/+16
|\ \ \ | |/ /
| * | [50750c735a] Fix broken test and stop reading uninit-but-allocated memory in ↵dkf2017-04-271-18/+16
| |\ \ | | |/ | | | | | | zlib channel transform.
| | * A better way of getting source file location information when disassembling.dkf2017-04-221-18/+16
| | |
* | | merge trunkdgp2017-04-061-8/+4
|\ \ \ | |/ /
| * | Since Tcl_AppendPrintfToObj() now understands the %p format, we can use it. ↵jan.nijtmans2017-03-311-8/+4
| | | | | | | | | | | | Eliminating some internal string buffers.
| * | Partially backout [ef4da65408] because AppendPrintfToObjVA() (used ↵andy2016-11-241-2/+2
| | | | | | | | | | | | indirectly by [tcl::unsupported::disassemble]) does not yet support wide and bignum arguments. This fixes a SIGSEGV in compile.test and makes [disassemble] work again.
| * | More internal use of size_t in stead of int.jan.nijtmans2016-11-211-2/+2
| | |
* | | Purge more direct accesses to bytes field.dgp2016-10-071-3/+1
| | |
* | | merge trunkdgp2016-07-091-3/+136
|\ \ \ | |/ /
| * | Micro-optimization: Use TclGetStringFromObj in stead of Tcl_GetStringFromObj ↵jan.nijtmans2016-07-081-2/+2
| |/ | | | | | | in many places where possible.
| * Add ability to disassemble TclOO constructors and destructors ([1493a43044] ↵dkf2016-07-041-1/+134
| | | | | | | | motivates)
* | More ByteCode revisions.dgp2016-04-301-13/+17
| |
* | Use new routine TclGetLambdaFromObj to better isolate the "lambdaExpr" ObjType.dgp2016-04-041-12/+4
| | | | | | Then convert it to use the proposed routines.
* | Revise "instname" ObjType to use proposed routinesdgp2016-04-041-7/+24
| |
* | Revise the "instname" Tcl_ObjType to use the routines.dgp2016-03-241-9/+10
|/
* Make function TclDisassembleByteCodeObj() static, since it is only used in a ↵jan.nijtmans2016-01-181-6/+8
| | | | single source file.
* Put the file location information that Tcl has into the disassembled code. ↵dkf2016-01-181-9/+90
| | | | Important for tclquadcode.