summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
Commit message (Collapse)AuthorAgeFilesLines
* Finish the TIP #416 implementation as specified (#define's were still ↵jan.nijtmans2012-11-071-2/+2
| | | | missing). Added warning to "load" documentation. Added test case for using -global without specifying filename.
* syntax improvement: expect options before the filenamejan.nijtmans2012-10-241-15/+14
| | | <p>start at documentation
* experimental implementation of FRQ-3579001jan.nijtmans2012-10-241-5/+31
|
* more result generation conversiondkf2012-08-041-26/+31
|
* converting to using Tcl_Obj API for error message generation; part donedkf2012-08-031-6/+4
|
* Factor out a number of common patterns of use of Tcl_DStringAppend.dkf2012-07-031-15/+15
|
* Reduce amount of unreachable code. Refactor Win socket and load code to be lessdkf2012-04-051-31/+1
| | | baroque in its internals.
* Patch from the cygwin folksjan.nijtmans2012-03-041-0/+6
|\
| * Patch from the cygwin folksjan.nijtmans2012-03-041-0/+6
| |\
| | * Patch from the cygwin folksjan.nijtmans2012-03-041-0/+6
| | |
* | | Convert TclGetLoadedPackages to use Tcl_Obj API for result generation.dkf2011-05-071-38/+40
| | |
* | | More generation of errorCodes ([interp], [lset], [load], [unload]).dkf2011-04-021-2/+34
| | |
* | | Adjust ckalloc/ckfree macros to greatly reduce number of explicit casts indkf2011-03-121-10/+10
| | | | | | | | | 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.
| * | Fixed [Bug 2269431]: load of shared objectsnijtmans2008-11-141-3/+5
| | | | | | | | | | | | leaves emporary files on windows
| * | * tclWinTest.c: Fix compiler warning when compiling this file with mingw gcc:nijtmans2008-10-071-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | 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]
* | | * generic/tclBasic.c, generic/tclClock.c, generic/tclEncoding.c,dkf2010-10-011-21/+25
| | | | | | | | | | | | | | | | | | | | | | | | * 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.
* | | Don't use arrays of length 1, just use a single element then, it makes code ↵nijtmans2010-05-191-4/+4
| | | | | | | | | | | | more readable.
* | | * generic/tcl.decls: [TIP #357]: First round of changesKevin B Kenny2010-04-021-51/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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:
* | | Code Audit results:dkf2010-03-051-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | * 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
* | | CONSTify TclGetLoadedPackages second paramnijtmans2008-12-191-10/+10
| | |
* | | Implement TIP#307.dkf2008-12-051-3/+3
| | |
* | | rename static function FSUnloadTempFile tonijtmans2008-11-131-4/+7
| | | | | | | | | | | | | | | | | | TclFSUnloadTempFile, needed in tclLoad.c Fixed [Bug 2269431]: load of shared objects leaves temporary files on windows
* | | Add "const" to many internalnijtmans2008-10-161-2/+2
| | | | | | | | | | | | | | | const tables. No functional or API change.
* | | * generic/tclLoad.c: Make sure that any library whichnijtmans2008-10-041-3/+5
| | | | | | | | | | | | | | | doesn't have an unloadproc is only really unloaded when no library code is executed yet. [Bug 2059262]
* | | fix [2021443] inconsistant "wrong # args" messages (follow-up)nijtmans2008-07-211-2/+2
| | |
* | | Small clarifications that code a bit nicer to read.dkf2008-05-301-44/+36
|/ /
* | various "const" additions, in line with TIP #27nijtmans2007-02-201-8/+9
| |
* | Convert to using ANSI decls/definitions and using the (ANSI) assumption that ↵dkf2005-10-311-93/+88
| | | | | | | | | | | | NULL can be cast to any pointer type transparently.
* | Getting more systematic about styledkf2005-07-171-219/+220
| |
* | fixed typos in documentation and commentsvincentdarley2004-03-091-2/+2
| |
* | Missed a pointer dereference in check for NULL. D'oh! [904307]dkf2004-02-251-2/+2
| |
* | TIP#100 implementation largely based on work by Georgios Petasis.dkf2004-02-241-15/+490
| |
* | Fix memory leak on error pathdkf2004-02-211-2/+3
|/
* * generic/tclLoad.c: Changed the code so that if Tcl_StaticPackage Kevin B Kenny2003-02-011-18/+40
| | | | | | | | | is called to report the same package as being loaded in two interps, it shows up in [info loaded {}] in both of them (previously, it didn't appear in the static package list in the second. * tests/load.test Added regression test for the above bug. [Bug 670042]
* removed load-related clientData, made filesystem staticvincentdarley2002-07-221-8/+8
|
* Updated APIs in the files */tcl*Load*.c according to the guidelinesKevin B Kenny2002-01-091-2/+2
| | | | of TIP 27.
* fs updatevincentdarley2001-08-231-7/+10
|
* Changes from TIP#17 "Redo Tcl's filesystem"vincentdarley2001-07-311-13/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The following files were impacted. * doc/Access.3: * doc/FileSystem.3: * doc/OpenFileChnl.3: * doc/file.n: * doc/glob.n: * generic/tcl.decls: * generic/tcl.h: * generic/tclCmdAH.c: * generic/tclCmdIL.c: * generic/tclCmdMZ.c: * generic/tclDate.c: * generic/tclDecls.h: * generic/tclEncoding.c: * generic/tclFCmd.c: * generic/tclFileName.c: * generic/tclGetDate.y: * generic/tclIO.c: * generic/tclIOCmd.c: * generic/tclIOUtil.c: * generic/tclInt.decls: * generic/tclInt.h: * generic/tclIntDecls.h: * generic/tclLoad.c: * generic/tclStubInit.c: * generic/tclTest.c: * generic/tclUtil.c: * library/init.tcl: * mac/tclMacFCmd.c: * mac/tclMacFile.c: * mac/tclMacInit.c: * mac/tclMacPort.h: * mac/tclMacResource.c: * mac/tclMacTime.c: * tests/cmdAH.test: * tests/event.test: * tests/fCmd.test: * tests/fileName.test: * tests/io.test: * tests/ioCmd.test: * tests/proc-old.test: * tests/registry.test: * tests/unixFCmd.test: * tests/winDde.test: * tests/winFCmd.test: * unix/mkLinks: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPipe.c: * win/tclWinFCmd.c: * win/tclWinFile.c: * win/tclWinInit.c: * win/tclWinPipe.c
* * generic/tclLoad.c: #def'd out the unloading of DLLs at finalizehobbs1999-12-011-1/+9
| | | | | time for Unix in TclFinalizeLoad. [Bug: 2560 3373] Should be parametrized to allow for user to specify unload or not.
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-117/+136
|
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+636