summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* temporarily removed unset of ::tclDefaultLibrary for sake of testing.dgp2004-06-171-2/+2
|
* silence compiler warningdgp2004-06-171-2/+2
|
* more compiler fixesdgp2004-06-171-4/+2
|
* correct compile errorsdgp2004-06-171-3/+4
|
* * win/tclWinInit.c: Inform [tclInit] about the default librarydgp2004-06-172-4/+140
| | | | | | directory via the ::tclDefaultLibrary variable. This should correct a problem with my 2004-06-11 commit. Better solutions still in the works. Thanks to Joe Mistachkin for pointing out the breakage.
* * doc/library.n: Moved variables ::auto_oldpath anddgp2004-06-164-25/+21
| | | | | * library/auto.tcl: ::unknown_pending into ::tcl namespace. * library/init.tcl: [Bugs 808319, 948794]
* Added doc clarification in response to [RFE 768852]dkf2004-06-152-6/+16
|
* * unix/tclConfig.sh.in (TCL_EXTRA_CFLAGS): set to @CFLAGS@, whichhobbs2004-06-152-2/+7
| | | | is the configure-time CFLAGS. Addendum to m4 change on 2004-05-26.
* * win/Makefile.in: Corrected compilation flags for tclPkgConfig.cKevin B Kenny2004-06-143-7/+13
| | | | | | | so that it doesn't require Stubs. * generic/tclBasic.c (Tcl_CreateInterp): Removed comment stating that TclInitEmbeddedConfigurationInformation needs Stubs; with the change above, the comment is now erroneous.
* formattingdgp2004-06-141-3/+3
|
* * doc/Encoding.3: Removed bogus claims about tcl_libPath.dgp2004-06-115-24/+46
| | | | | | | | | | | | | | * generic/tclInterp.c (Tcl_Init): Stopped setting the tcl_libPath variable. [tclInit] can get all its directories without it. * tests/unixInit.test: Modified test code that made use of tcl_libPath variable. * unix/tclUnixInit.c: Stopped setting the tclDefaultLibrary variable, execept on the Mac OS X platform with HAVE_CFBUNDLE. In that configuration we should seek some way to make use of the TIP 59 facilities and get rid of that usage of tclDefaultLibrary as well.
* * generic/tclInterp.c: Updated [tclInit] to make $env(TCL_LIBRARY) andgp2004-06-112-2/+10
| | | | | absolute path, and to include the scriptdir,runtime configuration value on the search path for init.tcl.
* Restored Eng. Manual Styledgp2004-06-111-66/+66
|
* * unix/tclUnixInit.c: The routines Tcl_Init() and TclSourceRCFile()dgp2004-06-119-340/+213
| | | | | | | | | | * win/tclWinInit.c: had identical implementations for both win and * generic/tclInterp.c: unix. Moved to a single generic implementation. * generic/tclMain.c: * library/init.tcl: * generic/tclInitScript.h (removed): * unix/Makefile.in: * win/tcl.dsp:
* * unix/configure.in: Updated TCL_PACKAGE_PATH value todgp2004-06-116-15/+29
| | | | | | | | | | | | * win/configure.in: handle --libdir configuration. * unix/configure.in: autoconf-2.57 * win/configure.in: * generic/tclBasic.c (Tcl_CreateInterp): Moved call to TclInitEmbeddedConfigurationInformation() earlier in Tcl_CreateInterp() so that other parts of interp creation and initialization may access and use the config values.
* * win/tclAppInit.c: Restored the 'setargv' procedure when Kevin B Kenny2004-06-112-1/+134
| | | | | | | compiling with mingw. Apparently, the command line parsing in mingw doesn't work as well as that in vc++, and the result was (1) that winPipe-8.19 failed, and (2) that 'make test' would work at all only with TESTFLAGS='-singleproc 1'. [Bug 967195]
* * unix/tclUnixInit.c (TclpInitLibraryPath): Disabled addition ofdgp2004-06-104-25/+62
| | | | | | | | | | | | | | * win/tclWinInit.c (TclpInitLibraryPath): relative-to-executable directories to the library search path. A first step in reform of Tcl's startup process. ***POTENTIAL INCOMPATIBILITY*** Attempts to directly run ./tclsh or ./tcltest out of a build directory will either fail, or will make use of an installed script library in preference to the one in the source tree. Use `make shell` or `make runtest` instead. * tests/unixInit.test: Modified tests to suit above changes.
* Clarified that [pwd] really returns the absolute path of the currentvasiljevic2004-06-101-3/+3
| | | | working directory. This fixes the Tcl Bug #969509
* Fixed Tcl_FSChdir not to forcefully update private cwd cached copy.vasiljevic2004-06-102-2/+27
| | | | | This fixes the problem of [cwd] reporting relative file paths under certain cirumstances.
* * generic/tclPathObj.c: Corrected [file tail] results when operatingdgp2004-06-102-1/+21
| | | | on a path produced by TclNewFSPathObj(). [Bug 970529]
* Partially corrected [Bug 932314]vasiljevic2004-06-092-5/+19
|
* * generic/tclCompile.c:Miguel Sofer2004-06-083-5/+14
| | | | * generic/tclExecute.c: handle warning [Bug 969066]
* Silence compiler warnings.dgp2004-06-084-11/+10
|
* Fix variable usage warning. [Bug 969068]dkf2004-06-082-5/+8
|
* Fixed a minor lsearch example fault. [Bug 968219]dkf2004-06-072-10/+14
|
* Re-commit after a `make genstubs` on a unix system, to restore unix line endingsdgp2004-06-075-9505/+9505
|
* * generic/tcl.h: Corrected Tcl_WideInt declarations so that the mingw Kevin B Kenny2004-06-0512-9503/+9806
| | | | | | | | | | | | | | | | | | | | build works again. * generic/tclDecls.h: Changes to the tests for * generic/tclInt.decls: clock frequency in * generic/tclIntDecls.h: Tcl_WinTime * generic/tclIntPlatDecls.h: so that any clock frequency * generic/tclPlatDecls.h: is accepted provided that * generic/tclStubInit.c: all CPU's in the system share * tests/platform.test (platform-1.3): a common chip, and hence, * win/tclWin32Dll.c (TclWinCPUID): presumably, a common clock. * win/tclWinTest.c (TestwincpuidCmd) This change necessitated a * win/tclWinTime.c (Tcl_GetTime): small burst of assembly code to read CPU ID information, which was added as TclWinCPUID in the internal Stubs. To test this code in the common case of a single-processor machine, a 'testwincpuid' command was added to tclWinTest.c, and a test case in platform.test. Thanks to Jeff Godfrey and Richard Suchenwirth for reporting this bug. [Bug #976722]
* * generic/tcl.h: Restored #include <stdio.h> to tcl.h,dgp2004-06-042-1/+19
| | | | | | rejecting the "fix" for "Bug" 945570. Tcl_FSSeek() needs the values of SEEK_SET, etc. and too many extensions rely on tcl.h providing stdio.h for them.
* * win/tclWinFile.c (TclpFindExecutable): when usinghobbs2004-06-022-4/+12
| | | | | GetModuleFileNameA (Win9x), convert from CP_ACP to WCHAR then convert back to utf8. Adjunct to 2004-04-07 fix.
* no messagedavygrvy2004-06-021-0/+7
|
* * tests/winPipe.c (winpipe-6.1): blocking set to 1 before closing to ensuredavygrvy2004-06-021-1/+2
| | | | | we get an exitcode. The windows pipe channel driver doesn't differentiate between a blocking and non-blocking close just yet, but will soon.
* Removed language that encouraged abuse. [package] is for packages.dgp2004-06-021-4/+2
|
* documentation bugvincentdarley2004-06-022-3/+9
|
* no messagedavygrvy2004-06-011-11/+6
|
* * generic/tclIO.c (Tcl_SetChannelOption): Took out the rangedavygrvy2004-06-011-9/+1
| | | | | | | verification on -buffersize so original behavior for silently ignoring bad settings is returned. The only difference now is the behavior difference between atoi and Tcl_GetInt which gains the ability to error for 'not a number' and can understand hexidecimal.
* reverted back to 1.8davygrvy2004-06-011-3/+3
|
* reverted back to 1.53davygrvy2004-06-011-7/+7
|
* no messagedavygrvy2004-06-011-0/+7
|
* * tests/io.test:davygrvy2004-06-012-10/+10
| | | | | | | * tests/iogt.test: Tests cases that set invalid -buffersize settings on channels either wrapped in a catch or modified to a valid range. The assertion results were not modified to show that the behavior of Tcl_SetChannelBufferSize is unchanged.
* no messagedavygrvy2004-06-011-0/+10
|
* * generic/tclIO.c (Tcl_SetChannelOption): Invalid settingsdavygrvy2004-06-011-3/+14
| | | | | | for -buffersize weren't being reported as errors and were blindly ignored. Now reports conversion errors to an int and checks ranges for validity. atoi() swapped for Tcl_GetInt().
* * win/makefile.vc: check for either MSDEVDIR or MSVCDIR being indavygrvy2004-06-011-2/+2
| | | | the environment, for VC7. [Bug 942214]
* no messagedavygrvy2004-05-301-0/+10
|
* * win/tclWinPipe.c:davygrvy2004-05-302-46/+70
| | | | | | | | | * win/tclWinPort.h: Reworked the win implementation of Tcl_WaitPid to support exitcodes in the 'signed short' range. Even though this range is non-portable, it is valid on windows. Detection of exception codes are now more accurate. Previously, an application that exited with ExitProcess((DWORD)-1); was improperly reported as exiting with SIGABRT.
* Added examplesdkf2004-05-301-4/+29
|
* Shrank the spacing slightlydkf2004-05-301-6/+0
|
* Addex exampledkf2004-05-301-5/+42
|
* Added example and cleaned up a few bits of documentation.dkf2004-05-301-9/+24
|
* Added exampledkf2004-05-301-1/+15
|
* Regendkf2004-05-301-0/+34
|