Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Changes In Branch enums-3 Excluding Merge-Ins
This is equivalent to a diff from dcbfbb03e5 to 3d1b390427
|
2025-11-17
| ||
| 10:29 | Merge 9.0. Fix type of dstLen in Encoding.3 check-in: a91ff21071 user: apnadkarni tags: trunk, main | |
| 09:18 | merge trunk Leaf check-in: 8d7f54a91b user: dkf tags: c11-automarker | |
|
2025-11-16
| ||
| 21:36 | Merge trunk check-in: 46e44cea28 user: jan.nijtmans tags: tip-615 | |
| 14:49 | merge trunk check-in: 99532e9544 user: dkf tags: c11-anon-members | |
|
2025-11-15
| ||
| 21:56 | merge trunk Leaf check-in: 459669e809 user: dkf tags: c-std-update | |
| 14:06 | merge trunk Leaf check-in: 3d1b390427 user: dkf tags: enums-3 | |
| 14:01 | Create an enum from some related defines check-in: dcbfbb03e5 user: dkf tags: trunk, main | |
|
2025-11-14
| ||
| 16:22 | Merge-mark check-in: 00f41692f4 user: jan.nijtmans tags: trunk, main | |
|
2025-11-10
| ||
| 15:09 | merge trunk check-in: 7ffebdfab0 user: dkf tags: enums-3 | |
Changes to generic/tcl.h.
| ︙ | |||
1247 1248 1249 1250 1251 1252 1253 | 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 | - + |
struct Tcl_Event *nextPtr; /* Next in list of pending events, or NULL. */
};
/*
* Positions to pass to Tcl_QueueEvent/Tcl_ThreadQueueEvent:
*/
|
| ︙ |
Changes to generic/tclAssembly.c.
| ︙ | |||
123 124 125 126 127 128 129 | 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 | - + | * stack. */ }; /* * Source instruction type recognized by the assembler. */ |
| ︙ |
Changes to generic/tclBinary.c.
| ︙ | |||
2454 2455 2456 2457 2458 2459 2460 | 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 | - + |
{
Tcl_Obj *resultObj = NULL;
unsigned char *data, *datastart, *dataend;
unsigned char *begin, *cursor, c;
int i, index, value, pure = 1, strict = 0;
Tcl_Size size, cut = 0, count = 0;
int ucs4;
|
| ︙ | |||
2582 2583 2584 2585 2586 2587 2588 | 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 | - + |
Tcl_Obj *resultObj;
unsigned char *data, *limit;
Tcl_WideInt maxlen = 0;
const char *wrapchar = "\n";
Tcl_Size wrapcharlen = 1;
int index, purewrap = 1;
Tcl_Size i, offset, size, outindex = 0, count = 0;
|
| ︙ | |||
2711 2712 2713 2714 2715 2716 2717 | 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 | - + |
unsigned char *data, *start, *cursor;
int i, bits;
unsigned int n;
int lineLength = 61;
const unsigned char SingleNewline[] = { UCHAR('\n') };
const unsigned char *wrapchar = SingleNewline;
Tcl_Size j, rawLength, offset, count = 0, wrapcharlen = sizeof(SingleNewline);
|
| ︙ | |||
2860 2861 2862 2863 2864 2865 2866 | 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 | - + |
Tcl_Obj *resultObj = NULL;
unsigned char *data, *datastart, *dataend;
unsigned char *begin, *cursor;
int i, index, pure = 1, strict = 0, lineLen;
Tcl_Size size, count = 0;
unsigned char c;
int ucs4;
|
| ︙ | |||
3037 3038 3039 3040 3041 3042 3043 | 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 | - + |
unsigned char *data, *datastart, *dataend, c = '\0';
unsigned char *begin = NULL;
unsigned char *cursor = NULL;
int pure = 1, strict = 0;
int i, index, cut = 0;
Tcl_Size size, count = 0;
int ucs4;
|
| ︙ |
Changes to generic/tclCmdIL.c.
| ︙ | |||
98 99 100 101 102 103 104 | 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 | - + - + |
/*
* Definitions for [lseq] command
*/
static const char *const seq_operations[] = {
"..", "to", "count", "by", NULL
};
|
| ︙ |
Changes to generic/tclCompile.h.
| ︙ | |||
103 104 105 106 107 108 109 | 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 | - + | * break command is executed, the ExceptionRange structure for the most deeply * nested loop, if any, is found and used. These structures are also generated * for the "next" subcommands of for loops since a break there terminates the * for command. This means a for command actually generates two LoopInfo * structures. */ |
| ︙ | |||
1036 1037 1038 1039 1040 1041 1042 | 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 | - + | * target PC. When we learn the target PC, we update the jumps with the * correct distance. Also, if the distance is too great (> 127 bytes), we * replace the single-byte jump with a four byte jump instruction, move the * instructions after the jump down, and update the code offsets for any * commands between the jump and the target. */ |
| ︙ |
Changes to generic/tclIOCmd.c.
| ︙ | |||
1817 1818 1819 1820 1821 1822 1823 | 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 | - + |
Tcl_Obj *const objv[]) /* Argument objects. */
{
Tcl_Channel inChan, outChan;
int mode, i, index;
Tcl_WideInt toRead;
Tcl_Obj *cmdPtr;
static const char *const switches[] = { "-size", "-command", NULL };
|
| ︙ |
Changes to generic/tclIORChan.c.
| ︙ | |||
146 147 148 149 150 151 152 | 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | - + |
/*
* Event literals. ==================================================
*/
static const char *const eventOptions[] = {
"read", "write", NULL
};
|
| ︙ | |||
168 169 170 171 172 173 174 | 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 | - + |
"read", /* OPT */
"seek", /* OPT */
"truncate", /* OPT */
"watch", /* */
"write", /* OPT */
NULL
};
|
| ︙ | |||
209 210 211 212 213 214 215 | 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 | - + | * send'. */ /* * Enumeration of all operations which can be forwarded. */ |
| ︙ |
Changes to generic/tclIORTrans.c.
| ︙ | |||
187 188 189 190 191 192 193 | 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 | - + |
"flush", /* OPT, flush => write */
"initialize", /* */
"limit?", /* OPT */
"read", /* OPT */
"write", /* OPT */
NULL
};
|
| ︙ | |||
220 221 222 223 224 225 226 | 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 | - + | * send'. */ /* * Enumeration of all operations which can be forwarded. */ |
| ︙ |
Changes to generic/tclIcu.c.
| ︙ | |||
31 32 33 34 35 36 37 | 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 | - + |
U_ZERO_ERRORZ = 0, /**< No error, no warning. */
U_BUFFER_OVERFLOW_ERROR = 15,
} UErrorCodex;
#define U_SUCCESS(x) ((x)<=U_ZERO_ERRORZ)
#define U_FAILURE(x) ((x)>U_ZERO_ERRORZ)
|
| ︙ | |||
253 254 255 256 257 258 259 | 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 | + - - + + |
#define unorm2_getNFKDInstance icu_fns._unorm2_getNFKDInstance
#define unorm2_normalize icu_fns._unorm2_normalize
TCL_DECLARE_MUTEX(icu_mutex);
/* Options used by multiple normalization functions */
static const char *normalizationForms[] = {"nfc", "nfd", "nfkc", "nfkd", NULL};
typedef enum NormalizationMode {
|
| ︙ | |||
963 964 965 966 967 968 969 | 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 | - + |
return TCL_ERROR;
}
objc -= 2; /* truncate fixed arguments */
/* Use GetIndexFromObj for option parsing so -failindex can be added later */
static const char *optNames[] = {"-profile", "-failindex", NULL};
|
| ︙ | |||
1126 1127 1128 1129 1130 1131 1132 | 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 | - + |
IcuNormalizeObjCmd(
TCL_UNUSED(void *),
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
{
static const char *optNames[] = {"-profile", "-mode", NULL};
|
| ︙ |
Changes to generic/tclInt.h.
| ︙ | |||
522 523 524 525 526 527 528 | 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 | - + |
Tcl_Size numParameters; /* Cached number of parameters. This is either
* 0 (if the parameterList field is NULL) or
* the length of the list in the parameterList
* field. */
} EnsembleConfig;
/*
|
| ︙ | |||
2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 | 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 | + + | * however, if the TCL_CANCEL_UNWIND flag is * set Tcl_Canceled will continue to report * that the script in progress has been * canceled thereby allowing the evaluation * stack for the interp to be fully unwound. */ }; #ifndef MAX_NESTING_DEPTH /* * Default maximum number of levels of nesting permitted in Tcl commands (used * to catch infinite recursion). */ #define MAX_NESTING_DEPTH 1000 #endif /* * The macro below is used to modify a "char" value (e.g. by casting it to an * unsigned character) so that it can be used safely with macros such as * isspace. */ |
| ︙ | |||
2519 2520 2521 2522 2523 2524 2525 | 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 | - + | "unable to alloc %" TCL_Z_MODIFIER "u bytes", (size_t)(size)), 1))) /* * The following enum values are used to specify the runtime platform setting * of the tclPlatform variable. */ |
| ︙ | |||
2583 2584 2585 2586 2587 2588 2589 2590 | 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 | + - + |
Tcl_Size numUsed; /* Number of slots in use (starting firstUsed) */
Tcl_Size numAllocated; /* Total number of slots[] array slots. */
size_t refCount; /* Number of references to this instance. */
int flags; /* LISTSTORE_* flags */
Tcl_Obj *slots[TCLFLEXARRAY];
/* Variable size array. Grown as needed */
} ListStore;
enum ListStoreFlags {
|
| ︙ |
Changes to generic/tclMain.c.
| ︙ | |||
86 87 88 89 90 91 92 | 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 | - + | /* * Structure definition for information used to keep the state of an * interactive command processor that reads lines from standard input and * writes prompts and results to standard output. */ |
| ︙ |
Changes to generic/tclNamesp.c.
| ︙ | |||
4716 4717 4718 4719 4720 4721 4722 | 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 | - + |
Tcl_Interp *interp, /* Current interpreter. */
int objc, /* Number of arguments. */
Tcl_Obj *const objv[]) /* Argument objects. */
{
static const char *const opts[] = {
"-command", "-variable", NULL
};
|
| ︙ |
Changes to generic/tclObj.c.
| ︙ | |||
665 666 667 668 669 670 671 | 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 | - + | /* * Continuation lines coming before the string and affecting us * should not happen, due to the proper maintenance of clNext * during compilation. */ |
| ︙ |
Changes to generic/tclTest.c.
| ︙ | |||
3845 3846 3847 3848 3849 3850 3851 | 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 | - + |
static const char *const subcommands[] = {
"new",
"describe",
"config",
"validate",
NULL
};
|
| ︙ |
Changes to macosx/tclMacOSXFCmd.c.
| ︙ | |||
76 77 78 79 80 81 82 | 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 | - + |
NULL, /* freeIntRepProc */
NULL, /* dupIntRepProc */
UpdateStringOfOSType, /* updateStringProc */
SetOSTypeFromAny, /* setFromAnyProc */
TCL_OBJTYPE_V0
};
|
| ︙ |
Changes to unix/tclUnixSock.c.
| ︙ | |||
1641 1642 1643 1644 1645 1646 1647 | 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 | - + |
TcpFdList *fds = NULL, *newfds;
/*
* Try to record and return the most meaningful error message, i.e. the
* one from the first socket that went the farthest before it failed.
*/
|
| ︙ |
Changes to win/tclWinPipe.c.
| ︙ | |||
1581 1582 1583 1584 1585 1586 1587 | 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 | - + |
#endif
/*
* Quote flags:
* CL_ESCAPE - escape argument;
* CL_QUOTE - enclose in quotes;
* CL_UNPAIRED - previous arguments chain contains unpaired quote-char;
*/
|
| ︙ |