summaryrefslogtreecommitdiffstats
path: root/unix/tclAppInit.c
Commit message (Collapse)AuthorAgeFilesLines
* Improvements to tip430 to embed the /library file system within a shared libraryhypnotoad2017-11-111-0/+2
| | | | | | | | | | | or as a zip archive with a canonical name matching the current patch level This new version also builds a native executable version of minizip to allow archive to be built within make, even when cross compiling Added a new function TclZipfs_AppHook which implements tip430 core behavior startups to stock tclsh Embedding the file system as a zip archive can be defeated with --enable-zipfs=no
* Removed the package style loader from tclAppInit. Zipfs now loads as part of ↵hypnotoad2017-09-051-5/+0
| | | | the interpreter.
* Start with a few simple basic test-casesjan.nijtmans2015-12-211-0/+5
|
* Don't use deprecated stricmp/strnicmp any more, but underscored variant for ↵jan.nijtmans2013-06-141-7/+7
|\ | | | | | | | | non-GNU compilers. Some formatting - improved comments.
| * get rid of _ANSI_ARGS_jan.nijtmans2012-04-261-4/+4
| |\
* | | Use (preferred) Tcl_ObjSetVar2 in stead of Tcl_SetVar in tclAppInit.c, both ↵jan.nijtmans2013-02-171-3/+5
| | | | | | | | | | | | UNIX and Win.
* | | no longer depend on MODULE_SCOPE being definedjan.nijtmans2011-05-051-0/+3
| | |
* | | Make symbols "main" and "Tcl_AppInit" MODULE_SCOPE: there is absolutely no ↵jan.nijtmans2011-04-061-1/+4
| | | | | | | | | | | | reason for exporting them.
* | | 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.
* | | Make Tcl_SetPanicProc and Tcl_GetStringResult callable without stubs, just ↵nijtmans2010-09-231-2/+2
| | | | | | | | | | | | as Tcl_SetVar.
* | | Make compilable with -DUNICODE (not actived yet)nijtmans2010-09-231-41/+36
| | | | | | | | | | | | Many clean-ups in comments.
* | | revert 2902965 tclAppInit.c changedas2009-11-291-5/+1
| | |
* | | Fix [Bug 2902965] stub related changesnijtmans2009-11-261-1/+5
| | | | | | | | | | | | cause tclkit built to break
* | | * unix/tclAppInit.c: Repair broken build of the tcltest executable.dgp2009-11-191-3/+3
| | | | | | | | | | | | * win/tclAppInit.c: [Bug 2883850, 2900542].
* | | Fix [Bug 2883850]: pkgIndex.tcl doesn'tnijtmans2009-11-181-13/+2
| | | | | | | | | | | | get created with static Tcl build
* | | Get rid of pre-C89-isms (esp. CONST vs const).dkf2008-04-271-5/+5
|/ /
* | Complete the purge of K&R function definitions from manually-written code.dkf2007-04-161-6/+6
| |
* | Getting more systematic about styledkf2005-07-201-31/+41
| |
* | * unix/tclAppInit.c: Removed tclConfig.h #include, now that tcl.hdgp2004-11-121-8/+1
| | | | | | | | takes care of it for us.
* | * unix/config.h.in:rmax2004-11-121-2/+2
| | | | | | | | | | | | | | | | | | | | | | * unix/tclConfig.h.in: renamed * unix/Makefile.in: Completed support for config header, * unix/configure.in: fixed building outside of the unix dir, * unix/tclAppinit.c: and reflected the name change of config.h. * generic/tclInt.h: * unix/configure: generated
* | Adapt Tcl so it uses a config.h header instead of stuffing all #defs on thedkf2004-11-121-1/+8
| | | | | | | | | | command line. Third parties using generic/tclInt.h, unix/tclAppInit.c or unix/tcl.m4 should be unaffected. Part of the general TIP#34 project.
* | * unix/tclAppInit.c: When built as tcltest, TclThread_Init was getting calleddavygrvy2004-10-281-13/+5
|/ | | | | * win/tclAppInit.c: twice. First by TclTest_Init, then again in Tcl_AppInit. The call from Tcl_AppInit now removed.
* * Removed internal routinedgp2002-05-311-10/+1
| | | | | | | | TclMathInProgress and Unix implementation of matherr(). These are now obsolete, dealing with very old versions of the C math library. Windows version is retained in case Borland compilers require it, but it is inactive. Thanks to Joe English. [Bug 474335, Patch 555635].
* * djgpp/ (new directory)davygrvy2002-02-121-1/+5
| | | | | | | | | | | | | | | * djgpp/Makefile (new): * unix/tclAppInit.c: * unix/tclMtherr.c: * unix/tclUnixFCmd.c: * unix/tclUnixFile.c: * unix/tclUnixInit.c: * unix/tclUnixPort.h: Early stage of DJGPP support for building Tcl on DOS. Dynamic loading isn't working, yet. Requires watt32 for the TCP/IP stack. No autoconf, yet. Barely tested, but makes a working exe that runs Tcl in protected-mode, flat memory. [exec] and pipes will need the most work as multi-tasking on DOS has to be carefully.
* * unix/tclAppInit.c (main): removed #ifdef TCL_TEST that sets thehobbs2000-04-181-18/+5
| | | | | library path as it was unnecessary and conflicts with move of tclLibraryPath to thread-local storage.
* * generic/tcl.decls :redman1999-12-021-2/+29
| | | | | | | | | | | | | | * generic/tclMain.c : * unix/tclAppInit.c: * win/tclAppInit.c: Added two new internal functions, TclSetStartupScriptFileName() and TclGetStartupScriptFileName() and added hooks into the main() code for supporting TclPro and other "big" shells more easily without requiring a copy of the main() code. * generic/tclEncoding.c: * generic/tclEvent.c: Moved encoding-related startup code from tclEvent.c into the more appropriate tclEncoding.c.
* * unix/Makefile.in: purify has to use -best-effort to instrumenthobbs1999-10-131-1/+4
| | | | | | | | * unix/tclAppInit.c: identified potential mem leak when compiling tcltest (not critical) * unix/tclUnixPipe.c: fixed mem leak in TclpCreateProcess when doing alloc between vfork and execvp. * unix/tclUnixTest.c: fixed mem leak in findexecutable test command
* * unix/Makefile.in:stanton1999-05-141-5/+2
| | | | | | | | | | | | * unix/tclAppInit.c: Minor cleanup related to Xt notifier. * unix/tclUnixInit.c (TclpSetInitialEncodings): Tcl now looks for an encoding subfield in the LANG/LC_ALL variables in cases where the locale is not found in the locale table. Ensure that setlocale() is called at least once so X11 will initialize properly. Also, forces the LC_NUMERIC locale to be "C" so numeric processing in scripts is not affected by the current locale setting. [Bug: 1989]
* merged tcl 8.1 branch back into the main trunkstanton1999-04-161-2/+27
|
* * win/tclAppInit.c:stanton1999-02-031-6/+6
| | | | | | | | | | | | * unix/tclAppInit.c: * mac/tclMacAppInit.c: * generic/tclTest.c: Changed some EXTERN declarations to extern since they are not defining exported interfaces. This avoids generating useless declspec() attributes and makes the windows makefile simpler. * generic/tcl.h: Moved Tcl_AppInit declaration to end and cleared out TCL_STORAGE_CLASS so it is not declared with a declspec().
* Added a new Tcl object called "procbody"; this object's internalescoffon1998-10-051-1/+8
| | | | | | | representation contains both a Proc struct and its associated ByteCode. Updated tclProc.c::TclCreateProc to take procbody instances as the body argument, for future support of compiler extensions. Added the "procbodytest" package for testing all this stuff.
* Replaced SCCS strings, fixed binary filescore_8_0_3stanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-03-261-0/+136