summaryrefslogtreecommitdiffstats
path: root/win/tclWinFCmd.c
Commit message (Collapse)AuthorAgeFilesLines
* Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-2/+2
| | | 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.
| | * * win/tclWinFCmd.c: [Bug 1548263] Added test for NULL returnhobbs2006-08-301-1/+10
| | | | | | | | | | | | | | | * generic/tclIOUtil.c: from Tcl_FSGetNormalizedPath which was causing segv's
| | * bug #1225957Kevin B Kenny2005-06-231-201/+189
| | |
| | * * win/tclWinFCmd.c (TraverseWinTree): use wcslen on wchar, nothobbs2005-02-171-3/+3
| | | | | | | | | | | | Tcl_UniCharLen.
| | * * win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler,mdejong2004-06-211-12/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclpCheckStackSpace, _except_checkstackspace_handler, TclWinCPUID, _except_TclWinCPUID_detach_handler): * win/tclWinChan.c (Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Rework pushing of exception handler function pointer so that compiling with gcc -O3 works. Remove empty function call to avoid compiler warning. Mark the DllMain function as noinline to avoid compiler error from duplicated asm labels in generated code.
| | * backporting of filesystem tests, docsvincentdarley2003-10-031-9/+22
| | |
| * | fix gcc warnings: unused variable 'registration'nijtmans2010-11-191-3/+3
| | |
| * | * win/tclWin32Dll.c: #ifdef protections to permit builds withdgp2010-09-081-17/+23
| | | | | | | | | | | | | | | * win/tclWinChan.c: mingw on amd64 systems. Thanks to "mescalinum" * win/tclWinFCmd.c: for reporting and testing.
* | | fix gcc warnings: unused variable 'registration'nijtmans2010-11-191-3/+3
| | |
* | | [FRQ 2965056]: Windows build with -DUNICODEnijtmans2010-11-031-8/+8
| | | | | | | | | | | | (more clean-ups for pre-win2000 stuff)
* | | Eliminate many tclWinProcs-> indirect calls, which are no longer needed.nijtmans2010-10-121-78/+75
| | | | | | | | | | | | Fix some MSVC 6.0 warnings
* | | [Bug 3069278]: Breakage on head Windows triggered by install-tzdata, final fixnijtmans2010-09-211-14/+6
| | |
* | | Eliminate tclWinProcs->useWide everywhere, since the value is always "1" on ↵dogeen_assembler_splitnijtmans2010-09-201-63/+22
| | | | | | | | | | | | platforms >win95
* | | [Bug 3069278]: breakage on head Windows triggerednijtmans2010-09-181-4/+12
| | | | | | | | | | | | by install-tzdata. Temporary don't compile this with -DUNICODE, while investigating this bug.
* | | * win/tclWinChan.c: #ifdef protections to permit builds withdgp2010-09-081-17/+23
| | | | | | | | | | | | | | | * win/tclWinFCmd.c: mingw on amd64 systems. Thanks to "mescalinum" for reporting and testing. [Bug 3059922]
* | | [Freq 2965056]: Windows build with -DUNICODEnijtmans2010-08-301-6/+5
| | |
* | | [Patch #2994165] Change signature of Tcl_FSGetNativePath and TclpDeleteFilenijtmans2010-08-141-10/+11
| | |
* | | Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-221-4/+4
| | | | | | | | | | | | Eliminate various unnecessary type casts.
* | | test that tclOO stubs are present in stub librarynijtmans2010-03-071-8/+8
| | | | | | | | | | | | | | | | | | | | | | | | Applied missing part of [Patch 2961556] Change all tclWinProcs signatures to use TCHAR* in stead of WCHAR*. This is meant as preparation to make [Enh 2965056] possible at all.
* | | Eliminate all internal Tcl_WinUtfToTCharnijtmans2010-02-151-8/+8
| | | | | | | | | | | | | | | and Tcl_WinTCharToUtf calls, needed for mslu support.
* | | reverted earlier rename from tcl*Stubs tonijtmans2010-02-151-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | tcl*ConstStubs, it's not necessary at all. tclEnsemble.c: Fix signed-unsigned mismatch make tclWinProcs "const" Add first part of mslu support, See [Feature Request #2819611]
* | | eliminate TclWinResetInterfaceEncodings, becausenijtmans2009-08-021-3/+3
| | | | | | | | | | | | | | | | | | it does exactly the same as TclWinEncodingsCleanup, make sure that tclWinProcs and tclWinTCharEncoding are always set and reset concurrently.
* | | - eliminate some unnessary type castsnijtmans2009-02-031-3/+3
| | | | | | | | | | | | | | | - some internal const decorations - spacing
* | | eliminate -Wwrite-strings warnings in enable-threads build.nijtmans2008-12-161-2/+2
| | | | | | | | | | | | use TclNewLiteralStringObj()
* | | Style improvements - invoking callbacks without visual junk.dkf2008-10-261-60/+60
| | |
* | | * doc/FileSystem.3: CONSTified Tcl_FSFileAttrStringsProcnijtmans2008-10-051-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclFCmd.c: and tclpFileAttrStrings. This allows * generic/tclIOUtil.c: FileSystems to report their attributes * generic/tclTest.c: as const strings, without worrying that * unix/tclUnixFCmd.c: Tcl modifies them (which Tcl should not * win/tclWinFCmd.c: do anyway, but the API didn't indicate that) * generic/tcl.decls * generic/tclDecls.h: regenerated * generic/tcl.h: make sure that if CONST84 is defined as empty, CONST86 should be defined as empty as well (unless overridden). This change complies with TIP #27 *** POTENTIAL INCOMPATIBILITY ***
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-34/+32
|/ /
* | fixed [ 1548263 ] NULL return from Tcl_FSGetNormalizedPath segvcoldstore2006-08-291-2/+9
| |
* | Export stubs for libtommath; fix mingw compiler warningsKevin B Kenny2005-12-131-4/+4
| |
* | ANSIfydkf2005-11-041-19/+19
| |
* | Typo (spotted by George Staplin)dkf2005-08-051-2/+2
| |
* | D'oh! [Bug 1244358]dkf2005-07-251-3/+3
| |
* | Getting more systematic about styledkf2005-07-241-540/+587
| |
* | bug 1225957Kevin B Kenny2005-06-231-207/+189
| |
* | Merged kennykb-numerics-branch back to the head; TIPs 132 and 232Kevin B Kenny2005-05-101-1/+1
| |
* | * win/tclWinFCmd.c (TraverseWinTree): use wcslen on wchar, nothobbs2005-02-171-3/+3
| | | | | | | | Tcl_UniCharLen.
* | * generic/tclBasic.c:dgp2004-10-061-13/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclBinary.c: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclCompExpr.c: * generic/tclDictObj.c: * generic/tclEncoding.c: * generic/tclExecute.c: * generic/tclFCmd.c: * generic/tclHistory.c: * generic/tclIndexObj.c: * generic/tclInterp.c: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclNamesp.c: * generic/tclObj.c: * generic/tclPkg.c: * generic/tclResult.c: * generic/tclScan.c: * generic/tclTimer.c: * generic/tclTrace.c: * generic/tclUtil.c: * generic/tclVar.c: * unix/tclUnixFCmd.c: * unix/tclUnixPipe.c: * win/tclWinDde.c: * win/tclWinFCmd.c: * win/tclWinPipe.c: It is a poor practice to directly set or append to the value of the objResult of an interp, because that value might be shared, and in that circumstance a Tcl_Panic() will be the result. Searched for example of this practice and replaced with safer alternatives, often using the Tcl_AppendResult() routine that dkf just rehabilitated. * library/dde/pkgIndex.tcl: Bump to dde 1.3.1
* | Style guide fixes (braces for if, etc.)dkf2004-10-061-23/+29
| |
* | * win/tclWin32Dll.c (DllMain, _except_dllmain_detach_handler,mdejong2004-06-211-12/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | TclpCheckStackSpace, _except_checkstackspace_handler, TclWinCPUID, _except_TclWinCPUID_detach_handler): * win/tclWinChan.c (Tcl_MakeFileChannel, _except_makefilechannel_handler): * win/tclWinFCmd.c (DoRenameFile, _except_dorenamefile_handler, DoCopyFile, _except_docopyfile_handler): Rework pushing of exception handler function pointer so that compiling with gcc -O3 works. Remove empty function call to avoid compiler warning. Mark the DllMain function as noinline to avoid compiler error from duplicated asm labels in generated code.
* | filesystem optimisation -- Three main issues accomplished: (1) cleaned up ↵vincentdarley2004-01-211-7/+25
| | | | | | | | variable names in
* | All uses of 'panic' (the macro) changeddavygrvy2003-12-241-7/+7
| | | | | | | | | | | | | | to 'Tcl_Panic' (the function). The #define of panic in tcl.h clearly states it is deprecated in the comments. [Patch 865264]
* | fix to file normalization with relative linksvincentdarley2003-12-171-5/+42
| |
* | filesystem bug fixesvincentdarley2003-10-131-9/+22
| |
* | fix to WinTcl file rename error messagevincentdarley2003-06-021-2/+10
|/
* first speedups to Win filesystemvincentdarley2003-02-071-2/+3
|
* finalization and test fixesvincentdarley2003-02-041-7/+6
|
* * win/tclWin32Dll.c (TclpCheckStackSpace, squelch_warnings):mdejong2003-01-251-45/+88
| | | | | | | | | | | | | | * win/tclWinChan.c (Tcl_MakeFileChannel, squelch_warnings): * win/tclWinFCmd.c (DoRenameFile, DoCopyFile, squelch_warnings): Re-implement inline ASM SEH handlers for gcc. The esp and ebp registers are now saved on the stack instead of in global variables so that the code is thread safe. Add additional checks when TCL_MEM_DEBUG is defined to be sure the values were recovered from the stack properly. Remove squelch_warnings functions and add a dummy call in the handler methods to squelch compiler warnings.