summaryrefslogtreecommitdiffstats
path: root/win/tclWinTest.c
Commit message (Collapse)AuthorAgeFilesLines
* merge 8.7 (mingw/win-autoconf build, etc)sebres2019-01-141-2/+2
|\
| * merge 8.6, conflicts resolved in win/Makefile.in (fixed auto-path and load ↵sebres2019-01-141-2/+2
| |\ | | | | | | | | | tcltests for ROOT_DIR/tests)
| | * win: allows testchmod to reset DELETE DACL-mask (repaired several tests ↵sebres2019-01-141-2/+2
| | | | | | | | | | | | winFCmd-6.*, winFCmd-9.3, that should catch EACCESS)
| * | Merge 8.6jan.nijtmans2019-01-131-1/+1
| |\ \ | | |/
* | | Many internal int -> size_t increases, so string lengths > 2Gb can be ↵jan.nijtmans2018-12-261-1/+1
| | | | | | | | | | | | handled correctly in many more places.
* | | Merge 8.7jan.nijtmans2018-12-121-4/+4
|\ \ \ | |/ /
| * | If compiled with -DTCL_NO_DEPRECATED, remove ↵jan.nijtmans2018-12-121-4/+4
| |/ | | | | | | | | Tcl_NewIntObj/Tcl_NewLongObj/Tcl_DbNewLongObj from stub table, as they will be gone in 9.0 (converted to a macro) Use Tcl_WideInt's directly in more places, diminishing the possibility of inadvent overflow.
* | merge 8.7sebres2018-11-221-3/+7
|\ \ | |/
| * merge 8.5: fixes segfault [7a9dc52b29] and wrong normalization (inside ↵sebres2018-11-221-3/+7
| |\ | | | | | | | | | TclJoinPath) for pure relative path-segments; test-cases extended and several windows-related are fixed.
| | * win: repair test command "testchmod": correct load module (ADVAPI32 for ↵sebres2018-11-211-4/+11
| | | | | | | | | | | | x86/x64) and fix readonly mask (don't deny DELETE mask, test cleanup should be able to delete entry)
| | * Use GetModuleHandle() in stead of LoadLibrary() when the handle is needed ↵jan.nijtmans2017-05-031-16/+16
| | | | | | | | | | | | | | | for an already loaded dll. Fix filesystem-1.52 (only works correctly on UNIX)
* | | Change ckalloc and friends to Tcl_Alloc and friends. Add two defines, ↵jan.nijtmans2018-09-011-7/+7
|/ / | | | | | | TCL_IO_FAILURE and TCL_NO_LENGTH (experimental, still open to be renamed following discussion)
* | Convert TesteventloopCmd and TestchmodCmd to Tcl_Obj-API form.jan.nijtmans2014-07-171-26/+21
| |
* | 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]
* | Eliminate some unneeded usages of Tcl_SetResult, Tcl_AddObjErrorInfojan.nijtmans2013-01-251-1/+1
| | | | | | Fix "make test-packages" on cygwin
* | Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-80/+0
|\ \ | |/
| * Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-80/+0
| |\
| | * Move cpuid testcase from win-specific to generic testsjan.nijtmans2012-05-031-62/+0
| | | | | | | | | Simplify stub tables for functions which work on both UNIX and windows
* | | make some more internal tables constjan.nijtmans2012-04-231-1/+1
|\ \ \ | |/ /
| * | make some more internal tables constjan.nijtmans2012-04-231-1/+1
| |\ \ | | |/
| | * make some more internal tables constjan.nijtmans2012-04-231-2/+2
| | | | | | | | | On cygwin, install dll's in /usr/bin, not in /usr/lib
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-4/+3
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-1/+1
| | |
| | * [Bug 3388350] mingw64 compiler warningsjan.nijtmans2011-08-151-1/+1
| | |
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-7/+7
| | | | | | | | | 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.
| | * Removed C++ commentpatthoyts2006-03-271-2/+2
| | |
| | * Fixes for bug #1456373 and general warning silencing for gcc build.patthoyts2006-03-271-25/+29
| | |
| | * fix to permissions settingvincentdarley2006-03-211-18/+2
| | |
| | * ensure test suite works on non-English systemsvincentdarley2006-03-191-1/+342
| | |
| | * * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-051-2/+64
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | build works again. * generic/tclInt.decls: Changes to the tests for * generic/tclIntPlatDecls.h: clock frequency in Tcl_WinTime * generic/tclStubInit.c: so that any clock frequency * tests/platform.test (platform-1.3): is accepted provided that * win/tclWin32Dll.c (TclWinCPUID): all CPU's in the system share * win/tclWinTest.c (TestwincpuidCmd): a common chip, and hence, * win/tclWinTime.c (Tcl_GetTime): presumably, a common clock. This change necessitated a small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722]
| | * Fixed Bug 710310 (duplicate test numbers in clock.test). Made major Kevin B Kenny2003-04-121-2/+64
| | | | | | | | | | | | | | | changes to tclWinTime.c and related code to improve loop filter stability.
| * | Various CYGWIN-related fixesnijtmans2010-01-311-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | backported from HEAD. Still configure script not modified, so CYGWIN build is still disabled. Reason: although the build succeeds with those changes, many tests still fail.
| * | * tclWinTest.c: Fix compiler warning when compiling this file with mingw gcc:nijtmans2008-10-071-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | tclWinTest.c:706: warning: dereferencing type-punned pointer will break strict-aliasing rules * generic/tclLoad.c: Make sure that any library which doesn't have an unloadproc is only really unloaded when no library code is executed yet. [Bug 2059262]
* | | Eliminate many tclWinProcs-> indirect calls, which are no longer needed.nijtmans2010-10-121-5/+1
| | | | | | | | | | | | Fix some MSVC 6.0 warnings
* | | [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-10-111-119/+20
| | | | | | | | | | | | Add netapi32 to the windows link line, so we no longer have to use LoadLibrary to access those functions.
* | | [Freq 2965056]: Windows build with -DUNICODEnijtmans2010-08-301-1/+7
| | |
* | | Fix [Bug 2883850]: pkgIndex.tcl doesn'tnijtmans2009-11-181-3/+5
| | | | | | | | | | | | get created with static Tcl build
* | | - eliminate some unnessary type castsnijtmans2009-02-031-2/+2
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | Add "const" to many internalnijtmans2008-10-161-2/+2
| | | | | | | | | | | | | | | const tables. No functional or API change.
* | | Fix a gcc warning when compiling Tcl with mingw32nijtmans2008-07-191-4/+4
|/ / | | | | | | | | tclWinTest.c: In function `TestplatformChmod': tclWinTest.c:706: warning: dereferencing type-punned pointer will break strict-a liasing rules
* | merge stable branch onto HEADdgp2007-12-131-1/+1
| |
* | Reduce cast count.dkf2007-11-191-239/+265
| |
* | * generic/tclGetDate.y: Added a cast to the definition of YYFREE toKevin B Kenny2007-08-061-4/+5
| | | | | | | | | | | | | | | | silence compiler warnings. * generic/tclDate.c: Regenerated * win/tclWinTest.c: Added a cast to the call to GetSecurityDescriptorDacl to silence compiler warnings.
* | Complete the purge of K&R function definitions from manually-written code.dkf2007-04-161-7/+9
| |
* | various "const" additions in implementationnijtmans2007-03-081-20/+19
| |
* | Fixes for bug #1456373 (mingw-gcc issue).patthoyts2006-03-271-13/+19
| |
* | fix to permissions settingvincentdarley2006-03-211-18/+2
| |