summaryrefslogtreecommitdiffstats
path: root/win
Commit message (Collapse)AuthorAgeFilesLines
...
* | | | | | | | | | | | | | | merge trunkdgp2014-08-022-3/+3
|\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / / /
| * | | | | | | | | | | | | | Addition of a cast in tclWinFile.c to match types in a comparison, andandreask2014-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fix of a TRACE string literal in tclExecute.c with a bogus escape. Both would otherwise bug a Windows debug build (where warnings are errors).
| * | | | | | | | | | | | | | Updated package "platform" to version 1.0.13. Separated theandreask2014-08-011-2/+2
| |\ \ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identifiers "macosx*-i386-x86_64" and "macosx-universal" as incompatible with each other.
| | * | | | | | | | | | | | | Updated package "platform" to version 1.0.13. Separated theandreask2014-08-011-2/+2
| | | |_|_|_|_|_|_|_|_|_|_|/ | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | identifiers "macosx*-i386-x86_64" and "macosx-universal" as incompatible with each other. Plus addition of a cast in tclIO.c to match types in a comparison which otherwise bugs a Windows debug build (warnings are errors).
* | | | | | | | | | | | | | Bump to 8.6.2 for release.dgp2014-07-282-2/+2
|/ / / / / / / / / / / / /
* | | | | | | | | | | | | Convert TesteventloopCmd and TestchmodCmd to Tcl_Obj-API form.jan.nijtmans2014-07-171-26/+21
| | | | | | | | | | | | |
* | | | | | | | | | | | | Fix [3cdcfa40809ffd2b9d3d71f77dc57da615243730|3cdcfa4080]: tclWinFile.c does ↵jan.nijtmans2014-07-171-2/+3
| |_|_|_|_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | not compile with Win VC6
* | | | | | | | | | | | ticket [2f9df4c4fa]: tcltest - request to move -cleanup script execution ↵jan.nijtmans2014-06-221-2/+2
|\ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | until after -output compare. tcltest -> version 2.3.8
| * | | | | | | | | | | ticket [2f9df4c4fa]: tcltest - request to move -cleanup script execution ↵jan.nijtmans2014-06-201-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | until after -output compare
| * | | | | | | | | | | win socket -async: do not loose connect notification by temporarily stop ↵oehhar2014-05-301-6/+14
| |\ \ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connect monitoring. Bug [336441ed59]
| | * | | | | | | | | | | Try not to loose FD_CONNECT by switching monitoring off.bug_336441ed59oehhar2014-05-291-5/+9
| |/ / / / / / / / / / /
* | | | | | | | | | | | eliminate two unused variables.jan.nijtmans2014-05-231-2/+0
| | | | | | | | | | | |
* | | | | | | | | | | | Fix and improve socket -async [13d3af3ad5] oehhar2014-05-201-1432/+1995
|\ \ \ \ \ \ \ \ \ \ \ \
| * | | | | | | | | | | | Beautify check for async connect reentryoehhar2014-04-081-4/+10
| | | | | | | | | | | | |
| * | | | | | | | | | | | Changed error report logic, that an async connect error is only reported by ↵oehhar2014-04-082-52/+100
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 'fconfigure -error' and not by a possible last command terminating the async connect. The terminating command always returns "socket is not connected" on connect error. In addition, some flags were renamed: TCP_ASYNC_SOCKET to TCP_NONBLOCKING and also the new state flags.
| * | | | | | | | | | | | Renamed function CreateClientSocket to TcpConnect and variable error to ↵oehhar2014-04-071-23/+28
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connectError
| * | | | | | | | | | | | Return async connect error by first following read or write operation.oehhar2014-04-071-1/+12
| | | | | | | | | | | | |
| * | | | | | | | | | | | Avoid multiple returns of connect errorsoehhar2014-04-041-43/+103
| | | | | | | | | | | | |
| * | | | | | | | | | | | Marked all communication variables which are set by notifier thread with ↵oehhar2014-04-021-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | "volatile".
| * | | | | | | | | | | | Removed thread debugging printf messagesoehhar2014-04-011-110/+13
| | | | | | | | | | | | |
* | | | | | | | | | | | | Let the generated Makefile be emacs-friendly by avoiding spurious empty ↵ferrieux2014-05-161-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lines and misplaced tabs. Useful e.g. to just set CFLAGS to debug and save.
* | | | | | | | | | | | | Minor bug-fix in [3118489] implementation: NUL in filenames. Filenames ↵jan.nijtmans2014-05-151-6/+5
|\ \ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | starting with <drive>: but without a following slash should be considered volume-relative i.e. the ':' is valid here.
| * | | | | | | | | | | | Fix [3118489]: NUL in filenames. (On Windows, protect against invalid use of ↵jan.nijtmans2014-05-151-2/+61
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ':' in filenames as well)
* | | | | | | | | | | | | More efficient/robust implementation of function TclNativeCreateNativeRep(). rfe_3389978jan.nijtmans2014-05-081-46/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - No more intermediate results in a Tcl_DString, just allocate space directly. - Let MultiByteToWideChar() do all the difficult work, inclusive checking for invalid byte sequences. - Handled extended win32 paths, inclusive UNC paths. Implementation for a great deal taken over from fossil.
* | | | | | | | | | | | | Start working on [3389978]. Appears to work, but some clean-up needed.jan.nijtmans2014-05-061-2/+30
| | | | | | | | | | | | |
* | | | | | | | | | | | | Remove unused variable, don't use deprecated function, some formatting.jan.nijtmans2014-04-162-7/+7
| | | | | | | | | | | | |
* | | | | | | | | | | | | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-163-98/+13
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
| * | | | | | | | | | | | Upgrade from Winsock 1.1 to Winsock 2.2, which is always available on ↵jan.nijtmans2014-04-163-98/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Win2000+. See: [http://msdn.microsoft.com/en-us/library/windows/desktop/ms742213%28v=vs.85%29.aspx] for details. Move winsock initialization to TclpInitPlatform(void), so we can be sure everywhere that we have an initialized winsock2. Stub entries for TclWinGetServByName/TclWinGetSockOpt/TclWinSetSockOpt are no longer necessary (will be removed in 9.0, but are kept in 8.x)
* | | | | | | | | | | | | Fix [3118489]: NUL in filenames, now fixed for both Windows and UNIX. jan.nijtmans2014-04-111-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | For consistancy, any NUL character in a filename prevents the native filesystem to generate a native file representation for it. Other filesystems than the native one may still accept it, but it's not recommended.
* | | | | | | | | | | | | Fix [3118489] for Windows only: NUL in filenames. This allows various ↵jan.nijtmans2014-04-111-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | characters to be used in win32 filenames which are normally invalid, as described here: [http://cygwin.com/cygwin-ug-net/using-specialnames.html#pathnames-specialchars]. The Cygwin shell can handle those same filenames as well. In other shells (cmd.exe/mSys) or on the Windows desktop the filenames will look strange, but that's all.
* | | | | | | | | | | | | [792641f95b]: Normalized win32 paths should never contain backslash.jan.nijtmans2014-04-102-9/+12
|\ \ \ \ \ \ \ \ \ \ \ \ \ | |/ / / / / / / / / / / /
| * | | | | | | | | | | | [792641f95b]: Normalized win32 paths should never contain backslash.jan.nijtmans2014-04-102-9/+11
| | | | | | | | | | | | |
| * | | | | | | | | | | | Fix bug [581937ab1e]: fire readable event on async socket connect failurebug_581937ab1eoehhar2014-04-021-33/+40
| |\ \ \ \ \ \ \ \ \ \ \ \ | | |/ / / / / / / / / / /
| | * | | | | | | | | | | Fire also readable event on final async connect failure. Armor ↵oehhar2014-03-241-45/+84
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | WaitForSocketEvent by access signal against notifier thread access.
| | * | | | | | | | | | | Be sure tsd pointer to the info structure is invalidated before memory freeoehhar2014-03-231-1/+20
| | | | | | | | | | | | |
| | * | | | | | | | | | | WaitForConnection like tclUnixSock.c, new option [fconfigure -connecting]oehhar2014-03-141-42/+34
| | | | | | | | | | | | |
| | * | | | | | | | | | | file tclWinSock.c reorganized to minimize diff to tclUnixSock.c. No ↵oehhar2014-03-141-1455/+1498
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | functional change
| | * | | | | | | | | | | Remove writable shortcut and errorneous workaround to get [connect -async] ↵bug_13d3af3ad5_forkoehhar2014-03-141-18/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | fail error to [fconfigure -error]
| | * | | | | | | | | | | Async connect terminates: fire fileevent by setting readyEvent, propage ↵oehhar2014-03-141-52/+110
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | commit fail message to [fconfigure -error]
| | * | | | | | | | | | | No [fconfigure -error] error in connect process; gets after failed async ↵oehhar2014-03-111-10/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | connect returns connect error
| | * | | | | | | | | | | Additional security for wrong pointeroehhar2014-03-101-0/+6
| | | | | | | | | | | | |
| | * | | | | | | | | | | Fire write fileevent if async connect fails finally (test socket-14.2)oehhar2014-03-101-2/+12
| | | | | | | | | | | | |
| | * | | | | | | | | | | Also continue async connect without event loop if gets/puts is called (test ↵oehhar2014-03-101-22/+34
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | socket-14.8.*)
| | * | | | | | | | | | | Workaround if FD_CONNECT notification comes before socket list registration ↵oehhar2014-03-101-80/+184
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | in TcpThreadActionProc
| | * | | | | | | | | | | Still incomplete info structure in event proc: try to protect with locks ↵oehhar2014-03-071-12/+51
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (unsuccesful). Probably locks in accept socket creation missing.
| | * | | | | | | | | | | More debug to chase different fd in struct than in callbackoehhar2014-03-061-53/+40
| | | | | | | | | | | | |
| | * | | | | | | | | | | Terminate async connect synchronously by any blocking operationoehhar2014-03-061-12/+104
| | | | | | | | | | | | |
| | * | | | | | | | | | | "gets" blocked after async cannect: SOCKET_ASYNC_CONNECT was not clearedoehhar2014-03-051-12/+12
| | | | | | | | | | | | |
| | * | | | | | | | | | | Refactor the error handling logic around connect()max2014-03-051-20/+17
| | | | | | | | | | | | |
| | * | | | | | | | | | | avoid warnings about uninitialized infoPtr in DEBUGmax2014-03-051-2/+2
| | | | | | | | | | | | |