summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdAH.c
Commit message (Collapse)AuthorAgeFilesLines
* Allow additional optional "interp" argument for testinterpresolver command. ↵jan.nijtmans2016-09-051-1/+1
| | | | | | Not used yet in any test-case. Protect panic in tclLiteral.c for possible null-pointer access. (cherry-picked from Gustaf Neuman's interpresolver patch). Eliminate some unecessary spacing.
* Fix "file owned" for Cygwin: st_uid is only 16-bit there.jan.nijtmans2016-07-121-1/+6
|
* Bugfix [3613671]. file owned implementation for Windows.ashok2016-07-091-11/+6
|
* Bugfix [ae61a67192]. file {stat, type, size} etc. support for built-in ↵ashok2016-07-091-0/+19
| | | | special Windows files/devices like CON.
* Align comment. Remove some end-of-line spacing. No functional changes.jan.nijtmans2015-09-281-1/+1
|\
* | Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-101-1/+1
| | | | | | | | | | 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]
* | Use more portable TclIsSpaceProc() in stead of isspace().jan.nijtmans2013-06-171-4/+3
|\ \ | |/
| * Use more portable TclIsSpaceProc() in stead of isspace(). jan.nijtmans2013-06-171-4/+3
| | | | | | Make sure that "string is space \u180e" continues to return 1 for whatever unicode version.
* | Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>jan.nijtmans2013-02-101-1/+0
|\ \ | |/
| * Unbreak msvc builds, by depending on tclPort.h for inclusion of <sys/stat.h>.jan.nijtmans2013-02-101-1/+0
| |
* | revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-0/+1
|\ \ | |/ | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| * revert [8abba84224], and make sure that every source file that uses ↵jan.nijtmans2013-01-171-0/+1
| | | | | | | | Tcl_StatBuf has an "#include <sys/stat.h>" before including tcl.h
| * 3595576 Tests/fix for mem corruption: [catch] fails to store options in a var.dgp2012-12-131-1/+0
| |
* | Add super-simple compiler to many ensemble subcommands to allow better codedkf2013-01-041-34/+34
| | | | | | | | | | generation where we can detect that we're not in the WrongNumArgs case. The compiler just checks that the argument count is in the right range and issues a standard dispatch; that's enough to do an efficient job.
* | Fix for [Bug 3595576], found by andrewshmig2012-12-131-1/+2
| |
* | compilation code adjusteddkf2012-10-051-28/+45
| |
* | merge trunkdkf2012-09-041-19/+25
|\ \
| * | more result generation conversiondkf2012-08-031-17/+22
| | |
| * | converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-2/+3
| | |
* | | Rename 'mapeach' to 'lmap' per preferred alternative in TIP #405.twylite2012-08-081-3/+3
| | |
* | | Back-out 'foreacha' implementation but leave code cleanup of 'mapeach' and ↵twylite2012-08-081-47/+11
| | | | | | | | | | | | 'dict map'.
* | | [Patch-3163961] Implementation of TIP #405 merged from private branch. ↵twylite2012-08-031-14/+96
|/ / | | | | | | Includes 'mapeach', 'dict map' and 'foreacha' commands, test suite (partial for 'foreacha') and man pages (except for 'foreacha').
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-2/+2
| |
* | [Bug 3537605]: Make [encoding dirs ? ?] report the right error message.dkf2012-06-251-7/+9
|\ \ | |/
| * [Bug 3537605]: Make [encoding dirs ? ?] report the right error message.dkf2012-06-251-7/+11
| |
| * make some more internal tables constjan.nijtmans2012-04-181-23/+23
| |\ | | | | | | a few CONST -> const changes
* | | [Bug 3445787]: Improve the compatibility of safe interpreters' version ofdkf2012-05-161-2/+40
| | | | | | | | | 'file' with that of unsafe interpreters.
* | | * generic/tclUtil.c (TclDStringToObj): Added internal function to makedkf2012-04-251-9/+3
| | | | | | | | | | | | the fairly-common operation of converting a DString into an Obj a more efficient one.
* | | [Bug 3508771] Wrong Tcl_StatBuf used on MinGWjan.nijtmans2012-03-271-1/+1
|\ \ \ | |/ / | | | | | | [Bug 2015723] duplicate inodes from file stat on windows (but now for cygwin as well)
| * | [Bug 3508771] Wrong Tcl_StatBuf used on MinGWjan.nijtmans2012-03-271-1/+1
| |\ \ | | |/ | | | | | | [Bug 2015723] duplicate inodes from file stat on windows (but now for cygwin as well)
| | * fix gcc warning signed<->unsigned warning for cygwinjan.nijtmans2012-03-261-1/+1
| | |
| | * [Bug 2935503]: Windows: file mtime sets wrong timejan.nijtmans2011-11-221-0/+5
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-161-0/+1
| | | | | | | | | | | | n mingw, sys/stat.h must be included before winsock2.h, so make sure of that
* | | 3479689 New internal routine TclJoinPath().dgp2012-01-271-1/+1
| | | | | | | | | | | | Refactor all the *Join*Path* routines to give them more useful interfaces that are easier to manage getting the refcounts right.
* | | Make [file] itself be safe, to reduce breakage in existing code. [Bug 3211758]dkf2011-09-261-0/+11
| | |
* | | Fix eval's faulty objProc, it was actually an nreProc [3399564|Bug 3399564]. ↵mig2011-08-291-0/+10
| | | | | | | | | | | | Thanks to Joe Mistachkin for detection and analysis.
* | | More generation of error codes (miscellaneous commands mostly already handled).dkf2011-04-041-0/+10
| | |
* | | Better error-message in case of errors related to setting a variablejan.nijtmans2011-04-041-8/+2
| | |
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-1/+1
| | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless.
* | | Now that we're no longer using SCM based on RCS, the RCS Keyword linesdgp2011-03-021-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 causedgp2011-03-021-2/+0
| |\ \ | | |/ | | | more harm than good. Purged them.
| | * Now that we're no longer using SCM based on RCS, the RCS Keyword lines causedgp2011-03-011-2/+0
| | | | | | | | | more harm than good. Purged them.
| | * * generic/tclBasic.c: Extended the existing TIP #280 system (infoandreas_kupries2008-07-211-3/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclCmdAH.c: frame), added the ability to track the * generic/tclCompCmds.c: absolute location of literal procedure * generic/tclCompile.c: arguments, and making this information * generic/tclCompile.h: available to uplevel, eval, and * generic/tclInterp.c: siblings. This allows proper tracking of * generic/tclInt.h: absolute location through custom (Tcl-coded) * generic/tclNamesp.c: control structures based on uplevel, etc. * generic/tclProc.c:
| | * * generic/tclBasic.c: TIP #280 implementation, conditional on the define ↵andreas_kupries2006-11-281-1/+58
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TCL_TIP280. * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompCmds.c: * generic/tclCompExpr.c: * generic/tclCompile.c: * generic/tclCompile.h: * generic/tclExecute.c: * generic/tclIOUtil.c: * generic/tclInt.h: * generic/tclInterp.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclProc.c: * tests/compile.test: * tests/info.test: * tests/platform.test: * tests/safe.test:
| | * * generic/tclBasic.c:Miguel Sofer2005-10-231-6/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclExecute.c: * generic/tclLink.c: * generic/tclMain.c: * generic/tclProc.c: * generic/tclScan.c: * generic/tclTest.c: * generic/tclVar.c: * mac/tclMacInit.c: * unix/tclUnixInit.c: * win/tclWinInit.c: Insure that the core never calls TclPtrSetVar, Tcl_SetVar2Ex, Tcl_ObjSetVar2 or Tcl_SetObjErrorCode with a 0-ref new value. It is not possible to handle error returns correctly in that case [Bug 1334947], one has the choice of leaking the object in some cases, or else risk crashing in some others.
| | * Fix [Bug 1284178] and tweak tests to accommodate.dkf2005-10-131-2/+6
| | |
| | * * generic/tclCmdAH.c New "encoding" Tcl_ObjType (not registered)dgp2005-07-051-9/+6
| | | | | | | | | | | | | | | | | | | | | * generic/tclEncoding.c that permits longer lifetimes of the * generic/tclInt.h Tcl_Encoding values kept as intreps of Tcl_Obj's. Reduces the need for repeated reading of encoding definition files from the filesystem. [Bug 1077262]
| | * Fix bug in [format %hx] handling on selected platforms. [Bug 1154163]dkf2005-06-171-16/+22
| | |
| | * removed erroneous comment [Bug 1029518]Miguel Sofer2004-10-301-7/+1
| | |
| | * * tests/socket.test (socket-13.1): Balanced [makeFile] anddgp2004-10-281-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | [removeFile] commands. * generic/tclCmdAH.c (Tcl_FormatObjCmd): Restored missing line from yesterdays' 868486 backport that caused failed alloc's on LP64 systems.