summaryrefslogtreecommitdiffstats
path: root/generic/tclLoad.c
Commit message (Collapse)AuthorAgeFilesLines
* merge core-8-6-branchjan.nijtmans2017-08-181-1/+1
|\
| * Better UTF-8 surrogate handling, only functional when TCL_UTF_MAX>3jan.nijtmans2017-06-081-1/+1
| |
* | merge core-8-6-branchjan.nijtmans2017-05-291-1/+1
|\ \ | |/
| * Tcl_UtfToUniChar() -> TclUtfToUniChar() in various places: No change in ↵jan.nijtmans2017-05-291-1/+1
| | | | | | | | functionality, just faster if ASCII only strings are involved.
* | Make TclGetLoadedPackagesEx() work with other than the only current ↵jan.nijtmans2017-01-051-9/+11
| | | | | | | | interpreter (didn't really think about that earlier ... ). Actually slightly more correct.
* | Fix [7c7d3b4481d4e4e86420b54031f4abd1df18d64|7c7d3b4481]: load test ↵jan.nijtmans2017-01-051-21/+21
| | | | | | | | failures. There's a difference between "" and NULL as interpreter name.
* | Bring back stub table in original state.jan.nijtmans2016-12-081-1/+13
|\ \ | | | | | | Merge trunk
* \ \ Merge trunk.jan.nijtmans2016-11-251-7/+20
|\ \ \ | |/ / | | | Implementation looks complete. Still missing: test-cases and documentation.
* | | Starting implementing the "package files" command. TIP still to be written.jan.nijtmans2016-11-241-1/+7
|/ /
* | typosjan.nijtmans2016-11-241-1/+1
|/
* Eliminate all usage of WIN32 and __WIN32__ macros: Some compilers (e.g. ↵jan.nijtmans2014-02-101-2/+2
| | | | | 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]
* 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.