summaryrefslogtreecommitdiffstats
path: root/generic/tclMain.c
Commit message (Collapse)AuthorAgeFilesLines
* TIP 660. No compiler warnings. Tests suite pass on Win and Ubuntuapnadkarni2023-03-301-10/+10
|
* Merge 8.7jan.nijtmans2022-11-201-1/+1
|\
| * Merge 8.6. TIP #651 implementation (since there are already 2 YES votes, no ↵jan.nijtmans2022-11-201-1/+1
| |\ | | | | | | | | | NO votes expected)
* | \ Merge 8.7jan.nijtmans2022-10-211-4/+4
|\ \ \ | |/ /
* | | More protections for invalid argc valuesjan.nijtmans2022-04-011-7/+9
| | |
* | | Merge 9.0jan.nijtmans2022-03-211-1/+1
|\ \ \
| * | | Fix compiler warnings, due to the use of macro'sjan.nijtmans2022-03-211-1/+1
| | | |
* | | | Use size_t in Tcl_MainEx()jan.nijtmans2022-02-251-1/+1
|/ / /
* | | Merge 8.7jan.nijtmans2022-02-021-2/+2
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2022-02-021-2/+2
| |\ \ | | |/
| | * Change DEFAULT_PRIMARY_PROMPT from #define to static const string (saves a ↵jan.nijtmans2022-02-021-2/+2
| | | | | | | | | | | | strlen() call)
* | | Merge 8.7jan.nijtmans2022-02-011-1/+1
|\ \ \ | |/ /
| * | Merge 8.6jan.nijtmans2022-02-011-6/+7
| |\ \ | | |/
| | * Code cleanup in tclMain.c and tclAppInit.c: Make them Tcl-8.7-aware, usable ↵jan.nijtmans2022-02-011-10/+11
| | | | | | | | | | | | as more generic examples for extensions.
| | * More usage of TclNewObj() in stead of Tcl_NewObj() and TclNewIntObj() in ↵jan.nijtmans2020-10-131-3/+4
| | | | | | | | | | | | stead of Tcl_NewIntObj()
| * | take advantage of what we know re: argv guarantees ↵bch2022-01-281-7/+5
| | | | | | | | | | | | [https://www.iso-9899.info/n1570.html#5.1.2.2.1|argv spec] (per @cousteau on #tcl)
| * | rejig argv/argc handling in response to investigation prompted by ↵bch2022-01-281-9/+17
| | | | | | | | | | | | | | | [https://arstechnica.com/information-technology/2022/01/a-bug-lurking-for- 12-years-gives-attackers-root-on-every-major-linux-distro/|this "polkit issue"] and some experimenting w/ execve() (ab)use. Essentially port of [0e1d2702ab] and its parent; discussed at length on IRC
* | | take advantage of what we know re: argv guarantees ↵bch2022-01-291-6/+4
| | | | | | | | | | | | [https://www.iso-9899.info/n1570.html#5.1.2.2.1|argv spec] (per @cousteau on #tcl)
* | | be more strict about using argv[0]bch2022-01-281-2/+4
| | |
* | | rejig argv/argc Tcl_MainEx() handling, prompted by outside discussion re: ↵bch2022-01-281-9/+15
| | | | | | | | | | | | current [https://arstechnica.com/information-technology/2022/01/a-bug-lurking-for-12-years-gives-attackers-root-on-every-major-linux-distro/|polkit] issues, and comparisons of execve(2) abuse/mitigation (esp wrt OpenBSD); Probably most importantly, the access to argv has been limited to indexing, not swapping back/forth between indexing and advancing argv; pls review
* | | Merge 8.7, resolve conflictsjan.nijtmans2021-01-111-4/+4
|\ \ \ | |/ /
* | | Merge 8.7 (resolve conflicts)dgp2021-01-081-5/+0
|\ \ \ | |/ /
| * | Simplifications when assuming VS 2015 or laterjan.nijtmans2020-12-171-5/+0
| | |
* | | Merge 8.7jan.nijtmans2020-12-081-3/+3
|\ \ \ | |/ /
| * | 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
* | | Merge 8.7jan.nijtmans2020-10-091-2/+2
|\ \ \ | |/ /
| * | Merge 8.6. Don't inline functions which are too big to be inlined (according ↵jan.nijtmans2020-10-091-2/+2
| |\ \ | | |/ | | | | | | to the -Winline compiler flag)
* | | Merge 8.7jan.nijtmans2020-09-171-5/+6
|\ \ \ | |/ /
| * | Eliminate many usages of Tcl_NewObj (-> TclNewObj) and Tcl_NewIntObj (-> ↵jan.nijtmans2020-09-171-5/+6
| | | | | | | | | | | | TclNewIntObj or Tcl_NewWideIntObj)
* | | Merge 8.7. Use more TCL_INDEX_NONE in documentation/headers/code.jan.nijtmans2020-06-041-2/+2
|\ \ \ | |/ /
* | | merge 8.7dgp2020-03-171-1/+0
|\ \ \ | |/ /
| * | TIP 569 - remove lint commentsdgp2020-03-171-1/+0
| | |
* | | Merge 8.7jan.nijtmans2020-03-071-2/+1
|\ \ \ | |/ /
| * | moredgp2020-03-061-2/+1
| | |
* | | Merge 8.7jan.nijtmans2020-02-281-1/+1
|\ \ \ | |/ /
* | | Merge 8.7jan.nijtmans2020-02-281-2/+3
|\ \ \ | |/ /
| * | Merge 8.7jan.nijtmans2020-02-261-1/+1
| |\ \
| * \ \ Merge 8.7jan.nijtmans2020-01-071-1/+1
| |\ \ \
| * \ \ \ Merge 8.7jan.nijtmans2019-10-011-36/+15
| |\ \ \ \
| * \ \ \ \ Let's try a real C++ build with Travis on Linuxjan.nijtmans2019-08-301-0/+1
| |\ \ \ \ \
| * \ \ \ \ \ Merge tip-548 (since using the *WChar* functions leads to less type-casts in ↵jan.nijtmans2019-08-031-4/+2
| |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | c++) Als finish implementaton for MacOSX
| * \ \ \ \ \ \ Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-1/+1
| |\ \ \ \ \ \ \
| * | | | | | | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-2/+2
| |/ / / / / / /
* | | | | | | | Merge 8.7jan.nijtmans2020-02-211-1/+1
|\ \ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | |
| * | | | | | | Merge 8.6jan.nijtmans2020-02-211-1/+1
| |\ \ \ \ \ \ \ | | |_|_|_|_|/ / | |/| | | | | / | | | |_|_|_|/ | | |/| | | |
| | * | | | | Restore compatibility with older (mingw) Makefiles. Fix for [4b5deacc70]: ↵jan.nijtmans2020-02-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | undefined reference to `Tcl_SetStartupScript'.
* | | | | | | Merge 8.7jan.nijtmans2020-01-071-1/+1
|\ \ \ \ \ \ \ | |/ / / / / /
| * | | | | | Remove type-casts in many Tcl_LinkVar() calls, which is no longer necessary ↵jan.nijtmans2020-01-071-1/+1
| | |_|_|_|/ | |/| | | | | | | | | | | | | | | | | | | | | | since 8.7. Small missing piece in Tcl_LinkArray() implementation, handling (unsigned) longs on 64-bit platforms.
* | | | | | Merge 8.7jan.nijtmans2019-09-291-36/+15
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Use Tcl_WCharToUtfDString in stead of (deprecated) Tcl_WinTCharToUtfjan.nijtmans2019-09-291-1/+2
| | | | | |