summaryrefslogtreecommitdiffstats
path: root/generic/tclEnv.c
Commit message (Collapse)AuthorAgeFilesLines
* Merge 8.6jan.nijtmans2021-07-171-0/+10
|\
| * Proposed fix for [592a25a505]: Tcl_PutEnv() crashes on Windowsjan.nijtmans2021-07-161-0/+10
| |
* | Merge 8.6jan.nijtmans2021-02-181-0/+9
|\ \ | |/
| * Performance optimization in TzsetIfNecessary() function. Cherry-picked from ↵jan.nijtmans2021-02-181-0/+9
| | | | | | | | sebres-8-6-clock-speedup-cr2 branch
* | Add -finput-charset=UTF-8 and -fextended-identifiers to gcc (and clang). All ↵jan.nijtmans2020-12-081-2/+2
| | | | | | | | C sources can now use UTF-8, as far as gcc/clang/msvc support it. Not used yet
* | Merge 8.6jan.nijtmans2020-05-111-0/+11
|\ \ | |/
| * Fix [d402ffe76]: Win32 potential crash when using main(). Thanks to ↵jan.nijtmans2020-05-111-0/+11
| | | | | | | | Christian Werner for the Bug report and the Fix.
| * More uppercase HEX representations in source-code.jan.nijtmans2020-03-181-1/+1
| |
* | Merge 8.6jan.nijtmans2020-03-171-1/+1
|\ \ | |/
* | TIP 569 - remove lint commentsdgp2020-03-171-1/+0
| |
* | Merge 8.6. Also fix build with -DTCL_NO_DEPRECATED (which was also the cause ↵jan.nijtmans2020-03-151-21/+21
|\ \ | |/ | | | | of the "master" build failure)
| * Make ourEnviron type (techar **) not (char **), so we need less type-casts.jan.nijtmans2020-03-151-32/+32
| |
* | Merge 8.6jan.nijtmans2020-03-141-1/+1
|\ \ | |/
| * Fix one wrong type-cast (only causing warning, nothing serious)jan.nijtmans2020-03-141-1/+1
| |
* | Merge 8.6jan.nijtmans2020-03-141-22/+43
|\ \ | |/
| * Merge 8.6. jan.nijtmans2020-03-131-8/+8
| |\ | | | | | | Code review: Tcl 8.6 doesn't (need to) build with -DUNICODE -D_UNICODE any more, so things can be simplified. Good work, thanks!
| * | fix back-ported from tclSE (with several modifications due to conflicts and ↵sebres2020-03-131-22/+43
| |/ | | | | | | compat reasons)
* | (no comment)dgp2020-03-061-2/+1
| |
* | Implement TIP #557: C++ support for Tcljan.nijtmans2020-02-281-11/+12
|\ \
| * \ Merge tip-548jan.nijtmans2019-08-291-1/+2
| |\ \
| * \ \ Merge tip-548 (since using the *WChar* functions leads to less type-casts in ↵jan.nijtmans2019-08-031-2/+2
| |\ \ \ | | |/ / | | | | | | | | | | | | c++) Als finish implementaton for MacOSX
| * | | Merge 8.7. Continue implementation for win32jan.nijtmans2019-08-021-3/+3
| |\ \ \ | | |/ /
| * | | Merge 8.7, and continue implementation. Almost donejan.nijtmans2019-07-101-5/+5
| |/ /
* | | Merge 8.6jan.nijtmans2020-02-261-3/+3
|\ \ \ | |/ / |/| / | |/
| * Resolve a number of shadowed variables (discovered by compiling with -Wshadow)jan.nijtmans2020-02-261-3/+3
| |
| * Add one more knownMsvcBug marker, for a test-case which sometimes fails in ↵jan.nijtmans2019-08-021-1/+2
| | | | | | | | | | Travis. Fix a struct initializer, add two typecasts and a "const", which can generate gcc warnings with some compiler options.
* | Fix gcc compiler warningjan.nijtmans2019-03-071-1/+2
| |
* | Merge 8.6. Remove unneeded code from init.tcljan.nijtmans2019-03-071-0/+12
|\ \ | |/
| * Fix [9471e6e304]: InitWinEnv not thread safejan.nijtmans2019-03-071-0/+12
| |
* | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵jan.nijtmans2019-02-271-5/+5
|/ | | | and (unsigned) type-casts, which don't make sense any more.
* Unbreak build on Windows (and - most likely - some other platforms too)jan.nijtmans2018-06-181-3/+2
|
* Full cleanup of env cache when in a PURIFY build.pooryorick2018-06-181-1/+9
|
* Plug leak in TclSetEnv.pooryorick2018-06-181-0/+4
|
* Fix [6f2f83cc149e9918884faffefebc8dfa695f4ea0|6f2f83cc14]: tclWinload.c ↵jan.nijtmans2017-11-031-0/+1
| | | | robustness. And fix a minor possible memory leak in TclSetupEnv() as well. Thanks to Christian Werner for both suggestions, backported from Androwish.
* Proposed fix for [9b47029467631832]: testing existence of env(some_thing) ↵jan.nijtmans2016-02-191-3/+3
| | | | | destroys traces. Was the comment [http://core.tcl.tk/tcl/artifact/f93c0675115b73ce?ln=554|here] not correct after all?.
* Remove useless code, trying to sync win32 environment variables with ↵jan.nijtmans2015-05-251-98/+1
|\ | | | | | | cygwin's. cygwin1.dll is responsible for doing that. Taken over from cygwin's tcl fork.
| * Remove useless code, trying to sync win32 environment variables with ↵jan.nijtmans2015-05-251-99/+1
| | | | | | | | cygwin's. cygwin1.dll is responsible for doing that. Taken over from cygwin's tcl fork.
* | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-101-2/+2
| | | | | | | | | | Clang/LLVM) don't define it, and _WIN32 is much more portable anyway. See: [http://nadeausoftware.com/articles/2012/01/c_c_tip_how_use_compiler_predefined_macros_detect_operating_system#WindowsCygwinnonPOSIXandMinGW]
* | ... and don't break env-5.3 and env-5.5 test-cases.jan.nijtmans2013-11-201-0/+1
| |
* | Bug Fix: EnvTraceProc() MUST always return NULL to indicate success.jan.nijtmans2013-11-201-1/+1
| |
* | [219226]: Rewrote how ::env is synchronized to the environment so it no longerdkf2013-09-271-16/+65
| | | | | | | | smashes the array or its elements flat, This affects traces on env, links to env, and iterations over env: it makes them work as naïvely expected.
* | use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_pathjan.nijtmans2012-06-261-2/+2
|\ \ | |/
| * use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_pathjan.nijtmans2012-06-261-2/+2
| |\
| | * tclStubInit.c: move up #undef, so it is clear that thisjan.nijtmans2012-04-041-4/+0
| | | | | | | | | | | | macro is conflicting with another definition in this file. Fix some other gcc warnings
| | * [Bug 3288345] Wrong Tcl_StatBuf used on Cygwinjan.nijtmans2012-03-201-79/+6
| | | | | | | | | (backported from Tcl 8.5)
* | | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-271-0/+1
|\ \ \ | |/ /
| * | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongsjan.nijtmans2012-04-271-0/+1
| | |
* | | cygwin should use SetEnvironmentVariable for windows envjan.nijtmans2012-04-061-13/+2
|\ \ \ | |/ /
| * | cygwin should use SetEnvironmentVariable for windows envjan.nijtmans2012-04-051-17/+6
| | |
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-9/+8
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.