summaryrefslogtreecommitdiffstats
path: root/win/tkWinPort.h
Commit message (Collapse)AuthorAgeFilesLines
* [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