Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Merge tip-548 (since using the *WChar* functions leads to less type-casts in ↵ | jan.nijtmans | 2019-08-03 | 1 | -2/+2 |
|\ | | | | | | | | | c++) Als finish implementaton for MacOSX | ||||
* \ | Merge 8.7. Continue implementation for win32 | jan.nijtmans | 2019-08-02 | 1 | -3/+3 |
|\ \ | |/ | |||||
* | | Merge 8.7, and continue implementation. Almost done | jan.nijtmans | 2019-07-10 | 1 | -5/+5 |
|/ | |||||
* | Fix gcc compiler warning | jan.nijtmans | 2019-03-07 | 1 | -1/+2 |
| | |||||
* | Merge 8.6. Remove unneeded code from init.tcl | jan.nijtmans | 2019-03-07 | 1 | -0/+12 |
|\ | |||||
| * | Fix [9471e6e304]: InitWinEnv not thread safe | jan.nijtmans | 2019-03-07 | 1 | -0/+12 |
| | | |||||
* | | More use of (efficient) TclHasIntRep() macro. Also eliminate many (size_t) ↵ | jan.nijtmans | 2019-02-27 | 1 | -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.nijtmans | 2018-06-18 | 1 | -3/+2 |
| | |||||
* | Full cleanup of env cache when in a PURIFY build. | pooryorick | 2018-06-18 | 1 | -1/+9 |
| | |||||
* | Plug leak in TclSetEnv. | pooryorick | 2018-06-18 | 1 | -0/+4 |
| | |||||
* | Fix [6f2f83cc149e9918884faffefebc8dfa695f4ea0|6f2f83cc14]: tclWinload.c ↵ | jan.nijtmans | 2017-11-03 | 1 | -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.nijtmans | 2016-02-19 | 1 | -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.nijtmans | 2015-05-25 | 1 | -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.nijtmans | 2015-05-25 | 1 | -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.nijtmans | 2014-02-10 | 1 | -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.nijtmans | 2013-11-20 | 1 | -0/+1 |
| | | |||||
* | | Bug Fix: EnvTraceProc() MUST always return NULL to indicate success. | jan.nijtmans | 2013-11-20 | 1 | -1/+1 |
| | | |||||
* | | [219226]: Rewrote how ::env is synchronized to the environment so it no longer | dkf | 2013-09-27 | 1 | -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_path | jan.nijtmans | 2012-06-26 | 1 | -2/+2 |
|\ \ | |/ | |||||
| * | use cygwin_conv_path() in stead of deprecated cygwin_conv_to_full_posix_path | jan.nijtmans | 2012-06-26 | 1 | -2/+2 |
| |\ | |||||
| | * | tclStubInit.c: move up #undef, so it is clear that this | jan.nijtmans | 2012-04-04 | 1 | -4/+0 |
| | | | | | | | | | | | | macro is conflicting with another definition in this file. Fix some other gcc warnings | ||||
| | * | [Bug 3288345] Wrong Tcl_StatBuf used on Cygwin | jan.nijtmans | 2012-03-20 | 1 | -79/+6 |
| | | | | | | | | | (backported from Tcl 8.5) | ||||
* | | | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongs | jan.nijtmans | 2012-04-27 | 1 | -0/+1 |
|\ \ \ | |/ / | |||||
| * | | Move CYGWIN-specific stuff from tclPort.h to tclUnixPort.h, where it belongs | jan.nijtmans | 2012-04-27 | 1 | -0/+1 |
| | | | |||||
* | | | cygwin should use SetEnvironmentVariable for windows env | jan.nijtmans | 2012-04-06 | 1 | -13/+2 |
|\ \ \ | |/ / | |||||
| * | | cygwin should use SetEnvironmentVariable for windows env | jan.nijtmans | 2012-04-05 | 1 | -17/+6 |
| | | | |||||
* | | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts in | dkf | 2011-03-12 | 1 | -9/+8 |
| | | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. | ||||
* | | | MINOR: Formatting fixes, mainly to comments, so code better fits the style in | dkf | 2011-03-10 | 1 | -2/+2 |
| | | | | | | | | | the Engineering Manual. | ||||
* | | | Now that we're no longer using SCM based on RCS, the RCS Keyword lines | dgp | 2011-03-02 | 1 | -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 cause | dgp | 2011-03-02 | 1 | -2/+0 |
| |\ \ | | |/ | | | | more harm than good. Purged them. | ||||
| | * | Now that we're no longer using SCM based on RCS, the RCS Keyword lines cause | dgp | 2011-03-01 | 1 | -2/+0 |
| | | | | | | | | | more harm than good. Purged them. | ||||
| | * | * generic/tclEnv.c: improve environ handling on Mac OS X (adapted | das | 2007-08-07 | 1 | -23/+1 |
| | | | | | | | | | | | | * unix/tclUnixPort.h: from Apple changes in Darwin tcl-64). | ||||
| | * | * generic/tclEnv.c (Darwin): mark _environ symbol as unexported. | das | 2006-10-31 | 1 | -1/+2 |
| | | | |||||
| | * | * win/tclWinPort.h: define USE_PUTENV_FOR_UNSET 1 | hobbs | 2005-10-05 | 1 | -13/+32 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEnv.c (TclSetEnv, TclUnsetEnv): add USE_PUTENV_FOR_UNSET to existing USE_PUTENV define to account for various systems that have putenv(), but can't unset env vars with it. Note difference between Windows and Linux for actually unsetting the env var (use of '='). Correct the resizing of the environ array. We assume that we are in full ownership, but that's not correct.[Bug 979640] | ||||
| | * | * generic/tclEnv.c (TclUnsetEnv): Another putenv() copy behavior | hobbs | 2003-05-14 | 1 | -1/+6 |
| | | | | | | | | | | | | | | | problem repaired when compiling on windows and using microsoft's runtime. [Bug 736421] (gravereaux) | ||||
| * | | Fix environment tests under CYGWIN | nijtmans | 2010-01-06 | 1 | -10/+22 |
| | | | |||||
* | | | * generic/tclBasic.c, generic/tclClock.c, generic/tclEncoding.c, | dkf | 2010-10-01 | 1 | -9/+12 |
| | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclEnv.c, generic/tclLoad.c, generic/tclNamesp.c, * generic/tclObj.c, generic/tclRegexp.c, generic/tclResolve.c, * generic/tclResult.c, generic/tclUtil.c, macosx/tclMacOSXFCmd.c: More purging of strcpy() from locations where we already know the length of the data being copied. | ||||
* | | | Remove unused @MAN2TCLFLAGS@ | nijtmans | 2010-04-28 | 1 | -5/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move <limits.h> include from tclInt.h to tclWinPort.h, and eliminate unneeded <stdlib.h>, <stdio.h> and <string.h>, which are already in tclInt.h Move "tclInt.h" from regcustom.h up to regex.h. tclAlloc.c: Unneeded <stdio.h> include tclExecute.c: Fix gcc warning: comparison between signed and unsigned | ||||
* | | | Code Audit results: | dkf | 2010-03-05 | 1 | -3/+2 |
| | | | | | | | | | | | | | | | | | | | | | | | | * use do { ... } while (0) in macros * avoid shadowing one local variable with another * use clearer 'foo.bar++;' instead of '++foo.bar;' where result not required (i.e., semantically equivalent) * follow Engineering Manual rules on spacing and declarations | ||||
* | | | Fix TCL_LL_MODIFIER for Cygwin | nijtmans | 2010-01-13 | 1 | -3/+9 |
| | | | | | | | | | | | | | | | and various other minor CYGWIN compilation problems | ||||
* | | | Various CYGWIN-related fixes. In the win32 configure script, CYGWIN is still ↵ | nijtmans | 2009-12-21 | 1 | -7/+12 |
| | | | | | | | | | | | | not enabled yet, but at least it is a step in the right direction. | ||||
* | | | Generalize mysterious comment about causes for ::env misses | ferrieux | 2009-01-04 | 1 | -2/+3 |
| | | | |||||
* | | | CONSTify TclDTraceInfo | nijtmans | 2008-10-28 | 1 | -2/+2 |
|/ / | | | | | | | Eliminate some -Wstrings-write warnings | ||||
* | | merge stable branch onto HEAD | dgp | 2007-12-13 | 1 | -1/+1 |
| | | |||||
* | | Silence syntax warning by Sun C compiler. [Bug 1840211] | dkf | 2007-12-01 | 1 | -2/+2 |
| | | |||||
* | | Reduce cast count. | dkf | 2007-11-19 | 1 | -77/+72 |
| | | |||||
* | | * generic/tclEnv.c: improve environ handling on Mac OS X (adapted | das | 2007-08-07 | 1 | -31/+1 |
| | | | | | | | | * unix/tclUnixPort.h: from Apple changes in Darwin tcl-64). | ||||
* | | * generic/tclEnv.c (ReplaceString): Clear memory correctly when | Kevin B Kenny | 2007-04-23 | 1 | -2/+3 |
| | | | | | | | | | | | | | | | | | | growing the cache to avoid reads of uninitialised data. * generic/tclStrToD.c (AccumulateDecimalDigit): Fixed a mistake where we'd run beyond the end of the 'pow10_wide' array if a number begins with a string of more than 'maxpow10_wide' zeroes. Both these issues reported under [Bug 1705778] - detected with the existing test suite, no new regression tests required. | ||||
* | | Handle creation of Tcl_Objs from constant strings better (easier to use, more | dkf | 2007-04-10 | 1 | -2/+2 |
| | | | | | | | | efficient). After [Patch 1529526] (afredd) | ||||
* | | Minor comment formatting change | dkf | 2007-03-21 | 1 | -3/+2 |
| | |