summaryrefslogtreecommitdiffstats
path: root/win/tkWinPort.h
Commit message (Collapse)AuthorAgeFilesLines
* Typo's and unnecessary end-of-line spacingjan.nijtmans2014-06-031-1/+1
|
* Static Cygwin wish.exe cannot link with win32's static libtk86.a (because it ↵jan.nijtmans2013-06-141-2/+2
|\ | | | | | | | | | | expects a different runtime), so configure shouldn't even try to do this. (On a dynamic wish.exe this works, this is exactly how wish can run even without X11). Don't use deprecated stricmp/strnicmp any more, but underscored variant for non-GNU compilers.
| * Don't use deprecated stricmp/strnicmp any more, but underscored variant for ↵jan.nijtmans2013-06-141-2/+2
| | | | | | | | non-GNU compilers.
| * Add various X11 stub functions, Cygwin onlyjan.nijtmans2012-07-041-13/+0
| |\ | | | | | | | | | remove TkBindDeadWindow from Cygwin stub table [Bug 3540127]: filebox.test fails on win32
| | * Add various X11 stub functions, Cygwin onlyjan.nijtmans2012-07-041-13/+0
| | | | | | | | | remove TkBindDeadWindow from Cygwin stub table
* | | Implement XFlush and various others for win32 as stubs, so win32 extensions ↵jan.nijtmans2012-05-311-21/+0
| | | | | | | | | | | | | | | using those can run under CYGWIN as well. Allow tk86.dll to cooperate with the cygwin console.
* | | Simpify determination whether we are running on cygwin.jan.nijtmans2012-05-311-0/+2
|\ \ \ | |/ / | | | Export Tk_GetHINSTANCE, TkSetPixmapColormap and TkpPrintWindowId on the Cygwin dll
| * | merge core-8-4-branch, still to be tested on Unixtobetestedjan.nijtmans2012-05-291-0/+2
| |\ \ | | |/
* | | implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-161-17/+4
|\ \ \ | |/ / | | | cleanup some more unused CYGWIN stuff
| * | implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-161-4/+0
| |\ \ | | |/
| | * implement TkSetPixmapColormap and TkpPrintWindowId for cygwinjan.nijtmans2012-05-141-6/+18
| | | | | | | | | | | | export TkWinChildProc for win32 backport TCHAR determination from tkWinPort.h
| * | backport TCHAR determination from tkWinPort.hjan.nijtmans2012-05-141-25/+13
| | |
* | | Purge RCS Keywordsdgp2011-06-081-2/+0
|\ \ \ | |/ /
| * | Purge RCS Keywords.dgp2011-06-081-2/+0
| |\ \ | | |/
| | * Purge RCS Keywords.dgp2011-06-081-2/+0
| | |
| | * SEH-emulation for AMD64jan.nijtmans2011-03-111-9/+0
| | | | | | | | | | | | | | | mingw-w64 does not accept _WIN32_IE < 0x0501 Merged --cherrypick from core-8-5-branch (2010-12-13, f4ecadb40d) remove conflicting definition of timezone struct
| * | [Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1nijtmans2010-11-161-1/+5
| | |
| * | Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmpnijtmans2010-04-191-28/+30
| | |
* | | [Bug #3110161]: Extensions using TCHAR don't compile on VS2005 SP1nijtmans2010-11-161-1/+5
| | |
* | | Make compilable with -DUNICODE, or mark files with a TODO which are not done ↵nijtmans2010-09-101-8/+6
| | | | | | | | | | | | | | | | | | yet. tkWinPort.h: mingw/cygwin fixes: <tchar.h> should always be included here.
* | | Make sure that tkWinPort.h is always includednijtmans2010-04-201-7/+7
| | | | | | | | | | | | | | | before tcl.h, otherwise the fallback for TCHAR might go off before the inclusion of <tchar.h>
* | | Fix [Patch 2986105]: conditionally defining strcasecmp/strncasecmpnijtmans2010-04-131-7/+24
| | |
* | | Add <wchar.h> to tkWinPort.h, andnijtmans2010-04-081-25/+23
| | | | | | | | | | | | | | | remove some earlier CYGWIN-related hacks which then are no longer necessary.
* | | fix more gcc warnings: missing initializernijtmans2010-01-221-12/+16
| | | | | | | | | | | | | | | | | | | | | Eliminate use of __argc and __argv for CYGWIN Make cygwin configuration error into a warning: CYGWIN compilation works although there still are test failures.
* | | * generic/tkImgPhoto.c: Changed TclStack* calls to ck* calls so thatdgp2008-08-281-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | we don't create new dependencies on Tcl internals. * unix/tkUnixPort.h: Removed #include of tclInt.h that has been * win/tkWinPort.h: disabled for three years. If we needed this we'd have noticed by now.
* | | After some discussion with Joe English and subsequently thegeorgeps2008-08-191-3/+1
|/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | X.org developers (Keith Packard in particular), it was discovered that Tk is doing management of XIDs that it shouldn't need to do. The very common XC-MISC extension which has come with every version of X for the last 15 years is used with Xlib now, to retrieve the information about the used/unused XIDs. The public Tk_FreeXId is now a no-op. Joe English reviewed the patch, and said "please commit." The patch is associated with the bug tracker id: 2039720 generic/tkError.c: Remove the usage of TkpWindowWasRecentlyDeleted. generic/tkInt.decls: Update the declarations for the now unused internalstubs. generic/tkIntDecls.h: Regenerated based on tkInt.decls. generic/tkIntPlatDecls.h: Regenerated based on tkInt.decls. generic/tkStubInit.c generic/tkWindow.c: Remove the calls to TkInitXId, and TkFreeWindowId. macosx/tkMaxOSXPort.h: Remove TkFreeWindowId and TkInitXId macro definitions. macosx/tkMacOSXXStubs.c: Remove the no-op TkpWindowWasRecentlyDeleted. unix/tkUnixEvent.c: Remove call to TkFreeXId. unix/tkUnixXId.c: Remove a lot of unnecessary code (see above). win/tkWinPort.h: Remove TkFreeWindowId and TkInitXId. win/tkWinWindow.c: Remove TkpWindowWasRecentlyDeleted.
* | * unix/tkUnixPort.h: Disabled inclusion of the private Tcl headerdgp2005-09-281-1/+6
|/ | | | | | | | | | * win/tkWinPort.h: file tclInt.h. Tk ought to have a tiny and shrinking number of calls of private Tcl routines. Each Tk source file doing this should follow the convention in the macosx port and have its own #include "tclInt.h". * generic/tkEvent.c: Disabled calls to private Tcl routine TclInExit(). See comment in TkCreateExitHandler() for full rationale.
* * win/tkWinPort.h: define OPEN_MAX only if not defined.hobbs2002-10-191-1/+3
| | | | [Patch #625472] (howell)
* 2002-09-18 Mumit Khan <khan@nanotech.wisc.edu>hobbs2002-09-271-2/+6
| | | | | | | | | | | | | | | | Added basic Cygwin support. * win/tcl.m4 (SC_PATH_TCLCONFIG): Support one-tree build. (SC_PATH_TKCONFIG): Likewise. (SC_PROG_TCLSH): Likewise. (SC_CONFIG_CFLAGS): Assume real Cygwin port and remove -mno-cygwin flags. Add -mwin32 to extra_cflags and extra_ldflags. Remove ``-e _WinMain@16'' from LDFLAGS_WINDOW. * win/configure: Regenerate. * win/tkWinPort.h (tchar.h): Do not include on Cygwin. (_T): Define for Cygwin. * win/winMain.c (main): Conditionally define.
* * win/tkWinInt.h: removed TkFontAttributes typedef (washobbs1999-11-191-3/+5
| | | | | | | | redundant with tkFont.h). * win/tkWinPort.h: put #ifndef __GNUC__ around redefinition of str[n]casecmp, as cygwin uses the originals. * win/tkWinX.c: changed GetCurrentTime to GetTickCount (the former is deprecated). [Bug: 2053]
* * Changed version to 8.2b2redman1999-07-221-1/+10
| | | | | | | | | | | * win/tkWinPort.h: Block out include of sys/stat.h in order to build extensions with MetroWerks compiler for Win32. [Bug: 2385] * unix/Makefile.in: Need to make install-sh executable before calling (with chmod +x). [Bug: 2413] * library/menu.tcl: Applied patch from Jeff Hobbs to fix typo. [Bug: 2425]
* * Merged 8.1 branch into the main trunkstanton1999-04-161-11/+4
|
* integrated stubs into 8.0 main branchstanton1999-03-101-3/+11
|
* Removed old/unused function declarationsrjohnson1998-09-301-2/+2
| | | | | removed unused file on Mac implementation made bell cmd an obj cmd - improved it's test suite
* Replaced SCCS strings, fixed binary filesstanton1998-09-141-1/+1
|
* Initial revisionrjohnson1998-04-011-0/+117