summaryrefslogtreecommitdiffstats
path: root/win/tclWinLoad.c
Commit message (Collapse)AuthorAgeFilesLines
* Where "interp" is only used for error-reporting, it can be allowed to be ↵jan.nijtmans2015-10-071-30/+32
| | | | | NULL. This should fix [5da26d4760]: Tcl_LoadFile() segfaults if "interp" is NULL. FossilOrigin-Name: 5034c136a803926573b803f0804c552203f344ac
* Add "flags" parameter from Tcl_LoadFile to to various internal functions, so ↵jan.nijtmans2012-10-231-1/+2
|\ | | | | | | | | these flags are available through the whole filesystem for (future) internal use FossilOrigin-Name: 4d417791c966021f292dd5e08a2a441c449b1803
* | more result generation conversiondkf2012-08-041-16/+18
| | | | | | FossilOrigin-Name: 6325d5dbeac6f91d28d61ac23d02a58d5c182d0f
* | Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-1/+1
| | | | | | FossilOrigin-Name: 4dd736c95fc5e333c574e4d23aeccb7e0bdd41ae
* | fix windows build broken by [92cfbef048]jan.nijtmans2012-04-111-1/+1
| | | | | | | | | | (Refactor Win socket and load code to be less baroque in its internals) FossilOrigin-Name: c8d80a632a7e9ee70a9c9cd58589f4cdefd0dcfc
* | Reduce amount of unreachable code. Refactor Win socket and load code to be lessdkf2012-04-051-105/+124
| | | | | | | | | | baroque in its internals. FossilOrigin-Name: 92cfbef04802afe414b04f8fff6a36b61d5ae27d
* | More generation of error codes (most platform-specific parts not already usingdkf2011-04-061-8/+19
| | | | | | | | | | Tcl_PosixError). FossilOrigin-Name: 1b095ad294cc30f692b20d00970574897298b030
* | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-6/+5
| | | | | | | | | | rest of Tcl source code. No ABI change. API change *should* be harmless. FossilOrigin-Name: 5574bdd262b2672cde48771787370c12854cecf4
* | 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). FossilOrigin-Name: c64f310d38b977e7ae26a48bcf8bb8c50e453af7
| * 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. FossilOrigin-Name: 79367df0f0e01a96f037f893e889e7cb9b807847
| | * 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. FossilOrigin-Name: 90b4acd7bdab65433169a232124967885c18d972
| | * Backported from 8.6 (see 2010-08-04).andreas_kupries2010-11-031-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * win/tclWin32Dll.c (asciiProcs, unicodeProcs): * win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with * win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to prefer dependent DLLs in same dir as loaded DLL. FossilOrigin-Name: 296bc1241dd545b286e34fb06ca930ff5645b49b
| * | * win/tclWin32Dll.c (asciiProcs, unicodeProcs):hobbs2010-08-041-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | * win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with * win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to prefer dependent DLLs in same dir as loaded DLL. FossilOrigin-Name: c33c6a7479f8f5c29dd815d982983bf5e1243145
* | | Various clean-ups, converting from tclWinProc->xxxProc directly to Xxxnijtmans2010-09-131-6/+6
| | | | | | | | | | | | | | | | | | (no change in functionality) FossilOrigin-Name: 18a516cee201156eccfeb93688069cd6bd3f9918
* | | * win/tclWin32Dll.c (asciiProcs, unicodeProcs):hobbs2010-08-041-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | * win/tclWinLoad.c (TclpDlopen): 'load' use LoadLibraryEx with * win/tclWinInt.h (TclWinProcs): LOAD_WITH_ALTERED_SEARCH_PATH to prefer dependent DLLs in same dir as loaded DLL. FossilOrigin-Name: 6b14ef3555eb1799c72e2b1ca61e79f53b32d3c5
* | | Unnecessary type casts, See Tcl [Patch #2997087]nijtmans2010-05-111-2/+2
| | | | | | | | | | | | | | | | | | Don't duplicate CYGWIN timezone #define from tclPort.h in tclWinPort.h FossilOrigin-Name: b231748527f9d07c72bc82677f14db34fb105a58
* | | Move TCHAR fallback typedef from tcl.h to tclPlatDecls.h (as suggested by dgp)nijtmans2010-04-221-2/+2
| | | | | | | | | | | | | | | | | | Eliminate various unnecessary type casts. FossilOrigin-Name: 77d22c7b43802be11238dcc3c0bb21ad11e74e33
* | | Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmpnijtmans2010-04-131-9/+8
| | | | | | | | | | | | | | | | | | Fix gcc warning: comparison of unsigned expression >= 0 is always true FossilOrigin-Name: 5426e082dc4dca8c79a35cc1ba323dd45781d2ea
* | | * generic/tcl.decls: [TIP #357]: First round of changeskennykb2010-04-021-23/+145
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * generic/tclDecls.h: to export Tcl_LoadFile, Tcl_FindSymbol, * generic/tclIOUtil.c: and Tcl_FSUnloadFile to the public API. * generic/tclInt.h: * generic/tclLoad.c: * generic/tclLoadNone.c: * generic/tclStubInit.c: * tests/fileSystem.test: * tests/load.test: * tests/unload.test: * unix/tclLoadDl.c: * unix/tclLoadDyld.c: * unix/tclLoadNext.c: * unix/tclLoadOSF.c: * unix/tclLoadShl.c: * unix/tclUnixPipe.c: * win/Makefile.in: * win/tclWinLoad.c: FossilOrigin-Name: 80aa157f455c7e777a532f7a3fd791d38359f31d
* | | Revert a few files from the previous commit, preventingnijtmans2010-03-111-2/+2
| | | | | | | | | | | | | | | | | | conflicts with Kevin's TIP #357 work FossilOrigin-Name: 6e701eee65711db65800a707f897020e7fd395f5
* | | Remove unnecessary '&' decoration for functionnijtmans2010-03-111-2/+2
| | | | | | | | | | | | | | | | | | | | | pointers. Fix double declaration of TclNativeDupInternalRep FossilOrigin-Name: bb4a12448bcecb18222b82374565ecea83c07bc1
* | | reverted earlier rename from tcl*Stubs tonijtmans2010-02-151-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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] FossilOrigin-Name: 0d29245dd5206eba5211a17216e65982d0be8923
* | | - eliminate some unnessary type castsnijtmans2009-02-031-2/+2
| | | | | | | | | | | | | | | | | | | | | - some internal const decorations - spacing FossilOrigin-Name: 4ad5e07e8ede6030f3761fe757be48b382755be1
* | | Style improvements - invoking callbacks without visual junk.dkf2008-10-261-3/+3
| | | | | | | | | FossilOrigin-Name: a1a8afc25d47810e677f42869f79723f80f3d6a6
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-4/+4
|/ / | | | | FossilOrigin-Name: 2d205c22fbe5def21ccd36bc6f7b2d3831f6122d
* | Replaced commas in varargs with string concatenation where possible [Patch ↵kennykb2007-04-201-6/+6
| | | | | | | | | | 1515234] FossilOrigin-Name: d0d3c30f1a60ecb75cdca7e63593bb7d7a98f017
* | ANSIfydkf2005-11-041-22/+22
| | | | | | FossilOrigin-Name: eeb132b4aebdf3d5feb48db72fa3c06de390531d
* | Getting more systematic about styledkf2005-07-241-77/+92
| | | | | | FossilOrigin-Name: 83d72c558cc66d1e10666e2fab0f6e87addb5c3d
* | format last change for 74 characters per linedavygrvy2003-09-081-2/+4
| | | | | | FossilOrigin-Name: 3ae1927bea5f3ffaa3691b0de4ac75eb937c627b
* | * win/tclWinLoad.c (TclpDlopen): Changed the error message for ↵davygrvy2003-09-081-2/+2
|/ | | | | | | | | ERROR_PROC_NOT_FOUND to be a bit more helpful in giving us clues. "can't find specified procedure" means a function in the import table, for implicit loading, couldn't be resolved and that's why the load failed. FossilOrigin-Name: c14ddbc3bbdf1db986869b00ce3e1d2ffaf84664
* load fixes for Bug 611108vincentdarley2002-10-101-6/+20
| | | FossilOrigin-Name: 4a2a8cda84e8705e04c0b6b3b5a9d8e445298b35
* Tcl_LoadHandle usagevincentdarley2002-07-181-5/+5
| | | FossilOrigin-Name: 9fb2f4b2d3b817b5cd6de4d3091f889bb7e4e990
* load comments and clientData replacementvincentdarley2002-07-181-8/+22
| | | FossilOrigin-Name: 9e000cc9a78336ebdde8f8c29f77a326a511042a
* load internals refactoringvincentdarley2002-07-171-24/+24
| | | FossilOrigin-Name: bbffcec48d3efc0e02e13b0bbdcdb98281bf431f
* * [Patch 505630] Updated interfaces of generic/tclBasic.cc (TIP 27).dgp2002-01-251-2/+2
| | | | | | | | | * [Patch 506818] Updated interfaces of generic/tclHash.c (TIP 27). * [Patch 506807] Updated interfaces of generic/tclObj.c (TIP 27). * [Patch 507304] Updated interfaces of win/tclWin32.c (TIP 27). * Update all callers. FossilOrigin-Name: 375ac8d641fa53159537f27eb1f836c043495c3b
* Updated APIs in the files */tcl*Load*.c according to the guidelineskennykb2002-01-091-2/+2
| | | | | | of TIP 27. FossilOrigin-Name: ce9573a39cb9f42da11beec368b354ada882cbdd
* * More CONST poisoningdgp2001-09-281-2/+2
| | | | | | | | fixes from the 2001-09-24 TIP 27 changes. CONST-ified Tcl_FSLoadFile and TclpLoadFile. Report and patch from Kevin Kenny. [Bug 465833] FossilOrigin-Name: 82ca28932032a7a64d20820b116a6412748af736
* minor fs, vfs fixesvincentdarley2001-09-041-4/+10
| | | FossilOrigin-Name: e50cc64ecbf8361559ffca6a1988f616b2674078
* filesystemvincentdarley2001-08-301-3/+4
| | | FossilOrigin-Name: 63ee4e7a09d028fa707389d63a2bdc197a342ce1
* * win/tclWinLoad.c (TclpLoadFile): added special message forhobbs2000-09-061-3/+7
| | | | | | | | | ERROR_PROC_NOT_FOUND exception in loading a dll. * win/tclWinError.c: changed ERROR_PROC_NOT_FOUND to map from ESRCH (POSIX: no such process) to EINVAL because there is no good mapping for "procedure not found". FossilOrigin-Name: 3bea23772995e37813b5043ce074521216194f00
* * doc/load.n: added notes about dll load errors on Windowshobbs2000-02-101-2/+2
| | | FossilOrigin-Name: 492839384e931b4714f1631e23a8eeb7d2d21e03
* * win/tclWinLoad.c (TclpLoadFile): improved error message for loadhobbs2000-02-101-4/+44
| | | | | | failures, could perhaps be even more intelligent. FossilOrigin-Name: 738eec42696496b3595bbc6999b4dece1157c4b9
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-20/+57
| | | FossilOrigin-Name: f3b32fb71c9011ac220779bd9dbe5617c9dc87d9
* Replaced SCCS strings, fixed binary filescore-8-0-3stanton1998-09-141-1/+1
| | | FossilOrigin-Name: 196f92fd17305db5fec1acd59f6926de11e01624
* Initial revisionrjohnson1998-03-261-0/+114
FossilOrigin-Name: f86c34e38d2a946e0ed196001fd756c57f90791a