summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * win/makefile.vc: Updated MSVC build to properly deal withpatthoyts2006-09-267-126/+352
| | | | | | | | * win/nmakehlp.c: MSVC8 and AMD64 target. Backport from 8.5 * win/rules.vc: * generic/tcl.h: Fixed stat definition for MSVC8 AMD64. * win/tclWinSock.c: Casting type police. * win/tclWinTime.c:
* * generic/tcl.h: As 2006-09-22 commit from Donal K. Fellowsdgp2006-09-262-4/+8
| | | | | | demonstrates, "#define NULL 0" is just wrong, and as a quotable chat figure observed, "If NULL isn't defined, we're not using a C compiler." Improper fallback definition of NULL removed.
* * generic/tclIO.c (Tcl_StackChannel): Fixed [SF Tcl Bug 1564642],andreas_kupries2006-09-252-2/+8
| | | | | aka coverity #51. Extended loop condition, added checking for NULL to prevent seg.fault.
* * generic/tclBasic.c: Reverted exposure of patchlevel inandreas_kupries2006-09-252-6/+13
| | | | | | registered core version when TIP#268 features are activated. Better compatibility with existing packages. Like Tk.
* * generic/tclParse.c (Tcl_ParseCommand): also return an error ifMiguel Sofer2006-09-243-5/+15
| | | | | | | start==NULL and numBytes<0. This is coverity's bug #20 * generic/tclStringObj.c (STRING_SIZE): fix allocation for 0-length strings. This is coverity's bugs #54-5
* * generic/tclInt.h: Moved TIP#268's field 'packagePrefer' to theandreas_kupries2006-09-222-10/+15
| | | | end of the structure, for better backward compatibility.
* * generic/tclPkg.c (Tcl_PkgRequireEx): Changes handling of theandreas_kupries2006-09-222-2/+66
| | | | | | return information from 'Tcl_PkgRequireProc'. Keep the interpreter result empty. Backport of fix for problem found while testing #268 under 8.5. More details in the comments.
* Fix [Bug 1562528]dkf2006-09-222-2/+8
|
* * generic/tcl.decls: Implemented TIP #268, conditionally.andreas_kupries2006-09-2213-143/+1993
| | | | | | | | | | | | | | | * generic/tclBasic.c: Define TCL_TIP268 to activate the new * generic/tclDecls.h: features. * generic/tclInt.h: * generic/tclPkg.c: * generic/tclStubInit.c: * generic/tclTest.c: * library/init.tcl * library/package.tcl: * tests/pkg.test: * tests/platform.test: * tests/safe.test: * doc/PkgRequire.3:
* * library/http/http.tcl: Change " " -> "+" url encoding mappinghobbs2006-09-154-12/+18
| | | | | * library/http/pkgIndex.tcl: to " " -> "%20" as per RFC 3986. * tests/http.test (http-5.1): bump http to 2.5.3 for 8.4.14
* * unix/configure.in (HAVE_MTSAFE_GETHOST*): Modified to recognizeandreas_kupries2006-09-123-195/+220
| | | | | | HP-UX 11.00 and beyond as having mt-safe implementations of the gethost functions. * unix/configure: Regenerated, using autoconf 2.13
* * unix/tclUnixCompat.c (PadBuffer): Fixed bug in calculation ofandreas_kupries2006-09-122-5/+17
| | | | | the increment needed to align the pointer, and added documentation explaining why the macro is implemented as it is.
* * tests/msgcat.test: Bumped version in auxiliary files as well.andreas_kupries2006-09-113-4/+9
| | | | * doc/msgcat.n:
* * unix/tclUnixCompat.c: make compatLock static and only declare it whendas2006-09-112-107/+116
| | | | | it will actually be used; #ifdef parts of TSD that are not always needed; adjust #ifdefs to cover all possible cases; fix whitespace.
* * library/msgcat/msgcat.tcl: Bump to version msgcat 1.3.4 to accountdgp2006-09-103-3/+8
| | | | * library/msgcat/pkgIndex.tcl: for modifications.
* * library/msgcat/msgcat.tcl (msgcat::Init): on Darwin, add fallback ofdas2006-09-106-928/+1008
| | | | | | | | | | * tests/msgcat.test: default msgcat locale to * unix/tclUnixInit.c (TclpSetVariables): current CFLocale identifier if available (via private ::tcl::mac::locale global, set at interp init when on Mac OS X 10.3 or later with CoreFoundation). * unix/tcl.m4: add caching to new SC_TCL_* macros for MT-safe wrappers. * unix/configure: autoconf-2.13
* Fixed compilation for Darwin so the compiler does not bark aboutvasiljevic2006-09-081-8/+11
| | | | defined but unused functions.
* * unix/tclUnixCompat.c: Fixed conditions for CopyArray/CopyString,andreas_kupries2006-09-082-6/+11
| | | | and CopyHostent. Also fixed bad var names in TclpGetHostByName.
* For Darwin, assume gethostbyname() and gethostbyaddr() are MT-safevasiljevic2006-09-084-202/+237
| | | | starting with Dariwn 6 (Mac OSX 10.2) or later.
* * unix/tclUnixFCmd.c: Removed some false tests addedvasiljevic2006-09-073-24/+75
| | | | | | | | | (and left by mistake) by fixing the Tcl Bug: 999544 * unix/tclUnixCompat.c: Added fallback to MT-unsafe library calls if TCL_THREADS is not defined. Fixed alignment of arrays copied by CopyArrayi() to be on the sizeof(char *) boundary.
* * unix/configure: Regenerated using autoconf 2.13.andreas_kupries2006-09-072-14055/+5073
|
* Fixed typos in some wrapersvasiljevic2006-09-071-4/+4
|
* Removed unused variablesvasiljevic2006-09-071-6/+1
|
* Fixed wrong structure usage in some wrappersvasiljevic2006-09-071-3/+3
|
* Rewritten MT-safe wrappers to return ptrs to TSD storagevasiljevic2006-09-076-235/+185
|
* Added for fixing the Tcl Bug 999544vasiljevic2006-09-061-0/+584
|
* Added MT-safe implementation of some library calls.vasiljevic2006-09-069-4531/+14919
| | | | See Tcl Bug 999544 for more information.
* typodgp2006-09-051-1/+1
|
* * tests/main.text (Tcl_Main-4.4): Test corrected to not bedgp2006-09-042-3/+8
| | | | timing sensitive to the Bug 1481986 fix. [Bug 1550858]
* correct package examplehobbs2006-09-042-3/+8
|
* see changeshobbs2006-08-301-0/+21
|
* * win/tclWinChan.c: [Bug 819667] Improve logic for identifying COMhobbs2006-08-301-51/+52
| | | | ports.
* * win/tclWinFCmd.c: [Bug 1548263] Added test for NULL returnhobbs2006-08-302-4/+18
| | | | | * generic/tclIOUtil.c: from Tcl_FSGetNormalizedPath which was causing segv's
* * generic/tclFileName.c (TclDoGlob): match incr with existing decr.hobbs2006-08-301-6/+6
|
* * unix/Makefile.in: add valgrindshell target and update defaulthobbs2006-08-301-2/+9
| | | | | VALGRINDARGS. User can override, or add to it with VALGRIND_OPTS env var.
* * generic/tclBasic.c (Tcl_CreateInterp): init iPtr->threadIdhobbs2006-08-301-1/+2
|
* * generic/tclIOGT.c (ExecuteCallback):hobbs2006-08-302-6/+7
| | | | | * generic/tclPkg.c (Tcl_PkgRequireEx): replace Tcl_GlobalEval(Obj) with more efficient Tcl_Eval(Obj)Ex
* * unix/tclUnixNotfy.c (Tcl_WaitForEvent): Fixed broken if syntaxandreas_kupries2006-08-222-2/+9
| | | | | | committed 2006-08-21 by Daniel. The broken syntax is visible to all unix platforms, but not on OSX for machines which HAVE_COREFOUNDATION.
* * generic/tclIOUtil.c: Revisions to complete the thread finalizationdgp2006-08-212-1/+8
| | | | of the cwdPathPtr. [Bug 1536142]
* typo: s/Xcode 2.3/Xcode 2.4/das2006-08-212-3/+3
|
* * unix/tclUnixPort.h (Darwin): override potentially faulty configuredas2006-08-212-7/+17
| | | | | detection of termios availability in all cases, since termios is known to be present on all Mac OS X releases since 10.0. [Bug 497147]
* add support for building without -fconstant-cfstrings, e.g. when ↵das2006-08-211-3/+15
| | | | MACOSX_DEPLOYMENT_TARGET unset. [Bug 1543715]
* update with recent Darwin changesdas2006-08-211-2/+12
|
* * macosx/tclMacOSXNotify.c (Tcl_WaitForEvent): if the run loop isdas2006-08-213-21/+69
| | | | | | | | | | | | | already running (e.g. if Tcl_WaitForEvent was called recursively), re-run it in a custom run loop mode containing only the source for the notifier thread, otherwise wakeups from other sources added to the common run loop modes might get lost; sync panic msg changes from HEAD. * unix/tclUnixNotfy.c (Tcl_WaitForEvent): on 64-bit Darwin, pthread_cond_timedwait() appears to have a bug that causes it to wait forever when passed an absolute time which has already been exceeded by the system time; as a workaround, when given a very brief timeout, just do a poll on that platform. [Bug 1457797]
* * unix/tclUnixChan.c (TclUnixWaitForFile): with timeout < 0, if select()das2006-08-182-1/+8
| | | | | returns early (e.g. due to a signal), call it again instead of returning a timeout result. Fixes intermittent event-13.8 failures.
* * unix/tcl.m4 (Darwin): add support for --enable-64bit on x86_64, fordas2006-08-186-285/+398
| | | | | | | | | | | | | | universal builds including x86_64, for 64-bit CoreFoundation on Leopard and for use of -mmacosx-version-min instead of MACOSX_DEPLOYMENT_TARGET. * unix/configure: autoconf-2.13 * generic/tcl.h: add fixes for building on Leopard and support for * unix/tclUnixPort.h: 64-bit CoreFoundation on Leopard. * unix/tclUnixPort.h: on Darwin x86_64, disable use of vfork as it causes execve to fail intermittently. (rdar://4685553) * macosx/README: updates for x86_64 support and Xcode 2.3.
* * generic/tclEncoding.c: Replace buffer copy in for loopdgp2006-08-092-4/+7
| | | | with call to memcpy(). Thanks to afredd. [Patch 1530262]
* * unix/tclUnixPipe.c (TclpCreateProcess): for USE_VFORK: ensure standarddas2006-08-022-1/+24
| | | | | channels are initialized before vfork() so that the child doesn't potentially corrupt global state in the parent's address space.
* Bug 1513489Kevin B Kenny2006-07-302-24/+37
|
* Fix typo [Bug 1496886]jenglish2006-07-302-2/+6
|